@aircall/tracker
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -11,6 +11,23 @@ export declare enum TRACKER_ENVIRONMENT { | ||
release: string; | ||
company: number; | ||
company_id: number; | ||
company_name: string; | ||
company_plan: string; | ||
company: CompanyTrackerIdentification; | ||
created_at: string; | ||
email: string; | ||
name: string; | ||
platform: string; | ||
environment: TRACKER_ENVIRONMENT; | ||
} | ||
export declare type ICompanyBillingPeriod = 'annually' | 'monthly'; | ||
export declare type ICompanyTierLevel = 'tier_a' | 'tier_1' | 'tier_2' | 'tier_3' | 'tier_4' | 'tier_5' | 'no_tier'; | ||
export declare type ICompanyPlan = 'friend' | 'partner' | 'trial' | 'starter' | 'pro' | 'pro_oct_2014' | 'starter_june_2015' | 'premium_june_2015' | 'enterprise_june_2015' | 'starter_sept_2015' | 'premium_sept_2015' | 'enterprise_sept_2015' | 'starter_august_2016' | 'premium_august_2016' | 'enterprise_august_2016' | 'premium_march_2017' | 'enterprise_march_2017' | 'premium_custom_nov_2017' | 'enterprise_custom_nov_2017' | 'essentials_july_2018' | 'professional_july_2018' | 'custom_july_2018' | 'essentials_custom_august_2018' | 'professional_custom_august_2018' | 'custom'; | ||
export declare interface CompanyTrackerIdentification { | ||
billing_period: ICompanyBillingPeriod; | ||
country: string; | ||
created_at: string; | ||
last_plan_change?: string; | ||
is_trial: boolean; | ||
tier: ICompanyTierLevel; | ||
} | ||
export declare interface TrackerInitOptions { | ||
@@ -17,0 +34,0 @@ key: string; |
@@ -28,4 +28,16 @@ "use strict"; | ||
user_id: 0, | ||
created_at: '', | ||
release: 'default', | ||
company: 0, | ||
company_id: 0, | ||
company_name: '', | ||
company_plan: '', | ||
company: { | ||
billing_period: 'annually', | ||
country: 'string', | ||
created_at: '', | ||
is_trial: false, | ||
tier: 'no_tier' | ||
}, | ||
email: '', | ||
name: '', | ||
platform: 'default', | ||
@@ -32,0 +44,0 @@ environment: TRACKER_ENVIRONMENT.DEVELOPMENT |
{ | ||
"name": "@aircall/tracker", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"main": "dist/index.js", | ||
@@ -13,3 +13,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "fd73dff4d1d69f6ddc4812514506899d419766d8", | ||
"gitHead": "4f4536d1eff127962d31b1b73469ba5b96fdb381", | ||
"devDependencies": { | ||
@@ -16,0 +16,0 @@ "@types/segment-analytics": "^0.0.31" |
Sorry, the diff of this file is not supported yet
31983
455