Revenue Entries
Revenue entry creation and reporting for task financials.
externalpermissionstable6 procedures
query
revenueEntries.listInferred outputNo description provided.
Input
{
taskId?: string | undefined;
rootTaskId?: string | undefined;
limit?: number | undefined;
offset?: number | undefined;
entrySource?: "manual" | "coincraft" | undefined;
dateFrom?: string | undefined;
dateTo?: string | undefined;
includeChildTasks?: boolean | undefined;
}Output
RevenueEntryListResultquery
revenueEntries.listByTaskInferred outputNo description provided.
Input
{
taskId: string;
limit?: number | undefined;
offset?: number | undefined;
dateFrom?: string | undefined;
dateTo?: string | undefined;
includeChildTasks?: boolean | undefined;
}Output
RevenueEntryListResultquery
revenueEntries.getByIdInferred outputNo description provided.
Input
{
id: string;
}Output
{
id: string;
organizationId: string;
taskId: string | null;
rootTaskId: string | null;
date: string;
createdAt: Date;
updatedAt: Date | null;
deletedAt: Date | null;
description: string | null;
tags: Array<string> | null;
entrySource: string | null;
amount: string;
currency: string | null;
} | nullmutation
revenueEntries.createInferred outputNo description provided.
Input
{
date: string;
amount: number;
taskId?: string | undefined;
rootTaskId?: string | undefined;
description?: string | null | undefined;
tags?: Array<string> | undefined;
entrySource?: "manual" | "coincraft" | undefined;
currency?: string | undefined;
}Output
{
id: string;
organizationId: string;
taskId: string | null;
rootTaskId: string | null;
date: string;
createdAt: Date;
updatedAt: Date | null;
deletedAt: Date | null;
description: string | null;
tags: Array<string> | null;
entrySource: string | null;
amount: string;
currency: string | null;
}mutation
revenueEntries.updateInferred outputNo description provided.
Input
{
id: string;
taskId?: string | null | undefined;
rootTaskId?: string | null | undefined;
date?: string | undefined;
description?: string | null | undefined;
tags?: Array<string> | undefined;
entrySource?: "manual" | "coincraft" | undefined;
amount?: number | undefined;
currency?: string | undefined;
}Output
{
id: string;
organizationId: string;
taskId: string | null;
rootTaskId: string | null;
date: string;
createdAt: Date;
updatedAt: Date | null;
deletedAt: Date | null;
description: string | null;
tags: Array<string> | null;
entrySource: string | null;
amount: string;
currency: string | null;
} | nullmutation
revenueEntries.deleteInferred outputNo description provided.
Input
{
id: string;
}Output
{
success: boolean;
error: string;
} | {
success: boolean;
error?: undefined;
}