@quesmed/types-rn 2.6.139 → 2.6.141

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/models/User.d.ts CHANGED
@@ -294,7 +294,12 @@ export interface IUserStats {
294
294
  userId: number;
295
295
  score: number;
296
296
  percentile: number;
297
- median: number;
297
+ meanScore: number;
298
+ meanPercentile: number;
299
+ medianScore: number;
300
+ medianPercentile: number;
301
+ stddevScore: number;
302
+ stddevPercentile: number;
298
303
  series: [x: number, y: number][];
299
304
  }
300
305
  export interface IUserActivity {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.139",
3
+ "version": "2.6.141",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -163,6 +163,7 @@ const clinicalEntitlementMap = {
163
163
  [models_1.EProductType.PLAB1]: models_1.EEntitlementType.PLAB_1,
164
164
  [models_1.EProductType.MRCP_PART1]: models_1.EEntitlementType.MRCP_PART_1,
165
165
  [models_1.EProductType.MRCP_PART2]: models_1.EEntitlementType.MRCP_PART_2,
166
+ [models_1.EProductType.MRCP_VIDEO]: models_1.EEntitlementType.MRCP_VIDEO,
166
167
  };
167
168
  const getEntitlementFromTopicType = (typeId, productType, entitlementInfo) => {
168
169
  let entitlement;
@@ -1,6 +1,7 @@
1
1
  export declare const CREATE_NEW_SUBSCRIPTION_CHECKOUT_SESSION: import("@apollo/client").DocumentNode;
2
2
  export interface ICreateNewSubscriptionCheckoutSessionVar {
3
3
  priceId: string;
4
+ additionalPriceId?: string;
4
5
  }
5
6
  export type ICreateNewSubscriptionCheckoutSessionData = {
6
7
  validUserToken: {
@@ -10,6 +11,7 @@ export type ICreateNewSubscriptionCheckoutSessionData = {
10
11
  export declare const CREATE_NEW_ONE_OFF_CHECKOUT_SESSION: import("@apollo/client").DocumentNode;
11
12
  export interface ICreateNewOneOffCheckoutSessionVar {
12
13
  priceId: string;
14
+ additionalPriceId?: string;
13
15
  }
14
16
  export type ICreateNewOneOffCheckoutSessionData = {
15
17
  validUserToken: {
@@ -3,16 +3,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VALID_USER_TOKEN = exports.CREATE_NEW_ONE_OFF_CHECKOUT_SESSION = exports.CREATE_NEW_SUBSCRIPTION_CHECKOUT_SESSION = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.CREATE_NEW_SUBSCRIPTION_CHECKOUT_SESSION = (0, client_1.gql) `
6
- mutation CreateNewSubscriptionCheckoutSession($priceId: String!) {
6
+ mutation CreateNewSubscriptionCheckoutSession(
7
+ $priceId: String!
8
+ $additionalPriceId: String
9
+ ) {
7
10
  validUserToken {
8
- createNewSubscriptionCheckoutSession(priceId: $priceId)
11
+ createNewSubscriptionCheckoutSession(
12
+ priceId: $priceId
13
+ additionalPriceId: $additionalPriceId
14
+ )
9
15
  }
10
16
  }
11
17
  `;
12
18
  exports.CREATE_NEW_ONE_OFF_CHECKOUT_SESSION = (0, client_1.gql) `
13
- mutation CreateNewOneOffCheckoutSession($priceId: String!) {
19
+ mutation CreateNewOneOffCheckoutSession(
20
+ $priceId: String!
21
+ $additionalPriceId: String
22
+ ) {
14
23
  validUserToken {
15
- createNewOneOffCheckoutSession(priceId: $priceId)
24
+ createNewOneOffCheckoutSession(
25
+ priceId: $priceId
26
+ additionalPriceId: $additionalPriceId
27
+ )
16
28
  }
17
29
  }
18
30
  `;
@@ -124,7 +124,12 @@ exports.USER_STATS = (0, client_1.gql) `
124
124
  userId
125
125
  score
126
126
  percentile
127
- median
127
+ medianScore
128
+ medianPercentile
129
+ meanScore
130
+ meanPercentile
131
+ stddevScore
132
+ stddevPercentile
128
133
  series
129
134
  }
130
135
  }