@mittwald/cli 1.0.0-alpha.25 → 1.0.0-alpha.27
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/README.md +1002 -241
- package/dist/esm/GetBaseCommand.d.ts +1 -1
- package/dist/esm/ListBaseCommand.d.ts +1 -1
- package/dist/esm/commands/app/create/python.d.ts +12 -0
- package/dist/esm/commands/app/create/python.js +13 -0
- package/dist/esm/commands/app/create/static.d.ts +1 -1
- package/dist/esm/commands/app/create/static.js +1 -1
- package/dist/esm/commands/app/dependency/list.d.ts +1 -1
- package/dist/esm/commands/app/dependency/versions.d.ts +1 -1
- package/dist/esm/commands/app/get.d.ts +1 -1
- package/dist/esm/commands/app/install/drupal.d.ts +11 -0
- package/dist/esm/commands/app/install/drupal.js +21 -0
- package/dist/esm/commands/app/install/grav.d.ts +11 -0
- package/dist/esm/commands/app/install/grav.js +22 -0
- package/dist/esm/commands/app/install/nextcloud.d.ts +11 -0
- package/dist/esm/commands/app/install/nextcloud.js +21 -0
- package/dist/esm/commands/app/ssh.js +1 -1
- package/dist/esm/commands/{project/backup → backup}/create.d.ts +3 -1
- package/dist/esm/commands/{project/backup → backup}/create.js +8 -6
- package/dist/esm/commands/{project/backup → backup}/delete.d.ts +3 -1
- package/dist/esm/commands/{project/backup → backup}/delete.js +3 -1
- package/dist/esm/commands/{project/backup → backup}/download.d.ts +4 -2
- package/dist/esm/commands/{project/backup → backup}/download.js +8 -6
- package/dist/esm/commands/{project/backup → backup}/get.d.ts +4 -2
- package/dist/esm/commands/{project/backup → backup}/get.js +7 -5
- package/dist/esm/commands/{project/backup → backup}/list.d.ts +5 -3
- package/dist/esm/commands/{project/backup → backup}/list.js +5 -3
- package/dist/esm/commands/{project/backupschedule → backup/schedule}/list.d.ts +2 -0
- package/dist/esm/commands/{project/backupschedule → backup/schedule}/list.js +2 -0
- package/dist/esm/commands/context/get.d.ts +1 -1
- package/dist/esm/commands/conversation/categories.d.ts +11 -4
- package/dist/esm/commands/conversation/categories.js +11 -3
- package/dist/esm/commands/conversation/list.d.ts +11 -4
- package/dist/esm/commands/conversation/list.js +11 -3
- package/dist/esm/commands/conversation/show.js +0 -3
- package/dist/esm/commands/{project/cronjob → cronjob}/execution/get.d.ts +5 -4
- package/dist/esm/commands/{project/cronjob → cronjob}/execution/get.js +5 -6
- package/dist/esm/commands/{project/cronjob → cronjob}/execution/list.d.ts +6 -4
- package/dist/esm/commands/{project/cronjob → cronjob}/execution/list.js +4 -2
- package/dist/esm/commands/{project/cronjob → cronjob}/execution/logs.d.ts +3 -1
- package/dist/esm/commands/{project/cronjob → cronjob}/execution/logs.js +4 -2
- package/dist/esm/{generated/cronjob/getCronjob.d.ts → commands/cronjob/get.d.ts} +5 -5
- package/dist/esm/commands/cronjob/get.js +20 -0
- package/dist/esm/commands/{project/cronjob → cronjob}/list.d.ts +5 -3
- package/dist/esm/commands/{project/cronjob → cronjob}/list.js +5 -3
- package/dist/esm/commands/database/mysql/charsets.d.ts +1 -1
- package/dist/esm/commands/database/mysql/create.js +2 -2
- package/dist/esm/commands/database/mysql/delete.js +2 -2
- package/dist/esm/commands/database/mysql/get.d.ts +2 -2
- package/dist/esm/commands/database/mysql/get.js +2 -2
- package/dist/esm/commands/database/mysql/phpmyadmin.js +1 -1
- package/dist/esm/commands/database/mysql/user/get.d.ts +1 -1
- package/dist/esm/commands/database/mysql/user/get.js +1 -1
- package/dist/esm/commands/database/mysql/versions.d.ts +1 -1
- package/dist/esm/commands/database/redis/create.js +1 -1
- package/dist/esm/commands/database/redis/get.d.ts +2 -2
- package/dist/esm/commands/database/redis/get.js +1 -1
- package/dist/esm/commands/domain/dnszone/get.d.ts +14 -2
- package/dist/esm/commands/domain/dnszone/get.js +18 -5
- package/dist/esm/commands/domain/dnszone/list.d.ts +12 -2
- package/dist/esm/commands/domain/dnszone/list.js +15 -5
- package/dist/esm/commands/domain/get.d.ts +13 -2
- package/dist/esm/commands/domain/get.js +18 -5
- package/dist/esm/commands/domain/ownership/get.d.ts +14 -2
- package/dist/esm/commands/domain/ownership/get.js +18 -5
- package/dist/esm/commands/domain/virtualhost/get.d.ts +1 -1
- package/dist/esm/commands/domain/virtualhost/list.js +4 -1
- package/dist/esm/commands/mail/address/create.js +1 -1
- package/dist/esm/commands/mail/address/delete.js +2 -2
- package/dist/esm/commands/mail/address/get.d.ts +15 -2
- package/dist/esm/commands/mail/address/get.js +21 -5
- package/dist/esm/commands/mail/address/list.d.ts +3 -3
- package/dist/esm/commands/mail/address/list.js +1 -1
- package/dist/esm/commands/mail/deliverybox/get.d.ts +15 -2
- package/dist/esm/commands/mail/deliverybox/get.js +21 -5
- package/dist/esm/commands/mail/deliverybox/list.d.ts +3 -3
- package/dist/esm/commands/mail/deliverybox/list.js +1 -1
- package/dist/esm/commands/org/get.d.ts +1 -1
- package/dist/esm/commands/org/invite/list-own.d.ts +1 -1
- package/dist/esm/commands/org/list.d.ts +1 -1
- package/dist/esm/commands/org/membership/list-own.d.ts +1 -1
- package/dist/esm/commands/org/membership/list.d.ts +3 -0
- package/dist/esm/commands/project/create.js +1 -1
- package/dist/esm/commands/project/filesystem/usage.js +1 -1
- package/dist/esm/commands/project/get.d.ts +1 -1
- package/dist/esm/commands/project/get.js +1 -1
- package/dist/esm/commands/project/invite/get.d.ts +13 -2
- package/dist/esm/commands/project/invite/get.js +18 -5
- package/dist/esm/commands/project/invite/list-own.d.ts +10 -3
- package/dist/esm/commands/project/invite/list-own.js +10 -2
- package/dist/esm/commands/project/invite/list.d.ts +10 -4
- package/dist/esm/commands/project/invite/list.js +13 -7
- package/dist/esm/commands/project/list.d.ts +2 -3
- package/dist/esm/commands/project/membership/get-own.d.ts +11 -3
- package/dist/esm/commands/project/membership/get-own.js +14 -9
- package/dist/esm/commands/project/membership/get.d.ts +13 -2
- package/dist/esm/commands/project/membership/get.js +18 -5
- package/dist/esm/commands/project/membership/list-own.d.ts +10 -3
- package/dist/esm/commands/project/membership/list-own.js +10 -2
- package/dist/esm/commands/project/membership/list.d.ts +10 -4
- package/dist/esm/commands/project/membership/list.js +15 -7
- package/dist/esm/commands/project/ssh.js +2 -2
- package/dist/esm/commands/server/get.d.ts +15 -2
- package/dist/esm/commands/server/get.js +17 -5
- package/dist/esm/commands/server/list.d.ts +10 -3
- package/dist/esm/commands/server/list.js +10 -2
- package/dist/esm/commands/{project/sftp-user → sftp-user}/list.d.ts +5 -3
- package/dist/esm/commands/{project/sftp-user → sftp-user}/list.js +4 -2
- package/dist/esm/commands/{project/ssh-user → ssh-user}/list.d.ts +5 -3
- package/dist/esm/commands/{project/ssh-user → ssh-user}/list.js +4 -2
- package/dist/esm/commands/user/api-token/get.d.ts +13 -2
- package/dist/esm/commands/user/api-token/get.js +18 -5
- package/dist/esm/commands/user/api-token/list.d.ts +10 -3
- package/dist/esm/commands/user/api-token/list.js +10 -2
- package/dist/esm/commands/user/get.d.ts +1 -1
- package/dist/esm/commands/user/session/get.d.ts +13 -2
- package/dist/esm/commands/user/session/get.js +18 -5
- package/dist/esm/commands/user/session/list.d.ts +10 -3
- package/dist/esm/commands/user/session/list.js +10 -2
- package/dist/esm/commands/user/ssh-key/get.d.ts +13 -2
- package/dist/esm/commands/user/ssh-key/get.js +18 -5
- package/dist/esm/commands/user/ssh-key/list.d.ts +10 -3
- package/dist/esm/commands/user/ssh-key/list.js +10 -2
- package/dist/esm/lib/database/common.js +1 -1
- package/dist/esm/lib/database/mysql/connect.js +2 -2
- package/dist/esm/lib/database/redis/connect.js +2 -2
- package/dist/esm/lib/project/hooks.js +2 -2
- package/dist/esm/lib/project/shortId.js +1 -1
- package/dist/esm/rendering/process/components/ProcessConfirmation.d.ts +1 -1
- package/dist/esm/rendering/process/components/ProcessInput.d.ts +1 -1
- package/dist/esm/rendering/react/RenderBaseCommand.d.ts +2 -2
- package/package.json +31 -30
- package/dist/esm/commands/domain/get-handle.d.ts +0 -3
- package/dist/esm/commands/domain/get-handle.js +0 -6
- package/dist/esm/commands/project/cronjob/get.d.ts +0 -3
- package/dist/esm/commands/project/cronjob/get.js +0 -6
- package/dist/esm/generated/conversation/getCategory.d.ts +0 -16
- package/dist/esm/generated/conversation/getCategory.js +0 -25
- package/dist/esm/generated/conversation/getConversation.d.ts +0 -16
- package/dist/esm/generated/conversation/getConversation.js +0 -25
- package/dist/esm/generated/conversation/listCategories.d.ts +0 -13
- package/dist/esm/generated/conversation/listCategories.js +0 -15
- package/dist/esm/generated/conversation/listConversations.d.ts +0 -13
- package/dist/esm/generated/conversation/listConversations.js +0 -15
- package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +0 -13
- package/dist/esm/generated/conversation/listMessagesByConversation.js +0 -22
- package/dist/esm/generated/cronjob/getCronjob.js +0 -25
- package/dist/esm/generated/cronjob/getExecution.d.ts +0 -16
- package/dist/esm/generated/cronjob/getExecution.js +0 -29
- package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +0 -16
- package/dist/esm/generated/domain/dnsZoneGetSpecific.js +0 -25
- package/dist/esm/generated/domain/dnsZonesForProject.d.ts +0 -14
- package/dist/esm/generated/domain/dnsZonesForProject.js +0 -24
- package/dist/esm/generated/domain/getDomain.d.ts +0 -16
- package/dist/esm/generated/domain/getDomain.js +0 -25
- package/dist/esm/generated/domain/getHandleFields.d.ts +0 -16
- package/dist/esm/generated/domain/getHandleFields.js +0 -25
- package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +0 -16
- package/dist/esm/generated/domain/getSpecificDomainOwnership.js +0 -25
- package/dist/esm/generated/file/getFile.d.ts +0 -16
- package/dist/esm/generated/file/getFile.js +0 -25
- package/dist/esm/generated/file/getFileMeta.d.ts +0 -14
- package/dist/esm/generated/file/getFileMeta.js +0 -24
- package/dist/esm/generated/file/getFileTokenRules.d.ts +0 -16
- package/dist/esm/generated/file/getFileTokenRules.js +0 -25
- package/dist/esm/generated/file/getFileTypeRules.d.ts +0 -16
- package/dist/esm/generated/file/getFileTypeRules.js +0 -25
- package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +0 -16
- package/dist/esm/generated/mail/deliveryboxGetSpecific.js +0 -25
- package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +0 -16
- package/dist/esm/generated/mail/mailaddressGetSpecific.js +0 -25
- package/dist/esm/generated/mail/mailaddressList.d.ts +0 -13
- package/dist/esm/generated/mail/mailaddressList.js +0 -22
- package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +0 -14
- package/dist/esm/generated/mail/projectsettingGetSpecific.js +0 -24
- package/dist/esm/generated/notification/newsletterGetInfo.d.ts +0 -14
- package/dist/esm/generated/notification/newsletterGetInfo.js +0 -16
- package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +0 -14
- package/dist/esm/generated/notification/scountUnreadNotifications.js +0 -16
- package/dist/esm/generated/notification/slistNotifications.d.ts +0 -13
- package/dist/esm/generated/notification/slistNotifications.js +0 -15
- package/dist/esm/generated/project/getProject.d.ts +0 -16
- package/dist/esm/generated/project/getProject.js +0 -25
- package/dist/esm/generated/project/getProjectInvite.d.ts +0 -16
- package/dist/esm/generated/project/getProjectInvite.js +0 -25
- package/dist/esm/generated/project/getProjectMembership.d.ts +0 -16
- package/dist/esm/generated/project/getProjectMembership.js +0 -25
- package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +0 -14
- package/dist/esm/generated/project/getSelfMembershipForProject.js +0 -24
- package/dist/esm/generated/project/getServer.d.ts +0 -16
- package/dist/esm/generated/project/getServer.js +0 -25
- package/dist/esm/generated/project/listInvitesForProject.d.ts +0 -13
- package/dist/esm/generated/project/listInvitesForProject.js +0 -22
- package/dist/esm/generated/project/listMembershipsForProject.d.ts +0 -13
- package/dist/esm/generated/project/listMembershipsForProject.js +0 -22
- package/dist/esm/generated/project/listProjectInvites.d.ts +0 -13
- package/dist/esm/generated/project/listProjectInvites.js +0 -15
- package/dist/esm/generated/project/listProjectMemberships.d.ts +0 -13
- package/dist/esm/generated/project/listProjectMemberships.js +0 -15
- package/dist/esm/generated/project/listProjects.d.ts +0 -13
- package/dist/esm/generated/project/listProjects.js +0 -15
- package/dist/esm/generated/project/listServers.d.ts +0 -13
- package/dist/esm/generated/project/listServers.js +0 -15
- package/dist/esm/generated/user/getApiToken.d.ts +0 -16
- package/dist/esm/generated/user/getApiToken.js +0 -25
- package/dist/esm/generated/user/getPersonalizedSettings.d.ts +0 -14
- package/dist/esm/generated/user/getPersonalizedSettings.js +0 -24
- package/dist/esm/generated/user/getSession.d.ts +0 -16
- package/dist/esm/generated/user/getSession.js +0 -25
- package/dist/esm/generated/user/getSshKey.d.ts +0 -16
- package/dist/esm/generated/user/getSshKey.js +0 -25
- package/dist/esm/generated/user/listApiTokens.d.ts +0 -13
- package/dist/esm/generated/user/listApiTokens.js +0 -15
- package/dist/esm/generated/user/listFeedback.d.ts +0 -13
- package/dist/esm/generated/user/listFeedback.js +0 -22
- package/dist/esm/generated/user/listSessions.d.ts +0 -13
- package/dist/esm/generated/user/listSessions.js +0 -15
- package/dist/esm/generated/user/listSshKeys.d.ts +0 -13
- package/dist/esm/generated/user/listSshKeys.js +0 -15
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
-
export type PathParams = MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Path;
|
|
4
|
-
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["conversation"]["getConversation"]>>;
|
|
5
|
-
export declare abstract class GeneratedConversationGetConversation extends GetBaseCommand<typeof GeneratedConversationGetConversation, 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
|
-
conversationId: 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 GeneratedConversationGetConversation extends GetBaseCommand {
|
|
7
|
-
static description = "Get a support conversation.";
|
|
8
|
-
static flags = {
|
|
9
|
-
...GetBaseCommand.baseFlags,
|
|
10
|
-
};
|
|
11
|
-
static args = {
|
|
12
|
-
conversationId: Args.string({
|
|
13
|
-
description: "undefined",
|
|
14
|
-
required: true,
|
|
15
|
-
}),
|
|
16
|
-
};
|
|
17
|
-
async getData() {
|
|
18
|
-
return await this.apiClient.conversation.getConversation({
|
|
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.V2ConversationCategories.Get.Parameters.Path;
|
|
4
|
-
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["conversation"]["listCategories"]>>;
|
|
5
|
-
export declare abstract class GeneratedConversationListCategories<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedConversationListCategories, 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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
-
export class GeneratedConversationListCategories extends ListBaseCommand {
|
|
3
|
-
static description = "Get all conversation categories.";
|
|
4
|
-
static args = {};
|
|
5
|
-
static flags = {
|
|
6
|
-
...ListBaseCommand.baseFlags,
|
|
7
|
-
};
|
|
8
|
-
async getData() {
|
|
9
|
-
const pathParams = {};
|
|
10
|
-
return await this.apiClient.conversation.listCategories((await this.mapParams(pathParams)));
|
|
11
|
-
}
|
|
12
|
-
mapParams(input) {
|
|
13
|
-
return input;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
-
export type PathParams = MittwaldAPIV2.Paths.V2Conversations.Get.Parameters.Path;
|
|
4
|
-
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["conversation"]["listConversations"]>>;
|
|
5
|
-
export declare abstract class GeneratedConversationListConversations<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedConversationListConversations, 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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
2
|
-
export class GeneratedConversationListConversations extends ListBaseCommand {
|
|
3
|
-
static description = "Get all conversation the authenticated user has created or has access to.";
|
|
4
|
-
static args = {};
|
|
5
|
-
static flags = {
|
|
6
|
-
...ListBaseCommand.baseFlags,
|
|
7
|
-
};
|
|
8
|
-
async getData() {
|
|
9
|
-
const pathParams = {};
|
|
10
|
-
return await this.apiClient.conversation.listConversations((await this.mapParams(pathParams)));
|
|
11
|
-
}
|
|
12
|
-
mapParams(input) {
|
|
13
|
-
return input;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
-
export type PathParams = MittwaldAPIV2.Paths.V2ConversationsConversationIdMessages.Get.Parameters.Path;
|
|
4
|
-
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["conversation"]["listMessagesByConversation"]>>;
|
|
5
|
-
export declare abstract class GeneratedConversationListMessagesByConversation<TItem extends Record<string, unknown>> extends ListBaseCommand<typeof GeneratedConversationListMessagesByConversation, TItem, Response> {
|
|
6
|
-
static description: string;
|
|
7
|
-
static args: {};
|
|
8
|
-
static flags: {
|
|
9
|
-
"conversation-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 GeneratedConversationListMessagesByConversation extends ListBaseCommand {
|
|
4
|
-
static description = "Get all message of the conversation.";
|
|
5
|
-
static args = {};
|
|
6
|
-
static flags = {
|
|
7
|
-
...ListBaseCommand.baseFlags,
|
|
8
|
-
"conversation-id": Flags.string({
|
|
9
|
-
description: "undefined",
|
|
10
|
-
required: true,
|
|
11
|
-
}),
|
|
12
|
-
};
|
|
13
|
-
async getData() {
|
|
14
|
-
const pathParams = {
|
|
15
|
-
conversationId: this.flags["conversation-id"],
|
|
16
|
-
};
|
|
17
|
-
return await this.apiClient.conversation.listMessagesByConversation((await this.mapParams(pathParams)));
|
|
18
|
-
}
|
|
19
|
-
mapParams(input) {
|
|
20
|
-
return input;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -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 GeneratedCronjobGetCronjob extends GetBaseCommand {
|
|
7
|
-
static description = "Get a Cronjob.";
|
|
8
|
-
static flags = {
|
|
9
|
-
...GetBaseCommand.baseFlags,
|
|
10
|
-
};
|
|
11
|
-
static args = {
|
|
12
|
-
cronjobId: Args.string({
|
|
13
|
-
description: "ID of the Cronjob to be retrieved.",
|
|
14
|
-
required: true,
|
|
15
|
-
}),
|
|
16
|
-
};
|
|
17
|
-
async getData() {
|
|
18
|
-
return await this.apiClient.cronjob.getCronjob({
|
|
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.V2CronjobsCronjobIdExecutionsExecutionId.Get.Parameters.Path;
|
|
4
|
-
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["cronjob"]["getExecution"]>>;
|
|
5
|
-
export declare abstract class GeneratedCronjobGetExecution extends GetBaseCommand<typeof GeneratedCronjobGetExecution, APIResponse> {
|
|
6
|
-
static description: string;
|
|
7
|
-
static flags: {
|
|
8
|
-
"cronjob-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
-
};
|
|
10
|
-
static args: {
|
|
11
|
-
executionId: 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,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 {};
|