@memberjunction/skip-types 0.9.54 → 0.9.55
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/dist/types.d.ts +18 -0
- package/dist/types.js +4 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -191,6 +191,19 @@ export declare class SkipQueryFieldInfo {
|
|
|
191
191
|
updatedAt: Date;
|
|
192
192
|
sourceEntity: string;
|
|
193
193
|
}
|
|
194
|
+
export declare class SkipAPIRequestAPIKey {
|
|
195
|
+
/**
|
|
196
|
+
* These are the supported LLM vendors that Skip can use. These driver names map to the
|
|
197
|
+
* registered classes in the MemberJunction AI namespace for example the @memberjunction/ai-openai package includes
|
|
198
|
+
* a class called OpenAILLM that is registered with the MemberJunction AI system as a valid sub-class of BaseLLM
|
|
199
|
+
*/
|
|
200
|
+
vendorDriverName: 'OpenAILLM' | 'MistralLLM' | 'GeminiLLM' | 'AnthropicLLM';
|
|
201
|
+
/**
|
|
202
|
+
* This is the actual API key for the specified vendor.
|
|
203
|
+
* NOTE: Skip NEVER stores this information, it is only used to make requests to the AI vendor of choice
|
|
204
|
+
*/
|
|
205
|
+
apiKey: string;
|
|
206
|
+
}
|
|
194
207
|
/**
|
|
195
208
|
* Defines the shape of the data that is expected by the Skip API Server when making a request
|
|
196
209
|
*/
|
|
@@ -225,6 +238,11 @@ export declare class SkipAPIRequest {
|
|
|
225
238
|
* The request phase, defined within the SkipRequestPhase type
|
|
226
239
|
*/
|
|
227
240
|
requestPhase: SkipRequestPhase;
|
|
241
|
+
/**
|
|
242
|
+
* One or more API keys that are used for AI systems that Skip will access on behalf of the API caller
|
|
243
|
+
* NOTE: This is not where you put in the bearer token for the Skip API server itself, that goes in the header of the request
|
|
244
|
+
*/
|
|
245
|
+
apiKeys: SkipAPIRequestAPIKey[];
|
|
228
246
|
}
|
|
229
247
|
export declare class SkipAPIRunScriptRequest extends SkipAPIRequest {
|
|
230
248
|
/**
|
package/dist/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkipDataRequest = exports.SkipDataRequestType = exports.SkipAPIDataRequestResponse = exports.SkipAPIClarifyingQuestionResponse = exports.SkipAPIAnalysisCompleteResponse = exports.SkipAPIAnalysisDrillDown = exports.SkipAPIAnalysisDrillDownFilter = exports.SkipAPIResponse = exports.SkipResponsePhase = exports.SkipAPIRunScriptRequest = exports.SkipAPIRequest = exports.SkipQueryFieldInfo = exports.SkipQueryInfo = exports.SkipEntityInfo = exports.SkipEntityRelationshipInfo = exports.SkipEntityFieldInfo = exports.SkipRequestPhase = exports.SkipColumnInfo = exports.SkipMessage = exports.SkipSubProcessResponse = exports.MJAPISkipResult = void 0;
|
|
3
|
+
exports.SkipDataRequest = exports.SkipDataRequestType = exports.SkipAPIDataRequestResponse = exports.SkipAPIClarifyingQuestionResponse = exports.SkipAPIAnalysisCompleteResponse = exports.SkipAPIAnalysisDrillDown = exports.SkipAPIAnalysisDrillDownFilter = exports.SkipAPIResponse = exports.SkipResponsePhase = exports.SkipAPIRunScriptRequest = exports.SkipAPIRequest = exports.SkipAPIRequestAPIKey = exports.SkipQueryFieldInfo = exports.SkipQueryInfo = exports.SkipEntityInfo = exports.SkipEntityRelationshipInfo = exports.SkipEntityFieldInfo = exports.SkipRequestPhase = exports.SkipColumnInfo = exports.SkipMessage = exports.SkipSubProcessResponse = exports.MJAPISkipResult = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* This type defines the shape of data that is passed back from the MJ API server to callers, typically the MJ Explorer UI
|
|
6
6
|
*/
|
|
@@ -63,6 +63,9 @@ exports.SkipQueryInfo = SkipQueryInfo;
|
|
|
63
63
|
class SkipQueryFieldInfo {
|
|
64
64
|
}
|
|
65
65
|
exports.SkipQueryFieldInfo = SkipQueryFieldInfo;
|
|
66
|
+
class SkipAPIRequestAPIKey {
|
|
67
|
+
}
|
|
68
|
+
exports.SkipAPIRequestAPIKey = SkipAPIRequestAPIKey;
|
|
66
69
|
/**
|
|
67
70
|
* Defines the shape of the data that is expected by the Skip API Server when making a request
|
|
68
71
|
*/
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,MAAa,eAAe;CAgD3B;AAhDD,0CAgDC;AAGD;;;;GAIG;AACH,MAAa,sBAAsB;CAOlC;AAPD,wDAOC;AAGD;;;GAGG;AACH,MAAa,WAAW;CASvB;AATD,kCASC;AAID;;GAEG;AACH,MAAa,cAAc;CAK1B;AALD,wCAKC;AAGD;;;;;;;;GAQG;AACU,QAAA,gBAAgB,GAAG;IAC5B,eAAe,EAAE,iBAAiB;IAClC,yBAAyB,EAAE,2BAA2B;IACtD,uBAAuB,EAAE,yBAAyB;IAClD,sBAAsB,EAAE,wBAAwB;IAChD,mBAAmB,EAAE,qBAAqB;CACpC,CAAC;AAGX,MAAa,mBAAmB;CA4B/B;AA5BD,kDA4BC;AAED,MAAa,0BAA0B;CAatC;AAbD,gEAaC;AAED,MAAa,cAAc;IAA3B;QAMI,WAAM,GAAyB,EAAE,CAAC;QAClC,oBAAe,GAAiC,EAAE,CAAC;IACvD,CAAC;CAAA;AARD,wCAQC;AAED,MAAa,aAAa;CAczB;AAdD,sCAcC;AACD,MAAa,kBAAkB;CAsB9B;AAtBD,gDAsBC;AAED;;GAEG;AACH,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,MAAa,eAAe;CAgD3B;AAhDD,0CAgDC;AAGD;;;;GAIG;AACH,MAAa,sBAAsB;CAOlC;AAPD,wDAOC;AAGD;;;GAGG;AACH,MAAa,WAAW;CASvB;AATD,kCASC;AAID;;GAEG;AACH,MAAa,cAAc;C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YAAY,EAAE,cAAc;CACtB,CAAC;AAIX;;GAEG;AACH,MAAa,eAAe;CAa3B;AAbD,0CAaC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/skip-types",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.55",
|
|
4
4
|
"description": "MemberJunction: Skip AI Assistant - Types that are used between the MJAPI and the Skip API as well as the UI within MemberJunction Explorer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|