Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 21, 2023
1 parent 835d97a commit 2d3337b
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 78 deletions.
32 changes: 26 additions & 6 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -16714,7 +16714,7 @@
"in_package": ""
}
},
"invoice_setting_phase_setting": {
"invoice_setting_quote_phase_setting": {
"description": "",
"properties": {
"days_until_due": {
Expand All @@ -16726,7 +16726,7 @@
"required": [
"days_until_due"
],
"title": "InvoiceSettingPhaseSetting",
"title": "InvoiceSettingQuotePhaseSetting",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
Expand Down Expand Up @@ -16775,6 +16775,26 @@
"in_package": ""
}
},
"invoice_setting_subscription_schedule_phase_setting": {
"description": "",
"properties": {
"days_until_due": {
"description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
"nullable": true,
"type": "integer"
}
},
"required": [
"days_until_due"
],
"title": "InvoiceSettingSubscriptionSchedulePhaseSetting",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "InvoiceSettings",
"in_package": ""
}
},
"invoice_setting_subscription_schedule_setting": {
"description": "",
"properties": {
Expand Down Expand Up @@ -40320,7 +40340,7 @@
"invoice_settings": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_setting_phase_setting"
"$ref": "#/components/schemas/invoice_setting_quote_phase_setting"
}
],
"description": "The invoice settings applicable during this phase.",
Expand Down Expand Up @@ -49191,7 +49211,7 @@
"invoice_settings": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_setting_phase_setting"
"$ref": "#/components/schemas/invoice_setting_subscription_schedule_phase_setting"
}
],
"description": "The invoice settings applicable during this phase.",
Expand Down Expand Up @@ -125476,7 +125496,7 @@
"type": "integer"
}
},
"title": "invoice_settings",
"title": "phase_invoice_settings_params",
"type": "object"
},
"iterations": {
Expand Down Expand Up @@ -127543,7 +127563,7 @@
"type": "integer"
}
},
"title": "invoice_settings",
"title": "phase_invoice_settings_params",
"type": "object"
},
"iterations": {
Expand Down
31 changes: 25 additions & 6 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15555,7 +15555,7 @@ components:
x-stripeResource:
class_name: InvoiceSettings
in_package: ''
invoice_setting_phase_setting:
invoice_setting_quote_phase_setting:
description: ''
properties:
days_until_due:
Expand All @@ -15567,7 +15567,7 @@ components:
type: integer
required:
- days_until_due
title: InvoiceSettingPhaseSetting
title: InvoiceSettingQuotePhaseSetting
type: object
x-expandableFields: []
x-stripeResource:
Expand Down Expand Up @@ -15609,6 +15609,24 @@ components:
x-stripeResource:
class_name: RenderingOptions
in_package: ''
invoice_setting_subscription_schedule_phase_setting:
description: ''
properties:
days_until_due:
description: >-
Number of days within which a customer must pay invoices generated
by this subscription schedule. This value will be `null` for
subscription schedules where `billing=charge_automatically`.
nullable: true
type: integer
required:
- days_until_due
title: InvoiceSettingSubscriptionSchedulePhaseSetting
type: object
x-expandableFields: []
x-stripeResource:
class_name: InvoiceSettings
in_package: ''
invoice_setting_subscription_schedule_setting:
description: ''
properties:
Expand Down Expand Up @@ -37054,7 +37072,7 @@ components:
type: string
invoice_settings:
anyOf:
- $ref: '#/components/schemas/invoice_setting_phase_setting'
- $ref: '#/components/schemas/invoice_setting_quote_phase_setting'
description: The invoice settings applicable during this phase.
nullable: true
iterations:
Expand Down Expand Up @@ -44705,7 +44723,8 @@ components:
type: integer
invoice_settings:
anyOf:
- $ref: '#/components/schemas/invoice_setting_phase_setting'
- $ref: >-
#/components/schemas/invoice_setting_subscription_schedule_phase_setting
description: The invoice settings applicable during this phase.
nullable: true
items:
Expand Down Expand Up @@ -118687,7 +118706,7 @@ paths:
This value will be `null` for subscription
schedules where `billing=charge_automatically`.
type: integer
title: invoice_settings
title: phase_invoice_settings_params
type: object
iterations:
description: >-
Expand Down Expand Up @@ -120751,7 +120770,7 @@ paths:
This value will be `null` for subscription
schedules where `billing=charge_automatically`.
type: integer
title: invoice_settings
title: phase_invoice_settings_params
type: object
iterations:
description: >-
Expand Down
28 changes: 14 additions & 14 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -12260,19 +12260,6 @@
"rendering_options"
]
},
"invoice_setting_phase_setting": {
"description": "",
"properties": {
"days_until_due": {
"description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
"nullable": true,
"type": "integer"
}
},
"title": "InvoiceSettingPhaseSetting",
"type": "object",
"x-expandableFields": []
},
"invoice_setting_quote_setting": {
"description": "",
"properties": {
Expand Down Expand Up @@ -12300,6 +12287,19 @@
"type": "object",
"x-expandableFields": []
},
"invoice_setting_subscription_schedule_phase_setting": {
"description": "",
"properties": {
"days_until_due": {
"description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
"nullable": true,
"type": "integer"
}
},
"title": "InvoiceSettingSubscriptionSchedulePhaseSetting",
"type": "object",
"x-expandableFields": []
},
"invoice_setting_subscription_schedule_setting": {
"description": "",
"properties": {
Expand Down Expand Up @@ -35903,7 +35903,7 @@
"invoice_settings": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_setting_phase_setting"
"$ref": "#/components/schemas/invoice_setting_subscription_schedule_phase_setting"
}
],
"description": "The invoice settings applicable during this phase.",
Expand Down
38 changes: 19 additions & 19 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -14934,64 +14934,64 @@
"in_package": ""
}
},
"invoice_setting_phase_setting": {
"invoice_setting_quote_setting": {
"description": "",
"properties": {
"days_until_due": {
"description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
"description": "Number of days within which a customer must pay invoices generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.",
"nullable": true,
"type": "integer"
}
},
"required": [
"days_until_due"
],
"title": "InvoiceSettingPhaseSetting",
"title": "InvoiceSettingQuoteSetting",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "InvoiceSettings",
"in_package": ""
}
},
"invoice_setting_quote_setting": {
"invoice_setting_rendering_options": {
"description": "",
"properties": {
"days_until_due": {
"description": "Number of days within which a customer must pay invoices generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.",
"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": "integer"
"type": "string"
}
},
"required": [
"days_until_due"
"amount_tax_display"
],
"title": "InvoiceSettingQuoteSetting",
"title": "InvoiceSettingRenderingOptions",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "InvoiceSettings",
"class_name": "RenderingOptions",
"in_package": ""
}
},
"invoice_setting_rendering_options": {
"invoice_setting_subscription_schedule_phase_setting": {
"description": "",
"properties": {
"amount_tax_display": {
"description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.",
"maxLength": 5000,
"days_until_due": {
"description": "Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.",
"nullable": true,
"type": "string"
"type": "integer"
}
},
"required": [
"amount_tax_display"
"days_until_due"
],
"title": "InvoiceSettingRenderingOptions",
"title": "InvoiceSettingSubscriptionSchedulePhaseSetting",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "RenderingOptions",
"class_name": "InvoiceSettings",
"in_package": ""
}
},
Expand Down Expand Up @@ -43041,7 +43041,7 @@
"invoice_settings": {
"anyOf": [
{
"$ref": "#/components/schemas/invoice_setting_phase_setting"
"$ref": "#/components/schemas/invoice_setting_subscription_schedule_phase_setting"
}
],
"description": "The invoice settings applicable during this phase.",
Expand Down
39 changes: 20 additions & 19 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13914,24 +13914,6 @@ components:
x-stripeResource:
class_name: InvoiceSettings
in_package: ''
invoice_setting_phase_setting:
description: ''
properties:
days_until_due:
description: >-
Number of days within which a customer must pay invoices generated
by this subscription schedule. This value will be `null` for
subscription schedules where `billing=charge_automatically`.
nullable: true
type: integer
required:
- days_until_due
title: InvoiceSettingPhaseSetting
type: object
x-expandableFields: []
x-stripeResource:
class_name: InvoiceSettings
in_package: ''
invoice_setting_quote_setting:
description: ''
properties:
Expand Down Expand Up @@ -13968,6 +13950,24 @@ components:
x-stripeResource:
class_name: RenderingOptions
in_package: ''
invoice_setting_subscription_schedule_phase_setting:
description: ''
properties:
days_until_due:
description: >-
Number of days within which a customer must pay invoices generated
by this subscription schedule. This value will be `null` for
subscription schedules where `billing=charge_automatically`.
nullable: true
type: integer
required:
- days_until_due
title: InvoiceSettingSubscriptionSchedulePhaseSetting
type: object
x-expandableFields: []
x-stripeResource:
class_name: InvoiceSettings
in_package: ''
invoice_setting_subscription_schedule_setting:
description: ''
properties:
Expand Down Expand Up @@ -39353,7 +39353,8 @@ components:
type: integer
invoice_settings:
anyOf:
- $ref: '#/components/schemas/invoice_setting_phase_setting'
- $ref: >-
#/components/schemas/invoice_setting_subscription_schedule_phase_setting
description: The invoice settings applicable during this phase.
nullable: true
items:
Expand Down
Loading

0 comments on commit 2d3337b

Please sign in to comment.