@memberjunction/skip-types 1.8.0 → 2.0.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 -13
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -34,16 +34,16 @@ export declare class MJAPISkipResult {
|
|
|
34
34
|
* conversation in the database, used for conversation history, and will be generated by the MJ API server if
|
|
35
35
|
* no existing Conversation ID was passed in with the request.
|
|
36
36
|
*/
|
|
37
|
-
ConversationId:
|
|
37
|
+
ConversationId: string;
|
|
38
38
|
/**
|
|
39
39
|
* The Conversation Detail ID for the inbound user message that was passed in with the request.
|
|
40
40
|
*/
|
|
41
|
-
UserMessageConversationDetailId:
|
|
41
|
+
UserMessageConversationDetailId: string;
|
|
42
42
|
/**
|
|
43
43
|
* The Conversation Detail ID for the outbound system message that was generated by the Skip API server, stored in the database by the MJ API server,
|
|
44
44
|
* and is being passed back here.
|
|
45
45
|
*/
|
|
46
|
-
AIMessageConversationDetailId:
|
|
46
|
+
AIMessageConversationDetailId: string;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Whenever Skip executes it's analysis phase, it uses a sandboxed sub-process to execute code securely and
|
|
@@ -104,7 +104,7 @@ export declare const SkipRequestPhase: {
|
|
|
104
104
|
};
|
|
105
105
|
export type SkipRequestPhase = typeof SkipRequestPhase[keyof typeof SkipRequestPhase];
|
|
106
106
|
export declare class SkipEntityFieldInfo {
|
|
107
|
-
entityID:
|
|
107
|
+
entityID: string;
|
|
108
108
|
sequence: number;
|
|
109
109
|
name: string;
|
|
110
110
|
displayName?: string;
|
|
@@ -126,15 +126,15 @@ export declare class SkipEntityFieldInfo {
|
|
|
126
126
|
defaultColumnWidth: number;
|
|
127
127
|
isVirtual: boolean;
|
|
128
128
|
isNameField: boolean;
|
|
129
|
-
relatedEntityID?:
|
|
129
|
+
relatedEntityID?: string;
|
|
130
130
|
relatedEntityFieldName?: string;
|
|
131
131
|
relatedEntity?: string;
|
|
132
132
|
relatedEntitySchemaName?: string;
|
|
133
133
|
relatedEntityBaseView?: string;
|
|
134
134
|
}
|
|
135
135
|
export declare class SkipEntityRelationshipInfo {
|
|
136
|
-
entityID:
|
|
137
|
-
relatedEntityID:
|
|
136
|
+
entityID: string;
|
|
137
|
+
relatedEntityID: string;
|
|
138
138
|
type: string;
|
|
139
139
|
entityKeyField: string;
|
|
140
140
|
relatedEntityJoinField: string;
|
|
@@ -147,7 +147,7 @@ export declare class SkipEntityRelationshipInfo {
|
|
|
147
147
|
relatedEntityBaseView: string;
|
|
148
148
|
}
|
|
149
149
|
export declare class SkipEntityInfo {
|
|
150
|
-
id:
|
|
150
|
+
id: string;
|
|
151
151
|
name: string;
|
|
152
152
|
description?: string;
|
|
153
153
|
schemaName: string;
|
|
@@ -156,10 +156,10 @@ export declare class SkipEntityInfo {
|
|
|
156
156
|
relatedEntities: SkipEntityRelationshipInfo[];
|
|
157
157
|
}
|
|
158
158
|
export declare class SkipQueryInfo {
|
|
159
|
-
id:
|
|
159
|
+
id: string;
|
|
160
160
|
name: string;
|
|
161
161
|
description: string;
|
|
162
|
-
categoryID:
|
|
162
|
+
categoryID: string;
|
|
163
163
|
sql: string;
|
|
164
164
|
originalSQL: string;
|
|
165
165
|
feedback: string;
|
|
@@ -172,7 +172,7 @@ export declare class SkipQueryInfo {
|
|
|
172
172
|
}
|
|
173
173
|
export declare class SkipQueryFieldInfo {
|
|
174
174
|
name: string;
|
|
175
|
-
queryID:
|
|
175
|
+
queryID: string;
|
|
176
176
|
description: string;
|
|
177
177
|
sequence: number;
|
|
178
178
|
/**
|
|
@@ -183,7 +183,7 @@ export declare class SkipQueryFieldInfo {
|
|
|
183
183
|
* The full SQL type for the field, for example datetime or nvarchar(10) etc.
|
|
184
184
|
*/
|
|
185
185
|
sqlFullType: string;
|
|
186
|
-
sourceEntityID:
|
|
186
|
+
sourceEntityID: string;
|
|
187
187
|
sourceFieldName: string;
|
|
188
188
|
isComputed: boolean;
|
|
189
189
|
computationDescription: string;
|
|
@@ -243,7 +243,7 @@ export declare class SkipAPIRequest {
|
|
|
243
243
|
/**
|
|
244
244
|
* The organization ID - this is part of the Skip API Authentication Request, along with the bearer token in the header (the bearer token is not yet implemented, To-Do!)
|
|
245
245
|
*/
|
|
246
|
-
organizationID:
|
|
246
|
+
organizationID: string;
|
|
247
247
|
/**
|
|
248
248
|
* The request phase, defined within the SkipRequestPhase type
|
|
249
249
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/skip-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.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.4.5"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@memberjunction/core-entities": "
|
|
23
|
-
"@memberjunction/data-context": "
|
|
22
|
+
"@memberjunction/core-entities": "2.0.0",
|
|
23
|
+
"@memberjunction/data-context": "2.0.0"
|
|
24
24
|
}
|
|
25
25
|
}
|