Skip to content

Commit 4ead5bf

Browse files
authored
Merge pull request #208 from codatio/speakeasy-sdk-regen-1687220043
chore: speakeasy sdk regeneration - Generate Expenses SDK
2 parents 34bba87 + 2f72ae8 commit 4ead5bf

22 files changed

Lines changed: 427 additions & 26 deletions

expenses/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.python-version
2+
.DS_Store
13
venv/
24
src/*.egg-info/
35
__pycache__/

expenses/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if res.company_configuration is not None:
4949
### [expenses](docs/sdks/expenses/README.md)
5050

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

5455
### [mapping_options](docs/sdks/mappingoptions/README.md)

expenses/RELEASES.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,4 +526,84 @@ Based on:
526526
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
527527
- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy
528528
### Releases
529-
- [PyPI v0.27.1] https://pypi.org/project/codat-sync-for-expenses/0.27.1 - expenses
529+
- [PyPI v0.27.1] https://pypi.org/project/codat-sync-for-expenses/0.27.1 - expenses
530+
531+
## 2023-06-20 00:13:59
532+
### Changes
533+
Based on:
534+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
535+
- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy
536+
### Releases
537+
- [PyPI v0.27.2] https://pypi.org/project/codat-sync-for-expenses/0.27.2 - expenses
538+
539+
## 2023-06-21 00:14:42
540+
### Changes
541+
Based on:
542+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
543+
- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy
544+
### Releases
545+
- [PyPI v0.27.3] https://pypi.org/project/codat-sync-for-expenses/0.27.3 - expenses
546+
547+
## 2023-06-23 00:17:48
548+
### Changes
549+
Based on:
550+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
551+
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
552+
### Releases
553+
- [PyPI v0.28.0] https://pypi.org/project/codat-sync-for-expenses/0.28.0 - expenses
554+
555+
## 2023-06-27 00:17:56
556+
### Changes
557+
Based on:
558+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
559+
- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy
560+
### Releases
561+
- [PyPI v0.29.0] https://pypi.org/project/codat-sync-for-expenses/0.29.0 - expenses
562+
563+
## 2023-06-29 00:16:50
564+
### Changes
565+
Based on:
566+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
567+
- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy
568+
### Releases
569+
- [PyPI v0.30.0] https://pypi.org/project/codat-sync-for-expenses/0.30.0 - expenses
570+
571+
## 2023-07-01 00:18:44
572+
### Changes
573+
Based on:
574+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
575+
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
576+
### Releases
577+
- [PyPI v0.31.0] https://pypi.org/project/codat-sync-for-expenses/0.31.0 - expenses
578+
579+
## 2023-07-04 00:16:58
580+
### Changes
581+
Based on:
582+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
583+
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
584+
### Releases
585+
- [PyPI v0.31.1] https://pypi.org/project/codat-sync-for-expenses/0.31.1 - expenses
586+
587+
## 2023-07-06 00:17:28
588+
### Changes
589+
Based on:
590+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
591+
- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy
592+
### Releases
593+
- [PyPI v0.32.0] https://pypi.org/project/codat-sync-for-expenses/0.32.0 - expenses
594+
595+
## 2023-07-07 00:16:55
596+
### Changes
597+
Based on:
598+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
599+
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
600+
### Releases
601+
- [PyPI v0.33.0] https://pypi.org/project/codat-sync-for-expenses/0.33.0 - expenses
602+
603+
## 2023-07-07 09:23:21
604+
### Changes
605+
Based on:
606+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
607+
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
608+
### Releases
609+
- [PyPI v0.33.1] https://pypi.org/project/codat-sync-for-expenses/0.33.1 - expenses
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# UpdateExpenseDataset202ApplicationJSON
2+
3+
Accepted
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------ | ------------------ | ------------------ | ------------------ |
10+
| `sync_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# UpdateExpenseDatasetRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
8+
| `update_expense_request` | [Optional[shared.UpdateExpenseRequest]](../../models/shared/updateexpenserequest.md) | :heavy_minus_sign: | N/A | |
9+
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
10+
| `transaction_id` | *str* | :heavy_check_mark: | The unique identifier for your SMB's transaction. | 336694d8-2dca-4cb5-a28d-3ccb83e55eee |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# UpdateExpenseDatasetResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `status_code` | *int* | :heavy_check_mark: | N/A |
10+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
11+
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | The request made is not valid. |
12+
| `update_expense_dataset_202_application_json_object` | [Optional[UpdateExpenseDataset202ApplicationJSON]](../../models/operations/updateexpensedataset202applicationjson.md) | :heavy_minus_sign: | Accepted |

expenses/docs/models/shared/dataconnection.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# DataConnection
22

3-
A connection represents the link between a `company` and a source of data.
3+
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.
4+
5+
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:
6+
7+
- [Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
8+
- [Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
9+
- [Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
10+
Any combination of accounting, banking, and commerce data connections is allowed.
11+
12+
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).
413

514

615
## Fields

0 commit comments

Comments
 (0)