Skip to content

Commit a2f707d

Browse files
authored
Merge pull request #598 from codatio/speakeasy-sdk-regen-1726236933
chore: 🐝 Update SDK - Generate Files library FILES-LIBRARY 0.3.0
2 parents 31db34c + ee5f24f commit a2f707d

File tree

102 files changed

+5568
-2050
lines changed

Some content is hidden

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

102 files changed

+5568
-2050
lines changed

.speakeasy/workflow.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ sources:
4242
tags:
4343
- latest
4444
- main
45+
files-source:
46+
sourceNamespace: files-source
47+
sourceRevisionDigest: sha256:b1abb994c69cf896fcb103548d80466e9e1c94f911aeb14174ce36b77de24670
48+
sourceBlobDigest: sha256:95e088645c8a70b6c0d755c6f12a0a24b74eda70dcebccc7a0c2f70fec219d81
49+
tags:
50+
- latest
51+
- main
4552
lending-source:
4653
sourceNamespace: lending-source
4754
sourceRevisionDigest: sha256:e9279793fec15674c2c6ff77d11be16f6945b43d47b8005e68d7300da68a24a4
@@ -80,6 +87,11 @@ targets:
8087
sourceNamespace: common-source
8188
sourceRevisionDigest: sha256:0bf371cdd8c79c641e4d66c66abf2102492e521956f50a9d0ff2090a5da44822
8289
sourceBlobDigest: sha256:e1e3f4c3ed16022322bc656bb0e4ef28c04fff8c92c271cc859c6e2b32af5613
90+
files-library:
91+
source: files-source
92+
sourceNamespace: files-source
93+
sourceRevisionDigest: sha256:b1abb994c69cf896fcb103548d80466e9e1c94f911aeb14174ce36b77de24670
94+
sourceBlobDigest: sha256:95e088645c8a70b6c0d755c6f12a0a24b74eda70dcebccc7a0c2f70fec219d81
8395
lending-library:
8496
source: lending-source
8597
sourceNamespace: lending-source
@@ -122,6 +134,8 @@ workflow:
122134
files-source:
123135
inputs:
124136
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
137+
registry:
138+
location: registry.speakeasyapi.dev/codat/codat/files-source
125139
lending-source:
126140
inputs:
127141
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ sources:
3434
files-source:
3535
inputs:
3636
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml
37+
registry:
38+
location: registry.speakeasyapi.dev/codat/codat/files-source
3739
lending-source:
3840
inputs:
3941
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml

previous-versions/files/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.venv/
2+
pyrightconfig.json
3+
README-PYPI.md
14
.python-version
25
.DS_Store
36
venv/
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
lockVersion: 2.0.0
2+
id: fab15c19-4b2f-4bcc-b740-a2837afa101f
3+
management:
4+
docChecksum: 3e1bf1ed751542092d2ada42a1b8273b
5+
docVersion: 3.0.0
6+
speakeasyVersion: 1.396.6
7+
generationVersion: 2.415.6
8+
releaseVersion: 0.3.0
9+
configChecksum: 08994b0196165994876c81d16fc9cc1c
10+
repoURL: https://github.com/codatio/client-sdk-python.git
11+
repoSubDirectory: previous-versions/files
12+
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=previous-versions/files
13+
published: true
14+
features:
15+
python:
16+
additionalDependencies: 1.0.0
17+
core: 5.5.3
18+
defaultEnabledRetries: 0.2.0
19+
downloadStreams: 1.0.1
20+
envVarSecurityUsage: 0.3.1
21+
examples: 3.0.0
22+
globalSecurity: 3.0.2
23+
globalSecurityCallbacks: 1.0.0
24+
globalSecurityFlattening: 1.0.0
25+
globalServerURLs: 3.0.0
26+
multipartFileContentType: 1.0.0
27+
nullables: 1.0.0
28+
responseFormat: 1.0.0
29+
retries: 3.0.2
30+
sdkHooks: 1.0.0
31+
serverEventsSentinels: 0.1.0
32+
uploadStreams: 1.0.0
33+
generatedFiles:
34+
- .gitattributes
35+
- .vscode/settings.json
36+
- CONTRIBUTING.md
37+
- USAGE.md
38+
- docs/models/errors/downloadfileserrormessage.md
39+
- docs/models/errors/listfileserrormessage.md
40+
- docs/models/errors/schema.md
41+
- docs/models/errors/uploadfileserrormessage.md
42+
- docs/models/operations/downloadfilesrequest.md
43+
- docs/models/operations/listfilesrequest.md
44+
- docs/models/operations/uploadfilesrequest.md
45+
- docs/models/shared/codatfile.md
46+
- docs/models/shared/errorvalidation.md
47+
- docs/models/shared/errorvalidationitem.md
48+
- docs/models/shared/file.md
49+
- docs/models/shared/fileupload.md
50+
- docs/models/shared/security.md
51+
- docs/models/utils/retryconfig.md
52+
- docs/sdks/codatfiles/README.md
53+
- docs/sdks/files/README.md
54+
- poetry.toml
55+
- py.typed
56+
- pylintrc
57+
- pyproject.toml
58+
- scripts/compile.sh
59+
- scripts/prepare-readme.py
60+
- scripts/publish.sh
61+
- src/codat_files/__init__.py
62+
- src/codat_files/_hooks/__init__.py
63+
- src/codat_files/_hooks/sdkhooks.py
64+
- src/codat_files/_hooks/types.py
65+
- src/codat_files/basesdk.py
66+
- src/codat_files/files.py
67+
- src/codat_files/httpclient.py
68+
- src/codat_files/models/errors/__init__.py
69+
- src/codat_files/models/errors/download_files.py
70+
- src/codat_files/models/errors/list_files.py
71+
- src/codat_files/models/errors/schema.py
72+
- src/codat_files/models/errors/sdkerror.py
73+
- src/codat_files/models/errors/upload_files.py
74+
- src/codat_files/models/operations/__init__.py
75+
- src/codat_files/models/operations/download_files.py
76+
- src/codat_files/models/operations/list_files.py
77+
- src/codat_files/models/operations/upload_files.py
78+
- src/codat_files/models/shared/__init__.py
79+
- src/codat_files/models/shared/codatfile.py
80+
- src/codat_files/models/shared/errorvalidation.py
81+
- src/codat_files/models/shared/errorvalidationitem.py
82+
- src/codat_files/models/shared/file.py
83+
- src/codat_files/models/shared/fileupload.py
84+
- src/codat_files/models/shared/security.py
85+
- src/codat_files/py.typed
86+
- src/codat_files/sdk.py
87+
- src/codat_files/sdkconfiguration.py
88+
- src/codat_files/types/__init__.py
89+
- src/codat_files/types/basemodel.py
90+
- src/codat_files/utils/__init__.py
91+
- src/codat_files/utils/annotations.py
92+
- src/codat_files/utils/enums.py
93+
- src/codat_files/utils/eventstreaming.py
94+
- src/codat_files/utils/forms.py
95+
- src/codat_files/utils/headers.py
96+
- src/codat_files/utils/logger.py
97+
- src/codat_files/utils/metadata.py
98+
- src/codat_files/utils/queryparams.py
99+
- src/codat_files/utils/requestbodies.py
100+
- src/codat_files/utils/retries.py
101+
- src/codat_files/utils/security.py
102+
- src/codat_files/utils/serializers.py
103+
- src/codat_files/utils/url.py
104+
- src/codat_files/utils/values.py
105+
examples:
106+
download-files:
107+
Malformed query:
108+
parameters:
109+
path:
110+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
111+
query:
112+
date: "2022-10-23T00:00:00Z"
113+
responses:
114+
"400":
115+
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "Error processing request - not valid.", "service": "PublicApi", "statusCode": 400}
116+
Conflict:
117+
parameters:
118+
path:
119+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
120+
query:
121+
date: "2022-10-23T00:00:00Z"
122+
responses:
123+
"403":
124+
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "You are using an outdated API key or a key not associated with that resource.", "service": "PublicApi", "statusCode": 403}
125+
list-files:
126+
Unauthorized:
127+
parameters:
128+
path:
129+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
130+
responses:
131+
"401":
132+
application/json: {"canBeRetried": "Unknown", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "detailedErrorCode": 0, "error": "Unauthorized", "service": "PublicApi", "statusCode": 401}
133+
Conflict:
134+
parameters:
135+
path:
136+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
137+
responses:
138+
"403":
139+
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "You are using an outdated API key or a key not associated with that resource.", "service": "PublicApi", "statusCode": 403}
140+
upload-files:
141+
Malformed query:
142+
parameters:
143+
path:
144+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
145+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
146+
responses:
147+
"400":
148+
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "Error processing request - not valid.", "service": "PublicApi", "statusCode": 400}
149+
Conflict:
150+
parameters:
151+
path:
152+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
153+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
154+
responses:
155+
"403":
156+
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "You are using an outdated API key or a key not associated with that resource.", "service": "PublicApi", "statusCode": 403}
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
configVersion: 1.0.0
2-
management:
3-
docChecksum: 309fcbe8baa6076cda187246ed4dc066
4-
docVersion: 3.0.0
5-
speakeasyVersion: 1.126.3
6-
generationVersion: 2.214.3
1+
configVersion: 2.0.0
72
generation:
8-
comments: {}
93
sdkClassName: CodatFiles
10-
repoURL: https://github.com/codatio/client-sdk-python.git
114
usageSnippets:
125
optionalPropertyRendering: withExample
6+
fixes:
7+
nameResolutionDec2023: false
8+
parameterOrderingFeb2024: false
9+
requestResponseComponentNamesFeb2024: false
10+
auth:
11+
oAuth2ClientCredentialsEnabled: false
1312
telemetryEnabled: true
14-
features:
15-
python:
16-
core: 4.3.0
17-
downloadStreams: 0.0.2
18-
examples: 2.81.3
19-
globalSecurity: 2.83.1
20-
globalServerURLs: 2.82.1
21-
retries: 2.82.0
2213
python:
23-
version: 0.2.0
14+
version: 0.3.0
15+
additionalDependencies:
16+
dev: {}
17+
main: {}
2418
author: Codat
19+
authors:
20+
- Speakeasy
2521
clientServerStatusCodesAsErrors: true
2622
description: Use Codat's Files API to upload your SMB customers' files.
23+
enumFormat: enum
2724
flattenGlobalSecurity: true
25+
flattenRequests: false
2826
imports:
2927
option: openapi
3028
paths:
@@ -34,9 +32,9 @@ python:
3432
shared: models/shared
3533
webhooks: models/webhooks
3634
inputModelSuffix: input
37-
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=previous-versions/files
3835
maxMethodParams: 0
36+
methodArguments: infer-optional-args
3937
outputModelSuffix: output
4038
packageName: codat-files
41-
published: true
42-
repoSubDirectory: previous-versions/files
39+
responseFormat: flat
40+
templateVersion: v2
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"python.testing.pytestArgs": ["tests", "-vv"],
3+
"python.testing.unittestEnabled": false,
4+
"python.testing.pytestEnabled": true,
5+
"pylint.args": ["--rcfile=pylintrc"]
6+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to This Repository
2+
3+
Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.
4+
5+
## How to Report Issues
6+
7+
If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:
8+
9+
- A clear and descriptive title
10+
- Steps to reproduce the issue
11+
- Expected and actual behavior
12+
- Any relevant logs, screenshots, or error messages
13+
- Information about your environment (e.g., operating system, software versions)
14+
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed
15+
16+
## Issue Triage and Upstream Fixes
17+
18+
We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.
19+
20+
## Contact
21+
22+
If you have any questions or need further assistance, please feel free to reach out by opening an issue.
23+
24+
Thank you for your understanding and cooperation!
25+
26+
The Maintainers

0 commit comments

Comments
 (0)