@flowselections/floriday-verkoop-module 1.0.35 → 1.0.36

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 (36) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2412 -91
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +2412 -91
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +2412 -91
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +2467 -70
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.js +49 -0
  10. package/dist-lib/lib/cart-lock.functions.d.ts +2412 -91
  11. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  12. package/dist-lib/lib/cart-planning-settings.functions.d.ts +25717 -186
  13. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  14. package/dist-lib/lib/cart-replan.functions.d.ts +13131 -6168
  15. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/create-order.functions.d.ts +32680 -186
  17. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +13131 -6168
  19. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +2412 -91
  21. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-mirror.functions.d.ts +2412 -91
  23. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-public.functions.d.ts +31691 -15444
  25. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-writes.functions.d.ts +22411 -10806
  27. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/order-buffers.functions.d.ts +13131 -6168
  29. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/order-shipments.functions.d.ts +17771 -8487
  31. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/salesorders.functions.d.ts +22411 -10806
  33. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/tradeitems.functions.d.ts +2412 -91
  35. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  36. package/package.json +1 -1
@@ -404,6 +404,63 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
404
404
  };
405
405
  Relationships: [];
406
406
  };
407
+ ai_layout_imports: {
408
+ Row: {
409
+ analyse_json: import("../integrations/supabase/types").Json;
410
+ bestand_url: string | null;
411
+ bestandsnaam: string;
412
+ bevestigd: boolean;
413
+ created_at: string;
414
+ created_by: string | null;
415
+ foutmelding: string | null;
416
+ id: string;
417
+ layout_id: string | null;
418
+ mime_type: string;
419
+ onzekere_velden: import("../integrations/supabase/types").Json;
420
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["ai_import_status"];
421
+ updated_at: string;
422
+ voorstel: import("../integrations/supabase/types").Json;
423
+ };
424
+ Insert: {
425
+ analyse_json?: import("../integrations/supabase/types").Json;
426
+ bestand_url?: string | null;
427
+ bestandsnaam?: string;
428
+ bevestigd?: boolean;
429
+ created_at?: string;
430
+ created_by?: string | null;
431
+ foutmelding?: string | null;
432
+ id?: string;
433
+ layout_id?: string | null;
434
+ mime_type?: string;
435
+ onzekere_velden?: import("../integrations/supabase/types").Json;
436
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["ai_import_status"];
437
+ updated_at?: string;
438
+ voorstel?: import("../integrations/supabase/types").Json;
439
+ };
440
+ Update: {
441
+ analyse_json?: import("../integrations/supabase/types").Json;
442
+ bestand_url?: string | null;
443
+ bestandsnaam?: string;
444
+ bevestigd?: boolean;
445
+ created_at?: string;
446
+ created_by?: string | null;
447
+ foutmelding?: string | null;
448
+ id?: string;
449
+ layout_id?: string | null;
450
+ mime_type?: string;
451
+ onzekere_velden?: import("../integrations/supabase/types").Json;
452
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["ai_import_status"];
453
+ updated_at?: string;
454
+ voorstel?: import("../integrations/supabase/types").Json;
455
+ };
456
+ Relationships: [{
457
+ foreignKeyName: "ai_layout_imports_layout_id_fkey";
458
+ columns: ["layout_id"];
459
+ isOneToOne: false;
460
+ referencedRelation: "document_layouts";
461
+ referencedColumns: ["id"];
462
+ }];
463
+ };
407
464
  ai_model_pricing: {
408
465
  Row: {
409
466
  created_at: string;
@@ -494,6 +551,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
494
551
  created_at: string;
495
552
  credential_id: string;
496
553
  id: string;
554
+ is_default: boolean;
555
+ label: string | null;
497
556
  model_id: string;
498
557
  notes: string | null;
499
558
  updated_at: string;
@@ -503,6 +562,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
503
562
  created_at?: string;
504
563
  credential_id: string;
505
564
  id?: string;
565
+ is_default?: boolean;
566
+ label?: string | null;
506
567
  model_id: string;
507
568
  notes?: string | null;
508
569
  updated_at?: string;
@@ -512,6 +573,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
512
573
  created_at?: string;
513
574
  credential_id?: string;
514
575
  id?: string;
576
+ is_default?: boolean;
577
+ label?: string | null;
515
578
  model_id?: string;
516
579
  notes?: string | null;
517
580
  updated_at?: string;
@@ -530,6 +593,39 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
530
593
  referencedColumns: ["id"];
531
594
  }];
532
595
  };
596
+ ai_modules: {
597
+ Row: {
598
+ ai_enabled: boolean;
599
+ created_at: string;
600
+ id: string;
601
+ module_key: string;
602
+ module_name: string;
603
+ updated_at: string;
604
+ };
605
+ Insert: {
606
+ ai_enabled?: boolean;
607
+ created_at?: string;
608
+ id?: string;
609
+ module_key: string;
610
+ module_name: string;
611
+ updated_at?: string;
612
+ };
613
+ Update: {
614
+ ai_enabled?: boolean;
615
+ created_at?: string;
616
+ id?: string;
617
+ module_key?: string;
618
+ module_name?: string;
619
+ updated_at?: string;
620
+ };
621
+ Relationships: [{
622
+ foreignKeyName: "ai_modules_module_key_fkey";
623
+ columns: ["module_key"];
624
+ isOneToOne: true;
625
+ referencedRelation: "modules";
626
+ referencedColumns: ["module_key"];
627
+ }];
628
+ };
533
629
  ai_providers: {
534
630
  Row: {
535
631
  active: boolean;
@@ -2459,6 +2555,351 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2459
2555
  };
2460
2556
  Relationships: [];
2461
2557
  };
2558
+ document_formaat_printers: {
2559
+ Row: {
2560
+ created_at: string;
2561
+ documenttype: string;
2562
+ formaat_code: string;
2563
+ id: string;
2564
+ printer_id: string | null;
2565
+ updated_at: string;
2566
+ };
2567
+ Insert: {
2568
+ created_at?: string;
2569
+ documenttype: string;
2570
+ formaat_code: string;
2571
+ id?: string;
2572
+ printer_id?: string | null;
2573
+ updated_at?: string;
2574
+ };
2575
+ Update: {
2576
+ created_at?: string;
2577
+ documenttype?: string;
2578
+ formaat_code?: string;
2579
+ id?: string;
2580
+ printer_id?: string | null;
2581
+ updated_at?: string;
2582
+ };
2583
+ Relationships: [{
2584
+ foreignKeyName: "document_formaat_printers_printer_id_fkey";
2585
+ columns: ["printer_id"];
2586
+ isOneToOne: false;
2587
+ referencedRelation: "printers";
2588
+ referencedColumns: ["id"];
2589
+ }];
2590
+ };
2591
+ document_layout_conditions: {
2592
+ Row: {
2593
+ created_at: string;
2594
+ element_key: string;
2595
+ id: string;
2596
+ layout_id: string;
2597
+ operator: string;
2598
+ updated_at: string;
2599
+ veld: string;
2600
+ waarde: string;
2601
+ };
2602
+ Insert: {
2603
+ created_at?: string;
2604
+ element_key: string;
2605
+ id?: string;
2606
+ layout_id: string;
2607
+ operator?: string;
2608
+ updated_at?: string;
2609
+ veld: string;
2610
+ waarde?: string;
2611
+ };
2612
+ Update: {
2613
+ created_at?: string;
2614
+ element_key?: string;
2615
+ id?: string;
2616
+ layout_id?: string;
2617
+ operator?: string;
2618
+ updated_at?: string;
2619
+ veld?: string;
2620
+ waarde?: string;
2621
+ };
2622
+ Relationships: [{
2623
+ foreignKeyName: "document_layout_conditions_layout_id_fkey";
2624
+ columns: ["layout_id"];
2625
+ isOneToOne: false;
2626
+ referencedRelation: "document_layouts";
2627
+ referencedColumns: ["id"];
2628
+ }];
2629
+ };
2630
+ document_layout_datasources: {
2631
+ Row: {
2632
+ alias: string;
2633
+ created_at: string;
2634
+ entiteit: string;
2635
+ filter: import("../integrations/supabase/types").Json;
2636
+ id: string;
2637
+ layout_id: string;
2638
+ module_id: string;
2639
+ updated_at: string;
2640
+ };
2641
+ Insert: {
2642
+ alias?: string;
2643
+ created_at?: string;
2644
+ entiteit: string;
2645
+ filter?: import("../integrations/supabase/types").Json;
2646
+ id?: string;
2647
+ layout_id: string;
2648
+ module_id: string;
2649
+ updated_at?: string;
2650
+ };
2651
+ Update: {
2652
+ alias?: string;
2653
+ created_at?: string;
2654
+ entiteit?: string;
2655
+ filter?: import("../integrations/supabase/types").Json;
2656
+ id?: string;
2657
+ layout_id?: string;
2658
+ module_id?: string;
2659
+ updated_at?: string;
2660
+ };
2661
+ Relationships: [{
2662
+ foreignKeyName: "document_layout_datasources_layout_id_fkey";
2663
+ columns: ["layout_id"];
2664
+ isOneToOne: false;
2665
+ referencedRelation: "document_layouts";
2666
+ referencedColumns: ["id"];
2667
+ }];
2668
+ };
2669
+ document_layout_elements: {
2670
+ Row: {
2671
+ breedte: number;
2672
+ config: import("../integrations/supabase/types").Json;
2673
+ content: string;
2674
+ created_at: string;
2675
+ element_key: string;
2676
+ hoogte: number;
2677
+ id: string;
2678
+ layout_id: string;
2679
+ logo_id: string | null;
2680
+ parent_key: string | null;
2681
+ rotatie: number;
2682
+ stijl: import("../integrations/supabase/types").Json;
2683
+ type: string;
2684
+ updated_at: string;
2685
+ veldpad: string | null;
2686
+ verborgen: boolean;
2687
+ vergrendeld: boolean;
2688
+ volgorde: number;
2689
+ x: number;
2690
+ y: number;
2691
+ z_index: number;
2692
+ };
2693
+ Insert: {
2694
+ breedte?: number;
2695
+ config?: import("../integrations/supabase/types").Json;
2696
+ content?: string;
2697
+ created_at?: string;
2698
+ element_key: string;
2699
+ hoogte?: number;
2700
+ id?: string;
2701
+ layout_id: string;
2702
+ logo_id?: string | null;
2703
+ parent_key?: string | null;
2704
+ rotatie?: number;
2705
+ stijl?: import("../integrations/supabase/types").Json;
2706
+ type: string;
2707
+ updated_at?: string;
2708
+ veldpad?: string | null;
2709
+ verborgen?: boolean;
2710
+ vergrendeld?: boolean;
2711
+ volgorde?: number;
2712
+ x?: number;
2713
+ y?: number;
2714
+ z_index?: number;
2715
+ };
2716
+ Update: {
2717
+ breedte?: number;
2718
+ config?: import("../integrations/supabase/types").Json;
2719
+ content?: string;
2720
+ created_at?: string;
2721
+ element_key?: string;
2722
+ hoogte?: number;
2723
+ id?: string;
2724
+ layout_id?: string;
2725
+ logo_id?: string | null;
2726
+ parent_key?: string | null;
2727
+ rotatie?: number;
2728
+ stijl?: import("../integrations/supabase/types").Json;
2729
+ type?: string;
2730
+ updated_at?: string;
2731
+ veldpad?: string | null;
2732
+ verborgen?: boolean;
2733
+ vergrendeld?: boolean;
2734
+ volgorde?: number;
2735
+ x?: number;
2736
+ y?: number;
2737
+ z_index?: number;
2738
+ };
2739
+ Relationships: [{
2740
+ foreignKeyName: "document_layout_elements_layout_id_fkey";
2741
+ columns: ["layout_id"];
2742
+ isOneToOne: false;
2743
+ referencedRelation: "document_layouts";
2744
+ referencedColumns: ["id"];
2745
+ }, {
2746
+ foreignKeyName: "document_layout_elements_logo_id_fkey";
2747
+ columns: ["logo_id"];
2748
+ isOneToOne: false;
2749
+ referencedRelation: "layout_logos";
2750
+ referencedColumns: ["id"];
2751
+ }];
2752
+ };
2753
+ document_layout_variables: {
2754
+ Row: {
2755
+ created_at: string;
2756
+ expressie: string;
2757
+ id: string;
2758
+ layout_id: string;
2759
+ naam: string;
2760
+ omschrijving: string;
2761
+ updated_at: string;
2762
+ };
2763
+ Insert: {
2764
+ created_at?: string;
2765
+ expressie?: string;
2766
+ id?: string;
2767
+ layout_id: string;
2768
+ naam: string;
2769
+ omschrijving?: string;
2770
+ updated_at?: string;
2771
+ };
2772
+ Update: {
2773
+ created_at?: string;
2774
+ expressie?: string;
2775
+ id?: string;
2776
+ layout_id?: string;
2777
+ naam?: string;
2778
+ omschrijving?: string;
2779
+ updated_at?: string;
2780
+ };
2781
+ Relationships: [{
2782
+ foreignKeyName: "document_layout_variables_layout_id_fkey";
2783
+ columns: ["layout_id"];
2784
+ isOneToOne: false;
2785
+ referencedRelation: "document_layouts";
2786
+ referencedColumns: ["id"];
2787
+ }];
2788
+ };
2789
+ document_layout_versions: {
2790
+ Row: {
2791
+ commentaar: string;
2792
+ created_at: string;
2793
+ created_by: string | null;
2794
+ elements: import("../integrations/supabase/types").Json;
2795
+ id: string;
2796
+ layout_id: string;
2797
+ page_settings: import("../integrations/supabase/types").Json;
2798
+ updated_at: string;
2799
+ versienummer: number;
2800
+ };
2801
+ Insert: {
2802
+ commentaar?: string;
2803
+ created_at?: string;
2804
+ created_by?: string | null;
2805
+ elements?: import("../integrations/supabase/types").Json;
2806
+ id?: string;
2807
+ layout_id: string;
2808
+ page_settings?: import("../integrations/supabase/types").Json;
2809
+ updated_at?: string;
2810
+ versienummer: number;
2811
+ };
2812
+ Update: {
2813
+ commentaar?: string;
2814
+ created_at?: string;
2815
+ created_by?: string | null;
2816
+ elements?: import("../integrations/supabase/types").Json;
2817
+ id?: string;
2818
+ layout_id?: string;
2819
+ page_settings?: import("../integrations/supabase/types").Json;
2820
+ updated_at?: string;
2821
+ versienummer?: number;
2822
+ };
2823
+ Relationships: [{
2824
+ foreignKeyName: "document_layout_versions_layout_id_fkey";
2825
+ columns: ["layout_id"];
2826
+ isOneToOne: false;
2827
+ referencedRelation: "document_layouts";
2828
+ referencedColumns: ["id"];
2829
+ }];
2830
+ };
2831
+ document_layouts: {
2832
+ Row: {
2833
+ actief: boolean;
2834
+ breedte_mm: number;
2835
+ config: import("../integrations/supabase/types").Json;
2836
+ created_at: string;
2837
+ created_by: string | null;
2838
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
2839
+ hoogte_mm: number;
2840
+ huidige_versie: number;
2841
+ id: string;
2842
+ is_standaard: boolean;
2843
+ marge_boven: number;
2844
+ marge_links: number;
2845
+ marge_onder: number;
2846
+ marge_rechts: number;
2847
+ naam: string;
2848
+ omschrijving: string;
2849
+ orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
2850
+ page_settings: import("../integrations/supabase/types").Json;
2851
+ papierformaat: string;
2852
+ thumbnail_url: string | null;
2853
+ updated_at: string;
2854
+ };
2855
+ Insert: {
2856
+ actief?: boolean;
2857
+ breedte_mm?: number;
2858
+ config?: import("../integrations/supabase/types").Json;
2859
+ created_at?: string;
2860
+ created_by?: string | null;
2861
+ documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
2862
+ hoogte_mm?: number;
2863
+ huidige_versie?: number;
2864
+ id?: string;
2865
+ is_standaard?: boolean;
2866
+ marge_boven?: number;
2867
+ marge_links?: number;
2868
+ marge_onder?: number;
2869
+ marge_rechts?: number;
2870
+ naam: string;
2871
+ omschrijving?: string;
2872
+ orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
2873
+ page_settings?: import("../integrations/supabase/types").Json;
2874
+ papierformaat?: string;
2875
+ thumbnail_url?: string | null;
2876
+ updated_at?: string;
2877
+ };
2878
+ Update: {
2879
+ actief?: boolean;
2880
+ breedte_mm?: number;
2881
+ config?: import("../integrations/supabase/types").Json;
2882
+ created_at?: string;
2883
+ created_by?: string | null;
2884
+ documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
2885
+ hoogte_mm?: number;
2886
+ huidige_versie?: number;
2887
+ id?: string;
2888
+ is_standaard?: boolean;
2889
+ marge_boven?: number;
2890
+ marge_links?: number;
2891
+ marge_onder?: number;
2892
+ marge_rechts?: number;
2893
+ naam?: string;
2894
+ omschrijving?: string;
2895
+ orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
2896
+ page_settings?: import("../integrations/supabase/types").Json;
2897
+ papierformaat?: string;
2898
+ thumbnail_url?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Relationships: [];
2902
+ };
2462
2903
  email_auth_connections: {
2463
2904
  Row: {
2464
2905
  access_token_encrypted: string | null;
@@ -2498,6 +2939,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2498
2939
  status: string;
2499
2940
  token_expires_at: string | null;
2500
2941
  updated_at: string;
2942
+ watch_scope: string;
2943
+ webhook_last_attempt_at: string | null;
2944
+ webhook_last_error: string | null;
2945
+ webhook_status: string;
2501
2946
  };
2502
2947
  Insert: {
2503
2948
  access_token_encrypted?: string | null;
@@ -2537,6 +2982,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2537
2982
  status?: string;
2538
2983
  token_expires_at?: string | null;
2539
2984
  updated_at?: string;
2985
+ watch_scope?: string;
2986
+ webhook_last_attempt_at?: string | null;
2987
+ webhook_last_error?: string | null;
2988
+ webhook_status?: string;
2540
2989
  };
2541
2990
  Update: {
2542
2991
  access_token_encrypted?: string | null;
@@ -2576,6 +3025,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2576
3025
  status?: string;
2577
3026
  token_expires_at?: string | null;
2578
3027
  updated_at?: string;
3028
+ watch_scope?: string;
3029
+ webhook_last_attempt_at?: string | null;
3030
+ webhook_last_error?: string | null;
3031
+ webhook_status?: string;
2579
3032
  };
2580
3033
  Relationships: [];
2581
3034
  };
@@ -2771,44 +3224,164 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2771
3224
  referencedColumns: ["id"];
2772
3225
  }];
2773
3226
  };
2774
- exact_account_analytics_cache: {
3227
+ email_auth_watch_folders: {
2775
3228
  Row: {
2776
- account_id: string;
2777
- account_name: string | null;
2778
- avg_payment_days: number | null;
2779
- computed_at: string;
2780
3229
  connection_id: string;
2781
- expires_at: string | null;
3230
+ created_at: string;
3231
+ folder_id: string;
3232
+ folder_name: string | null;
3233
+ gmail_history_id: string | null;
3234
+ graph_subscription_expires_at: string | null;
3235
+ graph_subscription_id: string | null;
2782
3236
  id: string;
2783
- invoice_count: number | null;
2784
- last_invoice_date: string | null;
2785
- last_payment_date: string | null;
2786
- open_balance: number | null;
2787
- overdue_balance: number | null;
2788
- total_revenue: number | null;
3237
+ imap_last_uid: number | null;
3238
+ imap_uid_validity: number | null;
3239
+ mailbox: string;
3240
+ provider: string;
3241
+ updated_at: string;
3242
+ webhook_last_error: string | null;
3243
+ webhook_status: string | null;
2789
3244
  };
2790
3245
  Insert: {
2791
- account_id: string;
2792
- account_name?: string | null;
2793
- avg_payment_days?: number | null;
2794
- computed_at?: string;
2795
3246
  connection_id: string;
2796
- expires_at?: string | null;
3247
+ created_at?: string;
3248
+ folder_id: string;
3249
+ folder_name?: string | null;
3250
+ gmail_history_id?: string | null;
3251
+ graph_subscription_expires_at?: string | null;
3252
+ graph_subscription_id?: string | null;
2797
3253
  id?: string;
2798
- invoice_count?: number | null;
2799
- last_invoice_date?: string | null;
2800
- last_payment_date?: string | null;
2801
- open_balance?: number | null;
2802
- overdue_balance?: number | null;
2803
- total_revenue?: number | null;
3254
+ imap_last_uid?: number | null;
3255
+ imap_uid_validity?: number | null;
3256
+ mailbox?: string;
3257
+ provider: string;
3258
+ updated_at?: string;
3259
+ webhook_last_error?: string | null;
3260
+ webhook_status?: string | null;
2804
3261
  };
2805
3262
  Update: {
2806
- account_id?: string;
2807
- account_name?: string | null;
2808
- avg_payment_days?: number | null;
2809
- computed_at?: string;
2810
3263
  connection_id?: string;
2811
- expires_at?: string | null;
3264
+ created_at?: string;
3265
+ folder_id?: string;
3266
+ folder_name?: string | null;
3267
+ gmail_history_id?: string | null;
3268
+ graph_subscription_expires_at?: string | null;
3269
+ graph_subscription_id?: string | null;
3270
+ id?: string;
3271
+ imap_last_uid?: number | null;
3272
+ imap_uid_validity?: number | null;
3273
+ mailbox?: string;
3274
+ provider?: string;
3275
+ updated_at?: string;
3276
+ webhook_last_error?: string | null;
3277
+ webhook_status?: string | null;
3278
+ };
3279
+ Relationships: [{
3280
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3281
+ columns: ["connection_id"];
3282
+ isOneToOne: false;
3283
+ referencedRelation: "email_auth_connections";
3284
+ referencedColumns: ["id"];
3285
+ }, {
3286
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3287
+ columns: ["connection_id"];
3288
+ isOneToOne: false;
3289
+ referencedRelation: "email_auth_connections_safe";
3290
+ referencedColumns: ["id"];
3291
+ }];
3292
+ };
3293
+ email_auth_webhook_log: {
3294
+ Row: {
3295
+ body_sample: string | null;
3296
+ connection_id: string | null;
3297
+ created_at: string;
3298
+ error_message: string | null;
3299
+ headers_sample: import("../integrations/supabase/types").Json | null;
3300
+ id: string;
3301
+ notification_count: number | null;
3302
+ provider: string | null;
3303
+ source: string | null;
3304
+ status: string;
3305
+ subscription_id: string | null;
3306
+ };
3307
+ Insert: {
3308
+ body_sample?: string | null;
3309
+ connection_id?: string | null;
3310
+ created_at?: string;
3311
+ error_message?: string | null;
3312
+ headers_sample?: import("../integrations/supabase/types").Json | null;
3313
+ id?: string;
3314
+ notification_count?: number | null;
3315
+ provider?: string | null;
3316
+ source?: string | null;
3317
+ status: string;
3318
+ subscription_id?: string | null;
3319
+ };
3320
+ Update: {
3321
+ body_sample?: string | null;
3322
+ connection_id?: string | null;
3323
+ created_at?: string;
3324
+ error_message?: string | null;
3325
+ headers_sample?: import("../integrations/supabase/types").Json | null;
3326
+ id?: string;
3327
+ notification_count?: number | null;
3328
+ provider?: string | null;
3329
+ source?: string | null;
3330
+ status?: string;
3331
+ subscription_id?: string | null;
3332
+ };
3333
+ Relationships: [{
3334
+ foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
3335
+ columns: ["connection_id"];
3336
+ isOneToOne: false;
3337
+ referencedRelation: "email_auth_connections";
3338
+ referencedColumns: ["id"];
3339
+ }, {
3340
+ foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
3341
+ columns: ["connection_id"];
3342
+ isOneToOne: false;
3343
+ referencedRelation: "email_auth_connections_safe";
3344
+ referencedColumns: ["id"];
3345
+ }];
3346
+ };
3347
+ exact_account_analytics_cache: {
3348
+ Row: {
3349
+ account_id: string;
3350
+ account_name: string | null;
3351
+ avg_payment_days: number | null;
3352
+ computed_at: string;
3353
+ connection_id: string;
3354
+ expires_at: string | null;
3355
+ id: string;
3356
+ invoice_count: number | null;
3357
+ last_invoice_date: string | null;
3358
+ last_payment_date: string | null;
3359
+ open_balance: number | null;
3360
+ overdue_balance: number | null;
3361
+ total_revenue: number | null;
3362
+ };
3363
+ Insert: {
3364
+ account_id: string;
3365
+ account_name?: string | null;
3366
+ avg_payment_days?: number | null;
3367
+ computed_at?: string;
3368
+ connection_id: string;
3369
+ expires_at?: string | null;
3370
+ id?: string;
3371
+ invoice_count?: number | null;
3372
+ last_invoice_date?: string | null;
3373
+ last_payment_date?: string | null;
3374
+ open_balance?: number | null;
3375
+ overdue_balance?: number | null;
3376
+ total_revenue?: number | null;
3377
+ };
3378
+ Update: {
3379
+ account_id?: string;
3380
+ account_name?: string | null;
3381
+ avg_payment_days?: number | null;
3382
+ computed_at?: string;
3383
+ connection_id?: string;
3384
+ expires_at?: string | null;
2812
3385
  id?: string;
2813
3386
  invoice_count?: number | null;
2814
3387
  last_invoice_date?: string | null;
@@ -5984,6 +6557,36 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
5984
6557
  };
5985
6558
  Relationships: [];
5986
6559
  };
6560
+ invoice_post_idempotency: {
6561
+ Row: {
6562
+ client_request_id: string;
6563
+ completed_at: string | null;
6564
+ created_at: string;
6565
+ error_message: string | null;
6566
+ invoice_number: string | null;
6567
+ status: string;
6568
+ user_id: string;
6569
+ };
6570
+ Insert: {
6571
+ client_request_id: string;
6572
+ completed_at?: string | null;
6573
+ created_at?: string;
6574
+ error_message?: string | null;
6575
+ invoice_number?: string | null;
6576
+ status?: string;
6577
+ user_id: string;
6578
+ };
6579
+ Update: {
6580
+ client_request_id?: string;
6581
+ completed_at?: string | null;
6582
+ created_at?: string;
6583
+ error_message?: string | null;
6584
+ invoice_number?: string | null;
6585
+ status?: string;
6586
+ user_id?: string;
6587
+ };
6588
+ Relationships: [];
6589
+ };
5987
6590
  invoice_push_log: {
5988
6591
  Row: {
5989
6592
  connection_id: string | null;
@@ -6371,6 +6974,60 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
6371
6974
  referencedColumns: ["id"];
6372
6975
  }];
6373
6976
  };
6977
+ layout_logos: {
6978
+ Row: {
6979
+ bestand_url: string;
6980
+ bestandsgrootte: number;
6981
+ bestandspad: string | null;
6982
+ bestandstype: string;
6983
+ breedte: number;
6984
+ categorie: string;
6985
+ created_at: string;
6986
+ hash: string | null;
6987
+ hoogte: number;
6988
+ id: string;
6989
+ is_standaard: boolean;
6990
+ naam: string;
6991
+ omschrijving: string;
6992
+ transparant: boolean;
6993
+ updated_at: string;
6994
+ };
6995
+ Insert: {
6996
+ bestand_url: string;
6997
+ bestandsgrootte?: number;
6998
+ bestandspad?: string | null;
6999
+ bestandstype?: string;
7000
+ breedte?: number;
7001
+ categorie?: string;
7002
+ created_at?: string;
7003
+ hash?: string | null;
7004
+ hoogte?: number;
7005
+ id?: string;
7006
+ is_standaard?: boolean;
7007
+ naam: string;
7008
+ omschrijving?: string;
7009
+ transparant?: boolean;
7010
+ updated_at?: string;
7011
+ };
7012
+ Update: {
7013
+ bestand_url?: string;
7014
+ bestandsgrootte?: number;
7015
+ bestandspad?: string | null;
7016
+ bestandstype?: string;
7017
+ breedte?: number;
7018
+ categorie?: string;
7019
+ created_at?: string;
7020
+ hash?: string | null;
7021
+ hoogte?: number;
7022
+ id?: string;
7023
+ is_standaard?: boolean;
7024
+ naam?: string;
7025
+ omschrijving?: string;
7026
+ transparant?: boolean;
7027
+ updated_at?: string;
7028
+ };
7029
+ Relationships: [];
7030
+ };
6374
7031
  leave_requests: {
6375
7032
  Row: {
6376
7033
  created_at: string;
@@ -6914,6 +7571,99 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
6914
7571
  };
6915
7572
  Relationships: [];
6916
7573
  };
7574
+ mailbox_ai_goal_prompts: {
7575
+ Row: {
7576
+ created_at: string;
7577
+ goal_key: string;
7578
+ id: string;
7579
+ system_prompt: string;
7580
+ updated_at: string;
7581
+ };
7582
+ Insert: {
7583
+ created_at?: string;
7584
+ goal_key: string;
7585
+ id?: string;
7586
+ system_prompt?: string;
7587
+ updated_at?: string;
7588
+ };
7589
+ Update: {
7590
+ created_at?: string;
7591
+ goal_key?: string;
7592
+ id?: string;
7593
+ system_prompt?: string;
7594
+ updated_at?: string;
7595
+ };
7596
+ Relationships: [];
7597
+ };
7598
+ mailbox_ai_settings: {
7599
+ Row: {
7600
+ active_goal_key: string | null;
7601
+ created_at: string;
7602
+ enabled: boolean;
7603
+ id: string;
7604
+ required_fields: string[];
7605
+ singleton: boolean;
7606
+ system_prompt: string | null;
7607
+ updated_at: string;
7608
+ };
7609
+ Insert: {
7610
+ active_goal_key?: string | null;
7611
+ created_at?: string;
7612
+ enabled?: boolean;
7613
+ id?: string;
7614
+ required_fields?: string[];
7615
+ singleton?: boolean;
7616
+ system_prompt?: string | null;
7617
+ updated_at?: string;
7618
+ };
7619
+ Update: {
7620
+ active_goal_key?: string | null;
7621
+ created_at?: string;
7622
+ enabled?: boolean;
7623
+ id?: string;
7624
+ required_fields?: string[];
7625
+ singleton?: boolean;
7626
+ system_prompt?: string | null;
7627
+ updated_at?: string;
7628
+ };
7629
+ Relationships: [];
7630
+ };
7631
+ mailbox_ingest_runs: {
7632
+ Row: {
7633
+ connection_id: string | null;
7634
+ error_sample: string | null;
7635
+ errors: number;
7636
+ finished_at: string | null;
7637
+ id: string;
7638
+ inserted: number;
7639
+ processed: number;
7640
+ started_at: string;
7641
+ trigger: string;
7642
+ };
7643
+ Insert: {
7644
+ connection_id?: string | null;
7645
+ error_sample?: string | null;
7646
+ errors?: number;
7647
+ finished_at?: string | null;
7648
+ id?: string;
7649
+ inserted?: number;
7650
+ processed?: number;
7651
+ started_at?: string;
7652
+ trigger: string;
7653
+ };
7654
+ Update: {
7655
+ connection_id?: string | null;
7656
+ error_sample?: string | null;
7657
+ errors?: number;
7658
+ finished_at?: string | null;
7659
+ id?: string;
7660
+ inserted?: number;
7661
+ processed?: number;
7662
+ started_at?: string;
7663
+ trigger?: string;
7664
+ };
7665
+ Relationships: [];
7666
+ };
6917
7667
  mailbox_messages: {
6918
7668
  Row: {
6919
7669
  body_html: string | null;
@@ -6994,6 +7744,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
6994
7744
  };
6995
7745
  mailbox_order_proposals: {
6996
7746
  Row: {
7747
+ ai_validation: import("../integrations/supabase/types").Json | null;
6997
7748
  confidence: number | null;
6998
7749
  created_at: string;
6999
7750
  created_order_id: string | null;
@@ -7010,6 +7761,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7010
7761
  updated_at: string;
7011
7762
  };
7012
7763
  Insert: {
7764
+ ai_validation?: import("../integrations/supabase/types").Json | null;
7013
7765
  confidence?: number | null;
7014
7766
  created_at?: string;
7015
7767
  created_order_id?: string | null;
@@ -7026,6 +7778,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7026
7778
  updated_at?: string;
7027
7779
  };
7028
7780
  Update: {
7781
+ ai_validation?: import("../integrations/supabase/types").Json | null;
7029
7782
  confidence?: number | null;
7030
7783
  created_at?: string;
7031
7784
  created_order_id?: string | null;
@@ -7162,6 +7915,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7162
7915
  created_at: string;
7163
7916
  id: string;
7164
7917
  match_confidence: number | null;
7918
+ plant_type: string | null;
7165
7919
  product_id: string | null;
7166
7920
  proposal_id: string;
7167
7921
  quantity: number | null;
@@ -7174,6 +7928,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7174
7928
  created_at?: string;
7175
7929
  id?: string;
7176
7930
  match_confidence?: number | null;
7931
+ plant_type?: string | null;
7177
7932
  product_id?: string | null;
7178
7933
  proposal_id: string;
7179
7934
  quantity?: number | null;
@@ -7186,6 +7941,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7186
7941
  created_at?: string;
7187
7942
  id?: string;
7188
7943
  match_confidence?: number | null;
7944
+ plant_type?: string | null;
7189
7945
  product_id?: string | null;
7190
7946
  proposal_id?: string;
7191
7947
  quantity?: number | null;
@@ -7370,6 +8126,39 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7370
8126
  };
7371
8127
  Relationships: [];
7372
8128
  };
8129
+ modules: {
8130
+ Row: {
8131
+ created_at: string;
8132
+ description: string | null;
8133
+ id: string;
8134
+ is_active: boolean;
8135
+ last_seen_at: string | null;
8136
+ module_key: string;
8137
+ module_name: string;
8138
+ updated_at: string;
8139
+ };
8140
+ Insert: {
8141
+ created_at?: string;
8142
+ description?: string | null;
8143
+ id?: string;
8144
+ is_active?: boolean;
8145
+ last_seen_at?: string | null;
8146
+ module_key: string;
8147
+ module_name: string;
8148
+ updated_at?: string;
8149
+ };
8150
+ Update: {
8151
+ created_at?: string;
8152
+ description?: string | null;
8153
+ id?: string;
8154
+ is_active?: boolean;
8155
+ last_seen_at?: string | null;
8156
+ module_key?: string;
8157
+ module_name?: string;
8158
+ updated_at?: string;
8159
+ };
8160
+ Relationships: [];
8161
+ };
7373
8162
  monteurs: {
7374
8163
  Row: {
7375
8164
  avatar_url: string | null;
@@ -8609,28 +9398,907 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8609
9398
  };
8610
9399
  Relationships: [];
8611
9400
  };
8612
- pickstation_print_log: {
9401
+ pick_countries: {
8613
9402
  Row: {
8614
- customer_name: string | null;
8615
- documents: string[];
9403
+ active: boolean;
9404
+ code: string;
9405
+ created_at: string;
9406
+ flag: string | null;
8616
9407
  id: string;
8617
- ip_address: string | null;
8618
- order_id: string;
8619
- order_number: string | null;
8620
- printed_at: string;
9408
+ name: string;
9409
+ sort_order: number;
9410
+ updated_at: string;
8621
9411
  };
8622
9412
  Insert: {
8623
- customer_name?: string | null;
8624
- documents?: string[];
9413
+ active?: boolean;
9414
+ code: string;
9415
+ created_at?: string;
9416
+ flag?: string | null;
8625
9417
  id?: string;
8626
- ip_address?: string | null;
8627
- order_id: string;
8628
- order_number?: string | null;
8629
- printed_at?: string;
9418
+ name: string;
9419
+ sort_order?: number;
9420
+ updated_at?: string;
8630
9421
  };
8631
9422
  Update: {
8632
- customer_name?: string | null;
8633
- documents?: string[];
9423
+ active?: boolean;
9424
+ code?: string;
9425
+ created_at?: string;
9426
+ flag?: string | null;
9427
+ id?: string;
9428
+ name?: string;
9429
+ sort_order?: number;
9430
+ updated_at?: string;
9431
+ };
9432
+ Relationships: [];
9433
+ };
9434
+ pick_document_statuses: {
9435
+ Row: {
9436
+ active: boolean;
9437
+ code: string;
9438
+ color: string | null;
9439
+ created_at: string;
9440
+ id: string;
9441
+ is_open: boolean;
9442
+ is_terminal: boolean;
9443
+ name: string;
9444
+ sort_order: number;
9445
+ updated_at: string;
9446
+ };
9447
+ Insert: {
9448
+ active?: boolean;
9449
+ code: string;
9450
+ color?: string | null;
9451
+ created_at?: string;
9452
+ id?: string;
9453
+ is_open?: boolean;
9454
+ is_terminal?: boolean;
9455
+ name: string;
9456
+ sort_order?: number;
9457
+ updated_at?: string;
9458
+ };
9459
+ Update: {
9460
+ active?: boolean;
9461
+ code?: string;
9462
+ color?: string | null;
9463
+ created_at?: string;
9464
+ id?: string;
9465
+ is_open?: boolean;
9466
+ is_terminal?: boolean;
9467
+ name?: string;
9468
+ sort_order?: number;
9469
+ updated_at?: string;
9470
+ };
9471
+ Relationships: [];
9472
+ };
9473
+ pick_document_types: {
9474
+ Row: {
9475
+ active: boolean;
9476
+ code: string;
9477
+ color: string | null;
9478
+ created_at: string;
9479
+ description: string | null;
9480
+ icon: string | null;
9481
+ id: string;
9482
+ name: string;
9483
+ print_template: string | null;
9484
+ printer_id: string | null;
9485
+ priority: number;
9486
+ report_key: string | null;
9487
+ sort_order: number;
9488
+ updated_at: string;
9489
+ workflow: import("../integrations/supabase/types").Json;
9490
+ };
9491
+ Insert: {
9492
+ active?: boolean;
9493
+ code: string;
9494
+ color?: string | null;
9495
+ created_at?: string;
9496
+ description?: string | null;
9497
+ icon?: string | null;
9498
+ id?: string;
9499
+ name: string;
9500
+ print_template?: string | null;
9501
+ printer_id?: string | null;
9502
+ priority?: number;
9503
+ report_key?: string | null;
9504
+ sort_order?: number;
9505
+ updated_at?: string;
9506
+ workflow?: import("../integrations/supabase/types").Json;
9507
+ };
9508
+ Update: {
9509
+ active?: boolean;
9510
+ code?: string;
9511
+ color?: string | null;
9512
+ created_at?: string;
9513
+ description?: string | null;
9514
+ icon?: string | null;
9515
+ id?: string;
9516
+ name?: string;
9517
+ print_template?: string | null;
9518
+ printer_id?: string | null;
9519
+ priority?: number;
9520
+ report_key?: string | null;
9521
+ sort_order?: number;
9522
+ updated_at?: string;
9523
+ workflow?: import("../integrations/supabase/types").Json;
9524
+ };
9525
+ Relationships: [{
9526
+ foreignKeyName: "pick_document_types_printer_id_fkey";
9527
+ columns: ["printer_id"];
9528
+ isOneToOne: false;
9529
+ referencedRelation: "pick_station_printers";
9530
+ referencedColumns: ["id"];
9531
+ }];
9532
+ };
9533
+ pick_queue: {
9534
+ Row: {
9535
+ announced_at: string;
9536
+ assigned_user_id: string | null;
9537
+ barcode: string | null;
9538
+ cancelled_at: string | null;
9539
+ cart_count: number;
9540
+ completed_at: string | null;
9541
+ country_code: string | null;
9542
+ created_at: string;
9543
+ customer_name: string | null;
9544
+ delivery_address: string | null;
9545
+ document_number: string | null;
9546
+ document_type_id: string | null;
9547
+ due_at: string | null;
9548
+ id: string;
9549
+ is_urgent: boolean;
9550
+ line_count: number;
9551
+ order_number: string | null;
9552
+ order_type: string | null;
9553
+ payload: import("../integrations/supabase/types").Json;
9554
+ print_count: number;
9555
+ printed_at: string | null;
9556
+ printed_by: string | null;
9557
+ printer_id: string | null;
9558
+ priority: number;
9559
+ reference: string | null;
9560
+ route: string | null;
9561
+ screen_id: string | null;
9562
+ station_id: string | null;
9563
+ status_id: string | null;
9564
+ updated_at: string;
9565
+ warnings: import("../integrations/supabase/types").Json;
9566
+ };
9567
+ Insert: {
9568
+ announced_at?: string;
9569
+ assigned_user_id?: string | null;
9570
+ barcode?: string | null;
9571
+ cancelled_at?: string | null;
9572
+ cart_count?: number;
9573
+ completed_at?: string | null;
9574
+ country_code?: string | null;
9575
+ created_at?: string;
9576
+ customer_name?: string | null;
9577
+ delivery_address?: string | null;
9578
+ document_number?: string | null;
9579
+ document_type_id?: string | null;
9580
+ due_at?: string | null;
9581
+ id?: string;
9582
+ is_urgent?: boolean;
9583
+ line_count?: number;
9584
+ order_number?: string | null;
9585
+ order_type?: string | null;
9586
+ payload?: import("../integrations/supabase/types").Json;
9587
+ print_count?: number;
9588
+ printed_at?: string | null;
9589
+ printed_by?: string | null;
9590
+ printer_id?: string | null;
9591
+ priority?: number;
9592
+ reference?: string | null;
9593
+ route?: string | null;
9594
+ screen_id?: string | null;
9595
+ station_id?: string | null;
9596
+ status_id?: string | null;
9597
+ updated_at?: string;
9598
+ warnings?: import("../integrations/supabase/types").Json;
9599
+ };
9600
+ Update: {
9601
+ announced_at?: string;
9602
+ assigned_user_id?: string | null;
9603
+ barcode?: string | null;
9604
+ cancelled_at?: string | null;
9605
+ cart_count?: number;
9606
+ completed_at?: string | null;
9607
+ country_code?: string | null;
9608
+ created_at?: string;
9609
+ customer_name?: string | null;
9610
+ delivery_address?: string | null;
9611
+ document_number?: string | null;
9612
+ document_type_id?: string | null;
9613
+ due_at?: string | null;
9614
+ id?: string;
9615
+ is_urgent?: boolean;
9616
+ line_count?: number;
9617
+ order_number?: string | null;
9618
+ order_type?: string | null;
9619
+ payload?: import("../integrations/supabase/types").Json;
9620
+ print_count?: number;
9621
+ printed_at?: string | null;
9622
+ printed_by?: string | null;
9623
+ printer_id?: string | null;
9624
+ priority?: number;
9625
+ reference?: string | null;
9626
+ route?: string | null;
9627
+ screen_id?: string | null;
9628
+ station_id?: string | null;
9629
+ status_id?: string | null;
9630
+ updated_at?: string;
9631
+ warnings?: import("../integrations/supabase/types").Json;
9632
+ };
9633
+ Relationships: [{
9634
+ foreignKeyName: "pick_queue_document_type_id_fkey";
9635
+ columns: ["document_type_id"];
9636
+ isOneToOne: false;
9637
+ referencedRelation: "pick_document_types";
9638
+ referencedColumns: ["id"];
9639
+ }, {
9640
+ foreignKeyName: "pick_queue_printer_id_fkey";
9641
+ columns: ["printer_id"];
9642
+ isOneToOne: false;
9643
+ referencedRelation: "pick_station_printers";
9644
+ referencedColumns: ["id"];
9645
+ }, {
9646
+ foreignKeyName: "pick_queue_screen_id_fkey";
9647
+ columns: ["screen_id"];
9648
+ isOneToOne: false;
9649
+ referencedRelation: "pick_station_screens";
9650
+ referencedColumns: ["id"];
9651
+ }, {
9652
+ foreignKeyName: "pick_queue_station_id_fkey";
9653
+ columns: ["station_id"];
9654
+ isOneToOne: false;
9655
+ referencedRelation: "pick_stations";
9656
+ referencedColumns: ["id"];
9657
+ }, {
9658
+ foreignKeyName: "pick_queue_status_id_fkey";
9659
+ columns: ["status_id"];
9660
+ isOneToOne: false;
9661
+ referencedRelation: "pick_document_statuses";
9662
+ referencedColumns: ["id"];
9663
+ }];
9664
+ };
9665
+ pick_queue_locks: {
9666
+ Row: {
9667
+ expires_at: string;
9668
+ id: string;
9669
+ locked_at: string;
9670
+ locked_by: string | null;
9671
+ queue_item_id: string;
9672
+ screen_id: string | null;
9673
+ session_id: string | null;
9674
+ station_id: string | null;
9675
+ };
9676
+ Insert: {
9677
+ expires_at?: string;
9678
+ id?: string;
9679
+ locked_at?: string;
9680
+ locked_by?: string | null;
9681
+ queue_item_id: string;
9682
+ screen_id?: string | null;
9683
+ session_id?: string | null;
9684
+ station_id?: string | null;
9685
+ };
9686
+ Update: {
9687
+ expires_at?: string;
9688
+ id?: string;
9689
+ locked_at?: string;
9690
+ locked_by?: string | null;
9691
+ queue_item_id?: string;
9692
+ screen_id?: string | null;
9693
+ session_id?: string | null;
9694
+ station_id?: string | null;
9695
+ };
9696
+ Relationships: [{
9697
+ foreignKeyName: "pick_queue_locks_queue_item_id_fkey";
9698
+ columns: ["queue_item_id"];
9699
+ isOneToOne: true;
9700
+ referencedRelation: "pick_queue";
9701
+ referencedColumns: ["id"];
9702
+ }, {
9703
+ foreignKeyName: "pick_queue_locks_screen_id_fkey";
9704
+ columns: ["screen_id"];
9705
+ isOneToOne: false;
9706
+ referencedRelation: "pick_station_screens";
9707
+ referencedColumns: ["id"];
9708
+ }, {
9709
+ foreignKeyName: "pick_queue_locks_station_id_fkey";
9710
+ columns: ["station_id"];
9711
+ isOneToOne: false;
9712
+ referencedRelation: "pick_stations";
9713
+ referencedColumns: ["id"];
9714
+ }];
9715
+ };
9716
+ pick_screen_document_types: {
9717
+ Row: {
9718
+ created_at: string;
9719
+ document_type_id: string;
9720
+ id: string;
9721
+ print_order: number;
9722
+ printer_id: string | null;
9723
+ screen_id: string;
9724
+ };
9725
+ Insert: {
9726
+ created_at?: string;
9727
+ document_type_id: string;
9728
+ id?: string;
9729
+ print_order?: number;
9730
+ printer_id?: string | null;
9731
+ screen_id: string;
9732
+ };
9733
+ Update: {
9734
+ created_at?: string;
9735
+ document_type_id?: string;
9736
+ id?: string;
9737
+ print_order?: number;
9738
+ printer_id?: string | null;
9739
+ screen_id?: string;
9740
+ };
9741
+ Relationships: [{
9742
+ foreignKeyName: "pick_screen_document_types_document_type_id_fkey";
9743
+ columns: ["document_type_id"];
9744
+ isOneToOne: false;
9745
+ referencedRelation: "pick_document_types";
9746
+ referencedColumns: ["id"];
9747
+ }, {
9748
+ foreignKeyName: "pick_screen_document_types_printer_id_fkey";
9749
+ columns: ["printer_id"];
9750
+ isOneToOne: false;
9751
+ referencedRelation: "pick_station_printers";
9752
+ referencedColumns: ["id"];
9753
+ }, {
9754
+ foreignKeyName: "pick_screen_document_types_screen_id_fkey";
9755
+ columns: ["screen_id"];
9756
+ isOneToOne: false;
9757
+ referencedRelation: "pick_station_screens";
9758
+ referencedColumns: ["id"];
9759
+ }];
9760
+ };
9761
+ pick_station_heartbeats: {
9762
+ Row: {
9763
+ browser: string | null;
9764
+ created_at: string;
9765
+ id: string;
9766
+ ip_address: string | null;
9767
+ last_seen_at: string;
9768
+ screen_id: string | null;
9769
+ session_id: string;
9770
+ station_id: string;
9771
+ user_id: string | null;
9772
+ };
9773
+ Insert: {
9774
+ browser?: string | null;
9775
+ created_at?: string;
9776
+ id?: string;
9777
+ ip_address?: string | null;
9778
+ last_seen_at?: string;
9779
+ screen_id?: string | null;
9780
+ session_id: string;
9781
+ station_id: string;
9782
+ user_id?: string | null;
9783
+ };
9784
+ Update: {
9785
+ browser?: string | null;
9786
+ created_at?: string;
9787
+ id?: string;
9788
+ ip_address?: string | null;
9789
+ last_seen_at?: string;
9790
+ screen_id?: string | null;
9791
+ session_id?: string;
9792
+ station_id?: string;
9793
+ user_id?: string | null;
9794
+ };
9795
+ Relationships: [{
9796
+ foreignKeyName: "pick_station_heartbeats_screen_id_fkey";
9797
+ columns: ["screen_id"];
9798
+ isOneToOne: false;
9799
+ referencedRelation: "pick_station_screens";
9800
+ referencedColumns: ["id"];
9801
+ }, {
9802
+ foreignKeyName: "pick_station_heartbeats_station_id_fkey";
9803
+ columns: ["station_id"];
9804
+ isOneToOne: false;
9805
+ referencedRelation: "pick_stations";
9806
+ referencedColumns: ["id"];
9807
+ }];
9808
+ };
9809
+ pick_station_history: {
9810
+ Row: {
9811
+ action: string;
9812
+ changed_by: string | null;
9813
+ created_at: string;
9814
+ entity_id: string;
9815
+ entity_table: string;
9816
+ id: string;
9817
+ new_data: import("../integrations/supabase/types").Json | null;
9818
+ old_data: import("../integrations/supabase/types").Json | null;
9819
+ };
9820
+ Insert: {
9821
+ action: string;
9822
+ changed_by?: string | null;
9823
+ created_at?: string;
9824
+ entity_id: string;
9825
+ entity_table: string;
9826
+ id?: string;
9827
+ new_data?: import("../integrations/supabase/types").Json | null;
9828
+ old_data?: import("../integrations/supabase/types").Json | null;
9829
+ };
9830
+ Update: {
9831
+ action?: string;
9832
+ changed_by?: string | null;
9833
+ created_at?: string;
9834
+ entity_id?: string;
9835
+ entity_table?: string;
9836
+ id?: string;
9837
+ new_data?: import("../integrations/supabase/types").Json | null;
9838
+ old_data?: import("../integrations/supabase/types").Json | null;
9839
+ };
9840
+ Relationships: [];
9841
+ };
9842
+ pick_station_logs: {
9843
+ Row: {
9844
+ action: string;
9845
+ browser: string | null;
9846
+ created_at: string;
9847
+ detail: import("../integrations/supabase/types").Json;
9848
+ duration_ms: number | null;
9849
+ id: string;
9850
+ ip_address: string | null;
9851
+ printer_id: string | null;
9852
+ queue_item_id: string | null;
9853
+ screen_id: string | null;
9854
+ session_id: string | null;
9855
+ station_id: string | null;
9856
+ user_id: string | null;
9857
+ };
9858
+ Insert: {
9859
+ action: string;
9860
+ browser?: string | null;
9861
+ created_at?: string;
9862
+ detail?: import("../integrations/supabase/types").Json;
9863
+ duration_ms?: number | null;
9864
+ id?: string;
9865
+ ip_address?: string | null;
9866
+ printer_id?: string | null;
9867
+ queue_item_id?: string | null;
9868
+ screen_id?: string | null;
9869
+ session_id?: string | null;
9870
+ station_id?: string | null;
9871
+ user_id?: string | null;
9872
+ };
9873
+ Update: {
9874
+ action?: string;
9875
+ browser?: string | null;
9876
+ created_at?: string;
9877
+ detail?: import("../integrations/supabase/types").Json;
9878
+ duration_ms?: number | null;
9879
+ id?: string;
9880
+ ip_address?: string | null;
9881
+ printer_id?: string | null;
9882
+ queue_item_id?: string | null;
9883
+ screen_id?: string | null;
9884
+ session_id?: string | null;
9885
+ station_id?: string | null;
9886
+ user_id?: string | null;
9887
+ };
9888
+ Relationships: [];
9889
+ };
9890
+ pick_station_permissions: {
9891
+ Row: {
9892
+ can_break_lock: boolean;
9893
+ can_cancel: boolean;
9894
+ can_print: boolean;
9895
+ can_reprint: boolean;
9896
+ country_code: string | null;
9897
+ created_at: string;
9898
+ id: string;
9899
+ station_id: string | null;
9900
+ task_id: string | null;
9901
+ updated_at: string;
9902
+ urgent_only: boolean;
9903
+ user_id: string;
9904
+ };
9905
+ Insert: {
9906
+ can_break_lock?: boolean;
9907
+ can_cancel?: boolean;
9908
+ can_print?: boolean;
9909
+ can_reprint?: boolean;
9910
+ country_code?: string | null;
9911
+ created_at?: string;
9912
+ id?: string;
9913
+ station_id?: string | null;
9914
+ task_id?: string | null;
9915
+ updated_at?: string;
9916
+ urgent_only?: boolean;
9917
+ user_id: string;
9918
+ };
9919
+ Update: {
9920
+ can_break_lock?: boolean;
9921
+ can_cancel?: boolean;
9922
+ can_print?: boolean;
9923
+ can_reprint?: boolean;
9924
+ country_code?: string | null;
9925
+ created_at?: string;
9926
+ id?: string;
9927
+ station_id?: string | null;
9928
+ task_id?: string | null;
9929
+ updated_at?: string;
9930
+ urgent_only?: boolean;
9931
+ user_id?: string;
9932
+ };
9933
+ Relationships: [{
9934
+ foreignKeyName: "pick_station_permissions_station_id_fkey";
9935
+ columns: ["station_id"];
9936
+ isOneToOne: false;
9937
+ referencedRelation: "pick_stations";
9938
+ referencedColumns: ["id"];
9939
+ }, {
9940
+ foreignKeyName: "pick_station_permissions_task_id_fkey";
9941
+ columns: ["task_id"];
9942
+ isOneToOne: false;
9943
+ referencedRelation: "pick_station_tasks";
9944
+ referencedColumns: ["id"];
9945
+ }];
9946
+ };
9947
+ pick_station_printers: {
9948
+ Row: {
9949
+ active: boolean;
9950
+ code: string | null;
9951
+ config: import("../integrations/supabase/types").Json;
9952
+ connection: string | null;
9953
+ created_at: string;
9954
+ id: string;
9955
+ last_seen_at: string | null;
9956
+ location: string | null;
9957
+ name: string;
9958
+ status: string;
9959
+ status_message: string | null;
9960
+ target: string | null;
9961
+ updated_at: string;
9962
+ };
9963
+ Insert: {
9964
+ active?: boolean;
9965
+ code?: string | null;
9966
+ config?: import("../integrations/supabase/types").Json;
9967
+ connection?: string | null;
9968
+ created_at?: string;
9969
+ id?: string;
9970
+ last_seen_at?: string | null;
9971
+ location?: string | null;
9972
+ name: string;
9973
+ status?: string;
9974
+ status_message?: string | null;
9975
+ target?: string | null;
9976
+ updated_at?: string;
9977
+ };
9978
+ Update: {
9979
+ active?: boolean;
9980
+ code?: string | null;
9981
+ config?: import("../integrations/supabase/types").Json;
9982
+ connection?: string | null;
9983
+ created_at?: string;
9984
+ id?: string;
9985
+ last_seen_at?: string | null;
9986
+ location?: string | null;
9987
+ name?: string;
9988
+ status?: string;
9989
+ status_message?: string | null;
9990
+ target?: string | null;
9991
+ updated_at?: string;
9992
+ };
9993
+ Relationships: [];
9994
+ };
9995
+ pick_station_screens: {
9996
+ Row: {
9997
+ active: boolean;
9998
+ config: import("../integrations/supabase/types").Json;
9999
+ created_at: string;
10000
+ description: string | null;
10001
+ filters: import("../integrations/supabase/types").Json;
10002
+ id: string;
10003
+ name: string;
10004
+ printer_id: string | null;
10005
+ screen_type: string;
10006
+ sort_order: number;
10007
+ sort_rules: import("../integrations/supabase/types").Json | null;
10008
+ station_id: string;
10009
+ updated_at: string;
10010
+ };
10011
+ Insert: {
10012
+ active?: boolean;
10013
+ config?: import("../integrations/supabase/types").Json;
10014
+ created_at?: string;
10015
+ description?: string | null;
10016
+ filters?: import("../integrations/supabase/types").Json;
10017
+ id?: string;
10018
+ name: string;
10019
+ printer_id?: string | null;
10020
+ screen_type?: string;
10021
+ sort_order?: number;
10022
+ sort_rules?: import("../integrations/supabase/types").Json | null;
10023
+ station_id: string;
10024
+ updated_at?: string;
10025
+ };
10026
+ Update: {
10027
+ active?: boolean;
10028
+ config?: import("../integrations/supabase/types").Json;
10029
+ created_at?: string;
10030
+ description?: string | null;
10031
+ filters?: import("../integrations/supabase/types").Json;
10032
+ id?: string;
10033
+ name?: string;
10034
+ printer_id?: string | null;
10035
+ screen_type?: string;
10036
+ sort_order?: number;
10037
+ sort_rules?: import("../integrations/supabase/types").Json | null;
10038
+ station_id?: string;
10039
+ updated_at?: string;
10040
+ };
10041
+ Relationships: [{
10042
+ foreignKeyName: "pick_station_screens_printer_id_fkey";
10043
+ columns: ["printer_id"];
10044
+ isOneToOne: false;
10045
+ referencedRelation: "pick_station_printers";
10046
+ referencedColumns: ["id"];
10047
+ }, {
10048
+ foreignKeyName: "pick_station_screens_station_id_fkey";
10049
+ columns: ["station_id"];
10050
+ isOneToOne: false;
10051
+ referencedRelation: "pick_stations";
10052
+ referencedColumns: ["id"];
10053
+ }];
10054
+ };
10055
+ pick_station_tasks: {
10056
+ Row: {
10057
+ active: boolean;
10058
+ code: string;
10059
+ color: string | null;
10060
+ created_at: string;
10061
+ description: string | null;
10062
+ icon: string | null;
10063
+ id: string;
10064
+ name: string;
10065
+ sort_order: number;
10066
+ updated_at: string;
10067
+ workflow: import("../integrations/supabase/types").Json;
10068
+ };
10069
+ Insert: {
10070
+ active?: boolean;
10071
+ code: string;
10072
+ color?: string | null;
10073
+ created_at?: string;
10074
+ description?: string | null;
10075
+ icon?: string | null;
10076
+ id?: string;
10077
+ name: string;
10078
+ sort_order?: number;
10079
+ updated_at?: string;
10080
+ workflow?: import("../integrations/supabase/types").Json;
10081
+ };
10082
+ Update: {
10083
+ active?: boolean;
10084
+ code?: string;
10085
+ color?: string | null;
10086
+ created_at?: string;
10087
+ description?: string | null;
10088
+ icon?: string | null;
10089
+ id?: string;
10090
+ name?: string;
10091
+ sort_order?: number;
10092
+ updated_at?: string;
10093
+ workflow?: import("../integrations/supabase/types").Json;
10094
+ };
10095
+ Relationships: [];
10096
+ };
10097
+ pick_station_types: {
10098
+ Row: {
10099
+ active: boolean;
10100
+ code: string;
10101
+ color: string | null;
10102
+ created_at: string;
10103
+ description: string | null;
10104
+ icon: string | null;
10105
+ id: string;
10106
+ name: string;
10107
+ sort_order: number;
10108
+ updated_at: string;
10109
+ };
10110
+ Insert: {
10111
+ active?: boolean;
10112
+ code: string;
10113
+ color?: string | null;
10114
+ created_at?: string;
10115
+ description?: string | null;
10116
+ icon?: string | null;
10117
+ id?: string;
10118
+ name: string;
10119
+ sort_order?: number;
10120
+ updated_at?: string;
10121
+ };
10122
+ Update: {
10123
+ active?: boolean;
10124
+ code?: string;
10125
+ color?: string | null;
10126
+ created_at?: string;
10127
+ description?: string | null;
10128
+ icon?: string | null;
10129
+ id?: string;
10130
+ name?: string;
10131
+ sort_order?: number;
10132
+ updated_at?: string;
10133
+ };
10134
+ Relationships: [];
10135
+ };
10136
+ pick_station_users: {
10137
+ Row: {
10138
+ active: boolean;
10139
+ created_at: string;
10140
+ id: string;
10141
+ station_id: string;
10142
+ user_id: string;
10143
+ };
10144
+ Insert: {
10145
+ active?: boolean;
10146
+ created_at?: string;
10147
+ id?: string;
10148
+ station_id: string;
10149
+ user_id: string;
10150
+ };
10151
+ Update: {
10152
+ active?: boolean;
10153
+ created_at?: string;
10154
+ id?: string;
10155
+ station_id?: string;
10156
+ user_id?: string;
10157
+ };
10158
+ Relationships: [{
10159
+ foreignKeyName: "pick_station_users_station_id_fkey";
10160
+ columns: ["station_id"];
10161
+ isOneToOne: false;
10162
+ referencedRelation: "pick_stations";
10163
+ referencedColumns: ["id"];
10164
+ }];
10165
+ };
10166
+ pick_stations: {
10167
+ Row: {
10168
+ active: boolean;
10169
+ allow_multi_screen: boolean;
10170
+ color: string | null;
10171
+ created_at: string;
10172
+ default_printer_id: string | null;
10173
+ department: string | null;
10174
+ description: string | null;
10175
+ icon: string | null;
10176
+ id: string;
10177
+ location: string | null;
10178
+ lock_timeout_seconds: number;
10179
+ name: string;
10180
+ require_country_selection: boolean;
10181
+ sort_order: number;
10182
+ sort_rules: import("../integrations/supabase/types").Json;
10183
+ task_id: string | null;
10184
+ type_id: string | null;
10185
+ updated_at: string;
10186
+ };
10187
+ Insert: {
10188
+ active?: boolean;
10189
+ allow_multi_screen?: boolean;
10190
+ color?: string | null;
10191
+ created_at?: string;
10192
+ default_printer_id?: string | null;
10193
+ department?: string | null;
10194
+ description?: string | null;
10195
+ icon?: string | null;
10196
+ id?: string;
10197
+ location?: string | null;
10198
+ lock_timeout_seconds?: number;
10199
+ name: string;
10200
+ require_country_selection?: boolean;
10201
+ sort_order?: number;
10202
+ sort_rules?: import("../integrations/supabase/types").Json;
10203
+ task_id?: string | null;
10204
+ type_id?: string | null;
10205
+ updated_at?: string;
10206
+ };
10207
+ Update: {
10208
+ active?: boolean;
10209
+ allow_multi_screen?: boolean;
10210
+ color?: string | null;
10211
+ created_at?: string;
10212
+ default_printer_id?: string | null;
10213
+ department?: string | null;
10214
+ description?: string | null;
10215
+ icon?: string | null;
10216
+ id?: string;
10217
+ location?: string | null;
10218
+ lock_timeout_seconds?: number;
10219
+ name?: string;
10220
+ require_country_selection?: boolean;
10221
+ sort_order?: number;
10222
+ sort_rules?: import("../integrations/supabase/types").Json;
10223
+ task_id?: string | null;
10224
+ type_id?: string | null;
10225
+ updated_at?: string;
10226
+ };
10227
+ Relationships: [{
10228
+ foreignKeyName: "pick_stations_default_printer_id_fkey";
10229
+ columns: ["default_printer_id"];
10230
+ isOneToOne: false;
10231
+ referencedRelation: "pick_station_printers";
10232
+ referencedColumns: ["id"];
10233
+ }, {
10234
+ foreignKeyName: "pick_stations_task_id_fkey";
10235
+ columns: ["task_id"];
10236
+ isOneToOne: false;
10237
+ referencedRelation: "pick_station_tasks";
10238
+ referencedColumns: ["id"];
10239
+ }, {
10240
+ foreignKeyName: "pick_stations_type_id_fkey";
10241
+ columns: ["type_id"];
10242
+ isOneToOne: false;
10243
+ referencedRelation: "pick_station_types";
10244
+ referencedColumns: ["id"];
10245
+ }];
10246
+ };
10247
+ pick_task_document_types: {
10248
+ Row: {
10249
+ created_at: string;
10250
+ document_type_id: string;
10251
+ id: string;
10252
+ task_id: string;
10253
+ };
10254
+ Insert: {
10255
+ created_at?: string;
10256
+ document_type_id: string;
10257
+ id?: string;
10258
+ task_id: string;
10259
+ };
10260
+ Update: {
10261
+ created_at?: string;
10262
+ document_type_id?: string;
10263
+ id?: string;
10264
+ task_id?: string;
10265
+ };
10266
+ Relationships: [{
10267
+ foreignKeyName: "pick_task_document_types_document_type_id_fkey";
10268
+ columns: ["document_type_id"];
10269
+ isOneToOne: false;
10270
+ referencedRelation: "pick_document_types";
10271
+ referencedColumns: ["id"];
10272
+ }, {
10273
+ foreignKeyName: "pick_task_document_types_task_id_fkey";
10274
+ columns: ["task_id"];
10275
+ isOneToOne: false;
10276
+ referencedRelation: "pick_station_tasks";
10277
+ referencedColumns: ["id"];
10278
+ }];
10279
+ };
10280
+ pickstation_print_log: {
10281
+ Row: {
10282
+ customer_name: string | null;
10283
+ documents: string[];
10284
+ id: string;
10285
+ ip_address: string | null;
10286
+ order_id: string;
10287
+ order_number: string | null;
10288
+ printed_at: string;
10289
+ };
10290
+ Insert: {
10291
+ customer_name?: string | null;
10292
+ documents?: string[];
10293
+ id?: string;
10294
+ ip_address?: string | null;
10295
+ order_id: string;
10296
+ order_number?: string | null;
10297
+ printed_at?: string;
10298
+ };
10299
+ Update: {
10300
+ customer_name?: string | null;
10301
+ documents?: string[];
8634
10302
  id?: string;
8635
10303
  ip_address?: string | null;
8636
10304
  order_id?: string;
@@ -8685,88 +10353,403 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8685
10353
  updated_at?: string;
8686
10354
  };
8687
10355
  Update: {
8688
- automation_type?: string;
8689
- color?: string;
10356
+ automation_type?: string;
10357
+ color?: string;
10358
+ created_at?: string;
10359
+ id?: string;
10360
+ is_active?: boolean;
10361
+ name?: string;
10362
+ sort_order?: number;
10363
+ updated_at?: string;
10364
+ };
10365
+ Relationships: [];
10366
+ };
10367
+ planning_item_assistants: {
10368
+ Row: {
10369
+ created_at: string;
10370
+ created_by: string | null;
10371
+ monteur_id: string;
10372
+ planning_item_id: string;
10373
+ };
10374
+ Insert: {
10375
+ created_at?: string;
10376
+ created_by?: string | null;
10377
+ monteur_id: string;
10378
+ planning_item_id: string;
10379
+ };
10380
+ Update: {
10381
+ created_at?: string;
10382
+ created_by?: string | null;
10383
+ monteur_id?: string;
10384
+ planning_item_id?: string;
10385
+ };
10386
+ Relationships: [{
10387
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
10388
+ columns: ["planning_item_id"];
10389
+ isOneToOne: false;
10390
+ referencedRelation: "planning_items";
10391
+ referencedColumns: ["id"];
10392
+ }];
10393
+ };
10394
+ planning_items: {
10395
+ Row: {
10396
+ assigned_monteur_id: string;
10397
+ created_at: string;
10398
+ created_by: string | null;
10399
+ end_at: string;
10400
+ id: string;
10401
+ notes: string | null;
10402
+ start_at: string;
10403
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
10404
+ updated_at: string;
10405
+ werkbon_id: string;
10406
+ };
10407
+ Insert: {
10408
+ assigned_monteur_id: string;
10409
+ created_at?: string;
10410
+ created_by?: string | null;
10411
+ end_at: string;
10412
+ id?: string;
10413
+ notes?: string | null;
10414
+ start_at: string;
10415
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
10416
+ updated_at?: string;
10417
+ werkbon_id: string;
10418
+ };
10419
+ Update: {
10420
+ assigned_monteur_id?: string;
10421
+ created_at?: string;
10422
+ created_by?: string | null;
10423
+ end_at?: string;
10424
+ id?: string;
10425
+ notes?: string | null;
10426
+ start_at?: string;
10427
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
10428
+ updated_at?: string;
10429
+ werkbon_id?: string;
10430
+ };
10431
+ Relationships: [{
10432
+ foreignKeyName: "planning_items_werkbon_id_fkey";
10433
+ columns: ["werkbon_id"];
10434
+ isOneToOne: false;
10435
+ referencedRelation: "werkbonnen";
10436
+ referencedColumns: ["id"];
10437
+ }];
10438
+ };
10439
+ print_job_logs: {
10440
+ Row: {
10441
+ created_at: string;
10442
+ detail: string;
10443
+ gebeurtenis: string;
10444
+ id: string;
10445
+ job_id: string;
10446
+ };
10447
+ Insert: {
10448
+ created_at?: string;
10449
+ detail?: string;
10450
+ gebeurtenis: string;
10451
+ id?: string;
10452
+ job_id: string;
10453
+ };
10454
+ Update: {
10455
+ created_at?: string;
10456
+ detail?: string;
10457
+ gebeurtenis?: string;
10458
+ id?: string;
10459
+ job_id?: string;
10460
+ };
10461
+ Relationships: [{
10462
+ foreignKeyName: "print_job_logs_job_id_fkey";
10463
+ columns: ["job_id"];
10464
+ isOneToOne: false;
10465
+ referencedRelation: "print_jobs";
10466
+ referencedColumns: ["id"];
10467
+ }];
10468
+ };
10469
+ print_jobs: {
10470
+ Row: {
10471
+ bron_job_id: string | null;
10472
+ created_at: string;
10473
+ documentnaam: string;
10474
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
10475
+ foutmelding: string | null;
10476
+ gebruiker_id: string | null;
10477
+ gebruiker_naam: string;
10478
+ gestart_op: string | null;
10479
+ id: string;
10480
+ is_herprint: boolean;
10481
+ kopieen: number;
10482
+ layout_id: string | null;
10483
+ paginas: number;
10484
+ payload: import("../integrations/supabase/types").Json;
10485
+ printer_id: string | null;
10486
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
10487
+ updated_at: string;
10488
+ voltooid_op: string | null;
10489
+ };
10490
+ Insert: {
10491
+ bron_job_id?: string | null;
10492
+ created_at?: string;
10493
+ documentnaam?: string;
10494
+ documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
10495
+ foutmelding?: string | null;
10496
+ gebruiker_id?: string | null;
10497
+ gebruiker_naam?: string;
10498
+ gestart_op?: string | null;
10499
+ id?: string;
10500
+ is_herprint?: boolean;
10501
+ kopieen?: number;
10502
+ layout_id?: string | null;
10503
+ paginas?: number;
10504
+ payload?: import("../integrations/supabase/types").Json;
10505
+ printer_id?: string | null;
10506
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
10507
+ updated_at?: string;
10508
+ voltooid_op?: string | null;
10509
+ };
10510
+ Update: {
10511
+ bron_job_id?: string | null;
10512
+ created_at?: string;
10513
+ documentnaam?: string;
10514
+ documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
10515
+ foutmelding?: string | null;
10516
+ gebruiker_id?: string | null;
10517
+ gebruiker_naam?: string;
10518
+ gestart_op?: string | null;
10519
+ id?: string;
10520
+ is_herprint?: boolean;
10521
+ kopieen?: number;
10522
+ layout_id?: string | null;
10523
+ paginas?: number;
10524
+ payload?: import("../integrations/supabase/types").Json;
10525
+ printer_id?: string | null;
10526
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
10527
+ updated_at?: string;
10528
+ voltooid_op?: string | null;
10529
+ };
10530
+ Relationships: [{
10531
+ foreignKeyName: "print_jobs_layout_id_fkey";
10532
+ columns: ["layout_id"];
10533
+ isOneToOne: false;
10534
+ referencedRelation: "document_layouts";
10535
+ referencedColumns: ["id"];
10536
+ }, {
10537
+ foreignKeyName: "print_jobs_printer_id_fkey";
10538
+ columns: ["printer_id"];
10539
+ isOneToOne: false;
10540
+ referencedRelation: "printers";
10541
+ referencedColumns: ["id"];
10542
+ }];
10543
+ };
10544
+ print_rules: {
10545
+ Row: {
10546
+ actief: boolean;
10547
+ alleen_eerste_keer: boolean;
10548
+ conditie: import("../integrations/supabase/types").Json;
10549
+ created_at: string;
10550
+ id: string;
10551
+ kopieen: number;
10552
+ layout_id: string;
10553
+ naam: string;
10554
+ printer_id: string | null;
10555
+ updated_at: string;
10556
+ volgorde: number;
10557
+ };
10558
+ Insert: {
10559
+ actief?: boolean;
10560
+ alleen_eerste_keer?: boolean;
10561
+ conditie?: import("../integrations/supabase/types").Json;
10562
+ created_at?: string;
10563
+ id?: string;
10564
+ kopieen?: number;
10565
+ layout_id: string;
10566
+ naam?: string;
10567
+ printer_id?: string | null;
10568
+ updated_at?: string;
10569
+ volgorde?: number;
10570
+ };
10571
+ Update: {
10572
+ actief?: boolean;
10573
+ alleen_eerste_keer?: boolean;
10574
+ conditie?: import("../integrations/supabase/types").Json;
10575
+ created_at?: string;
10576
+ id?: string;
10577
+ kopieen?: number;
10578
+ layout_id?: string;
10579
+ naam?: string;
10580
+ printer_id?: string | null;
10581
+ updated_at?: string;
10582
+ volgorde?: number;
10583
+ };
10584
+ Relationships: [{
10585
+ foreignKeyName: "print_rules_layout_id_fkey";
10586
+ columns: ["layout_id"];
10587
+ isOneToOne: false;
10588
+ referencedRelation: "document_layouts";
10589
+ referencedColumns: ["id"];
10590
+ }, {
10591
+ foreignKeyName: "print_rules_printer_id_fkey";
10592
+ columns: ["printer_id"];
10593
+ isOneToOne: false;
10594
+ referencedRelation: "printers";
10595
+ referencedColumns: ["id"];
10596
+ }];
10597
+ };
10598
+ printer_mappings: {
10599
+ Row: {
10600
+ created_at: string;
10601
+ id: string;
10602
+ layout_id: string;
10603
+ printer_id: string;
10604
+ prioriteit: number;
10605
+ updated_at: string;
10606
+ };
10607
+ Insert: {
10608
+ created_at?: string;
10609
+ id?: string;
10610
+ layout_id: string;
10611
+ printer_id: string;
10612
+ prioriteit?: number;
10613
+ updated_at?: string;
10614
+ };
10615
+ Update: {
8690
10616
  created_at?: string;
8691
10617
  id?: string;
8692
- is_active?: boolean;
8693
- name?: string;
8694
- sort_order?: number;
10618
+ layout_id?: string;
10619
+ printer_id?: string;
10620
+ prioriteit?: number;
8695
10621
  updated_at?: string;
8696
10622
  };
8697
- Relationships: [];
10623
+ Relationships: [{
10624
+ foreignKeyName: "printer_mappings_layout_id_fkey";
10625
+ columns: ["layout_id"];
10626
+ isOneToOne: false;
10627
+ referencedRelation: "document_layouts";
10628
+ referencedColumns: ["id"];
10629
+ }, {
10630
+ foreignKeyName: "printer_mappings_printer_id_fkey";
10631
+ columns: ["printer_id"];
10632
+ isOneToOne: false;
10633
+ referencedRelation: "printers";
10634
+ referencedColumns: ["id"];
10635
+ }];
8698
10636
  };
8699
- planning_item_assistants: {
10637
+ printer_profiles: {
8700
10638
  Row: {
10639
+ auto_schalen: boolean;
8701
10640
  created_at: string;
8702
- created_by: string | null;
8703
- monteur_id: string;
8704
- planning_item_id: string;
10641
+ duplex: boolean;
10642
+ id: string;
10643
+ is_standaard: boolean;
10644
+ kleur: boolean;
10645
+ kopieen: number;
10646
+ label_gap: number;
10647
+ naam: string;
10648
+ orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
10649
+ papierlade: string;
10650
+ printer_id: string;
10651
+ resolutie: number;
10652
+ snijden: boolean;
10653
+ updated_at: string;
8705
10654
  };
8706
10655
  Insert: {
10656
+ auto_schalen?: boolean;
8707
10657
  created_at?: string;
8708
- created_by?: string | null;
8709
- monteur_id: string;
8710
- planning_item_id: string;
10658
+ duplex?: boolean;
10659
+ id?: string;
10660
+ is_standaard?: boolean;
10661
+ kleur?: boolean;
10662
+ kopieen?: number;
10663
+ label_gap?: number;
10664
+ naam?: string;
10665
+ orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
10666
+ papierlade?: string;
10667
+ printer_id: string;
10668
+ resolutie?: number;
10669
+ snijden?: boolean;
10670
+ updated_at?: string;
8711
10671
  };
8712
10672
  Update: {
10673
+ auto_schalen?: boolean;
8713
10674
  created_at?: string;
8714
- created_by?: string | null;
8715
- monteur_id?: string;
8716
- planning_item_id?: string;
10675
+ duplex?: boolean;
10676
+ id?: string;
10677
+ is_standaard?: boolean;
10678
+ kleur?: boolean;
10679
+ kopieen?: number;
10680
+ label_gap?: number;
10681
+ naam?: string;
10682
+ orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
10683
+ papierlade?: string;
10684
+ printer_id?: string;
10685
+ resolutie?: number;
10686
+ snijden?: boolean;
10687
+ updated_at?: string;
8717
10688
  };
8718
10689
  Relationships: [{
8719
- foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
8720
- columns: ["planning_item_id"];
10690
+ foreignKeyName: "printer_profiles_printer_id_fkey";
10691
+ columns: ["printer_id"];
8721
10692
  isOneToOne: false;
8722
- referencedRelation: "planning_items";
10693
+ referencedRelation: "printers";
8723
10694
  referencedColumns: ["id"];
8724
10695
  }];
8725
10696
  };
8726
- planning_items: {
10697
+ printers: {
8727
10698
  Row: {
8728
- assigned_monteur_id: string;
10699
+ actief: boolean;
8729
10700
  created_at: string;
8730
- created_by: string | null;
8731
- end_at: string;
10701
+ driver: string;
8732
10702
  id: string;
8733
- notes: string | null;
8734
- start_at: string;
8735
- status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
10703
+ ip_adres: string | null;
10704
+ laatst_gezien: string | null;
10705
+ locatie: string;
10706
+ merk: string;
10707
+ naam: string;
10708
+ omschrijving: string;
10709
+ online: boolean;
10710
+ papierformaat: string;
10711
+ poort: number | null;
10712
+ soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
8736
10713
  updated_at: string;
8737
- werkbon_id: string;
10714
+ verbinding: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_connection"];
8738
10715
  };
8739
10716
  Insert: {
8740
- assigned_monteur_id: string;
10717
+ actief?: boolean;
8741
10718
  created_at?: string;
8742
- created_by?: string | null;
8743
- end_at: string;
10719
+ driver?: string;
8744
10720
  id?: string;
8745
- notes?: string | null;
8746
- start_at: string;
8747
- status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
10721
+ ip_adres?: string | null;
10722
+ laatst_gezien?: string | null;
10723
+ locatie?: string;
10724
+ merk?: string;
10725
+ naam: string;
10726
+ omschrijving?: string;
10727
+ online?: boolean;
10728
+ papierformaat?: string;
10729
+ poort?: number | null;
10730
+ soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
8748
10731
  updated_at?: string;
8749
- werkbon_id: string;
10732
+ verbinding?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_connection"];
8750
10733
  };
8751
10734
  Update: {
8752
- assigned_monteur_id?: string;
10735
+ actief?: boolean;
8753
10736
  created_at?: string;
8754
- created_by?: string | null;
8755
- end_at?: string;
10737
+ driver?: string;
8756
10738
  id?: string;
8757
- notes?: string | null;
8758
- start_at?: string;
8759
- status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
10739
+ ip_adres?: string | null;
10740
+ laatst_gezien?: string | null;
10741
+ locatie?: string;
10742
+ merk?: string;
10743
+ naam?: string;
10744
+ omschrijving?: string;
10745
+ online?: boolean;
10746
+ papierformaat?: string;
10747
+ poort?: number | null;
10748
+ soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
8760
10749
  updated_at?: string;
8761
- werkbon_id?: string;
10750
+ verbinding?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_connection"];
8762
10751
  };
8763
- Relationships: [{
8764
- foreignKeyName: "planning_items_werkbon_id_fkey";
8765
- columns: ["werkbon_id"];
8766
- isOneToOne: false;
8767
- referencedRelation: "werkbonnen";
8768
- referencedColumns: ["id"];
8769
- }];
10752
+ Relationships: [];
8770
10753
  };
8771
10754
  product_bom_items: {
8772
10755
  Row: {
@@ -11276,6 +13259,27 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11276
13259
  };
11277
13260
  Relationships: [];
11278
13261
  };
13262
+ twinfield_revoked_accounts: {
13263
+ Row: {
13264
+ account_key: string;
13265
+ last_revoke_error: string | null;
13266
+ revoked_at: string;
13267
+ user_id: string;
13268
+ };
13269
+ Insert: {
13270
+ account_key: string;
13271
+ last_revoke_error?: string | null;
13272
+ revoked_at?: string;
13273
+ user_id: string;
13274
+ };
13275
+ Update: {
13276
+ account_key?: string;
13277
+ last_revoke_error?: string | null;
13278
+ revoked_at?: string;
13279
+ user_id?: string;
13280
+ };
13281
+ Relationships: [];
13282
+ };
11279
13283
  twinfield_session_cache: {
11280
13284
  Row: {
11281
13285
  cluster: string;
@@ -11378,6 +13382,48 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11378
13382
  referencedColumns: ["id"];
11379
13383
  }];
11380
13384
  };
13385
+ voorraad_custom_fields: {
13386
+ Row: {
13387
+ created_at: string;
13388
+ field_key: string;
13389
+ field_label: string;
13390
+ field_type: string;
13391
+ id: string;
13392
+ options: string[];
13393
+ show_in_columns: boolean;
13394
+ show_in_detail: boolean;
13395
+ show_in_template: boolean;
13396
+ sort_order: number;
13397
+ updated_at: string;
13398
+ };
13399
+ Insert: {
13400
+ created_at?: string;
13401
+ field_key: string;
13402
+ field_label: string;
13403
+ field_type?: string;
13404
+ id?: string;
13405
+ options?: string[];
13406
+ show_in_columns?: boolean;
13407
+ show_in_detail?: boolean;
13408
+ show_in_template?: boolean;
13409
+ sort_order?: number;
13410
+ updated_at?: string;
13411
+ };
13412
+ Update: {
13413
+ created_at?: string;
13414
+ field_key?: string;
13415
+ field_label?: string;
13416
+ field_type?: string;
13417
+ id?: string;
13418
+ options?: string[];
13419
+ show_in_columns?: boolean;
13420
+ show_in_detail?: boolean;
13421
+ show_in_template?: boolean;
13422
+ sort_order?: number;
13423
+ updated_at?: string;
13424
+ };
13425
+ Relationships: [];
13426
+ };
11381
13427
  voorraad_media_upload_failures: {
11382
13428
  Row: {
11383
13429
  action: string;
@@ -12035,6 +14081,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
12035
14081
  status: string | null;
12036
14082
  token_expires_at: string | null;
12037
14083
  updated_at: string | null;
14084
+ webhook_last_attempt_at: string | null;
14085
+ webhook_last_error: string | null;
14086
+ webhook_status: string | null;
12038
14087
  };
12039
14088
  Insert: {
12040
14089
  account_email?: string | null;
@@ -12069,6 +14118,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
12069
14118
  status?: string | null;
12070
14119
  token_expires_at?: string | null;
12071
14120
  updated_at?: string | null;
14121
+ webhook_last_attempt_at?: string | null;
14122
+ webhook_last_error?: string | null;
14123
+ webhook_status?: string | null;
12072
14124
  };
12073
14125
  Update: {
12074
14126
  account_email?: string | null;
@@ -12103,6 +14155,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
12103
14155
  status?: string | null;
12104
14156
  token_expires_at?: string | null;
12105
14157
  updated_at?: string | null;
14158
+ webhook_last_attempt_at?: string | null;
14159
+ webhook_last_error?: string | null;
14160
+ webhook_status?: string | null;
12106
14161
  };
12107
14162
  Relationships: [];
12108
14163
  };
@@ -12383,6 +14438,81 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
12383
14438
  referencedColumns: ["id"];
12384
14439
  }];
12385
14440
  };
14441
+ v_external_customers_local: {
14442
+ Row: {
14443
+ city: string | null;
14444
+ commercial_name: string | null;
14445
+ company_name: string | null;
14446
+ connection_id: string | null;
14447
+ contact_person: string | null;
14448
+ country: string | null;
14449
+ email: string | null;
14450
+ external_id: string | null;
14451
+ fetched_at: string | null;
14452
+ gln: string | null;
14453
+ house_number: string | null;
14454
+ is_active: boolean | null;
14455
+ is_deleted: boolean | null;
14456
+ logo_url: string | null;
14457
+ phone: string | null;
14458
+ postal_code: string | null;
14459
+ provider: string | null;
14460
+ raw: import("../integrations/supabase/types").Json | null;
14461
+ status: string | null;
14462
+ street: string | null;
14463
+ vat_number: string | null;
14464
+ website: string | null;
14465
+ };
14466
+ Insert: {
14467
+ city?: string | null;
14468
+ commercial_name?: string | null;
14469
+ company_name?: string | null;
14470
+ connection_id?: never;
14471
+ contact_person?: string | null;
14472
+ country?: string | null;
14473
+ email?: string | null;
14474
+ external_id?: never;
14475
+ fetched_at?: never;
14476
+ gln?: string | null;
14477
+ house_number?: string | null;
14478
+ is_active?: never;
14479
+ is_deleted?: never;
14480
+ logo_url?: string | null;
14481
+ phone?: string | null;
14482
+ postal_code?: string | null;
14483
+ provider?: never;
14484
+ raw?: never;
14485
+ status?: string | null;
14486
+ street?: string | null;
14487
+ vat_number?: string | null;
14488
+ website?: string | null;
14489
+ };
14490
+ Update: {
14491
+ city?: string | null;
14492
+ commercial_name?: string | null;
14493
+ company_name?: string | null;
14494
+ connection_id?: never;
14495
+ contact_person?: string | null;
14496
+ country?: string | null;
14497
+ email?: string | null;
14498
+ external_id?: never;
14499
+ fetched_at?: never;
14500
+ gln?: string | null;
14501
+ house_number?: string | null;
14502
+ is_active?: never;
14503
+ is_deleted?: never;
14504
+ logo_url?: string | null;
14505
+ phone?: string | null;
14506
+ postal_code?: string | null;
14507
+ provider?: never;
14508
+ raw?: never;
14509
+ status?: string | null;
14510
+ street?: string | null;
14511
+ vat_number?: string | null;
14512
+ website?: string | null;
14513
+ };
14514
+ Relationships: [];
14515
+ };
12386
14516
  v_external_customers_twinfield: {
12387
14517
  Row: {
12388
14518
  city: string | null;
@@ -13311,6 +15441,170 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13311
15441
  };
13312
15442
  Returns: string;
13313
15443
  };
15444
+ pick_claim_document: {
15445
+ Args: {
15446
+ _queue_item_id: string;
15447
+ _screen_id: string;
15448
+ _session_id: string;
15449
+ _station_id: string;
15450
+ _timeout_seconds?: number;
15451
+ };
15452
+ Returns: {
15453
+ announced_at: string;
15454
+ assigned_user_id: string | null;
15455
+ barcode: string | null;
15456
+ cancelled_at: string | null;
15457
+ cart_count: number;
15458
+ completed_at: string | null;
15459
+ country_code: string | null;
15460
+ created_at: string;
15461
+ customer_name: string | null;
15462
+ delivery_address: string | null;
15463
+ document_number: string | null;
15464
+ document_type_id: string | null;
15465
+ due_at: string | null;
15466
+ id: string;
15467
+ is_urgent: boolean;
15468
+ line_count: number;
15469
+ order_number: string | null;
15470
+ order_type: string | null;
15471
+ payload: import("../integrations/supabase/types").Json;
15472
+ print_count: number;
15473
+ printed_at: string | null;
15474
+ printed_by: string | null;
15475
+ printer_id: string | null;
15476
+ priority: number;
15477
+ reference: string | null;
15478
+ route: string | null;
15479
+ screen_id: string | null;
15480
+ station_id: string | null;
15481
+ status_id: string | null;
15482
+ updated_at: string;
15483
+ warnings: import("../integrations/supabase/types").Json;
15484
+ };
15485
+ SetofOptions: {
15486
+ from: "*";
15487
+ to: "pick_queue";
15488
+ isOneToOne: true;
15489
+ isSetofReturn: false;
15490
+ };
15491
+ };
15492
+ pick_claim_next_document: {
15493
+ Args: {
15494
+ _country_code: string;
15495
+ _screen_id: string;
15496
+ _session_id: string;
15497
+ _station_id: string;
15498
+ _timeout_seconds?: number;
15499
+ };
15500
+ Returns: {
15501
+ announced_at: string;
15502
+ assigned_user_id: string | null;
15503
+ barcode: string | null;
15504
+ cancelled_at: string | null;
15505
+ cart_count: number;
15506
+ completed_at: string | null;
15507
+ country_code: string | null;
15508
+ created_at: string;
15509
+ customer_name: string | null;
15510
+ delivery_address: string | null;
15511
+ document_number: string | null;
15512
+ document_type_id: string | null;
15513
+ due_at: string | null;
15514
+ id: string;
15515
+ is_urgent: boolean;
15516
+ line_count: number;
15517
+ order_number: string | null;
15518
+ order_type: string | null;
15519
+ payload: import("../integrations/supabase/types").Json;
15520
+ print_count: number;
15521
+ printed_at: string | null;
15522
+ printed_by: string | null;
15523
+ printer_id: string | null;
15524
+ priority: number;
15525
+ reference: string | null;
15526
+ route: string | null;
15527
+ screen_id: string | null;
15528
+ station_id: string | null;
15529
+ status_id: string | null;
15530
+ updated_at: string;
15531
+ warnings: import("../integrations/supabase/types").Json;
15532
+ };
15533
+ SetofOptions: {
15534
+ from: "*";
15535
+ to: "pick_queue";
15536
+ isOneToOne: true;
15537
+ isSetofReturn: false;
15538
+ };
15539
+ };
15540
+ pick_complete_print: {
15541
+ Args: {
15542
+ _printer_id: string;
15543
+ _queue_item_id: string;
15544
+ _session_id: string;
15545
+ };
15546
+ Returns: {
15547
+ announced_at: string;
15548
+ assigned_user_id: string | null;
15549
+ barcode: string | null;
15550
+ cancelled_at: string | null;
15551
+ cart_count: number;
15552
+ completed_at: string | null;
15553
+ country_code: string | null;
15554
+ created_at: string;
15555
+ customer_name: string | null;
15556
+ delivery_address: string | null;
15557
+ document_number: string | null;
15558
+ document_type_id: string | null;
15559
+ due_at: string | null;
15560
+ id: string;
15561
+ is_urgent: boolean;
15562
+ line_count: number;
15563
+ order_number: string | null;
15564
+ order_type: string | null;
15565
+ payload: import("../integrations/supabase/types").Json;
15566
+ print_count: number;
15567
+ printed_at: string | null;
15568
+ printed_by: string | null;
15569
+ printer_id: string | null;
15570
+ priority: number;
15571
+ reference: string | null;
15572
+ route: string | null;
15573
+ screen_id: string | null;
15574
+ station_id: string | null;
15575
+ status_id: string | null;
15576
+ updated_at: string;
15577
+ warnings: import("../integrations/supabase/types").Json;
15578
+ };
15579
+ SetofOptions: {
15580
+ from: "*";
15581
+ to: "pick_queue";
15582
+ isOneToOne: true;
15583
+ isSetofReturn: false;
15584
+ };
15585
+ };
15586
+ pick_release_expired_locks: {
15587
+ Args: never;
15588
+ Returns: number;
15589
+ };
15590
+ pick_release_lock: {
15591
+ Args: {
15592
+ _queue_item_id: string;
15593
+ };
15594
+ Returns: undefined;
15595
+ };
15596
+ pick_station_dashboard: {
15597
+ Args: never;
15598
+ Returns: {
15599
+ active: number;
15600
+ active_sessions: number;
15601
+ avg_wait_seconds: number;
15602
+ done_today: number;
15603
+ station_id: string;
15604
+ station_name: string;
15605
+ waiting: number;
15606
+ }[];
15607
+ };
13314
15608
  pickstation_get_orders_raw: {
13315
15609
  Args: never;
13316
15610
  Returns: import("../integrations/supabase/types").Json;
@@ -13412,6 +15706,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13412
15706
  };
13413
15707
  Returns: number;
13414
15708
  };
15709
+ release_debtor_lock: {
15710
+ Args: {
15711
+ _group_key: string;
15712
+ _user_id: string;
15713
+ };
15714
+ Returns: boolean;
15715
+ };
13415
15716
  reorder_customer_price_groups: {
13416
15717
  Args: {
13417
15718
  _ids: string[];
@@ -13791,6 +16092,20 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13791
16092
  };
13792
16093
  Returns: undefined;
13793
16094
  };
16095
+ try_debtor_lock: {
16096
+ Args: {
16097
+ _group_key: string;
16098
+ _user_id: string;
16099
+ };
16100
+ Returns: boolean;
16101
+ };
16102
+ twinfield_register_cron: {
16103
+ Args: {
16104
+ apikey: string;
16105
+ base_url: string;
16106
+ };
16107
+ Returns: import("../integrations/supabase/types").Json;
16108
+ };
13794
16109
  twinfield_upsert_connection_by_account_key: {
13795
16110
  Args: {
13796
16111
  p_account_key: string;
@@ -13817,12 +16132,18 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13817
16132
  };
13818
16133
  };
13819
16134
  Enums: {
16135
+ ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
13820
16136
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
16137
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
16138
+ doc_orientation: "portrait" | "landscape";
13821
16139
  exact_env: "staging" | "live";
13822
16140
  exact_push_status: "pending" | "sent" | "error";
13823
16141
  itk_customer_segment: "Business" | "Private";
13824
16142
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
13825
16143
  planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
16144
+ print_job_status: "wachtend" | "bezig" | "voltooid" | "mislukt" | "geannuleerd";
16145
+ printer_connection: "ipp" | "raw9100" | "printnode" | "cups" | "usb" | "windows" | "airprint" | "cloud";
16146
+ printer_kind: "labelprinter" | "laserprinter" | "inkjet" | "thermal" | "kantoorprinter" | "overig";
13826
16147
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
13827
16148
  };
13828
16149
  CompositeTypes: { [_ in never]: never; };