Monument

Revenue Entries

Revenue entry creation and reporting for task financials.

externalpermissionstable6 procedures
queryrevenueEntries.listInferred output

No 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
RevenueEntryListResult
queryrevenueEntries.listByTaskInferred output

No description provided.

Input
{
  taskId: string;
  limit?: number | undefined;
  offset?: number | undefined;
  dateFrom?: string | undefined;
  dateTo?: string | undefined;
  includeChildTasks?: boolean | undefined;
}
Output
RevenueEntryListResult
queryrevenueEntries.getByIdInferred output

No 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;
} | null
mutationrevenueEntries.createInferred output

No 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;
}
mutationrevenueEntries.updateInferred output

No 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;
} | null
mutationrevenueEntries.deleteInferred output

No description provided.

Input
{
  id: string;
}
Output
{
  success: boolean;
  error: string;
} | {
  success: boolean;
  error?: undefined;
}