@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 +6 -1
- package/Study/Cloud.d.ts +2 -0
- package/Teach/Class.d.ts +1 -0
- package/package.json +1 -1
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