@pocketprep/types 1.13.4 → 1.13.5

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 +2 -3
  2. package/package.json +1 -1
package/Study/Cloud.d.ts CHANGED
@@ -513,8 +513,6 @@ export type fetchMockExamQuestionsV2 = (params: { mockExamId: string }) => Quest
513
513
 
514
514
  export type validateReferral = (params: { referralId: string }) => Referral | Stripe.Coupon
515
515
 
516
- export type fetchReferralCode = (params: { bundleId: string }) => Promise<string>
517
-
518
516
  export type createSetupIntent = () => Promise<string | null>
519
517
 
520
518
  export type createIncompleteSubscription = (params: {
@@ -568,6 +566,7 @@ export type resetLevelUpProgress = (params: {
568
566
  subjectNames?: string[]
569
567
  }) => TLevelUpProgress
570
568
 
571
- export type fetchReferralStats = (params: { bundleId: string }) => {
569
+ export type fetchReferralInfo = (params: { bundleId: string }) => {
572
570
  redeemedUsersCount: number
571
+ code: string
573
572
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.4",
3
+ "version": "1.13.5",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",