@mittwald/cli 1.0.0-alpha.3
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/.deps/client.tgz +0 -0
- package/.deps/commons.tgz +0 -0
- package/LICENSE +21 -0
- package/README.md +2716 -0
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/mw.cmd +3 -0
- package/bin/run.js +9 -0
- package/dist/esm/BaseCommand.d.ts +11 -0
- package/dist/esm/BaseCommand.js +44 -0
- package/dist/esm/DeleteBaseCommand.d.ts +15 -0
- package/dist/esm/DeleteBaseCommand.js +37 -0
- package/dist/esm/ExtendedBaseCommand.d.ts +7 -0
- package/dist/esm/ExtendedBaseCommand.js +16 -0
- package/dist/esm/Flags.d.ts +1 -0
- package/dist/esm/Flags.js +1 -0
- package/dist/esm/Formatter.d.ts +15 -0
- package/dist/esm/Formatter.js +28 -0
- package/dist/esm/GetBaseCommand.d.ts +17 -0
- package/dist/esm/GetBaseCommand.js +27 -0
- package/dist/esm/Helpers.d.ts +5 -0
- package/dist/esm/Helpers.js +24 -0
- package/dist/esm/ListBaseCommand.d.ts +20 -0
- package/dist/esm/ListBaseCommand.js +60 -0
- package/dist/esm/Printer.d.ts +16 -0
- package/dist/esm/Printer.js +30 -0
- package/dist/esm/Translator.d.ts +5 -0
- package/dist/esm/Translator.js +53 -0
- package/dist/esm/commands/app/delete.d.ts +12 -0
- package/dist/esm/commands/app/delete.js +45 -0
- package/dist/esm/commands/app/getApp.d.ts +3 -0
- package/dist/esm/commands/app/getApp.js +6 -0
- package/dist/esm/commands/app/getAppinstallation.d.ts +3 -0
- package/dist/esm/commands/app/getAppinstallation.js +6 -0
- package/dist/esm/commands/app/getAppversion.d.ts +3 -0
- package/dist/esm/commands/app/getAppversion.js +6 -0
- package/dist/esm/commands/app/getSystemsoftware.d.ts +3 -0
- package/dist/esm/commands/app/getSystemsoftware.js +6 -0
- package/dist/esm/commands/app/getSystemsoftwareversion.d.ts +3 -0
- package/dist/esm/commands/app/getSystemsoftwareversion.js +6 -0
- package/dist/esm/commands/app/list.d.ts +16 -0
- package/dist/esm/commands/app/list.js +64 -0
- package/dist/esm/commands/app/listAppinstallations.d.ts +9 -0
- package/dist/esm/commands/app/listAppinstallations.js +6 -0
- package/dist/esm/commands/app/listApps.d.ts +9 -0
- package/dist/esm/commands/app/listApps.js +6 -0
- package/dist/esm/commands/app/listAppversions.d.ts +9 -0
- package/dist/esm/commands/app/listAppversions.js +6 -0
- package/dist/esm/commands/app/listSystemsoftwares.d.ts +9 -0
- package/dist/esm/commands/app/listSystemsoftwares.js +6 -0
- package/dist/esm/commands/app/listSystemsoftwareversions.d.ts +9 -0
- package/dist/esm/commands/app/listSystemsoftwareversions.js +6 -0
- package/dist/esm/commands/app/retrieveStatus.d.ts +3 -0
- package/dist/esm/commands/app/retrieveStatus.js +6 -0
- package/dist/esm/commands/article/getArticle.d.ts +3 -0
- package/dist/esm/commands/article/getArticle.js +6 -0
- package/dist/esm/commands/article/listArticles.d.ts +9 -0
- package/dist/esm/commands/article/listArticles.js +6 -0
- package/dist/esm/commands/contract/getBaseItemOfContract.d.ts +3 -0
- package/dist/esm/commands/contract/getBaseItemOfContract.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContract.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContract.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractByDomain.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractByDomain.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractByProject.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractByProject.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractByServer.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractByServer.js +6 -0
- package/dist/esm/commands/contract/getDetailOfContractItem.d.ts +3 -0
- package/dist/esm/commands/contract/getDetailOfContractItem.js +6 -0
- package/dist/esm/commands/contract/getNextTerminationDateForItem.d.ts +3 -0
- package/dist/esm/commands/contract/getNextTerminationDateForItem.js +6 -0
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.d.ts +3 -0
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.js +6 -0
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.d.ts +3 -0
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.js +6 -0
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.d.ts +9 -0
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.js +6 -0
- package/dist/esm/commands/contract/listContracts.d.ts +9 -0
- package/dist/esm/commands/contract/listContracts.js +6 -0
- package/dist/esm/commands/contract/orderGetOrder.d.ts +3 -0
- package/dist/esm/commands/contract/orderGetOrder.js +6 -0
- package/dist/esm/commands/contract/orderListCustomerOrders.d.ts +9 -0
- package/dist/esm/commands/contract/orderListCustomerOrders.js +6 -0
- package/dist/esm/commands/contract/orderListProjectOrders.d.ts +9 -0
- package/dist/esm/commands/contract/orderListProjectOrders.js +6 -0
- package/dist/esm/commands/conversation/categories.d.ts +11 -0
- package/dist/esm/commands/conversation/categories.js +16 -0
- package/dist/esm/commands/conversation/close.d.ts +8 -0
- package/dist/esm/commands/conversation/close.js +24 -0
- package/dist/esm/commands/conversation/create.d.ts +13 -0
- package/dist/esm/commands/conversation/create.js +50 -0
- package/dist/esm/commands/conversation/list.d.ts +11 -0
- package/dist/esm/commands/conversation/list.js +28 -0
- package/dist/esm/commands/conversation/reply.d.ts +13 -0
- package/dist/esm/commands/conversation/reply.js +30 -0
- package/dist/esm/commands/conversation/show.d.ts +8 -0
- package/dist/esm/commands/conversation/show.js +78 -0
- package/dist/esm/commands/conversation/show2.d.ts +11 -0
- package/dist/esm/commands/conversation/show2.js +37 -0
- package/dist/esm/commands/cronjob/getCronjob.d.ts +3 -0
- package/dist/esm/commands/cronjob/getCronjob.js +6 -0
- package/dist/esm/commands/cronjob/getExecution.d.ts +3 -0
- package/dist/esm/commands/cronjob/getExecution.js +6 -0
- package/dist/esm/commands/cronjob/listCronjobs.d.ts +9 -0
- package/dist/esm/commands/cronjob/listCronjobs.js +6 -0
- package/dist/esm/commands/cronjob/listExecutions.d.ts +9 -0
- package/dist/esm/commands/cronjob/listExecutions.js +6 -0
- package/dist/esm/commands/customer/getCustomer.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomer.js +6 -0
- package/dist/esm/commands/customer/getCustomerCategory.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerCategory.js +6 -0
- package/dist/esm/commands/customer/getCustomerInvite.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerInvite.js +6 -0
- package/dist/esm/commands/customer/getCustomerMembership.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerMembership.js +6 -0
- package/dist/esm/commands/customer/getCustomerTokenInvite.d.ts +3 -0
- package/dist/esm/commands/customer/getCustomerTokenInvite.js +6 -0
- package/dist/esm/commands/customer/isCustomerLegallyCompetent.d.ts +3 -0
- package/dist/esm/commands/customer/isCustomerLegallyCompetent.js +6 -0
- package/dist/esm/commands/customer/listCustomerInvites.d.ts +9 -0
- package/dist/esm/commands/customer/listCustomerInvites.js +6 -0
- package/dist/esm/commands/customer/listCustomerMemberships.d.ts +9 -0
- package/dist/esm/commands/customer/listCustomerMemberships.js +6 -0
- package/dist/esm/commands/customer/listCustomers.d.ts +9 -0
- package/dist/esm/commands/customer/listCustomers.js +6 -0
- package/dist/esm/commands/customer/listInvitesForCustomer.d.ts +9 -0
- package/dist/esm/commands/customer/listInvitesForCustomer.js +6 -0
- package/dist/esm/commands/customer/listMembershipsForCustomer.d.ts +9 -0
- package/dist/esm/commands/customer/listMembershipsForCustomer.js +6 -0
- package/dist/esm/commands/customer/listOfCustomerCategories.d.ts +9 -0
- package/dist/esm/commands/customer/listOfCustomerCategories.js +6 -0
- package/dist/esm/commands/database/mysql/charsets.d.ts +9 -0
- package/dist/esm/commands/database/mysql/charsets.js +6 -0
- package/dist/esm/commands/database/mysql/get.d.ts +3 -0
- package/dist/esm/commands/database/mysql/get.js +6 -0
- package/dist/esm/commands/database/mysql/list.d.ts +11 -0
- package/dist/esm/commands/database/mysql/list.js +54 -0
- package/dist/esm/commands/database/mysql/user/get.d.ts +3 -0
- package/dist/esm/commands/database/mysql/user/get.js +6 -0
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.d.ts +3 -0
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.js +7 -0
- package/dist/esm/commands/database/mysql/user/list.d.ts +9 -0
- package/dist/esm/commands/database/mysql/user/list.js +6 -0
- package/dist/esm/commands/database/mysql/versions.d.ts +9 -0
- package/dist/esm/commands/database/mysql/versions.js +6 -0
- package/dist/esm/commands/database/redis/get.d.ts +3 -0
- package/dist/esm/commands/database/redis/get.js +6 -0
- package/dist/esm/commands/database/redis/list.d.ts +9 -0
- package/dist/esm/commands/database/redis/list.js +6 -0
- package/dist/esm/commands/database/redis/versions.d.ts +9 -0
- package/dist/esm/commands/database/redis/versions.js +6 -0
- package/dist/esm/commands/domain/dnsZoneGetSpecific.d.ts +3 -0
- package/dist/esm/commands/domain/dnsZoneGetSpecific.js +6 -0
- package/dist/esm/commands/domain/dnsZonesForProject.d.ts +3 -0
- package/dist/esm/commands/domain/dnsZonesForProject.js +6 -0
- package/dist/esm/commands/domain/get.d.ts +3 -0
- package/dist/esm/commands/domain/get.js +6 -0
- package/dist/esm/commands/domain/getHandleFields.d.ts +3 -0
- package/dist/esm/commands/domain/getHandleFields.js +6 -0
- package/dist/esm/commands/domain/getSpecificDomainOwnership.d.ts +3 -0
- package/dist/esm/commands/domain/getSpecificDomainOwnership.js +6 -0
- package/dist/esm/commands/domain/list.d.ts +9 -0
- package/dist/esm/commands/domain/list.js +6 -0
- package/dist/esm/commands/domain/listDomainOwnerships.d.ts +9 -0
- package/dist/esm/commands/domain/listDomainOwnerships.js +6 -0
- package/dist/esm/commands/domain/tld/get.d.ts +3 -0
- package/dist/esm/commands/domain/tld/get.js +6 -0
- package/dist/esm/commands/domain/tld/list.d.ts +9 -0
- package/dist/esm/commands/domain/tld/list.js +6 -0
- package/dist/esm/commands/domain/virtualhost/get.d.ts +3 -0
- package/dist/esm/commands/domain/virtualhost/get.js +6 -0
- package/dist/esm/commands/domain/virtualhost/list.d.ts +20 -0
- package/dist/esm/commands/domain/virtualhost/list.js +49 -0
- package/dist/esm/commands/login/status.d.ts +5 -0
- package/dist/esm/commands/login/status.js +29 -0
- package/dist/esm/commands/login/token.d.ts +9 -0
- package/dist/esm/commands/login/token.js +39 -0
- package/dist/esm/commands/mail/address/create.d.ts +12 -0
- package/dist/esm/commands/mail/address/create.js +52 -0
- package/dist/esm/commands/mail/address/delete.d.ts +12 -0
- package/dist/esm/commands/mail/address/delete.js +22 -0
- package/dist/esm/commands/mail/address/get.d.ts +3 -0
- package/dist/esm/commands/mail/address/get.js +6 -0
- package/dist/esm/commands/mail/address/list.d.ts +12 -0
- package/dist/esm/commands/mail/address/list.js +47 -0
- package/dist/esm/commands/mail/deliverybox/get.d.ts +3 -0
- package/dist/esm/commands/mail/deliverybox/get.js +6 -0
- package/dist/esm/commands/mail/deliverybox/list.d.ts +12 -0
- package/dist/esm/commands/mail/deliverybox/list.js +25 -0
- package/dist/esm/commands/project/backup/get.d.ts +3 -0
- package/dist/esm/commands/project/backup/get.js +6 -0
- package/dist/esm/commands/project/backup/list.d.ts +12 -0
- package/dist/esm/commands/project/backup/list.js +24 -0
- package/dist/esm/commands/project/backupschedule/get.d.ts +3 -0
- package/dist/esm/commands/project/backupschedule/get.js +6 -0
- package/dist/esm/commands/project/backupschedule/list.d.ts +13 -0
- package/dist/esm/commands/project/backupschedule/list.js +21 -0
- package/dist/esm/commands/project/create.d.ts +10 -0
- package/dist/esm/commands/project/create.js +59 -0
- package/dist/esm/commands/project/delete.d.ts +13 -0
- package/dist/esm/commands/project/delete.js +26 -0
- package/dist/esm/commands/project/filesystem/directories.d.ts +3 -0
- package/dist/esm/commands/project/filesystem/directories.js +6 -0
- package/dist/esm/commands/project/filesystem/file-content.d.ts +3 -0
- package/dist/esm/commands/project/filesystem/file-content.js +6 -0
- package/dist/esm/commands/project/filesystem/files.d.ts +16 -0
- package/dist/esm/commands/project/filesystem/files.js +25 -0
- package/dist/esm/commands/project/filesystem/usage.d.ts +4 -0
- package/dist/esm/commands/project/filesystem/usage.js +11 -0
- package/dist/esm/commands/project/get.d.ts +4 -0
- package/dist/esm/commands/project/get.js +11 -0
- package/dist/esm/commands/project/invite/get.d.ts +3 -0
- package/dist/esm/commands/project/invite/get.js +6 -0
- package/dist/esm/commands/project/invite/list-own.d.ts +11 -0
- package/dist/esm/commands/project/invite/list-own.js +29 -0
- package/dist/esm/commands/project/invite/list.d.ts +12 -0
- package/dist/esm/commands/project/invite/list.js +32 -0
- package/dist/esm/commands/project/list.d.ts +12 -0
- package/dist/esm/commands/project/list.js +33 -0
- package/dist/esm/commands/project/list1.d.ts +7 -0
- package/dist/esm/commands/project/list1.js +18 -0
- package/dist/esm/commands/project/list2.d.ts +9 -0
- package/dist/esm/commands/project/list2.js +26 -0
- package/dist/esm/commands/project/membership/get-own.d.ts +4 -0
- package/dist/esm/commands/project/membership/get-own.js +11 -0
- package/dist/esm/commands/project/membership/get.d.ts +3 -0
- package/dist/esm/commands/project/membership/get.js +6 -0
- package/dist/esm/commands/project/membership/list-own.d.ts +11 -0
- package/dist/esm/commands/project/membership/list-own.js +28 -0
- package/dist/esm/commands/project/membership/list.d.ts +25 -0
- package/dist/esm/commands/project/membership/list.js +46 -0
- package/dist/esm/commands/project/sftp-user/list.d.ts +13 -0
- package/dist/esm/commands/project/sftp-user/list.js +24 -0
- package/dist/esm/commands/project/ssh-user/list.d.ts +13 -0
- package/dist/esm/commands/project/ssh-user/list.js +24 -0
- package/dist/esm/commands/project/ssh.d.ts +8 -0
- package/dist/esm/commands/project/ssh.js +31 -0
- package/dist/esm/commands/project/update.d.ts +8 -0
- package/dist/esm/commands/project/update.js +15 -0
- package/dist/esm/commands/server/get.d.ts +3 -0
- package/dist/esm/commands/server/get.js +6 -0
- package/dist/esm/commands/server/list.d.ts +11 -0
- package/dist/esm/commands/server/list.js +41 -0
- package/dist/esm/commands/user/api-token/create.d.ts +11 -0
- package/dist/esm/commands/user/api-token/create.js +46 -0
- package/dist/esm/commands/user/api-token/get.d.ts +3 -0
- package/dist/esm/commands/user/api-token/get.js +6 -0
- package/dist/esm/commands/user/api-token/list.d.ts +11 -0
- package/dist/esm/commands/user/api-token/list.js +21 -0
- package/dist/esm/commands/user/api-token/revoke.d.ts +8 -0
- package/dist/esm/commands/user/api-token/revoke.js +21 -0
- package/dist/esm/commands/user/get.d.ts +3 -0
- package/dist/esm/commands/user/get.js +6 -0
- package/dist/esm/commands/user/session/get.d.ts +3 -0
- package/dist/esm/commands/user/session/get.js +6 -0
- package/dist/esm/commands/user/session/list.d.ts +11 -0
- package/dist/esm/commands/user/session/list.js +24 -0
- package/dist/esm/commands/user/ssh-key/create.d.ts +10 -0
- package/dist/esm/commands/user/ssh-key/create.js +60 -0
- package/dist/esm/commands/user/ssh-key/delete.d.ts +12 -0
- package/dist/esm/commands/user/ssh-key/delete.js +41 -0
- package/dist/esm/commands/user/ssh-key/get.d.ts +3 -0
- package/dist/esm/commands/user/ssh-key/get.js +6 -0
- package/dist/esm/commands/user/ssh-key/list.d.ts +11 -0
- package/dist/esm/commands/user/ssh-key/list.js +21 -0
- package/dist/esm/generated/app/getApp.d.ts +16 -0
- package/dist/esm/generated/app/getApp.js +25 -0
- package/dist/esm/generated/app/getAppinstallation.d.ts +16 -0
- package/dist/esm/generated/app/getAppinstallation.js +25 -0
- package/dist/esm/generated/app/getAppversion.d.ts +16 -0
- package/dist/esm/generated/app/getAppversion.js +29 -0
- package/dist/esm/generated/app/getSystemsoftware.d.ts +16 -0
- package/dist/esm/generated/app/getSystemsoftware.js +25 -0
- package/dist/esm/generated/app/getSystemsoftwareversion.d.ts +16 -0
- package/dist/esm/generated/app/getSystemsoftwareversion.js +29 -0
- package/dist/esm/generated/app/listAppinstallations.d.ts +13 -0
- package/dist/esm/generated/app/listAppinstallations.js +24 -0
- package/dist/esm/generated/app/listApps.d.ts +13 -0
- package/dist/esm/generated/app/listApps.js +17 -0
- package/dist/esm/generated/app/listAppversions.d.ts +13 -0
- package/dist/esm/generated/app/listAppversions.js +24 -0
- package/dist/esm/generated/app/listSystemsoftwares.d.ts +13 -0
- package/dist/esm/generated/app/listSystemsoftwares.js +17 -0
- package/dist/esm/generated/app/listSystemsoftwareversions.d.ts +13 -0
- package/dist/esm/generated/app/listSystemsoftwareversions.js +24 -0
- package/dist/esm/generated/app/retrieveStatus.d.ts +14 -0
- package/dist/esm/generated/app/retrieveStatus.js +24 -0
- package/dist/esm/generated/article/getArticle.d.ts +16 -0
- package/dist/esm/generated/article/getArticle.js +25 -0
- package/dist/esm/generated/article/listArticles.d.ts +13 -0
- package/dist/esm/generated/article/listArticles.js +17 -0
- package/dist/esm/generated/backup/getProjectBackup.d.ts +16 -0
- package/dist/esm/generated/backup/getProjectBackup.js +25 -0
- package/dist/esm/generated/backup/getProjectBackupSchedule.d.ts +16 -0
- package/dist/esm/generated/backup/getProjectBackupSchedule.js +25 -0
- package/dist/esm/generated/backup/listProjectBackupSchedules.d.ts +13 -0
- package/dist/esm/generated/backup/listProjectBackupSchedules.js +24 -0
- package/dist/esm/generated/backup/listProjectBackups.d.ts +13 -0
- package/dist/esm/generated/backup/listProjectBackups.js +24 -0
- package/dist/esm/generated/contract/getBaseItemOfContract.d.ts +14 -0
- package/dist/esm/generated/contract/getBaseItemOfContract.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContract.d.ts +16 -0
- package/dist/esm/generated/contract/getDetailOfContract.js +25 -0
- package/dist/esm/generated/contract/getDetailOfContractByDomain.d.ts +14 -0
- package/dist/esm/generated/contract/getDetailOfContractByDomain.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContractByProject.d.ts +14 -0
- package/dist/esm/generated/contract/getDetailOfContractByProject.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContractByServer.d.ts +14 -0
- package/dist/esm/generated/contract/getDetailOfContractByServer.js +24 -0
- package/dist/esm/generated/contract/getDetailOfContractItem.d.ts +16 -0
- package/dist/esm/generated/contract/getDetailOfContractItem.js +29 -0
- package/dist/esm/generated/contract/getNextTerminationDateForItem.d.ts +15 -0
- package/dist/esm/generated/contract/getNextTerminationDateForItem.js +28 -0
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.d.ts +16 -0
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.js +29 -0
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.d.ts +14 -0
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.js +24 -0
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.d.ts +13 -0
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.js +24 -0
- package/dist/esm/generated/contract/listContracts.d.ts +13 -0
- package/dist/esm/generated/contract/listContracts.js +24 -0
- package/dist/esm/generated/contract/orderGetOrder.d.ts +16 -0
- package/dist/esm/generated/contract/orderGetOrder.js +25 -0
- package/dist/esm/generated/contract/orderListCustomerOrders.d.ts +13 -0
- package/dist/esm/generated/contract/orderListCustomerOrders.js +24 -0
- package/dist/esm/generated/contract/orderListProjectOrders.d.ts +13 -0
- package/dist/esm/generated/contract/orderListProjectOrders.js +24 -0
- package/dist/esm/generated/conversation/getCategory.d.ts +16 -0
- package/dist/esm/generated/conversation/getCategory.js +25 -0
- package/dist/esm/generated/conversation/getConversation.d.ts +16 -0
- package/dist/esm/generated/conversation/getConversation.js +25 -0
- package/dist/esm/generated/conversation/listCategories.d.ts +13 -0
- package/dist/esm/generated/conversation/listCategories.js +17 -0
- package/dist/esm/generated/conversation/listConversations.d.ts +13 -0
- package/dist/esm/generated/conversation/listConversations.js +17 -0
- package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +13 -0
- package/dist/esm/generated/conversation/listMessagesByConversation.js +24 -0
- package/dist/esm/generated/cronjob/getCronjob.d.ts +16 -0
- package/dist/esm/generated/cronjob/getCronjob.js +25 -0
- package/dist/esm/generated/cronjob/getExecution.d.ts +16 -0
- package/dist/esm/generated/cronjob/getExecution.js +29 -0
- package/dist/esm/generated/cronjob/listCronjobs.d.ts +13 -0
- package/dist/esm/generated/cronjob/listCronjobs.js +24 -0
- package/dist/esm/generated/cronjob/listExecutions.d.ts +13 -0
- package/dist/esm/generated/cronjob/listExecutions.js +24 -0
- package/dist/esm/generated/customer/getCustomer.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomer.js +25 -0
- package/dist/esm/generated/customer/getCustomerCategory.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomerCategory.js +25 -0
- package/dist/esm/generated/customer/getCustomerInvite.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomerInvite.js +25 -0
- package/dist/esm/generated/customer/getCustomerMembership.d.ts +16 -0
- package/dist/esm/generated/customer/getCustomerMembership.js +25 -0
- package/dist/esm/generated/customer/getCustomerTokenInvite.d.ts +14 -0
- package/dist/esm/generated/customer/getCustomerTokenInvite.js +16 -0
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.d.ts +14 -0
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.js +24 -0
- package/dist/esm/generated/customer/listCustomerInvites.d.ts +13 -0
- package/dist/esm/generated/customer/listCustomerInvites.js +17 -0
- package/dist/esm/generated/customer/listCustomerMemberships.d.ts +13 -0
- package/dist/esm/generated/customer/listCustomerMemberships.js +17 -0
- package/dist/esm/generated/customer/listCustomers.d.ts +13 -0
- package/dist/esm/generated/customer/listCustomers.js +17 -0
- package/dist/esm/generated/customer/listInvitesForCustomer.d.ts +13 -0
- package/dist/esm/generated/customer/listInvitesForCustomer.js +24 -0
- package/dist/esm/generated/customer/listMembershipsForCustomer.d.ts +13 -0
- package/dist/esm/generated/customer/listMembershipsForCustomer.js +24 -0
- package/dist/esm/generated/customer/listOfCustomerCategories.d.ts +13 -0
- package/dist/esm/generated/customer/listOfCustomerCategories.js +17 -0
- package/dist/esm/generated/database/getMysqlDatabase.d.ts +16 -0
- package/dist/esm/generated/database/getMysqlDatabase.js +25 -0
- package/dist/esm/generated/database/getMysqlUser.d.ts +16 -0
- package/dist/esm/generated/database/getMysqlUser.js +25 -0
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.d.ts +14 -0
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.js +24 -0
- package/dist/esm/generated/database/getRedisDatabase.d.ts +16 -0
- package/dist/esm/generated/database/getRedisDatabase.js +25 -0
- package/dist/esm/generated/database/listMysqlCharsets.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlCharsets.js +17 -0
- package/dist/esm/generated/database/listMysqlDatabases.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlDatabases.js +24 -0
- package/dist/esm/generated/database/listMysqlUsers.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlUsers.js +24 -0
- package/dist/esm/generated/database/listMysqlVersions.d.ts +13 -0
- package/dist/esm/generated/database/listMysqlVersions.js +17 -0
- package/dist/esm/generated/database/listRedisDatabases.d.ts +13 -0
- package/dist/esm/generated/database/listRedisDatabases.js +24 -0
- package/dist/esm/generated/database/listRedisVersions.d.ts +13 -0
- package/dist/esm/generated/database/listRedisVersions.js +17 -0
- package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +16 -0
- package/dist/esm/generated/domain/dnsZoneGetSpecific.js +25 -0
- package/dist/esm/generated/domain/dnsZonesForProject.d.ts +14 -0
- package/dist/esm/generated/domain/dnsZonesForProject.js +24 -0
- package/dist/esm/generated/domain/getDomain.d.ts +16 -0
- package/dist/esm/generated/domain/getDomain.js +25 -0
- package/dist/esm/generated/domain/getHandleFields.d.ts +16 -0
- package/dist/esm/generated/domain/getHandleFields.js +25 -0
- package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +16 -0
- package/dist/esm/generated/domain/getSpecificDomainOwnership.js +25 -0
- package/dist/esm/generated/domain/getToplevelDomain.d.ts +16 -0
- package/dist/esm/generated/domain/getToplevelDomain.js +25 -0
- package/dist/esm/generated/domain/ingressGetSpecific.d.ts +16 -0
- package/dist/esm/generated/domain/ingressGetSpecific.js +25 -0
- package/dist/esm/generated/domain/ingressListAccessible.d.ts +13 -0
- package/dist/esm/generated/domain/ingressListAccessible.js +17 -0
- package/dist/esm/generated/domain/ingressListForProject.d.ts +13 -0
- package/dist/esm/generated/domain/ingressListForProject.js +24 -0
- package/dist/esm/generated/domain/listDomainOwnerships.d.ts +13 -0
- package/dist/esm/generated/domain/listDomainOwnerships.js +24 -0
- package/dist/esm/generated/domain/listDomains.d.ts +13 -0
- package/dist/esm/generated/domain/listDomains.js +24 -0
- package/dist/esm/generated/domain/listToplevelDomains.d.ts +13 -0
- package/dist/esm/generated/domain/listToplevelDomains.js +17 -0
- package/dist/esm/generated/file/getFile.d.ts +16 -0
- package/dist/esm/generated/file/getFile.js +25 -0
- package/dist/esm/generated/file/getFileMeta.d.ts +14 -0
- package/dist/esm/generated/file/getFileMeta.js +24 -0
- package/dist/esm/generated/file/getFileTokenRules.d.ts +16 -0
- package/dist/esm/generated/file/getFileTokenRules.js +25 -0
- package/dist/esm/generated/file/getFileTypeRules.d.ts +16 -0
- package/dist/esm/generated/file/getFileTypeRules.js +25 -0
- package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +16 -0
- package/dist/esm/generated/mail/deliveryboxGetSpecific.js +25 -0
- package/dist/esm/generated/mail/deliveryboxList.d.ts +13 -0
- package/dist/esm/generated/mail/deliveryboxList.js +24 -0
- package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +16 -0
- package/dist/esm/generated/mail/mailaddressGetSpecific.js +25 -0
- package/dist/esm/generated/mail/mailaddressList.d.ts +13 -0
- package/dist/esm/generated/mail/mailaddressList.js +24 -0
- package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +14 -0
- package/dist/esm/generated/mail/projectsettingGetSpecific.js +24 -0
- package/dist/esm/generated/notification/newsletterGetInfo.d.ts +14 -0
- package/dist/esm/generated/notification/newsletterGetInfo.js +16 -0
- package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +14 -0
- package/dist/esm/generated/notification/scountUnreadNotifications.js +16 -0
- package/dist/esm/generated/notification/slistNotifications.d.ts +13 -0
- package/dist/esm/generated/notification/slistNotifications.js +17 -0
- package/dist/esm/generated/project/getProject.d.ts +16 -0
- package/dist/esm/generated/project/getProject.js +25 -0
- package/dist/esm/generated/project/getProjectInvite.d.ts +16 -0
- package/dist/esm/generated/project/getProjectInvite.js +25 -0
- package/dist/esm/generated/project/getProjectMembership.d.ts +16 -0
- package/dist/esm/generated/project/getProjectMembership.js +25 -0
- package/dist/esm/generated/project/getProjectTokenInvite.d.ts +14 -0
- package/dist/esm/generated/project/getProjectTokenInvite.js +16 -0
- package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +14 -0
- package/dist/esm/generated/project/getSelfMembershipForProject.js +24 -0
- package/dist/esm/generated/project/getServer.d.ts +16 -0
- package/dist/esm/generated/project/getServer.js +25 -0
- package/dist/esm/generated/project/listInvitesForProject.d.ts +13 -0
- package/dist/esm/generated/project/listInvitesForProject.js +24 -0
- package/dist/esm/generated/project/listMembershipsForProject.d.ts +13 -0
- package/dist/esm/generated/project/listMembershipsForProject.js +24 -0
- package/dist/esm/generated/project/listProjectInvites.d.ts +13 -0
- package/dist/esm/generated/project/listProjectInvites.js +17 -0
- package/dist/esm/generated/project/listProjectMemberships.d.ts +13 -0
- package/dist/esm/generated/project/listProjectMemberships.js +17 -0
- package/dist/esm/generated/project/listProjects.d.ts +13 -0
- package/dist/esm/generated/project/listProjects.js +17 -0
- package/dist/esm/generated/project/listServers.d.ts +13 -0
- package/dist/esm/generated/project/listServers.js +17 -0
- package/dist/esm/generated/projectFileSystem/getDirectories.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getDirectories.js +24 -0
- package/dist/esm/generated/projectFileSystem/getDiskUsage.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getDiskUsage.js +24 -0
- package/dist/esm/generated/projectFileSystem/getFileContent.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getFileContent.js +24 -0
- package/dist/esm/generated/projectFileSystem/getJwt.d.ts +14 -0
- package/dist/esm/generated/projectFileSystem/getJwt.js +24 -0
- package/dist/esm/generated/projectFileSystem/listFiles.d.ts +13 -0
- package/dist/esm/generated/projectFileSystem/listFiles.js +24 -0
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.d.ts +16 -0
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.js +25 -0
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.d.ts +13 -0
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.js +24 -0
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.d.ts +16 -0
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.js +25 -0
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.d.ts +13 -0
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.js +24 -0
- package/dist/esm/generated/user/getApiToken.d.ts +16 -0
- package/dist/esm/generated/user/getApiToken.js +25 -0
- package/dist/esm/generated/user/getEmail.d.ts +14 -0
- package/dist/esm/generated/user/getEmail.js +16 -0
- package/dist/esm/generated/user/getMfaStatus.d.ts +14 -0
- package/dist/esm/generated/user/getMfaStatus.js +16 -0
- package/dist/esm/generated/user/getOwnProfile.d.ts +14 -0
- package/dist/esm/generated/user/getOwnProfile.js +16 -0
- package/dist/esm/generated/user/getPasswordUpdatedAt.d.ts +14 -0
- package/dist/esm/generated/user/getPasswordUpdatedAt.js +16 -0
- package/dist/esm/generated/user/getPersonalizedSettings.d.ts +14 -0
- package/dist/esm/generated/user/getPersonalizedSettings.js +24 -0
- package/dist/esm/generated/user/getSession.d.ts +16 -0
- package/dist/esm/generated/user/getSession.js +25 -0
- package/dist/esm/generated/user/getSshKey.d.ts +16 -0
- package/dist/esm/generated/user/getSshKey.js +25 -0
- package/dist/esm/generated/user/getUser.d.ts +14 -0
- package/dist/esm/generated/user/getUser.js +16 -0
- package/dist/esm/generated/user/listApiTokens.d.ts +13 -0
- package/dist/esm/generated/user/listApiTokens.js +17 -0
- package/dist/esm/generated/user/listFeedback.d.ts +13 -0
- package/dist/esm/generated/user/listFeedback.js +24 -0
- package/dist/esm/generated/user/listSessions.d.ts +13 -0
- package/dist/esm/generated/user/listSessions.js +17 -0
- package/dist/esm/generated/user/listSshKeys.d.ts +13 -0
- package/dist/esm/generated/user/listSshKeys.js +17 -0
- package/dist/esm/generated/user/supportCodeRequest.d.ts +14 -0
- package/dist/esm/generated/user/supportCodeRequest.js +16 -0
- package/dist/esm/lib/conversation/message_input.d.ts +10 -0
- package/dist/esm/lib/conversation/message_input.js +49 -0
- package/dist/esm/lib/handleError.d.ts +4 -0
- package/dist/esm/lib/handleError.js +17 -0
- package/dist/esm/lib/mergeObjects.d.ts +1 -0
- package/dist/esm/lib/mergeObjects.js +6 -0
- package/dist/esm/lib/notify.d.ts +2 -0
- package/dist/esm/lib/notify.js +5 -0
- package/dist/esm/lib/viewhelpers/date.d.ts +4 -0
- package/dist/esm/lib/viewhelpers/date.js +16 -0
- package/dist/esm/lib/viewhelpers/size.d.ts +1 -0
- package/dist/esm/lib/viewhelpers/size.js +4 -0
- package/dist/esm/lib/viewhelpers/tui.d.ts +2 -0
- package/dist/esm/lib/viewhelpers/tui.js +13 -0
- package/dist/esm/rendering/oclif/components/table.d.ts +11 -0
- package/dist/esm/rendering/oclif/components/table.js +49 -0
- package/dist/esm/rendering/react/RenderBaseCommand.d.ts +7 -0
- package/dist/esm/rendering/react/RenderBaseCommand.js +13 -0
- package/dist/esm/rendering/react/components/ConversationMessage.d.ts +8 -0
- package/dist/esm/rendering/react/components/ConversationMessage.js +12 -0
- package/dist/esm/rendering/react/components/ConversationMeta.d.ts +6 -0
- package/dist/esm/rendering/react/components/ConversationMeta.js +21 -0
- package/dist/esm/rendering/react/components/ConversationStatusUpdate.d.ts +8 -0
- package/dist/esm/rendering/react/components/ConversationStatusUpdate.js +6 -0
- package/dist/esm/rendering/react/components/Header.d.ts +6 -0
- package/dist/esm/rendering/react/components/Header.js +6 -0
- package/dist/esm/rendering/react/components/Table.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table.js +4 -0
- package/dist/esm/rendering/react/context.d.ts +8 -0
- package/dist/esm/rendering/react/context.js +4 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.d.ts +2 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.js +11 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.d.ts +13 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.js +22 -0
- package/dist/esm/rendering/setup/TableRenderSetup.d.ts +13 -0
- package/dist/esm/rendering/setup/TableRenderSetup.js +11 -0
- package/dist/esm/rendering/setup/usePromiseSetup.d.ts +11 -0
- package/dist/esm/rendering/setup/usePromiseSetup.js +11 -0
- package/dist/esm/types.d.ts +8 -0
- package/dist/esm/types.js +1 -0
- package/package.json +126 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedProjectListProjects extends ListBaseCommand {
|
|
3
|
+
static description = "List Project's for an Organization or Server.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listProjects({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listServers"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListServers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListServers, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
+
export class GeneratedProjectListServers extends ListBaseCommand {
|
|
3
|
+
static description = "List Servers for an Organization or User.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listServers({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemDirectories.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["projectFileSystem"]["getDirectories"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectFileSystemGetDirectories extends GetBaseCommand<typeof GeneratedProjectFileSystemGetDirectories, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedProjectFileSystemGetDirectories extends GetBaseCommand {
|
|
7
|
+
static description = "List the directories of a Project.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the Project to list the directories for.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.projectFileSystem.getDirectories({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemUsagesDisk.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["projectFileSystem"]["getDiskUsage"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectFileSystemGetDiskUsage extends GetBaseCommand<typeof GeneratedProjectFileSystemGetDiskUsage, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedProjectFileSystemGetDiskUsage extends GetBaseCommand {
|
|
7
|
+
static description = "Get a Project directory filesystem usage.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the Project.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.projectFileSystem.getDiskUsage({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFilesRaw.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["projectFileSystem"]["getFileContent"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectFileSystemGetFileContent extends GetBaseCommand<typeof GeneratedProjectFileSystemGetFileContent, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedProjectFileSystemGetFileContent extends GetBaseCommand {
|
|
7
|
+
static description = "Get a Project file's content.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the Project.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.projectFileSystem.getFileContent({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdJwt.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["projectFileSystem"]["getJwt"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectFileSystemGetJwt extends GetBaseCommand<typeof GeneratedProjectFileSystemGetJwt, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedProjectFileSystemGetJwt extends GetBaseCommand {
|
|
7
|
+
static description = "Get a Project's file/filesystem authorization token.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the Project to retrieve an authorization token for.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.projectFileSystem.getJwt({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["projectFileSystem"]["listFiles"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectFileSystemListFiles<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectFileSystemListFiles, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedProjectFileSystemListFiles extends ListBaseCommand {
|
|
4
|
+
static description = "Get a Project file's information.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.projectFileSystem.listFiles({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserGetSftpUser"]>>;
|
|
5
|
+
export declare abstract class GeneratedSftpUserGetSftpUser extends GetBaseCommand<typeof GeneratedSftpUserGetSftpUser, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
sftpUserId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedSftpUserGetSftpUser extends GetBaseCommand {
|
|
7
|
+
static description = "Get an SFTPUser.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
sftpUserId: Args.string({
|
|
13
|
+
description: "ID of the SFTPUser to get.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.sshsftpUser.sftpUserGetSftpUser({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserListSftpUsers"]>>;
|
|
5
|
+
export declare abstract class GeneratedSftpUserListSftpUsers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedSftpUserListSftpUsers, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedSftpUserListSftpUsers extends ListBaseCommand {
|
|
4
|
+
static description = "Get all SFTPUsers for a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to request SFTPUsers for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.sshsftpUser.sftpUserListSftpUsers({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SshUsersSshUserId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sshUserGetSshUser"]>>;
|
|
5
|
+
export declare abstract class GeneratedSshUserGetSshUser extends GetBaseCommand<typeof GeneratedSshUserGetSshUser, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
sshUserId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedSshUserGetSshUser extends GetBaseCommand {
|
|
7
|
+
static description = "Get an SSHUser.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
sshUserId: Args.string({
|
|
13
|
+
description: "ID of the SSHUser to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.sshsftpUser.sshUserGetSshUser({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sshUserListSshUsers"]>>;
|
|
5
|
+
export declare abstract class GeneratedSshUserListSshUsers<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedSshUserListSshUsers, TItem, Response> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static args: {};
|
|
8
|
+
static flags: {
|
|
9
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
getData(): Promise<Response>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export class GeneratedSshUserListSshUsers extends ListBaseCommand {
|
|
4
|
+
static description = "Get all SSHUsers for a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to retrieve SSHUsers for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.sshsftpUser.sshUserListSshUsers({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SignupTokenApiApiTokenId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getApiToken"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetApiToken extends GetBaseCommand<typeof GeneratedUserGetApiToken, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {
|
|
11
|
+
apiTokenId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
protected getData(): Promise<APIResponse>;
|
|
14
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedUserGetApiToken extends GetBaseCommand {
|
|
7
|
+
static description = "Get a specific ApiToken";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
apiTokenId: Args.string({
|
|
13
|
+
description: "The uuid of an ApiToken",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.user.getApiToken({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SignupEmail.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getEmail"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetEmail extends GetBaseCommand<typeof GeneratedUserGetEmail, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
2
|
+
export class GeneratedUserGetEmail extends GetBaseCommand {
|
|
3
|
+
static description = "Get your primary verified Email-Address";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.user.getEmail({
|
|
10
|
+
pathParameters: await this.mapParams(this.args),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
mapParams(input) {
|
|
14
|
+
return input;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SignupMfa.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getMfaStatus"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetMfaStatus extends GetBaseCommand<typeof GeneratedUserGetMfaStatus, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
2
|
+
export class GeneratedUserGetMfaStatus extends GetBaseCommand {
|
|
3
|
+
static description = "Get your current multi factor auth status";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.user.getMfaStatus({
|
|
10
|
+
pathParameters: await this.mapParams(this.args),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
mapParams(input) {
|
|
14
|
+
return input;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SignupProfile.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getOwnProfile"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetOwnProfile extends GetBaseCommand<typeof GeneratedUserGetOwnProfile, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
2
|
+
export class GeneratedUserGetOwnProfile extends GetBaseCommand {
|
|
3
|
+
static description = "Get your profile information";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.user.getOwnProfile({
|
|
10
|
+
pathParameters: await this.mapParams(this.args),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
mapParams(input) {
|
|
14
|
+
return input;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2SignupPassword.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getPasswordUpdatedAt"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetPasswordUpdatedAt extends GetBaseCommand<typeof GeneratedUserGetPasswordUpdatedAt, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").CompletableFlag<any>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
2
|
+
export class GeneratedUserGetPasswordUpdatedAt extends GetBaseCommand {
|
|
3
|
+
static description = "The timestamp of your latest password change";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.user.getPasswordUpdatedAt({
|
|
10
|
+
pathParameters: await this.mapParams(this.args),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
mapParams(input) {
|
|
14
|
+
return input;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["user"]["getPersonalizedSettings"]>>;
|
|
5
|
+
export declare abstract class GeneratedUserGetPersonalizedSettings extends GetBaseCommand<typeof GeneratedUserGetPersonalizedSettings, APIResponse> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: {
|
|
8
|
+
"user-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
static args: {};
|
|
11
|
+
protected getData(): Promise<APIResponse>;
|
|
12
|
+
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
/* This file is auto-generated with acg (@mittwald/api-code-generator) */
|
|
4
|
+
import { Flags } from "@oclif/core";
|
|
5
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
6
|
+
export class GeneratedUserGetPersonalizedSettings extends GetBaseCommand {
|
|
7
|
+
static description = "Get personalized settings.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"user-id": Flags.string({
|
|
11
|
+
description: "`self` or the id of a user.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.user.getPersonalizedSettings({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
mapParams(input) {
|
|
22
|
+
return input;
|
|
23
|
+
}
|
|
24
|
+
}
|