@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.
Files changed (36) hide show
  1. package/api/resources/actions/client/Client.js +2 -2
  2. package/api/resources/copilots/client/Client.d.ts +2 -1
  3. package/api/resources/copilots/client/Client.js +20 -19
  4. package/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +2 -1
  5. package/api/resources/copilots/types/MessageFeedback.d.ts +1 -0
  6. package/api/resources/copilots/types/WebSearchResult.d.ts +1 -1
  7. package/api/resources/documentCatalog/client/Client.js +6 -6
  8. package/api/resources/documentCollections/client/Client.js +12 -12
  9. package/api/resources/permissionsService/client/Client.js +6 -6
  10. package/api/resources/search/client/Client.js +2 -2
  11. package/api/resources/users/client/Client.js +2 -2
  12. package/dist/api/resources/actions/client/Client.js +2 -2
  13. package/dist/api/resources/copilots/client/Client.d.ts +2 -1
  14. package/dist/api/resources/copilots/client/Client.js +20 -19
  15. package/dist/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +2 -1
  16. package/dist/api/resources/copilots/types/MessageFeedback.d.ts +1 -0
  17. package/dist/api/resources/copilots/types/WebSearchResult.d.ts +1 -1
  18. package/dist/api/resources/documentCatalog/client/Client.js +6 -6
  19. package/dist/api/resources/documentCollections/client/Client.js +12 -12
  20. package/dist/api/resources/permissionsService/client/Client.js +6 -6
  21. package/dist/api/resources/search/client/Client.js +2 -2
  22. package/dist/api/resources/users/client/Client.js +2 -2
  23. package/dist/serialization/resources/copilots/types/MessageFeedback.d.ts +1 -0
  24. package/dist/serialization/resources/copilots/types/MessageFeedback.js +1 -0
  25. package/dist/serialization/resources/copilots/types/WebSearchResult.d.ts +1 -1
  26. package/dist/serialization/resources/copilots/types/WebSearchResult.js +1 -1
  27. package/dist/version.d.ts +1 -1
  28. package/dist/version.js +1 -1
  29. package/package.json +1 -1
  30. package/reference.md +1 -0
  31. package/serialization/resources/copilots/types/MessageFeedback.d.ts +1 -0
  32. package/serialization/resources/copilots/types/MessageFeedback.js +1 -0
  33. package/serialization/resources/copilots/types/WebSearchResult.d.ts +1 -1
  34. package/serialization/resources/copilots/types/WebSearchResult.js +1 -1
  35. package/version.d.ts +1 -1
  36. 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.19",
85
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
78
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
141
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
207
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
271
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
325
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
399
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
457
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
525
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
580
- "User-Agent": "@credal/sdk/0.0.19",
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
  */
@@ -5,4 +5,5 @@ import * as Credal from "../../../index";
5
5
  export interface MessageFeedback {
6
6
  feedback: Credal.FeedbackEnum;
7
7
  suggestedAnswer?: string;
8
+ descriptiveFeedback?: string;
8
9
  }
@@ -4,5 +4,5 @@
4
4
  export interface WebSearchResult {
5
5
  title: string;
6
6
  url: string;
7
- content: string;
7
+ contents: string;
8
8
  }
@@ -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.19",
75
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
138
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
221
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
82
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
148
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
212
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
274
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
352
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
432
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
78
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
150
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
214
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
88
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
83
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
85
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
78
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
141
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
207
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
271
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
325
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
399
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
457
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
525
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
580
- "User-Agent": "@credal/sdk/0.0.19",
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
  */
@@ -5,4 +5,5 @@ import * as Credal from "../../../index";
5
5
  export interface MessageFeedback {
6
6
  feedback: Credal.FeedbackEnum;
7
7
  suggestedAnswer?: string;
8
+ descriptiveFeedback?: string;
8
9
  }
@@ -4,5 +4,5 @@
4
4
  export interface WebSearchResult {
5
5
  title: string;
6
6
  url: string;
7
- content: string;
7
+ contents: string;
8
8
  }
@@ -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.19",
75
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
138
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
221
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
82
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
148
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
212
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
274
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
352
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
432
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
78
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
150
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
214
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
88
- "User-Agent": "@credal/sdk/0.0.19",
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.19",
83
- "User-Agent": "@credal/sdk/0.0.19",
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
  },
@@ -10,5 +10,6 @@ export declare namespace MessageFeedback {
10
10
  interface Raw {
11
11
  feedback: FeedbackEnum.Raw;
12
12
  suggestedAnswer?: string | null;
13
+ descriptiveFeedback?: string | null;
13
14
  }
14
15
  }
@@ -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
  });
@@ -9,6 +9,6 @@ export declare namespace WebSearchResult {
9
9
  interface Raw {
10
10
  title: string;
11
11
  url: string;
12
- content: string;
12
+ contents: string;
13
13
  }
14
14
  }
@@ -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
- content: core.serialization.string(),
34
+ contents: core.serialization.string(),
35
35
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.19";
1
+ export declare const SDK_VERSION = "0.0.21";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.19";
4
+ exports.SDK_VERSION = "0.0.21";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/sdk",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "private": false,
5
5
  "repository": "https://github.com/credal-ai/credal-typescript-sdk",
6
6
  "main": "./index.js",
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
  ```
@@ -10,5 +10,6 @@ export declare namespace MessageFeedback {
10
10
  interface Raw {
11
11
  feedback: FeedbackEnum.Raw;
12
12
  suggestedAnswer?: string | null;
13
+ descriptiveFeedback?: string | null;
13
14
  }
14
15
  }
@@ -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
  });
@@ -9,6 +9,6 @@ export declare namespace WebSearchResult {
9
9
  interface Raw {
10
10
  title: string;
11
11
  url: string;
12
- content: string;
12
+ contents: string;
13
13
  }
14
14
  }
@@ -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
- content: core.serialization.string(),
34
+ contents: core.serialization.string(),
35
35
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.19";
1
+ export declare const SDK_VERSION = "0.0.21";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.19";
4
+ exports.SDK_VERSION = "0.0.21";