Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #655

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 85 additions & 85 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -10252,7 +10252,7 @@
"shipping_cost": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_shipping_cost"
"$ref": "#/components/schemas/invoices_resource_shipping_cost"
}
],
"description": "The details of the cost of shipping, including the ShippingRate applied to the invoice.",
Expand Down Expand Up @@ -19573,7 +19573,7 @@
"customer_tax_ids": {
"description": "The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.",
"items": {
"$ref": "#/components/schemas/invoices_resource_invoice_tax_id"
"$ref": "#/components/schemas/invoices_resource_invoice_resource_invoice_tax_id"
},
"nullable": true,
"type": "array"
Expand Down Expand Up @@ -19718,7 +19718,7 @@
"from_invoice": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_from_invoice"
"$ref": "#/components/schemas/invoices_resource_from_invoice"
}
],
"description": "Details of the invoice that was cloned. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.",
Expand Down Expand Up @@ -19981,7 +19981,7 @@
"rendering": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_invoice_rendering"
"$ref": "#/components/schemas/invoices_resource_invoice_rendering"
}
],
"description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
Expand All @@ -19999,7 +19999,7 @@
"shipping_cost": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_shipping_cost"
"$ref": "#/components/schemas/invoices_resource_shipping_cost"
}
],
"description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.",
Expand Down Expand Up @@ -20038,7 +20038,7 @@
"x-stripeBypassValidation": true
},
"status_transitions": {
"$ref": "#/components/schemas/invoices_status_transitions"
"$ref": "#/components/schemas/invoices_resource_status_transitions"
},
"subscription": {
"anyOf": [
Expand Down Expand Up @@ -21877,73 +21877,6 @@
"type": "invoiceitem.deleted"
}
},
"invoices_from_invoice": {
"description": "",
"properties": {
"action": {
"description": "The relation between this invoice and the cloned invoice",
"maxLength": 5000,
"type": "string"
},
"invoice": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/invoice"
}
],
"description": "The invoice that was cloned.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/invoice"
}
]
}
}
},
"required": [
"action",
"invoice"
],
"title": "InvoicesFromInvoice",
"type": "object",
"x-expandableFields": [
"invoice"
]
},
"invoices_invoice_rendering": {
"description": "",
"properties": {
"amount_tax_display": {
"description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"pdf": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_rendering_pdf"
}
],
"description": "Invoice pdf rendering options",
"nullable": true
}
},
"required": [
"amount_tax_display",
"pdf"
],
"title": "InvoicesInvoiceRendering",
"type": "object",
"x-expandableFields": [
"pdf"
]
},
"invoices_payment_method_options": {
"description": "",
"properties": {
Expand Down Expand Up @@ -22112,7 +22045,74 @@
"type": "object",
"x-expandableFields": []
},
"invoices_resource_invoice_tax_id": {
"invoices_resource_from_invoice": {
"description": "",
"properties": {
"action": {
"description": "The relation between this invoice and the cloned invoice",
"maxLength": 5000,
"type": "string"
},
"invoice": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/invoice"
}
],
"description": "The invoice that was cloned.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/invoice"
}
]
}
}
},
"required": [
"action",
"invoice"
],
"title": "InvoicesResourceFromInvoice",
"type": "object",
"x-expandableFields": [
"invoice"
]
},
"invoices_resource_invoice_rendering": {
"description": "",
"properties": {
"amount_tax_display": {
"description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"pdf": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_rendering_pdf"
}
],
"description": "Invoice pdf rendering options",
"nullable": true
}
},
"required": [
"amount_tax_display",
"pdf"
],
"title": "InvoicesResourceInvoiceRendering",
"type": "object",
"x-expandableFields": [
"pdf"
]
},
"invoices_resource_invoice_resource_invoice_tax_id": {
"description": "",
"properties": {
"type": {
Expand Down Expand Up @@ -22199,7 +22199,7 @@
"type",
"value"
],
"title": "InvoicesResourceInvoiceTaxID",
"title": "InvoicesResourceInvoiceResourceInvoiceTaxID",
"type": "object",
"x-expandableFields": []
},
Expand Down Expand Up @@ -22277,7 +22277,7 @@
"type": "object",
"x-expandableFields": []
},
"invoices_shipping_cost": {
"invoices_resource_shipping_cost": {
"description": "",
"properties": {
"amount_subtotal": {
Expand Down Expand Up @@ -22326,14 +22326,14 @@
"amount_total",
"shipping_rate"
],
"title": "InvoicesShippingCost",
"title": "InvoicesResourceShippingCost",
"type": "object",
"x-expandableFields": [
"shipping_rate",
"taxes"
]
},
"invoices_status_transitions": {
"invoices_resource_status_transitions": {
"description": "",
"properties": {
"finalized_at": {
Expand Down Expand Up @@ -22367,7 +22367,7 @@
"paid_at",
"voided_at"
],
"title": "InvoicesStatusTransitions",
"title": "InvoicesResourceStatusTransitions",
"type": "object",
"x-expandableFields": []
},
Expand Down Expand Up @@ -48099,7 +48099,7 @@
"customer_tax_ids": {
"description": "The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.",
"items": {
"$ref": "#/components/schemas/invoices_resource_invoice_tax_id"
"$ref": "#/components/schemas/invoices_resource_invoice_resource_invoice_tax_id"
},
"nullable": true,
"type": "array"
Expand Down Expand Up @@ -48244,7 +48244,7 @@
"from_invoice": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_from_invoice"
"$ref": "#/components/schemas/invoices_resource_from_invoice"
}
],
"description": "Details of the invoice that was cloned. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.",
Expand Down Expand Up @@ -48495,7 +48495,7 @@
"rendering": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_invoice_rendering"
"$ref": "#/components/schemas/invoices_resource_invoice_rendering"
}
],
"description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.",
Expand All @@ -48513,7 +48513,7 @@
"shipping_cost": {
"anyOf": [
{
"$ref": "#/components/schemas/invoices_shipping_cost"
"$ref": "#/components/schemas/invoices_resource_shipping_cost"
}
],
"description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.",
Expand Down Expand Up @@ -48552,7 +48552,7 @@
"x-stripeBypassValidation": true
},
"status_transitions": {
"$ref": "#/components/schemas/invoices_status_transitions"
"$ref": "#/components/schemas/invoices_resource_status_transitions"
},
"subscription": {
"anyOf": [
Expand Down Expand Up @@ -100363,7 +100363,7 @@
"object",
"url"
],
"title": "InvoicesList",
"title": "InvoicesResourceList",
"type": "object",
"x-expandableFields": [
"data"
Expand Down
Loading
Loading