From 9a02027277cb9f7678cfa7c7d272a9c4cd17883e Mon Sep 17 00:00:00 2001 From: Po Chun Chiu <57251712+EiffelFly@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:51:42 +0800 Subject: [PATCH] feat: add PLAN_UNPAID type into subscription plan (#1264) Because - add PLAN_UNPAID type into subscription plan This commit - add PLAN_UNPAID type into subscription plan --- packages/toolkit/package.json | 2 +- packages/toolkit/src/lib/vdp-sdk/mgmt/types.ts | 3 ++- packages/toolkit/src/lib/vdp-sdk/organization/types.ts | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 6dfd984766..43993d8efc 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@instill-ai/toolkit", - "version": "0.95.0-rc.4", + "version": "0.95.0-rc.5", "description": "Instill AI's frontend toolkit", "repository": "https://github.com/instill-ai/design-system.git", "bugs": "https://github.com/instill-ai/design-system/issues", diff --git a/packages/toolkit/src/lib/vdp-sdk/mgmt/types.ts b/packages/toolkit/src/lib/vdp-sdk/mgmt/types.ts index bf914f88a1..3c86a0126c 100644 --- a/packages/toolkit/src/lib/vdp-sdk/mgmt/types.ts +++ b/packages/toolkit/src/lib/vdp-sdk/mgmt/types.ts @@ -41,7 +41,8 @@ export type User = { export type UserSubscriptionPlan = | "PLAN_UNSPECIFIED" | "PLAN_FREEMIUM" - | "PLAN_STARTER"; + | "PLAN_STARTER" + | "PLAN_UNPAID"; export type UserSubscription = { plan: UserSubscriptionPlan; diff --git a/packages/toolkit/src/lib/vdp-sdk/organization/types.ts b/packages/toolkit/src/lib/vdp-sdk/organization/types.ts index 543eca257a..a525dd5474 100644 --- a/packages/toolkit/src/lib/vdp-sdk/organization/types.ts +++ b/packages/toolkit/src/lib/vdp-sdk/organization/types.ts @@ -29,7 +29,8 @@ export type OrganizationSubscriptionPlan = | "PLAN_FREEMIUM" | "PLAN_TEAM" | "PLAN_TEAM_PRO" - | "PLAN_ENTERPRISE"; + | "PLAN_ENTERPRISE" + | "PLAN_UNPAID"; export type OrganizationSubscription = { plan: OrganizationSubscriptionPlan;