asfur 1.0.54 → 1.0.56

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,8 @@ 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;
55
+ entities?: any;
54
56
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
55
57
  created_at: number;
56
58
  updated_at: number;
@@ -69,6 +71,8 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
69
71
  reply_to_message_id?: string | null | undefined;
70
72
  media?: any;
71
73
  author?: string | null | undefined;
74
+ replies?: any;
75
+ entities?: any;
72
76
  }>, {}> & import("mongoose").FlatRecord<{
73
77
  created_at: number;
74
78
  updated_at: number;
@@ -87,6 +91,8 @@ export declare const MongoDataSchema: Schema<any, import("mongoose").Model<any,
87
91
  reply_to_message_id?: string | null | undefined;
88
92
  media?: any;
89
93
  author?: string | null | undefined;
94
+ replies?: any;
95
+ entities?: any;
90
96
  }> & {
91
97
  _id: import("mongoose").Types.ObjectId;
92
98
  } & {
package/dist/index.js CHANGED
@@ -34,6 +34,8 @@ exports.MongoDataSchema = new mongoose_1.Schema({
34
34
  original_text: String,
35
35
  translated_text: String,
36
36
  author: String,
37
+ replies: Object,
38
+ entities: Object,
37
39
  reply_to_message_id: { type: String || Number },
38
40
  created_at: { type: Number, default: Date.now },
39
41
  updated_at: { type: Number, default: Date.now },
package/dist/types.d.ts CHANGED
@@ -96,6 +96,8 @@ 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>;
100
+ entities: z.ZodOptional<z.ZodAny>;
99
101
  }, "strip", z.ZodTypeAny, {
100
102
  platform: "telegram" | "facebook" | "instagram" | "tiktok" | "website" | "document" | "other";
101
103
  source_id: string | number;
@@ -121,6 +123,8 @@ export declare const zodDataSchema: z.ZodObject<{
121
123
  caption?: string | undefined;
122
124
  }[] | undefined;
123
125
  author?: string | undefined;
126
+ replies?: any;
127
+ entities?: any;
124
128
  }, {
125
129
  platform: "telegram" | "facebook" | "instagram" | "tiktok" | "website" | "document" | "other";
126
130
  source_id: string | number;
@@ -146,6 +150,8 @@ export declare const zodDataSchema: z.ZodObject<{
146
150
  caption?: string | undefined;
147
151
  }[] | undefined;
148
152
  author?: string | undefined;
153
+ replies?: any;
154
+ entities?: any;
149
155
  }>;
150
156
  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
157
  export declare const zodRelativeTimeRangeSchema: z.ZodObject<{
package/dist/types.js CHANGED
@@ -65,7 +65,9 @@ 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(),
70
+ entities: zod_1.z.any().optional(), // array of reply texts or IDs
69
71
  });
70
72
  exports.relativeTimeRangeList = [
71
73
  // 'last_10_minutes',
package/index.ts CHANGED
@@ -20,6 +20,8 @@ export const MongoDataSchema = new Schema(
20
20
  original_text: String,
21
21
  translated_text: String,
22
22
  author: String,
23
+ replies: Object,
24
+ entities: Object,
23
25
  reply_to_message_id: { type: String || Number },
24
26
  created_at: { type: Number, default: Date.now },
25
27
  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.56",
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,8 @@ 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
74
+ entities: z.any().optional(), // array of reply texts or IDs
73
75
  });
74
76
 
75
77
  export const relativeTimeRangeList = [