@quesmed/types 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.
@@ -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;
@@ -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) {
@@ -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;
@@ -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;
@@ -9,7 +9,8 @@ export var EJobAttemptType;
9
9
  EJobAttemptType[EJobAttemptType["ALL"] = 0] = "ALL";
10
10
  EJobAttemptType[EJobAttemptType["FIRST_ATTEMPT"] = 1] = "FIRST_ATTEMPT";
11
11
  EJobAttemptType[EJobAttemptType["LATEST_ATTEMPT"] = 2] = "LATEST_ATTEMPT";
12
- EJobAttemptType[EJobAttemptType["SINCE_LAST_MODIFICATION"] = 3] = "SINCE_LAST_MODIFICATION";
12
+ EJobAttemptType[EJobAttemptType["VOTE_ATTEMPT"] = 3] = "VOTE_ATTEMPT";
13
+ EJobAttemptType[EJobAttemptType["SINCE_LAST_MODIFICATION"] = 4] = "SINCE_LAST_MODIFICATION";
13
14
  })(EJobAttemptType || (EJobAttemptType = {}));
14
15
  export var EJobStatus;
15
16
  (function (EJobStatus) {
@@ -55,6 +55,7 @@ export const JOB_ASSET_FRAGMENT = gql `
55
55
  `;
56
56
  export const JOB_RECORD_METRICS_SUMMARY_FRAGMENT = gql `
57
57
  fragment JobRecordMetricsSummary on JobRecordMetricsSummary {
58
+ id
58
59
  total
59
60
  correct
60
61
  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'>;
@@ -22,15 +22,21 @@ export const RESET_QUES_DIFFICULTY = gql `
22
22
  `;
23
23
  export const MANAGE_USER_SUBS = gql `
24
24
  mutation ManageUserSubs(
25
- $username: String!
25
+ $usernames: [String]!
26
26
  $password: String
27
27
  $stripePriceIds: [String!]!
28
+ $emailNotification: EmailInput
29
+ $cancelAtPeriodEnd: Boolean!
30
+ $description: String
28
31
  ) {
29
32
  admin {
30
33
  manageUserSubs(
31
- username: $username
34
+ usernames: $usernames
32
35
  password: $password
33
36
  stripePriceIds: $stripePriceIds
37
+ emailNotification: $emailNotification
38
+ cancelAtPeriodEnd: $cancelAtPeriodEnd
39
+ description: $description
34
40
  )
35
41
  }
36
42
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.185",
3
+ "version": "2.6.187",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",