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 #779

Merged
merged 1 commit into from
Apr 26, 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
4 changes: 3 additions & 1 deletion embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -61328,6 +61328,7 @@
"line_items",
"livemode",
"object",
"ship_from_details",
"shipping_cost",
"tax_amount_exclusive",
"tax_amount_inclusive",
Expand Down Expand Up @@ -61937,6 +61938,7 @@
"object",
"reference",
"reversal",
"ship_from_details",
"shipping_cost",
"tax_date",
"type"
Expand Down Expand Up @@ -184564,7 +184566,7 @@
"type": "array"
},
"ship_from_details": {
"description": "Details about the address from which the goods are being shippped.",
"description": "Details about the address from which the goods are being shipped.",
"properties": {
"address": {
"description": "The address from which the goods are being shipped from.",
Expand Down
133 changes: 133 additions & 0 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -42736,6 +42736,15 @@
],
"type": "string"
},
"ship_from_details": {
"anyOf": [
{
"$ref": "#/components/schemas/tax_product_resource_ship_from_details"
}
],
"description": "The details of the ship from location, such as the address.",
"nullable": true
},
"shipping_cost": {
"anyOf": [
{
Expand Down Expand Up @@ -42782,6 +42791,7 @@
"x-expandableFields": [
"customer_details",
"line_items",
"ship_from_details",
"shipping_cost",
"tax_breakdown"
],
Expand Down Expand Up @@ -43095,6 +43105,15 @@
"description": "If `type=reversal`, contains information about what was reversed.",
"nullable": true
},
"ship_from_details": {
"anyOf": [
{
"$ref": "#/components/schemas/tax_product_resource_ship_from_details"
}
],
"description": "The details of the ship from location, such as the address.",
"nullable": true
},
"shipping_cost": {
"anyOf": [
{
Expand Down Expand Up @@ -43135,6 +43154,7 @@
"customer_details",
"line_items",
"reversal",
"ship_from_details",
"shipping_cost"
],
"x-resourceId": "tax.transaction"
Expand Down Expand Up @@ -44344,6 +44364,22 @@
"type": "object",
"x-expandableFields": []
},
"tax_product_resource_ship_from_details": {
"description": "",
"properties": {
"address": {
"$ref": "#/components/schemas/tax_product_resource_postal_address"
}
},
"required": [
"address"
],
"title": "TaxProductResourceShipFromDetails",
"type": "object",
"x-expandableFields": [
"address"
]
},
"tax_product_resource_tax_breakdown": {
"description": "",
"properties": {
Expand Down Expand Up @@ -139497,6 +139533,10 @@
"explode": true,
"style": "deepObject"
},
"ship_from_details": {
"explode": true,
"style": "deepObject"
},
"shipping_cost": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -139761,6 +139801,99 @@
},
"type": "array"
},
"ship_from_details": {
"description": "Details about the address from which the goods are being shipped.",
"properties": {
"address": {
"properties": {
"city": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"country": {
"maxLength": 5000,
"type": "string"
},
"line1": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"line2": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"postal_code": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
},
"state": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
]
}
},
"required": [
"country"
],
"title": "merchant_postal_address",
"type": "object"
}
},
"required": [
"address"
],
"title": "ship_from_details",
"type": "object"
},
"shipping_cost": {
"description": "Shipping cost details to be used for the calculation.",
"properties": {
Expand Down
Loading