Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions expenses/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.python-version
.DS_Store
venv/
src/*.egg-info/
__pycache__/
Expand Down
1 change: 1 addition & 0 deletions expenses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ if res.company_configuration is not None:
### [expenses](docs/sdks/expenses/README.md)

* [create_expense_dataset](docs/sdks/expenses/README.md#create_expense_dataset) - Create expense-transactions
* [update_expense_dataset](docs/sdks/expenses/README.md#update_expense_dataset) - Update expense-transactions
* [upload_attachment](docs/sdks/expenses/README.md#upload_attachment) - Upload attachment

### [mapping_options](docs/sdks/mappingoptions/README.md)
Expand Down
82 changes: 81 additions & 1 deletion expenses/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,4 +526,84 @@ Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.27.1] https://pypi.org/project/codat-sync-for-expenses/0.27.1 - expenses
- [PyPI v0.27.1] https://pypi.org/project/codat-sync-for-expenses/0.27.1 - expenses

## 2023-06-20 00:13:59
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.27.2] https://pypi.org/project/codat-sync-for-expenses/0.27.2 - expenses

## 2023-06-21 00:14:42
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.27.3] https://pypi.org/project/codat-sync-for-expenses/0.27.3 - expenses

## 2023-06-23 00:17:48
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.28.0] https://pypi.org/project/codat-sync-for-expenses/0.28.0 - expenses

## 2023-06-27 00:17:56
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.29.0] https://pypi.org/project/codat-sync-for-expenses/0.29.0 - expenses

## 2023-06-29 00:16:50
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.30.0] https://pypi.org/project/codat-sync-for-expenses/0.30.0 - expenses

## 2023-07-01 00:18:44
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.31.0] https://pypi.org/project/codat-sync-for-expenses/0.31.0 - expenses

## 2023-07-04 00:16:58
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.31.1] https://pypi.org/project/codat-sync-for-expenses/0.31.1 - expenses

## 2023-07-06 00:17:28
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.32.0] https://pypi.org/project/codat-sync-for-expenses/0.32.0 - expenses

## 2023-07-07 00:16:55
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.33.0] https://pypi.org/project/codat-sync-for-expenses/0.33.0 - expenses

## 2023-07-07 09:23:21
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.33.1] https://pypi.org/project/codat-sync-for-expenses/0.33.1 - expenses
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# UpdateExpenseDataset202ApplicationJSON

Accepted


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `sync_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
10 changes: 10 additions & 0 deletions expenses/docs/models/operations/updateexpensedatasetrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# UpdateExpenseDatasetRequest


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `update_expense_request` | [Optional[shared.UpdateExpenseRequest]](../../models/shared/updateexpenserequest.md) | :heavy_minus_sign: | N/A | |
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `transaction_id` | *str* | :heavy_check_mark: | The unique identifier for your SMB's transaction. | 336694d8-2dca-4cb5-a28d-3ccb83e55eee |
12 changes: 12 additions & 0 deletions expenses/docs/models/operations/updateexpensedatasetresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# UpdateExpenseDatasetResponse


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | N/A |
| `status_code` | *int* | :heavy_check_mark: | N/A |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | The request made is not valid. |
| `update_expense_dataset_202_application_json_object` | [Optional[UpdateExpenseDataset202ApplicationJSON]](../../models/operations/updateexpensedataset202applicationjson.md) | :heavy_minus_sign: | Accepted |
11 changes: 10 additions & 1 deletion expenses/docs/models/shared/dataconnection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# DataConnection

A connection represents the link between a `company` and a source of data.
A connection represents a [company's](https://docs.codat.io/codat-api#/schemas/Company) connection to a data source and allows you to synchronize data (pull and/or push) with that source.

A company can have multiple data connections depending on the type of data source it is connecting to. For example, a single company can link to:

- [Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
- [Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
- [Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
Any combination of accounting, banking, and commerce data connections is allowed.

Before you can use a data connection to pull or push data, the company must grant you access to their business data by [linking the connection](https://docs.codat.io/auth-flow/overview).


## Fields
Expand Down
Loading