Skip to content

Commit e553c6d

Browse files
authored
Merge pull request #210 from codatio/speakeasy-sdk-regen-1687220254
chore: speakeasy sdk regeneration - Generate Common SDK
2 parents d968a48 + 15efee1 commit e553c6d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+719
-85
lines changed

common/.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__/

common/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ if res.company is not None:
8080
* [update_profile](docs/sdks/settings/README.md#update_profile) - Update profile
8181
* [update_sync_settings](docs/sdks/settings/README.md#update_sync_settings) - Update all sync settings
8282

83+
### [supplemental_data](docs/sdks/supplementaldata/README.md)
84+
85+
* [configure](docs/sdks/supplementaldata/README.md#configure) - Configure
86+
* [get_configuration](docs/sdks/supplementaldata/README.md#get_configuration) - Get configuration
87+
8388
### [webhooks](docs/sdks/webhooks/README.md)
8489

8590
* [create](docs/sdks/webhooks/README.md#create) - Create webhook

common/RELEASES.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,4 +486,84 @@ Based on:
486486
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
487487
- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy
488488
### Releases
489-
- [PyPI v0.25.1] https://pypi.org/project/codat-common/0.25.1 - common
489+
- [PyPI v0.25.1] https://pypi.org/project/codat-common/0.25.1 - common
490+
491+
## 2023-06-20 00:17:30
492+
### Changes
493+
Based on:
494+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
495+
- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy
496+
### Releases
497+
- [PyPI v0.25.2] https://pypi.org/project/codat-common/0.25.2 - common
498+
499+
## 2023-06-21 00:19:04
500+
### Changes
501+
Based on:
502+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
503+
- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy
504+
### Releases
505+
- [PyPI v0.25.3] https://pypi.org/project/codat-common/0.25.3 - common
506+
507+
## 2023-06-23 00:21:39
508+
### Changes
509+
Based on:
510+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
511+
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
512+
### Releases
513+
- [PyPI v0.26.0] https://pypi.org/project/codat-common/0.26.0 - common
514+
515+
## 2023-06-27 00:20:39
516+
### Changes
517+
Based on:
518+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
519+
- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy
520+
### Releases
521+
- [PyPI v0.27.0] https://pypi.org/project/codat-common/0.27.0 - common
522+
523+
## 2023-06-29 00:20:57
524+
### Changes
525+
Based on:
526+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
527+
- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy
528+
### Releases
529+
- [PyPI v0.28.0] https://pypi.org/project/codat-common/0.28.0 - common
530+
531+
## 2023-07-01 00:23:31
532+
### Changes
533+
Based on:
534+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
535+
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
536+
### Releases
537+
- [PyPI v0.29.0] https://pypi.org/project/codat-common/0.29.0 - common
538+
539+
## 2023-07-05 00:21:25
540+
### Changes
541+
Based on:
542+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
543+
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
544+
### Releases
545+
- [PyPI v0.29.1] https://pypi.org/project/codat-common/0.29.1 - common
546+
547+
## 2023-07-06 00:21:00
548+
### Changes
549+
Based on:
550+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
551+
- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy
552+
### Releases
553+
- [PyPI v0.30.0] https://pypi.org/project/codat-common/0.30.0 - common
554+
555+
## 2023-07-07 00:20:42
556+
### Changes
557+
Based on:
558+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
559+
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
560+
### Releases
561+
- [PyPI v0.31.0] https://pypi.org/project/codat-common/0.31.0 - common
562+
563+
## 2023-07-07 09:23:12
564+
### Changes
565+
Based on:
566+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
567+
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
568+
### Releases
569+
- [PyPI v0.31.1] https://pypi.org/project/codat-common/0.31.1 - common
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# ConfigureSupplementalDataDataType
2+
3+
Data types that support supplemental data
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ----------------------------- | ----------------------------- |
10+
| `CHART_OF_ACCOUNTS` | chartOfAccounts |
11+
| `BILLS` | bills |
12+
| `COMPANY` | company |
13+
| `CREDIT_NOTES` | creditNotes |
14+
| `CUSTOMERS` | customers |
15+
| `INVOICES` | invoices |
16+
| `ITEMS` | items |
17+
| `JOURNAL_ENTRIES` | journalEntries |
18+
| `SUPPLIERS` | suppliers |
19+
| `TAX_RATES` | taxRates |
20+
| `COMMERCE_COMPANY_INFO` | commerce-companyInfo |
21+
| `COMMERCE_CUSTOMERS` | commerce-customers |
22+
| `COMMERCE_DISPUTES` | commerce-disputes |
23+
| `COMMERCE_LOCATIONS` | commerce-locations |
24+
| `COMMERCE_ORDERS` | commerce-orders |
25+
| `COMMERCE_PAYMENTS` | commerce-payments |
26+
| `COMMERCE_PAYMENT_METHODS` | commerce-paymentMethods |
27+
| `COMMERCE_PRODUCTS` | commerce-products |
28+
| `COMMERCE_PRODUCT_CATEGORIES` | commerce-productCategories |
29+
| `COMMERCE_TAX_COMPONENTS` | commerce-taxComponents |
30+
| `COMMERCE_TRANSACTIONS` | commerce-transactions |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ConfigureSupplementalDataRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
8+
| `supplemental_data_configuration` | [Optional[shared.SupplementalDataConfiguration]](../../models/shared/supplementaldataconfiguration.md) | :heavy_minus_sign: | The configuration for the specified platform and data type. | |
9+
| `data_type` | [ConfigureSupplementalDataDataType](../../models/operations/configuresupplementaldatadatatype.md) | :heavy_check_mark: | Data types that support supplemental data | invoices |
10+
| `platform_key` | *str* | :heavy_check_mark: | N/A | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ConfigureSupplementalDataResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
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 |

common/docs/models/operations/createcompanyresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
88
| `company` | [Optional[shared.Company]](../../models/shared/company.md) | :heavy_minus_sign: | OK |
99
| `content_type` | *str* | :heavy_check_mark: | N/A |
10-
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
10+
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
1111
| `status_code` | *int* | :heavy_check_mark: | N/A |
1212
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# GetSupplementalDataConfigurationDataType
2+
3+
Data types that support supplemental data
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ----------------------------- | ----------------------------- |
10+
| `CHART_OF_ACCOUNTS` | chartOfAccounts |
11+
| `BILLS` | bills |
12+
| `COMPANY` | company |
13+
| `CREDIT_NOTES` | creditNotes |
14+
| `CUSTOMERS` | customers |
15+
| `INVOICES` | invoices |
16+
| `ITEMS` | items |
17+
| `JOURNAL_ENTRIES` | journalEntries |
18+
| `SUPPLIERS` | suppliers |
19+
| `TAX_RATES` | taxRates |
20+
| `COMMERCE_COMPANY_INFO` | commerce-companyInfo |
21+
| `COMMERCE_CUSTOMERS` | commerce-customers |
22+
| `COMMERCE_DISPUTES` | commerce-disputes |
23+
| `COMMERCE_LOCATIONS` | commerce-locations |
24+
| `COMMERCE_ORDERS` | commerce-orders |
25+
| `COMMERCE_PAYMENTS` | commerce-payments |
26+
| `COMMERCE_PAYMENT_METHODS` | commerce-paymentMethods |
27+
| `COMMERCE_PRODUCTS` | commerce-products |
28+
| `COMMERCE_PRODUCT_CATEGORIES` | commerce-productCategories |
29+
| `COMMERCE_TAX_COMPONENTS` | commerce-taxComponents |
30+
| `COMMERCE_TRANSACTIONS` | commerce-transactions |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetSupplementalDataConfigurationRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
8+
| `data_type` | [GetSupplementalDataConfigurationDataType](../../models/operations/getsupplementaldataconfigurationdatatype.md) | :heavy_check_mark: | Data types that support supplemental data | invoices |
9+
| `platform_key` | *str* | :heavy_check_mark: | N/A | |

0 commit comments

Comments
 (0)