@flowselections/floriday-klanten-module 1.0.8 → 1.0.9

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.
Files changed (37) hide show
  1. package/dist-lib/components/klanten/CustomerAnalyticsTab.d.ts +4 -0
  2. package/dist-lib/components/klanten/CustomerAnalyticsTab.d.ts.map +1 -0
  3. package/dist-lib/components/klanten/CustomerAnalyticsTab.js +90 -0
  4. package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts +4 -0
  5. package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts.map +1 -0
  6. package/dist-lib/components/klanten/DeliveryLocationsTab.js +94 -0
  7. package/dist-lib/components/klanten/KlantDetailLayout.d.ts +75 -0
  8. package/dist-lib/components/klanten/KlantDetailLayout.d.ts.map +1 -0
  9. package/dist-lib/components/klanten/KlantDetailLayout.js +172 -0
  10. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  11. package/dist-lib/components/klanten/KlantenOverzicht.js +12 -32
  12. package/dist-lib/index.js +1 -1
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2738 -145
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.d.ts +2738 -145
  16. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.server.d.ts +2738 -145
  18. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/types.d.ts +2825 -149
  20. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.js +2 -0
  22. package/dist-lib/lib/accounting.functions.d.ts +17440 -9661
  23. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/customer-analytics.functions.d.ts +9287 -0
  25. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -0
  26. package/dist-lib/lib/customer-analytics.functions.js +165 -0
  27. package/dist-lib/lib/customers.functions.d.ts +42298 -24141
  28. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/delivery-locations.functions.d.ts +37018 -0
  30. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -0
  31. package/dist-lib/lib/delivery-locations.functions.js +150 -0
  32. package/dist-lib/lib/eu-regions.d.ts +14 -0
  33. package/dist-lib/lib/eu-regions.d.ts.map +1 -0
  34. package/dist-lib/lib/eu-regions.js +68 -0
  35. package/dist-lib/lib/external-customers.functions.d.ts +24860 -14488
  36. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  37. package/package.json +5 -4
@@ -2,6 +2,48 @@ import type { Database } from './types';
2
2
  export declare const requireSupabaseAuth: import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
3
3
  supabase: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
4
4
  Tables: {
5
+ afhandeling_settings: {
6
+ Row: {
7
+ created_at: string;
8
+ id: string;
9
+ max_workdays_earlier_pick: number;
10
+ pick_days_before_transport: number;
11
+ pick_distribution_enabled: boolean;
12
+ signup_mail_enabled: boolean;
13
+ signup_mail_lead_minutes: number;
14
+ signup_mail_purpose: string;
15
+ transport_register_days_before: number;
16
+ updated_at: string;
17
+ user_id: string;
18
+ };
19
+ Insert: {
20
+ created_at?: string;
21
+ id?: string;
22
+ max_workdays_earlier_pick?: number;
23
+ pick_days_before_transport?: number;
24
+ pick_distribution_enabled?: boolean;
25
+ signup_mail_enabled?: boolean;
26
+ signup_mail_lead_minutes?: number;
27
+ signup_mail_purpose?: string;
28
+ transport_register_days_before?: number;
29
+ updated_at?: string;
30
+ user_id: string;
31
+ };
32
+ Update: {
33
+ created_at?: string;
34
+ id?: string;
35
+ max_workdays_earlier_pick?: number;
36
+ pick_days_before_transport?: number;
37
+ pick_distribution_enabled?: boolean;
38
+ signup_mail_enabled?: boolean;
39
+ signup_mail_lead_minutes?: number;
40
+ signup_mail_purpose?: string;
41
+ transport_register_days_before?: number;
42
+ updated_at?: string;
43
+ user_id?: string;
44
+ };
45
+ Relationships: [];
46
+ };
5
47
  agenda_connections: {
6
48
  Row: {
7
49
  account_email: string | null;
@@ -404,6 +446,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
404
446
  referencedColumns: ["id"];
405
447
  }];
406
448
  };
449
+ carrier_signup_dispatches: {
450
+ Row: {
451
+ carrier_id: string;
452
+ cart_count: number;
453
+ created_at: string;
454
+ id: string;
455
+ order_count: number;
456
+ outbox_id: string | null;
457
+ pickup_date: string;
458
+ pickup_moment_key: string;
459
+ sent_at: string;
460
+ signup_deadline: string;
461
+ };
462
+ Insert: {
463
+ carrier_id: string;
464
+ cart_count?: number;
465
+ created_at?: string;
466
+ id?: string;
467
+ order_count?: number;
468
+ outbox_id?: string | null;
469
+ pickup_date: string;
470
+ pickup_moment_key: string;
471
+ sent_at?: string;
472
+ signup_deadline: string;
473
+ };
474
+ Update: {
475
+ carrier_id?: string;
476
+ cart_count?: number;
477
+ created_at?: string;
478
+ id?: string;
479
+ order_count?: number;
480
+ outbox_id?: string | null;
481
+ pickup_date?: string;
482
+ pickup_moment_key?: string;
483
+ sent_at?: string;
484
+ signup_deadline?: string;
485
+ };
486
+ Relationships: [{
487
+ foreignKeyName: "carrier_signup_dispatches_carrier_id_fkey";
488
+ columns: ["carrier_id"];
489
+ isOneToOne: false;
490
+ referencedRelation: "carriers";
491
+ referencedColumns: ["id"];
492
+ }];
493
+ };
407
494
  carriers: {
408
495
  Row: {
409
496
  address: string | null;
@@ -412,11 +499,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
412
499
  delivery_days: number | null;
413
500
  email: string | null;
414
501
  id: string;
502
+ is_default: boolean;
415
503
  name: string;
416
504
  notes: string | null;
417
505
  phone: string | null;
506
+ pickup_moments: import("./types").Json;
507
+ service_cities: string[];
508
+ service_countries: string[];
509
+ service_provinces: string[];
510
+ signup_days_before_delivery: number;
418
511
  signup_time_1: string | null;
419
512
  signup_time_2: string | null;
513
+ sort_order: number;
420
514
  updated_at: string;
421
515
  user_id: string;
422
516
  };
@@ -427,11 +521,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
427
521
  delivery_days?: number | null;
428
522
  email?: string | null;
429
523
  id?: string;
524
+ is_default?: boolean;
430
525
  name: string;
431
526
  notes?: string | null;
432
527
  phone?: string | null;
528
+ pickup_moments?: import("./types").Json;
529
+ service_cities?: string[];
530
+ service_countries?: string[];
531
+ service_provinces?: string[];
532
+ signup_days_before_delivery?: number;
433
533
  signup_time_1?: string | null;
434
534
  signup_time_2?: string | null;
535
+ sort_order?: number;
435
536
  updated_at?: string;
436
537
  user_id: string;
437
538
  };
@@ -442,16 +543,62 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
442
543
  delivery_days?: number | null;
443
544
  email?: string | null;
444
545
  id?: string;
546
+ is_default?: boolean;
445
547
  name?: string;
446
548
  notes?: string | null;
447
549
  phone?: string | null;
550
+ pickup_moments?: import("./types").Json;
551
+ service_cities?: string[];
552
+ service_countries?: string[];
553
+ service_provinces?: string[];
554
+ signup_days_before_delivery?: number;
448
555
  signup_time_1?: string | null;
449
556
  signup_time_2?: string | null;
557
+ sort_order?: number;
450
558
  updated_at?: string;
451
559
  user_id?: string;
452
560
  };
453
561
  Relationships: [];
454
562
  };
563
+ cart_pick_overrides: {
564
+ Row: {
565
+ cart_index: number;
566
+ created_at: string;
567
+ id: string;
568
+ moved_from_date: string | null;
569
+ notes: string | null;
570
+ order_id: string;
571
+ order_source: string;
572
+ pick_date: string;
573
+ status: string;
574
+ updated_at: string;
575
+ };
576
+ Insert: {
577
+ cart_index: number;
578
+ created_at?: string;
579
+ id?: string;
580
+ moved_from_date?: string | null;
581
+ notes?: string | null;
582
+ order_id: string;
583
+ order_source: string;
584
+ pick_date: string;
585
+ status?: string;
586
+ updated_at?: string;
587
+ };
588
+ Update: {
589
+ cart_index?: number;
590
+ created_at?: string;
591
+ id?: string;
592
+ moved_from_date?: string | null;
593
+ notes?: string | null;
594
+ order_id?: string;
595
+ order_source?: string;
596
+ pick_date?: string;
597
+ status?: string;
598
+ updated_at?: string;
599
+ };
600
+ Relationships: [];
601
+ };
455
602
  collections: {
456
603
  Row: {
457
604
  created_at: string;
@@ -563,50 +710,74 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
563
710
  customer_delivery_locations: {
564
711
  Row: {
565
712
  address_line: string | null;
713
+ carrier_assignment_source: string;
714
+ carrier_id: string | null;
566
715
  city: string | null;
567
716
  country: string | null;
568
717
  created_at: string;
569
718
  customer_id: string;
570
719
  floriday_location_id: string | null;
571
720
  gln: string | null;
721
+ house_number: string | null;
572
722
  id: string;
573
723
  is_primary: boolean;
574
724
  name: string | null;
575
725
  postal_code: string | null;
726
+ province: string | null;
576
727
  raw: import("./types").Json | null;
728
+ self_pickup: boolean;
729
+ street: string | null;
577
730
  updated_at: string;
578
731
  };
579
732
  Insert: {
580
733
  address_line?: string | null;
734
+ carrier_assignment_source?: string;
735
+ carrier_id?: string | null;
581
736
  city?: string | null;
582
737
  country?: string | null;
583
738
  created_at?: string;
584
739
  customer_id: string;
585
740
  floriday_location_id?: string | null;
586
741
  gln?: string | null;
742
+ house_number?: string | null;
587
743
  id?: string;
588
744
  is_primary?: boolean;
589
745
  name?: string | null;
590
746
  postal_code?: string | null;
747
+ province?: string | null;
591
748
  raw?: import("./types").Json | null;
749
+ self_pickup?: boolean;
750
+ street?: string | null;
592
751
  updated_at?: string;
593
752
  };
594
753
  Update: {
595
754
  address_line?: string | null;
755
+ carrier_assignment_source?: string;
756
+ carrier_id?: string | null;
596
757
  city?: string | null;
597
758
  country?: string | null;
598
759
  created_at?: string;
599
760
  customer_id?: string;
600
761
  floriday_location_id?: string | null;
601
762
  gln?: string | null;
763
+ house_number?: string | null;
602
764
  id?: string;
603
765
  is_primary?: boolean;
604
766
  name?: string | null;
605
767
  postal_code?: string | null;
768
+ province?: string | null;
606
769
  raw?: import("./types").Json | null;
770
+ self_pickup?: boolean;
771
+ street?: string | null;
607
772
  updated_at?: string;
608
773
  };
609
774
  Relationships: [{
775
+ foreignKeyName: "customer_delivery_locations_carrier_id_fkey";
776
+ columns: ["carrier_id"];
777
+ isOneToOne: false;
778
+ referencedRelation: "carriers";
779
+ referencedColumns: ["id"];
780
+ }, {
610
781
  foreignKeyName: "customer_delivery_locations_customer_id_fkey";
611
782
  columns: ["customer_id"];
612
783
  isOneToOne: false;
@@ -1411,18 +1582,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1411
1582
  };
1412
1583
  email_auth_purpose_settings: {
1413
1584
  Row: {
1585
+ default_cc: string[];
1414
1586
  purpose: string;
1415
1587
  reply_to: string | null;
1416
1588
  updated_at: string;
1417
1589
  updated_by: string | null;
1418
1590
  };
1419
1591
  Insert: {
1592
+ default_cc?: string[];
1420
1593
  purpose: string;
1421
1594
  reply_to?: string | null;
1422
1595
  updated_at?: string;
1423
1596
  updated_by?: string | null;
1424
1597
  };
1425
1598
  Update: {
1599
+ default_cc?: string[];
1426
1600
  purpose?: string;
1427
1601
  reply_to?: string | null;
1428
1602
  updated_at?: string;
@@ -2192,6 +2366,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2192
2366
  referencedColumns: ["id"];
2193
2367
  }];
2194
2368
  };
2369
+ exact_push_queue: {
2370
+ Row: {
2371
+ attempts: number;
2372
+ connection_id: string;
2373
+ created_at: string;
2374
+ external_id: string | null;
2375
+ id: string;
2376
+ idempotency_hash: string;
2377
+ last_error: string | null;
2378
+ payload: import("./types").Json;
2379
+ status: Database["public"]["Enums"]["exact_push_status"];
2380
+ updated_at: string;
2381
+ };
2382
+ Insert: {
2383
+ attempts?: number;
2384
+ connection_id: string;
2385
+ created_at?: string;
2386
+ external_id?: string | null;
2387
+ id?: string;
2388
+ idempotency_hash: string;
2389
+ last_error?: string | null;
2390
+ payload: import("./types").Json;
2391
+ status?: Database["public"]["Enums"]["exact_push_status"];
2392
+ updated_at?: string;
2393
+ };
2394
+ Update: {
2395
+ attempts?: number;
2396
+ connection_id?: string;
2397
+ created_at?: string;
2398
+ external_id?: string | null;
2399
+ id?: string;
2400
+ idempotency_hash?: string;
2401
+ last_error?: string | null;
2402
+ payload?: import("./types").Json;
2403
+ status?: Database["public"]["Enums"]["exact_push_status"];
2404
+ updated_at?: string;
2405
+ };
2406
+ Relationships: [{
2407
+ foreignKeyName: "exact_push_queue_connection_id_fkey";
2408
+ columns: ["connection_id"];
2409
+ isOneToOne: false;
2410
+ referencedRelation: "exact_connections";
2411
+ referencedColumns: ["id"];
2412
+ }];
2413
+ };
2195
2414
  exact_refresh_locks: {
2196
2415
  Row: {
2197
2416
  environment: Database["public"]["Enums"]["exact_env"];
@@ -2254,6 +2473,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2254
2473
  connection_id: string;
2255
2474
  last_error: string | null;
2256
2475
  last_modified_cursor: string | null;
2476
+ last_modified_cursor_customers: string | null;
2477
+ last_modified_cursor_invoices: string | null;
2257
2478
  last_synced_at: string | null;
2258
2479
  status: string;
2259
2480
  updated_at: string;
@@ -2262,6 +2483,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2262
2483
  connection_id: string;
2263
2484
  last_error?: string | null;
2264
2485
  last_modified_cursor?: string | null;
2486
+ last_modified_cursor_customers?: string | null;
2487
+ last_modified_cursor_invoices?: string | null;
2265
2488
  last_synced_at?: string | null;
2266
2489
  status?: string;
2267
2490
  updated_at?: string;
@@ -2270,6 +2493,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2270
2493
  connection_id?: string;
2271
2494
  last_error?: string | null;
2272
2495
  last_modified_cursor?: string | null;
2496
+ last_modified_cursor_customers?: string | null;
2497
+ last_modified_cursor_invoices?: string | null;
2273
2498
  last_synced_at?: string | null;
2274
2499
  status?: string;
2275
2500
  updated_at?: string;
@@ -2312,6 +2537,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2312
2537
  };
2313
2538
  Relationships: [];
2314
2539
  };
2540
+ external_invoice_providers: {
2541
+ Row: {
2542
+ color: string | null;
2543
+ created_at: string;
2544
+ hmac_secret_name: string | null;
2545
+ icon: string | null;
2546
+ is_enabled: boolean;
2547
+ label: string;
2548
+ last_synced_at: string | null;
2549
+ provider: string;
2550
+ push_endpoint: string | null;
2551
+ sort_order: number;
2552
+ status_endpoint: string | null;
2553
+ sync_endpoint: string | null;
2554
+ updated_at: string;
2555
+ };
2556
+ Insert: {
2557
+ color?: string | null;
2558
+ created_at?: string;
2559
+ hmac_secret_name?: string | null;
2560
+ icon?: string | null;
2561
+ is_enabled?: boolean;
2562
+ label: string;
2563
+ last_synced_at?: string | null;
2564
+ provider: string;
2565
+ push_endpoint?: string | null;
2566
+ sort_order?: number;
2567
+ status_endpoint?: string | null;
2568
+ sync_endpoint?: string | null;
2569
+ updated_at?: string;
2570
+ };
2571
+ Update: {
2572
+ color?: string | null;
2573
+ created_at?: string;
2574
+ hmac_secret_name?: string | null;
2575
+ icon?: string | null;
2576
+ is_enabled?: boolean;
2577
+ label?: string;
2578
+ last_synced_at?: string | null;
2579
+ provider?: string;
2580
+ push_endpoint?: string | null;
2581
+ sort_order?: number;
2582
+ status_endpoint?: string | null;
2583
+ sync_endpoint?: string | null;
2584
+ updated_at?: string;
2585
+ };
2586
+ Relationships: [];
2587
+ };
2315
2588
  extra_categories: {
2316
2589
  Row: {
2317
2590
  created_at: string;
@@ -2336,12 +2609,40 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2336
2609
  };
2337
2610
  Relationships: [];
2338
2611
  };
2612
+ extra_pricing_types: {
2613
+ Row: {
2614
+ code: string;
2615
+ created_at: string;
2616
+ id: string;
2617
+ label: string;
2618
+ sort_order: number;
2619
+ updated_at: string;
2620
+ };
2621
+ Insert: {
2622
+ code: string;
2623
+ created_at?: string;
2624
+ id?: string;
2625
+ label: string;
2626
+ sort_order?: number;
2627
+ updated_at?: string;
2628
+ };
2629
+ Update: {
2630
+ code?: string;
2631
+ created_at?: string;
2632
+ id?: string;
2633
+ label?: string;
2634
+ sort_order?: number;
2635
+ updated_at?: string;
2636
+ };
2637
+ Relationships: [];
2638
+ };
2339
2639
  extras: {
2340
2640
  Row: {
2341
2641
  category: string;
2342
2642
  created_at: string;
2343
2643
  exact_article_id: string | null;
2344
2644
  id: string;
2645
+ image_url: string | null;
2345
2646
  is_active: boolean;
2346
2647
  name: string;
2347
2648
  price: number;
@@ -2352,6 +2653,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2352
2653
  created_at?: string;
2353
2654
  exact_article_id?: string | null;
2354
2655
  id?: string;
2656
+ image_url?: string | null;
2355
2657
  is_active?: boolean;
2356
2658
  name: string;
2357
2659
  price?: number;
@@ -2362,6 +2664,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2362
2664
  created_at?: string;
2363
2665
  exact_article_id?: string | null;
2364
2666
  id?: string;
2667
+ image_url?: string | null;
2365
2668
  is_active?: boolean;
2366
2669
  name?: string;
2367
2670
  price?: number;
@@ -2459,230 +2762,1280 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2459
2762
  };
2460
2763
  Relationships: [];
2461
2764
  };
2462
- floriday_carriers_cache: {
2765
+ floriday_additional_services_cache: {
2463
2766
  Row: {
2464
- connection_id: string | null;
2465
- created_at: string;
2767
+ connection_id: string;
2466
2768
  data: import("./types").Json;
2467
2769
  fetched_at: string;
2468
- gln_code: string | null;
2469
- id: string;
2470
- name: string | null;
2471
- organization_id: string;
2770
+ floriday_id: string;
2771
+ is_deleted: boolean;
2772
+ sequence_number: number;
2472
2773
  updated_at: string;
2473
2774
  };
2474
2775
  Insert: {
2475
- connection_id?: string | null;
2476
- created_at?: string;
2776
+ connection_id: string;
2477
2777
  data: import("./types").Json;
2478
2778
  fetched_at?: string;
2479
- gln_code?: string | null;
2480
- id?: string;
2481
- name?: string | null;
2482
- organization_id: string;
2779
+ floriday_id: string;
2780
+ is_deleted?: boolean;
2781
+ sequence_number?: number;
2483
2782
  updated_at?: string;
2484
2783
  };
2485
2784
  Update: {
2486
- connection_id?: string | null;
2487
- created_at?: string;
2785
+ connection_id?: string;
2488
2786
  data?: import("./types").Json;
2489
2787
  fetched_at?: string;
2490
- gln_code?: string | null;
2491
- id?: string;
2492
- name?: string | null;
2493
- organization_id?: string;
2788
+ floriday_id?: string;
2789
+ is_deleted?: boolean;
2790
+ sequence_number?: number;
2494
2791
  updated_at?: string;
2495
2792
  };
2496
2793
  Relationships: [{
2497
- foreignKeyName: "floriday_carriers_cache_connection_id_fkey";
2794
+ foreignKeyName: "floriday_additional_services_cache_connection_id_fkey";
2498
2795
  columns: ["connection_id"];
2499
2796
  isOneToOne: false;
2500
2797
  referencedRelation: "floriday_connections";
2501
2798
  referencedColumns: ["id"];
2502
2799
  }];
2503
2800
  };
2504
- floriday_connections: {
2801
+ floriday_agreement_calloffs_cache: {
2505
2802
  Row: {
2506
- access_token: string | null;
2507
- api_key: string;
2508
- client_id: string;
2509
- client_secret: string;
2510
- created_at: string;
2511
- customers_endpoint: string | null;
2512
- environment: string;
2513
- gln_code: string | null;
2803
+ agreement_id: string | null;
2804
+ connection_id: string;
2805
+ data: import("./types").Json;
2806
+ delivery_date: string | null;
2807
+ fetched_at: string;
2808
+ floriday_id: string;
2514
2809
  id: string;
2515
- is_active: boolean;
2516
- label: string;
2517
- organization_name: string | null;
2518
- preferred_warehouse_id: string | null;
2519
- preferred_warehouse_name: string | null;
2520
- token_expires_at: string | null;
2810
+ is_deleted: boolean;
2811
+ sequence_number: number;
2812
+ status: string | null;
2521
2813
  updated_at: string;
2522
2814
  };
2523
2815
  Insert: {
2524
- access_token?: string | null;
2525
- api_key: string;
2526
- client_id: string;
2527
- client_secret: string;
2528
- created_at?: string;
2529
- customers_endpoint?: string | null;
2530
- environment: string;
2531
- gln_code?: string | null;
2816
+ agreement_id?: string | null;
2817
+ connection_id: string;
2818
+ data?: import("./types").Json;
2819
+ delivery_date?: string | null;
2820
+ fetched_at?: string;
2821
+ floriday_id: string;
2532
2822
  id?: string;
2533
- is_active?: boolean;
2534
- label?: string;
2535
- organization_name?: string | null;
2536
- preferred_warehouse_id?: string | null;
2537
- preferred_warehouse_name?: string | null;
2823
+ is_deleted?: boolean;
2824
+ sequence_number?: number;
2825
+ status?: string | null;
2826
+ updated_at?: string;
2827
+ };
2828
+ Update: {
2829
+ agreement_id?: string | null;
2830
+ connection_id?: string;
2831
+ data?: import("./types").Json;
2832
+ delivery_date?: string | null;
2833
+ fetched_at?: string;
2834
+ floriday_id?: string;
2835
+ id?: string;
2836
+ is_deleted?: boolean;
2837
+ sequence_number?: number;
2838
+ status?: string | null;
2839
+ updated_at?: string;
2840
+ };
2841
+ Relationships: [{
2842
+ foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
2843
+ columns: ["connection_id"];
2844
+ isOneToOne: false;
2845
+ referencedRelation: "floriday_connections";
2846
+ referencedColumns: ["id"];
2847
+ }];
2848
+ };
2849
+ floriday_agreements_cache: {
2850
+ Row: {
2851
+ buyer_organization_id: string | null;
2852
+ connection_id: string;
2853
+ data: import("./types").Json;
2854
+ fetched_at: string;
2855
+ floriday_id: string;
2856
+ id: string;
2857
+ is_deleted: boolean;
2858
+ sequence_number: number;
2859
+ status: string | null;
2860
+ updated_at: string;
2861
+ valid_from: string | null;
2862
+ valid_until: string | null;
2863
+ };
2864
+ Insert: {
2865
+ buyer_organization_id?: string | null;
2866
+ connection_id: string;
2867
+ data?: import("./types").Json;
2868
+ fetched_at?: string;
2869
+ floriday_id: string;
2870
+ id?: string;
2871
+ is_deleted?: boolean;
2872
+ sequence_number?: number;
2873
+ status?: string | null;
2874
+ updated_at?: string;
2875
+ valid_from?: string | null;
2876
+ valid_until?: string | null;
2877
+ };
2878
+ Update: {
2879
+ buyer_organization_id?: string | null;
2880
+ connection_id?: string;
2881
+ data?: import("./types").Json;
2882
+ fetched_at?: string;
2883
+ floriday_id?: string;
2884
+ id?: string;
2885
+ is_deleted?: boolean;
2886
+ sequence_number?: number;
2887
+ status?: string | null;
2888
+ updated_at?: string;
2889
+ valid_from?: string | null;
2890
+ valid_until?: string | null;
2891
+ };
2892
+ Relationships: [{
2893
+ foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
2894
+ columns: ["connection_id"];
2895
+ isOneToOne: false;
2896
+ referencedRelation: "floriday_connections";
2897
+ referencedColumns: ["id"];
2898
+ }];
2899
+ };
2900
+ floriday_auction_letters_cache: {
2901
+ Row: {
2902
+ auction_letter_code: string;
2903
+ clock_supply_id: string;
2904
+ connection_id: string;
2905
+ content_type: string;
2906
+ fetched_at: string;
2907
+ id: string;
2908
+ storage_path: string;
2909
+ };
2910
+ Insert: {
2911
+ auction_letter_code: string;
2912
+ clock_supply_id: string;
2913
+ connection_id: string;
2914
+ content_type?: string;
2915
+ fetched_at?: string;
2916
+ id?: string;
2917
+ storage_path: string;
2918
+ };
2919
+ Update: {
2920
+ auction_letter_code?: string;
2921
+ clock_supply_id?: string;
2922
+ connection_id?: string;
2923
+ content_type?: string;
2924
+ fetched_at?: string;
2925
+ id?: string;
2926
+ storage_path?: string;
2927
+ };
2928
+ Relationships: [{
2929
+ foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
2930
+ columns: ["connection_id"];
2931
+ isOneToOne: false;
2932
+ referencedRelation: "floriday_connections";
2933
+ referencedColumns: ["id"];
2934
+ }];
2935
+ };
2936
+ floriday_base_items_cache: {
2937
+ Row: {
2938
+ connection_id: string;
2939
+ data: import("./types").Json;
2940
+ fetched_at: string;
2941
+ floriday_id: string;
2942
+ is_deleted: boolean;
2943
+ sequence_number: number;
2944
+ updated_at: string;
2945
+ };
2946
+ Insert: {
2947
+ connection_id: string;
2948
+ data: import("./types").Json;
2949
+ fetched_at?: string;
2950
+ floriday_id: string;
2951
+ is_deleted?: boolean;
2952
+ sequence_number?: number;
2953
+ updated_at?: string;
2954
+ };
2955
+ Update: {
2956
+ connection_id?: string;
2957
+ data?: import("./types").Json;
2958
+ fetched_at?: string;
2959
+ floriday_id?: string;
2960
+ is_deleted?: boolean;
2961
+ sequence_number?: number;
2962
+ updated_at?: string;
2963
+ };
2964
+ Relationships: [{
2965
+ foreignKeyName: "floriday_base_items_cache_connection_id_fkey";
2966
+ columns: ["connection_id"];
2967
+ isOneToOne: false;
2968
+ referencedRelation: "floriday_connections";
2969
+ referencedColumns: ["id"];
2970
+ }];
2971
+ };
2972
+ floriday_blanket_orders_cache: {
2973
+ Row: {
2974
+ connection_id: string;
2975
+ contract_id: string | null;
2976
+ created_at: string;
2977
+ data: import("./types").Json;
2978
+ fetched_at: string;
2979
+ floriday_id: string;
2980
+ id: string;
2981
+ is_deleted: boolean;
2982
+ sequence_number: number;
2983
+ updated_at: string;
2984
+ };
2985
+ Insert: {
2986
+ connection_id: string;
2987
+ contract_id?: string | null;
2988
+ created_at?: string;
2989
+ data: import("./types").Json;
2990
+ fetched_at?: string;
2991
+ floriday_id: string;
2992
+ id?: string;
2993
+ is_deleted?: boolean;
2994
+ sequence_number?: number;
2995
+ updated_at?: string;
2996
+ };
2997
+ Update: {
2998
+ connection_id?: string;
2999
+ contract_id?: string | null;
3000
+ created_at?: string;
3001
+ data?: import("./types").Json;
3002
+ fetched_at?: string;
3003
+ floriday_id?: string;
3004
+ id?: string;
3005
+ is_deleted?: boolean;
3006
+ sequence_number?: number;
3007
+ updated_at?: string;
3008
+ };
3009
+ Relationships: [{
3010
+ foreignKeyName: "floriday_blanket_orders_cache_connection_id_fkey";
3011
+ columns: ["connection_id"];
3012
+ isOneToOne: false;
3013
+ referencedRelation: "floriday_connections";
3014
+ referencedColumns: ["id"];
3015
+ }];
3016
+ };
3017
+ floriday_carriers_cache: {
3018
+ Row: {
3019
+ connection_id: string | null;
3020
+ created_at: string;
3021
+ data: import("./types").Json;
3022
+ fetched_at: string;
3023
+ gln_code: string | null;
3024
+ id: string;
3025
+ name: string | null;
3026
+ organization_id: string;
3027
+ updated_at: string;
3028
+ };
3029
+ Insert: {
3030
+ connection_id?: string | null;
3031
+ created_at?: string;
3032
+ data: import("./types").Json;
3033
+ fetched_at?: string;
3034
+ gln_code?: string | null;
3035
+ id?: string;
3036
+ name?: string | null;
3037
+ organization_id: string;
3038
+ updated_at?: string;
3039
+ };
3040
+ Update: {
3041
+ connection_id?: string | null;
3042
+ created_at?: string;
3043
+ data?: import("./types").Json;
3044
+ fetched_at?: string;
3045
+ gln_code?: string | null;
3046
+ id?: string;
3047
+ name?: string | null;
3048
+ organization_id?: string;
3049
+ updated_at?: string;
3050
+ };
3051
+ Relationships: [{
3052
+ foreignKeyName: "floriday_carriers_cache_connection_id_fkey";
3053
+ columns: ["connection_id"];
3054
+ isOneToOne: false;
3055
+ referencedRelation: "floriday_connections";
3056
+ referencedColumns: ["id"];
3057
+ }];
3058
+ };
3059
+ floriday_clock_presales_cache: {
3060
+ Row: {
3061
+ buyer_organization_id: string | null;
3062
+ clock_supply_id: string | null;
3063
+ connection_id: string;
3064
+ data: import("./types").Json;
3065
+ fetched_at: string;
3066
+ floriday_id: string;
3067
+ id: string;
3068
+ is_deleted: boolean;
3069
+ sequence_number: number;
3070
+ updated_at: string;
3071
+ };
3072
+ Insert: {
3073
+ buyer_organization_id?: string | null;
3074
+ clock_supply_id?: string | null;
3075
+ connection_id: string;
3076
+ data?: import("./types").Json;
3077
+ fetched_at?: string;
3078
+ floriday_id: string;
3079
+ id?: string;
3080
+ is_deleted?: boolean;
3081
+ sequence_number?: number;
3082
+ updated_at?: string;
3083
+ };
3084
+ Update: {
3085
+ buyer_organization_id?: string | null;
3086
+ clock_supply_id?: string | null;
3087
+ connection_id?: string;
3088
+ data?: import("./types").Json;
3089
+ fetched_at?: string;
3090
+ floriday_id?: string;
3091
+ id?: string;
3092
+ is_deleted?: boolean;
3093
+ sequence_number?: number;
3094
+ updated_at?: string;
3095
+ };
3096
+ Relationships: [{
3097
+ foreignKeyName: "floriday_clock_presales_cache_connection_id_fkey";
3098
+ columns: ["connection_id"];
3099
+ isOneToOne: false;
3100
+ referencedRelation: "floriday_connections";
3101
+ referencedColumns: ["id"];
3102
+ }];
3103
+ };
3104
+ floriday_clock_supplies_cache: {
3105
+ Row: {
3106
+ auction_date: string | null;
3107
+ connection_id: string;
3108
+ data: import("./types").Json;
3109
+ fetched_at: string;
3110
+ floriday_id: string;
3111
+ id: string;
3112
+ is_deleted: boolean;
3113
+ sequence_number: number;
3114
+ status: string | null;
3115
+ trade_item_id: string | null;
3116
+ updated_at: string;
3117
+ };
3118
+ Insert: {
3119
+ auction_date?: string | null;
3120
+ connection_id: string;
3121
+ data?: import("./types").Json;
3122
+ fetched_at?: string;
3123
+ floriday_id: string;
3124
+ id?: string;
3125
+ is_deleted?: boolean;
3126
+ sequence_number?: number;
3127
+ status?: string | null;
3128
+ trade_item_id?: string | null;
3129
+ updated_at?: string;
3130
+ };
3131
+ Update: {
3132
+ auction_date?: string | null;
3133
+ connection_id?: string;
3134
+ data?: import("./types").Json;
3135
+ fetched_at?: string;
3136
+ floriday_id?: string;
3137
+ id?: string;
3138
+ is_deleted?: boolean;
3139
+ sequence_number?: number;
3140
+ status?: string | null;
3141
+ trade_item_id?: string | null;
3142
+ updated_at?: string;
3143
+ };
3144
+ Relationships: [{
3145
+ foreignKeyName: "floriday_clock_supplies_cache_connection_id_fkey";
3146
+ columns: ["connection_id"];
3147
+ isOneToOne: false;
3148
+ referencedRelation: "floriday_connections";
3149
+ referencedColumns: ["id"];
3150
+ }];
3151
+ };
3152
+ floriday_code_lists_cache: {
3153
+ Row: {
3154
+ code: string;
3155
+ environment: string;
3156
+ label: string | null;
3157
+ list_name: string;
3158
+ payload: import("./types").Json | null;
3159
+ updated_at: string;
3160
+ };
3161
+ Insert: {
3162
+ code: string;
3163
+ environment: string;
3164
+ label?: string | null;
3165
+ list_name: string;
3166
+ payload?: import("./types").Json | null;
3167
+ updated_at?: string;
3168
+ };
3169
+ Update: {
3170
+ code?: string;
3171
+ environment?: string;
3172
+ label?: string | null;
3173
+ list_name?: string;
3174
+ payload?: import("./types").Json | null;
3175
+ updated_at?: string;
3176
+ };
3177
+ Relationships: [];
3178
+ };
3179
+ floriday_collections_cache: {
3180
+ Row: {
3181
+ connection_id: string;
3182
+ data: import("./types").Json;
3183
+ fetched_at: string;
3184
+ floriday_id: string;
3185
+ is_deleted: boolean;
3186
+ sequence_number: number;
3187
+ updated_at: string;
3188
+ };
3189
+ Insert: {
3190
+ connection_id: string;
3191
+ data: import("./types").Json;
3192
+ fetched_at?: string;
3193
+ floriday_id: string;
3194
+ is_deleted?: boolean;
3195
+ sequence_number?: number;
3196
+ updated_at?: string;
3197
+ };
3198
+ Update: {
3199
+ connection_id?: string;
3200
+ data?: import("./types").Json;
3201
+ fetched_at?: string;
3202
+ floriday_id?: string;
3203
+ is_deleted?: boolean;
3204
+ sequence_number?: number;
3205
+ updated_at?: string;
3206
+ };
3207
+ Relationships: [{
3208
+ foreignKeyName: "floriday_collections_cache_connection_id_fkey";
3209
+ columns: ["connection_id"];
3210
+ isOneToOne: false;
3211
+ referencedRelation: "floriday_connections";
3212
+ referencedColumns: ["id"];
3213
+ }];
3214
+ };
3215
+ floriday_commercial_service_types_cache: {
3216
+ Row: {
3217
+ connection_id: string;
3218
+ data: import("./types").Json;
3219
+ fetched_at: string;
3220
+ floriday_id: string;
3221
+ is_deleted: boolean;
3222
+ sequence_number: number;
3223
+ updated_at: string;
3224
+ };
3225
+ Insert: {
3226
+ connection_id: string;
3227
+ data: import("./types").Json;
3228
+ fetched_at?: string;
3229
+ floriday_id: string;
3230
+ is_deleted?: boolean;
3231
+ sequence_number?: number;
3232
+ updated_at?: string;
3233
+ };
3234
+ Update: {
3235
+ connection_id?: string;
3236
+ data?: import("./types").Json;
3237
+ fetched_at?: string;
3238
+ floriday_id?: string;
3239
+ is_deleted?: boolean;
3240
+ sequence_number?: number;
3241
+ updated_at?: string;
3242
+ };
3243
+ Relationships: [{
3244
+ foreignKeyName: "floriday_commercial_service_types_cache_connection_id_fkey";
3245
+ columns: ["connection_id"];
3246
+ isOneToOne: false;
3247
+ referencedRelation: "floriday_connections";
3248
+ referencedColumns: ["id"];
3249
+ }];
3250
+ };
3251
+ floriday_connections: {
3252
+ Row: {
3253
+ access_token: string | null;
3254
+ api_key: string;
3255
+ client_id: string;
3256
+ client_secret: string;
3257
+ created_at: string;
3258
+ customers_endpoint: string | null;
3259
+ environment: string;
3260
+ gln_code: string | null;
3261
+ id: string;
3262
+ is_active: boolean;
3263
+ label: string;
3264
+ organization_name: string | null;
3265
+ preferred_warehouse_id: string | null;
3266
+ preferred_warehouse_name: string | null;
3267
+ token_expires_at: string | null;
3268
+ updated_at: string;
3269
+ };
3270
+ Insert: {
3271
+ access_token?: string | null;
3272
+ api_key: string;
3273
+ client_id: string;
3274
+ client_secret: string;
3275
+ created_at?: string;
3276
+ customers_endpoint?: string | null;
3277
+ environment: string;
3278
+ gln_code?: string | null;
3279
+ id?: string;
3280
+ is_active?: boolean;
3281
+ label?: string;
3282
+ organization_name?: string | null;
3283
+ preferred_warehouse_id?: string | null;
3284
+ preferred_warehouse_name?: string | null;
3285
+ token_expires_at?: string | null;
3286
+ updated_at?: string;
3287
+ };
3288
+ Update: {
3289
+ access_token?: string | null;
3290
+ api_key?: string;
3291
+ client_id?: string;
3292
+ client_secret?: string;
3293
+ created_at?: string;
3294
+ customers_endpoint?: string | null;
3295
+ environment?: string;
3296
+ gln_code?: string | null;
3297
+ id?: string;
3298
+ is_active?: boolean;
3299
+ label?: string;
3300
+ organization_name?: string | null;
3301
+ preferred_warehouse_id?: string | null;
3302
+ preferred_warehouse_name?: string | null;
2538
3303
  token_expires_at?: string | null;
2539
3304
  updated_at?: string;
2540
3305
  };
3306
+ Relationships: [];
3307
+ };
3308
+ floriday_connections_cache: {
3309
+ Row: {
3310
+ buyer_organization_id: string | null;
3311
+ buyer_organization_name: string | null;
3312
+ connection_id: string;
3313
+ data: import("./types").Json;
3314
+ floriday_connection_id: string;
3315
+ is_deleted: boolean;
3316
+ sequence_number: number;
3317
+ status: string | null;
3318
+ synced_at: string;
3319
+ };
3320
+ Insert: {
3321
+ buyer_organization_id?: string | null;
3322
+ buyer_organization_name?: string | null;
3323
+ connection_id: string;
3324
+ data: import("./types").Json;
3325
+ floriday_connection_id: string;
3326
+ is_deleted?: boolean;
3327
+ sequence_number: number;
3328
+ status?: string | null;
3329
+ synced_at?: string;
3330
+ };
3331
+ Update: {
3332
+ buyer_organization_id?: string | null;
3333
+ buyer_organization_name?: string | null;
3334
+ connection_id?: string;
3335
+ data?: import("./types").Json;
3336
+ floriday_connection_id?: string;
3337
+ is_deleted?: boolean;
3338
+ sequence_number?: number;
3339
+ status?: string | null;
3340
+ synced_at?: string;
3341
+ };
3342
+ Relationships: [{
3343
+ foreignKeyName: "floriday_connections_cache_connection_id_fkey";
3344
+ columns: ["connection_id"];
3345
+ isOneToOne: false;
3346
+ referencedRelation: "floriday_connections";
3347
+ referencedColumns: ["id"];
3348
+ }];
3349
+ };
3350
+ floriday_contract_trade_item_groups_cache: {
3351
+ Row: {
3352
+ connection_id: string;
3353
+ data: import("./types").Json;
3354
+ fetched_at: string;
3355
+ floriday_id: string;
3356
+ is_deleted: boolean;
3357
+ sequence_number: number;
3358
+ updated_at: string;
3359
+ };
3360
+ Insert: {
3361
+ connection_id: string;
3362
+ data: import("./types").Json;
3363
+ fetched_at?: string;
3364
+ floriday_id: string;
3365
+ is_deleted?: boolean;
3366
+ sequence_number?: number;
3367
+ updated_at?: string;
3368
+ };
3369
+ Update: {
3370
+ connection_id?: string;
3371
+ data?: import("./types").Json;
3372
+ fetched_at?: string;
3373
+ floriday_id?: string;
3374
+ is_deleted?: boolean;
3375
+ sequence_number?: number;
3376
+ updated_at?: string;
3377
+ };
3378
+ Relationships: [{
3379
+ foreignKeyName: "floriday_contract_trade_item_groups_cache_connection_id_fkey";
3380
+ columns: ["connection_id"];
3381
+ isOneToOne: false;
3382
+ referencedRelation: "floriday_connections";
3383
+ referencedColumns: ["id"];
3384
+ }];
3385
+ };
3386
+ floriday_contracts_cache: {
3387
+ Row: {
3388
+ connection_id: string;
3389
+ created_at: string;
3390
+ data: import("./types").Json;
3391
+ fetched_at: string;
3392
+ floriday_id: string;
3393
+ id: string;
3394
+ is_deleted: boolean;
3395
+ sequence_number: number;
3396
+ updated_at: string;
3397
+ };
3398
+ Insert: {
3399
+ connection_id: string;
3400
+ created_at?: string;
3401
+ data: import("./types").Json;
3402
+ fetched_at?: string;
3403
+ floriday_id: string;
3404
+ id?: string;
3405
+ is_deleted?: boolean;
3406
+ sequence_number?: number;
3407
+ updated_at?: string;
3408
+ };
3409
+ Update: {
3410
+ connection_id?: string;
3411
+ created_at?: string;
3412
+ data?: import("./types").Json;
3413
+ fetched_at?: string;
3414
+ floriday_id?: string;
3415
+ id?: string;
3416
+ is_deleted?: boolean;
3417
+ sequence_number?: number;
3418
+ updated_at?: string;
3419
+ };
3420
+ Relationships: [{
3421
+ foreignKeyName: "floriday_contracts_cache_connection_id_fkey";
3422
+ columns: ["connection_id"];
3423
+ isOneToOne: false;
3424
+ referencedRelation: "floriday_connections";
3425
+ referencedColumns: ["id"];
3426
+ }];
3427
+ };
3428
+ floriday_customer_sticker_pdfs_cache: {
3429
+ Row: {
3430
+ byte_size: number | null;
3431
+ connection_id: string;
3432
+ content_type: string;
3433
+ created_at: string;
3434
+ fetched_at: string;
3435
+ id: string;
3436
+ sticker_id: string;
3437
+ storage_path: string;
3438
+ };
3439
+ Insert: {
3440
+ byte_size?: number | null;
3441
+ connection_id: string;
3442
+ content_type?: string;
3443
+ created_at?: string;
3444
+ fetched_at?: string;
3445
+ id?: string;
3446
+ sticker_id: string;
3447
+ storage_path: string;
3448
+ };
3449
+ Update: {
3450
+ byte_size?: number | null;
3451
+ connection_id?: string;
3452
+ content_type?: string;
3453
+ created_at?: string;
3454
+ fetched_at?: string;
3455
+ id?: string;
3456
+ sticker_id?: string;
3457
+ storage_path?: string;
3458
+ };
3459
+ Relationships: [{
3460
+ foreignKeyName: "floriday_customer_sticker_pdfs_cache_connection_id_fkey";
3461
+ columns: ["connection_id"];
3462
+ isOneToOne: false;
3463
+ referencedRelation: "floriday_connections";
3464
+ referencedColumns: ["id"];
3465
+ }];
3466
+ };
3467
+ floriday_customer_stickers_cache: {
3468
+ Row: {
3469
+ connection_id: string;
3470
+ created_at: string;
3471
+ data: import("./types").Json;
3472
+ fetched_at: string;
3473
+ floriday_id: string;
3474
+ id: string;
3475
+ is_deleted: boolean;
3476
+ quantity: number | null;
3477
+ sales_order_id: string | null;
3478
+ sequence_number: number;
3479
+ status: string | null;
3480
+ trade_item_id: string | null;
3481
+ updated_at: string;
3482
+ };
3483
+ Insert: {
3484
+ connection_id: string;
3485
+ created_at?: string;
3486
+ data?: import("./types").Json;
3487
+ fetched_at?: string;
3488
+ floriday_id: string;
3489
+ id?: string;
3490
+ is_deleted?: boolean;
3491
+ quantity?: number | null;
3492
+ sales_order_id?: string | null;
3493
+ sequence_number?: number;
3494
+ status?: string | null;
3495
+ trade_item_id?: string | null;
3496
+ updated_at?: string;
3497
+ };
3498
+ Update: {
3499
+ connection_id?: string;
3500
+ created_at?: string;
3501
+ data?: import("./types").Json;
3502
+ fetched_at?: string;
3503
+ floriday_id?: string;
3504
+ id?: string;
3505
+ is_deleted?: boolean;
3506
+ quantity?: number | null;
3507
+ sales_order_id?: string | null;
3508
+ sequence_number?: number;
3509
+ status?: string | null;
3510
+ trade_item_id?: string | null;
3511
+ updated_at?: string;
3512
+ };
3513
+ Relationships: [{
3514
+ foreignKeyName: "floriday_customer_stickers_cache_connection_id_fkey";
3515
+ columns: ["connection_id"];
3516
+ isOneToOne: false;
3517
+ referencedRelation: "floriday_connections";
3518
+ referencedColumns: ["id"];
3519
+ }];
3520
+ };
3521
+ floriday_customers_cache: {
3522
+ Row: {
3523
+ connection_id: string | null;
3524
+ data: import("./types").Json;
3525
+ fetched_at: string;
3526
+ gln_code: string | null;
3527
+ is_deleted: boolean;
3528
+ name: string | null;
3529
+ organization_id: string;
3530
+ sequence_number: number | null;
3531
+ };
3532
+ Insert: {
3533
+ connection_id?: string | null;
3534
+ data?: import("./types").Json;
3535
+ fetched_at?: string;
3536
+ gln_code?: string | null;
3537
+ is_deleted?: boolean;
3538
+ name?: string | null;
3539
+ organization_id: string;
3540
+ sequence_number?: number | null;
3541
+ };
3542
+ Update: {
3543
+ connection_id?: string | null;
3544
+ data?: import("./types").Json;
3545
+ fetched_at?: string;
3546
+ gln_code?: string | null;
3547
+ is_deleted?: boolean;
3548
+ name?: string | null;
3549
+ organization_id?: string;
3550
+ sequence_number?: number | null;
3551
+ };
3552
+ Relationships: [{
3553
+ foreignKeyName: "floriday_customers_cache_connection_id_fkey";
3554
+ columns: ["connection_id"];
3555
+ isOneToOne: false;
3556
+ referencedRelation: "floriday_connections";
3557
+ referencedColumns: ["id"];
3558
+ }];
3559
+ };
3560
+ floriday_delivery_condition_sets_cache: {
3561
+ Row: {
3562
+ connection_id: string;
3563
+ data: import("./types").Json;
3564
+ fetched_at: string;
3565
+ floriday_id: string;
3566
+ is_deleted: boolean;
3567
+ sequence_number: number;
3568
+ updated_at: string;
3569
+ };
3570
+ Insert: {
3571
+ connection_id: string;
3572
+ data: import("./types").Json;
3573
+ fetched_at?: string;
3574
+ floriday_id: string;
3575
+ is_deleted?: boolean;
3576
+ sequence_number?: number;
3577
+ updated_at?: string;
3578
+ };
3579
+ Update: {
3580
+ connection_id?: string;
3581
+ data?: import("./types").Json;
3582
+ fetched_at?: string;
3583
+ floriday_id?: string;
3584
+ is_deleted?: boolean;
3585
+ sequence_number?: number;
3586
+ updated_at?: string;
3587
+ };
3588
+ Relationships: [{
3589
+ foreignKeyName: "floriday_delivery_condition_sets_cache_connection_id_fkey";
3590
+ columns: ["connection_id"];
3591
+ isOneToOne: false;
3592
+ referencedRelation: "floriday_connections";
3593
+ referencedColumns: ["id"];
3594
+ }];
3595
+ };
3596
+ floriday_delivery_locations_cache: {
3597
+ Row: {
3598
+ connection_id: string;
3599
+ data: import("./types").Json;
3600
+ fetched_at: string;
3601
+ floriday_id: string;
3602
+ gln_code: string | null;
3603
+ id: string;
3604
+ is_deleted: boolean;
3605
+ name: string | null;
3606
+ organization_id: string | null;
3607
+ updated_at: string;
3608
+ };
3609
+ Insert: {
3610
+ connection_id: string;
3611
+ data?: import("./types").Json;
3612
+ fetched_at?: string;
3613
+ floriday_id: string;
3614
+ gln_code?: string | null;
3615
+ id?: string;
3616
+ is_deleted?: boolean;
3617
+ name?: string | null;
3618
+ organization_id?: string | null;
3619
+ updated_at?: string;
3620
+ };
2541
3621
  Update: {
2542
- access_token?: string | null;
2543
- api_key?: string;
2544
- client_id?: string;
2545
- client_secret?: string;
2546
- created_at?: string;
2547
- customers_endpoint?: string | null;
2548
- environment?: string;
3622
+ connection_id?: string;
3623
+ data?: import("./types").Json;
3624
+ fetched_at?: string;
3625
+ floriday_id?: string;
2549
3626
  gln_code?: string | null;
2550
3627
  id?: string;
2551
- is_active?: boolean;
2552
- label?: string;
3628
+ is_deleted?: boolean;
3629
+ name?: string | null;
3630
+ organization_id?: string | null;
3631
+ updated_at?: string;
3632
+ };
3633
+ Relationships: [{
3634
+ foreignKeyName: "floriday_delivery_locations_cache_connection_id_fkey";
3635
+ columns: ["connection_id"];
3636
+ isOneToOne: false;
3637
+ referencedRelation: "floriday_connections";
3638
+ referencedColumns: ["id"];
3639
+ }];
3640
+ };
3641
+ floriday_delivery_orders_cache: {
3642
+ Row: {
3643
+ auction_date: string | null;
3644
+ connection_id: string;
3645
+ data: import("./types").Json;
3646
+ destination_warehouse_id: string | null;
3647
+ fetched_at: string;
3648
+ floriday_id: string;
3649
+ id: string;
3650
+ is_deleted: boolean;
3651
+ sequence_number: number;
3652
+ status: string | null;
3653
+ trade_item_id: string | null;
3654
+ updated_at: string;
3655
+ };
3656
+ Insert: {
3657
+ auction_date?: string | null;
3658
+ connection_id: string;
3659
+ data?: import("./types").Json;
3660
+ destination_warehouse_id?: string | null;
3661
+ fetched_at?: string;
3662
+ floriday_id: string;
3663
+ id?: string;
3664
+ is_deleted?: boolean;
3665
+ sequence_number?: number;
3666
+ status?: string | null;
3667
+ trade_item_id?: string | null;
3668
+ updated_at?: string;
3669
+ };
3670
+ Update: {
3671
+ auction_date?: string | null;
3672
+ connection_id?: string;
3673
+ data?: import("./types").Json;
3674
+ destination_warehouse_id?: string | null;
3675
+ fetched_at?: string;
3676
+ floriday_id?: string;
3677
+ id?: string;
3678
+ is_deleted?: boolean;
3679
+ sequence_number?: number;
3680
+ status?: string | null;
3681
+ trade_item_id?: string | null;
3682
+ updated_at?: string;
3683
+ };
3684
+ Relationships: [{
3685
+ foreignKeyName: "floriday_delivery_orders_cache_connection_id_fkey";
3686
+ columns: ["connection_id"];
3687
+ isOneToOne: false;
3688
+ referencedRelation: "floriday_connections";
3689
+ referencedColumns: ["id"];
3690
+ }];
3691
+ };
3692
+ floriday_fulfillment_orders_cache: {
3693
+ Row: {
3694
+ auction_date: string | null;
3695
+ connection_id: string;
3696
+ data: import("./types").Json;
3697
+ delivery_order_id: string | null;
3698
+ despatch_warehouse_id: string | null;
3699
+ destination_warehouse_id: string | null;
3700
+ fetched_at: string;
3701
+ floriday_id: string;
3702
+ id: string;
3703
+ is_deleted: boolean | null;
3704
+ latest_delivery_at: string | null;
3705
+ load_carrier_type: string | null;
3706
+ one_label_only: boolean | null;
3707
+ sequence_number: number;
3708
+ status: string | null;
3709
+ };
3710
+ Insert: {
3711
+ auction_date?: string | null;
3712
+ connection_id: string;
3713
+ data: import("./types").Json;
3714
+ delivery_order_id?: string | null;
3715
+ despatch_warehouse_id?: string | null;
3716
+ destination_warehouse_id?: string | null;
3717
+ fetched_at?: string;
3718
+ floriday_id: string;
3719
+ id?: string;
3720
+ is_deleted?: boolean | null;
3721
+ latest_delivery_at?: string | null;
3722
+ load_carrier_type?: string | null;
3723
+ one_label_only?: boolean | null;
3724
+ sequence_number?: number;
3725
+ status?: string | null;
3726
+ };
3727
+ Update: {
3728
+ auction_date?: string | null;
3729
+ connection_id?: string;
3730
+ data?: import("./types").Json;
3731
+ delivery_order_id?: string | null;
3732
+ despatch_warehouse_id?: string | null;
3733
+ destination_warehouse_id?: string | null;
3734
+ fetched_at?: string;
3735
+ floriday_id?: string;
3736
+ id?: string;
3737
+ is_deleted?: boolean | null;
3738
+ latest_delivery_at?: string | null;
3739
+ load_carrier_type?: string | null;
3740
+ one_label_only?: boolean | null;
3741
+ sequence_number?: number;
3742
+ status?: string | null;
3743
+ };
3744
+ Relationships: [{
3745
+ foreignKeyName: "floriday_fulfillment_orders_cache_connection_id_fkey";
3746
+ columns: ["connection_id"];
3747
+ isOneToOne: false;
3748
+ referencedRelation: "floriday_connections";
3749
+ referencedColumns: ["id"];
3750
+ }];
3751
+ };
3752
+ floriday_invoices_cache: {
3753
+ Row: {
3754
+ buyer_organization_id: string | null;
3755
+ connection_id: string;
3756
+ currency: string | null;
3757
+ data: import("./types").Json;
3758
+ fetched_at: string;
3759
+ floriday_id: string;
3760
+ id: string;
3761
+ invoice_date: string | null;
3762
+ invoice_number: string | null;
3763
+ is_deleted: boolean;
3764
+ sequence_number: number;
3765
+ total_amount: number | null;
3766
+ updated_at: string;
3767
+ };
3768
+ Insert: {
3769
+ buyer_organization_id?: string | null;
3770
+ connection_id: string;
3771
+ currency?: string | null;
3772
+ data?: import("./types").Json;
3773
+ fetched_at?: string;
3774
+ floriday_id: string;
3775
+ id?: string;
3776
+ invoice_date?: string | null;
3777
+ invoice_number?: string | null;
3778
+ is_deleted?: boolean;
3779
+ sequence_number?: number;
3780
+ total_amount?: number | null;
3781
+ updated_at?: string;
3782
+ };
3783
+ Update: {
3784
+ buyer_organization_id?: string | null;
3785
+ connection_id?: string;
3786
+ currency?: string | null;
3787
+ data?: import("./types").Json;
3788
+ fetched_at?: string;
3789
+ floriday_id?: string;
3790
+ id?: string;
3791
+ invoice_date?: string | null;
3792
+ invoice_number?: string | null;
3793
+ is_deleted?: boolean;
3794
+ sequence_number?: number;
3795
+ total_amount?: number | null;
3796
+ updated_at?: string;
3797
+ };
3798
+ Relationships: [{
3799
+ foreignKeyName: "floriday_invoices_cache_connection_id_fkey";
3800
+ columns: ["connection_id"];
3801
+ isOneToOne: false;
3802
+ referencedRelation: "floriday_connections";
3803
+ referencedColumns: ["id"];
3804
+ }];
3805
+ };
3806
+ floriday_logistic_labels_cache: {
3807
+ Row: {
3808
+ byte_size: number | null;
3809
+ connection_id: string;
3810
+ content_type: string;
3811
+ fetched_at: string;
3812
+ fulfillment_order_id: string;
3813
+ id: string;
3814
+ logistic_label_code: string;
3815
+ storage_path: string;
3816
+ };
3817
+ Insert: {
3818
+ byte_size?: number | null;
3819
+ connection_id: string;
3820
+ content_type?: string;
3821
+ fetched_at?: string;
3822
+ fulfillment_order_id: string;
3823
+ id?: string;
3824
+ logistic_label_code: string;
3825
+ storage_path: string;
3826
+ };
3827
+ Update: {
3828
+ byte_size?: number | null;
3829
+ connection_id?: string;
3830
+ content_type?: string;
3831
+ fetched_at?: string;
3832
+ fulfillment_order_id?: string;
3833
+ id?: string;
3834
+ logistic_label_code?: string;
3835
+ storage_path?: string;
3836
+ };
3837
+ Relationships: [{
3838
+ foreignKeyName: "floriday_logistic_labels_cache_connection_id_fkey";
3839
+ columns: ["connection_id"];
3840
+ isOneToOne: false;
3841
+ referencedRelation: "floriday_connections";
3842
+ referencedColumns: ["id"];
3843
+ }];
3844
+ };
3845
+ floriday_network_cache: {
3846
+ Row: {
3847
+ city: string | null;
3848
+ connection_id: string;
3849
+ country: string | null;
3850
+ data: import("./types").Json;
3851
+ fetched_at: string;
3852
+ gln: string | null;
3853
+ organization_id: string;
3854
+ organization_name: string | null;
3855
+ };
3856
+ Insert: {
3857
+ city?: string | null;
3858
+ connection_id: string;
3859
+ country?: string | null;
3860
+ data?: import("./types").Json;
3861
+ fetched_at?: string;
3862
+ gln?: string | null;
3863
+ organization_id: string;
2553
3864
  organization_name?: string | null;
2554
- preferred_warehouse_id?: string | null;
2555
- preferred_warehouse_name?: string | null;
2556
- token_expires_at?: string | null;
3865
+ };
3866
+ Update: {
3867
+ city?: string | null;
3868
+ connection_id?: string;
3869
+ country?: string | null;
3870
+ data?: import("./types").Json;
3871
+ fetched_at?: string;
3872
+ gln?: string | null;
3873
+ organization_id?: string;
3874
+ organization_name?: string | null;
3875
+ };
3876
+ Relationships: [];
3877
+ };
3878
+ floriday_network_sync_state: {
3879
+ Row: {
3880
+ connection_id: string;
3881
+ last_error: string | null;
3882
+ last_sequence_number: number;
3883
+ last_synced_at: string | null;
3884
+ updated_at: string;
3885
+ };
3886
+ Insert: {
3887
+ connection_id: string;
3888
+ last_error?: string | null;
3889
+ last_sequence_number?: number;
3890
+ last_synced_at?: string | null;
3891
+ updated_at?: string;
3892
+ };
3893
+ Update: {
3894
+ connection_id?: string;
3895
+ last_error?: string | null;
3896
+ last_sequence_number?: number;
3897
+ last_synced_at?: string | null;
2557
3898
  updated_at?: string;
2558
3899
  };
2559
3900
  Relationships: [];
2560
3901
  };
2561
- floriday_connections_cache: {
3902
+ floriday_packings_cache: {
2562
3903
  Row: {
2563
- buyer_organization_id: string | null;
2564
- buyer_organization_name: string | null;
2565
3904
  connection_id: string;
2566
3905
  data: import("./types").Json;
2567
- floriday_connection_id: string;
3906
+ fetched_at: string;
3907
+ floriday_id: string;
3908
+ id: string;
2568
3909
  is_deleted: boolean;
2569
3910
  sequence_number: number;
2570
- status: string | null;
2571
- synced_at: string;
3911
+ updated_at: string;
2572
3912
  };
2573
3913
  Insert: {
2574
- buyer_organization_id?: string | null;
2575
- buyer_organization_name?: string | null;
2576
3914
  connection_id: string;
2577
- data: import("./types").Json;
2578
- floriday_connection_id: string;
3915
+ data?: import("./types").Json;
3916
+ fetched_at?: string;
3917
+ floriday_id: string;
3918
+ id?: string;
2579
3919
  is_deleted?: boolean;
2580
- sequence_number: number;
2581
- status?: string | null;
2582
- synced_at?: string;
3920
+ sequence_number?: number;
3921
+ updated_at?: string;
2583
3922
  };
2584
3923
  Update: {
2585
- buyer_organization_id?: string | null;
2586
- buyer_organization_name?: string | null;
2587
3924
  connection_id?: string;
2588
3925
  data?: import("./types").Json;
2589
- floriday_connection_id?: string;
3926
+ fetched_at?: string;
3927
+ floriday_id?: string;
3928
+ id?: string;
2590
3929
  is_deleted?: boolean;
2591
3930
  sequence_number?: number;
2592
- status?: string | null;
2593
- synced_at?: string;
3931
+ updated_at?: string;
2594
3932
  };
2595
3933
  Relationships: [{
2596
- foreignKeyName: "floriday_connections_cache_connection_id_fkey";
3934
+ foreignKeyName: "floriday_packings_cache_connection_id_fkey";
2597
3935
  columns: ["connection_id"];
2598
3936
  isOneToOne: false;
2599
3937
  referencedRelation: "floriday_connections";
2600
3938
  referencedColumns: ["id"];
2601
3939
  }];
2602
3940
  };
2603
- floriday_customers_cache: {
3941
+ floriday_price_groups_cache: {
2604
3942
  Row: {
2605
- connection_id: string | null;
3943
+ connection_id: string;
2606
3944
  data: import("./types").Json;
2607
3945
  fetched_at: string;
2608
- organization_id: string;
3946
+ floriday_id: string;
3947
+ is_deleted: boolean;
3948
+ sequence_number: number;
3949
+ updated_at: string;
2609
3950
  };
2610
3951
  Insert: {
2611
- connection_id?: string | null;
2612
- data?: import("./types").Json;
3952
+ connection_id: string;
3953
+ data: import("./types").Json;
2613
3954
  fetched_at?: string;
2614
- organization_id: string;
3955
+ floriday_id: string;
3956
+ is_deleted?: boolean;
3957
+ sequence_number?: number;
3958
+ updated_at?: string;
2615
3959
  };
2616
3960
  Update: {
2617
- connection_id?: string | null;
3961
+ connection_id?: string;
2618
3962
  data?: import("./types").Json;
2619
3963
  fetched_at?: string;
2620
- organization_id?: string;
3964
+ floriday_id?: string;
3965
+ is_deleted?: boolean;
3966
+ sequence_number?: number;
3967
+ updated_at?: string;
2621
3968
  };
2622
3969
  Relationships: [{
2623
- foreignKeyName: "floriday_customers_cache_connection_id_fkey";
3970
+ foreignKeyName: "floriday_price_groups_cache_connection_id_fkey";
2624
3971
  columns: ["connection_id"];
2625
3972
  isOneToOne: false;
2626
3973
  referencedRelation: "floriday_connections";
2627
3974
  referencedColumns: ["id"];
2628
3975
  }];
2629
3976
  };
2630
- floriday_network_cache: {
3977
+ floriday_resource_schemas: {
2631
3978
  Row: {
2632
- city: string | null;
2633
- connection_id: string;
2634
- country: string | null;
2635
- data: import("./types").Json;
3979
+ enums: import("./types").Json;
2636
3980
  fetched_at: string;
2637
- gln: string | null;
2638
- organization_id: string;
2639
- organization_name: string | null;
3981
+ resource: string;
3982
+ schema: import("./types").Json;
3983
+ source_url: string | null;
3984
+ version: string;
2640
3985
  };
2641
3986
  Insert: {
2642
- city?: string | null;
2643
- connection_id: string;
2644
- country?: string | null;
2645
- data?: import("./types").Json;
3987
+ enums?: import("./types").Json;
2646
3988
  fetched_at?: string;
2647
- gln?: string | null;
2648
- organization_id: string;
2649
- organization_name?: string | null;
3989
+ resource: string;
3990
+ schema: import("./types").Json;
3991
+ source_url?: string | null;
3992
+ version: string;
2650
3993
  };
2651
3994
  Update: {
2652
- city?: string | null;
2653
- connection_id?: string;
2654
- country?: string | null;
2655
- data?: import("./types").Json;
3995
+ enums?: import("./types").Json;
2656
3996
  fetched_at?: string;
2657
- gln?: string | null;
2658
- organization_id?: string;
2659
- organization_name?: string | null;
3997
+ resource?: string;
3998
+ schema?: import("./types").Json;
3999
+ source_url?: string | null;
4000
+ version?: string;
2660
4001
  };
2661
4002
  Relationships: [];
2662
4003
  };
2663
- floriday_network_sync_state: {
4004
+ floriday_sales_strategies_cache: {
2664
4005
  Row: {
2665
4006
  connection_id: string;
2666
- last_error: string | null;
2667
- last_sequence_number: number;
2668
- last_synced_at: string | null;
4007
+ data: import("./types").Json;
4008
+ fetched_at: string;
4009
+ floriday_id: string;
4010
+ is_deleted: boolean;
4011
+ sequence_number: number;
2669
4012
  updated_at: string;
2670
4013
  };
2671
4014
  Insert: {
2672
4015
  connection_id: string;
2673
- last_error?: string | null;
2674
- last_sequence_number?: number;
2675
- last_synced_at?: string | null;
4016
+ data: import("./types").Json;
4017
+ fetched_at?: string;
4018
+ floriday_id: string;
4019
+ is_deleted?: boolean;
4020
+ sequence_number?: number;
2676
4021
  updated_at?: string;
2677
4022
  };
2678
4023
  Update: {
2679
4024
  connection_id?: string;
2680
- last_error?: string | null;
2681
- last_sequence_number?: number;
2682
- last_synced_at?: string | null;
4025
+ data?: import("./types").Json;
4026
+ fetched_at?: string;
4027
+ floriday_id?: string;
4028
+ is_deleted?: boolean;
4029
+ sequence_number?: number;
2683
4030
  updated_at?: string;
2684
4031
  };
2685
- Relationships: [];
4032
+ Relationships: [{
4033
+ foreignKeyName: "floriday_sales_strategies_cache_connection_id_fkey";
4034
+ columns: ["connection_id"];
4035
+ isOneToOne: false;
4036
+ referencedRelation: "floriday_connections";
4037
+ referencedColumns: ["id"];
4038
+ }];
2686
4039
  };
2687
4040
  floriday_salesorders_cache: {
2688
4041
  Row: {
@@ -2749,7 +4102,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2749
4102
  connection_id: string;
2750
4103
  entity_type: string;
2751
4104
  last_error: string | null;
4105
+ last_items_processed: number | null;
2752
4106
  last_sequence_number: number;
4107
+ last_success_at: string | null;
2753
4108
  last_synced_at: string | null;
2754
4109
  updated_at: string;
2755
4110
  };
@@ -2757,7 +4112,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2757
4112
  connection_id: string;
2758
4113
  entity_type: string;
2759
4114
  last_error?: string | null;
4115
+ last_items_processed?: number | null;
2760
4116
  last_sequence_number?: number;
4117
+ last_success_at?: string | null;
2761
4118
  last_synced_at?: string | null;
2762
4119
  updated_at?: string;
2763
4120
  };
@@ -2765,7 +4122,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2765
4122
  connection_id?: string;
2766
4123
  entity_type?: string;
2767
4124
  last_error?: string | null;
4125
+ last_items_processed?: number | null;
2768
4126
  last_sequence_number?: number;
4127
+ last_success_at?: string | null;
2769
4128
  last_synced_at?: string | null;
2770
4129
  updated_at?: string;
2771
4130
  };
@@ -2813,6 +4172,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2813
4172
  referencedColumns: ["id"];
2814
4173
  }];
2815
4174
  };
4175
+ floriday_trade_item_classifications_cache: {
4176
+ Row: {
4177
+ connection_id: string;
4178
+ data: import("./types").Json;
4179
+ fetched_at: string;
4180
+ floriday_id: string;
4181
+ id: string;
4182
+ is_deleted: boolean;
4183
+ sequence_number: number;
4184
+ updated_at: string;
4185
+ };
4186
+ Insert: {
4187
+ connection_id: string;
4188
+ data: import("./types").Json;
4189
+ fetched_at?: string;
4190
+ floriday_id: string;
4191
+ id?: string;
4192
+ is_deleted?: boolean;
4193
+ sequence_number?: number;
4194
+ updated_at?: string;
4195
+ };
4196
+ Update: {
4197
+ connection_id?: string;
4198
+ data?: import("./types").Json;
4199
+ fetched_at?: string;
4200
+ floriday_id?: string;
4201
+ id?: string;
4202
+ is_deleted?: boolean;
4203
+ sequence_number?: number;
4204
+ updated_at?: string;
4205
+ };
4206
+ Relationships: [{
4207
+ foreignKeyName: "floriday_trade_item_classifications_cache_connection_id_fkey";
4208
+ columns: ["connection_id"];
4209
+ isOneToOne: false;
4210
+ referencedRelation: "floriday_connections";
4211
+ referencedColumns: ["id"];
4212
+ }];
4213
+ };
2816
4214
  floriday_trade_items_cache: {
2817
4215
  Row: {
2818
4216
  connection_id: string;
@@ -2823,23 +4221,176 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2823
4221
  sequence_number: number;
2824
4222
  };
2825
4223
  Insert: {
2826
- connection_id: string;
2827
- data?: import("./types").Json;
2828
- fetched_at?: string;
2829
- floriday_id: string;
2830
- is_deleted?: boolean;
2831
- sequence_number?: number;
4224
+ connection_id: string;
4225
+ data?: import("./types").Json;
4226
+ fetched_at?: string;
4227
+ floriday_id: string;
4228
+ is_deleted?: boolean;
4229
+ sequence_number?: number;
4230
+ };
4231
+ Update: {
4232
+ connection_id?: string;
4233
+ data?: import("./types").Json;
4234
+ fetched_at?: string;
4235
+ floriday_id?: string;
4236
+ is_deleted?: boolean;
4237
+ sequence_number?: number;
4238
+ };
4239
+ Relationships: [{
4240
+ foreignKeyName: "floriday_trade_items_cache_connection_id_fkey";
4241
+ columns: ["connection_id"];
4242
+ isOneToOne: false;
4243
+ referencedRelation: "floriday_connections";
4244
+ referencedColumns: ["id"];
4245
+ }];
4246
+ };
4247
+ floriday_trips_cache: {
4248
+ Row: {
4249
+ carrier_organization_id: string | null;
4250
+ connection_id: string;
4251
+ data: import("./types").Json;
4252
+ fetched_at: string;
4253
+ floriday_id: string;
4254
+ id: string;
4255
+ is_deleted: boolean;
4256
+ sequence_number: number;
4257
+ status: string | null;
4258
+ trip_date: string | null;
4259
+ updated_at: string;
4260
+ };
4261
+ Insert: {
4262
+ carrier_organization_id?: string | null;
4263
+ connection_id: string;
4264
+ data?: import("./types").Json;
4265
+ fetched_at?: string;
4266
+ floriday_id: string;
4267
+ id?: string;
4268
+ is_deleted?: boolean;
4269
+ sequence_number?: number;
4270
+ status?: string | null;
4271
+ trip_date?: string | null;
4272
+ updated_at?: string;
4273
+ };
4274
+ Update: {
4275
+ carrier_organization_id?: string | null;
4276
+ connection_id?: string;
4277
+ data?: import("./types").Json;
4278
+ fetched_at?: string;
4279
+ floriday_id?: string;
4280
+ id?: string;
4281
+ is_deleted?: boolean;
4282
+ sequence_number?: number;
4283
+ status?: string | null;
4284
+ trip_date?: string | null;
4285
+ updated_at?: string;
4286
+ };
4287
+ Relationships: [{
4288
+ foreignKeyName: "floriday_trips_cache_connection_id_fkey";
4289
+ columns: ["connection_id"];
4290
+ isOneToOne: false;
4291
+ referencedRelation: "floriday_connections";
4292
+ referencedColumns: ["id"];
4293
+ }];
4294
+ };
4295
+ floriday_warehouses_cache: {
4296
+ Row: {
4297
+ connection_id: string;
4298
+ data: import("./types").Json;
4299
+ fetched_at: string;
4300
+ floriday_id: string;
4301
+ gln_code: string | null;
4302
+ id: string;
4303
+ is_default: boolean;
4304
+ is_deleted: boolean;
4305
+ name: string | null;
4306
+ updated_at: string;
4307
+ };
4308
+ Insert: {
4309
+ connection_id: string;
4310
+ data?: import("./types").Json;
4311
+ fetched_at?: string;
4312
+ floriday_id: string;
4313
+ gln_code?: string | null;
4314
+ id?: string;
4315
+ is_default?: boolean;
4316
+ is_deleted?: boolean;
4317
+ name?: string | null;
4318
+ updated_at?: string;
4319
+ };
4320
+ Update: {
4321
+ connection_id?: string;
4322
+ data?: import("./types").Json;
4323
+ fetched_at?: string;
4324
+ floriday_id?: string;
4325
+ gln_code?: string | null;
4326
+ id?: string;
4327
+ is_default?: boolean;
4328
+ is_deleted?: boolean;
4329
+ name?: string | null;
4330
+ updated_at?: string;
4331
+ };
4332
+ Relationships: [{
4333
+ foreignKeyName: "floriday_warehouses_cache_connection_id_fkey";
4334
+ columns: ["connection_id"];
4335
+ isOneToOne: false;
4336
+ referencedRelation: "floriday_connections";
4337
+ referencedColumns: ["id"];
4338
+ }];
4339
+ };
4340
+ floriday_write_log: {
4341
+ Row: {
4342
+ action: string;
4343
+ caller: string;
4344
+ connection_id: string | null;
4345
+ created_at: string;
4346
+ error: string | null;
4347
+ floriday_id: string | null;
4348
+ http_status: number | null;
4349
+ id: string;
4350
+ idempotency_key: string | null;
4351
+ module: string | null;
4352
+ ok: boolean;
4353
+ request: import("./types").Json | null;
4354
+ resource: string;
4355
+ response: import("./types").Json | null;
4356
+ user_id: string | null;
4357
+ };
4358
+ Insert: {
4359
+ action: string;
4360
+ caller?: string;
4361
+ connection_id?: string | null;
4362
+ created_at?: string;
4363
+ error?: string | null;
4364
+ floriday_id?: string | null;
4365
+ http_status?: number | null;
4366
+ id?: string;
4367
+ idempotency_key?: string | null;
4368
+ module?: string | null;
4369
+ ok: boolean;
4370
+ request?: import("./types").Json | null;
4371
+ resource: string;
4372
+ response?: import("./types").Json | null;
4373
+ user_id?: string | null;
2832
4374
  };
2833
4375
  Update: {
2834
- connection_id?: string;
2835
- data?: import("./types").Json;
2836
- fetched_at?: string;
2837
- floriday_id?: string;
2838
- is_deleted?: boolean;
2839
- sequence_number?: number;
4376
+ action?: string;
4377
+ caller?: string;
4378
+ connection_id?: string | null;
4379
+ created_at?: string;
4380
+ error?: string | null;
4381
+ floriday_id?: string | null;
4382
+ http_status?: number | null;
4383
+ id?: string;
4384
+ idempotency_key?: string | null;
4385
+ module?: string | null;
4386
+ ok?: boolean;
4387
+ request?: import("./types").Json | null;
4388
+ resource?: string;
4389
+ response?: import("./types").Json | null;
4390
+ user_id?: string | null;
2840
4391
  };
2841
4392
  Relationships: [{
2842
- foreignKeyName: "floriday_trade_items_cache_connection_id_fkey";
4393
+ foreignKeyName: "floriday_write_log_connection_id_fkey";
2843
4394
  columns: ["connection_id"];
2844
4395
  isOneToOne: false;
2845
4396
  referencedRelation: "floriday_connections";
@@ -3020,6 +4571,57 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3020
4571
  };
3021
4572
  Relationships: [];
3022
4573
  };
4574
+ invoice_push_log: {
4575
+ Row: {
4576
+ connection_id: string | null;
4577
+ created_at: string;
4578
+ created_by: string;
4579
+ customer_id: string | null;
4580
+ id: string;
4581
+ last_error: string | null;
4582
+ last_polled_at: string | null;
4583
+ payload: import("./types").Json;
4584
+ provider_id: string;
4585
+ queue_id: string | null;
4586
+ status: string;
4587
+ updated_at: string;
4588
+ };
4589
+ Insert: {
4590
+ connection_id?: string | null;
4591
+ created_at?: string;
4592
+ created_by?: string;
4593
+ customer_id?: string | null;
4594
+ id?: string;
4595
+ last_error?: string | null;
4596
+ last_polled_at?: string | null;
4597
+ payload?: import("./types").Json;
4598
+ provider_id: string;
4599
+ queue_id?: string | null;
4600
+ status?: string;
4601
+ updated_at?: string;
4602
+ };
4603
+ Update: {
4604
+ connection_id?: string | null;
4605
+ created_at?: string;
4606
+ created_by?: string;
4607
+ customer_id?: string | null;
4608
+ id?: string;
4609
+ last_error?: string | null;
4610
+ last_polled_at?: string | null;
4611
+ payload?: import("./types").Json;
4612
+ provider_id?: string;
4613
+ queue_id?: string | null;
4614
+ status?: string;
4615
+ updated_at?: string;
4616
+ };
4617
+ Relationships: [{
4618
+ foreignKeyName: "invoice_push_log_provider_id_fkey";
4619
+ columns: ["provider_id"];
4620
+ isOneToOne: false;
4621
+ referencedRelation: "external_invoice_providers";
4622
+ referencedColumns: ["provider"];
4623
+ }];
4624
+ };
3023
4625
  invoice_run_items: {
3024
4626
  Row: {
3025
4627
  booking_id: string | null;
@@ -3144,6 +4746,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3144
4746
  Row: {
3145
4747
  body_html: string | null;
3146
4748
  body_text: string | null;
4749
+ connection_id: string | null;
3147
4750
  created_at: string;
3148
4751
  error_message: string | null;
3149
4752
  external_id: string | null;
@@ -3162,6 +4765,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3162
4765
  Insert: {
3163
4766
  body_html?: string | null;
3164
4767
  body_text?: string | null;
4768
+ connection_id?: string | null;
3165
4769
  created_at?: string;
3166
4770
  error_message?: string | null;
3167
4771
  external_id?: string | null;
@@ -3180,6 +4784,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3180
4784
  Update: {
3181
4785
  body_html?: string | null;
3182
4786
  body_text?: string | null;
4787
+ connection_id?: string | null;
3183
4788
  created_at?: string;
3184
4789
  error_message?: string | null;
3185
4790
  external_id?: string | null;
@@ -3196,6 +4801,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3196
4801
  updated_at?: string;
3197
4802
  };
3198
4803
  Relationships: [{
4804
+ foreignKeyName: "mailbox_messages_connection_id_fkey";
4805
+ columns: ["connection_id"];
4806
+ isOneToOne: false;
4807
+ referencedRelation: "email_auth_connections";
4808
+ referencedColumns: ["id"];
4809
+ }, {
4810
+ foreignKeyName: "mailbox_messages_connection_id_fkey";
4811
+ columns: ["connection_id"];
4812
+ isOneToOne: false;
4813
+ referencedRelation: "email_auth_connections_safe";
4814
+ referencedColumns: ["id"];
4815
+ }, {
3199
4816
  foreignKeyName: "mailbox_messages_profile_id_fkey";
3200
4817
  columns: ["profile_id"];
3201
4818
  isOneToOne: false;
@@ -3479,6 +5096,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3479
5096
  role: string;
3480
5097
  tenant_id: string;
3481
5098
  updated_at: string;
5099
+ user_id: string | null;
3482
5100
  };
3483
5101
  Insert: {
3484
5102
  avatar_url?: string | null;
@@ -3494,6 +5112,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3494
5112
  role?: string;
3495
5113
  tenant_id: string;
3496
5114
  updated_at?: string;
5115
+ user_id?: string | null;
3497
5116
  };
3498
5117
  Update: {
3499
5118
  avatar_url?: string | null;
@@ -3509,6 +5128,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3509
5128
  role?: string;
3510
5129
  tenant_id?: string;
3511
5130
  updated_at?: string;
5131
+ user_id?: string | null;
3512
5132
  };
3513
5133
  Relationships: [{
3514
5134
  foreignKeyName: "monteurs_tenant_id_fkey";
@@ -3645,12 +5265,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3645
5265
  isOneToOne: false;
3646
5266
  referencedRelation: "offer_campaigns";
3647
5267
  referencedColumns: ["id"];
3648
- }, {
3649
- foreignKeyName: "offer_campaign_products_product_id_fkey";
3650
- columns: ["product_id"];
3651
- isOneToOne: false;
3652
- referencedRelation: "products";
3653
- referencedColumns: ["id"];
3654
5268
  }];
3655
5269
  };
3656
5270
  offer_campaigns: {
@@ -3926,6 +5540,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3926
5540
  };
3927
5541
  Relationships: [];
3928
5542
  };
5543
+ order_cart_items: {
5544
+ Row: {
5545
+ cart_id: string;
5546
+ crates: number;
5547
+ crates_per_layer: number;
5548
+ created_at: string;
5549
+ id: string;
5550
+ order_item_id: string | null;
5551
+ plants_per_crate: number;
5552
+ product_id: string | null;
5553
+ product_name: string;
5554
+ };
5555
+ Insert: {
5556
+ cart_id: string;
5557
+ crates: number;
5558
+ crates_per_layer?: number;
5559
+ created_at?: string;
5560
+ id?: string;
5561
+ order_item_id?: string | null;
5562
+ plants_per_crate?: number;
5563
+ product_id?: string | null;
5564
+ product_name: string;
5565
+ };
5566
+ Update: {
5567
+ cart_id?: string;
5568
+ crates?: number;
5569
+ crates_per_layer?: number;
5570
+ created_at?: string;
5571
+ id?: string;
5572
+ order_item_id?: string | null;
5573
+ plants_per_crate?: number;
5574
+ product_id?: string | null;
5575
+ product_name?: string;
5576
+ };
5577
+ Relationships: [{
5578
+ foreignKeyName: "order_cart_items_cart_id_fkey";
5579
+ columns: ["cart_id"];
5580
+ isOneToOne: false;
5581
+ referencedRelation: "order_carts";
5582
+ referencedColumns: ["id"];
5583
+ }, {
5584
+ foreignKeyName: "order_cart_items_order_item_id_fkey";
5585
+ columns: ["order_item_id"];
5586
+ isOneToOne: false;
5587
+ referencedRelation: "order_items";
5588
+ referencedColumns: ["id"];
5589
+ }, {
5590
+ foreignKeyName: "order_cart_items_product_id_fkey";
5591
+ columns: ["product_id"];
5592
+ isOneToOne: false;
5593
+ referencedRelation: "products";
5594
+ referencedColumns: ["id"];
5595
+ }];
5596
+ };
5597
+ order_carts: {
5598
+ Row: {
5599
+ cart_number: number;
5600
+ created_at: string;
5601
+ id: string;
5602
+ is_auto: boolean;
5603
+ is_complete: boolean;
5604
+ notes: string | null;
5605
+ order_id: string;
5606
+ updated_at: string;
5607
+ };
5608
+ Insert: {
5609
+ cart_number: number;
5610
+ created_at?: string;
5611
+ id?: string;
5612
+ is_auto?: boolean;
5613
+ is_complete?: boolean;
5614
+ notes?: string | null;
5615
+ order_id: string;
5616
+ updated_at?: string;
5617
+ };
5618
+ Update: {
5619
+ cart_number?: number;
5620
+ created_at?: string;
5621
+ id?: string;
5622
+ is_auto?: boolean;
5623
+ is_complete?: boolean;
5624
+ notes?: string | null;
5625
+ order_id?: string;
5626
+ updated_at?: string;
5627
+ };
5628
+ Relationships: [{
5629
+ foreignKeyName: "order_carts_order_id_fkey";
5630
+ columns: ["order_id"];
5631
+ isOneToOne: false;
5632
+ referencedRelation: "orders";
5633
+ referencedColumns: ["id"];
5634
+ }];
5635
+ };
3929
5636
  order_field_options: {
3930
5637
  Row: {
3931
5638
  created_at: string;
@@ -4127,6 +5834,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
4127
5834
  };
4128
5835
  Relationships: [];
4129
5836
  };
5837
+ pickstation_print_log: {
5838
+ Row: {
5839
+ customer_name: string | null;
5840
+ documents: string[];
5841
+ id: string;
5842
+ ip_address: string | null;
5843
+ order_id: string;
5844
+ order_number: string | null;
5845
+ printed_at: string;
5846
+ };
5847
+ Insert: {
5848
+ customer_name?: string | null;
5849
+ documents?: string[];
5850
+ id?: string;
5851
+ ip_address?: string | null;
5852
+ order_id: string;
5853
+ order_number?: string | null;
5854
+ printed_at?: string;
5855
+ };
5856
+ Update: {
5857
+ customer_name?: string | null;
5858
+ documents?: string[];
5859
+ id?: string;
5860
+ ip_address?: string | null;
5861
+ order_id?: string;
5862
+ order_number?: string | null;
5863
+ printed_at?: string;
5864
+ };
5865
+ Relationships: [];
5866
+ };
4130
5867
  pipeline_settings: {
4131
5868
  Row: {
4132
5869
  created_at: string;
@@ -4287,13 +6024,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
4287
6024
  Row: {
4288
6025
  barcode: string | null;
4289
6026
  batch: string;
6027
+ crates_per_layer: number;
4290
6028
  created_at: string;
4291
6029
  custom_fields: import("./types").Json;
4292
6030
  id: string;
4293
6031
  image_url: string | null;
4294
6032
  incoming_quantity: number;
6033
+ layers_per_cart: number;
4295
6034
  location: string;
4296
6035
  min_quantity: number;
6036
+ plants_per_crate: number;
4297
6037
  product: string;
4298
6038
  product_type: string;
4299
6039
  purchase_price: number | null;
@@ -4306,13 +6046,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
4306
6046
  Insert: {
4307
6047
  barcode?: string | null;
4308
6048
  batch: string;
6049
+ crates_per_layer?: number;
4309
6050
  created_at?: string;
4310
6051
  custom_fields?: import("./types").Json;
4311
6052
  id?: string;
4312
6053
  image_url?: string | null;
4313
6054
  incoming_quantity?: number;
6055
+ layers_per_cart?: number;
4314
6056
  location: string;
4315
6057
  min_quantity?: number;
6058
+ plants_per_crate?: number;
4316
6059
  product: string;
4317
6060
  product_type?: string;
4318
6061
  purchase_price?: number | null;
@@ -4325,13 +6068,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
4325
6068
  Update: {
4326
6069
  barcode?: string | null;
4327
6070
  batch?: string;
6071
+ crates_per_layer?: number;
4328
6072
  created_at?: string;
4329
6073
  custom_fields?: import("./types").Json;
4330
6074
  id?: string;
4331
6075
  image_url?: string | null;
4332
6076
  incoming_quantity?: number;
6077
+ layers_per_cart?: number;
4333
6078
  location?: string;
4334
6079
  min_quantity?: number;
6080
+ plants_per_crate?: number;
4335
6081
  product?: string;
4336
6082
  product_type?: string;
4337
6083
  purchase_price?: number | null;
@@ -5273,6 +7019,141 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5273
7019
  };
5274
7020
  Relationships: [];
5275
7021
  };
7022
+ time_entries: {
7023
+ Row: {
7024
+ created_at: string;
7025
+ employee_id: string;
7026
+ entry_date: string;
7027
+ hours: number;
7028
+ id: string;
7029
+ notes: string | null;
7030
+ overtime: number;
7031
+ undertime: number;
7032
+ updated_at: string;
7033
+ };
7034
+ Insert: {
7035
+ created_at?: string;
7036
+ employee_id: string;
7037
+ entry_date: string;
7038
+ hours?: number;
7039
+ id?: string;
7040
+ notes?: string | null;
7041
+ overtime?: number;
7042
+ undertime?: number;
7043
+ updated_at?: string;
7044
+ };
7045
+ Update: {
7046
+ created_at?: string;
7047
+ employee_id?: string;
7048
+ entry_date?: string;
7049
+ hours?: number;
7050
+ id?: string;
7051
+ notes?: string | null;
7052
+ overtime?: number;
7053
+ undertime?: number;
7054
+ updated_at?: string;
7055
+ };
7056
+ Relationships: [{
7057
+ foreignKeyName: "time_entries_employee_id_fkey";
7058
+ columns: ["employee_id"];
7059
+ isOneToOne: false;
7060
+ referencedRelation: "monteurs";
7061
+ referencedColumns: ["id"];
7062
+ }];
7063
+ };
7064
+ time_logs: {
7065
+ Row: {
7066
+ created_at: string;
7067
+ employee_id: string;
7068
+ end_time: string | null;
7069
+ id: string;
7070
+ notes: string | null;
7071
+ overtime_hours: number;
7072
+ overtime_type: string | null;
7073
+ regular_hours: number;
7074
+ start_time: string;
7075
+ travel_cost: number | null;
7076
+ travel_distance_km: number | null;
7077
+ type: string;
7078
+ updated_at: string;
7079
+ };
7080
+ Insert: {
7081
+ created_at?: string;
7082
+ employee_id: string;
7083
+ end_time?: string | null;
7084
+ id?: string;
7085
+ notes?: string | null;
7086
+ overtime_hours?: number;
7087
+ overtime_type?: string | null;
7088
+ regular_hours?: number;
7089
+ start_time?: string;
7090
+ travel_cost?: number | null;
7091
+ travel_distance_km?: number | null;
7092
+ type: string;
7093
+ updated_at?: string;
7094
+ };
7095
+ Update: {
7096
+ created_at?: string;
7097
+ employee_id?: string;
7098
+ end_time?: string | null;
7099
+ id?: string;
7100
+ notes?: string | null;
7101
+ overtime_hours?: number;
7102
+ overtime_type?: string | null;
7103
+ regular_hours?: number;
7104
+ start_time?: string;
7105
+ travel_cost?: number | null;
7106
+ travel_distance_km?: number | null;
7107
+ type?: string;
7108
+ updated_at?: string;
7109
+ };
7110
+ Relationships: [{
7111
+ foreignKeyName: "time_logs_employee_id_fkey";
7112
+ columns: ["employee_id"];
7113
+ isOneToOne: false;
7114
+ referencedRelation: "monteurs";
7115
+ referencedColumns: ["id"];
7116
+ }];
7117
+ };
7118
+ time_off_entries: {
7119
+ Row: {
7120
+ created_at: string;
7121
+ employee_id: string;
7122
+ entry_date: string;
7123
+ hours: number;
7124
+ id: string;
7125
+ notes: string | null;
7126
+ type: string;
7127
+ updated_at: string;
7128
+ };
7129
+ Insert: {
7130
+ created_at?: string;
7131
+ employee_id: string;
7132
+ entry_date: string;
7133
+ hours?: number;
7134
+ id?: string;
7135
+ notes?: string | null;
7136
+ type: string;
7137
+ updated_at?: string;
7138
+ };
7139
+ Update: {
7140
+ created_at?: string;
7141
+ employee_id?: string;
7142
+ entry_date?: string;
7143
+ hours?: number;
7144
+ id?: string;
7145
+ notes?: string | null;
7146
+ type?: string;
7147
+ updated_at?: string;
7148
+ };
7149
+ Relationships: [{
7150
+ foreignKeyName: "time_off_entries_employee_id_fkey";
7151
+ columns: ["employee_id"];
7152
+ isOneToOne: false;
7153
+ referencedRelation: "monteurs";
7154
+ referencedColumns: ["id"];
7155
+ }];
7156
+ };
5276
7157
  trade_item_drafts: {
5277
7158
  Row: {
5278
7159
  connection_id: string | null;
@@ -5570,9 +7451,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5570
7451
  fetched_at: string;
5571
7452
  invoice_number: string;
5572
7453
  line_number: number;
7454
+ line_total: number | null;
5573
7455
  quantity: number | null;
5574
7456
  unit_price: number | null;
5575
7457
  vat_code: string | null;
7458
+ vat_rate: number | null;
5576
7459
  };
5577
7460
  Insert: {
5578
7461
  article_code?: string | null;
@@ -5582,9 +7465,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5582
7465
  fetched_at?: string;
5583
7466
  invoice_number: string;
5584
7467
  line_number: number;
7468
+ line_total?: number | null;
5585
7469
  quantity?: number | null;
5586
7470
  unit_price?: number | null;
5587
7471
  vat_code?: string | null;
7472
+ vat_rate?: number | null;
5588
7473
  };
5589
7474
  Update: {
5590
7475
  article_code?: string | null;
@@ -5594,9 +7479,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5594
7479
  fetched_at?: string;
5595
7480
  invoice_number?: string;
5596
7481
  line_number?: number;
7482
+ line_total?: number | null;
5597
7483
  quantity?: number | null;
5598
7484
  unit_price?: number | null;
5599
7485
  vat_code?: string | null;
7486
+ vat_rate?: number | null;
5600
7487
  };
5601
7488
  Relationships: [{
5602
7489
  foreignKeyName: "twinfield_invoice_lines_cache_v2_connection_id_fkey";
@@ -5773,9 +7660,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5773
7660
  invoice_date: string | null;
5774
7661
  invoice_number: string;
5775
7662
  modified_at: string | null;
7663
+ outstanding_amount: number | null;
5776
7664
  status: string | null;
7665
+ status_label: string | null;
5777
7666
  total_excl: number | null;
5778
7667
  total_incl: number | null;
7668
+ vat_amount: number | null;
5779
7669
  };
5780
7670
  Insert: {
5781
7671
  connection_id: string;
@@ -5787,9 +7677,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5787
7677
  invoice_date?: string | null;
5788
7678
  invoice_number: string;
5789
7679
  modified_at?: string | null;
7680
+ outstanding_amount?: number | null;
5790
7681
  status?: string | null;
7682
+ status_label?: string | null;
5791
7683
  total_excl?: number | null;
5792
7684
  total_incl?: number | null;
7685
+ vat_amount?: number | null;
5793
7686
  };
5794
7687
  Update: {
5795
7688
  connection_id?: string;
@@ -5801,9 +7694,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5801
7694
  invoice_date?: string | null;
5802
7695
  invoice_number?: string;
5803
7696
  modified_at?: string | null;
7697
+ outstanding_amount?: number | null;
5804
7698
  status?: string | null;
7699
+ status_label?: string | null;
5805
7700
  total_excl?: number | null;
5806
7701
  total_incl?: number | null;
7702
+ vat_amount?: number | null;
5807
7703
  };
5808
7704
  Relationships: [{
5809
7705
  foreignKeyName: "twinfield_invoices_cache_v2_connection_id_fkey";
@@ -5837,6 +7733,57 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5837
7733
  };
5838
7734
  Relationships: [];
5839
7735
  };
7736
+ twinfield_push_queue: {
7737
+ Row: {
7738
+ attempts: number;
7739
+ connection_id: string;
7740
+ created_at: string;
7741
+ external_id: string | null;
7742
+ id: string;
7743
+ idempotency_key: string;
7744
+ last_error: string | null;
7745
+ next_attempt_at: string;
7746
+ office_code: string;
7747
+ payload: import("./types").Json;
7748
+ status: string;
7749
+ updated_at: string;
7750
+ };
7751
+ Insert: {
7752
+ attempts?: number;
7753
+ connection_id: string;
7754
+ created_at?: string;
7755
+ external_id?: string | null;
7756
+ id?: string;
7757
+ idempotency_key: string;
7758
+ last_error?: string | null;
7759
+ next_attempt_at?: string;
7760
+ office_code: string;
7761
+ payload: import("./types").Json;
7762
+ status?: string;
7763
+ updated_at?: string;
7764
+ };
7765
+ Update: {
7766
+ attempts?: number;
7767
+ connection_id?: string;
7768
+ created_at?: string;
7769
+ external_id?: string | null;
7770
+ id?: string;
7771
+ idempotency_key?: string;
7772
+ last_error?: string | null;
7773
+ next_attempt_at?: string;
7774
+ office_code?: string;
7775
+ payload?: import("./types").Json;
7776
+ status?: string;
7777
+ updated_at?: string;
7778
+ };
7779
+ Relationships: [{
7780
+ foreignKeyName: "twinfield_push_queue_connection_id_fkey";
7781
+ columns: ["connection_id"];
7782
+ isOneToOne: false;
7783
+ referencedRelation: "twinfield_connections";
7784
+ referencedColumns: ["id"];
7785
+ }];
7786
+ };
5840
7787
  twinfield_settings: {
5841
7788
  Row: {
5842
7789
  active_environment: string;
@@ -5948,6 +7895,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5948
7895
  referencedColumns: ["id"];
5949
7896
  }];
5950
7897
  };
7898
+ voorraad_media_upload_failures: {
7899
+ Row: {
7900
+ action: string;
7901
+ attempt_number: number;
7902
+ caller: string;
7903
+ client_user_id: string | null;
7904
+ content_type: string | null;
7905
+ created_at: string;
7906
+ environment: string;
7907
+ error_message: string | null;
7908
+ filename: string | null;
7909
+ id: string;
7910
+ idempotency_key: string | null;
7911
+ module: string;
7912
+ path: string;
7913
+ reference_id: string | null;
7914
+ request_body_hash: string | null;
7915
+ request_timestamp: number | null;
7916
+ response_content_type: string | null;
7917
+ response_status: number | null;
7918
+ size_bytes: number | null;
7919
+ };
7920
+ Insert: {
7921
+ action?: string;
7922
+ attempt_number?: number;
7923
+ caller?: string;
7924
+ client_user_id?: string | null;
7925
+ content_type?: string | null;
7926
+ created_at?: string;
7927
+ environment: string;
7928
+ error_message?: string | null;
7929
+ filename?: string | null;
7930
+ id?: string;
7931
+ idempotency_key?: string | null;
7932
+ module?: string;
7933
+ path: string;
7934
+ reference_id?: string | null;
7935
+ request_body_hash?: string | null;
7936
+ request_timestamp?: number | null;
7937
+ response_content_type?: string | null;
7938
+ response_status?: number | null;
7939
+ size_bytes?: number | null;
7940
+ };
7941
+ Update: {
7942
+ action?: string;
7943
+ attempt_number?: number;
7944
+ caller?: string;
7945
+ client_user_id?: string | null;
7946
+ content_type?: string | null;
7947
+ created_at?: string;
7948
+ environment?: string;
7949
+ error_message?: string | null;
7950
+ filename?: string | null;
7951
+ id?: string;
7952
+ idempotency_key?: string | null;
7953
+ module?: string;
7954
+ path?: string;
7955
+ reference_id?: string | null;
7956
+ request_body_hash?: string | null;
7957
+ request_timestamp?: number | null;
7958
+ response_content_type?: string | null;
7959
+ response_status?: number | null;
7960
+ size_bytes?: number | null;
7961
+ };
7962
+ Relationships: [];
7963
+ };
7964
+ voorraad_publish_attempts: {
7965
+ Row: {
7966
+ action: string;
7967
+ connection_id: string | null;
7968
+ created_at: string;
7969
+ error: string | null;
7970
+ gateway_attempt_id: string | null;
7971
+ gateway_status: number | null;
7972
+ id: string;
7973
+ intent: string;
7974
+ ok: boolean;
7975
+ request_summary: import("./types").Json | null;
7976
+ trade_item_id: string | null;
7977
+ user_id: string;
7978
+ };
7979
+ Insert: {
7980
+ action: string;
7981
+ connection_id?: string | null;
7982
+ created_at?: string;
7983
+ error?: string | null;
7984
+ gateway_attempt_id?: string | null;
7985
+ gateway_status?: number | null;
7986
+ id?: string;
7987
+ intent: string;
7988
+ ok: boolean;
7989
+ request_summary?: import("./types").Json | null;
7990
+ trade_item_id?: string | null;
7991
+ user_id: string;
7992
+ };
7993
+ Update: {
7994
+ action?: string;
7995
+ connection_id?: string | null;
7996
+ created_at?: string;
7997
+ error?: string | null;
7998
+ gateway_attempt_id?: string | null;
7999
+ gateway_status?: number | null;
8000
+ id?: string;
8001
+ intent?: string;
8002
+ ok?: boolean;
8003
+ request_summary?: import("./types").Json | null;
8004
+ trade_item_id?: string | null;
8005
+ user_id?: string;
8006
+ };
8007
+ Relationships: [];
8008
+ };
5951
8009
  work_order_monteurs: {
5952
8010
  Row: {
5953
8011
  created_at: string;
@@ -6259,6 +8317,132 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6259
8317
  };
6260
8318
  Relationships: [];
6261
8319
  };
8320
+ external_invoices_grouped: {
8321
+ Row: {
8322
+ currency: string | null;
8323
+ customer_external_id: string | null;
8324
+ customer_name: string | null;
8325
+ customer_vat: string | null;
8326
+ due_at: string | null;
8327
+ group_key: string | null;
8328
+ invoice_number: string | null;
8329
+ is_merged: boolean | null;
8330
+ issued_at: string | null;
8331
+ modified_at: string | null;
8332
+ open_amount: number | null;
8333
+ paid_at: string | null;
8334
+ providers: string[] | null;
8335
+ source_count: number | null;
8336
+ sources: import("./types").Json | null;
8337
+ status: string | null;
8338
+ total_excl: number | null;
8339
+ total_incl: number | null;
8340
+ total_vat: number | null;
8341
+ };
8342
+ Relationships: [];
8343
+ };
8344
+ external_invoices_unified: {
8345
+ Row: {
8346
+ connection_id: string | null;
8347
+ currency: string | null;
8348
+ customer_external_id: string | null;
8349
+ customer_name: string | null;
8350
+ customer_vat: string | null;
8351
+ due_at: string | null;
8352
+ external_id: string | null;
8353
+ invoice_number: string | null;
8354
+ issued_at: string | null;
8355
+ open_amount: number | null;
8356
+ owner_user_id: string | null;
8357
+ paid_at: string | null;
8358
+ raw: import("./types").Json | null;
8359
+ source: string | null;
8360
+ status: string | null;
8361
+ synced_at: string | null;
8362
+ total_excl: number | null;
8363
+ total_incl: number | null;
8364
+ total_vat: number | null;
8365
+ };
8366
+ Relationships: [];
8367
+ };
8368
+ v_external_customers_exact: {
8369
+ Row: {
8370
+ account_number: string | null;
8371
+ city: string | null;
8372
+ coc_number: string | null;
8373
+ company_name: string | null;
8374
+ connection_id: string | null;
8375
+ country: string | null;
8376
+ currency: string | null;
8377
+ email: string | null;
8378
+ external_id: string | null;
8379
+ is_sales: boolean | null;
8380
+ is_supplier: boolean | null;
8381
+ language: string | null;
8382
+ modified_at: string | null;
8383
+ phone: string | null;
8384
+ postal_code: string | null;
8385
+ raw: import("./types").Json | null;
8386
+ source: string | null;
8387
+ street: string | null;
8388
+ synced_at: string | null;
8389
+ vat_number: string | null;
8390
+ website: string | null;
8391
+ };
8392
+ Insert: {
8393
+ account_number?: string | null;
8394
+ city?: string | null;
8395
+ coc_number?: string | null;
8396
+ company_name?: string | null;
8397
+ connection_id?: string | null;
8398
+ country?: string | null;
8399
+ currency?: string | null;
8400
+ email?: string | null;
8401
+ external_id?: string | null;
8402
+ is_sales?: boolean | null;
8403
+ is_supplier?: boolean | null;
8404
+ language?: string | null;
8405
+ modified_at?: string | null;
8406
+ phone?: string | null;
8407
+ postal_code?: string | null;
8408
+ raw?: import("./types").Json | null;
8409
+ source?: never;
8410
+ street?: string | null;
8411
+ synced_at?: string | null;
8412
+ vat_number?: string | null;
8413
+ website?: string | null;
8414
+ };
8415
+ Update: {
8416
+ account_number?: string | null;
8417
+ city?: string | null;
8418
+ coc_number?: string | null;
8419
+ company_name?: string | null;
8420
+ connection_id?: string | null;
8421
+ country?: string | null;
8422
+ currency?: string | null;
8423
+ email?: string | null;
8424
+ external_id?: string | null;
8425
+ is_sales?: boolean | null;
8426
+ is_supplier?: boolean | null;
8427
+ language?: string | null;
8428
+ modified_at?: string | null;
8429
+ phone?: string | null;
8430
+ postal_code?: string | null;
8431
+ raw?: import("./types").Json | null;
8432
+ source?: never;
8433
+ street?: string | null;
8434
+ synced_at?: string | null;
8435
+ vat_number?: string | null;
8436
+ website?: string | null;
8437
+ };
8438
+ Relationships: [{
8439
+ foreignKeyName: "exact_customers_cache_connection_id_fkey";
8440
+ columns: ["connection_id"];
8441
+ isOneToOne: false;
8442
+ referencedRelation: "exact_connections";
8443
+ referencedColumns: ["id"];
8444
+ }];
8445
+ };
6262
8446
  v_external_customers_floriday: {
6263
8447
  Row: {
6264
8448
  city: string | null;
@@ -6313,12 +8497,111 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6313
8497
  provider: string | null;
6314
8498
  raw: import("./types").Json | null;
6315
8499
  status: string | null;
6316
- street: string | null;
6317
- vat_number: string | null;
6318
- website: string | null;
8500
+ street: string | null;
8501
+ vat_number: string | null;
8502
+ website: string | null;
8503
+ };
8504
+ Relationships: [{
8505
+ foreignKeyName: "twinfield_customers_cache_connection_id_fkey";
8506
+ columns: ["connection_id"];
8507
+ isOneToOne: false;
8508
+ referencedRelation: "twinfield_connections";
8509
+ referencedColumns: ["id"];
8510
+ }];
8511
+ };
8512
+ v_external_invoices_exact: {
8513
+ Row: {
8514
+ connection_id: string | null;
8515
+ currency: string | null;
8516
+ customer_external_id: string | null;
8517
+ customer_name: string | null;
8518
+ customer_vat: string | null;
8519
+ due_at: string | null;
8520
+ external_id: string | null;
8521
+ invoice_number: string | null;
8522
+ issued_at: string | null;
8523
+ open_amount: number | null;
8524
+ paid_at: string | null;
8525
+ raw: import("./types").Json | null;
8526
+ source: string | null;
8527
+ status: string | null;
8528
+ synced_at: string | null;
8529
+ total_excl: number | null;
8530
+ total_incl: number | null;
8531
+ total_vat: number | null;
8532
+ };
8533
+ Insert: {
8534
+ connection_id?: string | null;
8535
+ currency?: never;
8536
+ customer_external_id?: string | null;
8537
+ customer_name?: string | null;
8538
+ customer_vat?: never;
8539
+ due_at?: string | null;
8540
+ external_id?: string | null;
8541
+ invoice_number?: string | null;
8542
+ issued_at?: string | null;
8543
+ open_amount?: number | null;
8544
+ paid_at?: string | null;
8545
+ raw?: import("./types").Json | null;
8546
+ source?: never;
8547
+ status?: string | null;
8548
+ synced_at?: string | null;
8549
+ total_excl?: number | null;
8550
+ total_incl?: number | null;
8551
+ total_vat?: number | null;
8552
+ };
8553
+ Update: {
8554
+ connection_id?: string | null;
8555
+ currency?: never;
8556
+ customer_external_id?: string | null;
8557
+ customer_name?: string | null;
8558
+ customer_vat?: never;
8559
+ due_at?: string | null;
8560
+ external_id?: string | null;
8561
+ invoice_number?: string | null;
8562
+ issued_at?: string | null;
8563
+ open_amount?: number | null;
8564
+ paid_at?: string | null;
8565
+ raw?: import("./types").Json | null;
8566
+ source?: never;
8567
+ status?: string | null;
8568
+ synced_at?: string | null;
8569
+ total_excl?: number | null;
8570
+ total_incl?: number | null;
8571
+ total_vat?: number | null;
8572
+ };
8573
+ Relationships: [{
8574
+ foreignKeyName: "exact_invoices_cache_connection_id_fkey";
8575
+ columns: ["connection_id"];
8576
+ isOneToOne: false;
8577
+ referencedRelation: "exact_connections";
8578
+ referencedColumns: ["id"];
8579
+ }];
8580
+ };
8581
+ v_external_invoices_twinfield: {
8582
+ Row: {
8583
+ connection_id: string | null;
8584
+ currency: string | null;
8585
+ customer_external_id: string | null;
8586
+ customer_name: string | null;
8587
+ customer_vat: string | null;
8588
+ due_at: string | null;
8589
+ external_id: string | null;
8590
+ invoice_number: string | null;
8591
+ issued_at: string | null;
8592
+ open_amount: number | null;
8593
+ owner_user_id: string | null;
8594
+ paid_at: string | null;
8595
+ raw: import("./types").Json | null;
8596
+ source: string | null;
8597
+ status: string | null;
8598
+ synced_at: string | null;
8599
+ total_excl: number | null;
8600
+ total_incl: number | null;
8601
+ total_vat: number | null;
6319
8602
  };
6320
8603
  Relationships: [{
6321
- foreignKeyName: "twinfield_customers_cache_connection_id_fkey";
8604
+ foreignKeyName: "twinfield_invoices_cache_v2_connection_id_fkey";
6322
8605
  columns: ["connection_id"];
6323
8606
  isOneToOne: false;
6324
8607
  referencedRelation: "twinfield_connections";
@@ -6327,6 +8610,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6327
8610
  };
6328
8611
  };
6329
8612
  Functions: {
8613
+ _floriday_schedule_job: {
8614
+ Args: {
8615
+ p_apikey: string;
8616
+ p_jobname: string;
8617
+ p_schedule: string;
8618
+ p_timeout_ms: number;
8619
+ p_url: string;
8620
+ };
8621
+ Returns: number;
8622
+ };
8623
+ call_exact_route: {
8624
+ Args: {
8625
+ path: string;
8626
+ };
8627
+ Returns: number;
8628
+ };
8629
+ cleanup_old_bookings: {
8630
+ Args: never;
8631
+ Returns: number;
8632
+ };
8633
+ current_monteur_id: {
8634
+ Args: never;
8635
+ Returns: string;
8636
+ };
6330
8637
  dashboard_list_public_schema: {
6331
8638
  Args: never;
6332
8639
  Returns: {
@@ -6431,6 +8738,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6431
8738
  office_code: string;
6432
8739
  }[];
6433
8740
  };
8741
+ get_floriday_agreements_active: {
8742
+ Args: {
8743
+ p_on_date?: string;
8744
+ };
8745
+ Returns: {
8746
+ buyer_organization_id: string;
8747
+ data: import("./types").Json;
8748
+ floriday_id: string;
8749
+ status: string;
8750
+ valid_from: string;
8751
+ valid_until: string;
8752
+ }[];
8753
+ };
8754
+ get_floriday_clock_supplies_window: {
8755
+ Args: {
8756
+ p_from: string;
8757
+ p_to: string;
8758
+ };
8759
+ Returns: {
8760
+ auction_date: string;
8761
+ data: import("./types").Json;
8762
+ floriday_id: string;
8763
+ status: string;
8764
+ trade_item_id: string;
8765
+ }[];
8766
+ };
6434
8767
  get_floriday_cron_jobs: {
6435
8768
  Args: never;
6436
8769
  Returns: {
@@ -6440,6 +8773,56 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6440
8773
  url: string;
6441
8774
  }[];
6442
8775
  };
8776
+ get_floriday_delivery_locations: {
8777
+ Args: {
8778
+ p_organization_id: string;
8779
+ };
8780
+ Returns: {
8781
+ data: import("./types").Json;
8782
+ floriday_id: string;
8783
+ gln_code: string;
8784
+ name: string;
8785
+ }[];
8786
+ };
8787
+ get_floriday_fulfillment_orders_window: {
8788
+ Args: {
8789
+ p_from: string;
8790
+ p_to: string;
8791
+ };
8792
+ Returns: {
8793
+ auction_date: string;
8794
+ data: import("./types").Json;
8795
+ delivery_order_id: string;
8796
+ destination_warehouse_id: string;
8797
+ floriday_id: string;
8798
+ status: string;
8799
+ }[];
8800
+ };
8801
+ get_floriday_sales_orders_window: {
8802
+ Args: {
8803
+ p_from: string;
8804
+ p_to: string;
8805
+ };
8806
+ Returns: {
8807
+ buyer_organization_id: string;
8808
+ data: import("./types").Json;
8809
+ floriday_id: string;
8810
+ status: string;
8811
+ updated_at: string;
8812
+ }[];
8813
+ };
8814
+ get_floriday_sync_health: {
8815
+ Args: never;
8816
+ Returns: {
8817
+ entity_type: string;
8818
+ last_error: string;
8819
+ last_items_processed: number;
8820
+ last_sequence_number: number;
8821
+ last_success_at: string;
8822
+ last_synced_at: string;
8823
+ minutes_since_success: number;
8824
+ }[];
8825
+ };
6443
8826
  get_offer_by_link_code: {
6444
8827
  Args: {
6445
8828
  p_code: string;
@@ -6505,6 +8888,74 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6505
8888
  };
6506
8889
  Returns: string;
6507
8890
  };
8891
+ pickstation_get_orders_raw: {
8892
+ Args: never;
8893
+ Returns: import("./types").Json;
8894
+ };
8895
+ pickstation_get_settings: {
8896
+ Args: never;
8897
+ Returns: import("./types").Json;
8898
+ };
8899
+ pickstation_log_print: {
8900
+ Args: {
8901
+ p_customer_name: string;
8902
+ p_documents: string[];
8903
+ p_ip_address: string;
8904
+ p_order_id: string;
8905
+ p_order_number: string;
8906
+ };
8907
+ Returns: undefined;
8908
+ };
8909
+ refresh_floricode_derived_code_lists: {
8910
+ Args: never;
8911
+ Returns: {
8912
+ out_environment: string;
8913
+ out_list_name: string;
8914
+ out_row_count: number;
8915
+ }[];
8916
+ };
8917
+ reset_floriday_sync_cursor: {
8918
+ Args: {
8919
+ p_connection_id: string;
8920
+ p_entity_type: string;
8921
+ };
8922
+ Returns: undefined;
8923
+ };
8924
+ schedule_floriday_additional_services_sync: {
8925
+ Args: {
8926
+ p_apikey: string;
8927
+ p_url: string;
8928
+ };
8929
+ Returns: number;
8930
+ };
8931
+ schedule_floriday_agreement_calloffs_sync: {
8932
+ Args: {
8933
+ p_apikey: string;
8934
+ p_url: string;
8935
+ };
8936
+ Returns: number;
8937
+ };
8938
+ schedule_floriday_agreements_sync: {
8939
+ Args: {
8940
+ p_apikey: string;
8941
+ p_url: string;
8942
+ };
8943
+ Returns: number;
8944
+ };
8945
+ schedule_floriday_base_items_sync: {
8946
+ Args: {
8947
+ p_apikey: string;
8948
+ p_url: string;
8949
+ };
8950
+ Returns: number;
8951
+ };
8952
+ schedule_floriday_blanket_orders_sync: {
8953
+ Args: {
8954
+ p_apikey: string;
8955
+ p_url: string;
8956
+ };
8957
+ Returns: number;
8958
+ };
6508
8959
  schedule_floriday_carriers_sync: {
6509
8960
  Args: {
6510
8961
  p_apikey: string;
@@ -6512,6 +8963,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6512
8963
  };
6513
8964
  Returns: number;
6514
8965
  };
8966
+ schedule_floriday_clock_presales_sync: {
8967
+ Args: {
8968
+ p_apikey: string;
8969
+ p_url: string;
8970
+ };
8971
+ Returns: number;
8972
+ };
8973
+ schedule_floriday_clock_supplies_sync: {
8974
+ Args: {
8975
+ p_apikey: string;
8976
+ p_url: string;
8977
+ };
8978
+ Returns: number;
8979
+ };
8980
+ schedule_floriday_collections_sync: {
8981
+ Args: {
8982
+ p_apikey: string;
8983
+ p_url: string;
8984
+ };
8985
+ Returns: number;
8986
+ };
8987
+ schedule_floriday_commercial_service_types_sync: {
8988
+ Args: {
8989
+ p_apikey: string;
8990
+ p_url: string;
8991
+ };
8992
+ Returns: number;
8993
+ };
6515
8994
  schedule_floriday_connections_sync: {
6516
8995
  Args: {
6517
8996
  p_apikey: string;
@@ -6519,6 +8998,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6519
8998
  };
6520
8999
  Returns: number;
6521
9000
  };
9001
+ schedule_floriday_contract_trade_item_groups_sync: {
9002
+ Args: {
9003
+ p_apikey: string;
9004
+ p_url: string;
9005
+ };
9006
+ Returns: number;
9007
+ };
9008
+ schedule_floriday_contracts_sync: {
9009
+ Args: {
9010
+ p_apikey: string;
9011
+ p_url: string;
9012
+ };
9013
+ Returns: number;
9014
+ };
6522
9015
  schedule_floriday_customer_organizations_sync: {
6523
9016
  Args: {
6524
9017
  p_apikey: string;
@@ -6526,6 +9019,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6526
9019
  };
6527
9020
  Returns: number;
6528
9021
  };
9022
+ schedule_floriday_customer_stickers_sync: {
9023
+ Args: {
9024
+ p_apikey: string;
9025
+ p_url: string;
9026
+ };
9027
+ Returns: number;
9028
+ };
9029
+ schedule_floriday_delivery_condition_sets_sync: {
9030
+ Args: {
9031
+ p_apikey: string;
9032
+ p_url: string;
9033
+ };
9034
+ Returns: number;
9035
+ };
9036
+ schedule_floriday_delivery_locations_sync: {
9037
+ Args: {
9038
+ p_apikey: string;
9039
+ p_url: string;
9040
+ };
9041
+ Returns: number;
9042
+ };
9043
+ schedule_floriday_delivery_orders_sync: {
9044
+ Args: {
9045
+ p_apikey: string;
9046
+ p_url: string;
9047
+ };
9048
+ Returns: number;
9049
+ };
9050
+ schedule_floriday_fulfillment_orders_sync: {
9051
+ Args: {
9052
+ p_apikey: string;
9053
+ p_url: string;
9054
+ };
9055
+ Returns: number;
9056
+ };
9057
+ schedule_floriday_invoices_sync: {
9058
+ Args: {
9059
+ p_apikey: string;
9060
+ p_url: string;
9061
+ };
9062
+ Returns: number;
9063
+ };
6529
9064
  schedule_floriday_network_sync: {
6530
9065
  Args: {
6531
9066
  p_apikey: string;
@@ -6533,6 +9068,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6533
9068
  };
6534
9069
  Returns: number;
6535
9070
  };
9071
+ schedule_floriday_packings_sync: {
9072
+ Args: {
9073
+ p_apikey: string;
9074
+ p_url: string;
9075
+ };
9076
+ Returns: number;
9077
+ };
9078
+ schedule_floriday_price_groups_sync: {
9079
+ Args: {
9080
+ p_apikey: string;
9081
+ p_url: string;
9082
+ };
9083
+ Returns: number;
9084
+ };
9085
+ schedule_floriday_reference_data_refresh: {
9086
+ Args: {
9087
+ p_apikey: string;
9088
+ p_url: string;
9089
+ };
9090
+ Returns: number;
9091
+ };
9092
+ schedule_floriday_sales_strategies_sync: {
9093
+ Args: {
9094
+ p_apikey: string;
9095
+ p_url: string;
9096
+ };
9097
+ Returns: number;
9098
+ };
6536
9099
  schedule_floriday_salesorders_sync: {
6537
9100
  Args: {
6538
9101
  p_apikey: string;
@@ -6547,6 +9110,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6547
9110
  };
6548
9111
  Returns: number;
6549
9112
  };
9113
+ schedule_floriday_trade_item_classifications_sync: {
9114
+ Args: {
9115
+ p_apikey: string;
9116
+ p_url: string;
9117
+ };
9118
+ Returns: number;
9119
+ };
6550
9120
  schedule_floriday_trade_items_sync: {
6551
9121
  Args: {
6552
9122
  p_apikey: string;
@@ -6554,6 +9124,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6554
9124
  };
6555
9125
  Returns: number;
6556
9126
  };
9127
+ schedule_floriday_trips_sync: {
9128
+ Args: {
9129
+ p_apikey: string;
9130
+ p_url: string;
9131
+ };
9132
+ Returns: number;
9133
+ };
9134
+ schedule_floriday_warehouses_sync: {
9135
+ Args: {
9136
+ p_apikey: string;
9137
+ p_url: string;
9138
+ };
9139
+ Returns: number;
9140
+ };
6557
9141
  schedule_twinfield_customers_sync: {
6558
9142
  Args: {
6559
9143
  p_apikey: string;
@@ -6582,6 +9166,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6582
9166
  };
6583
9167
  Returns: number;
6584
9168
  };
9169
+ schedule_twinfield_push_queue_flush: {
9170
+ Args: {
9171
+ p_apikey: string;
9172
+ p_cron_secret?: string;
9173
+ p_url: string;
9174
+ };
9175
+ Returns: number;
9176
+ };
6585
9177
  schedule_twinfield_token_refresh: {
6586
9178
  Args: {
6587
9179
  p_apikey: string;
@@ -6620,8 +9212,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6620
9212
  };
6621
9213
  };
6622
9214
  Enums: {
6623
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
9215
+ app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
6624
9216
  exact_env: "staging" | "live";
9217
+ exact_push_status: "pending" | "sent" | "error";
6625
9218
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
6626
9219
  };
6627
9220
  CompositeTypes: { [_ in never]: never; };