@@ -45,14 +45,14 @@ type SimulateQuickPickItem = QuickPickItemOfT<
4545 featurePreviews ?: SimulatedFeaturePreviews ;
4646 }
4747 | {
48- state : Exclude < SubscriptionState , SubscriptionState . ProTrial | SubscriptionState . Paid > ;
48+ state : Exclude < SubscriptionState , SubscriptionState . Trial | SubscriptionState . Paid > ;
4949 reactivatedTrial ?: never ;
5050 expiredPaid ?: never ;
5151 planId ?: never ;
5252 featurePreviews ?: never ;
5353 }
5454 | {
55- state : SubscriptionState . ProTrial ;
55+ state : SubscriptionState . Trial ;
5656 reactivatedTrial ?: boolean ;
5757 expiredPaid ?: never ;
5858 planId ?: SubscriptionPlanId . Advanced ;
@@ -141,29 +141,29 @@ class AccountDebug {
141141 label : 'Pro Trial' ,
142142 description : 'Pro trial (pro plan), account' ,
143143 iconPath : new ThemeIcon ( 'blank' ) ,
144- item : { state : SubscriptionState . ProTrial } ,
144+ item : { state : SubscriptionState . Trial } ,
145145 } ,
146146 {
147147 label : 'Pro Trial (Reactivated)' ,
148148 description : 'Pro trial (pro plan), account' ,
149149 iconPath : new ThemeIcon ( 'blank' ) ,
150150 item : {
151- state : SubscriptionState . ProTrial ,
151+ state : SubscriptionState . Trial ,
152152 reactivatedTrial : true ,
153153 } ,
154154 } ,
155155 {
156156 label : 'Pro Trial (Advanced)' ,
157157 description : 'Pro trial (advanced plan), account' ,
158158 iconPath : new ThemeIcon ( 'blank' ) ,
159- item : { state : SubscriptionState . ProTrial , planId : SubscriptionPlanId . Advanced } ,
159+ item : { state : SubscriptionState . Trial , planId : SubscriptionPlanId . Advanced } ,
160160 } ,
161161 {
162162 label : 'Pro Trial (Advanced, Reactivated)' ,
163163 description : 'Pro trial (advanced plan), account' ,
164164 iconPath : new ThemeIcon ( 'blank' ) ,
165165 item : {
166- state : SubscriptionState . ProTrial ,
166+ state : SubscriptionState . Trial ,
167167 planId : SubscriptionPlanId . Advanced ,
168168 reactivatedTrial : true ,
169169 } ,
@@ -172,13 +172,13 @@ class AccountDebug {
172172 label : 'Pro Trial (Expired)' ,
173173 description : 'Community, account' ,
174174 iconPath : new ThemeIcon ( 'blank' ) ,
175- item : { state : SubscriptionState . ProTrialExpired } ,
175+ item : { state : SubscriptionState . TrialExpired } ,
176176 } ,
177177 {
178178 label : 'Pro Trial (Reactivation Eligible)' ,
179179 description : 'Community, account' ,
180180 iconPath : new ThemeIcon ( 'blank' ) ,
181- item : { state : SubscriptionState . ProTrialReactivationEligible } ,
181+ item : { state : SubscriptionState . TrialReactivationEligible } ,
182182 } ,
183183 createQuickPickSeparator ( 'Paid' ) ,
184184 {
@@ -450,20 +450,20 @@ function getSimulatedCheckInResponse(
450450 : { } ;
451451 let trialLicenseStatus : 'active-new' | 'active-reactivated' | 'expired' | 'expired-reactivatable' = 'active-new' ;
452452 switch ( targetSubscriptionState ) {
453- case SubscriptionState . ProTrialExpired :
453+ case SubscriptionState . TrialExpired :
454454 trialLicenseStatus = 'expired' ;
455455 break ;
456- case SubscriptionState . ProTrialReactivationEligible :
456+ case SubscriptionState . TrialReactivationEligible :
457457 trialLicenseStatus = 'expired-reactivatable' ;
458458 break ;
459- case SubscriptionState . ProTrial :
459+ case SubscriptionState . Trial :
460460 trialLicenseStatus = options ?. trial ?. reactivatedTrial ? 'active-reactivated' : 'active-new' ;
461461 break ;
462462 }
463463 const trialLicenseData =
464- targetSubscriptionState === SubscriptionState . ProTrial ||
465- targetSubscriptionState === SubscriptionState . ProTrialExpired ||
466- targetSubscriptionState === SubscriptionState . ProTrialReactivationEligible
464+ targetSubscriptionState === SubscriptionState . Trial ||
465+ targetSubscriptionState === SubscriptionState . TrialExpired ||
466+ targetSubscriptionState === SubscriptionState . TrialReactivationEligible
467467 ? getSimulatedTrialLicenseResponse (
468468 options ?. organizationId ,
469469 targetSubscriptionType ,
@@ -478,7 +478,7 @@ function getSimulatedCheckInResponse(
478478 effectiveLicenses : trialLicenseData ,
479479 } ,
480480 nextOptInDate :
481- targetSubscriptionState === SubscriptionState . ProTrialReactivationEligible
481+ targetSubscriptionState === SubscriptionState . TrialReactivationEligible
482482 ? tenSecondsAgo . toISOString ( )
483483 : undefined ,
484484 } ;
0 commit comments