@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,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2MailaddressesId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["mailaddressGetSpecific"]>>;
|
|
5
|
+
export declare abstract class GeneratedMailMailaddressGetSpecific extends GetBaseCommand<typeof GeneratedMailMailaddressGetSpecific, 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
|
+
id: 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 GeneratedMailMailaddressGetSpecific extends GetBaseCommand {
|
|
7
|
+
static description = "Get a specific mail address";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
id: Args.string({
|
|
13
|
+
description: "id of the address you want to get",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.mail.mailaddressGetSpecific({
|
|
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.V2ProjectsProjectIdMailaddresses.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["mailaddressList"]>>;
|
|
5
|
+
export declare abstract class GeneratedMailMailaddressList<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedMailMailaddressList, 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 GeneratedMailMailaddressList extends ListBaseCommand {
|
|
4
|
+
static description = "Get all mail addresses for a project ID";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "Project ID the mailAddresses are related to",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.mail.mailaddressList({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
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.V2ProjectsProjectIdMailsettings.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["projectsettingGetSpecific"]>>;
|
|
5
|
+
export declare abstract class GeneratedMailProjectsettingGetSpecific extends GetBaseCommand<typeof GeneratedMailProjectsettingGetSpecific, 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 GeneratedMailProjectsettingGetSpecific extends GetBaseCommand {
|
|
7
|
+
static description = "Get settings for a given project ID";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the project you want to retrieve settings for",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.mail.projectsettingGetSpecific({
|
|
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.V2NewsletterSubscriptionsSelf.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["notification"]["newsletterGetInfo"]>>;
|
|
5
|
+
export declare abstract class GeneratedNewsletterGetInfo extends GetBaseCommand<typeof GeneratedNewsletterGetInfo, 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 GeneratedNewsletterGetInfo extends GetBaseCommand {
|
|
3
|
+
static description = "Getting the subscription status of the subscription.";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.notification.newsletterGetInfo({
|
|
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.V2NotificationsUnreadCounts.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["notification"]["scountUnreadNotifications"]>>;
|
|
5
|
+
export declare abstract class GeneratedNotificationsCountUnreadNotifications extends GetBaseCommand<typeof GeneratedNotificationsCountUnreadNotifications, 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 GeneratedNotificationsCountUnreadNotifications extends GetBaseCommand {
|
|
3
|
+
static description = "Get the counts for unread notifications of the user.";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.notification.scountUnreadNotifications({
|
|
10
|
+
pathParameters: await this.mapParams(this.args),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
mapParams(input) {
|
|
14
|
+
return input;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2Notifications.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["notification"]["slistNotifications"]>>;
|
|
5
|
+
export declare abstract class GeneratedNotificationsListNotifications<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedNotificationsListNotifications, 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 GeneratedNotificationsListNotifications extends ListBaseCommand {
|
|
3
|
+
static description = "List all unread notifications";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.notification.slistNotifications({
|
|
11
|
+
pathParameters: await this.mapParams(pathParams),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
mapParams(input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetProject extends GetBaseCommand<typeof GeneratedProjectGetProject, 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
|
+
id: 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 GeneratedProjectGetProject extends GetBaseCommand {
|
|
7
|
+
static description = "Get a Project.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
id: Args.string({
|
|
13
|
+
description: "ID of the Project to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getProject({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectInvitesInviteId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProjectInvite"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetProjectInvite extends GetBaseCommand<typeof GeneratedProjectGetProjectInvite, 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
|
+
inviteId: 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 GeneratedProjectGetProjectInvite extends GetBaseCommand {
|
|
7
|
+
static description = "Get a ProjectInvite.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
inviteId: Args.string({
|
|
13
|
+
description: "ID of the ProjectInvite to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getProjectInvite({
|
|
19
|
+
pathParameters: await this.mapParams(this.args),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
mapParams(input) {
|
|
23
|
+
return input;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
+
export type PathParams = MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProjectMembership"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetProjectMembership extends GetBaseCommand<typeof GeneratedProjectGetProjectMembership, 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
|
+
membershipId: 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 GeneratedProjectGetProjectMembership extends GetBaseCommand {
|
|
7
|
+
static description = "Get a ProjectMembership";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
membershipId: Args.string({
|
|
13
|
+
description: "ID of the ProjectMembership to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getProjectMembership({
|
|
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.V2ProjectTokenInvite.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProjectTokenInvite"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetProjectTokenInvite extends GetBaseCommand<typeof GeneratedProjectGetProjectTokenInvite, 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 GeneratedProjectGetProjectTokenInvite extends GetBaseCommand {
|
|
3
|
+
static description = "Get a ProjectInvite by token.";
|
|
4
|
+
static flags = {
|
|
5
|
+
...GetBaseCommand.baseFlags,
|
|
6
|
+
};
|
|
7
|
+
static args = {};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.project.getProjectTokenInvite({
|
|
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.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getSelfMembershipForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetSelfMembershipForProject extends GetBaseCommand<typeof GeneratedProjectGetSelfMembershipForProject, 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 GeneratedProjectGetSelfMembershipForProject extends GetBaseCommand {
|
|
7
|
+
static description = "Get the executing user's membership in a Project.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
"project-id": Flags.string({
|
|
11
|
+
description: "ID of the Project to get the membership for.",
|
|
12
|
+
required: true,
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
static args = {};
|
|
16
|
+
async getData() {
|
|
17
|
+
return await this.apiClient.project.getSelfMembershipForProject({
|
|
18
|
+
pathParameters: await this.mapParams(this.args),
|
|
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.V2ServersServerId.Get.Parameters.Path;
|
|
4
|
+
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getServer"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectGetServer extends GetBaseCommand<typeof GeneratedProjectGetServer, 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
|
+
serverId: 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 GeneratedProjectGetServer extends GetBaseCommand {
|
|
7
|
+
static description = "Get a Server.";
|
|
8
|
+
static flags = {
|
|
9
|
+
...GetBaseCommand.baseFlags,
|
|
10
|
+
};
|
|
11
|
+
static args = {
|
|
12
|
+
serverId: Args.string({
|
|
13
|
+
description: "ID of the Server to be retrieved.",
|
|
14
|
+
required: true,
|
|
15
|
+
}),
|
|
16
|
+
};
|
|
17
|
+
async getData() {
|
|
18
|
+
return await this.apiClient.project.getServer({
|
|
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.V2ProjectsProjectIdInvites.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listInvitesForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListInvitesForProject<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListInvitesForProject, 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 GeneratedProjectListInvitesForProject extends ListBaseCommand {
|
|
4
|
+
static description = "List all invites belonging to a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to list invites for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.project.listInvitesForProject({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
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.V2ProjectsProjectIdMemberships.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listMembershipsForProject"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListMembershipsForProject<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListMembershipsForProject, 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 GeneratedProjectListMembershipsForProject extends ListBaseCommand {
|
|
4
|
+
static description = "List all memberships for a Project.";
|
|
5
|
+
static args = {};
|
|
6
|
+
static flags = {
|
|
7
|
+
...ListBaseCommand.baseFlags,
|
|
8
|
+
"project-id": Flags.string({
|
|
9
|
+
description: "ID of the Project to list memberships for.",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
async getData() {
|
|
14
|
+
const pathParams = {
|
|
15
|
+
projectId: this.flags["project-id"],
|
|
16
|
+
};
|
|
17
|
+
return await this.apiClient.project.listMembershipsForProject({
|
|
18
|
+
pathParameters: await this.mapParams(pathParams),
|
|
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.V2ProjectInvites.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listProjectInvites"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListProjectInvites<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListProjectInvites, 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 GeneratedProjectListProjectInvites extends ListBaseCommand {
|
|
3
|
+
static description = "List all ProjectInvites for the executing user.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listProjectInvites({
|
|
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.V2ProjectMemberships.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listProjectMemberships"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListProjectMemberships<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListProjectMemberships, 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 GeneratedProjectListProjectMemberships extends ListBaseCommand {
|
|
3
|
+
static description = "List ProjectMemberships belonging to the executing user.";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
const pathParams = {};
|
|
10
|
+
return await this.apiClient.project.listProjectMemberships({
|
|
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.V2Projects.Get.Parameters.Path;
|
|
4
|
+
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listProjects"]>>;
|
|
5
|
+
export declare abstract class GeneratedProjectListProjects<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedProjectListProjects, 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
|
+
}
|