@credal/sdk 0.0.19 → 0.0.21
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/actions/client/Client.js +2 -2
- package/api/resources/copilots/client/Client.d.ts +2 -1
- package/api/resources/copilots/client/Client.js +20 -19
- package/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +2 -1
- package/api/resources/copilots/types/MessageFeedback.d.ts +1 -0
- package/api/resources/copilots/types/WebSearchResult.d.ts +1 -1
- package/api/resources/documentCatalog/client/Client.js +6 -6
- package/api/resources/documentCollections/client/Client.js +12 -12
- package/api/resources/permissionsService/client/Client.js +6 -6
- package/api/resources/search/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +2 -2
- package/dist/api/resources/actions/client/Client.js +2 -2
- package/dist/api/resources/copilots/client/Client.d.ts +2 -1
- package/dist/api/resources/copilots/client/Client.js +20 -19
- package/dist/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +2 -1
- package/dist/api/resources/copilots/types/MessageFeedback.d.ts +1 -0
- package/dist/api/resources/copilots/types/WebSearchResult.d.ts +1 -1
- package/dist/api/resources/documentCatalog/client/Client.js +6 -6
- package/dist/api/resources/documentCollections/client/Client.js +12 -12
- package/dist/api/resources/permissionsService/client/Client.js +6 -6
- package/dist/api/resources/search/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +2 -2
- package/dist/serialization/resources/copilots/types/MessageFeedback.d.ts +1 -0
- package/dist/serialization/resources/copilots/types/MessageFeedback.js +1 -0
- package/dist/serialization/resources/copilots/types/WebSearchResult.d.ts +1 -1
- package/dist/serialization/resources/copilots/types/WebSearchResult.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -0
- package/serialization/resources/copilots/types/MessageFeedback.d.ts +1 -0
- package/serialization/resources/copilots/types/MessageFeedback.js +1 -0
- package/serialization/resources/copilots/types/WebSearchResult.d.ts +1 -1
- package/serialization/resources/copilots/types/WebSearchResult.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -81,8 +81,8 @@ class Actions {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
84
|
-
"X-Fern-SDK-Version": "0.0.
|
|
85
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
84
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
85
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -63,7 +63,8 @@ export declare class Copilots {
|
|
|
63
63
|
* agentId: "82e4b12a-6990-45d4-8ebd-85c00e030c24",
|
|
64
64
|
* messageFeedback: {
|
|
65
65
|
* feedback: "NEGATIVE",
|
|
66
|
-
* suggestedAnswer: "Yes, Credal is SOC 2 compliant."
|
|
66
|
+
* suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
67
|
+
* descriptiveFeedback: "The response should be extremely clear and concise."
|
|
67
68
|
* }
|
|
68
69
|
* })
|
|
69
70
|
*/
|
|
@@ -74,8 +74,8 @@ class Copilots {
|
|
|
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.
|
|
78
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
78
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -137,8 +137,8 @@ class Copilots {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.
|
|
141
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
141
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
142
142
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
143
143
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
144
144
|
},
|
|
@@ -189,7 +189,8 @@ class Copilots {
|
|
|
189
189
|
* agentId: "82e4b12a-6990-45d4-8ebd-85c00e030c24",
|
|
190
190
|
* messageFeedback: {
|
|
191
191
|
* feedback: "NEGATIVE",
|
|
192
|
-
* suggestedAnswer: "Yes, Credal is SOC 2 compliant."
|
|
192
|
+
* suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
193
|
+
* descriptiveFeedback: "The response should be extremely clear and concise."
|
|
193
194
|
* }
|
|
194
195
|
* })
|
|
195
196
|
*/
|
|
@@ -203,8 +204,8 @@ class Copilots {
|
|
|
203
204
|
Authorization: yield this._getAuthorizationHeader(),
|
|
204
205
|
"X-Fern-Language": "JavaScript",
|
|
205
206
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
206
|
-
"X-Fern-SDK-Version": "0.0.
|
|
207
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
207
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
208
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
208
209
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
209
210
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
210
211
|
},
|
|
@@ -267,8 +268,8 @@ class Copilots {
|
|
|
267
268
|
Authorization: yield this._getAuthorizationHeader(),
|
|
268
269
|
"X-Fern-Language": "JavaScript",
|
|
269
270
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
270
|
-
"X-Fern-SDK-Version": "0.0.
|
|
271
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
271
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
272
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
272
273
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
273
274
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
274
275
|
},
|
|
@@ -321,8 +322,8 @@ class Copilots {
|
|
|
321
322
|
Authorization: yield this._getAuthorizationHeader(),
|
|
322
323
|
"X-Fern-Language": "JavaScript",
|
|
323
324
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
324
|
-
"X-Fern-SDK-Version": "0.0.
|
|
325
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
325
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
326
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
326
327
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
327
328
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
328
329
|
},
|
|
@@ -395,8 +396,8 @@ class Copilots {
|
|
|
395
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
396
397
|
"X-Fern-Language": "JavaScript",
|
|
397
398
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
398
|
-
"X-Fern-SDK-Version": "0.0.
|
|
399
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
399
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
400
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
400
401
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
402
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
403
|
},
|
|
@@ -453,8 +454,8 @@ class Copilots {
|
|
|
453
454
|
Authorization: yield this._getAuthorizationHeader(),
|
|
454
455
|
"X-Fern-Language": "JavaScript",
|
|
455
456
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
456
|
-
"X-Fern-SDK-Version": "0.0.
|
|
457
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
457
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
458
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
458
459
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
459
460
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
460
461
|
},
|
|
@@ -521,8 +522,8 @@ class Copilots {
|
|
|
521
522
|
Authorization: yield this._getAuthorizationHeader(),
|
|
522
523
|
"X-Fern-Language": "JavaScript",
|
|
523
524
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
524
|
-
"X-Fern-SDK-Version": "0.0.
|
|
525
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
525
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
526
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
526
527
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
527
528
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
528
529
|
},
|
|
@@ -576,8 +577,8 @@ class Copilots {
|
|
|
576
577
|
Authorization: yield this._getAuthorizationHeader(),
|
|
577
578
|
"X-Fern-Language": "JavaScript",
|
|
578
579
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
579
|
-
"X-Fern-SDK-Version": "0.0.
|
|
580
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
580
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
581
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
581
582
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
582
583
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
583
584
|
},
|
|
@@ -10,7 +10,8 @@ import * as Credal from "../../../../index";
|
|
|
10
10
|
* agentId: "82e4b12a-6990-45d4-8ebd-85c00e030c24",
|
|
11
11
|
* messageFeedback: {
|
|
12
12
|
* feedback: "NEGATIVE",
|
|
13
|
-
* suggestedAnswer: "Yes, Credal is SOC 2 compliant."
|
|
13
|
+
* suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
14
|
+
* descriptiveFeedback: "The response should be extremely clear and concise."
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
*/
|
|
@@ -71,8 +71,8 @@ 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.
|
|
75
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
75
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -134,8 +134,8 @@ class DocumentCatalog {
|
|
|
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.
|
|
138
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
137
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
138
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
139
139
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
140
140
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
141
141
|
},
|
|
@@ -217,8 +217,8 @@ class DocumentCatalog {
|
|
|
217
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
218
218
|
"X-Fern-Language": "JavaScript",
|
|
219
219
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
220
|
-
"X-Fern-SDK-Version": "0.0.
|
|
221
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
220
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
221
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
222
222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
223
223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
224
224
|
},
|
|
@@ -78,8 +78,8 @@ 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.
|
|
82
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
82
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -144,8 +144,8 @@ class DocumentCollections {
|
|
|
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.
|
|
148
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
147
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
148
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
151
151
|
},
|
|
@@ -208,8 +208,8 @@ class DocumentCollections {
|
|
|
208
208
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
209
|
"X-Fern-Language": "JavaScript",
|
|
210
210
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
211
|
-
"X-Fern-SDK-Version": "0.0.
|
|
212
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
211
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
212
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
213
213
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
214
214
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
215
215
|
},
|
|
@@ -270,8 +270,8 @@ class DocumentCollections {
|
|
|
270
270
|
Authorization: yield this._getAuthorizationHeader(),
|
|
271
271
|
"X-Fern-Language": "JavaScript",
|
|
272
272
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
273
|
-
"X-Fern-SDK-Version": "0.0.
|
|
274
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
273
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
274
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -348,8 +348,8 @@ class DocumentCollections {
|
|
|
348
348
|
Authorization: yield this._getAuthorizationHeader(),
|
|
349
349
|
"X-Fern-Language": "JavaScript",
|
|
350
350
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
351
|
-
"X-Fern-SDK-Version": "0.0.
|
|
352
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
351
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
352
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
353
353
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
354
354
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
355
355
|
},
|
|
@@ -428,8 +428,8 @@ class DocumentCollections {
|
|
|
428
428
|
Authorization: yield this._getAuthorizationHeader(),
|
|
429
429
|
"X-Fern-Language": "JavaScript",
|
|
430
430
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
431
|
-
"X-Fern-SDK-Version": "0.0.
|
|
432
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
431
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
432
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
433
433
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
434
434
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
435
435
|
},
|
|
@@ -74,8 +74,8 @@ 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.
|
|
78
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
78
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -146,8 +146,8 @@ class PermissionsService {
|
|
|
146
146
|
Authorization: yield this._getAuthorizationHeader(),
|
|
147
147
|
"X-Fern-Language": "JavaScript",
|
|
148
148
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
149
|
-
"X-Fern-SDK-Version": "0.0.
|
|
150
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
149
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
150
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
151
151
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
152
152
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
153
153
|
},
|
|
@@ -210,8 +210,8 @@ class PermissionsService {
|
|
|
210
210
|
Authorization: yield this._getAuthorizationHeader(),
|
|
211
211
|
"X-Fern-Language": "JavaScript",
|
|
212
212
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
213
|
-
"X-Fern-SDK-Version": "0.0.
|
|
214
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
213
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
214
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
215
215
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
216
216
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
217
217
|
},
|
|
@@ -84,8 +84,8 @@ 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.
|
|
88
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
87
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
88
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -79,8 +79,8 @@ 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.
|
|
83
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
83
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
84
84
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
85
85
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
86
86
|
},
|
|
@@ -81,8 +81,8 @@ class Actions {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
84
|
-
"X-Fern-SDK-Version": "0.0.
|
|
85
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
84
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
85
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -63,7 +63,8 @@ export declare class Copilots {
|
|
|
63
63
|
* agentId: "82e4b12a-6990-45d4-8ebd-85c00e030c24",
|
|
64
64
|
* messageFeedback: {
|
|
65
65
|
* feedback: "NEGATIVE",
|
|
66
|
-
* suggestedAnswer: "Yes, Credal is SOC 2 compliant."
|
|
66
|
+
* suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
67
|
+
* descriptiveFeedback: "The response should be extremely clear and concise."
|
|
67
68
|
* }
|
|
68
69
|
* })
|
|
69
70
|
*/
|
|
@@ -74,8 +74,8 @@ class Copilots {
|
|
|
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.
|
|
78
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
78
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -137,8 +137,8 @@ class Copilots {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.
|
|
141
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
141
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
142
142
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
143
143
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
144
144
|
},
|
|
@@ -189,7 +189,8 @@ class Copilots {
|
|
|
189
189
|
* agentId: "82e4b12a-6990-45d4-8ebd-85c00e030c24",
|
|
190
190
|
* messageFeedback: {
|
|
191
191
|
* feedback: "NEGATIVE",
|
|
192
|
-
* suggestedAnswer: "Yes, Credal is SOC 2 compliant."
|
|
192
|
+
* suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
193
|
+
* descriptiveFeedback: "The response should be extremely clear and concise."
|
|
193
194
|
* }
|
|
194
195
|
* })
|
|
195
196
|
*/
|
|
@@ -203,8 +204,8 @@ class Copilots {
|
|
|
203
204
|
Authorization: yield this._getAuthorizationHeader(),
|
|
204
205
|
"X-Fern-Language": "JavaScript",
|
|
205
206
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
206
|
-
"X-Fern-SDK-Version": "0.0.
|
|
207
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
207
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
208
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
208
209
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
209
210
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
210
211
|
},
|
|
@@ -267,8 +268,8 @@ class Copilots {
|
|
|
267
268
|
Authorization: yield this._getAuthorizationHeader(),
|
|
268
269
|
"X-Fern-Language": "JavaScript",
|
|
269
270
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
270
|
-
"X-Fern-SDK-Version": "0.0.
|
|
271
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
271
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
272
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
272
273
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
273
274
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
274
275
|
},
|
|
@@ -321,8 +322,8 @@ class Copilots {
|
|
|
321
322
|
Authorization: yield this._getAuthorizationHeader(),
|
|
322
323
|
"X-Fern-Language": "JavaScript",
|
|
323
324
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
324
|
-
"X-Fern-SDK-Version": "0.0.
|
|
325
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
325
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
326
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
326
327
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
327
328
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
328
329
|
},
|
|
@@ -395,8 +396,8 @@ class Copilots {
|
|
|
395
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
396
397
|
"X-Fern-Language": "JavaScript",
|
|
397
398
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
398
|
-
"X-Fern-SDK-Version": "0.0.
|
|
399
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
399
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
400
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
400
401
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
402
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
403
|
},
|
|
@@ -453,8 +454,8 @@ class Copilots {
|
|
|
453
454
|
Authorization: yield this._getAuthorizationHeader(),
|
|
454
455
|
"X-Fern-Language": "JavaScript",
|
|
455
456
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
456
|
-
"X-Fern-SDK-Version": "0.0.
|
|
457
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
457
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
458
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
458
459
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
459
460
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
460
461
|
},
|
|
@@ -521,8 +522,8 @@ class Copilots {
|
|
|
521
522
|
Authorization: yield this._getAuthorizationHeader(),
|
|
522
523
|
"X-Fern-Language": "JavaScript",
|
|
523
524
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
524
|
-
"X-Fern-SDK-Version": "0.0.
|
|
525
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
525
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
526
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
526
527
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
527
528
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
528
529
|
},
|
|
@@ -576,8 +577,8 @@ class Copilots {
|
|
|
576
577
|
Authorization: yield this._getAuthorizationHeader(),
|
|
577
578
|
"X-Fern-Language": "JavaScript",
|
|
578
579
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
579
|
-
"X-Fern-SDK-Version": "0.0.
|
|
580
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
580
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
581
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
581
582
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
582
583
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
583
584
|
},
|
|
@@ -10,7 +10,8 @@ import * as Credal from "../../../../index";
|
|
|
10
10
|
* agentId: "82e4b12a-6990-45d4-8ebd-85c00e030c24",
|
|
11
11
|
* messageFeedback: {
|
|
12
12
|
* feedback: "NEGATIVE",
|
|
13
|
-
* suggestedAnswer: "Yes, Credal is SOC 2 compliant."
|
|
13
|
+
* suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
14
|
+
* descriptiveFeedback: "The response should be extremely clear and concise."
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
*/
|
|
@@ -71,8 +71,8 @@ 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.
|
|
75
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
75
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -134,8 +134,8 @@ class DocumentCatalog {
|
|
|
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.
|
|
138
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
137
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
138
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
139
139
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
140
140
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
141
141
|
},
|
|
@@ -217,8 +217,8 @@ class DocumentCatalog {
|
|
|
217
217
|
Authorization: yield this._getAuthorizationHeader(),
|
|
218
218
|
"X-Fern-Language": "JavaScript",
|
|
219
219
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
220
|
-
"X-Fern-SDK-Version": "0.0.
|
|
221
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
220
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
221
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
222
222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
223
223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
224
224
|
},
|
|
@@ -78,8 +78,8 @@ 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.
|
|
82
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
82
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -144,8 +144,8 @@ class DocumentCollections {
|
|
|
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.
|
|
148
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
147
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
148
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
151
151
|
},
|
|
@@ -208,8 +208,8 @@ class DocumentCollections {
|
|
|
208
208
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
209
|
"X-Fern-Language": "JavaScript",
|
|
210
210
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
211
|
-
"X-Fern-SDK-Version": "0.0.
|
|
212
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
211
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
212
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
213
213
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
214
214
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
215
215
|
},
|
|
@@ -270,8 +270,8 @@ class DocumentCollections {
|
|
|
270
270
|
Authorization: yield this._getAuthorizationHeader(),
|
|
271
271
|
"X-Fern-Language": "JavaScript",
|
|
272
272
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
273
|
-
"X-Fern-SDK-Version": "0.0.
|
|
274
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
273
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
274
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -348,8 +348,8 @@ class DocumentCollections {
|
|
|
348
348
|
Authorization: yield this._getAuthorizationHeader(),
|
|
349
349
|
"X-Fern-Language": "JavaScript",
|
|
350
350
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
351
|
-
"X-Fern-SDK-Version": "0.0.
|
|
352
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
351
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
352
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
353
353
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
354
354
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
355
355
|
},
|
|
@@ -428,8 +428,8 @@ class DocumentCollections {
|
|
|
428
428
|
Authorization: yield this._getAuthorizationHeader(),
|
|
429
429
|
"X-Fern-Language": "JavaScript",
|
|
430
430
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
431
|
-
"X-Fern-SDK-Version": "0.0.
|
|
432
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
431
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
432
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
433
433
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
434
434
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
435
435
|
},
|
|
@@ -74,8 +74,8 @@ 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.
|
|
78
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
78
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -146,8 +146,8 @@ class PermissionsService {
|
|
|
146
146
|
Authorization: yield this._getAuthorizationHeader(),
|
|
147
147
|
"X-Fern-Language": "JavaScript",
|
|
148
148
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
149
|
-
"X-Fern-SDK-Version": "0.0.
|
|
150
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
149
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
150
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
151
151
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
152
152
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
153
153
|
},
|
|
@@ -210,8 +210,8 @@ class PermissionsService {
|
|
|
210
210
|
Authorization: yield this._getAuthorizationHeader(),
|
|
211
211
|
"X-Fern-Language": "JavaScript",
|
|
212
212
|
"X-Fern-SDK-Name": "@credal/sdk",
|
|
213
|
-
"X-Fern-SDK-Version": "0.0.
|
|
214
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
213
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
214
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
215
215
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
216
216
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
217
217
|
},
|
|
@@ -84,8 +84,8 @@ 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.
|
|
88
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
87
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
88
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -79,8 +79,8 @@ 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.
|
|
83
|
-
"User-Agent": "@credal/sdk/0.0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.0.21",
|
|
83
|
+
"User-Agent": "@credal/sdk/0.0.21",
|
|
84
84
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
85
85
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
86
86
|
},
|
|
@@ -32,4 +32,5 @@ const FeedbackEnum_1 = require("./FeedbackEnum");
|
|
|
32
32
|
exports.MessageFeedback = core.serialization.object({
|
|
33
33
|
feedback: FeedbackEnum_1.FeedbackEnum,
|
|
34
34
|
suggestedAnswer: core.serialization.string().optional(),
|
|
35
|
+
descriptiveFeedback: core.serialization.string().optional(),
|
|
35
36
|
});
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.WebSearchResult = core.serialization.object({
|
|
32
32
|
title: core.serialization.string(),
|
|
33
33
|
url: core.serialization.string(),
|
|
34
|
-
|
|
34
|
+
contents: core.serialization.string(),
|
|
35
35
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.21";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -239,6 +239,7 @@ await client.copilots.provideMessageFeedback({
|
|
|
239
239
|
messageFeedback: {
|
|
240
240
|
feedback: "NEGATIVE",
|
|
241
241
|
suggestedAnswer: "Yes, Credal is SOC 2 compliant.",
|
|
242
|
+
descriptiveFeedback: "The response should be extremely clear and concise.",
|
|
242
243
|
},
|
|
243
244
|
});
|
|
244
245
|
```
|
|
@@ -32,4 +32,5 @@ const FeedbackEnum_1 = require("./FeedbackEnum");
|
|
|
32
32
|
exports.MessageFeedback = core.serialization.object({
|
|
33
33
|
feedback: FeedbackEnum_1.FeedbackEnum,
|
|
34
34
|
suggestedAnswer: core.serialization.string().optional(),
|
|
35
|
+
descriptiveFeedback: core.serialization.string().optional(),
|
|
35
36
|
});
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.WebSearchResult = core.serialization.object({
|
|
32
32
|
title: core.serialization.string(),
|
|
33
33
|
url: core.serialization.string(),
|
|
34
|
-
|
|
34
|
+
contents: core.serialization.string(),
|
|
35
35
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.21";
|
package/version.js
CHANGED