@mittwald/cli 1.0.0-alpha.25 → 1.0.0-alpha.26

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.
Files changed (209) hide show
  1. package/README.md +655 -179
  2. package/dist/esm/GetBaseCommand.d.ts +1 -1
  3. package/dist/esm/ListBaseCommand.d.ts +1 -1
  4. package/dist/esm/commands/app/dependency/list.d.ts +1 -1
  5. package/dist/esm/commands/app/dependency/versions.d.ts +1 -1
  6. package/dist/esm/commands/app/get.d.ts +1 -1
  7. package/dist/esm/commands/app/ssh.js +1 -1
  8. package/dist/esm/commands/{project/backup → backup}/create.d.ts +3 -1
  9. package/dist/esm/commands/{project/backup → backup}/create.js +8 -6
  10. package/dist/esm/commands/{project/backup → backup}/delete.d.ts +3 -1
  11. package/dist/esm/commands/{project/backup → backup}/delete.js +3 -1
  12. package/dist/esm/commands/{project/backup → backup}/download.d.ts +4 -2
  13. package/dist/esm/commands/{project/backup → backup}/download.js +8 -6
  14. package/dist/esm/commands/{project/backup → backup}/get.d.ts +4 -2
  15. package/dist/esm/commands/{project/backup → backup}/get.js +7 -5
  16. package/dist/esm/commands/{project/backup → backup}/list.d.ts +5 -3
  17. package/dist/esm/commands/{project/backup → backup}/list.js +5 -3
  18. package/dist/esm/commands/{project/backupschedule → backup/schedule}/list.d.ts +2 -0
  19. package/dist/esm/commands/{project/backupschedule → backup/schedule}/list.js +2 -0
  20. package/dist/esm/commands/context/get.d.ts +1 -1
  21. package/dist/esm/commands/conversation/categories.d.ts +11 -4
  22. package/dist/esm/commands/conversation/categories.js +11 -3
  23. package/dist/esm/commands/conversation/list.d.ts +11 -4
  24. package/dist/esm/commands/conversation/list.js +11 -3
  25. package/dist/esm/commands/conversation/show.js +0 -3
  26. package/dist/esm/commands/{project/cronjob → cronjob}/execution/get.d.ts +5 -4
  27. package/dist/esm/commands/{project/cronjob → cronjob}/execution/get.js +5 -6
  28. package/dist/esm/commands/{project/cronjob → cronjob}/execution/list.d.ts +6 -4
  29. package/dist/esm/commands/{project/cronjob → cronjob}/execution/list.js +4 -2
  30. package/dist/esm/commands/{project/cronjob → cronjob}/execution/logs.d.ts +3 -1
  31. package/dist/esm/commands/{project/cronjob → cronjob}/execution/logs.js +4 -2
  32. package/dist/esm/{generated/cronjob/getCronjob.d.ts → commands/cronjob/get.d.ts} +5 -5
  33. package/dist/esm/commands/cronjob/get.js +20 -0
  34. package/dist/esm/commands/{project/cronjob → cronjob}/list.d.ts +5 -3
  35. package/dist/esm/commands/{project/cronjob → cronjob}/list.js +5 -3
  36. package/dist/esm/commands/database/mysql/charsets.d.ts +1 -1
  37. package/dist/esm/commands/database/mysql/create.js +2 -2
  38. package/dist/esm/commands/database/mysql/delete.js +2 -2
  39. package/dist/esm/commands/database/mysql/get.d.ts +2 -2
  40. package/dist/esm/commands/database/mysql/get.js +2 -2
  41. package/dist/esm/commands/database/mysql/phpmyadmin.js +1 -1
  42. package/dist/esm/commands/database/mysql/user/get.d.ts +1 -1
  43. package/dist/esm/commands/database/mysql/user/get.js +1 -1
  44. package/dist/esm/commands/database/mysql/versions.d.ts +1 -1
  45. package/dist/esm/commands/database/redis/create.js +1 -1
  46. package/dist/esm/commands/database/redis/get.d.ts +2 -2
  47. package/dist/esm/commands/database/redis/get.js +1 -1
  48. package/dist/esm/commands/domain/dnszone/get.d.ts +14 -2
  49. package/dist/esm/commands/domain/dnszone/get.js +18 -5
  50. package/dist/esm/commands/domain/dnszone/list.d.ts +12 -2
  51. package/dist/esm/commands/domain/dnszone/list.js +15 -5
  52. package/dist/esm/commands/domain/get.d.ts +13 -2
  53. package/dist/esm/commands/domain/get.js +18 -5
  54. package/dist/esm/commands/domain/ownership/get.d.ts +14 -2
  55. package/dist/esm/commands/domain/ownership/get.js +18 -5
  56. package/dist/esm/commands/domain/virtualhost/get.d.ts +1 -1
  57. package/dist/esm/commands/domain/virtualhost/list.js +4 -1
  58. package/dist/esm/commands/mail/address/create.js +1 -1
  59. package/dist/esm/commands/mail/address/delete.js +2 -2
  60. package/dist/esm/commands/mail/address/get.d.ts +15 -2
  61. package/dist/esm/commands/mail/address/get.js +21 -5
  62. package/dist/esm/commands/mail/address/list.d.ts +3 -3
  63. package/dist/esm/commands/mail/address/list.js +1 -1
  64. package/dist/esm/commands/mail/deliverybox/get.d.ts +15 -2
  65. package/dist/esm/commands/mail/deliverybox/get.js +21 -5
  66. package/dist/esm/commands/mail/deliverybox/list.d.ts +3 -3
  67. package/dist/esm/commands/mail/deliverybox/list.js +1 -1
  68. package/dist/esm/commands/org/get.d.ts +1 -1
  69. package/dist/esm/commands/org/invite/list-own.d.ts +1 -1
  70. package/dist/esm/commands/org/list.d.ts +1 -1
  71. package/dist/esm/commands/org/membership/list-own.d.ts +1 -1
  72. package/dist/esm/commands/org/membership/list.d.ts +3 -0
  73. package/dist/esm/commands/project/create.js +1 -1
  74. package/dist/esm/commands/project/filesystem/usage.js +1 -1
  75. package/dist/esm/commands/project/get.d.ts +1 -1
  76. package/dist/esm/commands/project/get.js +1 -1
  77. package/dist/esm/commands/project/invite/get.d.ts +13 -2
  78. package/dist/esm/commands/project/invite/get.js +18 -5
  79. package/dist/esm/commands/project/invite/list-own.d.ts +10 -3
  80. package/dist/esm/commands/project/invite/list-own.js +10 -2
  81. package/dist/esm/commands/project/invite/list.d.ts +10 -4
  82. package/dist/esm/commands/project/invite/list.js +13 -7
  83. package/dist/esm/commands/project/list.d.ts +2 -3
  84. package/dist/esm/commands/project/membership/get-own.d.ts +11 -3
  85. package/dist/esm/commands/project/membership/get-own.js +14 -9
  86. package/dist/esm/commands/project/membership/get.d.ts +13 -2
  87. package/dist/esm/commands/project/membership/get.js +18 -5
  88. package/dist/esm/commands/project/membership/list-own.d.ts +10 -3
  89. package/dist/esm/commands/project/membership/list-own.js +10 -2
  90. package/dist/esm/commands/project/membership/list.d.ts +10 -4
  91. package/dist/esm/commands/project/membership/list.js +15 -7
  92. package/dist/esm/commands/project/ssh.js +2 -2
  93. package/dist/esm/commands/server/get.d.ts +15 -2
  94. package/dist/esm/commands/server/get.js +17 -5
  95. package/dist/esm/commands/server/list.d.ts +10 -3
  96. package/dist/esm/commands/server/list.js +10 -2
  97. package/dist/esm/commands/{project/sftp-user → sftp-user}/list.d.ts +5 -3
  98. package/dist/esm/commands/{project/sftp-user → sftp-user}/list.js +4 -2
  99. package/dist/esm/commands/{project/ssh-user → ssh-user}/list.d.ts +5 -3
  100. package/dist/esm/commands/{project/ssh-user → ssh-user}/list.js +4 -2
  101. package/dist/esm/commands/user/api-token/get.d.ts +13 -2
  102. package/dist/esm/commands/user/api-token/get.js +18 -5
  103. package/dist/esm/commands/user/api-token/list.d.ts +10 -3
  104. package/dist/esm/commands/user/api-token/list.js +10 -2
  105. package/dist/esm/commands/user/get.d.ts +1 -1
  106. package/dist/esm/commands/user/session/get.d.ts +13 -2
  107. package/dist/esm/commands/user/session/get.js +18 -5
  108. package/dist/esm/commands/user/session/list.d.ts +10 -3
  109. package/dist/esm/commands/user/session/list.js +10 -2
  110. package/dist/esm/commands/user/ssh-key/get.d.ts +13 -2
  111. package/dist/esm/commands/user/ssh-key/get.js +18 -5
  112. package/dist/esm/commands/user/ssh-key/list.d.ts +10 -3
  113. package/dist/esm/commands/user/ssh-key/list.js +10 -2
  114. package/dist/esm/lib/database/common.js +1 -1
  115. package/dist/esm/lib/database/mysql/connect.js +2 -2
  116. package/dist/esm/lib/database/redis/connect.js +2 -2
  117. package/dist/esm/lib/project/hooks.js +2 -2
  118. package/dist/esm/lib/project/shortId.js +1 -1
  119. package/dist/esm/rendering/process/components/ProcessConfirmation.d.ts +1 -1
  120. package/dist/esm/rendering/process/components/ProcessInput.d.ts +1 -1
  121. package/dist/esm/rendering/react/RenderBaseCommand.d.ts +2 -2
  122. package/package.json +31 -30
  123. package/dist/esm/commands/domain/get-handle.d.ts +0 -3
  124. package/dist/esm/commands/domain/get-handle.js +0 -6
  125. package/dist/esm/commands/project/cronjob/get.d.ts +0 -3
  126. package/dist/esm/commands/project/cronjob/get.js +0 -6
  127. package/dist/esm/generated/conversation/getCategory.d.ts +0 -16
  128. package/dist/esm/generated/conversation/getCategory.js +0 -25
  129. package/dist/esm/generated/conversation/getConversation.d.ts +0 -16
  130. package/dist/esm/generated/conversation/getConversation.js +0 -25
  131. package/dist/esm/generated/conversation/listCategories.d.ts +0 -13
  132. package/dist/esm/generated/conversation/listCategories.js +0 -15
  133. package/dist/esm/generated/conversation/listConversations.d.ts +0 -13
  134. package/dist/esm/generated/conversation/listConversations.js +0 -15
  135. package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +0 -13
  136. package/dist/esm/generated/conversation/listMessagesByConversation.js +0 -22
  137. package/dist/esm/generated/cronjob/getCronjob.js +0 -25
  138. package/dist/esm/generated/cronjob/getExecution.d.ts +0 -16
  139. package/dist/esm/generated/cronjob/getExecution.js +0 -29
  140. package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +0 -16
  141. package/dist/esm/generated/domain/dnsZoneGetSpecific.js +0 -25
  142. package/dist/esm/generated/domain/dnsZonesForProject.d.ts +0 -14
  143. package/dist/esm/generated/domain/dnsZonesForProject.js +0 -24
  144. package/dist/esm/generated/domain/getDomain.d.ts +0 -16
  145. package/dist/esm/generated/domain/getDomain.js +0 -25
  146. package/dist/esm/generated/domain/getHandleFields.d.ts +0 -16
  147. package/dist/esm/generated/domain/getHandleFields.js +0 -25
  148. package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +0 -16
  149. package/dist/esm/generated/domain/getSpecificDomainOwnership.js +0 -25
  150. package/dist/esm/generated/file/getFile.d.ts +0 -16
  151. package/dist/esm/generated/file/getFile.js +0 -25
  152. package/dist/esm/generated/file/getFileMeta.d.ts +0 -14
  153. package/dist/esm/generated/file/getFileMeta.js +0 -24
  154. package/dist/esm/generated/file/getFileTokenRules.d.ts +0 -16
  155. package/dist/esm/generated/file/getFileTokenRules.js +0 -25
  156. package/dist/esm/generated/file/getFileTypeRules.d.ts +0 -16
  157. package/dist/esm/generated/file/getFileTypeRules.js +0 -25
  158. package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +0 -16
  159. package/dist/esm/generated/mail/deliveryboxGetSpecific.js +0 -25
  160. package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +0 -16
  161. package/dist/esm/generated/mail/mailaddressGetSpecific.js +0 -25
  162. package/dist/esm/generated/mail/mailaddressList.d.ts +0 -13
  163. package/dist/esm/generated/mail/mailaddressList.js +0 -22
  164. package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +0 -14
  165. package/dist/esm/generated/mail/projectsettingGetSpecific.js +0 -24
  166. package/dist/esm/generated/notification/newsletterGetInfo.d.ts +0 -14
  167. package/dist/esm/generated/notification/newsletterGetInfo.js +0 -16
  168. package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +0 -14
  169. package/dist/esm/generated/notification/scountUnreadNotifications.js +0 -16
  170. package/dist/esm/generated/notification/slistNotifications.d.ts +0 -13
  171. package/dist/esm/generated/notification/slistNotifications.js +0 -15
  172. package/dist/esm/generated/project/getProject.d.ts +0 -16
  173. package/dist/esm/generated/project/getProject.js +0 -25
  174. package/dist/esm/generated/project/getProjectInvite.d.ts +0 -16
  175. package/dist/esm/generated/project/getProjectInvite.js +0 -25
  176. package/dist/esm/generated/project/getProjectMembership.d.ts +0 -16
  177. package/dist/esm/generated/project/getProjectMembership.js +0 -25
  178. package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +0 -14
  179. package/dist/esm/generated/project/getSelfMembershipForProject.js +0 -24
  180. package/dist/esm/generated/project/getServer.d.ts +0 -16
  181. package/dist/esm/generated/project/getServer.js +0 -25
  182. package/dist/esm/generated/project/listInvitesForProject.d.ts +0 -13
  183. package/dist/esm/generated/project/listInvitesForProject.js +0 -22
  184. package/dist/esm/generated/project/listMembershipsForProject.d.ts +0 -13
  185. package/dist/esm/generated/project/listMembershipsForProject.js +0 -22
  186. package/dist/esm/generated/project/listProjectInvites.d.ts +0 -13
  187. package/dist/esm/generated/project/listProjectInvites.js +0 -15
  188. package/dist/esm/generated/project/listProjectMemberships.d.ts +0 -13
  189. package/dist/esm/generated/project/listProjectMemberships.js +0 -15
  190. package/dist/esm/generated/project/listProjects.d.ts +0 -13
  191. package/dist/esm/generated/project/listProjects.js +0 -15
  192. package/dist/esm/generated/project/listServers.d.ts +0 -13
  193. package/dist/esm/generated/project/listServers.js +0 -15
  194. package/dist/esm/generated/user/getApiToken.d.ts +0 -16
  195. package/dist/esm/generated/user/getApiToken.js +0 -25
  196. package/dist/esm/generated/user/getPersonalizedSettings.d.ts +0 -14
  197. package/dist/esm/generated/user/getPersonalizedSettings.js +0 -24
  198. package/dist/esm/generated/user/getSession.d.ts +0 -16
  199. package/dist/esm/generated/user/getSession.js +0 -25
  200. package/dist/esm/generated/user/getSshKey.d.ts +0 -16
  201. package/dist/esm/generated/user/getSshKey.js +0 -25
  202. package/dist/esm/generated/user/listApiTokens.d.ts +0 -13
  203. package/dist/esm/generated/user/listApiTokens.js +0 -15
  204. package/dist/esm/generated/user/listFeedback.d.ts +0 -13
  205. package/dist/esm/generated/user/listFeedback.js +0 -22
  206. package/dist/esm/generated/user/listSessions.d.ts +0 -13
  207. package/dist/esm/generated/user/listSessions.js +0 -15
  208. package/dist/esm/generated/user/listSshKeys.d.ts +0 -13
  209. package/dist/esm/generated/user/listSshKeys.js +0 -15
@@ -1,29 +0,0 @@
1
- /* eslint-disable */
2
- /* prettier-ignore */
3
- /* This file is auto-generated with acg (@mittwald/api-code-generator) */
4
- import { Args, Flags } from "@oclif/core";
5
- import { GetBaseCommand } from "../../GetBaseCommand.js";
6
- export class GeneratedCronjobGetExecution extends GetBaseCommand {
7
- static description = "Get a CronjobExecution.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- "cronjob-id": Flags.string({
11
- description: "undefined",
12
- required: true,
13
- }),
14
- };
15
- static args = {
16
- executionId: Args.string({
17
- description: "ID of the CronjobExecution to be retrieved.",
18
- required: true,
19
- }),
20
- };
21
- async getData() {
22
- return await this.apiClient.cronjob.getExecution({
23
- ...(await this.mapParams(this.args)),
24
- });
25
- }
26
- mapParams(input) {
27
- return input;
28
- }
29
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2DnsZonesZoneId.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["dnsZoneGetSpecific"]>>;
5
- export declare abstract class GeneratedDnsZoneGetSpecific extends GetBaseCommand<typeof GeneratedDnsZoneGetSpecific, 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
- zoneId: 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 {};
@@ -1,25 +0,0 @@
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 GeneratedDnsZoneGetSpecific extends GetBaseCommand {
7
- static description = "gets a specific zone";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- zoneId: Args.string({
13
- description: "id of the zone you want to get",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.domain.dnsZoneGetSpecific({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,14 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdDnsZones.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["dnsZonesForProject"]>>;
5
- export declare abstract class GeneratedDnsZonesForProject extends GetBaseCommand<typeof GeneratedDnsZonesForProject, 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 {};
@@ -1,24 +0,0 @@
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 GeneratedDnsZonesForProject extends GetBaseCommand {
7
- static description = "gets all dns zones by project id";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- "project-id": Flags.string({
11
- description: "project you want to get the zones for",
12
- required: true,
13
- }),
14
- };
15
- static args = {};
16
- async getData() {
17
- return await this.apiClient.domain.dnsZonesForProject({
18
- ...(await this.mapParams(this.args)),
19
- });
20
- }
21
- mapParams(input) {
22
- return input;
23
- }
24
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2DomainsDomainId.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["getDomain"]>>;
5
- export declare abstract class GeneratedDomainGetDomain extends GetBaseCommand<typeof GeneratedDomainGetDomain, 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
- domainId: 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 {};
@@ -1,25 +0,0 @@
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 GeneratedDomainGetDomain extends GetBaseCommand {
7
- static description = "Get a Domain.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- domainId: Args.string({
13
- description: "undefined",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.domain.getDomain({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2DomainsHandleSchemaDomainName.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["getHandleFields"]>>;
5
- export declare abstract class GeneratedDomainGetHandleFields extends GetBaseCommand<typeof GeneratedDomainGetHandleFields, 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
- domainName: 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 {};
@@ -1,25 +0,0 @@
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 GeneratedDomainGetHandleFields extends GetBaseCommand {
7
- static description = "Get a HandleSchema.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- domainName: Args.string({
13
- description: "The whole domain name",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.domain.getHandleFields({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["domain"]["getSpecificDomainOwnership"]>>;
5
- export declare abstract class GeneratedDomainGetSpecificDomainOwnership extends GetBaseCommand<typeof GeneratedDomainGetSpecificDomainOwnership, 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
- domainOwnershipId: 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 {};
@@ -1,25 +0,0 @@
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 GeneratedDomainGetSpecificDomainOwnership extends GetBaseCommand {
7
- static description = "Get a domain ownership.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- domainOwnershipId: Args.string({
13
- description: "undefined",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.domain.getSpecificDomainOwnership({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["file"]["getFile"]>>;
5
- export declare abstract class GeneratedFileGetFile extends GetBaseCommand<typeof GeneratedFileGetFile, 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 {};
@@ -1,25 +0,0 @@
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 GeneratedFileGetFile extends GetBaseCommand {
7
- static description = "Get a File.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- id: Args.string({
13
- description: "ID of the File to be retrieved.",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.file.getFile({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,14 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2FilesIdMeta.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["file"]["getFileMeta"]>>;
5
- export declare abstract class GeneratedFileGetFileMeta extends GetBaseCommand<typeof GeneratedFileGetFileMeta, APIResponse> {
6
- static description: string;
7
- static flags: {
8
- 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 {};
@@ -1,24 +0,0 @@
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 GeneratedFileGetFileMeta extends GetBaseCommand {
7
- static description = "Get a File's meta.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- id: Flags.string({
11
- description: "ID of the File to get the meta for.",
12
- required: true,
13
- }),
14
- };
15
- static args = {};
16
- async getData() {
17
- return await this.apiClient.file.getFileMeta({
18
- ...(await this.mapParams(this.args)),
19
- });
20
- }
21
- mapParams(input) {
22
- return input;
23
- }
24
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["file"]["getFileTokenRules"]>>;
5
- export declare abstract class GeneratedFileGetFileTokenRules extends GetBaseCommand<typeof GeneratedFileGetFileTokenRules, 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
- token: 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 {};
@@ -1,25 +0,0 @@
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 GeneratedFileGetFileTokenRules extends GetBaseCommand {
7
- static description = "Get a Token's upload rules.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- token: Args.string({
13
- description: "Token of the Token's upload rules to be retrieved.",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.file.getFileTokenRules({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["file"]["getFileTypeRules"]>>;
5
- export declare abstract class GeneratedFileGetFileTypeRules extends GetBaseCommand<typeof GeneratedFileGetFileTypeRules, 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
- name: 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 {};
@@ -1,25 +0,0 @@
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 GeneratedFileGetFileTypeRules extends GetBaseCommand {
7
- static description = "Get a Type's upload rules.";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- name: Args.string({
13
- description: "Name of the Type's upload rules to be retrieved.",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.file.getFileTypeRules({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,16 +0,0 @@
1
- import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
2
- import { GetBaseCommand } from "../../GetBaseCommand.js";
3
- export type PathParams = MittwaldAPIV2.Paths.V2DeliveryboxesId.Get.Parameters.Path;
4
- type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["deliveryboxGetSpecific"]>>;
5
- export declare abstract class GeneratedMailDeliveryboxGetSpecific extends GetBaseCommand<typeof GeneratedMailDeliveryboxGetSpecific, 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 {};
@@ -1,25 +0,0 @@
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 GeneratedMailDeliveryboxGetSpecific extends GetBaseCommand {
7
- static description = "Get a specific deliverybox";
8
- static flags = {
9
- ...GetBaseCommand.baseFlags,
10
- };
11
- static args = {
12
- id: Args.string({
13
- description: "ID of the deliverybox you want to retrieve",
14
- required: true,
15
- }),
16
- };
17
- async getData() {
18
- return await this.apiClient.mail.deliveryboxGetSpecific({
19
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,16 +0,0 @@
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 {};
@@ -1,25 +0,0 @@
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
- ...(await this.mapParams(this.args)),
20
- });
21
- }
22
- mapParams(input) {
23
- return input;
24
- }
25
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,22 +0,0 @@
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((await this.mapParams(pathParams)));
18
- }
19
- mapParams(input) {
20
- return input;
21
- }
22
- }
@@ -1,14 +0,0 @@
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 {};
@@ -1,24 +0,0 @@
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
- ...(await this.mapParams(this.args)),
19
- });
20
- }
21
- mapParams(input) {
22
- return input;
23
- }
24
- }
@@ -1,14 +0,0 @@
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 {};
@@ -1,16 +0,0 @@
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
- ...(await this.mapParams(this.args)),
11
- });
12
- }
13
- mapParams(input) {
14
- return input;
15
- }
16
- }
@@ -1,14 +0,0 @@
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 {};