@quesmed/types-rn 2.6.187 → 2.6.189

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.
@@ -46,7 +46,9 @@ export declare enum EProductType {
46
46
  QUANTITATIVE_REASONING = 51,
47
47
  SITUATIONAL_JUDGEMENT = 52,
48
48
  MRCP_VIDEO = 53,
49
- MRCP_BUNDLE = 54
49
+ MRCP_BUNDLE = 54,
50
+ COMPLETE_CLINICAL_BUNDLE = 55,
51
+ UNDERGRAD_BUNDLE = 56
50
52
  }
51
53
  export declare enum EEntitlementType {
52
54
  ALL = 0,
package/models/Product.js CHANGED
@@ -50,6 +50,8 @@ var EProductType;
50
50
  EProductType[EProductType["SITUATIONAL_JUDGEMENT"] = 52] = "SITUATIONAL_JUDGEMENT";
51
51
  EProductType[EProductType["MRCP_VIDEO"] = 53] = "MRCP_VIDEO";
52
52
  EProductType[EProductType["MRCP_BUNDLE"] = 54] = "MRCP_BUNDLE";
53
+ EProductType[EProductType["COMPLETE_CLINICAL_BUNDLE"] = 55] = "COMPLETE_CLINICAL_BUNDLE";
54
+ EProductType[EProductType["UNDERGRAD_BUNDLE"] = 56] = "UNDERGRAD_BUNDLE";
53
55
  })(EProductType = exports.EProductType || (exports.EProductType = {}));
54
56
  var EEntitlementType;
55
57
  (function (EEntitlementType) {
package/models/User.d.ts CHANGED
@@ -63,6 +63,8 @@ export interface IPayload {
63
63
  qbankSubscriptionEndDate: number | null;
64
64
  osceSubscriptionEndDate: number | null;
65
65
  bundleSubscriptionEndDate: number | null;
66
+ undergradBundleSubscriptionEndDate: number | null;
67
+ completeClinicalBundleSubscriptionEndDate: number | null;
66
68
  anatomySubscriptionEndDate: number | null;
67
69
  medicalSciencesSubscriptionEndDate: number | null;
68
70
  anatomyBundleSubscriptionEndDate: number | null;
@@ -176,6 +178,8 @@ export interface IUser {
176
178
  qbankSubscriptionEndDate: number | Date | null;
177
179
  osceSubscriptionEndDate: number | Date | null;
178
180
  bundleSubscriptionEndDate: number | Date | null;
181
+ undergradBundleSubscriptionEndDate: number | Date | null;
182
+ completeClinicalBundleSubscriptionEndDate: number | Date | null;
179
183
  mrcpBundleSubscriptionEndDate: number | Date | null;
180
184
  mrcpPart1SubscriptionEndDate: number | Date | null;
181
185
  mrcpPart2SubscriptionEndDate: number | Date | null;
package/models/User.js CHANGED
@@ -34,6 +34,8 @@ exports.subscriptionDates = [
34
34
  'qbankSubscriptionEndDate',
35
35
  'osceSubscriptionEndDate',
36
36
  'bundleSubscriptionEndDate',
37
+ 'undergradBundleSubscriptionEndDate',
38
+ 'completeClinicalBundleSubscriptionEndDate',
37
39
  'anatomySubscriptionEndDate',
38
40
  'medicalSciencesSubscriptionEndDate',
39
41
  'anatomyBundleSubscriptionEndDate',
@@ -56,6 +58,8 @@ exports.dateProductMapping = {
56
58
  qbankSubscriptionEndDate: Product_1.EProductType.QBANK,
57
59
  osceSubscriptionEndDate: Product_1.EProductType.OSCE,
58
60
  bundleSubscriptionEndDate: Product_1.EProductType.BUNDLE,
61
+ undergradBundleSubscriptionEndDate: Product_1.EProductType.UNDERGRAD_BUNDLE,
62
+ completeClinicalBundleSubscriptionEndDate: Product_1.EProductType.COMPLETE_CLINICAL_BUNDLE,
59
63
  anatomySubscriptionEndDate: Product_1.EProductType.ANATOMY,
60
64
  medicalSciencesSubscriptionEndDate: Product_1.EProductType.MEDICAL_SCIENCES,
61
65
  anatomyBundleSubscriptionEndDate: Product_1.EProductType.ANATOMY_BUNDLE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.187",
3
+ "version": "2.6.189",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -35,6 +35,16 @@ exports.productMapping = {
35
35
  topicType: ALL_TOPIC_TYPE_WITHOUT_ANATOMY,
36
36
  mockType: ALL_MOCKS_WITHOUT_ANATOMY,
37
37
  },
38
+ [models_1.EProductType.COMPLETE_CLINICAL_BUNDLE]: {
39
+ db: enums_1.DB_TYPE.FINALS,
40
+ topicType: ALL_TOPIC_TYPE,
41
+ mockType: ALL_MOCKS,
42
+ },
43
+ [models_1.EProductType.UNDERGRAD_BUNDLE]: {
44
+ db: enums_1.DB_TYPE.FINALS,
45
+ topicType: ALL_TOPIC_TYPE,
46
+ mockType: ALL_MOCKS,
47
+ },
38
48
  [models_1.EProductType.MRCP_BUNDLE]: {
39
49
  db: enums_1.DB_TYPE.FINALS,
40
50
  topicType: [models_1.ETopicType.CLINICAL],
@@ -103,6 +103,8 @@ exports.USER_FIELDS = (0, client_1.gql) `
103
103
  qbankSubscriptionEndDate
104
104
  osceSubscriptionEndDate
105
105
  bundleSubscriptionEndDate
106
+ undergradBundleSubscriptionEndDate
107
+ completeClinicalBundleSubscriptionEndDate
106
108
 
107
109
  # pre-clinical
108
110
  anatomySubscriptionEndDate