cozy-client / models / doctypes
Namespace: doctypes¶
models.doctypes
Functions¶
listAllDoctypes¶
▸ listAllDoctypes(client): Promise<string[]>
Fetches the list of all doctypes in the current instance.
Parameters
| Name | Type | Description |
|---|---|---|
client |
CozyClient |
The CozyClient instance used to make the request. |
Returns
Promise<string[]>
- A promise that resolves to an array of strings, each representing a doctype.
Defined in