@djangocfg/ext-knowbase 1.0.17 → 1.0.20
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/config.cjs +2 -2
- package/dist/config.js +2 -2
- package/dist/hooks.cjs +28 -28
- package/dist/hooks.js +28 -28
- package/dist/index.cjs +28 -28
- package/dist/index.d.cts +48 -48
- package/dist/index.d.ts +48 -48
- package/dist/index.js +28 -28
- package/package.json +10 -10
- package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItem.schema.ts +2 -2
- package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemChunk.schema.ts +1 -1
- package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemChunkDetail.schema.ts +1 -1
- package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemDetail.schema.ts +2 -2
- package/src/api/generated/ext_knowbase/_utils/schemas/ChatMessage.schema.ts +1 -1
- package/src/api/generated/ext_knowbase/_utils/schemas/ChatSession.schema.ts +2 -2
- package/src/api/generated/ext_knowbase/_utils/schemas/Document.schema.ts +4 -4
- package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchive.schema.ts +3 -3
- package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchiveDetail.schema.ts +3 -3
- package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchiveList.schema.ts +2 -2
- package/src/api/generated/ext_knowbase/_utils/schemas/DocumentCategory.schema.ts +1 -1
- package/src/api/generated/ext_knowbase/_utils/schemas/PublicDocument.schema.ts +2 -2
- package/src/api/generated/ext_knowbase/_utils/schemas/PublicDocumentList.schema.ts +2 -2
- package/src/config.ts +1 -0
package/dist/index.d.cts
CHANGED
|
@@ -2026,8 +2026,8 @@ declare const ArchiveItemSchema: z.ZodObject<{
|
|
|
2026
2026
|
chunks_count: z.ZodInt;
|
|
2027
2027
|
total_tokens: z.ZodInt;
|
|
2028
2028
|
processing_cost: z.ZodNumber;
|
|
2029
|
-
created_at: z.
|
|
2030
|
-
updated_at: z.
|
|
2029
|
+
created_at: z.ZodString;
|
|
2030
|
+
updated_at: z.ZodString;
|
|
2031
2031
|
}, z.core.$strip>;
|
|
2032
2032
|
/**
|
|
2033
2033
|
* Infer TypeScript type from Zod schema
|
|
@@ -2054,7 +2054,7 @@ declare const ArchiveItemChunkSchema: z.ZodObject<{
|
|
|
2054
2054
|
embedding_model: z.ZodString;
|
|
2055
2055
|
embedding_cost: z.ZodNumber;
|
|
2056
2056
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2057
|
-
created_at: z.
|
|
2057
|
+
created_at: z.ZodString;
|
|
2058
2058
|
}, z.core.$strip>;
|
|
2059
2059
|
/**
|
|
2060
2060
|
* Infer TypeScript type from Zod schema
|
|
@@ -2081,7 +2081,7 @@ declare const ArchiveItemChunkDetailSchema: z.ZodObject<{
|
|
|
2081
2081
|
embedding_model: z.ZodString;
|
|
2082
2082
|
embedding_cost: z.ZodNumber;
|
|
2083
2083
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2084
|
-
created_at: z.
|
|
2084
|
+
created_at: z.ZodString;
|
|
2085
2085
|
context_metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2086
2086
|
}, z.core.$strip>;
|
|
2087
2087
|
/**
|
|
@@ -2132,8 +2132,8 @@ declare const ArchiveItemDetailSchema: z.ZodObject<{
|
|
|
2132
2132
|
chunks_count: z.ZodInt;
|
|
2133
2133
|
total_tokens: z.ZodInt;
|
|
2134
2134
|
processing_cost: z.ZodNumber;
|
|
2135
|
-
created_at: z.
|
|
2136
|
-
updated_at: z.
|
|
2135
|
+
created_at: z.ZodString;
|
|
2136
|
+
updated_at: z.ZodString;
|
|
2137
2137
|
raw_content: z.ZodString;
|
|
2138
2138
|
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2139
2139
|
}, z.core.$strip>;
|
|
@@ -2226,7 +2226,7 @@ declare const ArchiveSearchResultSchema: z.ZodObject<{
|
|
|
2226
2226
|
embedding_model: z.ZodString;
|
|
2227
2227
|
embedding_cost: z.ZodNumber;
|
|
2228
2228
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2229
|
-
created_at: z.
|
|
2229
|
+
created_at: z.ZodString;
|
|
2230
2230
|
}, z.core.$strip>;
|
|
2231
2231
|
similarity_score: z.ZodNumber;
|
|
2232
2232
|
context_summary: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2296,7 +2296,7 @@ declare const ChatHistorySchema: z.ZodObject<{
|
|
|
2296
2296
|
tokens_used: z.ZodOptional<z.ZodInt>;
|
|
2297
2297
|
cost_usd: z.ZodNumber;
|
|
2298
2298
|
processing_time_ms: z.ZodOptional<z.ZodInt>;
|
|
2299
|
-
created_at: z.
|
|
2299
|
+
created_at: z.ZodString;
|
|
2300
2300
|
context_chunks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2301
2301
|
}, z.core.$strip>>;
|
|
2302
2302
|
total_messages: z.ZodInt;
|
|
@@ -2323,7 +2323,7 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2323
2323
|
tokens_used: z.ZodOptional<z.ZodInt>;
|
|
2324
2324
|
cost_usd: z.ZodNumber;
|
|
2325
2325
|
processing_time_ms: z.ZodOptional<z.ZodInt>;
|
|
2326
|
-
created_at: z.
|
|
2326
|
+
created_at: z.ZodString;
|
|
2327
2327
|
context_chunks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2328
2328
|
}, z.core.$strip>;
|
|
2329
2329
|
/**
|
|
@@ -2428,8 +2428,8 @@ declare const ChatSessionSchema: z.ZodObject<{
|
|
|
2428
2428
|
model_name: z.ZodOptional<z.ZodString>;
|
|
2429
2429
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
2430
2430
|
max_context_chunks: z.ZodOptional<z.ZodInt>;
|
|
2431
|
-
created_at: z.
|
|
2432
|
-
updated_at: z.
|
|
2431
|
+
created_at: z.ZodString;
|
|
2432
|
+
updated_at: z.ZodString;
|
|
2433
2433
|
}, z.core.$strip>;
|
|
2434
2434
|
/**
|
|
2435
2435
|
* Infer TypeScript type from Zod schema
|
|
@@ -2559,10 +2559,10 @@ declare const DocumentSchema: z.ZodObject<{
|
|
|
2559
2559
|
chunks_count: z.ZodInt;
|
|
2560
2560
|
total_tokens: z.ZodInt;
|
|
2561
2561
|
total_cost_usd: z.ZodNumber;
|
|
2562
|
-
created_at: z.
|
|
2563
|
-
updated_at: z.
|
|
2564
|
-
processing_started_at: z.
|
|
2565
|
-
processing_completed_at: z.
|
|
2562
|
+
created_at: z.ZodString;
|
|
2563
|
+
updated_at: z.ZodString;
|
|
2564
|
+
processing_started_at: z.ZodString;
|
|
2565
|
+
processing_completed_at: z.ZodString;
|
|
2566
2566
|
processing_error: z.ZodString;
|
|
2567
2567
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2568
2568
|
}, z.core.$strip>;
|
|
@@ -2590,7 +2590,7 @@ declare const DocumentArchiveSchema: z.ZodObject<{
|
|
|
2590
2590
|
name: z.ZodString;
|
|
2591
2591
|
description: z.ZodOptional<z.ZodString>;
|
|
2592
2592
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2593
|
-
created_at: z.
|
|
2593
|
+
created_at: z.ZodString;
|
|
2594
2594
|
}, z.core.$strip>>;
|
|
2595
2595
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2596
2596
|
archive_file: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
@@ -2598,7 +2598,7 @@ declare const DocumentArchiveSchema: z.ZodObject<{
|
|
|
2598
2598
|
file_size: z.ZodInt;
|
|
2599
2599
|
archive_type: z.ZodEnum<typeof DocumentArchiveArchiveType>;
|
|
2600
2600
|
processing_status: z.ZodEnum<typeof DocumentArchiveProcessingStatus>;
|
|
2601
|
-
processed_at: z.ZodNullable<z.
|
|
2601
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
2602
2602
|
processing_duration_ms: z.ZodInt;
|
|
2603
2603
|
processing_error: z.ZodString;
|
|
2604
2604
|
total_items: z.ZodInt;
|
|
@@ -2610,8 +2610,8 @@ declare const DocumentArchiveSchema: z.ZodObject<{
|
|
|
2610
2610
|
processing_progress: z.ZodNumber;
|
|
2611
2611
|
vectorization_progress: z.ZodNumber;
|
|
2612
2612
|
is_processed: z.ZodBoolean;
|
|
2613
|
-
created_at: z.
|
|
2614
|
-
updated_at: z.
|
|
2613
|
+
created_at: z.ZodString;
|
|
2614
|
+
updated_at: z.ZodString;
|
|
2615
2615
|
}, z.core.$strip>;
|
|
2616
2616
|
/**
|
|
2617
2617
|
* Infer TypeScript type from Zod schema
|
|
@@ -2637,7 +2637,7 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2637
2637
|
name: z.ZodString;
|
|
2638
2638
|
description: z.ZodOptional<z.ZodString>;
|
|
2639
2639
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2640
|
-
created_at: z.
|
|
2640
|
+
created_at: z.ZodString;
|
|
2641
2641
|
}, z.core.$strip>>;
|
|
2642
2642
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2643
2643
|
archive_file: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
@@ -2645,7 +2645,7 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2645
2645
|
file_size: z.ZodInt;
|
|
2646
2646
|
archive_type: z.ZodEnum<typeof DocumentArchiveDetailArchiveType>;
|
|
2647
2647
|
processing_status: z.ZodEnum<typeof DocumentArchiveDetailProcessingStatus>;
|
|
2648
|
-
processed_at: z.ZodNullable<z.
|
|
2648
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
2649
2649
|
processing_duration_ms: z.ZodInt;
|
|
2650
2650
|
processing_error: z.ZodString;
|
|
2651
2651
|
total_items: z.ZodInt;
|
|
@@ -2657,8 +2657,8 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2657
2657
|
processing_progress: z.ZodNumber;
|
|
2658
2658
|
vectorization_progress: z.ZodNumber;
|
|
2659
2659
|
is_processed: z.ZodBoolean;
|
|
2660
|
-
created_at: z.
|
|
2661
|
-
updated_at: z.
|
|
2660
|
+
created_at: z.ZodString;
|
|
2661
|
+
updated_at: z.ZodString;
|
|
2662
2662
|
items: z.ZodArray<z.ZodObject<{
|
|
2663
2663
|
id: z.ZodString;
|
|
2664
2664
|
relative_path: z.ZodString;
|
|
@@ -2672,8 +2672,8 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2672
2672
|
chunks_count: z.ZodInt;
|
|
2673
2673
|
total_tokens: z.ZodInt;
|
|
2674
2674
|
processing_cost: z.ZodNumber;
|
|
2675
|
-
created_at: z.
|
|
2676
|
-
updated_at: z.
|
|
2675
|
+
created_at: z.ZodString;
|
|
2676
|
+
updated_at: z.ZodString;
|
|
2677
2677
|
}, z.core.$strip>>;
|
|
2678
2678
|
file_tree: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2679
2679
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -2702,19 +2702,19 @@ declare const DocumentArchiveListSchema: z.ZodObject<{
|
|
|
2702
2702
|
name: z.ZodString;
|
|
2703
2703
|
description: z.ZodOptional<z.ZodString>;
|
|
2704
2704
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2705
|
-
created_at: z.
|
|
2705
|
+
created_at: z.ZodString;
|
|
2706
2706
|
}, z.core.$strip>>;
|
|
2707
2707
|
is_public: z.ZodBoolean;
|
|
2708
2708
|
original_filename: z.ZodString;
|
|
2709
2709
|
file_size: z.ZodInt;
|
|
2710
2710
|
archive_type: z.ZodEnum<typeof DocumentArchiveListArchiveType>;
|
|
2711
2711
|
processing_status: z.ZodEnum<typeof DocumentArchiveListProcessingStatus>;
|
|
2712
|
-
processed_at: z.ZodNullable<z.
|
|
2712
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
2713
2713
|
total_items: z.ZodInt;
|
|
2714
2714
|
total_chunks: z.ZodInt;
|
|
2715
2715
|
total_cost_usd: z.ZodNumber;
|
|
2716
2716
|
processing_progress: z.ZodNumber;
|
|
2717
|
-
created_at: z.
|
|
2717
|
+
created_at: z.ZodString;
|
|
2718
2718
|
}, z.core.$strip>;
|
|
2719
2719
|
/**
|
|
2720
2720
|
* Infer TypeScript type from Zod schema
|
|
@@ -2756,7 +2756,7 @@ declare const DocumentCategorySchema: z.ZodObject<{
|
|
|
2756
2756
|
name: z.ZodString;
|
|
2757
2757
|
description: z.ZodOptional<z.ZodString>;
|
|
2758
2758
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2759
|
-
created_at: z.
|
|
2759
|
+
created_at: z.ZodString;
|
|
2760
2760
|
}, z.core.$strip>;
|
|
2761
2761
|
/**
|
|
2762
2762
|
* Infer TypeScript type from Zod schema
|
|
@@ -2890,7 +2890,7 @@ declare const PaginatedArchiveItemChunkListSchema: z.ZodObject<{
|
|
|
2890
2890
|
embedding_model: z.ZodString;
|
|
2891
2891
|
embedding_cost: z.ZodNumber;
|
|
2892
2892
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2893
|
-
created_at: z.
|
|
2893
|
+
created_at: z.ZodString;
|
|
2894
2894
|
}, z.core.$strip>>;
|
|
2895
2895
|
}, z.core.$strip>;
|
|
2896
2896
|
/**
|
|
@@ -2920,8 +2920,8 @@ declare const PaginatedArchiveItemListSchema: z.ZodObject<{
|
|
|
2920
2920
|
chunks_count: z.ZodInt;
|
|
2921
2921
|
total_tokens: z.ZodInt;
|
|
2922
2922
|
processing_cost: z.ZodNumber;
|
|
2923
|
-
created_at: z.
|
|
2924
|
-
updated_at: z.
|
|
2923
|
+
created_at: z.ZodString;
|
|
2924
|
+
updated_at: z.ZodString;
|
|
2925
2925
|
}, z.core.$strip>>;
|
|
2926
2926
|
}, z.core.$strip>;
|
|
2927
2927
|
/**
|
|
@@ -2949,7 +2949,7 @@ declare const PaginatedArchiveSearchResultListSchema: z.ZodObject<{
|
|
|
2949
2949
|
embedding_model: z.ZodString;
|
|
2950
2950
|
embedding_cost: z.ZodNumber;
|
|
2951
2951
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2952
|
-
created_at: z.
|
|
2952
|
+
created_at: z.ZodString;
|
|
2953
2953
|
}, z.core.$strip>;
|
|
2954
2954
|
similarity_score: z.ZodNumber;
|
|
2955
2955
|
context_summary: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -3021,8 +3021,8 @@ declare const PaginatedChatSessionListSchema: z.ZodObject<{
|
|
|
3021
3021
|
model_name: z.ZodOptional<z.ZodString>;
|
|
3022
3022
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
3023
3023
|
max_context_chunks: z.ZodOptional<z.ZodInt>;
|
|
3024
|
-
created_at: z.
|
|
3025
|
-
updated_at: z.
|
|
3024
|
+
created_at: z.ZodString;
|
|
3025
|
+
updated_at: z.ZodString;
|
|
3026
3026
|
}, z.core.$strip>>;
|
|
3027
3027
|
}, z.core.$strip>;
|
|
3028
3028
|
/**
|
|
@@ -3048,19 +3048,19 @@ declare const PaginatedDocumentArchiveListListSchema: z.ZodObject<{
|
|
|
3048
3048
|
name: z.ZodString;
|
|
3049
3049
|
description: z.ZodOptional<z.ZodString>;
|
|
3050
3050
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
3051
|
-
created_at: z.
|
|
3051
|
+
created_at: z.ZodString;
|
|
3052
3052
|
}, z.core.$strip>>;
|
|
3053
3053
|
is_public: z.ZodBoolean;
|
|
3054
3054
|
original_filename: z.ZodString;
|
|
3055
3055
|
file_size: z.ZodInt;
|
|
3056
3056
|
archive_type: z.ZodEnum<typeof DocumentArchiveListArchiveType>;
|
|
3057
3057
|
processing_status: z.ZodEnum<typeof DocumentArchiveListProcessingStatus>;
|
|
3058
|
-
processed_at: z.ZodNullable<z.
|
|
3058
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
3059
3059
|
total_items: z.ZodInt;
|
|
3060
3060
|
total_chunks: z.ZodInt;
|
|
3061
3061
|
total_cost_usd: z.ZodNumber;
|
|
3062
3062
|
processing_progress: z.ZodNumber;
|
|
3063
|
-
created_at: z.
|
|
3063
|
+
created_at: z.ZodString;
|
|
3064
3064
|
}, z.core.$strip>>;
|
|
3065
3065
|
}, z.core.$strip>;
|
|
3066
3066
|
/**
|
|
@@ -3092,10 +3092,10 @@ declare const PaginatedDocumentListSchema: z.ZodObject<{
|
|
|
3092
3092
|
chunks_count: z.ZodInt;
|
|
3093
3093
|
total_tokens: z.ZodInt;
|
|
3094
3094
|
total_cost_usd: z.ZodNumber;
|
|
3095
|
-
created_at: z.
|
|
3096
|
-
updated_at: z.
|
|
3097
|
-
processing_started_at: z.
|
|
3098
|
-
processing_completed_at: z.
|
|
3095
|
+
created_at: z.ZodString;
|
|
3096
|
+
updated_at: z.ZodString;
|
|
3097
|
+
processing_started_at: z.ZodString;
|
|
3098
|
+
processing_completed_at: z.ZodString;
|
|
3099
3099
|
processing_error: z.ZodString;
|
|
3100
3100
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3101
3101
|
}, z.core.$strip>>;
|
|
@@ -3154,8 +3154,8 @@ declare const PaginatedPublicDocumentListListSchema: z.ZodObject<{
|
|
|
3154
3154
|
name: z.ZodString;
|
|
3155
3155
|
description: z.ZodOptional<z.ZodString>;
|
|
3156
3156
|
}, z.core.$strip>;
|
|
3157
|
-
created_at: z.
|
|
3158
|
-
updated_at: z.
|
|
3157
|
+
created_at: z.ZodString;
|
|
3158
|
+
updated_at: z.ZodString;
|
|
3159
3159
|
}, z.core.$strip>>;
|
|
3160
3160
|
}, z.core.$strip>;
|
|
3161
3161
|
/**
|
|
@@ -3336,8 +3336,8 @@ declare const PublicDocumentSchema: z.ZodObject<{
|
|
|
3336
3336
|
name: z.ZodString;
|
|
3337
3337
|
description: z.ZodOptional<z.ZodString>;
|
|
3338
3338
|
}, z.core.$strip>;
|
|
3339
|
-
created_at: z.
|
|
3340
|
-
updated_at: z.
|
|
3339
|
+
created_at: z.ZodString;
|
|
3340
|
+
updated_at: z.ZodString;
|
|
3341
3341
|
}, z.core.$strip>;
|
|
3342
3342
|
/**
|
|
3343
3343
|
* Infer TypeScript type from Zod schema
|
|
@@ -3362,8 +3362,8 @@ declare const PublicDocumentListSchema: z.ZodObject<{
|
|
|
3362
3362
|
name: z.ZodString;
|
|
3363
3363
|
description: z.ZodOptional<z.ZodString>;
|
|
3364
3364
|
}, z.core.$strip>;
|
|
3365
|
-
created_at: z.
|
|
3366
|
-
updated_at: z.
|
|
3365
|
+
created_at: z.ZodString;
|
|
3366
|
+
updated_at: z.ZodString;
|
|
3367
3367
|
}, z.core.$strip>;
|
|
3368
3368
|
/**
|
|
3369
3369
|
* Infer TypeScript type from Zod schema
|
package/dist/index.d.ts
CHANGED
|
@@ -2026,8 +2026,8 @@ declare const ArchiveItemSchema: z.ZodObject<{
|
|
|
2026
2026
|
chunks_count: z.ZodInt;
|
|
2027
2027
|
total_tokens: z.ZodInt;
|
|
2028
2028
|
processing_cost: z.ZodNumber;
|
|
2029
|
-
created_at: z.
|
|
2030
|
-
updated_at: z.
|
|
2029
|
+
created_at: z.ZodString;
|
|
2030
|
+
updated_at: z.ZodString;
|
|
2031
2031
|
}, z.core.$strip>;
|
|
2032
2032
|
/**
|
|
2033
2033
|
* Infer TypeScript type from Zod schema
|
|
@@ -2054,7 +2054,7 @@ declare const ArchiveItemChunkSchema: z.ZodObject<{
|
|
|
2054
2054
|
embedding_model: z.ZodString;
|
|
2055
2055
|
embedding_cost: z.ZodNumber;
|
|
2056
2056
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2057
|
-
created_at: z.
|
|
2057
|
+
created_at: z.ZodString;
|
|
2058
2058
|
}, z.core.$strip>;
|
|
2059
2059
|
/**
|
|
2060
2060
|
* Infer TypeScript type from Zod schema
|
|
@@ -2081,7 +2081,7 @@ declare const ArchiveItemChunkDetailSchema: z.ZodObject<{
|
|
|
2081
2081
|
embedding_model: z.ZodString;
|
|
2082
2082
|
embedding_cost: z.ZodNumber;
|
|
2083
2083
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2084
|
-
created_at: z.
|
|
2084
|
+
created_at: z.ZodString;
|
|
2085
2085
|
context_metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2086
2086
|
}, z.core.$strip>;
|
|
2087
2087
|
/**
|
|
@@ -2132,8 +2132,8 @@ declare const ArchiveItemDetailSchema: z.ZodObject<{
|
|
|
2132
2132
|
chunks_count: z.ZodInt;
|
|
2133
2133
|
total_tokens: z.ZodInt;
|
|
2134
2134
|
processing_cost: z.ZodNumber;
|
|
2135
|
-
created_at: z.
|
|
2136
|
-
updated_at: z.
|
|
2135
|
+
created_at: z.ZodString;
|
|
2136
|
+
updated_at: z.ZodString;
|
|
2137
2137
|
raw_content: z.ZodString;
|
|
2138
2138
|
metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2139
2139
|
}, z.core.$strip>;
|
|
@@ -2226,7 +2226,7 @@ declare const ArchiveSearchResultSchema: z.ZodObject<{
|
|
|
2226
2226
|
embedding_model: z.ZodString;
|
|
2227
2227
|
embedding_cost: z.ZodNumber;
|
|
2228
2228
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2229
|
-
created_at: z.
|
|
2229
|
+
created_at: z.ZodString;
|
|
2230
2230
|
}, z.core.$strip>;
|
|
2231
2231
|
similarity_score: z.ZodNumber;
|
|
2232
2232
|
context_summary: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2296,7 +2296,7 @@ declare const ChatHistorySchema: z.ZodObject<{
|
|
|
2296
2296
|
tokens_used: z.ZodOptional<z.ZodInt>;
|
|
2297
2297
|
cost_usd: z.ZodNumber;
|
|
2298
2298
|
processing_time_ms: z.ZodOptional<z.ZodInt>;
|
|
2299
|
-
created_at: z.
|
|
2299
|
+
created_at: z.ZodString;
|
|
2300
2300
|
context_chunks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2301
2301
|
}, z.core.$strip>>;
|
|
2302
2302
|
total_messages: z.ZodInt;
|
|
@@ -2323,7 +2323,7 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2323
2323
|
tokens_used: z.ZodOptional<z.ZodInt>;
|
|
2324
2324
|
cost_usd: z.ZodNumber;
|
|
2325
2325
|
processing_time_ms: z.ZodOptional<z.ZodInt>;
|
|
2326
|
-
created_at: z.
|
|
2326
|
+
created_at: z.ZodString;
|
|
2327
2327
|
context_chunks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2328
2328
|
}, z.core.$strip>;
|
|
2329
2329
|
/**
|
|
@@ -2428,8 +2428,8 @@ declare const ChatSessionSchema: z.ZodObject<{
|
|
|
2428
2428
|
model_name: z.ZodOptional<z.ZodString>;
|
|
2429
2429
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
2430
2430
|
max_context_chunks: z.ZodOptional<z.ZodInt>;
|
|
2431
|
-
created_at: z.
|
|
2432
|
-
updated_at: z.
|
|
2431
|
+
created_at: z.ZodString;
|
|
2432
|
+
updated_at: z.ZodString;
|
|
2433
2433
|
}, z.core.$strip>;
|
|
2434
2434
|
/**
|
|
2435
2435
|
* Infer TypeScript type from Zod schema
|
|
@@ -2559,10 +2559,10 @@ declare const DocumentSchema: z.ZodObject<{
|
|
|
2559
2559
|
chunks_count: z.ZodInt;
|
|
2560
2560
|
total_tokens: z.ZodInt;
|
|
2561
2561
|
total_cost_usd: z.ZodNumber;
|
|
2562
|
-
created_at: z.
|
|
2563
|
-
updated_at: z.
|
|
2564
|
-
processing_started_at: z.
|
|
2565
|
-
processing_completed_at: z.
|
|
2562
|
+
created_at: z.ZodString;
|
|
2563
|
+
updated_at: z.ZodString;
|
|
2564
|
+
processing_started_at: z.ZodString;
|
|
2565
|
+
processing_completed_at: z.ZodString;
|
|
2566
2566
|
processing_error: z.ZodString;
|
|
2567
2567
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2568
2568
|
}, z.core.$strip>;
|
|
@@ -2590,7 +2590,7 @@ declare const DocumentArchiveSchema: z.ZodObject<{
|
|
|
2590
2590
|
name: z.ZodString;
|
|
2591
2591
|
description: z.ZodOptional<z.ZodString>;
|
|
2592
2592
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2593
|
-
created_at: z.
|
|
2593
|
+
created_at: z.ZodString;
|
|
2594
2594
|
}, z.core.$strip>>;
|
|
2595
2595
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2596
2596
|
archive_file: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
@@ -2598,7 +2598,7 @@ declare const DocumentArchiveSchema: z.ZodObject<{
|
|
|
2598
2598
|
file_size: z.ZodInt;
|
|
2599
2599
|
archive_type: z.ZodEnum<typeof DocumentArchiveArchiveType>;
|
|
2600
2600
|
processing_status: z.ZodEnum<typeof DocumentArchiveProcessingStatus>;
|
|
2601
|
-
processed_at: z.ZodNullable<z.
|
|
2601
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
2602
2602
|
processing_duration_ms: z.ZodInt;
|
|
2603
2603
|
processing_error: z.ZodString;
|
|
2604
2604
|
total_items: z.ZodInt;
|
|
@@ -2610,8 +2610,8 @@ declare const DocumentArchiveSchema: z.ZodObject<{
|
|
|
2610
2610
|
processing_progress: z.ZodNumber;
|
|
2611
2611
|
vectorization_progress: z.ZodNumber;
|
|
2612
2612
|
is_processed: z.ZodBoolean;
|
|
2613
|
-
created_at: z.
|
|
2614
|
-
updated_at: z.
|
|
2613
|
+
created_at: z.ZodString;
|
|
2614
|
+
updated_at: z.ZodString;
|
|
2615
2615
|
}, z.core.$strip>;
|
|
2616
2616
|
/**
|
|
2617
2617
|
* Infer TypeScript type from Zod schema
|
|
@@ -2637,7 +2637,7 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2637
2637
|
name: z.ZodString;
|
|
2638
2638
|
description: z.ZodOptional<z.ZodString>;
|
|
2639
2639
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2640
|
-
created_at: z.
|
|
2640
|
+
created_at: z.ZodString;
|
|
2641
2641
|
}, z.core.$strip>>;
|
|
2642
2642
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2643
2643
|
archive_file: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
|
|
@@ -2645,7 +2645,7 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2645
2645
|
file_size: z.ZodInt;
|
|
2646
2646
|
archive_type: z.ZodEnum<typeof DocumentArchiveDetailArchiveType>;
|
|
2647
2647
|
processing_status: z.ZodEnum<typeof DocumentArchiveDetailProcessingStatus>;
|
|
2648
|
-
processed_at: z.ZodNullable<z.
|
|
2648
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
2649
2649
|
processing_duration_ms: z.ZodInt;
|
|
2650
2650
|
processing_error: z.ZodString;
|
|
2651
2651
|
total_items: z.ZodInt;
|
|
@@ -2657,8 +2657,8 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2657
2657
|
processing_progress: z.ZodNumber;
|
|
2658
2658
|
vectorization_progress: z.ZodNumber;
|
|
2659
2659
|
is_processed: z.ZodBoolean;
|
|
2660
|
-
created_at: z.
|
|
2661
|
-
updated_at: z.
|
|
2660
|
+
created_at: z.ZodString;
|
|
2661
|
+
updated_at: z.ZodString;
|
|
2662
2662
|
items: z.ZodArray<z.ZodObject<{
|
|
2663
2663
|
id: z.ZodString;
|
|
2664
2664
|
relative_path: z.ZodString;
|
|
@@ -2672,8 +2672,8 @@ declare const DocumentArchiveDetailSchema: z.ZodObject<{
|
|
|
2672
2672
|
chunks_count: z.ZodInt;
|
|
2673
2673
|
total_tokens: z.ZodInt;
|
|
2674
2674
|
processing_cost: z.ZodNumber;
|
|
2675
|
-
created_at: z.
|
|
2676
|
-
updated_at: z.
|
|
2675
|
+
created_at: z.ZodString;
|
|
2676
|
+
updated_at: z.ZodString;
|
|
2677
2677
|
}, z.core.$strip>>;
|
|
2678
2678
|
file_tree: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2679
2679
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -2702,19 +2702,19 @@ declare const DocumentArchiveListSchema: z.ZodObject<{
|
|
|
2702
2702
|
name: z.ZodString;
|
|
2703
2703
|
description: z.ZodOptional<z.ZodString>;
|
|
2704
2704
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2705
|
-
created_at: z.
|
|
2705
|
+
created_at: z.ZodString;
|
|
2706
2706
|
}, z.core.$strip>>;
|
|
2707
2707
|
is_public: z.ZodBoolean;
|
|
2708
2708
|
original_filename: z.ZodString;
|
|
2709
2709
|
file_size: z.ZodInt;
|
|
2710
2710
|
archive_type: z.ZodEnum<typeof DocumentArchiveListArchiveType>;
|
|
2711
2711
|
processing_status: z.ZodEnum<typeof DocumentArchiveListProcessingStatus>;
|
|
2712
|
-
processed_at: z.ZodNullable<z.
|
|
2712
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
2713
2713
|
total_items: z.ZodInt;
|
|
2714
2714
|
total_chunks: z.ZodInt;
|
|
2715
2715
|
total_cost_usd: z.ZodNumber;
|
|
2716
2716
|
processing_progress: z.ZodNumber;
|
|
2717
|
-
created_at: z.
|
|
2717
|
+
created_at: z.ZodString;
|
|
2718
2718
|
}, z.core.$strip>;
|
|
2719
2719
|
/**
|
|
2720
2720
|
* Infer TypeScript type from Zod schema
|
|
@@ -2756,7 +2756,7 @@ declare const DocumentCategorySchema: z.ZodObject<{
|
|
|
2756
2756
|
name: z.ZodString;
|
|
2757
2757
|
description: z.ZodOptional<z.ZodString>;
|
|
2758
2758
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
2759
|
-
created_at: z.
|
|
2759
|
+
created_at: z.ZodString;
|
|
2760
2760
|
}, z.core.$strip>;
|
|
2761
2761
|
/**
|
|
2762
2762
|
* Infer TypeScript type from Zod schema
|
|
@@ -2890,7 +2890,7 @@ declare const PaginatedArchiveItemChunkListSchema: z.ZodObject<{
|
|
|
2890
2890
|
embedding_model: z.ZodString;
|
|
2891
2891
|
embedding_cost: z.ZodNumber;
|
|
2892
2892
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2893
|
-
created_at: z.
|
|
2893
|
+
created_at: z.ZodString;
|
|
2894
2894
|
}, z.core.$strip>>;
|
|
2895
2895
|
}, z.core.$strip>;
|
|
2896
2896
|
/**
|
|
@@ -2920,8 +2920,8 @@ declare const PaginatedArchiveItemListSchema: z.ZodObject<{
|
|
|
2920
2920
|
chunks_count: z.ZodInt;
|
|
2921
2921
|
total_tokens: z.ZodInt;
|
|
2922
2922
|
processing_cost: z.ZodNumber;
|
|
2923
|
-
created_at: z.
|
|
2924
|
-
updated_at: z.
|
|
2923
|
+
created_at: z.ZodString;
|
|
2924
|
+
updated_at: z.ZodString;
|
|
2925
2925
|
}, z.core.$strip>>;
|
|
2926
2926
|
}, z.core.$strip>;
|
|
2927
2927
|
/**
|
|
@@ -2949,7 +2949,7 @@ declare const PaginatedArchiveSearchResultListSchema: z.ZodObject<{
|
|
|
2949
2949
|
embedding_model: z.ZodString;
|
|
2950
2950
|
embedding_cost: z.ZodNumber;
|
|
2951
2951
|
context_summary: z.ZodObject<{}, z.core.$strip>;
|
|
2952
|
-
created_at: z.
|
|
2952
|
+
created_at: z.ZodString;
|
|
2953
2953
|
}, z.core.$strip>;
|
|
2954
2954
|
similarity_score: z.ZodNumber;
|
|
2955
2955
|
context_summary: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -3021,8 +3021,8 @@ declare const PaginatedChatSessionListSchema: z.ZodObject<{
|
|
|
3021
3021
|
model_name: z.ZodOptional<z.ZodString>;
|
|
3022
3022
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
3023
3023
|
max_context_chunks: z.ZodOptional<z.ZodInt>;
|
|
3024
|
-
created_at: z.
|
|
3025
|
-
updated_at: z.
|
|
3024
|
+
created_at: z.ZodString;
|
|
3025
|
+
updated_at: z.ZodString;
|
|
3026
3026
|
}, z.core.$strip>>;
|
|
3027
3027
|
}, z.core.$strip>;
|
|
3028
3028
|
/**
|
|
@@ -3048,19 +3048,19 @@ declare const PaginatedDocumentArchiveListListSchema: z.ZodObject<{
|
|
|
3048
3048
|
name: z.ZodString;
|
|
3049
3049
|
description: z.ZodOptional<z.ZodString>;
|
|
3050
3050
|
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
3051
|
-
created_at: z.
|
|
3051
|
+
created_at: z.ZodString;
|
|
3052
3052
|
}, z.core.$strip>>;
|
|
3053
3053
|
is_public: z.ZodBoolean;
|
|
3054
3054
|
original_filename: z.ZodString;
|
|
3055
3055
|
file_size: z.ZodInt;
|
|
3056
3056
|
archive_type: z.ZodEnum<typeof DocumentArchiveListArchiveType>;
|
|
3057
3057
|
processing_status: z.ZodEnum<typeof DocumentArchiveListProcessingStatus>;
|
|
3058
|
-
processed_at: z.ZodNullable<z.
|
|
3058
|
+
processed_at: z.ZodNullable<z.ZodString>;
|
|
3059
3059
|
total_items: z.ZodInt;
|
|
3060
3060
|
total_chunks: z.ZodInt;
|
|
3061
3061
|
total_cost_usd: z.ZodNumber;
|
|
3062
3062
|
processing_progress: z.ZodNumber;
|
|
3063
|
-
created_at: z.
|
|
3063
|
+
created_at: z.ZodString;
|
|
3064
3064
|
}, z.core.$strip>>;
|
|
3065
3065
|
}, z.core.$strip>;
|
|
3066
3066
|
/**
|
|
@@ -3092,10 +3092,10 @@ declare const PaginatedDocumentListSchema: z.ZodObject<{
|
|
|
3092
3092
|
chunks_count: z.ZodInt;
|
|
3093
3093
|
total_tokens: z.ZodInt;
|
|
3094
3094
|
total_cost_usd: z.ZodNumber;
|
|
3095
|
-
created_at: z.
|
|
3096
|
-
updated_at: z.
|
|
3097
|
-
processing_started_at: z.
|
|
3098
|
-
processing_completed_at: z.
|
|
3095
|
+
created_at: z.ZodString;
|
|
3096
|
+
updated_at: z.ZodString;
|
|
3097
|
+
processing_started_at: z.ZodString;
|
|
3098
|
+
processing_completed_at: z.ZodString;
|
|
3099
3099
|
processing_error: z.ZodString;
|
|
3100
3100
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3101
3101
|
}, z.core.$strip>>;
|
|
@@ -3154,8 +3154,8 @@ declare const PaginatedPublicDocumentListListSchema: z.ZodObject<{
|
|
|
3154
3154
|
name: z.ZodString;
|
|
3155
3155
|
description: z.ZodOptional<z.ZodString>;
|
|
3156
3156
|
}, z.core.$strip>;
|
|
3157
|
-
created_at: z.
|
|
3158
|
-
updated_at: z.
|
|
3157
|
+
created_at: z.ZodString;
|
|
3158
|
+
updated_at: z.ZodString;
|
|
3159
3159
|
}, z.core.$strip>>;
|
|
3160
3160
|
}, z.core.$strip>;
|
|
3161
3161
|
/**
|
|
@@ -3336,8 +3336,8 @@ declare const PublicDocumentSchema: z.ZodObject<{
|
|
|
3336
3336
|
name: z.ZodString;
|
|
3337
3337
|
description: z.ZodOptional<z.ZodString>;
|
|
3338
3338
|
}, z.core.$strip>;
|
|
3339
|
-
created_at: z.
|
|
3340
|
-
updated_at: z.
|
|
3339
|
+
created_at: z.ZodString;
|
|
3340
|
+
updated_at: z.ZodString;
|
|
3341
3341
|
}, z.core.$strip>;
|
|
3342
3342
|
/**
|
|
3343
3343
|
* Infer TypeScript type from Zod schema
|
|
@@ -3362,8 +3362,8 @@ declare const PublicDocumentListSchema: z.ZodObject<{
|
|
|
3362
3362
|
name: z.ZodString;
|
|
3363
3363
|
description: z.ZodOptional<z.ZodString>;
|
|
3364
3364
|
}, z.core.$strip>;
|
|
3365
|
-
created_at: z.
|
|
3366
|
-
updated_at: z.
|
|
3365
|
+
created_at: z.ZodString;
|
|
3366
|
+
updated_at: z.ZodString;
|
|
3367
3367
|
}, z.core.$strip>;
|
|
3368
3368
|
/**
|
|
3369
3369
|
* Infer TypeScript type from Zod schema
|