chatifai 1.0.9 → 1.0.10

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.js CHANGED
@@ -75,6 +75,7 @@ exports.ContextSchema = Schema({
75
75
  file_id: { type: String },
76
76
  title: { type: String, required: true, minlength: 1, maxlength: 100 },
77
77
  description: { type: String, minlength: 1, maxlength: 500 },
78
+ notes: { type: String, maxlength: 500 },
78
79
  file_url: { type: String },
79
80
  type: { type: String, minlength: 1, maxlength: 100 },
80
81
  size: { type: Number },
package/dist/types.d.ts CHANGED
@@ -87,6 +87,7 @@ export declare const zodContextSchema: z.ZodObject<{
87
87
  file_id: z.ZodOptional<z.ZodString>;
88
88
  title: z.ZodString;
89
89
  description: z.ZodOptional<z.ZodString>;
90
+ notes: z.ZodOptional<z.ZodString>;
90
91
  file_url: z.ZodOptional<z.ZodString>;
91
92
  type: z.ZodOptional<z.ZodString>;
92
93
  size: z.ZodOptional<z.ZodNumber>;
@@ -100,6 +101,7 @@ export declare const zodContextSchema: z.ZodObject<{
100
101
  type?: string | undefined;
101
102
  created_at?: number | undefined;
102
103
  updated_at?: number | undefined;
104
+ notes?: string | undefined;
103
105
  organization_id?: string | undefined;
104
106
  file_id?: string | undefined;
105
107
  description?: string | undefined;
@@ -113,6 +115,7 @@ export declare const zodContextSchema: z.ZodObject<{
113
115
  type?: string | undefined;
114
116
  created_at?: number | undefined;
115
117
  updated_at?: number | undefined;
118
+ notes?: string | undefined;
116
119
  organization_id?: string | undefined;
117
120
  file_id?: string | undefined;
118
121
  description?: string | undefined;
package/dist/types.js CHANGED
@@ -47,6 +47,7 @@ exports.zodContextSchema = zod_1.z.object({
47
47
  file_id: zod_1.z.string().optional(),
48
48
  title: zod_1.z.string().min(1).max(100),
49
49
  description: zod_1.z.string().min(1).max(500).optional(),
50
+ notes: zod_1.z.string().max(500).optional(),
50
51
  file_url: zod_1.z.string().optional(),
51
52
  type: zod_1.z.string().min(1).max(100).optional(),
52
53
  size: zod_1.z.number().optional(),
package/index.ts CHANGED
@@ -69,6 +69,7 @@ export const ContextSchema = Schema({
69
69
  file_id: { type: String },
70
70
  title: { type: String, required: true, minlength: 1, maxlength: 100 },
71
71
  description: { type: String, minlength: 1, maxlength: 500 },
72
+ notes: { type: String, maxlength: 500 },
72
73
  file_url: { type: String },
73
74
  type: { type: String, minlength: 1, maxlength: 100 },
74
75
  size: { type: Number },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatifai",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "SDK for interacting with the Chatifai API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -49,6 +49,7 @@ export const zodContextSchema = z.object({
49
49
  file_id: z.string().optional(),
50
50
  title: z.string().min(1).max(100),
51
51
  description: z.string().min(1).max(500).optional(),
52
+ notes: z.string().max(500).optional(),
52
53
  file_url: z.string().optional(),
53
54
  type: z.string().min(1).max(100).optional(),
54
55
  size: z.number().optional(),