Skip to content

Commit e6b0242

Browse files
committed
chore: clean up removed docs and update generated SDK files
Remove obsolete component documentation and update speakeasy-generated files to match the latest OpenAPI spec regeneration.
1 parent 5ab44f0 commit e6b0242

478 files changed

Lines changed: 325 additions & 17218 deletions

File tree

Some content is hidden

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

.devcontainer/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11

2-
<div align="center">
3-
<a href="https://codespaces.new/OpenRouterTeam/python-sdk.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
4-
</div>
5-
<br>
6-
72
> **Remember to shutdown a GitHub Codespace when it is not in use!**
83
94
# Dev Containers Quick Start

.speakeasy/gen.lock

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

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
skipResponseBodyAssertions: false
3333
preApplyUnionDiscriminators: true
3434
python:
35-
version: 0.8.0
35+
version: 0.8.1
3636
additionalDependencies:
3737
dev: {}
3838
main: {}

.speakeasy/in.openapi.yaml

Lines changed: 41 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -3826,6 +3826,40 @@ components:
38263826
error:
38273827
code: 408
38283828
message: Operation timed out. Please try again later.
3829+
GoneResponseErrorData:
3830+
type: object
3831+
properties:
3832+
code:
3833+
type: integer
3834+
message:
3835+
type: string
3836+
metadata:
3837+
type: object
3838+
nullable: true
3839+
additionalProperties:
3840+
nullable: true
3841+
required:
3842+
- code
3843+
- message
3844+
description: Error data for GoneResponse
3845+
example:
3846+
code: 410
3847+
message: The Coinbase APIs used by this endpoint have been deprecated, so the Coinbase Commerce credits API has been removed. Use the web credits purchase flow instead.
3848+
GoneResponse:
3849+
type: object
3850+
properties:
3851+
error:
3852+
$ref: '#/components/schemas/GoneResponseErrorData'
3853+
user_id:
3854+
type: string
3855+
nullable: true
3856+
required:
3857+
- error
3858+
description: Gone - Endpoint has been permanently removed or deprecated
3859+
example:
3860+
error:
3861+
code: 410
3862+
message: The Coinbase APIs used by this endpoint have been deprecated, so the Coinbase Commerce credits API has been removed. Use the web credits purchase flow instead.
38293863
PayloadTooLargeResponseErrorData:
38303864
type: object
38313865
properties:
@@ -13332,28 +13366,6 @@ components:
1333213366
model: openai/gpt-4
1333313367
temperature: 0.7
1333413368
max_tokens: 150
13335-
CreateChargeRequest:
13336-
type: object
13337-
properties:
13338-
amount:
13339-
type: number
13340-
sender:
13341-
type: string
13342-
chain_id:
13343-
type: integer
13344-
enum:
13345-
- 1
13346-
- 137
13347-
- 8453
13348-
required:
13349-
- amount
13350-
- sender
13351-
- chain_id
13352-
description: Create a Coinbase charge for crypto payment
13353-
example:
13354-
amount: 100
13355-
sender: '0x1234567890123456789012345678901234567890'
13356-
chain_id: 1
1335713369
ProviderPreferences:
1335813370
type: object
1335913371
properties:
@@ -14880,126 +14892,21 @@ paths:
1488014892
$ref: '#/components/schemas/InternalServerResponse'
1488114893
/credits/coinbase:
1488214894
post:
14883-
security:
14884-
- bearer: []
14895+
security: []
1488514896
x-speakeasy-name-override: createCoinbaseCharge
14897+
deprecated: true
1488614898
tags:
1488714899
- Credits
14888-
summary: Create a Coinbase charge for crypto payment
14900+
summary: Deprecated Coinbase Commerce charge endpoint
1488914901
operationId: createCoinbaseCharge
14890-
description: Create a Coinbase charge for crypto payment
14891-
requestBody:
14892-
content:
14893-
application/json:
14894-
schema:
14895-
$ref: '#/components/schemas/CreateChargeRequest'
14896-
required: true
14902+
description: Deprecated. The Coinbase APIs used by this endpoint have been deprecated, so Coinbase Commerce charges have been removed. Use the web credits purchase flow instead.
1489714903
responses:
14898-
'200':
14899-
description: Returns the calldata to fulfill the transaction
14904+
'410':
14905+
description: Gone - Coinbase Commerce charge creation has been removed
1490014906
content:
1490114907
application/json:
1490214908
schema:
14903-
type: object
14904-
properties:
14905-
data:
14906-
type: object
14907-
properties:
14908-
id:
14909-
type: string
14910-
created_at:
14911-
type: string
14912-
expires_at:
14913-
type: string
14914-
web3_data:
14915-
type: object
14916-
properties:
14917-
transfer_intent:
14918-
type: object
14919-
properties:
14920-
call_data:
14921-
type: object
14922-
properties:
14923-
deadline:
14924-
type: string
14925-
fee_amount:
14926-
type: string
14927-
id:
14928-
type: string
14929-
operator:
14930-
type: string
14931-
prefix:
14932-
type: string
14933-
recipient:
14934-
type: string
14935-
recipient_amount:
14936-
type: string
14937-
recipient_currency:
14938-
type: string
14939-
refund_destination:
14940-
type: string
14941-
signature:
14942-
type: string
14943-
required:
14944-
- deadline
14945-
- fee_amount
14946-
- id
14947-
- operator
14948-
- prefix
14949-
- recipient
14950-
- recipient_amount
14951-
- recipient_currency
14952-
- refund_destination
14953-
- signature
14954-
metadata:
14955-
type: object
14956-
properties:
14957-
chain_id:
14958-
type: number
14959-
contract_address:
14960-
type: string
14961-
sender:
14962-
type: string
14963-
required:
14964-
- chain_id
14965-
- contract_address
14966-
- sender
14967-
required:
14968-
- call_data
14969-
- metadata
14970-
required:
14971-
- transfer_intent
14972-
required:
14973-
- id
14974-
- created_at
14975-
- expires_at
14976-
- web3_data
14977-
required:
14978-
- data
14979-
'400':
14980-
description: Bad Request - Invalid credit amount or request body
14981-
content:
14982-
application/json:
14983-
schema:
14984-
$ref: '#/components/schemas/BadRequestResponse'
14985-
'401':
14986-
description: Unauthorized - Authentication required or invalid credentials
14987-
content:
14988-
application/json:
14989-
schema:
14990-
$ref: '#/components/schemas/UnauthorizedResponse'
14991-
'429':
14992-
description: Too Many Requests - Rate limit exceeded
14993-
content:
14994-
application/json:
14995-
schema:
14996-
$ref: '#/components/schemas/TooManyRequestsResponse'
14997-
'500':
14998-
description: Internal Server Error - Unexpected server error
14999-
content:
15000-
application/json:
15001-
schema:
15002-
$ref: '#/components/schemas/InternalServerResponse'
14909+
$ref: '#/components/schemas/GoneResponse'
1500314910
/embeddings:
1500414911
post:
1500514912
x-speakeasy-name-override: generate

0 commit comments

Comments
 (0)