harvester_sdk 1.0.15 → 1.0.17

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
@@ -423,6 +423,9 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
423
423
  public_id?: any;
424
424
  url?: string | null | undefined;
425
425
  language?: string | null | undefined;
426
+ created_by?: string | null | undefined;
427
+ updated_by?: string | null | undefined;
428
+ last_active_at?: number | null | undefined;
426
429
  region_title?: string | null | undefined;
427
430
  group_id?: string | null | undefined;
428
431
  requested_by?: {
@@ -450,6 +453,9 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
450
453
  public_id?: any;
451
454
  url?: string | null | undefined;
452
455
  language?: string | null | undefined;
456
+ created_by?: string | null | undefined;
457
+ updated_by?: string | null | undefined;
458
+ last_active_at?: number | null | undefined;
453
459
  region_title?: string | null | undefined;
454
460
  group_id?: string | null | undefined;
455
461
  requested_by?: {
@@ -477,6 +483,9 @@ export declare const MongoSourceSchema: Schema<any, import("mongoose").Model<any
477
483
  public_id?: any;
478
484
  url?: string | null | undefined;
479
485
  language?: string | null | undefined;
486
+ created_by?: string | null | undefined;
487
+ updated_by?: string | null | undefined;
488
+ last_active_at?: number | null | undefined;
480
489
  region_title?: string | null | undefined;
481
490
  group_id?: string | null | undefined;
482
491
  requested_by?: {
package/dist/index.js CHANGED
@@ -225,6 +225,9 @@ exports.MongoSourceSchema = new mongoose_1.Schema({
225
225
  metadata: { type: Object, default: {} },
226
226
  created_at: { type: Number, default: Date.now },
227
227
  updated_at: { type: Number, default: Date.now },
228
+ created_by: { type: String },
229
+ updated_by: { type: String },
230
+ last_active_at: { type: Number },
228
231
  region_id: { type: String },
229
232
  region_title: { type: String },
230
233
  group_id: { type: String },
package/dist/types.d.ts CHANGED
@@ -88,6 +88,9 @@ export declare const zodSourceSchema: z.ZodObject<{
88
88
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
89
89
  created_at: z.ZodOptional<z.ZodNumber>;
90
90
  updated_at: z.ZodOptional<z.ZodNumber>;
91
+ created_by: z.ZodOptional<z.ZodString>;
92
+ updated_by: z.ZodOptional<z.ZodString>;
93
+ last_active_at: z.ZodOptional<z.ZodNumber>;
91
94
  region_id: z.ZodOptional<z.ZodString>;
92
95
  region_title: z.ZodOptional<z.ZodString>;
93
96
  group_id: z.ZodOptional<z.ZodString>;
@@ -130,6 +133,9 @@ export declare const zodSourceSchema: z.ZodObject<{
130
133
  language?: string | undefined;
131
134
  tags?: string[] | undefined;
132
135
  metadata?: Record<string, any> | undefined;
136
+ created_by?: string | undefined;
137
+ updated_by?: string | undefined;
138
+ last_active_at?: number | undefined;
133
139
  region_title?: string | undefined;
134
140
  group_id?: string | undefined;
135
141
  dominant_geos?: string[] | undefined;
@@ -158,6 +164,9 @@ export declare const zodSourceSchema: z.ZodObject<{
158
164
  tags?: string[] | undefined;
159
165
  is_public?: boolean | undefined;
160
166
  metadata?: Record<string, any> | undefined;
167
+ created_by?: string | undefined;
168
+ updated_by?: string | undefined;
169
+ last_active_at?: number | undefined;
161
170
  region_title?: string | undefined;
162
171
  group_id?: string | undefined;
163
172
  dominant_geos?: string[] | undefined;
package/dist/types.js CHANGED
@@ -81,6 +81,9 @@ exports.zodSourceSchema = zod_1.z.object({
81
81
  metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
82
82
  created_at: zod_1.z.number().optional(),
83
83
  updated_at: zod_1.z.number().optional(),
84
+ created_by: zod_1.z.string().optional(),
85
+ updated_by: zod_1.z.string().optional(),
86
+ last_active_at: zod_1.z.number().optional(),
84
87
  region_id: zod_1.z.string().optional(),
85
88
  region_title: zod_1.z.string().optional(),
86
89
  group_id: zod_1.z.string().optional(),
package/index.ts CHANGED
@@ -241,6 +241,9 @@ export const MongoSourceSchema = new Schema(
241
241
  metadata: { type: Object, default: {} }, // flexible per platform
242
242
  created_at: { type: Number, default: Date.now },
243
243
  updated_at: { type: Number, default: Date.now },
244
+ created_by: { type: String },
245
+ updated_by: { type: String },
246
+ last_active_at: { type: Number }, // last time data was collected from this source
244
247
  region_id: { type: String }, // e.g., region ID
245
248
  region_title: { type: String }, // e.g., region title
246
249
  group_id: { type: String }, // e.g., source group ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harvester_sdk",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "SDK for interacting with the Harvester API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -87,6 +87,9 @@ export const zodSourceSchema = z.object({
87
87
  metadata: z.record(z.string(), z.any()).optional(), // flexible per platform
88
88
  created_at: z.number().optional(),
89
89
  updated_at: z.number().optional(),
90
+ created_by: z.string().optional(),
91
+ updated_by: z.string().optional(),
92
+ last_active_at: z.number().optional(), // last time data was collected from this source
90
93
  region_id: z.string().optional(), // e.g., region ID // INDEX
91
94
  region_title: z.string().optional(), // e.g., region title
92
95
  group_id: z.string().optional(), // e.g., source group ID // INDEX