Skip to content

Commit

Permalink
feat(api): api update (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 6, 2025
1 parent 252d61a commit 386bafe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 101
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b6d60f8edbdc94e65f06b0b002cc8e1f27aceccc67917bea849425701ba82fb8.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-52bd3046e73f201c4d08edfa92756791c015be907691a7893f8e7782cc2aea6f.yml
10 changes: 4 additions & 6 deletions invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,8 @@ type Invoice struct {
// `None` will be returned.
Discount interface{} `json:"discount,required"`
Discounts []shared.InvoiceLevelDiscount `json:"discounts,required"`
// When the invoice payment is due. The due date is null if the invoice is not yet
// finalized.
DueDate time.Time `json:"due_date,required,nullable" format:"date-time"`
// When the invoice payment is due.
DueDate time.Time `json:"due_date,required" format:"date-time"`
// If the invoice has a status of `draft`, this will be the time that the invoice
// will be eligible to be issued, otherwise it will be `null`. If `auto-issue` is
// true, the invoice will automatically begin issuing at this time.
Expand Down Expand Up @@ -2085,9 +2084,8 @@ type InvoiceFetchUpcomingResponse struct {
// `None` will be returned.
Discount interface{} `json:"discount,required"`
Discounts []shared.InvoiceLevelDiscount `json:"discounts,required"`
// When the invoice payment is due. The due date is null if the invoice is not yet
// finalized.
DueDate time.Time `json:"due_date,required,nullable" format:"date-time"`
// When the invoice payment is due.
DueDate time.Time `json:"due_date,required" format:"date-time"`
// If the invoice has a status of `draft`, this will be the time that the invoice
// will be eligible to be issued, otherwise it will be `null`. If `auto-issue` is
// true, the invoice will automatically begin issuing at this time.
Expand Down

0 comments on commit 386bafe

Please sign in to comment.