|
10252 | 10252 | "shipping_cost": { |
10253 | 10253 | "anyOf": [ |
10254 | 10254 | { |
10255 | | - "$ref": "#/components/schemas/invoices_shipping_cost" |
| 10255 | + "$ref": "#/components/schemas/invoices_resource_shipping_cost" |
10256 | 10256 | } |
10257 | 10257 | ], |
10258 | 10258 | "description": "The details of the cost of shipping, including the ShippingRate applied to the invoice.", |
|
19573 | 19573 | "customer_tax_ids": { |
19574 | 19574 | "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.", |
19575 | 19575 | "items": { |
19576 | | - "$ref": "#/components/schemas/invoices_resource_invoice_tax_id" |
| 19576 | + "$ref": "#/components/schemas/invoices_resource_invoice_resource_invoice_tax_id" |
19577 | 19577 | }, |
19578 | 19578 | "nullable": true, |
19579 | 19579 | "type": "array" |
|
19718 | 19718 | "from_invoice": { |
19719 | 19719 | "anyOf": [ |
19720 | 19720 | { |
19721 | | - "$ref": "#/components/schemas/invoices_from_invoice" |
| 19721 | + "$ref": "#/components/schemas/invoices_resource_from_invoice" |
19722 | 19722 | } |
19723 | 19723 | ], |
19724 | 19724 | "description": "Details of the invoice that was cloned. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.", |
|
19981 | 19981 | "rendering": { |
19982 | 19982 | "anyOf": [ |
19983 | 19983 | { |
19984 | | - "$ref": "#/components/schemas/invoices_invoice_rendering" |
| 19984 | + "$ref": "#/components/schemas/invoices_resource_invoice_rendering" |
19985 | 19985 | } |
19986 | 19986 | ], |
19987 | 19987 | "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", |
|
19999 | 19999 | "shipping_cost": { |
20000 | 20000 | "anyOf": [ |
20001 | 20001 | { |
20002 | | - "$ref": "#/components/schemas/invoices_shipping_cost" |
| 20002 | + "$ref": "#/components/schemas/invoices_resource_shipping_cost" |
20003 | 20003 | } |
20004 | 20004 | ], |
20005 | 20005 | "description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.", |
|
20038 | 20038 | "x-stripeBypassValidation": true |
20039 | 20039 | }, |
20040 | 20040 | "status_transitions": { |
20041 | | - "$ref": "#/components/schemas/invoices_status_transitions" |
| 20041 | + "$ref": "#/components/schemas/invoices_resource_status_transitions" |
20042 | 20042 | }, |
20043 | 20043 | "subscription": { |
20044 | 20044 | "anyOf": [ |
|
21877 | 21877 | "type": "invoiceitem.deleted" |
21878 | 21878 | } |
21879 | 21879 | }, |
21880 | | - "invoices_from_invoice": { |
21881 | | - "description": "", |
21882 | | - "properties": { |
21883 | | - "action": { |
21884 | | - "description": "The relation between this invoice and the cloned invoice", |
21885 | | - "maxLength": 5000, |
21886 | | - "type": "string" |
21887 | | - }, |
21888 | | - "invoice": { |
21889 | | - "anyOf": [ |
21890 | | - { |
21891 | | - "maxLength": 5000, |
21892 | | - "type": "string" |
21893 | | - }, |
21894 | | - { |
21895 | | - "$ref": "#/components/schemas/invoice" |
21896 | | - } |
21897 | | - ], |
21898 | | - "description": "The invoice that was cloned.", |
21899 | | - "x-expansionResources": { |
21900 | | - "oneOf": [ |
21901 | | - { |
21902 | | - "$ref": "#/components/schemas/invoice" |
21903 | | - } |
21904 | | - ] |
21905 | | - } |
21906 | | - } |
21907 | | - }, |
21908 | | - "required": [ |
21909 | | - "action", |
21910 | | - "invoice" |
21911 | | - ], |
21912 | | - "title": "InvoicesFromInvoice", |
21913 | | - "type": "object", |
21914 | | - "x-expandableFields": [ |
21915 | | - "invoice" |
21916 | | - ] |
21917 | | - }, |
21918 | | - "invoices_invoice_rendering": { |
21919 | | - "description": "", |
21920 | | - "properties": { |
21921 | | - "amount_tax_display": { |
21922 | | - "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", |
21923 | | - "maxLength": 5000, |
21924 | | - "nullable": true, |
21925 | | - "type": "string" |
21926 | | - }, |
21927 | | - "pdf": { |
21928 | | - "anyOf": [ |
21929 | | - { |
21930 | | - "$ref": "#/components/schemas/invoice_rendering_pdf" |
21931 | | - } |
21932 | | - ], |
21933 | | - "description": "Invoice pdf rendering options", |
21934 | | - "nullable": true |
21935 | | - } |
21936 | | - }, |
21937 | | - "required": [ |
21938 | | - "amount_tax_display", |
21939 | | - "pdf" |
21940 | | - ], |
21941 | | - "title": "InvoicesInvoiceRendering", |
21942 | | - "type": "object", |
21943 | | - "x-expandableFields": [ |
21944 | | - "pdf" |
21945 | | - ] |
21946 | | - }, |
21947 | 21880 | "invoices_payment_method_options": { |
21948 | 21881 | "description": "", |
21949 | 21882 | "properties": { |
|
22112 | 22045 | "type": "object", |
22113 | 22046 | "x-expandableFields": [] |
22114 | 22047 | }, |
22115 | | - "invoices_resource_invoice_tax_id": { |
| 22048 | + "invoices_resource_from_invoice": { |
| 22049 | + "description": "", |
| 22050 | + "properties": { |
| 22051 | + "action": { |
| 22052 | + "description": "The relation between this invoice and the cloned invoice", |
| 22053 | + "maxLength": 5000, |
| 22054 | + "type": "string" |
| 22055 | + }, |
| 22056 | + "invoice": { |
| 22057 | + "anyOf": [ |
| 22058 | + { |
| 22059 | + "maxLength": 5000, |
| 22060 | + "type": "string" |
| 22061 | + }, |
| 22062 | + { |
| 22063 | + "$ref": "#/components/schemas/invoice" |
| 22064 | + } |
| 22065 | + ], |
| 22066 | + "description": "The invoice that was cloned.", |
| 22067 | + "x-expansionResources": { |
| 22068 | + "oneOf": [ |
| 22069 | + { |
| 22070 | + "$ref": "#/components/schemas/invoice" |
| 22071 | + } |
| 22072 | + ] |
| 22073 | + } |
| 22074 | + } |
| 22075 | + }, |
| 22076 | + "required": [ |
| 22077 | + "action", |
| 22078 | + "invoice" |
| 22079 | + ], |
| 22080 | + "title": "InvoicesResourceFromInvoice", |
| 22081 | + "type": "object", |
| 22082 | + "x-expandableFields": [ |
| 22083 | + "invoice" |
| 22084 | + ] |
| 22085 | + }, |
| 22086 | + "invoices_resource_invoice_rendering": { |
| 22087 | + "description": "", |
| 22088 | + "properties": { |
| 22089 | + "amount_tax_display": { |
| 22090 | + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", |
| 22091 | + "maxLength": 5000, |
| 22092 | + "nullable": true, |
| 22093 | + "type": "string" |
| 22094 | + }, |
| 22095 | + "pdf": { |
| 22096 | + "anyOf": [ |
| 22097 | + { |
| 22098 | + "$ref": "#/components/schemas/invoice_rendering_pdf" |
| 22099 | + } |
| 22100 | + ], |
| 22101 | + "description": "Invoice pdf rendering options", |
| 22102 | + "nullable": true |
| 22103 | + } |
| 22104 | + }, |
| 22105 | + "required": [ |
| 22106 | + "amount_tax_display", |
| 22107 | + "pdf" |
| 22108 | + ], |
| 22109 | + "title": "InvoicesResourceInvoiceRendering", |
| 22110 | + "type": "object", |
| 22111 | + "x-expandableFields": [ |
| 22112 | + "pdf" |
| 22113 | + ] |
| 22114 | + }, |
| 22115 | + "invoices_resource_invoice_resource_invoice_tax_id": { |
22116 | 22116 | "description": "", |
22117 | 22117 | "properties": { |
22118 | 22118 | "type": { |
|
22199 | 22199 | "type", |
22200 | 22200 | "value" |
22201 | 22201 | ], |
22202 | | - "title": "InvoicesResourceInvoiceTaxID", |
| 22202 | + "title": "InvoicesResourceInvoiceResourceInvoiceTaxID", |
22203 | 22203 | "type": "object", |
22204 | 22204 | "x-expandableFields": [] |
22205 | 22205 | }, |
|
22277 | 22277 | "type": "object", |
22278 | 22278 | "x-expandableFields": [] |
22279 | 22279 | }, |
22280 | | - "invoices_shipping_cost": { |
| 22280 | + "invoices_resource_shipping_cost": { |
22281 | 22281 | "description": "", |
22282 | 22282 | "properties": { |
22283 | 22283 | "amount_subtotal": { |
@@ -22326,14 +22326,14 @@ |
22326 | 22326 | "amount_total", |
22327 | 22327 | "shipping_rate" |
22328 | 22328 | ], |
22329 | | - "title": "InvoicesShippingCost", |
| 22329 | + "title": "InvoicesResourceShippingCost", |
22330 | 22330 | "type": "object", |
22331 | 22331 | "x-expandableFields": [ |
22332 | 22332 | "shipping_rate", |
22333 | 22333 | "taxes" |
22334 | 22334 | ] |
22335 | 22335 | }, |
22336 | | - "invoices_status_transitions": { |
| 22336 | + "invoices_resource_status_transitions": { |
22337 | 22337 | "description": "", |
22338 | 22338 | "properties": { |
22339 | 22339 | "finalized_at": { |
|
22367 | 22367 | "paid_at", |
22368 | 22368 | "voided_at" |
22369 | 22369 | ], |
22370 | | - "title": "InvoicesStatusTransitions", |
| 22370 | + "title": "InvoicesResourceStatusTransitions", |
22371 | 22371 | "type": "object", |
22372 | 22372 | "x-expandableFields": [] |
22373 | 22373 | }, |
|
48099 | 48099 | "customer_tax_ids": { |
48100 | 48100 | "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.", |
48101 | 48101 | "items": { |
48102 | | - "$ref": "#/components/schemas/invoices_resource_invoice_tax_id" |
| 48102 | + "$ref": "#/components/schemas/invoices_resource_invoice_resource_invoice_tax_id" |
48103 | 48103 | }, |
48104 | 48104 | "nullable": true, |
48105 | 48105 | "type": "array" |
|
48244 | 48244 | "from_invoice": { |
48245 | 48245 | "anyOf": [ |
48246 | 48246 | { |
48247 | | - "$ref": "#/components/schemas/invoices_from_invoice" |
| 48247 | + "$ref": "#/components/schemas/invoices_resource_from_invoice" |
48248 | 48248 | } |
48249 | 48249 | ], |
48250 | 48250 | "description": "Details of the invoice that was cloned. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.", |
|
48495 | 48495 | "rendering": { |
48496 | 48496 | "anyOf": [ |
48497 | 48497 | { |
48498 | | - "$ref": "#/components/schemas/invoices_invoice_rendering" |
| 48498 | + "$ref": "#/components/schemas/invoices_resource_invoice_rendering" |
48499 | 48499 | } |
48500 | 48500 | ], |
48501 | 48501 | "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", |
|
48513 | 48513 | "shipping_cost": { |
48514 | 48514 | "anyOf": [ |
48515 | 48515 | { |
48516 | | - "$ref": "#/components/schemas/invoices_shipping_cost" |
| 48516 | + "$ref": "#/components/schemas/invoices_resource_shipping_cost" |
48517 | 48517 | } |
48518 | 48518 | ], |
48519 | 48519 | "description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.", |
|
48552 | 48552 | "x-stripeBypassValidation": true |
48553 | 48553 | }, |
48554 | 48554 | "status_transitions": { |
48555 | | - "$ref": "#/components/schemas/invoices_status_transitions" |
| 48555 | + "$ref": "#/components/schemas/invoices_resource_status_transitions" |
48556 | 48556 | }, |
48557 | 48557 | "subscription": { |
48558 | 48558 | "anyOf": [ |
@@ -100363,7 +100363,7 @@ |
100363 | 100363 | "object", |
100364 | 100364 | "url" |
100365 | 100365 | ], |
100366 | | - "title": "InvoicesList", |
| 100366 | + "title": "InvoicesResourceList", |
100367 | 100367 | "type": "object", |
100368 | 100368 | "x-expandableFields": [ |
100369 | 100369 | "data" |
|
0 commit comments