@memberjunction/skip-types 1.1.2 → 1.2.0
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 +13 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +13 -3
- package/dist/types.js.map +1 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export declare class SkipColumnInfo {
|
|
|
92
92
|
* * data_gathering_response: Sometimes the Skip API server responds back to your request with a responsePhase of 'data_request' - in this situation, the MJAPI server needs to process the data request, gather whatever additional data the Skip API has asked for, and then return it in the dataContext property of the SkipAPIRequest object. When you are finished gathering data and returning it to the Skip API server, use this requestPhase
|
|
93
93
|
* * data_gathering_failure: When you send an API request to the Skip API server saying there was a data_gathering_failure that means that you attempted to retrieve data Skip requested but there was (typically) an error in the SQL statement that Skip generated and it needs to be regenerated. The MJAPI server code handles this scenario automatically.
|
|
94
94
|
* * run_existing_script: Use this to run an existing script that was already processed. When this option is used, the script provided is run and the results are provided in the response.
|
|
95
|
+
* * chat_with_a_record: This is used for the simple record chatting feature that is separate from other Skip API features. This is used for having a chat conversation with Skip about a specific record in the database that the user is typically looking at in a UI.
|
|
95
96
|
*/
|
|
96
97
|
export declare const SkipRequestPhase: {
|
|
97
98
|
readonly initial_request: "initial_request";
|
|
@@ -99,6 +100,7 @@ export declare const SkipRequestPhase: {
|
|
|
99
100
|
readonly data_gathering_response: "data_gathering_response";
|
|
100
101
|
readonly data_gathering_failure: "data_gathering_failure";
|
|
101
102
|
readonly run_existing_script: "run_existing_script";
|
|
103
|
+
readonly chat_with_a_record: "chat_with_a_record";
|
|
102
104
|
};
|
|
103
105
|
export type SkipRequestPhase = typeof SkipRequestPhase[keyof typeof SkipRequestPhase];
|
|
104
106
|
export declare class SkipEntityFieldInfo {
|
|
@@ -264,12 +266,14 @@ export declare class SkipAPIRunScriptRequest extends SkipAPIRequest {
|
|
|
264
266
|
* * clarifying_question: The Skip API server is asking for a clarifying question to be asked to the user - typecast the response to SkipAPIClarifyingQuestionResponse for all of the additional properties that are available in this response phase
|
|
265
267
|
* * data_request: The Skip API server is asking for additional data to be gathered - typecast the response to SkipAPIDataRequestResponse for all of the additional properties that are available in this response phase
|
|
266
268
|
* * analysis_complete: The Skip API server has completed the analysis and is providing the results - typecast the response to SkipAPIAnalysisCompleteResponse for all of the additional properties that are available in this response phase
|
|
269
|
+
* * chat_with_a_record_complete: The Skip API server has completed the chat with a record and is providing the results - typecast the response to SkipAPIChatWithRecordResponse for all of the additional properties that are available in this response phase
|
|
267
270
|
*/
|
|
268
271
|
export declare const SkipResponsePhase: {
|
|
269
272
|
readonly status_update: "status_update";
|
|
270
273
|
readonly clarifying_question: "clarifying_question";
|
|
271
274
|
readonly data_request: "data_request";
|
|
272
275
|
readonly analysis_complete: "analysis_complete";
|
|
276
|
+
readonly chat_with_a_record_complete: "chat_with_a_record_complete";
|
|
273
277
|
};
|
|
274
278
|
export type SkipResponsePhase = typeof SkipResponsePhase[keyof typeof SkipResponsePhase];
|
|
275
279
|
/**
|
|
@@ -320,6 +324,15 @@ export declare class SkipAPIAnalysisDrillDown {
|
|
|
320
324
|
*/
|
|
321
325
|
filters: SkipAPIAnalysisDrillDownFilter[];
|
|
322
326
|
}
|
|
327
|
+
/**
|
|
328
|
+
* Defines the shape of the data that is returned by the Skip API Server when the responsePhase is 'chat_with_a_record_complete'
|
|
329
|
+
*/
|
|
330
|
+
export declare class SkipAPIChatWithRecordResponse extends SkipAPIResponse {
|
|
331
|
+
/**
|
|
332
|
+
* The response from the AI model regarding the user request
|
|
333
|
+
*/
|
|
334
|
+
response: string;
|
|
335
|
+
}
|
|
323
336
|
/**
|
|
324
337
|
* Defines the shape of the data that is returned by the Skip API Server when the responsePhase is 'analysis_complete'
|
|
325
338
|
*/
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types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CAGtB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAG/F;;GAEG;AACH,qBAAa,eAAe;IACxB;;OAEG;IACH,IAAI,EAAG,mBAAmB,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAG,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
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.SkipAPIRequestAPIKey = 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.SkipAPIChatWithRecordResponse = 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
|
*/
|
|
@@ -36,13 +36,15 @@ exports.SkipColumnInfo = SkipColumnInfo;
|
|
|
36
36
|
* * data_gathering_response: Sometimes the Skip API server responds back to your request with a responsePhase of 'data_request' - in this situation, the MJAPI server needs to process the data request, gather whatever additional data the Skip API has asked for, and then return it in the dataContext property of the SkipAPIRequest object. When you are finished gathering data and returning it to the Skip API server, use this requestPhase
|
|
37
37
|
* * data_gathering_failure: When you send an API request to the Skip API server saying there was a data_gathering_failure that means that you attempted to retrieve data Skip requested but there was (typically) an error in the SQL statement that Skip generated and it needs to be regenerated. The MJAPI server code handles this scenario automatically.
|
|
38
38
|
* * run_existing_script: Use this to run an existing script that was already processed. When this option is used, the script provided is run and the results are provided in the response.
|
|
39
|
+
* * chat_with_a_record: This is used for the simple record chatting feature that is separate from other Skip API features. This is used for having a chat conversation with Skip about a specific record in the database that the user is typically looking at in a UI.
|
|
39
40
|
*/
|
|
40
41
|
exports.SkipRequestPhase = {
|
|
41
42
|
initial_request: 'initial_request',
|
|
42
43
|
clarify_question_response: 'clarify_question_response',
|
|
43
44
|
data_gathering_response: 'data_gathering_response',
|
|
44
45
|
data_gathering_failure: 'data_gathering_failure',
|
|
45
|
-
run_existing_script: 'run_existing_script'
|
|
46
|
+
run_existing_script: 'run_existing_script',
|
|
47
|
+
chat_with_a_record: 'chat_with_a_record'
|
|
46
48
|
};
|
|
47
49
|
class SkipEntityFieldInfo {
|
|
48
50
|
}
|
|
@@ -81,12 +83,14 @@ exports.SkipAPIRunScriptRequest = SkipAPIRunScriptRequest;
|
|
|
81
83
|
* * clarifying_question: The Skip API server is asking for a clarifying question to be asked to the user - typecast the response to SkipAPIClarifyingQuestionResponse for all of the additional properties that are available in this response phase
|
|
82
84
|
* * data_request: The Skip API server is asking for additional data to be gathered - typecast the response to SkipAPIDataRequestResponse for all of the additional properties that are available in this response phase
|
|
83
85
|
* * analysis_complete: The Skip API server has completed the analysis and is providing the results - typecast the response to SkipAPIAnalysisCompleteResponse for all of the additional properties that are available in this response phase
|
|
86
|
+
* * chat_with_a_record_complete: The Skip API server has completed the chat with a record and is providing the results - typecast the response to SkipAPIChatWithRecordResponse for all of the additional properties that are available in this response phase
|
|
84
87
|
*/
|
|
85
88
|
exports.SkipResponsePhase = {
|
|
86
89
|
status_update: "status_update",
|
|
87
90
|
clarifying_question: "clarifying_question",
|
|
88
91
|
data_request: "data_request",
|
|
89
|
-
analysis_complete: "analysis_complete"
|
|
92
|
+
analysis_complete: "analysis_complete",
|
|
93
|
+
chat_with_a_record_complete: "chat_with_a_record_complete"
|
|
90
94
|
};
|
|
91
95
|
/**
|
|
92
96
|
* Defines the shape of the data that is returned by the Skip API Server
|
|
@@ -106,6 +110,12 @@ exports.SkipAPIAnalysisDrillDownFilter = SkipAPIAnalysisDrillDownFilter;
|
|
|
106
110
|
class SkipAPIAnalysisDrillDown {
|
|
107
111
|
}
|
|
108
112
|
exports.SkipAPIAnalysisDrillDown = SkipAPIAnalysisDrillDown;
|
|
113
|
+
/**
|
|
114
|
+
* Defines the shape of the data that is returned by the Skip API Server when the responsePhase is 'chat_with_a_record_complete'
|
|
115
|
+
*/
|
|
116
|
+
class SkipAPIChatWithRecordResponse extends SkipAPIResponse {
|
|
117
|
+
}
|
|
118
|
+
exports.SkipAPIChatWithRecordResponse = SkipAPIChatWithRecordResponse;
|
|
109
119
|
/**
|
|
110
120
|
* Defines the shape of the data that is returned by the Skip API Server when the responsePhase is 'analysis_complete'
|
|
111
121
|
*/
|
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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;CACpD,CAAC;AAIX;;GAEG;AACH,MAAa,eAAe;CAkB3B;AAlBD,0CAkBC;AAED;;GAEG;AACH,MAAa,8BAA8B;CAG1C;AAHD,wEAGC;AAED;;GAEG;AACH,MAAa,wBAAwB;CAepC;AAfD,4DAeC;AAGD;;GAEG;AACH,MAAa,6BAA8B,SAAQ,eAAe;CAKjE;AALD,sEAKC;AAED;;GAEG;AACH,MAAa,+BAAgC,SAAQ,eAAe;CAkCnE;AAlCD,0EAkCC;AAED;;GAEG;AACH,MAAa,iCAAkC,SAAQ,eAAe;CASrE;AATD,8EASC;AAED;;GAEG;AACH,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC;AAGD;;;;GAIG;AACU,QAAA,mBAAmB,GAAG;IAC/B,GAAG,EAAE,KAAK;IACV,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": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
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",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"typescript": "^5.3.3"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/core-entities": "~1.
|
|
23
|
-
"@memberjunction/data-context": "~1.
|
|
22
|
+
"@memberjunction/core-entities": "~1.2.0",
|
|
23
|
+
"@memberjunction/data-context": "~1.2.0"
|
|
24
24
|
}
|
|
25
25
|
}
|