-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.513.4
- Loading branch information
1 parent
06b8b10
commit 9de569f
Showing
26 changed files
with
1,319 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# CostOfGoodsSold | ||
|
||
The cost of goods sold accounts | ||
|
||
## Example Usage | ||
|
||
```typescript | ||
import { CostOfGoodsSold } from "@apideck/unify/models/components"; | ||
|
||
let value: CostOfGoodsSold = { | ||
id: "123", | ||
code: "123", | ||
title: "Cost of Goods Sold", | ||
type: "Section", | ||
total: 12000, | ||
records: [ | ||
{ | ||
"id": "123", | ||
"code": "123", | ||
"title": "COGS Sales", | ||
"type": "Record", | ||
"total": 12000, | ||
}, | ||
], | ||
}; | ||
``` | ||
|
||
## Fields | ||
|
||
| Field | Type | Required | Description | Example | | ||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | ||
| `id` | *string* | :heavy_minus_sign: | A unique identifier for an object. | 12345 | | ||
| `code` | *string* | :heavy_minus_sign: | The account code of the account | 1100 | | ||
| `title` | *string* | :heavy_minus_sign: | The name of the account. | Current assets | | ||
| `type` | [components.ProfitAndLossType](../../models/components/profitandlosstype.md) | :heavy_minus_sign: | The type of profit and loss | Section | | ||
| `total` | *number* | :heavy_check_mark: | The total amount of the transaction | 49.99 | | ||
| `records` | *any* | :heavy_check_mark: | N/A | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,67 @@ | ||
# Expenses | ||
|
||
The operating expenses accounts | ||
|
||
## Example Usage | ||
|
||
```typescript | ||
import { Expenses } from "@apideck/unify/models/components"; | ||
|
||
let value: Expenses = { | ||
total: 200000, | ||
id: "123", | ||
code: "123", | ||
title: "Operating Expenses", | ||
type: "Section", | ||
total: 14000, | ||
records: [ | ||
{ | ||
"id": "123", | ||
"name": "Expense 1", | ||
"amount": 10000, | ||
"id": "137", | ||
"title": "Maintenance", | ||
"code": "137", | ||
"type": "Record", | ||
"total": 1000, | ||
}, | ||
{ | ||
"id": "138", | ||
"title": "Rent", | ||
"code": "138", | ||
"type": "Record", | ||
"total": 10000, | ||
}, | ||
{ | ||
"id": "456", | ||
"name": "Expense 2", | ||
"amount": 20000, | ||
"id": "789", | ||
"code": "789", | ||
"title": "Utilities", | ||
"type": "Section", | ||
"total": 3000, | ||
"records": [ | ||
{ | ||
"id": "101", | ||
"code": "101", | ||
"title": "Electricity", | ||
"type": "Record", | ||
"total": 2000, | ||
}, | ||
{ | ||
"id": "102", | ||
"code": "102", | ||
"title": "Telephone", | ||
"type": "Record", | ||
"total": 1000, | ||
}, | ||
], | ||
}, | ||
], | ||
}; | ||
``` | ||
|
||
## Fields | ||
|
||
| Field | Type | Required | Description | Example | | ||
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | | ||
| `total` | *number* | :heavy_check_mark: | Total expense | 100000 | | ||
| `records` | *any* | :heavy_check_mark: | N/A | | | ||
| Field | Type | Required | Description | Example | | ||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | ||
| `id` | *string* | :heavy_minus_sign: | A unique identifier for an object. | 12345 | | ||
| `code` | *string* | :heavy_minus_sign: | The account code of the account | 1100 | | ||
| `title` | *string* | :heavy_minus_sign: | The name of the account. | Current assets | | ||
| `type` | [components.ProfitAndLossType](../../models/components/profitandlosstype.md) | :heavy_minus_sign: | The type of profit and loss | Section | | ||
| `total` | *number* | :heavy_check_mark: | The total amount of the transaction | 49.99 | | ||
| `records` | *any* | :heavy_check_mark: | N/A | | |
Oops, something went wrong.