Skip to content

Commit bf6d1b9

Browse files
authored
Merge pull request #223 from codatio/speakeasy-sdk-regen-1689207702
chore: speakeasy sdk regeneration - Generate Common SDK
2 parents c0a748b + 9f0796c commit bf6d1b9

37 files changed

+215
-134
lines changed

common/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ pip install codat-common
1010

1111
## SDK Example Usage
1212
<!-- Start SDK Example Usage -->
13+
14+
1315
```python
1416
import codatcommon
1517
from codatcommon.models import shared

common/RELEASES.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,4 +566,28 @@ Based on:
566566
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
567567
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
568568
### Releases
569-
- [PyPI v0.31.1] https://pypi.org/project/codat-common/0.31.1 - common
569+
- [PyPI v0.31.1] https://pypi.org/project/codat-common/0.31.1 - common
570+
571+
## 2023-07-13 00:21:39
572+
### Changes
573+
Based on:
574+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
575+
- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy
576+
### Releases
577+
- [PyPI v0.32.0] https://pypi.org/project/codat-common/0.32.0 - common
578+
579+
## 2023-07-14 00:21:05
580+
### Changes
581+
Based on:
582+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
583+
- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy
584+
### Releases
585+
- [PyPI v0.33.0] https://pypi.org/project/codat-common/0.33.0 - common
586+
587+
## 2023-07-14 17:36:10
588+
### Changes
589+
Based on:
590+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
591+
- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy
592+
### Releases
593+
- [PyPI v0.33.1] https://pypi.org/project/codat-common/0.33.1 - common

common/USAGE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<!-- Start SDK Example Usage -->
2+
3+
24
```python
35
import codatcommon
46
from codatcommon.models import shared
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreateRule
2+
3+
Create an event notification to a URL or list of email addresses based on the given type or condition.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
10+
| `company_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 39b73b17-cc2e-429e-915d-71654e9dcd1e |
11+
| `notifiers` | [CreateRuleNotifiers](../../models/shared/createrulenotifiers.md) | :heavy_check_mark: | N/A | |
12+
| `type` | *str* | :heavy_check_mark: | N/A | |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# CreateRuleNotifiers
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -------------------------- |
8+
| `emails` | list[*str*] | :heavy_minus_sign: | N/A | |
9+
| `webhook` | *Optional[str]* | :heavy_minus_sign: | N/A | https://webhook.client.com |

common/docs/models/shared/rule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Rule
22

3-
Configuration to provide an event notification to a URL or list of email addresses based on the given type or condition.
3+
Create an event notification to a URL or list of email addresses based on the given type or condition.
44

55

66
## Fields
77

88
| Field | Type | Required | Description | Example |
99
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
1010
| `company_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 39b73b17-cc2e-429e-915d-71654e9dcd1e |
11-
| `id` | *str* | :heavy_check_mark: | N/A | ff89c50e-a719-4ef5-a182-9917e53927b6 |
11+
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | ff89c50e-a719-4ef5-a182-9917e53927b6 |
1212
| `notifiers` | [RuleNotifiers](../../models/shared/rulenotifiers.md) | :heavy_check_mark: | N/A | |
1313
| `type` | *str* | :heavy_check_mark: | N/A | |

common/docs/sdks/companies/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Permanently deletes a company, its connections and any cached data. This operati
6565

6666
```python
6767
import codatcommon
68-
from codatcommon.models import operations
68+
from codatcommon.models import operations, shared
6969

7070
s = codatcommon.CodatCommon(
7171
security=shared.Security(
@@ -104,7 +104,7 @@ if res.status_code == 200:
104104

105105
```python
106106
import codatcommon
107-
from codatcommon.models import operations
107+
from codatcommon.models import operations, shared
108108

109109
s = codatcommon.CodatCommon(
110110
security=shared.Security(
@@ -143,7 +143,7 @@ if res.company is not None:
143143

144144
```python
145145
import codatcommon
146-
from codatcommon.models import operations
146+
from codatcommon.models import operations, shared
147147

148148
s = codatcommon.CodatCommon(
149149
security=shared.Security(

common/docs/sdks/connections/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Use the [List Integrations](https://docs.codat.io/codat-api#/operations/list-int
2323

2424
```python
2525
import codatcommon
26-
from codatcommon.models import operations
26+
from codatcommon.models import operations, shared
2727

2828
s = codatcommon.CodatCommon(
2929
security=shared.Security(
@@ -66,7 +66,7 @@ This operation is not reversible. The end user would need to reauthorize a new d
6666

6767
```python
6868
import codatcommon
69-
from codatcommon.models import operations
69+
from codatcommon.models import operations, shared
7070

7171
s = codatcommon.CodatCommon(
7272
security=shared.Security(
@@ -106,7 +106,7 @@ if res.status_code == 200:
106106

107107
```python
108108
import codatcommon
109-
from codatcommon.models import operations
109+
from codatcommon.models import operations, shared
110110

111111
s = codatcommon.CodatCommon(
112112
security=shared.Security(
@@ -146,7 +146,7 @@ if res.connection is not None:
146146

147147
```python
148148
import codatcommon
149-
from codatcommon.models import operations
149+
from codatcommon.models import operations, shared
150150

151151
s = codatcommon.CodatCommon(
152152
security=shared.Security(
@@ -189,7 +189,7 @@ if res.connections is not None:
189189

190190
```python
191191
import codatcommon
192-
from codatcommon.models import operations
192+
from codatcommon.models import operations, shared
193193

194194
s = codatcommon.CodatCommon(
195195
security=shared.Security(
@@ -232,7 +232,7 @@ Update data connection's authorization.
232232

233233
```python
234234
import codatcommon
235-
from codatcommon.models import operations
235+
from codatcommon.models import operations, shared
236236

237237
s = codatcommon.CodatCommon(
238238
security=shared.Security(

common/docs/sdks/integrations/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get single integration, by platformKey
1818

1919
```python
2020
import codatcommon
21-
from codatcommon.models import operations
21+
from codatcommon.models import operations, shared
2222

2323
s = codatcommon.CodatCommon(
2424
security=shared.Security(
@@ -57,7 +57,7 @@ Get branding for platform.
5757

5858
```python
5959
import codatcommon
60-
from codatcommon.models import operations
60+
from codatcommon.models import operations, shared
6161

6262
s = codatcommon.CodatCommon(
6363
security=shared.Security(
@@ -96,7 +96,7 @@ List your available integrations
9696

9797
```python
9898
import codatcommon
99-
from codatcommon.models import operations
99+
from codatcommon.models import operations, shared
100100

101101
s = codatcommon.CodatCommon(
102102
security=shared.Security(

common/docs/sdks/pushdata/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Retrieve push operation.
6868

6969
```python
7070
import codatcommon
71-
from codatcommon.models import operations
71+
from codatcommon.models import operations, shared
7272

7373
s = codatcommon.CodatCommon(
7474
security=shared.Security(
@@ -108,7 +108,7 @@ List push operation records.
108108

109109
```python
110110
import codatcommon
111-
from codatcommon.models import operations
111+
from codatcommon.models import operations, shared
112112

113113
s = codatcommon.CodatCommon(
114114
security=shared.Security(

0 commit comments

Comments
 (0)