asfur 1.0.86 → 1.0.87
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.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/types.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/types.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -510,7 +510,7 @@ export declare const MongoReportSchema: Schema<any, import("mongoose").Model<any
|
|
|
510
510
|
updated_at: number;
|
|
511
511
|
user_id: string;
|
|
512
512
|
title?: string | null | undefined;
|
|
513
|
-
|
|
513
|
+
thread_id?: string | null | undefined;
|
|
514
514
|
last_assistant_messages_count?: number | null | undefined;
|
|
515
515
|
additional_instructions?: string | null | undefined;
|
|
516
516
|
report_html?: string | null | undefined;
|
|
@@ -519,7 +519,7 @@ export declare const MongoReportSchema: Schema<any, import("mongoose").Model<any
|
|
|
519
519
|
updated_at: number;
|
|
520
520
|
user_id: string;
|
|
521
521
|
title?: string | null | undefined;
|
|
522
|
-
|
|
522
|
+
thread_id?: string | null | undefined;
|
|
523
523
|
last_assistant_messages_count?: number | null | undefined;
|
|
524
524
|
additional_instructions?: string | null | undefined;
|
|
525
525
|
report_html?: string | null | undefined;
|
|
@@ -528,7 +528,7 @@ export declare const MongoReportSchema: Schema<any, import("mongoose").Model<any
|
|
|
528
528
|
updated_at: number;
|
|
529
529
|
user_id: string;
|
|
530
530
|
title?: string | null | undefined;
|
|
531
|
-
|
|
531
|
+
thread_id?: string | null | undefined;
|
|
532
532
|
last_assistant_messages_count?: number | null | undefined;
|
|
533
533
|
additional_instructions?: string | null | undefined;
|
|
534
534
|
report_html?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -219,7 +219,7 @@ exports.MongoApiKeySchema = new mongoose_1.Schema({
|
|
|
219
219
|
});
|
|
220
220
|
exports.MongoReportSchema = new mongoose_1.Schema({
|
|
221
221
|
user_id: { type: String, required: true },
|
|
222
|
-
|
|
222
|
+
thread_id: { type: String },
|
|
223
223
|
title: { type: String },
|
|
224
224
|
last_assistant_messages_count: { type: Number },
|
|
225
225
|
additional_instructions: { type: String },
|
package/dist/types.d.ts
CHANGED
|
@@ -649,7 +649,7 @@ export declare const zodApiKeySchema: z.ZodObject<{
|
|
|
649
649
|
export declare const zodReportSchema: z.ZodObject<{
|
|
650
650
|
_id: z.ZodOptional<z.ZodString>;
|
|
651
651
|
user_id: z.ZodString;
|
|
652
|
-
|
|
652
|
+
thread_id: z.ZodString;
|
|
653
653
|
title: z.ZodOptional<z.ZodString>;
|
|
654
654
|
last_assistant_messages_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
655
655
|
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -658,7 +658,7 @@ export declare const zodReportSchema: z.ZodObject<{
|
|
|
658
658
|
report_html: z.ZodOptional<z.ZodString>;
|
|
659
659
|
}, "strip", z.ZodTypeAny, {
|
|
660
660
|
user_id: string;
|
|
661
|
-
|
|
661
|
+
thread_id: string;
|
|
662
662
|
last_assistant_messages_count: number;
|
|
663
663
|
_id?: string | undefined;
|
|
664
664
|
title?: string | undefined;
|
|
@@ -668,7 +668,7 @@ export declare const zodReportSchema: z.ZodObject<{
|
|
|
668
668
|
report_html?: string | undefined;
|
|
669
669
|
}, {
|
|
670
670
|
user_id: string;
|
|
671
|
-
|
|
671
|
+
thread_id: string;
|
|
672
672
|
_id?: string | undefined;
|
|
673
673
|
title?: string | undefined;
|
|
674
674
|
created_at?: number | undefined;
|
package/dist/types.js
CHANGED
|
@@ -195,7 +195,7 @@ exports.zodApiKeySchema = zod_1.z.object({
|
|
|
195
195
|
exports.zodReportSchema = zod_1.z.object({
|
|
196
196
|
_id: zod_1.z.string().optional(),
|
|
197
197
|
user_id: zod_1.z.string().nonempty('User ID must be provided'),
|
|
198
|
-
|
|
198
|
+
thread_id: zod_1.z.string(),
|
|
199
199
|
title: zod_1.z.string().optional(),
|
|
200
200
|
last_assistant_messages_count: zod_1.z.number().optional().default(0),
|
|
201
201
|
additional_instructions: zod_1.z.string().optional(),
|
package/index.ts
CHANGED
|
@@ -245,7 +245,7 @@ export const MongoApiKeySchema = new Schema(
|
|
|
245
245
|
export const MongoReportSchema = new Schema(
|
|
246
246
|
{
|
|
247
247
|
user_id: { type: String, required: true }, // user identifier
|
|
248
|
-
|
|
248
|
+
thread_id: { type: String },
|
|
249
249
|
title: { type: String }, // report title
|
|
250
250
|
last_assistant_messages_count: { type: Number }, // number of assistant messages at the time of report
|
|
251
251
|
additional_instructions: { type: String }, // additional instructions provided by the user
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -217,7 +217,7 @@ export const zodApiKeySchema = z.object({
|
|
|
217
217
|
export const zodReportSchema = z.object({
|
|
218
218
|
_id: z.string().optional(),
|
|
219
219
|
user_id: z.string().nonempty('User ID must be provided'), // user identifier
|
|
220
|
-
|
|
220
|
+
thread_id: z.string(), // thread ID for the report
|
|
221
221
|
title: z.string().optional(), // optional title for the report
|
|
222
222
|
last_assistant_messages_count: z.number().optional().default(0), // number of assistant messages in the conversation
|
|
223
223
|
additional_instructions: z.string().optional(), // optional additional instructions for the report
|