@credal/sdk 0.0.9 → 0.0.10
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/api/resources/copilots/client/Client.js +3 -3
- package/api/resources/copilots/client/requests/CreateConversationRequest.d.ts +1 -1
- package/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +1 -1
- package/api/resources/copilots/client/requests/SendMessageRequest.d.ts +1 -1
- package/api/resources/documentCatalog/client/Client.js +2 -2
- package/api/resources/documentCollections/client/Client.js +1 -1
- package/api/resources/permissionsService/client/Client.js +3 -3
- package/api/resources/search/client/Client.js +1 -1
- package/api/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +1 -1
- package/api/resources/users/client/Client.js +1 -1
- package/dist/api/resources/copilots/client/Client.js +3 -3
- package/dist/api/resources/copilots/client/requests/CreateConversationRequest.d.ts +1 -1
- package/dist/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +1 -1
- package/dist/api/resources/copilots/client/requests/SendMessageRequest.d.ts +1 -1
- package/dist/api/resources/documentCatalog/client/Client.js +2 -2
- package/dist/api/resources/documentCollections/client/Client.js +1 -1
- package/dist/api/resources/permissionsService/client/Client.js +3 -3
- package/dist/api/resources/search/client/Client.js +1 -1
- package/dist/api/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +1 -1
- package/dist/serialization/resources/copilots/client/requests/CreateConversationRequest.d.ts +1 -1
- package/dist/serialization/resources/copilots/client/requests/CreateConversationRequest.js +1 -1
- package/dist/serialization/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +1 -1
- package/dist/serialization/resources/copilots/client/requests/ProvideMessageFeedbackRequest.js +1 -1
- package/dist/serialization/resources/copilots/client/requests/SendMessageRequest.d.ts +1 -1
- package/dist/serialization/resources/copilots/client/requests/SendMessageRequest.js +1 -1
- package/dist/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +1 -1
- package/dist/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/copilots/client/requests/CreateConversationRequest.d.ts +1 -1
- package/serialization/resources/copilots/client/requests/CreateConversationRequest.js +1 -1
- package/serialization/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +1 -1
- package/serialization/resources/copilots/client/requests/ProvideMessageFeedbackRequest.js +1 -1
- package/serialization/resources/copilots/client/requests/SendMessageRequest.d.ts +1 -1
- package/serialization/resources/copilots/client/requests/SendMessageRequest.js +1 -1
- package/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +1 -1
- package/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.js +1 -1
|
@@ -70,7 +70,7 @@ class Copilots {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
73
|
-
"X-Fern-SDK-Version": "0.0.
|
|
73
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -134,7 +134,7 @@ class Copilots {
|
|
|
134
134
|
Authorization: yield this._getAuthorizationHeader(),
|
|
135
135
|
"X-Fern-Language": "JavaScript",
|
|
136
136
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
137
|
-
"X-Fern-SDK-Version": "0.0.
|
|
137
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
138
138
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
139
139
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
140
140
|
},
|
|
@@ -191,7 +191,7 @@ class Copilots {
|
|
|
191
191
|
Authorization: yield this._getAuthorizationHeader(),
|
|
192
192
|
"X-Fern-Language": "JavaScript",
|
|
193
193
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
194
|
-
"X-Fern-SDK-Version": "0.0.
|
|
194
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
195
195
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
196
196
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
197
197
|
},
|
|
@@ -13,7 +13,7 @@ export interface CreateConversationRequest {
|
|
|
13
13
|
* Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
agentId
|
|
16
|
+
agentId: string;
|
|
17
17
|
/**
|
|
18
18
|
* End-user for the conversation.
|
|
19
19
|
*
|
|
@@ -19,7 +19,7 @@ export interface ProvideMessageFeedbackRequest {
|
|
|
19
19
|
* Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
agentId
|
|
22
|
+
agentId: string;
|
|
23
23
|
/**
|
|
24
24
|
* The user profile you want to use when providing feedback.
|
|
25
25
|
*
|
|
@@ -14,7 +14,7 @@ export interface SendMessageRequest {
|
|
|
14
14
|
* Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
agentId
|
|
17
|
+
agentId: string;
|
|
18
18
|
/**
|
|
19
19
|
* The message you want to send to your copilot.
|
|
20
20
|
*
|
|
@@ -71,7 +71,7 @@ class DocumentCatalog {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -154,7 +154,7 @@ class DocumentCatalog {
|
|
|
154
154
|
Authorization: yield this._getAuthorizationHeader(),
|
|
155
155
|
"X-Fern-Language": "JavaScript",
|
|
156
156
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
157
|
-
"X-Fern-SDK-Version": "0.0.
|
|
157
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
158
158
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
159
159
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
160
160
|
},
|
|
@@ -78,7 +78,7 @@ class DocumentCollections {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
81
|
-
"X-Fern-SDK-Version": "0.0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -74,7 +74,7 @@ class PermissionsService {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
77
|
-
"X-Fern-SDK-Version": "0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -144,7 +144,7 @@ class PermissionsService {
|
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
145
145
|
"X-Fern-Language": "JavaScript",
|
|
146
146
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
147
|
-
"X-Fern-SDK-Version": "0.0.
|
|
147
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
148
148
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
149
149
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
150
150
|
},
|
|
@@ -206,7 +206,7 @@ class PermissionsService {
|
|
|
206
206
|
Authorization: yield this._getAuthorizationHeader(),
|
|
207
207
|
"X-Fern-Language": "JavaScript",
|
|
208
208
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
209
|
-
"X-Fern-SDK-Version": "0.0.
|
|
209
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
210
210
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
211
211
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
212
212
|
},
|
|
@@ -84,7 +84,7 @@ class Search {
|
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
87
|
-
"X-Fern-SDK-Version": "0.0.
|
|
87
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -24,7 +24,7 @@ import * as Credal from "../../../../index";
|
|
|
24
24
|
* }
|
|
25
25
|
*/
|
|
26
26
|
export interface SearchDocumentCollectionRequest {
|
|
27
|
-
collectionId
|
|
27
|
+
collectionId: string;
|
|
28
28
|
searchQuery: string;
|
|
29
29
|
/**
|
|
30
30
|
* The email of the user making the search request for permissions reduction.
|
|
@@ -79,7 +79,7 @@ class Users {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
82
|
-
"X-Fern-SDK-Version": "0.0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -70,7 +70,7 @@ class Copilots {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
73
|
-
"X-Fern-SDK-Version": "0.0.
|
|
73
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -134,7 +134,7 @@ class Copilots {
|
|
|
134
134
|
Authorization: yield this._getAuthorizationHeader(),
|
|
135
135
|
"X-Fern-Language": "JavaScript",
|
|
136
136
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
137
|
-
"X-Fern-SDK-Version": "0.0.
|
|
137
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
138
138
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
139
139
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
140
140
|
},
|
|
@@ -191,7 +191,7 @@ class Copilots {
|
|
|
191
191
|
Authorization: yield this._getAuthorizationHeader(),
|
|
192
192
|
"X-Fern-Language": "JavaScript",
|
|
193
193
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
194
|
-
"X-Fern-SDK-Version": "0.0.
|
|
194
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
195
195
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
196
196
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
197
197
|
},
|
|
@@ -13,7 +13,7 @@ export interface CreateConversationRequest {
|
|
|
13
13
|
* Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
agentId
|
|
16
|
+
agentId: string;
|
|
17
17
|
/**
|
|
18
18
|
* End-user for the conversation.
|
|
19
19
|
*
|
|
@@ -19,7 +19,7 @@ export interface ProvideMessageFeedbackRequest {
|
|
|
19
19
|
* Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
agentId
|
|
22
|
+
agentId: string;
|
|
23
23
|
/**
|
|
24
24
|
* The user profile you want to use when providing feedback.
|
|
25
25
|
*
|
|
@@ -14,7 +14,7 @@ export interface SendMessageRequest {
|
|
|
14
14
|
* Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
agentId
|
|
17
|
+
agentId: string;
|
|
18
18
|
/**
|
|
19
19
|
* The message you want to send to your copilot.
|
|
20
20
|
*
|
|
@@ -71,7 +71,7 @@ class DocumentCatalog {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -154,7 +154,7 @@ class DocumentCatalog {
|
|
|
154
154
|
Authorization: yield this._getAuthorizationHeader(),
|
|
155
155
|
"X-Fern-Language": "JavaScript",
|
|
156
156
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
157
|
-
"X-Fern-SDK-Version": "0.0.
|
|
157
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
158
158
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
159
159
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
160
160
|
},
|
|
@@ -78,7 +78,7 @@ class DocumentCollections {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
81
|
-
"X-Fern-SDK-Version": "0.0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -74,7 +74,7 @@ class PermissionsService {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
77
|
-
"X-Fern-SDK-Version": "0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -144,7 +144,7 @@ class PermissionsService {
|
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
145
145
|
"X-Fern-Language": "JavaScript",
|
|
146
146
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
147
|
-
"X-Fern-SDK-Version": "0.0.
|
|
147
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
148
148
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
149
149
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
150
150
|
},
|
|
@@ -206,7 +206,7 @@ class PermissionsService {
|
|
|
206
206
|
Authorization: yield this._getAuthorizationHeader(),
|
|
207
207
|
"X-Fern-Language": "JavaScript",
|
|
208
208
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
209
|
-
"X-Fern-SDK-Version": "0.0.
|
|
209
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
210
210
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
211
211
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
212
212
|
},
|
|
@@ -84,7 +84,7 @@ class Search {
|
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
87
|
-
"X-Fern-SDK-Version": "0.0.
|
|
87
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -24,7 +24,7 @@ import * as Credal from "../../../../index";
|
|
|
24
24
|
* }
|
|
25
25
|
*/
|
|
26
26
|
export interface SearchDocumentCollectionRequest {
|
|
27
|
-
collectionId
|
|
27
|
+
collectionId: string;
|
|
28
28
|
searchQuery: string;
|
|
29
29
|
/**
|
|
30
30
|
* The email of the user making the search request for permissions reduction.
|
|
@@ -79,7 +79,7 @@ class Users {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
82
|
-
"X-Fern-SDK-Version": "0.0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.0.10",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
package/dist/serialization/resources/copilots/client/requests/CreateConversationRequest.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
export declare const CreateConversationRequest: core.serialization.Schema<serializers.CreateConversationRequest.Raw, Credal.CreateConversationRequest>;
|
|
8
8
|
export declare namespace CreateConversationRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
agentId
|
|
10
|
+
agentId: string;
|
|
11
11
|
userEmail: string;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreateConversationRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
exports.CreateConversationRequest = core.serialization.object({
|
|
32
|
-
agentId: core.serialization.string()
|
|
32
|
+
agentId: core.serialization.string(),
|
|
33
33
|
userEmail: core.serialization.string(),
|
|
34
34
|
});
|
package/dist/serialization/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { MessageFeedback } from "../../types/MessageFeedback";
|
|
|
8
8
|
export declare const ProvideMessageFeedbackRequest: core.serialization.Schema<serializers.ProvideMessageFeedbackRequest.Raw, Credal.ProvideMessageFeedbackRequest>;
|
|
9
9
|
export declare namespace ProvideMessageFeedbackRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
agentId
|
|
11
|
+
agentId: string;
|
|
12
12
|
userEmail: string;
|
|
13
13
|
messageId: string;
|
|
14
14
|
messageFeedback: MessageFeedback.Raw;
|
package/dist/serialization/resources/copilots/client/requests/ProvideMessageFeedbackRequest.js
CHANGED
|
@@ -30,7 +30,7 @@ exports.ProvideMessageFeedbackRequest = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const MessageFeedback_1 = require("../../types/MessageFeedback");
|
|
32
32
|
exports.ProvideMessageFeedbackRequest = core.serialization.object({
|
|
33
|
-
agentId: core.serialization.string()
|
|
33
|
+
agentId: core.serialization.string(),
|
|
34
34
|
userEmail: core.serialization.string(),
|
|
35
35
|
messageId: core.serialization.string(),
|
|
36
36
|
messageFeedback: MessageFeedback_1.MessageFeedback,
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
export declare const SendMessageRequest: core.serialization.Schema<serializers.SendMessageRequest.Raw, Credal.SendMessageRequest>;
|
|
8
8
|
export declare namespace SendMessageRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
agentId
|
|
10
|
+
agentId: string;
|
|
11
11
|
message: string;
|
|
12
12
|
userEmail: string;
|
|
13
13
|
conversationId?: string | null;
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.SendMessageRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
exports.SendMessageRequest = core.serialization.object({
|
|
32
|
-
agentId: core.serialization.string()
|
|
32
|
+
agentId: core.serialization.string(),
|
|
33
33
|
message: core.serialization.string(),
|
|
34
34
|
userEmail: core.serialization.string(),
|
|
35
35
|
conversationId: core.serialization.string().optional(),
|
package/dist/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { DocumentCollectionSearchOptions } from "../../types/DocumentCollectionS
|
|
|
9
9
|
export declare const SearchDocumentCollectionRequest: core.serialization.Schema<serializers.SearchDocumentCollectionRequest.Raw, Credal.SearchDocumentCollectionRequest>;
|
|
10
10
|
export declare namespace SearchDocumentCollectionRequest {
|
|
11
11
|
interface Raw {
|
|
12
|
-
collectionId
|
|
12
|
+
collectionId: string;
|
|
13
13
|
searchQuery: string;
|
|
14
14
|
userEmail: string;
|
|
15
15
|
structuredQueryFilters?: SingleFieldFilter.Raw[] | null;
|
package/dist/serialization/resources/search/client/requests/SearchDocumentCollectionRequest.js
CHANGED
|
@@ -31,7 +31,7 @@ const core = __importStar(require("../../../../../core"));
|
|
|
31
31
|
const SingleFieldFilter_1 = require("../../types/SingleFieldFilter");
|
|
32
32
|
const DocumentCollectionSearchOptions_1 = require("../../types/DocumentCollectionSearchOptions");
|
|
33
33
|
exports.SearchDocumentCollectionRequest = core.serialization.object({
|
|
34
|
-
collectionId: core.serialization.string()
|
|
34
|
+
collectionId: core.serialization.string(),
|
|
35
35
|
searchQuery: core.serialization.string(),
|
|
36
36
|
userEmail: core.serialization.string(),
|
|
37
37
|
structuredQueryFilters: core.serialization.list(SingleFieldFilter_1.SingleFieldFilter).optional(),
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
export declare const CreateConversationRequest: core.serialization.Schema<serializers.CreateConversationRequest.Raw, Credal.CreateConversationRequest>;
|
|
8
8
|
export declare namespace CreateConversationRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
agentId
|
|
10
|
+
agentId: string;
|
|
11
11
|
userEmail: string;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreateConversationRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
exports.CreateConversationRequest = core.serialization.object({
|
|
32
|
-
agentId: core.serialization.string()
|
|
32
|
+
agentId: core.serialization.string(),
|
|
33
33
|
userEmail: core.serialization.string(),
|
|
34
34
|
});
|
|
@@ -8,7 +8,7 @@ import { MessageFeedback } from "../../types/MessageFeedback";
|
|
|
8
8
|
export declare const ProvideMessageFeedbackRequest: core.serialization.Schema<serializers.ProvideMessageFeedbackRequest.Raw, Credal.ProvideMessageFeedbackRequest>;
|
|
9
9
|
export declare namespace ProvideMessageFeedbackRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
agentId
|
|
11
|
+
agentId: string;
|
|
12
12
|
userEmail: string;
|
|
13
13
|
messageId: string;
|
|
14
14
|
messageFeedback: MessageFeedback.Raw;
|
|
@@ -30,7 +30,7 @@ exports.ProvideMessageFeedbackRequest = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const MessageFeedback_1 = require("../../types/MessageFeedback");
|
|
32
32
|
exports.ProvideMessageFeedbackRequest = core.serialization.object({
|
|
33
|
-
agentId: core.serialization.string()
|
|
33
|
+
agentId: core.serialization.string(),
|
|
34
34
|
userEmail: core.serialization.string(),
|
|
35
35
|
messageId: core.serialization.string(),
|
|
36
36
|
messageFeedback: MessageFeedback_1.MessageFeedback,
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
export declare const SendMessageRequest: core.serialization.Schema<serializers.SendMessageRequest.Raw, Credal.SendMessageRequest>;
|
|
8
8
|
export declare namespace SendMessageRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
agentId
|
|
10
|
+
agentId: string;
|
|
11
11
|
message: string;
|
|
12
12
|
userEmail: string;
|
|
13
13
|
conversationId?: string | null;
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.SendMessageRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
exports.SendMessageRequest = core.serialization.object({
|
|
32
|
-
agentId: core.serialization.string()
|
|
32
|
+
agentId: core.serialization.string(),
|
|
33
33
|
message: core.serialization.string(),
|
|
34
34
|
userEmail: core.serialization.string(),
|
|
35
35
|
conversationId: core.serialization.string().optional(),
|
|
@@ -9,7 +9,7 @@ import { DocumentCollectionSearchOptions } from "../../types/DocumentCollectionS
|
|
|
9
9
|
export declare const SearchDocumentCollectionRequest: core.serialization.Schema<serializers.SearchDocumentCollectionRequest.Raw, Credal.SearchDocumentCollectionRequest>;
|
|
10
10
|
export declare namespace SearchDocumentCollectionRequest {
|
|
11
11
|
interface Raw {
|
|
12
|
-
collectionId
|
|
12
|
+
collectionId: string;
|
|
13
13
|
searchQuery: string;
|
|
14
14
|
userEmail: string;
|
|
15
15
|
structuredQueryFilters?: SingleFieldFilter.Raw[] | null;
|
|
@@ -31,7 +31,7 @@ const core = __importStar(require("../../../../../core"));
|
|
|
31
31
|
const SingleFieldFilter_1 = require("../../types/SingleFieldFilter");
|
|
32
32
|
const DocumentCollectionSearchOptions_1 = require("../../types/DocumentCollectionSearchOptions");
|
|
33
33
|
exports.SearchDocumentCollectionRequest = core.serialization.object({
|
|
34
|
-
collectionId: core.serialization.string()
|
|
34
|
+
collectionId: core.serialization.string(),
|
|
35
35
|
searchQuery: core.serialization.string(),
|
|
36
36
|
userEmail: core.serialization.string(),
|
|
37
37
|
structuredQueryFilters: core.serialization.list(SingleFieldFilter_1.SingleFieldFilter).optional(),
|