chatifai 1.0.10 → 1.0.11

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,7 +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
+ note: { type: String, maxlength: 500 },
79
79
  file_url: { type: String },
80
80
  type: { type: String, minlength: 1, maxlength: 100 },
81
81
  size: { type: Number },
package/dist/types.d.ts CHANGED
@@ -87,7 +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
+ note: z.ZodOptional<z.ZodString>;
91
91
  file_url: z.ZodOptional<z.ZodString>;
92
92
  type: z.ZodOptional<z.ZodString>;
93
93
  size: z.ZodOptional<z.ZodNumber>;
@@ -101,10 +101,10 @@ export declare const zodContextSchema: z.ZodObject<{
101
101
  type?: string | undefined;
102
102
  created_at?: number | undefined;
103
103
  updated_at?: number | undefined;
104
- notes?: string | undefined;
105
104
  organization_id?: string | undefined;
106
105
  file_id?: string | undefined;
107
106
  description?: string | undefined;
107
+ note?: string | undefined;
108
108
  file_url?: string | undefined;
109
109
  size?: number | undefined;
110
110
  tokens?: number | undefined;
@@ -115,10 +115,10 @@ export declare const zodContextSchema: z.ZodObject<{
115
115
  type?: string | undefined;
116
116
  created_at?: number | undefined;
117
117
  updated_at?: number | undefined;
118
- notes?: string | undefined;
119
118
  organization_id?: string | undefined;
120
119
  file_id?: string | undefined;
121
120
  description?: string | undefined;
121
+ note?: string | undefined;
122
122
  file_url?: string | undefined;
123
123
  size?: number | undefined;
124
124
  tokens?: number | undefined;
package/dist/types.js CHANGED
@@ -47,7 +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
+ note: zod_1.z.string().max(500).optional(),
51
51
  file_url: zod_1.z.string().optional(),
52
52
  type: zod_1.z.string().min(1).max(100).optional(),
53
53
  size: zod_1.z.number().optional(),
package/index.ts CHANGED
@@ -69,7 +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
+ note: { type: String, maxlength: 500 },
73
73
  file_url: { type: String },
74
74
  type: { type: String, minlength: 1, maxlength: 100 },
75
75
  size: { type: Number },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatifai",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
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,7 +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
+ note: z.string().max(500).optional(),
53
53
  file_url: z.string().optional(),
54
54
  type: z.string().min(1).max(100).optional(),
55
55
  size: z.number().optional(),