@quesmed/types 2.6.154 → 2.6.156

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.
@@ -7,6 +7,7 @@ export interface AISettings {
7
7
  userPrompt?: string;
8
8
  apiKey: string;
9
9
  model?: string;
10
+ n?: number;
10
11
  }
11
12
  export interface IHighYieldVar {
12
13
  chapterIds: Id[];
@@ -20,3 +21,19 @@ export interface IDownloadBatchVar {
20
21
  }
21
22
  export type IDownloadBatchData = AdminData<graphqlNormalize & string, 'downloadBatch'>;
22
23
  export declare const DOWNLOAD_BATCH: import("@apollo/client").DocumentNode;
24
+ export interface IPromptLabVar {
25
+ input: AISettings;
26
+ }
27
+ interface IPromptLabMessage {
28
+ role: string;
29
+ content: string;
30
+ refusal: string;
31
+ }
32
+ interface IPromptLabResult {
33
+ index: number;
34
+ finishReason: string;
35
+ message: IPromptLabMessage;
36
+ }
37
+ export type IPromptLabData = AdminData<graphqlNormalize & Array<IPromptLabResult>, 'promptLab'>;
38
+ export declare const PROMPT_LAB: import("@apollo/client").DocumentNode;
39
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DOWNLOAD_BATCH = exports.HIGH_YIELD = void 0;
3
+ exports.PROMPT_LAB = exports.DOWNLOAD_BATCH = exports.HIGH_YIELD = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.HIGH_YIELD = (0, client_1.gql) `
6
6
  mutation HighYield($chapterIds: [Int!]!, $settings: AISettingsInput!) {
@@ -16,3 +16,18 @@ exports.DOWNLOAD_BATCH = (0, client_1.gql) `
16
16
  }
17
17
  }
18
18
  `;
19
+ exports.PROMPT_LAB = (0, client_1.gql) `
20
+ mutation promptLab($input: AISettingsInput!) {
21
+ admin {
22
+ promptLab(input: $input) {
23
+ index
24
+ finishReason
25
+ message {
26
+ role
27
+ content
28
+ refusal
29
+ }
30
+ }
31
+ }
32
+ }
33
+ `;
@@ -40,6 +40,8 @@ export type IEarningsVar = {
40
40
  countryName: string | null;
41
41
  useNetEarning: boolean;
42
42
  productIds?: EProductType[];
43
+ graduationYear?: number;
44
+ classYear?: string;
43
45
  };
44
46
  export type IEarningsData = AdminData<IRevenue[], 'earnings'>;
45
47
  export declare const USER_STATUS: import("@apollo/client").DocumentNode;
@@ -27,6 +27,8 @@ exports.EARNINGS = (0, client_1.gql) `
27
27
  $useNetEarning: Boolean
28
28
  $productIds: [Int]
29
29
  $countryName: String
30
+ $graduationYear: Int
31
+ $classYear: String
30
32
  ) {
31
33
  admin {
32
34
  earnings(
@@ -40,6 +42,8 @@ exports.EARNINGS = (0, client_1.gql) `
40
42
  useNetEarning: $useNetEarning
41
43
  productIds: $productIds
42
44
  countryName: $countryName
45
+ graduationYear: $graduationYear
46
+ classYear: $classYear
43
47
  ) {
44
48
  entitlement {
45
49
  id
@@ -7,6 +7,7 @@ export interface AISettings {
7
7
  userPrompt?: string;
8
8
  apiKey: string;
9
9
  model?: string;
10
+ n?: number;
10
11
  }
11
12
  export interface IHighYieldVar {
12
13
  chapterIds: Id[];
@@ -20,3 +21,19 @@ export interface IDownloadBatchVar {
20
21
  }
21
22
  export type IDownloadBatchData = AdminData<graphqlNormalize & string, 'downloadBatch'>;
22
23
  export declare const DOWNLOAD_BATCH: import("@apollo/client").DocumentNode;
24
+ export interface IPromptLabVar {
25
+ input: AISettings;
26
+ }
27
+ interface IPromptLabMessage {
28
+ role: string;
29
+ content: string;
30
+ refusal: string;
31
+ }
32
+ interface IPromptLabResult {
33
+ index: number;
34
+ finishReason: string;
35
+ message: IPromptLabMessage;
36
+ }
37
+ export type IPromptLabData = AdminData<graphqlNormalize & Array<IPromptLabResult>, 'promptLab'>;
38
+ export declare const PROMPT_LAB: import("@apollo/client").DocumentNode;
39
+ export {};
@@ -13,3 +13,18 @@ export const DOWNLOAD_BATCH = gql `
13
13
  }
14
14
  }
15
15
  `;
16
+ export const PROMPT_LAB = gql `
17
+ mutation promptLab($input: AISettingsInput!) {
18
+ admin {
19
+ promptLab(input: $input) {
20
+ index
21
+ finishReason
22
+ message {
23
+ role
24
+ content
25
+ refusal
26
+ }
27
+ }
28
+ }
29
+ }
30
+ `;
@@ -40,6 +40,8 @@ export type IEarningsVar = {
40
40
  countryName: string | null;
41
41
  useNetEarning: boolean;
42
42
  productIds?: EProductType[];
43
+ graduationYear?: number;
44
+ classYear?: string;
43
45
  };
44
46
  export type IEarningsData = AdminData<IRevenue[], 'earnings'>;
45
47
  export declare const USER_STATUS: import("@apollo/client").DocumentNode;
@@ -24,6 +24,8 @@ export const EARNINGS = gql `
24
24
  $useNetEarning: Boolean
25
25
  $productIds: [Int]
26
26
  $countryName: String
27
+ $graduationYear: Int
28
+ $classYear: String
27
29
  ) {
28
30
  admin {
29
31
  earnings(
@@ -37,6 +39,8 @@ export const EARNINGS = gql `
37
39
  useNetEarning: $useNetEarning
38
40
  productIds: $productIds
39
41
  countryName: $countryName
42
+ graduationYear: $graduationYear
43
+ classYear: $classYear
40
44
  ) {
41
45
  entitlement {
42
46
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.154",
3
+ "version": "2.6.156",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",