knowmax-quest-types 3.0.0-beta.1 → 3.0.1

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/README.md CHANGED
@@ -5,32 +5,3 @@ Contains types used for consuming data returned from Knowmax Quest.
5
5
  ## License
6
6
 
7
7
  This repository is [licensed MIT](LICENSE), which waives all copyright restrictions.
8
-
9
- ## Jest Configuration for ES Modules
10
-
11
- When using this package with Jest in an ES module project, configure your `jest.config.ts` as follows:
12
-
13
- ```typescript
14
- import type { JestConfigWithTsJest } from 'ts-jest'
15
-
16
- const jestConfig: JestConfigWithTsJest = {
17
- preset: 'ts-jest/presets/default-esm',
18
- extensionsToTreatAsEsm: ['.ts'],
19
- testEnvironment: 'node',
20
- transform: {
21
- '^.+\\.(ts|tsx)$': ['ts-jest', {
22
- useESM: true
23
- }],
24
- '^.+\\.(js|jsx)$': ['ts-jest', {
25
- useESM: true
26
- }]
27
- },
28
- moduleNameMapper: {
29
- '^(\\.{1,2}/.*)\\.js$': '$1'
30
- },
31
- transformIgnorePatterns: [
32
- 'node_modules/(?!knowmax-quest-types/)'
33
- ]
34
- }
35
-
36
- export default jestConfig
@@ -1 +1 @@
1
- {"version":3,"file":"IDocumentInsightOptions.d.ts","sourceRoot":"","sources":["../../src/IDocumentInsightOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,oBAAY,6BAA6B;IAAG,IAAI,SAAS;IAAE,IAAI,SAAS;CAAE;AAE1E,wDAAwD;AACxD,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,uMAAuM;IACvM,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,8FAA8F;IAC9F,cAAc,CAAC,EAAE,6BAA6B,CAAC;CAChD"}
1
+ {"version":3,"file":"IDocumentInsightOptions.d.ts","sourceRoot":"","sources":["../../src/IDocumentInsightOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,oBAAY,6BAA6B;IAAG,IAAI,SAAS;IAAE,IAAI,SAAS;CAAE;AAE1E,wDAAwD;AACxD,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,uMAAuM;IACvM,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB,8FAA8F;IAC9F,cAAc,CAAC,EAAE,6BAA6B,CAAA;CAC/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"IIndexResearchOptions.d.ts","sourceRoot":"","sources":["../../src/IIndexResearchOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"IIndexResearchOptions.d.ts","sourceRoot":"","sources":["../../src/IIndexResearchOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
@@ -6,11 +6,13 @@ export interface IIntelligenceBaseOptions {
6
6
  indexDefinitionName?: string;
7
7
  /** Used to determine intelligence model for application if intelligenceModelLabel is not provided. */
8
8
  applicationName?: string;
9
+ /** Set if conversation that will be created for this request is ment to be temporary and thus should be deleted soon after use. */
10
+ temporary?: boolean;
11
+ /** Set to ignore conversation for this request. Na data will be read or written from or to conversation history. */
12
+ ignoreConversation?: boolean;
9
13
  /** Optional conversation id to maintain context across multiple requests. */
10
14
  conversationId?: string;
11
15
  /** Array of chat messages to use for this request. */
12
16
  chatMessages: IIntelligenceChatMessage[];
13
- /** Set to ignore conversation for this request. Na data will be read or written from or to conversation history. */
14
- ignoreConversation?: boolean;
15
17
  }
16
18
  //# sourceMappingURL=IIntelligenceBaseOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IIntelligenceBaseOptions.d.ts","sourceRoot":"","sources":["../../src/IIntelligenceBaseOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,wBAAwB;IACvC,sIAAsI;IACtI,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC,wHAAwH;IACxH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,uGAAuG;IACvG,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,uDAAuD;IACvD,YAAY,EAAE,wBAAwB,EAAE,CAAC;IAEzC,oHAAoH;IACpH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B"}
1
+ {"version":3,"file":"IIntelligenceBaseOptions.d.ts","sourceRoot":"","sources":["../../src/IIntelligenceBaseOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,wBAAwB;IACvC,sIAAsI;IACtI,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAE/B,wHAAwH;IACxH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B,uGAAuG;IACvG,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,mIAAmI;IACnI,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,oHAAoH;IACpH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,uDAAuD;IACvD,YAAY,EAAE,wBAAwB,EAAE,CAAA;CACzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.1",
4
4
  "description": "Contains type definitions for communicating with Knowmax Quest.",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -39,8 +39,8 @@
39
39
  "author": "Knowmax BV",
40
40
  "license": "MIT",
41
41
  "devDependencies": {
42
- "@jest/globals": "^30.0.0",
43
- "jest": "^30.0.0",
42
+ "@jest/globals": "^30.0.2",
43
+ "jest": "^30.0.2",
44
44
  "rimraf": "6.0.1",
45
45
  "ts-jest": "^29.4.0",
46
46
  "ts-node": "^10.9.2",