Skip to content

Commit

Permalink
feat: add trial_end field into StripeSubscriptionDetail (#965)
Browse files Browse the repository at this point in the history
Because

- Backend provide stripe.trial_end field

This commit

- add trial_end field into StripeSubscriptionDetail
  • Loading branch information
EiffelFly authored Feb 15, 2024
1 parent f5e67ba commit 7b7324b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@instill-ai/toolkit",
"version": "0.80.4-rc.9",
"version": "0.80.4-rc.10",
"description": "Instill AI's frontend toolkit",
"repository": "https://github.com/instill-ai/design-system.git",
"bugs": "https://github.com/instill-ai/design-system/issues",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/src/lib/vdp-sdk/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ export type Permission = {
};

export type StripeSubscriptionDetail = {
customer_id: string;
product_name: string;
id: string;
item_id: string;
price: number;
canceled_at?: number;
trial_end?: number;
status: StripeSubscriptionStatus;
};

Expand Down

0 comments on commit 7b7324b

Please sign in to comment.