Skip to content

Commit 237ba59

Browse files
authored
Merge pull request #182 from codatio/speakeasy-sdk-regen-1686182460
chore: speakeasy sdk regeneration - Generate Files SDK
2 parents 7b9d50a + 04aba68 commit 237ba59

31 files changed

+427
-133
lines changed

files/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ s = codatfiles.CodatFiles(
2424

2525
req = operations.DownloadFilesRequest(
2626
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
27-
date_='corrupti',
27+
date_='2022-10-23T00:00:00.000Z',
2828
)
2929

3030
res = s.files.download_files(req)
@@ -38,11 +38,11 @@ if res.data is not None:
3838
## Available Resources and Operations
3939

4040

41-
### [files](docs/files/README.md)
41+
### [files](docs/sdks/files/README.md)
4242

43-
* [download_files](docs/files/README.md#download_files) - Download all files for a company
44-
* [list_files](docs/files/README.md#list_files) - List all files uploaded by a company
45-
* [upload_files](docs/files/README.md#upload_files) - Upload files for a company
43+
* [download_files](docs/sdks/files/README.md#download_files) - Download all files for a company
44+
* [list_files](docs/sdks/files/README.md#list_files) - List all files uploaded by a company
45+
* [upload_files](docs/sdks/files/README.md#upload_files) - Upload files for a company
4646
<!-- End SDK Available Operations -->
4747

4848
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

files/RELEASES.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,44 @@ Based on:
422422
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
423423
- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy
424424
### Releases
425-
- [PyPI v0.23.2] https://pypi.org/project/codat-files/0.23.2 - files
425+
- [PyPI v0.23.2] https://pypi.org/project/codat-files/0.23.2 - files
426+
427+
## 2023-06-08 00:00:57
428+
### Changes
429+
Based on:
430+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
431+
- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy
432+
### Releases
433+
- [PyPI v0.24.0] https://pypi.org/project/codat-files/0.24.0 - files
434+
435+
## 2023-06-09 00:00:51
436+
### Changes
437+
Based on:
438+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
439+
- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy
440+
### Releases
441+
- [PyPI v0.24.1] https://pypi.org/project/codat-files/0.24.1 - files
442+
443+
## 2023-06-10 00:00:46
444+
### Changes
445+
Based on:
446+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
447+
- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy
448+
### Releases
449+
- [PyPI v0.25.0] https://pypi.org/project/codat-files/0.25.0 - files
450+
451+
## 2023-06-11 00:00:46
452+
### Changes
453+
Based on:
454+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
455+
- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy
456+
### Releases
457+
- [PyPI v0.25.1] https://pypi.org/project/codat-files/0.25.1 - files
458+
459+
## 2023-06-12 09:32:30
460+
### Changes
461+
Based on:
462+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
463+
- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy
464+
### Releases
465+
- [PyPI v0.25.2] https://pypi.org/project/codat-files/0.25.2 - files

files/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ s = codatfiles.CodatFiles(
1111

1212
req = operations.DownloadFilesRequest(
1313
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
14-
date_='corrupti',
14+
date_='2022-10-23T00:00:00.000Z',
1515
)
1616

1717
res = s.files.download_files(req)

files/docs/files/README.md

Lines changed: 0 additions & 95 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# DownloadFiles404ApplicationJSON
2+
3+
One or more of the resources you referenced could not be found.
4+
This might be because your company or data connection id is wrong, or was already deleted.
5+
6+
7+
## Fields
8+
9+
| Field | Type | Required | Description |
10+
| --------------------- | --------------------- | --------------------- | --------------------- |
11+
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | N/A |
12+
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
13+
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | N/A |
14+
| `error` | *Optional[str]* | :heavy_minus_sign: | N/A |
15+
| `service` | *Optional[str]* | :heavy_minus_sign: | N/A |
16+
| `status_code` | *Optional[int]* | :heavy_minus_sign: | N/A |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DownloadFilesRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
8+
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
9+
| `date_` | *Optional[str]* | :heavy_minus_sign: | Only download files uploaded on this date | 2022-10-23T00:00:00.000Z |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# DownloadFilesResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `data` | *Optional[bytes]* | :heavy_minus_sign: | Success |
10+
| `status_code` | *int* | :heavy_check_mark: | N/A |
11+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
12+
| `download_files_404_application_json_object` | [Optional[DownloadFiles404ApplicationJSON]](../../models/operations/downloadfiles404applicationjson.md) | :heavy_minus_sign: | One or more of the resources you referenced could not be found.<br/>This might be because your company or data connection id is wrong, or was already deleted. |
13+
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | The request made is not valid. |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# ListFiles404ApplicationJSON
2+
3+
One or more of the resources you referenced could not be found.
4+
This might be because your company or data connection id is wrong, or was already deleted.
5+
6+
7+
## Fields
8+
9+
| Field | Type | Required | Description |
10+
| --------------------- | --------------------- | --------------------- | --------------------- |
11+
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | N/A |
12+
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
13+
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | N/A |
14+
| `error` | *Optional[str]* | :heavy_minus_sign: | N/A |
15+
| `service` | *Optional[str]* | :heavy_minus_sign: | N/A |
16+
| `status_code` | *Optional[int]* | :heavy_minus_sign: | N/A |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ListFilesRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
8+
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ListFilesResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `files` | list[[shared.File](../../models/shared/file.md)] | :heavy_minus_sign: | Success |
10+
| `status_code` | *int* | :heavy_check_mark: | N/A |
11+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
12+
| `list_files_404_application_json_object` | [Optional[ListFiles404ApplicationJSON]](../../models/operations/listfiles404applicationjson.md) | :heavy_minus_sign: | One or more of the resources you referenced could not be found.<br/>This might be because your company or data connection id is wrong, or was already deleted. |
13+
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | Your API request was not properly authorized. |

0 commit comments

Comments
 (0)