@pocketprep/types 1.14.56 → 1.14.58

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.
package/Study/Class.d.ts CHANGED
@@ -838,4 +838,9 @@ export type PrebuiltQuiz = Parse.Object<{
838
838
  key?: string
839
839
  }>
840
840
 
841
- export type PrebuiltQuizJSON = ReturnType<PrebuiltQuiz['toJSON']>
841
+ export type PrebuiltQuizJSON = ReturnType<PrebuiltQuiz['toJSON']>
842
+
843
+ // query parameters used for our web Study app
844
+ export type TQueryParamKeys = 'amplitudeSessionId' | 'bundleId' | 'code' | 'email' | 'examGuid' | 'groupCode'
845
+ | 'license' | 'platform' | 'priorScreenName' | 'productIndex' | 'redirect' | 'referral' | 'upgrade' | 'userData'
846
+ export type PPQueryParams = Partial<Record<TQueryParamKeys, string>>
package/Study/Cloud.d.ts CHANGED
@@ -450,6 +450,7 @@ export type TLicenseSource = 'Web' | 'WebMarketing' | 'Android' | 'iOS' | 'Teach
450
450
  export type activateLicenseV2 = (params: {
451
451
  licenseKey: string
452
452
  platform?: TLicenseSource
453
+ studentLmsId?: string
453
454
  })
454
455
  => { license: License; subscription: Subscription }[]
455
456
 
@@ -621,6 +622,7 @@ export type createIncompleteSubscription = (params: {
621
622
  plan: string
622
623
  referralId?: string
623
624
  impactClickId?: string
625
+ paymentPlatform?: string
624
626
  }) => Promise<{
625
627
  clientSecret: string
626
628
  subscriptionId: string
package/Teach/Class.d.ts CHANGED
@@ -41,6 +41,7 @@ export type OrgStudent = Parse.Object<{
41
41
  user?: Study.Class.User
42
42
  displayFirstName?: string
43
43
  displayLastName?: string
44
+ lmsId?: string
44
45
  isArchived: boolean
45
46
  }>
46
47
  export type OrgStudentJSON = ReturnType<OrgStudent['toJSON']>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.56",
3
+ "version": "1.14.58",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",