-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #555 from codatio/speakeasy-sdk-regen-1703085282
chore: π Update SDK - Generate Platform library
- Loading branch information
Showing
346 changed files
with
3,613 additions
and
1,235 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
<!-- Start SDK Example Usage --> | ||
|
||
|
||
<!-- Start SDK Example Usage [usage] --> | ||
```python | ||
import codatplatform | ||
from codatplatform.models import shared | ||
|
||
s = codatplatform.CodatPlatform( | ||
security=shared.Security( | ||
auth_header="", | ||
auth_header="<YOUR_API_KEY_HERE>", | ||
), | ||
) | ||
|
||
req = shared.CompanyRequestBody( | ||
description='Requested early access to the new financing scheme.', | ||
name='Bank of Dave', | ||
req = shared.CreateAPIKey( | ||
name='azure-invoice-finance-processor', | ||
) | ||
|
||
res = s.companies.create(req) | ||
res = s.settings.create_api_key(req) | ||
|
||
if res.company is not None: | ||
if res.api_key_details is not None: | ||
# handle response | ||
pass | ||
``` | ||
<!-- End SDK Example Usage --> | ||
<!-- End SDK Example Usage [usage] --> |
2 changes: 2 additions & 0 deletions
2
platform/docs/models/shared/errormessage.md β platform/docs/models/errors/errormessage.md
100755 β 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# ErrorMessage | ||
|
||
Bad Request | ||
|
||
|
||
## Fields | ||
|
||
|
Oops, something went wrong.