Members
Methods
# async inner add(newCompta) → {Promise.<APIResp>}
Add a new compta
Parameters:
| Name | Type | Description |
|---|---|---|
newCompta |
NewCompta
|
Promise.<APIResp>
# async inner addFromETL(newAccounting, userId) → {Promise.<APIResp>}
Add a new compta from etl
Parameters:
| Name | Type | Description |
|---|---|---|
newAccounting |
NewComptaFromETL
|
|
userId |
number
|
string
|
Promise.<APIResp>
# async inner getByID(comptaID) → {Promise.<APIResp>}
Get one compta by its id
Parameters:
| Name | Type | Description |
|---|---|---|
comptaID |
number
|
APIError
Promise.<APIResp>
# async inner getByUUID(UUID) → {Promise.<APIResp>}
Get user compta by its UUID
Parameters:
| Name | Type | Description |
|---|---|---|
UUID |
string
|
APIError
Promise.<APIResp>