Skip to content

Commit

Permalink
Include fraudulent in Order status type
Browse files Browse the repository at this point in the history
  • Loading branch information
branko-stripe authored Oct 7, 2024
2 parents 86c9dc3 + 250afcb commit cdf8657
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tall-donuts-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lemonsqueezy/lemonsqueezy.js": patch
---

Include `fraudulent` in Order `status` type
3 changes: 2 additions & 1 deletion src/orders/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {
Relationships,
} from "../types";

type OrderStatus = "pending" | "failed" | "paid" | "refunded";
type OrderStatus = "pending" | "failed" | "paid" | "refunded" | "fraudulent";

type FirstOrderItem = {
/**
Expand Down Expand Up @@ -169,6 +169,7 @@ type Attributes = {
* - `failed`
* - `paid`
* - `refunded`
* - `fraudulent`
*/
status: OrderStatus;
/**
Expand Down

0 comments on commit cdf8657

Please sign in to comment.