@quesmed/types-rn 2.6.185 → 2.6.187

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/Job.d.ts CHANGED
@@ -13,7 +13,8 @@ export declare enum EJobAttemptType {
13
13
  ALL = 0,
14
14
  FIRST_ATTEMPT = 1,
15
15
  LATEST_ATTEMPT = 2,
16
- SINCE_LAST_MODIFICATION = 3
16
+ VOTE_ATTEMPT = 3,
17
+ SINCE_LAST_MODIFICATION = 4
17
18
  }
18
19
  export declare enum EJobStatus {
19
20
  ALL = 0,
@@ -145,6 +146,7 @@ export interface IJobRecordMockTest {
145
146
  }>;
146
147
  }
147
148
  export interface IJobRecordMetricsSummary {
149
+ id: string;
148
150
  total: number;
149
151
  correct: number;
150
152
  incorrect: number;
package/models/Job.js CHANGED
@@ -12,7 +12,8 @@ var EJobAttemptType;
12
12
  EJobAttemptType[EJobAttemptType["ALL"] = 0] = "ALL";
13
13
  EJobAttemptType[EJobAttemptType["FIRST_ATTEMPT"] = 1] = "FIRST_ATTEMPT";
14
14
  EJobAttemptType[EJobAttemptType["LATEST_ATTEMPT"] = 2] = "LATEST_ATTEMPT";
15
- EJobAttemptType[EJobAttemptType["SINCE_LAST_MODIFICATION"] = 3] = "SINCE_LAST_MODIFICATION";
15
+ EJobAttemptType[EJobAttemptType["VOTE_ATTEMPT"] = 3] = "VOTE_ATTEMPT";
16
+ EJobAttemptType[EJobAttemptType["SINCE_LAST_MODIFICATION"] = 4] = "SINCE_LAST_MODIFICATION";
16
17
  })(EJobAttemptType = exports.EJobAttemptType || (exports.EJobAttemptType = {}));
17
18
  var EJobStatus;
18
19
  (function (EJobStatus) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.185",
3
+ "version": "2.6.187",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -58,6 +58,7 @@ exports.JOB_ASSET_FRAGMENT = (0, client_1.gql) `
58
58
  `;
59
59
  exports.JOB_RECORD_METRICS_SUMMARY_FRAGMENT = (0, client_1.gql) `
60
60
  fragment JobRecordMetricsSummary on JobRecordMetricsSummary {
61
+ id
61
62
  total
62
63
  correct
63
64
  incorrect
@@ -13,9 +13,15 @@ export declare const RESET_QUES_DIFFICULTY: import("@apollo/client").DocumentNod
13
13
  export type IResetQueDifficultyVar = null;
14
14
  export type IResetQueDifficultyData = AdminData<boolean, 'resetQueDifficulty'>;
15
15
  export type IManageUserSubsVar = {
16
- username: string;
16
+ usernames: string[];
17
17
  password?: string;
18
18
  stripePriceIds: string[];
19
+ emailNotification?: {
20
+ subject?: string | null;
21
+ text?: string | null;
22
+ };
23
+ cancelAtPeriodEnd: boolean;
24
+ description?: string;
19
25
  };
20
26
  export declare const MANAGE_USER_SUBS: import("@apollo/client").DocumentNode;
21
27
  export type IManageUserSubsData = AdminData<boolean, 'manageUserSubs'>;
@@ -25,15 +25,21 @@ exports.RESET_QUES_DIFFICULTY = (0, client_1.gql) `
25
25
  `;
26
26
  exports.MANAGE_USER_SUBS = (0, client_1.gql) `
27
27
  mutation ManageUserSubs(
28
- $username: String!
28
+ $usernames: [String]!
29
29
  $password: String
30
30
  $stripePriceIds: [String!]!
31
+ $emailNotification: EmailInput
32
+ $cancelAtPeriodEnd: Boolean!
33
+ $description: String
31
34
  ) {
32
35
  admin {
33
36
  manageUserSubs(
34
- username: $username
37
+ usernames: $usernames
35
38
  password: $password
36
39
  stripePriceIds: $stripePriceIds
40
+ emailNotification: $emailNotification
41
+ cancelAtPeriodEnd: $cancelAtPeriodEnd
42
+ description: $description
37
43
  )
38
44
  }
39
45
  }
@@ -15,6 +15,7 @@ export type IGetJobsVar = {
15
15
  searchText?: string;
16
16
  memberIds?: number[];
17
17
  dbType: DB_TYPE;
18
+ questionIds?: number[];
18
19
  };
19
20
  page: number;
20
21
  take: number;