@ai-matrx/media 0.11.0 → 0.13.0

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.
@@ -26,7 +26,7 @@
26
26
  */
27
27
  import type { SupabaseClient } from "@supabase/supabase-js";
28
28
  import type { Database } from "./db-types.js";
29
- declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supabase/postgrest-js").PostgrestClient<import("./db-types.js").FilesDatabase, {
29
+ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supabase/postgrest-js").PostgrestClient<Database, {
30
30
  PostgrestVersion: "14.5";
31
31
  }, "files", {
32
32
  Tables: {
@@ -35,7 +35,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
35
35
  created_at: string;
36
36
  created_by: string | null;
37
37
  deleted_at: string | null;
38
- features: import("./db-types.js").Json;
38
+ features: import("@ai-matrx/data/types").Json;
39
39
  id: string;
40
40
  is_default_for_guests: boolean;
41
41
  is_default_for_users: boolean;
@@ -47,7 +47,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
47
47
  max_share_links_per_resource: number | null;
48
48
  max_storage_bytes: number | null;
49
49
  max_versions_per_file: number | null;
50
- metadata: import("./db-types.js").Json;
50
+ metadata: import("@ai-matrx/data/types").Json;
51
51
  name: string;
52
52
  organization_id: string;
53
53
  published_to_web: boolean;
@@ -67,7 +67,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
67
67
  created_at?: string;
68
68
  created_by?: string | null;
69
69
  deleted_at?: string | null;
70
- features?: import("./db-types.js").Json;
70
+ features?: import("@ai-matrx/data/types").Json;
71
71
  id?: string;
72
72
  is_default_for_guests?: boolean;
73
73
  is_default_for_users?: boolean;
@@ -79,7 +79,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
79
79
  max_share_links_per_resource?: number | null;
80
80
  max_storage_bytes?: number | null;
81
81
  max_versions_per_file?: number | null;
82
- metadata?: import("./db-types.js").Json;
82
+ metadata?: import("@ai-matrx/data/types").Json;
83
83
  name: string;
84
84
  organization_id: string;
85
85
  published_to_web?: boolean;
@@ -99,7 +99,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
99
99
  created_at?: string;
100
100
  created_by?: string | null;
101
101
  deleted_at?: string | null;
102
- features?: import("./db-types.js").Json;
102
+ features?: import("@ai-matrx/data/types").Json;
103
103
  id?: string;
104
104
  is_default_for_guests?: boolean;
105
105
  is_default_for_users?: boolean;
@@ -111,7 +111,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
111
111
  max_share_links_per_resource?: number | null;
112
112
  max_storage_bytes?: number | null;
113
113
  max_versions_per_file?: number | null;
114
- metadata?: import("./db-types.js").Json;
114
+ metadata?: import("@ai-matrx/data/types").Json;
115
115
  name?: string;
116
116
  organization_id?: string;
117
117
  published_to_web?: boolean;
@@ -132,70 +132,70 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
132
132
  analysis: {
133
133
  Row: {
134
134
  analyzer_version: string;
135
- classification: import("./db-types.js").Json | null;
135
+ classification: import("@ai-matrx/data/types").Json | null;
136
136
  completed_at: string | null;
137
137
  created_at: string;
138
- custom_fields: import("./db-types.js").Json;
138
+ custom_fields: import("@ai-matrx/data/types").Json;
139
139
  deleted_at: string | null;
140
- detectors_run: import("./db-types.js").Json;
140
+ detectors_run: import("@ai-matrx/data/types").Json;
141
141
  file_id: string;
142
142
  id: string;
143
- metadata: import("./db-types.js").Json;
143
+ metadata: import("@ai-matrx/data/types").Json;
144
144
  mime_type: string | null;
145
145
  organization_id: string;
146
146
  owner_id: string;
147
147
  page_count: number | null;
148
- progress: import("./db-types.js").Json;
148
+ progress: import("@ai-matrx/data/types").Json;
149
149
  started_at: string;
150
150
  status: string;
151
- summary_counts: import("./db-types.js").Json;
152
- text_source_map: import("./db-types.js").Json | null;
151
+ summary_counts: import("@ai-matrx/data/types").Json;
152
+ text_source_map: import("@ai-matrx/data/types").Json | null;
153
153
  thumbnail_url: string | null;
154
154
  updated_at: string;
155
155
  };
156
156
  Insert: {
157
157
  analyzer_version?: string;
158
- classification?: import("./db-types.js").Json | null;
158
+ classification?: import("@ai-matrx/data/types").Json | null;
159
159
  completed_at?: string | null;
160
160
  created_at?: string;
161
- custom_fields?: import("./db-types.js").Json;
161
+ custom_fields?: import("@ai-matrx/data/types").Json;
162
162
  deleted_at?: string | null;
163
- detectors_run?: import("./db-types.js").Json;
163
+ detectors_run?: import("@ai-matrx/data/types").Json;
164
164
  file_id: string;
165
165
  id?: string;
166
- metadata?: import("./db-types.js").Json;
166
+ metadata?: import("@ai-matrx/data/types").Json;
167
167
  mime_type?: string | null;
168
168
  organization_id: string;
169
169
  owner_id: string;
170
170
  page_count?: number | null;
171
- progress?: import("./db-types.js").Json;
171
+ progress?: import("@ai-matrx/data/types").Json;
172
172
  started_at?: string;
173
173
  status?: string;
174
- summary_counts?: import("./db-types.js").Json;
175
- text_source_map?: import("./db-types.js").Json | null;
174
+ summary_counts?: import("@ai-matrx/data/types").Json;
175
+ text_source_map?: import("@ai-matrx/data/types").Json | null;
176
176
  thumbnail_url?: string | null;
177
177
  updated_at?: string;
178
178
  };
179
179
  Update: {
180
180
  analyzer_version?: string;
181
- classification?: import("./db-types.js").Json | null;
181
+ classification?: import("@ai-matrx/data/types").Json | null;
182
182
  completed_at?: string | null;
183
183
  created_at?: string;
184
- custom_fields?: import("./db-types.js").Json;
184
+ custom_fields?: import("@ai-matrx/data/types").Json;
185
185
  deleted_at?: string | null;
186
- detectors_run?: import("./db-types.js").Json;
186
+ detectors_run?: import("@ai-matrx/data/types").Json;
187
187
  file_id?: string;
188
188
  id?: string;
189
- metadata?: import("./db-types.js").Json;
189
+ metadata?: import("@ai-matrx/data/types").Json;
190
190
  mime_type?: string | null;
191
191
  organization_id?: string;
192
192
  owner_id?: string;
193
193
  page_count?: number | null;
194
- progress?: import("./db-types.js").Json;
194
+ progress?: import("@ai-matrx/data/types").Json;
195
195
  started_at?: string;
196
196
  status?: string;
197
- summary_counts?: import("./db-types.js").Json;
198
- text_source_map?: import("./db-types.js").Json | null;
197
+ summary_counts?: import("@ai-matrx/data/types").Json;
198
+ text_source_map?: import("@ai-matrx/data/types").Json | null;
199
199
  thumbnail_url?: string | null;
200
200
  updated_at?: string;
201
201
  };
@@ -211,61 +211,61 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
211
211
  Row: {
212
212
  confidence_tier: string;
213
213
  created_at: string;
214
- custom_fields: import("./db-types.js").Json;
214
+ custom_fields: import("@ai-matrx/data/types").Json;
215
215
  detector_kind: string;
216
216
  detector_version: string;
217
217
  elapsed_ms: number;
218
218
  error: string | null;
219
219
  file_id: string;
220
220
  id: string;
221
- metadata: import("./db-types.js").Json;
221
+ metadata: import("@ai-matrx/data/types").Json;
222
222
  organization_id: string;
223
223
  page_id: string | null;
224
- payload: import("./db-types.js").Json | null;
224
+ payload: import("@ai-matrx/data/types").Json | null;
225
225
  payload_bytes: number;
226
226
  payload_uri: string | null;
227
227
  status: string;
228
- summary: import("./db-types.js").Json;
228
+ summary: import("@ai-matrx/data/types").Json;
229
229
  text_sources: string[];
230
230
  };
231
231
  Insert: {
232
232
  confidence_tier?: string;
233
233
  created_at?: string;
234
- custom_fields?: import("./db-types.js").Json;
234
+ custom_fields?: import("@ai-matrx/data/types").Json;
235
235
  detector_kind: string;
236
236
  detector_version?: string;
237
237
  elapsed_ms?: number;
238
238
  error?: string | null;
239
239
  file_id: string;
240
240
  id?: string;
241
- metadata?: import("./db-types.js").Json;
241
+ metadata?: import("@ai-matrx/data/types").Json;
242
242
  organization_id: string;
243
243
  page_id?: string | null;
244
- payload?: import("./db-types.js").Json | null;
244
+ payload?: import("@ai-matrx/data/types").Json | null;
245
245
  payload_bytes?: number;
246
246
  payload_uri?: string | null;
247
247
  status?: string;
248
- summary?: import("./db-types.js").Json;
248
+ summary?: import("@ai-matrx/data/types").Json;
249
249
  text_sources?: string[];
250
250
  };
251
251
  Update: {
252
252
  confidence_tier?: string;
253
253
  created_at?: string;
254
- custom_fields?: import("./db-types.js").Json;
254
+ custom_fields?: import("@ai-matrx/data/types").Json;
255
255
  detector_kind?: string;
256
256
  detector_version?: string;
257
257
  elapsed_ms?: number;
258
258
  error?: string | null;
259
259
  file_id?: string;
260
260
  id?: string;
261
- metadata?: import("./db-types.js").Json;
261
+ metadata?: import("@ai-matrx/data/types").Json;
262
262
  organization_id?: string;
263
263
  page_id?: string | null;
264
- payload?: import("./db-types.js").Json | null;
264
+ payload?: import("@ai-matrx/data/types").Json | null;
265
265
  payload_bytes?: number;
266
266
  payload_uri?: string | null;
267
267
  status?: string;
268
- summary?: import("./db-types.js").Json;
268
+ summary?: import("@ai-matrx/data/types").Json;
269
269
  text_sources?: string[];
270
270
  };
271
271
  Relationships: [{
@@ -286,15 +286,15 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
286
286
  Row: {
287
287
  canonical_value: string;
288
288
  created_at: string;
289
- custom_fields: import("./db-types.js").Json;
289
+ custom_fields: import("@ai-matrx/data/types").Json;
290
290
  deleted_at: string | null;
291
291
  file_id: string;
292
292
  id: string;
293
293
  is_user_named: boolean;
294
294
  label: string;
295
295
  label_category: string;
296
- metadata: import("./db-types.js").Json;
297
- normalized_value: import("./db-types.js").Json | null;
296
+ metadata: import("@ai-matrx/data/types").Json;
297
+ normalized_value: import("@ai-matrx/data/types").Json | null;
298
298
  organization_id: string;
299
299
  owner_id: string;
300
300
  source_annotation_id: string | null;
@@ -304,15 +304,15 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
304
304
  Insert: {
305
305
  canonical_value: string;
306
306
  created_at?: string;
307
- custom_fields?: import("./db-types.js").Json;
307
+ custom_fields?: import("@ai-matrx/data/types").Json;
308
308
  deleted_at?: string | null;
309
309
  file_id: string;
310
310
  id?: string;
311
311
  is_user_named?: boolean;
312
312
  label: string;
313
313
  label_category?: string;
314
- metadata?: import("./db-types.js").Json;
315
- normalized_value?: import("./db-types.js").Json | null;
314
+ metadata?: import("@ai-matrx/data/types").Json;
315
+ normalized_value?: import("@ai-matrx/data/types").Json | null;
316
316
  organization_id: string;
317
317
  owner_id: string;
318
318
  source_annotation_id?: string | null;
@@ -322,15 +322,15 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
322
322
  Update: {
323
323
  canonical_value?: string;
324
324
  created_at?: string;
325
- custom_fields?: import("./db-types.js").Json;
325
+ custom_fields?: import("@ai-matrx/data/types").Json;
326
326
  deleted_at?: string | null;
327
327
  file_id?: string;
328
328
  id?: string;
329
329
  is_user_named?: boolean;
330
330
  label?: string;
331
331
  label_category?: string;
332
- metadata?: import("./db-types.js").Json;
333
- normalized_value?: import("./db-types.js").Json | null;
332
+ metadata?: import("@ai-matrx/data/types").Json;
333
+ normalized_value?: import("@ai-matrx/data/types").Json | null;
334
334
  organization_id?: string;
335
335
  owner_id?: string;
336
336
  source_annotation_id?: string | null;
@@ -356,11 +356,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
356
356
  attempt_count: number;
357
357
  completed_at: string | null;
358
358
  created_at: string;
359
- custom_fields: import("./db-types.js").Json;
360
- error: import("./db-types.js").Json | null;
359
+ custom_fields: import("@ai-matrx/data/types").Json;
360
+ error: import("@ai-matrx/data/types").Json | null;
361
361
  file_id: string;
362
362
  id: string;
363
- metadata: import("./db-types.js").Json;
363
+ metadata: import("@ai-matrx/data/types").Json;
364
364
  organization_id: string;
365
365
  scheduled_for: string;
366
366
  skipped_reason: string | null;
@@ -374,11 +374,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
374
374
  attempt_count?: number;
375
375
  completed_at?: string | null;
376
376
  created_at?: string;
377
- custom_fields?: import("./db-types.js").Json;
378
- error?: import("./db-types.js").Json | null;
377
+ custom_fields?: import("@ai-matrx/data/types").Json;
378
+ error?: import("@ai-matrx/data/types").Json | null;
379
379
  file_id: string;
380
380
  id?: string;
381
- metadata?: import("./db-types.js").Json;
381
+ metadata?: import("@ai-matrx/data/types").Json;
382
382
  organization_id: string;
383
383
  scheduled_for?: string;
384
384
  skipped_reason?: string | null;
@@ -392,11 +392,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
392
392
  attempt_count?: number;
393
393
  completed_at?: string | null;
394
394
  created_at?: string;
395
- custom_fields?: import("./db-types.js").Json;
396
- error?: import("./db-types.js").Json | null;
395
+ custom_fields?: import("@ai-matrx/data/types").Json;
396
+ error?: import("@ai-matrx/data/types").Json | null;
397
397
  file_id?: string;
398
398
  id?: string;
399
- metadata?: import("./db-types.js").Json;
399
+ metadata?: import("@ai-matrx/data/types").Json;
400
400
  organization_id?: string;
401
401
  scheduled_for?: string;
402
402
  skipped_reason?: string | null;
@@ -420,10 +420,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
420
420
  checksum: string | null;
421
421
  created_at: string;
422
422
  created_by: string | null;
423
- custom_fields: import("./db-types.js").Json;
423
+ custom_fields: import("@ai-matrx/data/types").Json;
424
424
  file_id: string;
425
425
  id: string;
426
- metadata: import("./db-types.js").Json;
426
+ metadata: import("@ai-matrx/data/types").Json;
427
427
  organization_id: string;
428
428
  size_bytes: number | null;
429
429
  storage_uri: string;
@@ -434,10 +434,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
434
434
  checksum?: string | null;
435
435
  created_at?: string;
436
436
  created_by?: string | null;
437
- custom_fields?: import("./db-types.js").Json;
437
+ custom_fields?: import("@ai-matrx/data/types").Json;
438
438
  file_id: string;
439
439
  id?: string;
440
- metadata?: import("./db-types.js").Json;
440
+ metadata?: import("@ai-matrx/data/types").Json;
441
441
  organization_id: string;
442
442
  size_bytes?: number | null;
443
443
  storage_uri: string;
@@ -448,10 +448,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
448
448
  checksum?: string | null;
449
449
  created_at?: string;
450
450
  created_by?: string | null;
451
- custom_fields?: import("./db-types.js").Json;
451
+ custom_fields?: import("@ai-matrx/data/types").Json;
452
452
  file_id?: string;
453
453
  id?: string;
454
- metadata?: import("./db-types.js").Json;
454
+ metadata?: import("@ai-matrx/data/types").Json;
455
455
  organization_id?: string;
456
456
  size_bytes?: number | null;
457
457
  storage_uri?: string;
@@ -474,17 +474,17 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
474
474
  created_at: string;
475
475
  created_by: string;
476
476
  current_version: number;
477
- custom_fields: import("./db-types.js").Json;
477
+ custom_fields: import("@ai-matrx/data/types").Json;
478
478
  deleted_at: string | null;
479
479
  derivation_kind: string | null;
480
- derivation_metadata: import("./db-types.js").Json;
480
+ derivation_metadata: import("@ai-matrx/data/types").Json;
481
481
  duplicate_of_file_id: string | null;
482
482
  duration_ms: number | null;
483
483
  file_name: string;
484
484
  file_path: string;
485
485
  height: number | null;
486
486
  id: string;
487
- metadata: import("./db-types.js").Json;
487
+ metadata: import("@ai-matrx/data/types").Json;
488
488
  mime_type: string | null;
489
489
  organization_id: string;
490
490
  origin_device_id: string | null;
@@ -513,17 +513,17 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
513
513
  created_at?: string;
514
514
  created_by: string;
515
515
  current_version?: number;
516
- custom_fields?: import("./db-types.js").Json;
516
+ custom_fields?: import("@ai-matrx/data/types").Json;
517
517
  deleted_at?: string | null;
518
518
  derivation_kind?: string | null;
519
- derivation_metadata?: import("./db-types.js").Json;
519
+ derivation_metadata?: import("@ai-matrx/data/types").Json;
520
520
  duplicate_of_file_id?: string | null;
521
521
  duration_ms?: number | null;
522
522
  file_name: string;
523
523
  file_path: string;
524
524
  height?: number | null;
525
525
  id?: string;
526
- metadata?: import("./db-types.js").Json;
526
+ metadata?: import("@ai-matrx/data/types").Json;
527
527
  mime_type?: string | null;
528
528
  organization_id: string;
529
529
  origin_device_id?: string | null;
@@ -552,17 +552,17 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
552
552
  created_at?: string;
553
553
  created_by?: string;
554
554
  current_version?: number;
555
- custom_fields?: import("./db-types.js").Json;
555
+ custom_fields?: import("@ai-matrx/data/types").Json;
556
556
  deleted_at?: string | null;
557
557
  derivation_kind?: string | null;
558
- derivation_metadata?: import("./db-types.js").Json;
558
+ derivation_metadata?: import("@ai-matrx/data/types").Json;
559
559
  duplicate_of_file_id?: string | null;
560
560
  duration_ms?: number | null;
561
561
  file_name?: string;
562
562
  file_path?: string;
563
563
  height?: number | null;
564
564
  id?: string;
565
- metadata?: import("./db-types.js").Json;
565
+ metadata?: import("@ai-matrx/data/types").Json;
566
566
  mime_type?: string | null;
567
567
  organization_id?: string;
568
568
  origin_device_id?: string | null;
@@ -607,13 +607,13 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
607
607
  Row: {
608
608
  created_at: string;
609
609
  created_by: string;
610
- custom_fields: import("./db-types.js").Json;
610
+ custom_fields: import("@ai-matrx/data/types").Json;
611
611
  deleted_at: string | null;
612
612
  folder_name: string;
613
613
  folder_path: string;
614
614
  id: string;
615
615
  is_system: boolean;
616
- metadata: import("./db-types.js").Json;
616
+ metadata: import("@ai-matrx/data/types").Json;
617
617
  organization_id: string;
618
618
  parent_id: string | null;
619
619
  published_to_web: boolean;
@@ -628,13 +628,13 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
628
628
  Insert: {
629
629
  created_at?: string;
630
630
  created_by: string;
631
- custom_fields?: import("./db-types.js").Json;
631
+ custom_fields?: import("@ai-matrx/data/types").Json;
632
632
  deleted_at?: string | null;
633
633
  folder_name: string;
634
634
  folder_path: string;
635
635
  id?: string;
636
636
  is_system?: boolean;
637
- metadata?: import("./db-types.js").Json;
637
+ metadata?: import("@ai-matrx/data/types").Json;
638
638
  organization_id: string;
639
639
  parent_id?: string | null;
640
640
  published_to_web?: boolean;
@@ -649,13 +649,13 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
649
649
  Update: {
650
650
  created_at?: string;
651
651
  created_by?: string;
652
- custom_fields?: import("./db-types.js").Json;
652
+ custom_fields?: import("@ai-matrx/data/types").Json;
653
653
  deleted_at?: string | null;
654
654
  folder_name?: string;
655
655
  folder_path?: string;
656
656
  id?: string;
657
657
  is_system?: boolean;
658
- metadata?: import("./db-types.js").Json;
658
+ metadata?: import("@ai-matrx/data/types").Json;
659
659
  organization_id?: string;
660
660
  parent_id?: string | null;
661
661
  published_to_web?: boolean;
@@ -685,7 +685,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
685
685
  request_hash: string;
686
686
  resource_id: string | null;
687
687
  resource_type: string | null;
688
- response_body: import("./db-types.js").Json;
688
+ response_body: import("@ai-matrx/data/types").Json;
689
689
  status_code: number;
690
690
  };
691
691
  Insert: {
@@ -697,7 +697,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
697
697
  request_hash: string;
698
698
  resource_id?: string | null;
699
699
  resource_type?: string | null;
700
- response_body: import("./db-types.js").Json;
700
+ response_body: import("@ai-matrx/data/types").Json;
701
701
  status_code: number;
702
702
  };
703
703
  Update: {
@@ -709,7 +709,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
709
709
  request_hash?: string;
710
710
  resource_id?: string | null;
711
711
  resource_type?: string | null;
712
- response_body?: import("./db-types.js").Json;
712
+ response_body?: import("@ai-matrx/data/types").Json;
713
713
  status_code?: number;
714
714
  };
715
715
  Relationships: [];
@@ -724,7 +724,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
724
724
  id: string;
725
725
  is_active: boolean;
726
726
  label: string;
727
- metadata: import("./db-types.js").Json;
727
+ metadata: import("@ai-matrx/data/types").Json;
728
728
  organization_id: string;
729
729
  prefix: string;
730
730
  published_to_web: boolean;
@@ -746,7 +746,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
746
746
  id?: string;
747
747
  is_active?: boolean;
748
748
  label: string;
749
- metadata?: import("./db-types.js").Json;
749
+ metadata?: import("@ai-matrx/data/types").Json;
750
750
  organization_id: string;
751
751
  prefix: string;
752
752
  published_to_web?: boolean;
@@ -768,7 +768,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
768
768
  id?: string;
769
769
  is_active?: boolean;
770
770
  label?: string;
771
- metadata?: import("./db-types.js").Json;
771
+ metadata?: import("@ai-matrx/data/types").Json;
772
772
  organization_id?: string;
773
773
  prefix?: string;
774
774
  published_to_web?: boolean;
@@ -787,15 +787,15 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
787
787
  Row: {
788
788
  created_at: string;
789
789
  created_by: string | null;
790
- custom_fields: import("./db-types.js").Json;
790
+ custom_fields: import("@ai-matrx/data/types").Json;
791
791
  deleted_at: string | null;
792
792
  file_id: string;
793
793
  id: string;
794
- metadata: import("./db-types.js").Json;
794
+ metadata: import("@ai-matrx/data/types").Json;
795
795
  notes: string | null;
796
796
  organization_id: string;
797
797
  override_kind: string;
798
- override_value: import("./db-types.js").Json;
798
+ override_value: import("@ai-matrx/data/types").Json;
799
799
  owner_id: string;
800
800
  page_id: string | null;
801
801
  updated_at: string;
@@ -804,15 +804,15 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
804
804
  Insert: {
805
805
  created_at?: string;
806
806
  created_by?: string | null;
807
- custom_fields?: import("./db-types.js").Json;
807
+ custom_fields?: import("@ai-matrx/data/types").Json;
808
808
  deleted_at?: string | null;
809
809
  file_id: string;
810
810
  id?: string;
811
- metadata?: import("./db-types.js").Json;
811
+ metadata?: import("@ai-matrx/data/types").Json;
812
812
  notes?: string | null;
813
813
  organization_id: string;
814
814
  override_kind: string;
815
- override_value: import("./db-types.js").Json;
815
+ override_value: import("@ai-matrx/data/types").Json;
816
816
  owner_id: string;
817
817
  page_id?: string | null;
818
818
  updated_at?: string;
@@ -821,15 +821,15 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
821
821
  Update: {
822
822
  created_at?: string;
823
823
  created_by?: string | null;
824
- custom_fields?: import("./db-types.js").Json;
824
+ custom_fields?: import("@ai-matrx/data/types").Json;
825
825
  deleted_at?: string | null;
826
826
  file_id?: string;
827
827
  id?: string;
828
- metadata?: import("./db-types.js").Json;
828
+ metadata?: import("@ai-matrx/data/types").Json;
829
829
  notes?: string | null;
830
830
  organization_id?: string;
831
831
  override_kind?: string;
832
- override_value?: import("./db-types.js").Json;
832
+ override_value?: import("@ai-matrx/data/types").Json;
833
833
  owner_id?: string;
834
834
  page_id?: string | null;
835
835
  updated_at?: string;
@@ -851,10 +851,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
851
851
  };
852
852
  page_annotations: {
853
853
  Row: {
854
- bbox: import("./db-types.js").Json;
854
+ bbox: import("@ai-matrx/data/types").Json;
855
855
  created_at: string;
856
856
  created_by: string | null;
857
- custom_fields: import("./db-types.js").Json;
857
+ custom_fields: import("@ai-matrx/data/types").Json;
858
858
  deleted_at: string | null;
859
859
  entity_id: string | null;
860
860
  extracted_text: string | null;
@@ -865,8 +865,8 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
865
865
  label: string;
866
866
  label_category: string;
867
867
  last_edited_by: string | null;
868
- metadata: import("./db-types.js").Json;
869
- normalized_value: import("./db-types.js").Json | null;
868
+ metadata: import("@ai-matrx/data/types").Json;
869
+ normalized_value: import("@ai-matrx/data/types").Json | null;
870
870
  notes: string | null;
871
871
  organization_id: string;
872
872
  owner_id: string;
@@ -881,10 +881,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
881
881
  version: number;
882
882
  };
883
883
  Insert: {
884
- bbox: import("./db-types.js").Json;
884
+ bbox: import("@ai-matrx/data/types").Json;
885
885
  created_at?: string;
886
886
  created_by?: string | null;
887
- custom_fields?: import("./db-types.js").Json;
887
+ custom_fields?: import("@ai-matrx/data/types").Json;
888
888
  deleted_at?: string | null;
889
889
  entity_id?: string | null;
890
890
  extracted_text?: string | null;
@@ -895,8 +895,8 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
895
895
  label: string;
896
896
  label_category?: string;
897
897
  last_edited_by?: string | null;
898
- metadata?: import("./db-types.js").Json;
899
- normalized_value?: import("./db-types.js").Json | null;
898
+ metadata?: import("@ai-matrx/data/types").Json;
899
+ normalized_value?: import("@ai-matrx/data/types").Json | null;
900
900
  notes?: string | null;
901
901
  organization_id: string;
902
902
  owner_id: string;
@@ -911,10 +911,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
911
911
  version?: number;
912
912
  };
913
913
  Update: {
914
- bbox?: import("./db-types.js").Json;
914
+ bbox?: import("@ai-matrx/data/types").Json;
915
915
  created_at?: string;
916
916
  created_by?: string | null;
917
- custom_fields?: import("./db-types.js").Json;
917
+ custom_fields?: import("@ai-matrx/data/types").Json;
918
918
  deleted_at?: string | null;
919
919
  entity_id?: string | null;
920
920
  extracted_text?: string | null;
@@ -925,8 +925,8 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
925
925
  label?: string;
926
926
  label_category?: string;
927
927
  last_edited_by?: string | null;
928
- metadata?: import("./db-types.js").Json;
929
- normalized_value?: import("./db-types.js").Json | null;
928
+ metadata?: import("@ai-matrx/data/types").Json;
929
+ normalized_value?: import("@ai-matrx/data/types").Json | null;
930
930
  notes?: string | null;
931
931
  organization_id?: string;
932
932
  owner_id?: string;
@@ -969,7 +969,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
969
969
  pages: {
970
970
  Row: {
971
971
  created_at: string;
972
- custom_fields: import("./db-types.js").Json;
972
+ custom_fields: import("@ai-matrx/data/types").Json;
973
973
  deleted_at: string | null;
974
974
  excluded_at: string | null;
975
975
  excluded_by: string | null;
@@ -977,7 +977,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
977
977
  file_id: string;
978
978
  height_pt: number | null;
979
979
  id: string;
980
- metadata: import("./db-types.js").Json;
980
+ metadata: import("@ai-matrx/data/types").Json;
981
981
  ocr_confidence: number | null;
982
982
  organization_id: string;
983
983
  owner_id: string;
@@ -994,7 +994,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
994
994
  };
995
995
  Insert: {
996
996
  created_at?: string;
997
- custom_fields?: import("./db-types.js").Json;
997
+ custom_fields?: import("@ai-matrx/data/types").Json;
998
998
  deleted_at?: string | null;
999
999
  excluded_at?: string | null;
1000
1000
  excluded_by?: string | null;
@@ -1002,7 +1002,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1002
1002
  file_id: string;
1003
1003
  height_pt?: number | null;
1004
1004
  id?: string;
1005
- metadata?: import("./db-types.js").Json;
1005
+ metadata?: import("@ai-matrx/data/types").Json;
1006
1006
  ocr_confidence?: number | null;
1007
1007
  organization_id: string;
1008
1008
  owner_id: string;
@@ -1019,7 +1019,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1019
1019
  };
1020
1020
  Update: {
1021
1021
  created_at?: string;
1022
- custom_fields?: import("./db-types.js").Json;
1022
+ custom_fields?: import("@ai-matrx/data/types").Json;
1023
1023
  deleted_at?: string | null;
1024
1024
  excluded_at?: string | null;
1025
1025
  excluded_by?: string | null;
@@ -1027,7 +1027,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1027
1027
  file_id?: string;
1028
1028
  height_pt?: number | null;
1029
1029
  id?: string;
1030
- metadata?: import("./db-types.js").Json;
1030
+ metadata?: import("@ai-matrx/data/types").Json;
1031
1031
  ocr_confidence?: number | null;
1032
1032
  organization_id?: string;
1033
1033
  owner_id?: string;
@@ -1075,11 +1075,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1075
1075
  Row: {
1076
1076
  bucket_id: string;
1077
1077
  created_at: string;
1078
- custom_fields: import("./db-types.js").Json;
1078
+ custom_fields: import("@ai-matrx/data/types").Json;
1079
1079
  file_id: string | null;
1080
1080
  id: string;
1081
1081
  is_folder: boolean;
1082
- metadata: import("./db-types.js").Json;
1082
+ metadata: import("@ai-matrx/data/types").Json;
1083
1083
  name: string;
1084
1084
  organization_id: string;
1085
1085
  parent_path: string | null;
@@ -1089,11 +1089,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1089
1089
  Insert: {
1090
1090
  bucket_id: string;
1091
1091
  created_at?: string;
1092
- custom_fields?: import("./db-types.js").Json;
1092
+ custom_fields?: import("@ai-matrx/data/types").Json;
1093
1093
  file_id?: string | null;
1094
1094
  id?: string;
1095
1095
  is_folder: boolean;
1096
- metadata?: import("./db-types.js").Json;
1096
+ metadata?: import("@ai-matrx/data/types").Json;
1097
1097
  name: string;
1098
1098
  organization_id: string;
1099
1099
  parent_path?: string | null;
@@ -1103,11 +1103,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1103
1103
  Update: {
1104
1104
  bucket_id?: string;
1105
1105
  created_at?: string;
1106
- custom_fields?: import("./db-types.js").Json;
1106
+ custom_fields?: import("@ai-matrx/data/types").Json;
1107
1107
  file_id?: string | null;
1108
1108
  id?: string;
1109
1109
  is_folder?: boolean;
1110
- metadata?: import("./db-types.js").Json;
1110
+ metadata?: import("@ai-matrx/data/types").Json;
1111
1111
  name?: string;
1112
1112
  organization_id?: string;
1113
1113
  parent_path?: string | null;
@@ -1127,7 +1127,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1127
1127
  bytes_total: number | null;
1128
1128
  created_at: string;
1129
1129
  created_by: string | null;
1130
- custom_fields: import("./db-types.js").Json;
1130
+ custom_fields: import("@ai-matrx/data/types").Json;
1131
1131
  deleted_at: string | null;
1132
1132
  desired_state: string;
1133
1133
  device_id: string;
@@ -1135,12 +1135,12 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1135
1135
  folder_id: string | null;
1136
1136
  id: string;
1137
1137
  items_total: number | null;
1138
- knobs: import("./db-types.js").Json;
1138
+ knobs: import("@ai-matrx/data/types").Json;
1139
1139
  last_seen_at: string | null;
1140
1140
  last_synced_at: string | null;
1141
1141
  local_path: string;
1142
1142
  local_path_display: string | null;
1143
- metadata: import("./db-types.js").Json;
1143
+ metadata: import("@ai-matrx/data/types").Json;
1144
1144
  organization_id: string;
1145
1145
  published_to_web: boolean;
1146
1146
  published_to_web_at: string | null;
@@ -1158,7 +1158,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1158
1158
  bytes_total?: number | null;
1159
1159
  created_at?: string;
1160
1160
  created_by?: string | null;
1161
- custom_fields?: import("./db-types.js").Json;
1161
+ custom_fields?: import("@ai-matrx/data/types").Json;
1162
1162
  deleted_at?: string | null;
1163
1163
  desired_state?: string;
1164
1164
  device_id: string;
@@ -1166,12 +1166,12 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1166
1166
  folder_id?: string | null;
1167
1167
  id?: string;
1168
1168
  items_total?: number | null;
1169
- knobs?: import("./db-types.js").Json;
1169
+ knobs?: import("@ai-matrx/data/types").Json;
1170
1170
  last_seen_at?: string | null;
1171
1171
  last_synced_at?: string | null;
1172
1172
  local_path: string;
1173
1173
  local_path_display?: string | null;
1174
- metadata?: import("./db-types.js").Json;
1174
+ metadata?: import("@ai-matrx/data/types").Json;
1175
1175
  organization_id: string;
1176
1176
  published_to_web?: boolean;
1177
1177
  published_to_web_at?: string | null;
@@ -1189,7 +1189,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1189
1189
  bytes_total?: number | null;
1190
1190
  created_at?: string;
1191
1191
  created_by?: string | null;
1192
- custom_fields?: import("./db-types.js").Json;
1192
+ custom_fields?: import("@ai-matrx/data/types").Json;
1193
1193
  deleted_at?: string | null;
1194
1194
  desired_state?: string;
1195
1195
  device_id?: string;
@@ -1197,12 +1197,12 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1197
1197
  folder_id?: string | null;
1198
1198
  id?: string;
1199
1199
  items_total?: number | null;
1200
- knobs?: import("./db-types.js").Json;
1200
+ knobs?: import("@ai-matrx/data/types").Json;
1201
1201
  last_seen_at?: string | null;
1202
1202
  last_synced_at?: string | null;
1203
1203
  local_path?: string;
1204
1204
  local_path_display?: string | null;
1205
- metadata?: import("./db-types.js").Json;
1205
+ metadata?: import("@ai-matrx/data/types").Json;
1206
1206
  organization_id?: string;
1207
1207
  published_to_web?: boolean;
1208
1208
  published_to_web_at?: string | null;
@@ -1228,7 +1228,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1228
1228
  Row: {
1229
1229
  bucket: string;
1230
1230
  created_at: string;
1231
- custom_fields: import("./db-types.js").Json;
1231
+ custom_fields: import("@ai-matrx/data/types").Json;
1232
1232
  expires_at: string;
1233
1233
  file_id: string;
1234
1234
  file_name: string;
@@ -1236,11 +1236,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1236
1236
  id: string;
1237
1237
  idempotency_key: string | null;
1238
1238
  key: string;
1239
- metadata: import("./db-types.js").Json;
1239
+ metadata: import("@ai-matrx/data/types").Json;
1240
1240
  mime_type: string | null;
1241
1241
  multipart_upload_id: string;
1242
1242
  owner_id: string;
1243
- parts: import("./db-types.js").Json;
1243
+ parts: import("@ai-matrx/data/types").Json;
1244
1244
  status: string;
1245
1245
  updated_at: string;
1246
1246
  upload_length: number;
@@ -1250,7 +1250,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1250
1250
  Insert: {
1251
1251
  bucket: string;
1252
1252
  created_at?: string;
1253
- custom_fields?: import("./db-types.js").Json;
1253
+ custom_fields?: import("@ai-matrx/data/types").Json;
1254
1254
  expires_at?: string;
1255
1255
  file_id: string;
1256
1256
  file_name: string;
@@ -1258,11 +1258,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1258
1258
  id?: string;
1259
1259
  idempotency_key?: string | null;
1260
1260
  key: string;
1261
- metadata?: import("./db-types.js").Json;
1261
+ metadata?: import("@ai-matrx/data/types").Json;
1262
1262
  mime_type?: string | null;
1263
1263
  multipart_upload_id: string;
1264
1264
  owner_id: string;
1265
- parts?: import("./db-types.js").Json;
1265
+ parts?: import("@ai-matrx/data/types").Json;
1266
1266
  status?: string;
1267
1267
  updated_at?: string;
1268
1268
  upload_length: number;
@@ -1272,7 +1272,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1272
1272
  Update: {
1273
1273
  bucket?: string;
1274
1274
  created_at?: string;
1275
- custom_fields?: import("./db-types.js").Json;
1275
+ custom_fields?: import("@ai-matrx/data/types").Json;
1276
1276
  expires_at?: string;
1277
1277
  file_id?: string;
1278
1278
  file_name?: string;
@@ -1280,11 +1280,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1280
1280
  id?: string;
1281
1281
  idempotency_key?: string | null;
1282
1282
  key?: string;
1283
- metadata?: import("./db-types.js").Json;
1283
+ metadata?: import("@ai-matrx/data/types").Json;
1284
1284
  mime_type?: string | null;
1285
1285
  multipart_upload_id?: string;
1286
1286
  owner_id?: string;
1287
- parts?: import("./db-types.js").Json;
1287
+ parts?: import("@ai-matrx/data/types").Json;
1288
1288
  status?: string;
1289
1289
  updated_at?: string;
1290
1290
  upload_length?: number;
@@ -1297,10 +1297,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1297
1297
  Row: {
1298
1298
  blocked_reason: string | null;
1299
1299
  created_at: string;
1300
- custom_fields: import("./db-types.js").Json;
1301
- custom_limits: import("./db-types.js").Json;
1300
+ custom_fields: import("@ai-matrx/data/types").Json;
1301
+ custom_limits: import("@ai-matrx/data/types").Json;
1302
1302
  is_blocked: boolean;
1303
- metadata: import("./db-types.js").Json;
1303
+ metadata: import("@ai-matrx/data/types").Json;
1304
1304
  notes: string | null;
1305
1305
  tier_id: string;
1306
1306
  updated_at: string;
@@ -1309,10 +1309,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1309
1309
  Insert: {
1310
1310
  blocked_reason?: string | null;
1311
1311
  created_at?: string;
1312
- custom_fields?: import("./db-types.js").Json;
1313
- custom_limits?: import("./db-types.js").Json;
1312
+ custom_fields?: import("@ai-matrx/data/types").Json;
1313
+ custom_limits?: import("@ai-matrx/data/types").Json;
1314
1314
  is_blocked?: boolean;
1315
- metadata?: import("./db-types.js").Json;
1315
+ metadata?: import("@ai-matrx/data/types").Json;
1316
1316
  notes?: string | null;
1317
1317
  tier_id: string;
1318
1318
  updated_at?: string;
@@ -1321,10 +1321,10 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1321
1321
  Update: {
1322
1322
  blocked_reason?: string | null;
1323
1323
  created_at?: string;
1324
- custom_fields?: import("./db-types.js").Json;
1325
- custom_limits?: import("./db-types.js").Json;
1324
+ custom_fields?: import("@ai-matrx/data/types").Json;
1325
+ custom_limits?: import("@ai-matrx/data/types").Json;
1326
1326
  is_blocked?: boolean;
1327
- metadata?: import("./db-types.js").Json;
1327
+ metadata?: import("@ai-matrx/data/types").Json;
1328
1328
  notes?: string | null;
1329
1329
  tier_id?: string;
1330
1330
  updated_at?: string;
@@ -1341,7 +1341,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1341
1341
  user_storage_usage: {
1342
1342
  Row: {
1343
1343
  bytes_used: number;
1344
- custom_fields: import("./db-types.js").Json;
1344
+ custom_fields: import("@ai-matrx/data/types").Json;
1345
1345
  daily_reset_at: string;
1346
1346
  daily_upload_bytes: number;
1347
1347
  daily_upload_count: number;
@@ -1351,7 +1351,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1351
1351
  };
1352
1352
  Insert: {
1353
1353
  bytes_used?: number;
1354
- custom_fields?: import("./db-types.js").Json;
1354
+ custom_fields?: import("@ai-matrx/data/types").Json;
1355
1355
  daily_reset_at?: string;
1356
1356
  daily_upload_bytes?: number;
1357
1357
  daily_upload_count?: number;
@@ -1361,7 +1361,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1361
1361
  };
1362
1362
  Update: {
1363
1363
  bytes_used?: number;
1364
- custom_fields?: import("./db-types.js").Json;
1364
+ custom_fields?: import("@ai-matrx/data/types").Json;
1365
1365
  daily_reset_at?: string;
1366
1366
  daily_upload_bytes?: number;
1367
1367
  daily_upload_count?: number;
@@ -1377,13 +1377,13 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1377
1377
  attempt: number;
1378
1378
  completed_at: string | null;
1379
1379
  created_at: string;
1380
- custom_fields: import("./db-types.js").Json;
1380
+ custom_fields: import("@ai-matrx/data/types").Json;
1381
1381
  dispatched_at: string | null;
1382
1382
  error_message: string | null;
1383
1383
  http_status: number | null;
1384
1384
  id: string;
1385
1385
  latency_ms: number | null;
1386
- metadata: import("./db-types.js").Json;
1386
+ metadata: import("@ai-matrx/data/types").Json;
1387
1387
  net_request_id: number | null;
1388
1388
  next_attempt_at: string | null;
1389
1389
  organization_id: string;
@@ -1396,13 +1396,13 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1396
1396
  attempt?: number;
1397
1397
  completed_at?: string | null;
1398
1398
  created_at?: string;
1399
- custom_fields?: import("./db-types.js").Json;
1399
+ custom_fields?: import("@ai-matrx/data/types").Json;
1400
1400
  dispatched_at?: string | null;
1401
1401
  error_message?: string | null;
1402
1402
  http_status?: number | null;
1403
1403
  id?: string;
1404
1404
  latency_ms?: number | null;
1405
- metadata?: import("./db-types.js").Json;
1405
+ metadata?: import("@ai-matrx/data/types").Json;
1406
1406
  net_request_id?: number | null;
1407
1407
  next_attempt_at?: string | null;
1408
1408
  organization_id: string;
@@ -1415,13 +1415,13 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1415
1415
  attempt?: number;
1416
1416
  completed_at?: string | null;
1417
1417
  created_at?: string;
1418
- custom_fields?: import("./db-types.js").Json;
1418
+ custom_fields?: import("@ai-matrx/data/types").Json;
1419
1419
  dispatched_at?: string | null;
1420
1420
  error_message?: string | null;
1421
1421
  http_status?: number | null;
1422
1422
  id?: string;
1423
1423
  latency_ms?: number | null;
1424
- metadata?: import("./db-types.js").Json;
1424
+ metadata?: import("@ai-matrx/data/types").Json;
1425
1425
  net_request_id?: number | null;
1426
1426
  next_attempt_at?: string | null;
1427
1427
  organization_id?: string;
@@ -1460,7 +1460,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1460
1460
  consecutive_failures: number;
1461
1461
  created_at: string;
1462
1462
  created_by: string | null;
1463
- custom_fields: import("./db-types.js").Json;
1463
+ custom_fields: import("@ai-matrx/data/types").Json;
1464
1464
  deleted_at: string | null;
1465
1465
  description: string | null;
1466
1466
  event_types: string[] | null;
@@ -1469,7 +1469,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1469
1469
  last_attempt_at: string | null;
1470
1470
  last_success_at: string | null;
1471
1471
  max_consecutive_failures: number;
1472
- metadata: import("./db-types.js").Json;
1472
+ metadata: import("@ai-matrx/data/types").Json;
1473
1473
  organization_id: string;
1474
1474
  resource_types: string[] | null;
1475
1475
  secret: string;
@@ -1482,7 +1482,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1482
1482
  consecutive_failures?: number;
1483
1483
  created_at?: string;
1484
1484
  created_by?: string | null;
1485
- custom_fields?: import("./db-types.js").Json;
1485
+ custom_fields?: import("@ai-matrx/data/types").Json;
1486
1486
  deleted_at?: string | null;
1487
1487
  description?: string | null;
1488
1488
  event_types?: string[] | null;
@@ -1491,7 +1491,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1491
1491
  last_attempt_at?: string | null;
1492
1492
  last_success_at?: string | null;
1493
1493
  max_consecutive_failures?: number;
1494
- metadata?: import("./db-types.js").Json;
1494
+ metadata?: import("@ai-matrx/data/types").Json;
1495
1495
  organization_id: string;
1496
1496
  resource_types?: string[] | null;
1497
1497
  secret: string;
@@ -1504,7 +1504,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1504
1504
  consecutive_failures?: number;
1505
1505
  created_at?: string;
1506
1506
  created_by?: string | null;
1507
- custom_fields?: import("./db-types.js").Json;
1507
+ custom_fields?: import("@ai-matrx/data/types").Json;
1508
1508
  deleted_at?: string | null;
1509
1509
  description?: string | null;
1510
1510
  event_types?: string[] | null;
@@ -1513,7 +1513,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1513
1513
  last_attempt_at?: string | null;
1514
1514
  last_success_at?: string | null;
1515
1515
  max_consecutive_failures?: number;
1516
- metadata?: import("./db-types.js").Json;
1516
+ metadata?: import("@ai-matrx/data/types").Json;
1517
1517
  organization_id?: string;
1518
1518
  resource_types?: string[] | null;
1519
1519
  secret?: string;
@@ -1651,7 +1651,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1651
1651
  Args: {
1652
1652
  p_file_name: string;
1653
1653
  p_file_path: string;
1654
- p_metadata: import("./db-types.js").Json;
1654
+ p_metadata: import("@ai-matrx/data/types").Json;
1655
1655
  };
1656
1656
  Returns: boolean;
1657
1657
  };
@@ -1710,7 +1710,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1710
1710
  Args: {
1711
1711
  p_paths: string[];
1712
1712
  };
1713
- Returns: import("./db-types.js").Json;
1713
+ Returns: import("@ai-matrx/data/types").Json;
1714
1714
  };
1715
1715
  min_tombstone_retention_days: {
1716
1716
  Args: never;
@@ -1724,11 +1724,11 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1724
1724
  attempt_count: number;
1725
1725
  completed_at: string | null;
1726
1726
  created_at: string;
1727
- custom_fields: import("./db-types.js").Json;
1728
- error: import("./db-types.js").Json | null;
1727
+ custom_fields: import("@ai-matrx/data/types").Json;
1728
+ error: import("@ai-matrx/data/types").Json | null;
1729
1729
  file_id: string;
1730
1730
  id: string;
1731
- metadata: import("./db-types.js").Json;
1731
+ metadata: import("@ai-matrx/data/types").Json;
1732
1732
  organization_id: string;
1733
1733
  scheduled_for: string;
1734
1734
  skipped_reason: string | null;
@@ -1772,7 +1772,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1772
1772
  consecutive_failures: number;
1773
1773
  created_at: string;
1774
1774
  created_by: string | null;
1775
- custom_fields: import("./db-types.js").Json;
1775
+ custom_fields: import("@ai-matrx/data/types").Json;
1776
1776
  deleted_at: string | null;
1777
1777
  description: string | null;
1778
1778
  event_types: string[] | null;
@@ -1781,7 +1781,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1781
1781
  last_attempt_at: string | null;
1782
1782
  last_success_at: string | null;
1783
1783
  max_consecutive_failures: number;
1784
- metadata: import("./db-types.js").Json;
1784
+ metadata: import("@ai-matrx/data/types").Json;
1785
1785
  organization_id: string;
1786
1786
  resource_types: string[] | null;
1787
1787
  secret: string;
@@ -1808,7 +1808,7 @@ declare const filesSchemaOf: (client: SupabaseClient<Database>) => import("@supa
1808
1808
  p_event_id: number;
1809
1809
  p_webhook_id: string;
1810
1810
  };
1811
- Returns: import("./db-types.js").Json;
1811
+ Returns: import("@ai-matrx/data/types").Json;
1812
1812
  };
1813
1813
  webhook_reconcile: {
1814
1814
  Args: never;