Skip to content

Commit

Permalink
API Updates (#1549)
Browse files Browse the repository at this point in the history
Codegen for openapi v190
  • Loading branch information
yejia-stripe committed Sep 9, 2022
1 parent af933a3 commit 3d7274a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v188
v190
2 changes: 1 addition & 1 deletion types/2022-08-01/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ declare module 'stripe' {
enabled: boolean;

/**
* The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999.
* The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
*/
maximum?: number;

Expand Down
2 changes: 1 addition & 1 deletion types/2022-08-01/FileLinks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ declare module 'stripe' {

interface FileLinkCreateParams {
/**
* The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `identity_document_downloadable`, `pci_document`, `selfie`, `sigma_scheduled_query`, or `tax_document_user_upload`.
* The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `identity_document_downloadable`, `pci_document`, `selfie`, `sigma_scheduled_query`, `tax_document_user_upload`, or `terminal_reader_splashscreen`.
*/
file: string;

Expand Down
6 changes: 4 additions & 2 deletions types/2022-08-01/Files.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ declare module 'stripe' {
| 'pci_document'
| 'selfie'
| 'sigma_scheduled_query'
| 'tax_document_user_upload';
| 'tax_document_user_upload'
| 'terminal_reader_splashscreen';
}

interface FileCreateParams {}
Expand Down Expand Up @@ -124,7 +125,8 @@ declare module 'stripe' {
| 'pci_document'
| 'selfie'
| 'sigma_scheduled_query'
| 'tax_document_user_upload';
| 'tax_document_user_upload'
| 'terminal_reader_splashscreen';
}

class FilesResource {
Expand Down
10 changes: 10 additions & 0 deletions types/2022-08-01/Issuing/Cards.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ declare module 'stripe' {
*/
phone_number: string | null;

/**
* Whether a signature is required for card delivery. This feature is only supported for US users. Standard shipping service does not support signature on delivery. The default value for standard shipping service is false and for express and priority services is true.
*/
require_signature: boolean | null;

/**
* Shipment service, such as `standard` or `express`.
*/
Expand Down Expand Up @@ -1259,6 +1264,11 @@ declare module 'stripe' {
*/
phone_number?: string;

/**
* Whether a signature is required for card delivery.
*/
require_signature?: boolean;

/**
* Shipment service.
*/
Expand Down

0 comments on commit 3d7274a

Please sign in to comment.