Skip to content

Commit

Permalink
feat: update resources to schema v7.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Oct 2, 2024
1 parent 7d911c6 commit 3128a82
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 70 deletions.
19 changes: 18 additions & 1 deletion gen/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Commerce Layer API",
"version": "7.2.0",
"version": "7.2.1",
"contact": {
"name": "API Support",
"url": "https://commercelayer.io",
Expand Down Expand Up @@ -110089,6 +110089,12 @@
},
"nullable": true
},
"connected_account": {
"type": "string",
"description": "The account (if any) for which the funds of the PaymentIntent are intended.",
"example": "xxxx-yyyy-zzzz",
"nullable": true
},
"auto_payments": {
"type": "boolean",
"description": "Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.",
Expand Down Expand Up @@ -110245,6 +110251,11 @@
"description": "The gateway publishable API key.",
"example": "pk_live_xxxx-yyyy-zzzz"
},
"connected_account": {
"type": "string",
"description": "The account (if any) for which the funds of the PaymentIntent are intended.",
"example": "xxxx-yyyy-zzzz"
},
"auto_payments": {
"type": "boolean",
"description": "Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.",
Expand Down Expand Up @@ -110319,6 +110330,12 @@
},
"nullable": true
},
"connected_account": {
"type": "string",
"description": "The account (if any) for which the funds of the PaymentIntent are intended.",
"example": "xxxx-yyyy-zzzz",
"nullable": true
},
"auto_payments": {
"type": "boolean",
"description": "Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.",
Expand Down
11 changes: 11 additions & 0 deletions gen/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -32542,6 +32542,17 @@
"sortable": false,
"example": "pk_live_xxxx-yyyy-zzzz"
},
"connected_account": {
"type": "string",
"desc": "The account (if any) for which the funds of the PaymentIntent are intended.",
"required": "optional",
"creatable": true,
"updatable": true,
"fetchable": true,
"filterable": false,
"sortable": false,
"example": "xxxx-yyyy-zzzz"
},
"auto_payments": {
"type": "boolean",
"desc": "Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.",
Expand Down
136 changes: 68 additions & 68 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/commercelayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const debug = Debug('commercelayer')


// Autogenerated schema version number, do not remove this line
const OPEN_API_SCHEMA_VERSION = '7.2.0'
const OPEN_API_SCHEMA_VERSION = '7.2.1'
export { OPEN_API_SCHEMA_VERSION }


Expand Down
15 changes: 15 additions & 0 deletions src/resources/stripe_gateways.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ interface StripeGateway extends Resource {
* @example ```"US payment gateway"```
*/
name: string
/**
* The account (if any) for which the funds of the PaymentIntent are intended.
* @example ```"xxxx-yyyy-zzzz"```
*/
connected_account?: string | null
/**
* Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.
* @example ```"true"```
Expand Down Expand Up @@ -69,6 +74,11 @@ interface StripeGatewayCreate extends ResourceCreate {
* @example ```"pk_live_xxxx-yyyy-zzzz"```
*/
publishable_key?: string | null
/**
* The account (if any) for which the funds of the PaymentIntent are intended.
* @example ```"xxxx-yyyy-zzzz"```
*/
connected_account?: string | null
/**
* Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.
* @example ```"true"```
Expand All @@ -85,6 +95,11 @@ interface StripeGatewayUpdate extends ResourceUpdate {
* @example ```"US payment gateway"```
*/
name?: string | null
/**
* The account (if any) for which the funds of the PaymentIntent are intended.
* @example ```"xxxx-yyyy-zzzz"```
*/
connected_account?: string | null
/**
* Indicates if the gateway will accept payment methods enabled in the Stripe dashboard.
* @example ```"true"```
Expand Down

0 comments on commit 3128a82

Please sign in to comment.