asfur 1.0.54 → 1.0.55

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 CHANGED
@@ -51,6 +51,7 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
51
51
  reply_to_message_id?: string | null | undefined;
52
52
  media?: any;
53
53
  author?: string | null | undefined;
54
+ replies?: any;
54
55
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
55
56
  created_at: number;
56
57
  updated_at: number;
@@ -69,6 +70,7 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
69
70
  reply_to_message_id?: string | null | undefined;
70
71
  media?: any;
71
72
  author?: string | null | undefined;
73
+ replies?: any;
72
74
  }>, {}> & import("mongoose").FlatRecord<{
73
75
  created_at: number;
74
76
  updated_at: number;
@@ -87,6 +89,7 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
87
89
  reply_to_message_id?: string | null | undefined;
88
90
  media?: any;
89
91
  author?: string | null | undefined;
92
+ replies?: any;
90
93
  }> & {
91
94
  _id: import("mongoose").Types.ObjectId;
92
95
  } & {
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ exports.MongoDataSchema = new mongoose_1.Schema({
34
34
  original_text: String,
35
35
  translated_text: String,
36
36
  author: String,
37
+ replies: Object,
37
38
  reply_to_message_id: { type: String || Number },
38
39
  created_at: { type: Number, default: Date.now },
39
40
  updated_at: { type: Number, default: Date.now },
package/dist/types.d.ts CHANGED
@@ -96,6 +96,7 @@ export declare const zodDataSchema: z.ZodObject<{
96
96
  caption?: string | undefined;
97
97
  }>, "many">>;
98
98
  author: z.ZodOptional<z.ZodString>;
99
+ replies: z.ZodOptional<z.ZodAny>;
99
100
  }, "strip", z.ZodTypeAny, {
100
101
  platform: "telegram" | "facebook" | "instagram" | "tiktok" | "website" | "document" | "other";
101
102
  source_id: string | number;
@@ -121,6 +122,7 @@ export declare const zodDataSchema: z.ZodObject<{
121
122
  caption?: string | undefined;
122
123
  }[] | undefined;
123
124
  author?: string | undefined;
125
+ replies?: any;
124
126
  }, {
125
127
  platform: "telegram" | "facebook" | "instagram" | "tiktok" | "website" | "document" | "other";
126
128
  source_id: string | number;
@@ -146,6 +148,7 @@ export declare const zodDataSchema: z.ZodObject<{
146
148
  caption?: string | undefined;
147
149
  }[] | undefined;
148
150
  author?: string | undefined;
151
+ replies?: any;
149
152
  }>;
150
153
  export declare const relativeTimeRangeList: readonly ["last_30_minutes", "last_1_hour", "last_2_hours", "last_6_hours", "last_12_hours", "last_24_hours", "last_48_hours", "last_72_hours", "last_week"];
151
154
  export declare const zodRelativeTimeRangeSchema: z.ZodObject<{
package/dist/types.js CHANGED
@@ -65,7 +65,8 @@ exports.zodDataSchema = zod_1.z.object({
65
65
  caption: zod_1.z.string().optional(),
66
66
  }))
67
67
  .optional(),
68
- author: zod_1.z.string().optional(), // e.g., author name or ID
68
+ author: zod_1.z.string().optional(),
69
+ replies: zod_1.z.any().optional(), // array of reply texts or IDs
69
70
  });
70
71
  exports.relativeTimeRangeList = [
71
72
  // 'last_10_minutes',
package/index.ts CHANGED
@@ -20,6 +20,7 @@ export const MongoDataSchema = new Schema(
20
20
  original_text: String,
21
21
  translated_text: String,
22
22
  author: String,
23
+ replies: Object,
23
24
  reply_to_message_id: { type: String || Number },
24
25
  created_at: { type: Number, default: Date.now },
25
26
  updated_at: { type: Number, default: Date.now },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "SDK for interacting with the Asfur API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -70,6 +70,7 @@ export const zodDataSchema = z.object({
70
70
  )
71
71
  .optional(), // media attachments
72
72
  author: z.string().optional(), // e.g., author name or ID
73
+ replies: z.any().optional(), // array of reply texts or IDs
73
74
  });
74
75
 
75
76
  export const relativeTimeRangeList = [