@pocketprep/types 1.16.19 → 1.16.21

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
@@ -316,6 +316,7 @@ export type License = Parse.Object<{
316
316
  linkedLicenses?: License[]
317
317
  salesGuid?: string // payment provider unique ID values, eg Hubspot LineItem Ids
318
318
  studentLmsId?: string // if license was assigned automatically from an LMS integration, stores student's ID here
319
+ durationDays?: number // number of days the license is valid for once redeemed, year or 1000 if null
319
320
  }>
320
321
 
321
322
  export type LicensePayload = Payload<License>
@@ -330,6 +331,7 @@ export interface SubscriptionBase {
330
331
  isTrial: boolean
331
332
  source?: SubscriptionSource[keyof SubscriptionSource]
332
333
  days?: number
334
+ paymentPlatform?: Platform
333
335
  }
334
336
 
335
337
  export type SubscriptionExam = Parse.Object<SubscriptionBase & {
package/Study/Cloud.d.ts CHANGED
@@ -660,7 +660,7 @@ export type createIncompleteSubscription = (params: {
660
660
 
661
661
  export type activateSubscription = (params: {
662
662
  subscriptionId: string
663
- paymentPlatform: string
663
+ paymentPlatform: Platform
664
664
  }) => Promise<SubscriptionBundle>
665
665
 
666
666
  export type fetchLevelUpQuizQuestions = (params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.16.19",
3
+ "version": "1.16.21",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",