Skip to content

Commit

Permalink
OpenAPI Update (#433)
Browse files Browse the repository at this point in the history
Update OpenAPI for 583d35871a5cdcbfb4d9ed7d6dad9ae93ecf8595

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jul 6, 2023
1 parent 97a80ae commit edbc09d
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 5 deletions.
104 changes: 101 additions & 3 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -20481,7 +20481,8 @@
"shipped"
],
"nullable": true,
"type": "string"
"type": "string",
"x-stripeBypassValidation": true
},
"tracking_number": {
"description": "A tracking number for a card shipment.",
Expand Down Expand Up @@ -29525,10 +29526,28 @@
"label": {
"$ref": "#/components/schemas/payment_links_resource_custom_fields_label"
},
"numeric": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_links_resource_custom_fields_numeric"
}
],
"description": "Configuration for `type=numeric` fields.",
"nullable": true
},
"optional": {
"description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
"type": "boolean"
},
"text": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_links_resource_custom_fields_text"
}
],
"description": "Configuration for `type=text` fields.",
"nullable": true
},
"type": {
"description": "The type of the field.",
"enum": [
Expand All @@ -29543,21 +29562,27 @@
"dropdown",
"key",
"label",
"numeric",
"optional",
"text",
"type"
],
"title": "PaymentLinksResourceCustomFields",
"type": "object",
"x-expandableFields": [
"dropdown",
"label"
"label",
"numeric",
"text"
],
"x-stripeResource": {
"class_name": "CustomField",
"in_class": "payment_link",
"inner_classes": [
"payment_links_resource_custom_fields_dropdown",
"payment_links_resource_custom_fields_label"
"payment_links_resource_custom_fields_label",
"payment_links_resource_custom_fields_numeric",
"payment_links_resource_custom_fields_text"
]
}
},
Expand Down Expand Up @@ -29643,6 +29668,58 @@
"in_class": "payment_links_resource_custom_fields"
}
},
"payment_links_resource_custom_fields_numeric": {
"description": "",
"properties": {
"maximum_length": {
"description": "The maximum character length constraint for the customer's input.",
"nullable": true,
"type": "integer"
},
"minimum_length": {
"description": "The minimum character length requirement for the customer's input.",
"nullable": true,
"type": "integer"
}
},
"required": [
"maximum_length",
"minimum_length"
],
"title": "PaymentLinksResourceCustomFieldsNumeric",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "CustomFieldNumeric",
"in_class": "payment_links_resource_custom_fields"
}
},
"payment_links_resource_custom_fields_text": {
"description": "",
"properties": {
"maximum_length": {
"description": "The maximum character length constraint for the customer's input.",
"nullable": true,
"type": "integer"
},
"minimum_length": {
"description": "The minimum character length requirement for the customer's input.",
"nullable": true,
"type": "integer"
}
},
"required": [
"maximum_length",
"minimum_length"
],
"title": "PaymentLinksResourceCustomFieldsText",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "CustomFieldText",
"in_class": "payment_links_resource_custom_fields"
}
},
"payment_links_resource_custom_text": {
"description": "",
"properties": {
Expand Down Expand Up @@ -140485,6 +140562,27 @@
"description": "<p>By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify <code>status=canceled</code>.</p>",
"operationId": "GetSubscriptions",
"parameters": [
{
"description": "Filter subscriptions by their automatic tax settings.",
"explode": true,
"in": "query",
"name": "automatic_tax",
"required": false,
"schema": {
"properties": {
"enabled": {
"description": "Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.",
"type": "boolean"
}
},
"required": [
"enabled"
],
"title": "automatic_tax_filter_params",
"type": "object"
},
"style": "deepObject"
},
{
"description": "The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.",
"in": "query",
Expand Down
81 changes: 79 additions & 2 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -14956,7 +14956,8 @@
"shipped"
],
"nullable": true,
"type": "string"
"type": "string",
"x-stripeBypassValidation": true
},
"tracking_number": {
"description": "A tracking number for a card shipment.",
Expand Down Expand Up @@ -21429,10 +21430,28 @@
"label": {
"$ref": "#/components/schemas/payment_links_resource_custom_fields_label"
},
"numeric": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_links_resource_custom_fields_numeric"
}
],
"description": "Configuration for `type=numeric` fields.",
"nullable": true
},
"optional": {
"description": "Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.",
"type": "boolean"
},
"text": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_links_resource_custom_fields_text"
}
],
"description": "Configuration for `type=text` fields.",
"nullable": true
},
"type": {
"description": "The type of the field.",
"enum": [
Expand All @@ -21453,7 +21472,9 @@
"type": "object",
"x-expandableFields": [
"dropdown",
"label"
"label",
"numeric",
"text"
]
},
"payment_links_resource_custom_fields_dropdown": {
Expand Down Expand Up @@ -21522,6 +21543,42 @@
"type": "object",
"x-expandableFields": []
},
"payment_links_resource_custom_fields_numeric": {
"description": "",
"properties": {
"maximum_length": {
"description": "The maximum character length constraint for the customer's input.",
"nullable": true,
"type": "integer"
},
"minimum_length": {
"description": "The minimum character length requirement for the customer's input.",
"nullable": true,
"type": "integer"
}
},
"title": "PaymentLinksResourceCustomFieldsNumeric",
"type": "object",
"x-expandableFields": []
},
"payment_links_resource_custom_fields_text": {
"description": "",
"properties": {
"maximum_length": {
"description": "The maximum character length constraint for the customer's input.",
"nullable": true,
"type": "integer"
},
"minimum_length": {
"description": "The minimum character length requirement for the customer's input.",
"nullable": true,
"type": "integer"
}
},
"title": "PaymentLinksResourceCustomFieldsText",
"type": "object",
"x-expandableFields": []
},
"payment_links_resource_custom_text": {
"description": "",
"properties": {
Expand Down Expand Up @@ -112290,6 +112347,26 @@
"description": "<p>By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify <code>status=canceled</code>.</p>",
"operationId": "GetSubscriptions",
"parameters": [
{
"description": "Filter subscriptions by their automatic tax settings.",
"explode": true,
"in": "query",
"name": "automatic_tax",
"required": false,
"schema": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"title": "automatic_tax_filter_params",
"type": "object"
},
"style": "deepObject"
},
{
"description": "The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.",
"in": "query",
Expand Down

0 comments on commit edbc09d

Please sign in to comment.