Contract Desk
The Contract Desk gathers the open work of your contract apps in one list: values where the documents and the CRM disagree or are missing, missing documents, site checks, key dates and process steps. With these tools an agent works that list the way a person does: pick a batch from the To do list, open an item's evidence, record a decision, and undo it if it was wrong. A decision is recorded at the item's source app and in the desk's log, under your connection.
talonic_contract_desk_todo— sections and batches of open work.talonic_contract_desk_todo_items— the items of one batch.talonic_contract_desk_get_decision— one item's evidence and the actions it offers.talonic_contract_desk_decide— record the decision (preview withdry_runfirst).talonic_contract_desk_undo— take a decision back while it is the item's latest.
talonic_contract_desk_status
Whether the desk is ready: when it was last refreshed, whether a refresh is running, and how many sites, contracts and open items it holds.
talonic_contract_desk_refresh
Start a refresh of the desk from its source apps. Answers at once; the status tool shows it running. Needs the run permission.
talonic_contract_desk_sites
One page of sites with their open work.
| Parameter | Type | Description |
|---|---|---|
| q | string | Words that must each occur in the site's number, name, contracts or partners. |
| filter | string | `all`, `now` (work due now) or `nodoc` (no documents). |
| page | integer | Page number, from 1. |
| limit | integer | Rows per page; the desk caps it. |
talonic_contract_desk_get_site
One site with its contracts and site-level items.
| Parameter | Type | Description |
|---|---|---|
| key * | string | The site key. |
talonic_contract_desk_contracts
One page of contracts, searchable, for one partner or one site.
| Parameter | Type | Description |
|---|---|---|
| q | string | Search words. |
| partner | string | A `partner_key`, matched exactly. |
| site | string | A site key, matched exactly. |
| page | integer | Page number, from 1. |
| limit | integer | Rows per page; the desk caps it. |
talonic_contract_desk_get_contract
One contract with its items and values: where the documents and the CRM agree or differ, and what is open.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The contract's `crm_key`. |
talonic_contract_desk_dashboard
Work due now and this month, open work by team, due dates by week, the busiest sites and the history.
| Parameter | Type | Description |
|---|---|---|
| team | string | One team's work only; all teams when left out. |
talonic_contract_desk_quality
Required values and how many are still open, the attributes with most open values, and how well documents link to contracts.
talonic_contract_desk_todo
The To do list: per section (now, this month, later, no date) its count and first batches of similar items, plus today's decisions.
| Parameter | Type | Description |
|---|---|---|
| team | string | One team's work only; all teams when left out. |
talonic_contract_desk_todo_items
One page of the open items of a batch.
| Parameter | Type | Description |
|---|---|---|
| batch * | string | The batch key from `talonic_contract_desk_todo`, unchanged. |
| page | integer | Page number, from 1. |
| limit | integer | Rows per page; the desk caps it. |
talonic_contract_desk_get_decision
Everything the decision screen shows for one item: for a value, what each document and the CRM say and the values to pick; for a key date, its day and the outcomes offered; for a process step, mark it handled. can_decide says whether your connection may decide it; mode: suggest means your decision becomes a suggestion a colleague accepts.
| Parameter | Type | Description |
|---|---|---|
| id * | UUID | The item id. |
talonic_contract_desk_decide
Decide one item at its source app. Run with dry_run first. Returns the decision_id to undo it with.
| Parameter | Type | Description |
|---|---|---|
| id * | UUID | The item id. |
| action * | string | `set`, `crm_add`, `handled`, `notice_sent`, `renewal_declined` or `terminated`; only those the item offers. |
| value | string | The value to record; with `set` only. |
| note | string | Why, in a few words; recorded at the source. |
| dry_run | boolean | Preview only; nothing is recorded. |
talonic_contract_desk_decisions
The decisions newest first, with who decided what and whether each can still be undone.
| Parameter | Type | Description |
|---|---|---|
| mine | boolean | Only your own decisions. |
| crm_key | string | One contract's decisions. |
| page | integer | Page number, from 1. |
| limit | integer | Rows per page; the desk caps it. |
talonic_contract_desk_undo
Undo a decision at its source and put the item back on the list. Only an item's latest decision can be undone.
| Parameter | Type | Description |
|---|---|---|
| id * | UUID | The decision id. |
talonic_contract_desk_settings
Which team gets which items: the team per item kind and per attribute, and the choices.
talonic_contract_desk_save_settings
Replace the whole team setup and refresh the desk. Read the current setup first and send it back complete. Needs an Admin.
| Parameter | Type | Description |
|---|---|---|
| teams * | object | `{ kinds: { <kind>: <team> }, fields: { <field_key>: <team> } }`. |