From 805084e15fca26316c10468e1cf7450a481f4509 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:47:16 +0000 Subject: [PATCH] Update OpenAPI for 981fe74291531d2b02e00d1ddfda26fa439ab7b1 --- embedded/openapi/spec3.beta.sdk.json | 170 +++++++++++++-------------- embedded/openapi/spec3.json | 152 ++++++++++++------------ 2 files changed, 161 insertions(+), 161 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 83fc6d22..b4253de9 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -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.", @@ -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" @@ -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.", @@ -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.", @@ -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.", @@ -20038,7 +20038,7 @@ "x-stripeBypassValidation": true }, "status_transitions": { - "$ref": "#/components/schemas/invoices_status_transitions" + "$ref": "#/components/schemas/invoices_resource_status_transitions" }, "subscription": { "anyOf": [ @@ -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": { @@ -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": { @@ -22199,7 +22199,7 @@ "type", "value" ], - "title": "InvoicesResourceInvoiceTaxID", + "title": "InvoicesResourceInvoiceResourceInvoiceTaxID", "type": "object", "x-expandableFields": [] }, @@ -22277,7 +22277,7 @@ "type": "object", "x-expandableFields": [] }, - "invoices_shipping_cost": { + "invoices_resource_shipping_cost": { "description": "", "properties": { "amount_subtotal": { @@ -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": { @@ -22367,7 +22367,7 @@ "paid_at", "voided_at" ], - "title": "InvoicesStatusTransitions", + "title": "InvoicesResourceStatusTransitions", "type": "object", "x-expandableFields": [] }, @@ -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" @@ -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.", @@ -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.", @@ -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.", @@ -48552,7 +48552,7 @@ "x-stripeBypassValidation": true }, "status_transitions": { - "$ref": "#/components/schemas/invoices_status_transitions" + "$ref": "#/components/schemas/invoices_resource_status_transitions" }, "subscription": { "anyOf": [ @@ -100363,7 +100363,7 @@ "object", "url" ], - "title": "InvoicesList", + "title": "InvoicesResourceList", "type": "object", "x-expandableFields": [ "data" diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 22289b43..7da5b0a8 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -6868,7 +6868,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.", @@ -12694,7 +12694,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" @@ -12829,7 +12829,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.", @@ -13053,7 +13053,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.", @@ -13062,7 +13062,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.", @@ -13101,7 +13101,7 @@ "x-stripeBypassValidation": true }, "status_transitions": { - "$ref": "#/components/schemas/invoices_status_transitions" + "$ref": "#/components/schemas/invoices_resource_status_transitions" }, "subscription": { "anyOf": [ @@ -14177,69 +14177,6 @@ ], "x-resourceId": "invoiceitem" }, - "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 - } - }, - "title": "InvoicesInvoiceRendering", - "type": "object", - "x-expandableFields": [ - "pdf" - ] - }, "invoices_payment_method_options": { "description": "", "properties": { @@ -14370,7 +14307,70 @@ "payment_method_options" ] }, - "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 + } + }, + "title": "InvoicesResourceInvoiceRendering", + "type": "object", + "x-expandableFields": [ + "pdf" + ] + }, + "invoices_resource_invoice_resource_invoice_tax_id": { "description": "", "properties": { "type": { @@ -14456,7 +14456,7 @@ "required": [ "type" ], - "title": "InvoicesResourceInvoiceTaxID", + "title": "InvoicesResourceInvoiceResourceInvoiceTaxID", "type": "object", "x-expandableFields": [] }, @@ -14504,7 +14504,7 @@ "credited_items" ] }, - "invoices_shipping_cost": { + "invoices_resource_shipping_cost": { "description": "", "properties": { "amount_subtotal": { @@ -14552,14 +14552,14 @@ "amount_tax", "amount_total" ], - "title": "InvoicesShippingCost", + "title": "InvoicesResourceShippingCost", "type": "object", "x-expandableFields": [ "shipping_rate", "taxes" ] }, - "invoices_status_transitions": { + "invoices_resource_status_transitions": { "description": "", "properties": { "finalized_at": { @@ -14587,7 +14587,7 @@ "type": "integer" } }, - "title": "InvoicesStatusTransitions", + "title": "InvoicesResourceStatusTransitions", "type": "object", "x-expandableFields": [] }, @@ -78876,7 +78876,7 @@ "object", "url" ], - "title": "InvoicesList", + "title": "InvoicesResourceList", "type": "object", "x-expandableFields": [ "data"