@pocketprep/types 1.13.2 → 1.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Study/Cloud.d.ts +3 -0
  2. package/package.json +1 -1
package/Study/Cloud.d.ts CHANGED
@@ -471,6 +471,7 @@ export type sendMagicEmail = (params: {
471
471
  bundleId?: string
472
472
  redirect?: string
473
473
  bundleName?: string
474
+ forceOpenWeb?: boolean
474
475
  }) => void
475
476
 
476
477
  export type migrateLegacyPurchase = (params: {
@@ -512,6 +513,8 @@ export type fetchMockExamQuestionsV2 = (params: { mockExamId: string }) => Quest
512
513
 
513
514
  export type validateReferral = (params: { referralId: string }) => Referral | Stripe.Coupon
514
515
 
516
+ export type fetchReferralCode = (params: { bundleId: string }) => Promise<string>
517
+
515
518
  export type createSetupIntent = () => Promise<string | null>
516
519
 
517
520
  export type createIncompleteSubscription = (params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.2",
3
+ "version": "1.13.4",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",