codemie-sdk 0.1.279 → 0.1.281
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/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -3
- package/dist/index.d.ts +40 -3
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -213,7 +213,8 @@ var AssistantCreateParamsSchema = import_zod.z.object({
|
|
|
213
213
|
),
|
|
214
214
|
assistant_ids: import_zod.z.array(import_zod.z.string()),
|
|
215
215
|
prompt_variables: import_zod.z.array(PromptVariableSchema).optional().default([]),
|
|
216
|
-
categories: import_zod.z.array(import_zod.z.string()).max(3).optional()
|
|
216
|
+
categories: import_zod.z.array(import_zod.z.string()).max(3).optional(),
|
|
217
|
+
skip_integration_validation: import_zod.z.boolean().optional().default(false)
|
|
217
218
|
}).readonly();
|
|
218
219
|
var AssistantUpdateParamsSchema = AssistantCreateParamsSchema;
|
|
219
220
|
var AssistantChatParamsSchema = import_zod.z.object({
|
|
@@ -393,6 +394,7 @@ var AssistantService = class {
|
|
|
393
394
|
}
|
|
394
395
|
/**
|
|
395
396
|
* Create a new assistant.
|
|
397
|
+
* @returns AssistantCreateResponse with assistant_id and optional validation results
|
|
396
398
|
*/
|
|
397
399
|
async create(_params) {
|
|
398
400
|
const params = AssistantCreateParamsSchema.parse(_params);
|
|
@@ -400,6 +402,7 @@ var AssistantService = class {
|
|
|
400
402
|
}
|
|
401
403
|
/**
|
|
402
404
|
* Update an existing assistant.
|
|
405
|
+
* @returns AssistantUpdateResponse with optional validation results
|
|
403
406
|
*/
|
|
404
407
|
async update(assistantId, _params) {
|
|
405
408
|
const params = AssistantUpdateParamsSchema.parse(_params);
|