Skip to content

Commit

Permalink
Update generated code for v631
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 31, 2023
1 parent 0b2fe66 commit 5dfa64b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v630
v631
6 changes: 3 additions & 3 deletions types/Tax/RegistrationsResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare module 'stripe' {
/**
* Time at which the Tax Registration becomes active. It can be either `now` to indicate the current time, or a future timestamp measured in seconds since the Unix epoch.
*/
active_from: number | 'now';
active_from: 'now' | number;

/**
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
Expand Down Expand Up @@ -1221,7 +1221,7 @@ declare module 'stripe' {
/**
* Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
*/
active_from?: number | 'now';
active_from?: 'now' | number;

/**
* Specifies which fields in the response should be expanded.
Expand All @@ -1231,7 +1231,7 @@ declare module 'stripe' {
/**
* If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
*/
expires_at?: Stripe.Emptyable<number | 'now'>;
expires_at?: Stripe.Emptyable<'now' | number>;
}

interface RegistrationListParams extends PaginationParams {
Expand Down

0 comments on commit 5dfa64b

Please sign in to comment.