Skip to content

Commit

Permalink
Update Tier type (#767)
Browse files Browse the repository at this point in the history
* Update Tier type

* version bump
  • Loading branch information
kktimetac authored Jun 6, 2024
1 parent 493b08c commit 3db646c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@timetac/js-client-library",
"version": "2.19.4",
"version": "2.19.5",
"description": "TimeTac API JS client library",
"homepage": "https://github.com/TimeTac/js-client-library#readme",
"repository": {
Expand Down
25 changes: 24 additions & 1 deletion src/tiers/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
export type Tier = {
id: number;
name: string;
zoho_product_id: string;
internal_name: string;
pricing: {
hasMonthlyPrice: boolean;
month: number;
premiumYear: number;
year: number;
currency: string;
premiumMonth: number;
priceOnRequest: boolean;
};
description: string;
display_features: {
features: {
image: string;
tooltip: Record<string, string>;
title: Record<string, string>;
}[];
premiumFeatures?: {
image: string;
tooltip: Record<string, string>;
title: Record<string, string>;
}[];
};
active?: boolean;
sort_order?: number;
unique_id?: string;
zoho_product_id: string;
};

0 comments on commit 3db646c

Please sign in to comment.