diff --git a/pages/agents/agents.yml b/pages/agents/agents.yml index 8dfd5cc..767ddef 100644 --- a/pages/agents/agents.yml +++ b/pages/agents/agents.yml @@ -17,7 +17,7 @@ sections: title: List all Agents id: list-all-agents description: /agents/list-all-agents.md - filters: /agents/agent-object.yml + filters: /agents/agent-object-v2.yml code: /agents/list-all-agents.py code_type: GET code_url: /api/agents/ diff --git a/pages/appointments/appointment-object.yml b/pages/appointments/appointment-object.yml index c39c166..3b77fd9 100644 --- a/pages/appointments/appointment-object.yml +++ b/pages/appointments/appointment-object.yml @@ -173,6 +173,14 @@ filters: name: recipient type: integer description: Filter by the Appointment's linked Student (id). + - + name: client + type: integer + description: Filter by the Appointment's linked Client (id). + - + name: status + type: string + description: Filter by the Appointment's status (string). - name: location type: integer diff --git a/pages/clients/clients.yml b/pages/clients/clients.yml index cf54a7a..38808d3 100644 --- a/pages/clients/clients.yml +++ b/pages/clients/clients.yml @@ -17,7 +17,7 @@ sections: title: List all Clients id: list-all-clients description: /clients/list-all-clients.md - filters: /clients/client-object.yml + filters: /clients/client-object-v2.yml code: /clients/list-all-clients.py code_type: GET code_url: /api/clients/ diff --git a/pages/contractors/contractors.yml b/pages/contractors/contractors.yml index a70b481..5716ab1 100644 --- a/pages/contractors/contractors.yml +++ b/pages/contractors/contractors.yml @@ -17,7 +17,7 @@ sections: title: List all Contractors id: list-all-contractors description: /contractors/list-all-contractors.md - filters: /contractors/contractor-object.yml + filters: /contractors/contractor-object-v2.yml code: /contractors/list-all-contractors.py code_type: GET code_url: /api/contractors/ diff --git a/pages/proforma-invoices/proforma-invoice-object.yml b/pages/proforma-invoices/proforma-invoice-object.yml index a09508b..0a40ef2 100644 --- a/pages/proforma-invoices/proforma-invoice-object.yml +++ b/pages/proforma-invoices/proforma-invoice-object.yml @@ -102,3 +102,19 @@ attributes: name: still_to_pay type: decimal description: Amount of the Proforma Invoice that still needs to be payed. + - + name: description + type: string + description: Description for the Proforma Invoice item (required for creation). + - + name: send_pfi + type: boolean + description: | + (Deprecated - use raise_behaviour instead) Send the PFI as well as creating it. Default is false. + - + name: raise_behaviour + type: string + description: | + Raise behavior when creating a Proforma Invoice. Choices are `dont-raise` (default), `raise`, or `raise-and-send`. + If `dont-raise` is used, the PFI will be created but not sent. If `raise` is used, the PFI will be created and staged. + If `raise-and-send` is used, the PFI will be created, staged, and sent to the client. diff --git a/pages/recipients/recipients.yml b/pages/recipients/recipients.yml index 9e07273..5aef4e6 100644 --- a/pages/recipients/recipients.yml +++ b/pages/recipients/recipients.yml @@ -17,7 +17,7 @@ sections: title: List all Recipients id: list-all-recipients description: /recipients/list-all-recipients.md - filters: /recipients/recipient-object.yml + filters: /recipients/recipient-object-v2.yml code: /recipients/list-all-recipients.py code_type: GET code_url: /api/recipients/