Skip to content

API Reference parrot_tools.interfaces.gigsmart.models.timesheet

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.interfaces.gigsmart.models.timesheet

View source

Pydantic v2 models for GigSmart timesheets and disputes API surfaces.

Important: there is NO TimesheetState enum in the GigSmart schema. Timesheet lifecycle is tracked via EngagementStateName (PENDING_TIMESHEET_APPROVAL, DISBURSED) plus the is_approved boolean on :class:EngagementTimesheet.

Class AddEngagementDisputeInput

Input for the addEngagementDispute mutation.

Fields:

Field Type Default Description
engagement_id str

Class ApproveEngagementTimesheetInput

Input for the approveEngagementTimesheet mutation.

Fields:

Field Type Default Description
timesheet_id str
mutation_lock str | None None

Class EngagementTimesheet

A GigSmart engagement timesheet record.

Variants: ADMIN, FINAL, LATEST, REQUESTER, SYSTEM, WORKER. Payment styles: CALCULATED, FIXED_AMOUNT, FIXED_HOURS.

Fields:

Field Type Default Description
id str
engagement_id str | None None
is_approved bool False
variant str | None None
payment_style str | None None

Class RemoveEngagementTimesheetInput

Input for the removeEngagementTimesheet mutation.

This rejects the timesheet and allows the worker to resubmit. It does NOT delete the timesheet record.

Fields:

Field Type Default Description
timesheet_id str

Class SetEngagementDisputeApprovalInput

Input for the setEngagementDisputeApproval mutation.

Allows the requester to accept or reject a worker's dispute.

Fields:

Field Type Default Description
dispute_id str
accept bool
response_note str | None None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally