Skip to content

Commit 09b7a46

Browse files
authored
Merge pull request #578 from codatio/speakeasy-sdk-regen-1709723234
chore: 🐝 Update SDK - Generate Platform library
2 parents 01fa59a + 9200d63 commit 09b7a46

File tree

141 files changed

+2230
-424
lines changed

Some content is hidden

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

141 files changed

+2230
-424
lines changed

β€Žplatform/.speakeasy/gen.lockβ€Ž

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
lockVersion: 2.0.0
22
id: ede4f28e-23c0-442d-89ba-baa76ae2da6e
33
management:
4-
docChecksum: 1c413a5d3d57588774d54236c89a147e
4+
docChecksum: 6b9afa35a1ca4d8a1834643e80dd9a19
55
docVersion: 3.0.0
66
speakeasyVersion: internal
7-
generationVersion: 2.257.2
8-
releaseVersion: 3.3.0
9-
configChecksum: 784efc81af1d53ff20fe66e5949e3428
7+
generationVersion: 2.277.0
8+
releaseVersion: 3.4.0
9+
configChecksum: 29197c333cff36b846fe087471e16d21
1010
repoURL: https://github.com/codatio/client-sdk-python.git
1111
repoSubDirectory: platform
1212
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=platform
1313
published: true
1414
features:
1515
python:
16-
constsAndDefaults: 0.1.2
17-
core: 4.4.6
16+
constsAndDefaults: 0.1.3
17+
core: 4.5.0
1818
deprecations: 2.81.1
1919
examples: 2.81.3
20-
globalSecurity: 2.83.2
20+
globalSecurity: 2.83.4
2121
globalServerURLs: 2.82.1
2222
inputOutputModels: 2.83.1
2323
nameOverrides: 2.81.1
2424
retries: 2.82.1
25+
webhooks: 1.0.0
2526
generatedFiles:
2627
- src/codatplatform/sdkconfiguration.py
2728
- src/codatplatform/settings.py
@@ -83,8 +84,11 @@ generatedFiles:
8384
- src/codatplatform/models/operations/configure_supplemental_data.py
8485
- src/codatplatform/models/operations/get_supplemental_data_configuration.py
8586
- src/codatplatform/models/operations/create_rule.py
87+
- src/codatplatform/models/operations/create_webhook_consumer.py
88+
- src/codatplatform/models/operations/delete_webhook_consumer.py
8689
- src/codatplatform/models/operations/get_webhook.py
8790
- src/codatplatform/models/operations/list_rules.py
91+
- src/codatplatform/models/operations/list_webhook_consumers.py
8892
- src/codatplatform/models/shared/apikeydetails.py
8993
- src/codatplatform/models/shared/errorvalidation.py
9094
- src/codatplatform/models/shared/errorvalidationitem.py
@@ -146,7 +150,10 @@ generatedFiles:
146150
- src/codatplatform/models/shared/webhook.py
147151
- src/codatplatform/models/shared/webhooknotifier.py
148152
- src/codatplatform/models/shared/createrule.py
153+
- src/codatplatform/models/shared/webhookconsumer.py
154+
- src/codatplatform/models/shared/webhookconsumerprototype.py
149155
- src/codatplatform/models/shared/webhooks.py
156+
- src/codatplatform/models/shared/webhookconsumers.py
150157
- src/codatplatform/models/shared/security.py
151158
- src/codatplatform/models/shared/clientratelimitreachedwebhook.py
152159
- src/codatplatform/models/shared/clientratelimitreachedwebhookdata.py
@@ -254,10 +261,14 @@ generatedFiles:
254261
- docs/models/operations/getsupplementaldataconfigurationrequest.md
255262
- docs/models/operations/getsupplementaldataconfigurationresponse.md
256263
- docs/models/operations/createruleresponse.md
264+
- docs/models/operations/createwebhookconsumerresponse.md
265+
- docs/models/operations/deletewebhookconsumerrequest.md
266+
- docs/models/operations/deletewebhookconsumerresponse.md
257267
- docs/models/operations/getwebhookrequest.md
258268
- docs/models/operations/getwebhookresponse.md
259269
- docs/models/operations/listrulesrequest.md
260270
- docs/models/operations/listrulesresponse.md
271+
- docs/models/operations/listwebhookconsumersresponse.md
261272
- docs/models/shared/apikeydetails.md
262273
- docs/models/shared/errorvalidation.md
263274
- docs/models/shared/errorvalidationitem.md
@@ -324,7 +335,10 @@ generatedFiles:
324335
- docs/models/shared/webhook.md
325336
- docs/models/shared/webhooknotifier.md
326337
- docs/models/shared/createrule.md
338+
- docs/models/shared/webhookconsumer.md
339+
- docs/models/shared/webhookconsumerprototype.md
327340
- docs/models/shared/webhooks.md
341+
- docs/models/shared/webhookconsumers.md
328342
- docs/models/shared/security.md
329343
- docs/models/shared/clientratelimitreachedwebhook.md
330344
- docs/models/shared/clientratelimitreachedwebhookdata.md
@@ -368,3 +382,7 @@ generatedFiles:
368382
- docs/sdks/webhooks/README.md
369383
- USAGE.md
370384
- .gitattributes
385+
- src/codatplatform/_hooks/registration.py
386+
- src/codatplatform/_hooks/sdkhooks.py
387+
- src/codatplatform/_hooks/types.py
388+
- src/codatplatform/_hooks/__init__.py

β€Žplatform/README.mdβ€Ž

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from codatplatform.models import shared
2424

2525
s = codatplatform.CodatPlatform(
2626
security=shared.Security(
27-
auth_header="<YOUR_API_KEY_HERE>",
27+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
2828
),
2929
)
3030

@@ -111,9 +111,12 @@ if res.api_key_details is not None:
111111

112112
### [webhooks](docs/sdks/webhooks/README.md)
113113

114-
* [create](docs/sdks/webhooks/README.md#create) - Create webhook
115-
* [get](docs/sdks/webhooks/README.md#get) - Get webhook
116-
* [list](docs/sdks/webhooks/README.md#list) - List webhooks
114+
* [~~create~~](docs/sdks/webhooks/README.md#create) - Create webhook :warning: **Deprecated**
115+
* [create_consumer](docs/sdks/webhooks/README.md#create_consumer) - Create webhook consumer
116+
* [delete_consumer](docs/sdks/webhooks/README.md#delete_consumer) - Delete webhook consumer
117+
* [~~get~~](docs/sdks/webhooks/README.md#get) - Get webhook :warning: **Deprecated**
118+
* [~~list~~](docs/sdks/webhooks/README.md#list) - List webhooks :warning: **Deprecated**
119+
* [list_consumers](docs/sdks/webhooks/README.md#list_consumers) - List webhook consumers
117120
<!-- End Available Resources and Operations [operations] -->
118121

119122

@@ -131,7 +134,7 @@ from codatplatform.utils import BackoffStrategy, RetryConfig
131134

132135
s = codatplatform.CodatPlatform(
133136
security=shared.Security(
134-
auth_header="<YOUR_API_KEY_HERE>",
137+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
135138
),
136139
)
137140

@@ -156,7 +159,7 @@ from codatplatform.utils import BackoffStrategy, RetryConfig
156159
s = codatplatform.CodatPlatform(
157160
retry_config=RetryConfig('backoff', BackoffStrategy(1, 50, 1.1, 100), False)
158161
security=shared.Security(
159-
auth_header="<YOUR_API_KEY_HERE>",
162+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
160163
),
161164
)
162165

@@ -190,7 +193,7 @@ from codatplatform.models import errors, shared
190193

191194
s = codatplatform.CodatPlatform(
192195
security=shared.Security(
193-
auth_header="<YOUR_API_KEY_HERE>",
196+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
194197
),
195198
)
196199

@@ -234,7 +237,7 @@ from codatplatform.models import shared
234237
s = codatplatform.CodatPlatform(
235238
server_idx=0,
236239
security=shared.Security(
237-
auth_header="<YOUR_API_KEY_HERE>",
240+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
238241
),
239242
)
240243

@@ -260,7 +263,7 @@ from codatplatform.models import shared
260263
s = codatplatform.CodatPlatform(
261264
server_url="https://api.codat.io",
262265
security=shared.Security(
263-
auth_header="<YOUR_API_KEY_HERE>",
266+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
264267
),
265268
)
266269

@@ -310,7 +313,7 @@ from codatplatform.models import shared
310313

311314
s = codatplatform.CodatPlatform(
312315
security=shared.Security(
313-
auth_header="<YOUR_API_KEY_HERE>",
316+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
314317
),
315318
)
316319

β€Žplatform/RELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,14 @@ Based on:
7878
### Generated
7979
- [python v3.3.0] platform
8080
### Releases
81-
- [PyPI v3.3.0] https://pypi.org/project/codat-platform/3.3.0 - platform
81+
- [PyPI v3.3.0] https://pypi.org/project/codat-platform/3.3.0 - platform
82+
83+
## 2024-03-06 11:07:09
84+
### Changes
85+
Based on:
86+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml
87+
- Speakeasy CLI 1.201.1 (2.277.0) https://github.com/speakeasy-api/speakeasy
88+
### Generated
89+
- [python v3.4.0] platform
90+
### Releases
91+
- [PyPI v3.4.0] https://pypi.org/project/codat-platform/3.4.0 - platform

β€Žplatform/USAGE.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from codatplatform.models import shared
55

66
s = codatplatform.CodatPlatform(
77
security=shared.Security(
8-
auth_header="<YOUR_API_KEY_HERE>",
8+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
99
),
1010
)
1111

β€Žplatform/docs/models/operations/addcompanytogroupresponse.mdβ€Ž

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
Β (0)