Skip to content

Commit 0370d91

Browse files
OpenAPI Update (#655)
Update OpenAPI for 981fe74291531d2b02e00d1ddfda26fa439ab7b1 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent ae109c4 commit 0370d91

File tree

2 files changed

+161
-161
lines changed

2 files changed

+161
-161
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 85 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -10252,7 +10252,7 @@
1025210252
"shipping_cost": {
1025310253
"anyOf": [
1025410254
{
10255-
"$ref": "#/components/schemas/invoices_shipping_cost"
10255+
"$ref": "#/components/schemas/invoices_resource_shipping_cost"
1025610256
}
1025710257
],
1025810258
"description": "The details of the cost of shipping, including the ShippingRate applied to the invoice.",
@@ -19573,7 +19573,7 @@
1957319573
"customer_tax_ids": {
1957419574
"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.",
1957519575
"items": {
19576-
"$ref": "#/components/schemas/invoices_resource_invoice_tax_id"
19576+
"$ref": "#/components/schemas/invoices_resource_invoice_resource_invoice_tax_id"
1957719577
},
1957819578
"nullable": true,
1957919579
"type": "array"
@@ -19718,7 +19718,7 @@
1971819718
"from_invoice": {
1971919719
"anyOf": [
1972019720
{
19721-
"$ref": "#/components/schemas/invoices_from_invoice"
19721+
"$ref": "#/components/schemas/invoices_resource_from_invoice"
1972219722
}
1972319723
],
1972419724
"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 @@
1998119981
"rendering": {
1998219982
"anyOf": [
1998319983
{
19984-
"$ref": "#/components/schemas/invoices_invoice_rendering"
19984+
"$ref": "#/components/schemas/invoices_resource_invoice_rendering"
1998519985
}
1998619986
],
1998719987
"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 @@
1999919999
"shipping_cost": {
2000020000
"anyOf": [
2000120001
{
20002-
"$ref": "#/components/schemas/invoices_shipping_cost"
20002+
"$ref": "#/components/schemas/invoices_resource_shipping_cost"
2000320003
}
2000420004
],
2000520005
"description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.",
@@ -20038,7 +20038,7 @@
2003820038
"x-stripeBypassValidation": true
2003920039
},
2004020040
"status_transitions": {
20041-
"$ref": "#/components/schemas/invoices_status_transitions"
20041+
"$ref": "#/components/schemas/invoices_resource_status_transitions"
2004220042
},
2004320043
"subscription": {
2004420044
"anyOf": [
@@ -21877,73 +21877,6 @@
2187721877
"type": "invoiceitem.deleted"
2187821878
}
2187921879
},
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-
},
2194721880
"invoices_payment_method_options": {
2194821881
"description": "",
2194921882
"properties": {
@@ -22112,7 +22045,74 @@
2211222045
"type": "object",
2211322046
"x-expandableFields": []
2211422047
},
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": {
2211622116
"description": "",
2211722117
"properties": {
2211822118
"type": {
@@ -22199,7 +22199,7 @@
2219922199
"type",
2220022200
"value"
2220122201
],
22202-
"title": "InvoicesResourceInvoiceTaxID",
22202+
"title": "InvoicesResourceInvoiceResourceInvoiceTaxID",
2220322203
"type": "object",
2220422204
"x-expandableFields": []
2220522205
},
@@ -22277,7 +22277,7 @@
2227722277
"type": "object",
2227822278
"x-expandableFields": []
2227922279
},
22280-
"invoices_shipping_cost": {
22280+
"invoices_resource_shipping_cost": {
2228122281
"description": "",
2228222282
"properties": {
2228322283
"amount_subtotal": {
@@ -22326,14 +22326,14 @@
2232622326
"amount_total",
2232722327
"shipping_rate"
2232822328
],
22329-
"title": "InvoicesShippingCost",
22329+
"title": "InvoicesResourceShippingCost",
2233022330
"type": "object",
2233122331
"x-expandableFields": [
2233222332
"shipping_rate",
2233322333
"taxes"
2233422334
]
2233522335
},
22336-
"invoices_status_transitions": {
22336+
"invoices_resource_status_transitions": {
2233722337
"description": "",
2233822338
"properties": {
2233922339
"finalized_at": {
@@ -22367,7 +22367,7 @@
2236722367
"paid_at",
2236822368
"voided_at"
2236922369
],
22370-
"title": "InvoicesStatusTransitions",
22370+
"title": "InvoicesResourceStatusTransitions",
2237122371
"type": "object",
2237222372
"x-expandableFields": []
2237322373
},
@@ -48099,7 +48099,7 @@
4809948099
"customer_tax_ids": {
4810048100
"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.",
4810148101
"items": {
48102-
"$ref": "#/components/schemas/invoices_resource_invoice_tax_id"
48102+
"$ref": "#/components/schemas/invoices_resource_invoice_resource_invoice_tax_id"
4810348103
},
4810448104
"nullable": true,
4810548105
"type": "array"
@@ -48244,7 +48244,7 @@
4824448244
"from_invoice": {
4824548245
"anyOf": [
4824648246
{
48247-
"$ref": "#/components/schemas/invoices_from_invoice"
48247+
"$ref": "#/components/schemas/invoices_resource_from_invoice"
4824848248
}
4824948249
],
4825048250
"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 @@
4849548495
"rendering": {
4849648496
"anyOf": [
4849748497
{
48498-
"$ref": "#/components/schemas/invoices_invoice_rendering"
48498+
"$ref": "#/components/schemas/invoices_resource_invoice_rendering"
4849948499
}
4850048500
],
4850148501
"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 @@
4851348513
"shipping_cost": {
4851448514
"anyOf": [
4851548515
{
48516-
"$ref": "#/components/schemas/invoices_shipping_cost"
48516+
"$ref": "#/components/schemas/invoices_resource_shipping_cost"
4851748517
}
4851848518
],
4851948519
"description": "The details of the cost of shipping, including the ShippingRate applied on the invoice.",
@@ -48552,7 +48552,7 @@
4855248552
"x-stripeBypassValidation": true
4855348553
},
4855448554
"status_transitions": {
48555-
"$ref": "#/components/schemas/invoices_status_transitions"
48555+
"$ref": "#/components/schemas/invoices_resource_status_transitions"
4855648556
},
4855748557
"subscription": {
4855848558
"anyOf": [
@@ -100363,7 +100363,7 @@
100363100363
"object",
100364100364
"url"
100365100365
],
100366-
"title": "InvoicesList",
100366+
"title": "InvoicesResourceList",
100367100367
"type": "object",
100368100368
"x-expandableFields": [
100369100369
"data"

0 commit comments

Comments
 (0)