@memberjunction/skip-types 0.9.30 → 0.9.31
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 +2 -0
- package/dist/types.js +3 -1
- package/dist/types.js.map +1 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -91,12 +91,14 @@ export declare class SkipColumnInfo {
|
|
|
91
91
|
* * clarify_question_response: Sometimes the Skip API server responds back to your request with a responsePhase of 'clarifying_question' - in this situation, the MJAPI server needs to communicate with the UI to ask the follow up question to the user. When you have that feedback from the user gathered and are providing the response to the clarifying question back to Skip API, use this requestPhase
|
|
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
|
+
* * 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.
|
|
94
95
|
*/
|
|
95
96
|
export declare const SkipRequestPhase: {
|
|
96
97
|
readonly initial_request: "initial_request";
|
|
97
98
|
readonly clarify_question_response: "clarify_question_response";
|
|
98
99
|
readonly data_gathering_response: "data_gathering_response";
|
|
99
100
|
readonly data_gathering_failure: "data_gathering_failure";
|
|
101
|
+
readonly run_existing_script: "run_existing_script";
|
|
100
102
|
};
|
|
101
103
|
export type SkipRequestPhase = typeof SkipRequestPhase[keyof typeof SkipRequestPhase];
|
|
102
104
|
export declare class SkipEntityFieldInfo {
|
package/dist/types.js
CHANGED
|
@@ -35,12 +35,14 @@ exports.SkipColumnInfo = SkipColumnInfo;
|
|
|
35
35
|
* * clarify_question_response: Sometimes the Skip API server responds back to your request with a responsePhase of 'clarifying_question' - in this situation, the MJAPI server needs to communicate with the UI to ask the follow up question to the user. When you have that feedback from the user gathered and are providing the response to the clarifying question back to Skip API, use this requestPhase
|
|
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
|
+
* * 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.
|
|
38
39
|
*/
|
|
39
40
|
exports.SkipRequestPhase = {
|
|
40
41
|
initial_request: 'initial_request',
|
|
41
42
|
clarify_question_response: 'clarify_question_response',
|
|
42
43
|
data_gathering_response: 'data_gathering_response',
|
|
43
|
-
data_gathering_failure: 'data_gathering_failure'
|
|
44
|
+
data_gathering_failure: 'data_gathering_failure',
|
|
45
|
+
run_existing_script: 'run_existing_script'
|
|
44
46
|
};
|
|
45
47
|
class SkipEntityFieldInfo {
|
|
46
48
|
}
|
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
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,MA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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.31",
|
|
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": "^0.9.
|
|
23
|
-
"@memberjunction/data-context": "^0.9.
|
|
22
|
+
"@memberjunction/core-entities": "^0.9.130",
|
|
23
|
+
"@memberjunction/data-context": "^0.9.17"
|
|
24
24
|
}
|
|
25
25
|
}
|