@quesmed/types 2.6.137 → 2.6.138

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.
@@ -37,6 +37,7 @@ export type IEarningsVar = {
37
37
  source: ESubSource;
38
38
  universityId: number | null;
39
39
  useNetEarning: boolean;
40
+ productIds?: EProductType[];
40
41
  };
41
42
  export type IEarningsData = AdminData<IRevenue[], 'earnings'>;
42
43
  export declare const USER_STATUS: import("@apollo/client").DocumentNode;
@@ -129,12 +130,12 @@ export type IUserFeedbackGraphData = AdminData<Array<ITimeSeriesData>, 'userFeed
129
130
  export declare const EARNINGS_GRAPH: import("@apollo/client").DocumentNode;
130
131
  export type IEarningsGraphVar = {
131
132
  year: number | null;
132
- productId: EProductType;
133
133
  subType: ESubType;
134
134
  source: ESubSource;
135
135
  universityId: number | null;
136
136
  force: boolean;
137
137
  useNetEarning: boolean;
138
+ productIds: EProductType[];
138
139
  };
139
140
  export type IEarningsGraphData = AdminData<Array<ITimeSeriesData>, 'earningsGraph'>;
140
141
  export declare const QUESTION_STATS: import("@apollo/client").DocumentNode;
@@ -25,6 +25,7 @@ exports.EARNINGS = (0, client_1.gql) `
25
25
  $source: Int
26
26
  $universityId: Int
27
27
  $useNetEarning: Boolean
28
+ $productIds: [Int]
28
29
  ) {
29
30
  admin {
30
31
  earnings(
@@ -36,6 +37,7 @@ exports.EARNINGS = (0, client_1.gql) `
36
37
  force: $force
37
38
  source: $source
38
39
  useNetEarning: $useNetEarning
40
+ productIds: $productIds
39
41
  ) {
40
42
  entitlement {
41
43
  id
@@ -178,23 +180,23 @@ exports.USER_FEEDBACK_GRAPH = (0, client_1.gql) `
178
180
  `;
179
181
  exports.EARNINGS_GRAPH = (0, client_1.gql) `
180
182
  query EarningsGraph(
181
- $productId: Int
182
183
  $year: Int
183
184
  $subType: Int
184
185
  $source: Int
185
186
  $universityId: Int
186
187
  $force: Boolean
187
188
  $useNetEarning: Boolean
189
+ $productIds: [Int]
188
190
  ) {
189
191
  admin {
190
192
  earningsGraph(
191
- productId: $productId
192
193
  year: $year
193
194
  subType: $subType
194
195
  source: $source
195
196
  universityId: $universityId
196
197
  force: $force
197
198
  useNetEarning: $useNetEarning
199
+ productIds: $productIds
198
200
  ) {
199
201
  month
200
202
  count
@@ -37,6 +37,7 @@ export type IEarningsVar = {
37
37
  source: ESubSource;
38
38
  universityId: number | null;
39
39
  useNetEarning: boolean;
40
+ productIds?: EProductType[];
40
41
  };
41
42
  export type IEarningsData = AdminData<IRevenue[], 'earnings'>;
42
43
  export declare const USER_STATUS: import("@apollo/client").DocumentNode;
@@ -129,12 +130,12 @@ export type IUserFeedbackGraphData = AdminData<Array<ITimeSeriesData>, 'userFeed
129
130
  export declare const EARNINGS_GRAPH: import("@apollo/client").DocumentNode;
130
131
  export type IEarningsGraphVar = {
131
132
  year: number | null;
132
- productId: EProductType;
133
133
  subType: ESubType;
134
134
  source: ESubSource;
135
135
  universityId: number | null;
136
136
  force: boolean;
137
137
  useNetEarning: boolean;
138
+ productIds: EProductType[];
138
139
  };
139
140
  export type IEarningsGraphData = AdminData<Array<ITimeSeriesData>, 'earningsGraph'>;
140
141
  export declare const QUESTION_STATS: import("@apollo/client").DocumentNode;
@@ -22,6 +22,7 @@ export const EARNINGS = gql `
22
22
  $source: Int
23
23
  $universityId: Int
24
24
  $useNetEarning: Boolean
25
+ $productIds: [Int]
25
26
  ) {
26
27
  admin {
27
28
  earnings(
@@ -33,6 +34,7 @@ export const EARNINGS = gql `
33
34
  force: $force
34
35
  source: $source
35
36
  useNetEarning: $useNetEarning
37
+ productIds: $productIds
36
38
  ) {
37
39
  entitlement {
38
40
  id
@@ -175,23 +177,23 @@ export const USER_FEEDBACK_GRAPH = gql `
175
177
  `;
176
178
  export const EARNINGS_GRAPH = gql `
177
179
  query EarningsGraph(
178
- $productId: Int
179
180
  $year: Int
180
181
  $subType: Int
181
182
  $source: Int
182
183
  $universityId: Int
183
184
  $force: Boolean
184
185
  $useNetEarning: Boolean
186
+ $productIds: [Int]
185
187
  ) {
186
188
  admin {
187
189
  earningsGraph(
188
- productId: $productId
189
190
  year: $year
190
191
  subType: $subType
191
192
  source: $source
192
193
  universityId: $universityId
193
194
  force: $force
194
195
  useNetEarning: $useNetEarning
196
+ productIds: $productIds
195
197
  ) {
196
198
  month
197
199
  count
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.137",
3
+ "version": "2.6.138",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",