@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
@@ -394,6 +394,63 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
394
394
  };
395
395
  Relationships: [];
396
396
  };
397
+ ai_layout_imports: {
398
+ Row: {
399
+ analyse_json: import("./types").Json;
400
+ bestand_url: string | null;
401
+ bestandsnaam: string;
402
+ bevestigd: boolean;
403
+ created_at: string;
404
+ created_by: string | null;
405
+ foutmelding: string | null;
406
+ id: string;
407
+ layout_id: string | null;
408
+ mime_type: string;
409
+ onzekere_velden: import("./types").Json;
410
+ status: Database["public"]["Enums"]["ai_import_status"];
411
+ updated_at: string;
412
+ voorstel: import("./types").Json;
413
+ };
414
+ Insert: {
415
+ analyse_json?: import("./types").Json;
416
+ bestand_url?: string | null;
417
+ bestandsnaam?: string;
418
+ bevestigd?: boolean;
419
+ created_at?: string;
420
+ created_by?: string | null;
421
+ foutmelding?: string | null;
422
+ id?: string;
423
+ layout_id?: string | null;
424
+ mime_type?: string;
425
+ onzekere_velden?: import("./types").Json;
426
+ status?: Database["public"]["Enums"]["ai_import_status"];
427
+ updated_at?: string;
428
+ voorstel?: import("./types").Json;
429
+ };
430
+ Update: {
431
+ analyse_json?: import("./types").Json;
432
+ bestand_url?: string | null;
433
+ bestandsnaam?: string;
434
+ bevestigd?: boolean;
435
+ created_at?: string;
436
+ created_by?: string | null;
437
+ foutmelding?: string | null;
438
+ id?: string;
439
+ layout_id?: string | null;
440
+ mime_type?: string;
441
+ onzekere_velden?: import("./types").Json;
442
+ status?: Database["public"]["Enums"]["ai_import_status"];
443
+ updated_at?: string;
444
+ voorstel?: import("./types").Json;
445
+ };
446
+ Relationships: [{
447
+ foreignKeyName: "ai_layout_imports_layout_id_fkey";
448
+ columns: ["layout_id"];
449
+ isOneToOne: false;
450
+ referencedRelation: "document_layouts";
451
+ referencedColumns: ["id"];
452
+ }];
453
+ };
397
454
  ai_model_pricing: {
398
455
  Row: {
399
456
  created_at: string;
@@ -484,6 +541,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
484
541
  created_at: string;
485
542
  credential_id: string;
486
543
  id: string;
544
+ is_default: boolean;
545
+ label: string | null;
487
546
  model_id: string;
488
547
  notes: string | null;
489
548
  updated_at: string;
@@ -493,6 +552,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
493
552
  created_at?: string;
494
553
  credential_id: string;
495
554
  id?: string;
555
+ is_default?: boolean;
556
+ label?: string | null;
496
557
  model_id: string;
497
558
  notes?: string | null;
498
559
  updated_at?: string;
@@ -502,6 +563,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
502
563
  created_at?: string;
503
564
  credential_id?: string;
504
565
  id?: string;
566
+ is_default?: boolean;
567
+ label?: string | null;
505
568
  model_id?: string;
506
569
  notes?: string | null;
507
570
  updated_at?: string;
@@ -520,6 +583,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
520
583
  referencedColumns: ["id"];
521
584
  }];
522
585
  };
586
+ ai_modules: {
587
+ Row: {
588
+ ai_enabled: boolean;
589
+ created_at: string;
590
+ id: string;
591
+ module_key: string;
592
+ module_name: string;
593
+ updated_at: string;
594
+ };
595
+ Insert: {
596
+ ai_enabled?: boolean;
597
+ created_at?: string;
598
+ id?: string;
599
+ module_key: string;
600
+ module_name: string;
601
+ updated_at?: string;
602
+ };
603
+ Update: {
604
+ ai_enabled?: boolean;
605
+ created_at?: string;
606
+ id?: string;
607
+ module_key?: string;
608
+ module_name?: string;
609
+ updated_at?: string;
610
+ };
611
+ Relationships: [{
612
+ foreignKeyName: "ai_modules_module_key_fkey";
613
+ columns: ["module_key"];
614
+ isOneToOne: true;
615
+ referencedRelation: "modules";
616
+ referencedColumns: ["module_key"];
617
+ }];
618
+ };
523
619
  ai_providers: {
524
620
  Row: {
525
621
  active: boolean;
@@ -2449,6 +2545,351 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2449
2545
  };
2450
2546
  Relationships: [];
2451
2547
  };
2548
+ document_formaat_printers: {
2549
+ Row: {
2550
+ created_at: string;
2551
+ documenttype: string;
2552
+ formaat_code: string;
2553
+ id: string;
2554
+ printer_id: string | null;
2555
+ updated_at: string;
2556
+ };
2557
+ Insert: {
2558
+ created_at?: string;
2559
+ documenttype: string;
2560
+ formaat_code: string;
2561
+ id?: string;
2562
+ printer_id?: string | null;
2563
+ updated_at?: string;
2564
+ };
2565
+ Update: {
2566
+ created_at?: string;
2567
+ documenttype?: string;
2568
+ formaat_code?: string;
2569
+ id?: string;
2570
+ printer_id?: string | null;
2571
+ updated_at?: string;
2572
+ };
2573
+ Relationships: [{
2574
+ foreignKeyName: "document_formaat_printers_printer_id_fkey";
2575
+ columns: ["printer_id"];
2576
+ isOneToOne: false;
2577
+ referencedRelation: "printers";
2578
+ referencedColumns: ["id"];
2579
+ }];
2580
+ };
2581
+ document_layout_conditions: {
2582
+ Row: {
2583
+ created_at: string;
2584
+ element_key: string;
2585
+ id: string;
2586
+ layout_id: string;
2587
+ operator: string;
2588
+ updated_at: string;
2589
+ veld: string;
2590
+ waarde: string;
2591
+ };
2592
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
2613
+ foreignKeyName: "document_layout_conditions_layout_id_fkey";
2614
+ columns: ["layout_id"];
2615
+ isOneToOne: false;
2616
+ referencedRelation: "document_layouts";
2617
+ referencedColumns: ["id"];
2618
+ }];
2619
+ };
2620
+ document_layout_datasources: {
2621
+ Row: {
2622
+ alias: string;
2623
+ created_at: string;
2624
+ entiteit: string;
2625
+ filter: import("./types").Json;
2626
+ id: string;
2627
+ layout_id: string;
2628
+ module_id: string;
2629
+ updated_at: string;
2630
+ };
2631
+ Insert: {
2632
+ alias?: string;
2633
+ created_at?: string;
2634
+ entiteit: string;
2635
+ filter?: import("./types").Json;
2636
+ id?: string;
2637
+ layout_id: string;
2638
+ module_id: string;
2639
+ updated_at?: string;
2640
+ };
2641
+ Update: {
2642
+ alias?: string;
2643
+ created_at?: string;
2644
+ entiteit?: string;
2645
+ filter?: import("./types").Json;
2646
+ id?: string;
2647
+ layout_id?: string;
2648
+ module_id?: string;
2649
+ updated_at?: string;
2650
+ };
2651
+ Relationships: [{
2652
+ foreignKeyName: "document_layout_datasources_layout_id_fkey";
2653
+ columns: ["layout_id"];
2654
+ isOneToOne: false;
2655
+ referencedRelation: "document_layouts";
2656
+ referencedColumns: ["id"];
2657
+ }];
2658
+ };
2659
+ document_layout_elements: {
2660
+ Row: {
2661
+ breedte: number;
2662
+ config: import("./types").Json;
2663
+ content: string;
2664
+ created_at: string;
2665
+ element_key: string;
2666
+ hoogte: number;
2667
+ id: string;
2668
+ layout_id: string;
2669
+ logo_id: string | null;
2670
+ parent_key: string | null;
2671
+ rotatie: number;
2672
+ stijl: import("./types").Json;
2673
+ type: string;
2674
+ updated_at: string;
2675
+ veldpad: string | null;
2676
+ verborgen: boolean;
2677
+ vergrendeld: boolean;
2678
+ volgorde: number;
2679
+ x: number;
2680
+ y: number;
2681
+ z_index: number;
2682
+ };
2683
+ Insert: {
2684
+ breedte?: number;
2685
+ config?: import("./types").Json;
2686
+ content?: string;
2687
+ created_at?: string;
2688
+ element_key: string;
2689
+ hoogte?: number;
2690
+ id?: string;
2691
+ layout_id: string;
2692
+ logo_id?: string | null;
2693
+ parent_key?: string | null;
2694
+ rotatie?: number;
2695
+ stijl?: import("./types").Json;
2696
+ type: string;
2697
+ updated_at?: string;
2698
+ veldpad?: string | null;
2699
+ verborgen?: boolean;
2700
+ vergrendeld?: boolean;
2701
+ volgorde?: number;
2702
+ x?: number;
2703
+ y?: number;
2704
+ z_index?: number;
2705
+ };
2706
+ Update: {
2707
+ breedte?: number;
2708
+ config?: import("./types").Json;
2709
+ content?: string;
2710
+ created_at?: string;
2711
+ element_key?: string;
2712
+ hoogte?: number;
2713
+ id?: string;
2714
+ layout_id?: string;
2715
+ logo_id?: string | null;
2716
+ parent_key?: string | null;
2717
+ rotatie?: number;
2718
+ stijl?: import("./types").Json;
2719
+ type?: string;
2720
+ updated_at?: string;
2721
+ veldpad?: string | null;
2722
+ verborgen?: boolean;
2723
+ vergrendeld?: boolean;
2724
+ volgorde?: number;
2725
+ x?: number;
2726
+ y?: number;
2727
+ z_index?: number;
2728
+ };
2729
+ Relationships: [{
2730
+ foreignKeyName: "document_layout_elements_layout_id_fkey";
2731
+ columns: ["layout_id"];
2732
+ isOneToOne: false;
2733
+ referencedRelation: "document_layouts";
2734
+ referencedColumns: ["id"];
2735
+ }, {
2736
+ foreignKeyName: "document_layout_elements_logo_id_fkey";
2737
+ columns: ["logo_id"];
2738
+ isOneToOne: false;
2739
+ referencedRelation: "layout_logos";
2740
+ referencedColumns: ["id"];
2741
+ }];
2742
+ };
2743
+ document_layout_variables: {
2744
+ Row: {
2745
+ created_at: string;
2746
+ expressie: string;
2747
+ id: string;
2748
+ layout_id: string;
2749
+ naam: string;
2750
+ omschrijving: string;
2751
+ updated_at: string;
2752
+ };
2753
+ Insert: {
2754
+ created_at?: string;
2755
+ expressie?: string;
2756
+ id?: string;
2757
+ layout_id: string;
2758
+ naam: string;
2759
+ omschrijving?: string;
2760
+ updated_at?: string;
2761
+ };
2762
+ Update: {
2763
+ created_at?: string;
2764
+ expressie?: string;
2765
+ id?: string;
2766
+ layout_id?: string;
2767
+ naam?: string;
2768
+ omschrijving?: string;
2769
+ updated_at?: string;
2770
+ };
2771
+ Relationships: [{
2772
+ foreignKeyName: "document_layout_variables_layout_id_fkey";
2773
+ columns: ["layout_id"];
2774
+ isOneToOne: false;
2775
+ referencedRelation: "document_layouts";
2776
+ referencedColumns: ["id"];
2777
+ }];
2778
+ };
2779
+ document_layout_versions: {
2780
+ Row: {
2781
+ commentaar: string;
2782
+ created_at: string;
2783
+ created_by: string | null;
2784
+ elements: import("./types").Json;
2785
+ id: string;
2786
+ layout_id: string;
2787
+ page_settings: import("./types").Json;
2788
+ updated_at: string;
2789
+ versienummer: number;
2790
+ };
2791
+ Insert: {
2792
+ commentaar?: string;
2793
+ created_at?: string;
2794
+ created_by?: string | null;
2795
+ elements?: import("./types").Json;
2796
+ id?: string;
2797
+ layout_id: string;
2798
+ page_settings?: import("./types").Json;
2799
+ updated_at?: string;
2800
+ versienummer: number;
2801
+ };
2802
+ Update: {
2803
+ commentaar?: string;
2804
+ created_at?: string;
2805
+ created_by?: string | null;
2806
+ elements?: import("./types").Json;
2807
+ id?: string;
2808
+ layout_id?: string;
2809
+ page_settings?: import("./types").Json;
2810
+ updated_at?: string;
2811
+ versienummer?: number;
2812
+ };
2813
+ Relationships: [{
2814
+ foreignKeyName: "document_layout_versions_layout_id_fkey";
2815
+ columns: ["layout_id"];
2816
+ isOneToOne: false;
2817
+ referencedRelation: "document_layouts";
2818
+ referencedColumns: ["id"];
2819
+ }];
2820
+ };
2821
+ document_layouts: {
2822
+ Row: {
2823
+ actief: boolean;
2824
+ breedte_mm: number;
2825
+ config: import("./types").Json;
2826
+ created_at: string;
2827
+ created_by: string | null;
2828
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
2829
+ hoogte_mm: number;
2830
+ huidige_versie: number;
2831
+ id: string;
2832
+ is_standaard: boolean;
2833
+ marge_boven: number;
2834
+ marge_links: number;
2835
+ marge_onder: number;
2836
+ marge_rechts: number;
2837
+ naam: string;
2838
+ omschrijving: string;
2839
+ orientatie: Database["public"]["Enums"]["doc_orientation"];
2840
+ page_settings: import("./types").Json;
2841
+ papierformaat: string;
2842
+ thumbnail_url: string | null;
2843
+ updated_at: string;
2844
+ };
2845
+ Insert: {
2846
+ actief?: boolean;
2847
+ breedte_mm?: number;
2848
+ config?: import("./types").Json;
2849
+ created_at?: string;
2850
+ created_by?: string | null;
2851
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
2852
+ hoogte_mm?: number;
2853
+ huidige_versie?: number;
2854
+ id?: string;
2855
+ is_standaard?: boolean;
2856
+ marge_boven?: number;
2857
+ marge_links?: number;
2858
+ marge_onder?: number;
2859
+ marge_rechts?: number;
2860
+ naam: string;
2861
+ omschrijving?: string;
2862
+ orientatie?: Database["public"]["Enums"]["doc_orientation"];
2863
+ page_settings?: import("./types").Json;
2864
+ papierformaat?: string;
2865
+ thumbnail_url?: string | null;
2866
+ updated_at?: string;
2867
+ };
2868
+ Update: {
2869
+ actief?: boolean;
2870
+ breedte_mm?: number;
2871
+ config?: import("./types").Json;
2872
+ created_at?: string;
2873
+ created_by?: string | null;
2874
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
2875
+ hoogte_mm?: number;
2876
+ huidige_versie?: number;
2877
+ id?: string;
2878
+ is_standaard?: boolean;
2879
+ marge_boven?: number;
2880
+ marge_links?: number;
2881
+ marge_onder?: number;
2882
+ marge_rechts?: number;
2883
+ naam?: string;
2884
+ omschrijving?: string;
2885
+ orientatie?: Database["public"]["Enums"]["doc_orientation"];
2886
+ page_settings?: import("./types").Json;
2887
+ papierformaat?: string;
2888
+ thumbnail_url?: string | null;
2889
+ updated_at?: string;
2890
+ };
2891
+ Relationships: [];
2892
+ };
2452
2893
  email_auth_connections: {
2453
2894
  Row: {
2454
2895
  access_token_encrypted: string | null;
@@ -2488,6 +2929,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2488
2929
  status: string;
2489
2930
  token_expires_at: string | null;
2490
2931
  updated_at: string;
2932
+ watch_scope: string;
2933
+ webhook_last_attempt_at: string | null;
2934
+ webhook_last_error: string | null;
2935
+ webhook_status: string;
2491
2936
  };
2492
2937
  Insert: {
2493
2938
  access_token_encrypted?: string | null;
@@ -2527,6 +2972,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2527
2972
  status?: string;
2528
2973
  token_expires_at?: string | null;
2529
2974
  updated_at?: string;
2975
+ watch_scope?: string;
2976
+ webhook_last_attempt_at?: string | null;
2977
+ webhook_last_error?: string | null;
2978
+ webhook_status?: string;
2530
2979
  };
2531
2980
  Update: {
2532
2981
  access_token_encrypted?: string | null;
@@ -2566,6 +3015,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2566
3015
  status?: string;
2567
3016
  token_expires_at?: string | null;
2568
3017
  updated_at?: string;
3018
+ watch_scope?: string;
3019
+ webhook_last_attempt_at?: string | null;
3020
+ webhook_last_error?: string | null;
3021
+ webhook_status?: string;
2569
3022
  };
2570
3023
  Relationships: [];
2571
3024
  };
@@ -2761,44 +3214,164 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2761
3214
  referencedColumns: ["id"];
2762
3215
  }];
2763
3216
  };
2764
- exact_account_analytics_cache: {
3217
+ email_auth_watch_folders: {
2765
3218
  Row: {
2766
- account_id: string;
2767
- account_name: string | null;
2768
- avg_payment_days: number | null;
2769
- computed_at: string;
2770
3219
  connection_id: string;
2771
- expires_at: string | null;
3220
+ created_at: string;
3221
+ folder_id: string;
3222
+ folder_name: string | null;
3223
+ gmail_history_id: string | null;
3224
+ graph_subscription_expires_at: string | null;
3225
+ graph_subscription_id: string | null;
2772
3226
  id: string;
2773
- invoice_count: number | null;
2774
- last_invoice_date: string | null;
2775
- last_payment_date: string | null;
2776
- open_balance: number | null;
2777
- overdue_balance: number | null;
2778
- total_revenue: number | null;
3227
+ imap_last_uid: number | null;
3228
+ imap_uid_validity: number | null;
3229
+ mailbox: string;
3230
+ provider: string;
3231
+ updated_at: string;
3232
+ webhook_last_error: string | null;
3233
+ webhook_status: string | null;
2779
3234
  };
2780
3235
  Insert: {
2781
- account_id: string;
2782
- account_name?: string | null;
2783
- avg_payment_days?: number | null;
2784
- computed_at?: string;
2785
3236
  connection_id: string;
2786
- expires_at?: string | null;
3237
+ created_at?: string;
3238
+ folder_id: string;
3239
+ folder_name?: string | null;
3240
+ gmail_history_id?: string | null;
3241
+ graph_subscription_expires_at?: string | null;
3242
+ graph_subscription_id?: string | null;
2787
3243
  id?: string;
2788
- invoice_count?: number | null;
2789
- last_invoice_date?: string | null;
2790
- last_payment_date?: string | null;
2791
- open_balance?: number | null;
2792
- overdue_balance?: number | null;
2793
- total_revenue?: number | null;
3244
+ imap_last_uid?: number | null;
3245
+ imap_uid_validity?: number | null;
3246
+ mailbox?: string;
3247
+ provider: string;
3248
+ updated_at?: string;
3249
+ webhook_last_error?: string | null;
3250
+ webhook_status?: string | null;
2794
3251
  };
2795
3252
  Update: {
2796
- account_id?: string;
2797
- account_name?: string | null;
2798
- avg_payment_days?: number | null;
2799
- computed_at?: string;
2800
3253
  connection_id?: string;
2801
- expires_at?: string | null;
3254
+ created_at?: string;
3255
+ folder_id?: string;
3256
+ folder_name?: string | null;
3257
+ gmail_history_id?: string | null;
3258
+ graph_subscription_expires_at?: string | null;
3259
+ graph_subscription_id?: string | null;
3260
+ id?: string;
3261
+ imap_last_uid?: number | null;
3262
+ imap_uid_validity?: number | null;
3263
+ mailbox?: string;
3264
+ provider?: string;
3265
+ updated_at?: string;
3266
+ webhook_last_error?: string | null;
3267
+ webhook_status?: string | null;
3268
+ };
3269
+ Relationships: [{
3270
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3271
+ columns: ["connection_id"];
3272
+ isOneToOne: false;
3273
+ referencedRelation: "email_auth_connections";
3274
+ referencedColumns: ["id"];
3275
+ }, {
3276
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3277
+ columns: ["connection_id"];
3278
+ isOneToOne: false;
3279
+ referencedRelation: "email_auth_connections_safe";
3280
+ referencedColumns: ["id"];
3281
+ }];
3282
+ };
3283
+ email_auth_webhook_log: {
3284
+ Row: {
3285
+ body_sample: string | null;
3286
+ connection_id: string | null;
3287
+ created_at: string;
3288
+ error_message: string | null;
3289
+ headers_sample: import("./types").Json | null;
3290
+ id: string;
3291
+ notification_count: number | null;
3292
+ provider: string | null;
3293
+ source: string | null;
3294
+ status: string;
3295
+ subscription_id: string | null;
3296
+ };
3297
+ Insert: {
3298
+ body_sample?: string | null;
3299
+ connection_id?: string | null;
3300
+ created_at?: string;
3301
+ error_message?: string | null;
3302
+ headers_sample?: import("./types").Json | null;
3303
+ id?: string;
3304
+ notification_count?: number | null;
3305
+ provider?: string | null;
3306
+ source?: string | null;
3307
+ status: string;
3308
+ subscription_id?: string | null;
3309
+ };
3310
+ Update: {
3311
+ body_sample?: string | null;
3312
+ connection_id?: string | null;
3313
+ created_at?: string;
3314
+ error_message?: string | null;
3315
+ headers_sample?: import("./types").Json | null;
3316
+ id?: string;
3317
+ notification_count?: number | null;
3318
+ provider?: string | null;
3319
+ source?: string | null;
3320
+ status?: string;
3321
+ subscription_id?: string | null;
3322
+ };
3323
+ Relationships: [{
3324
+ foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
3325
+ columns: ["connection_id"];
3326
+ isOneToOne: false;
3327
+ referencedRelation: "email_auth_connections";
3328
+ referencedColumns: ["id"];
3329
+ }, {
3330
+ foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
3331
+ columns: ["connection_id"];
3332
+ isOneToOne: false;
3333
+ referencedRelation: "email_auth_connections_safe";
3334
+ referencedColumns: ["id"];
3335
+ }];
3336
+ };
3337
+ exact_account_analytics_cache: {
3338
+ Row: {
3339
+ account_id: string;
3340
+ account_name: string | null;
3341
+ avg_payment_days: number | null;
3342
+ computed_at: string;
3343
+ connection_id: string;
3344
+ expires_at: string | null;
3345
+ id: string;
3346
+ invoice_count: number | null;
3347
+ last_invoice_date: string | null;
3348
+ last_payment_date: string | null;
3349
+ open_balance: number | null;
3350
+ overdue_balance: number | null;
3351
+ total_revenue: number | null;
3352
+ };
3353
+ Insert: {
3354
+ account_id: string;
3355
+ account_name?: string | null;
3356
+ avg_payment_days?: number | null;
3357
+ computed_at?: string;
3358
+ connection_id: string;
3359
+ expires_at?: string | null;
3360
+ id?: string;
3361
+ invoice_count?: number | null;
3362
+ last_invoice_date?: string | null;
3363
+ last_payment_date?: string | null;
3364
+ open_balance?: number | null;
3365
+ overdue_balance?: number | null;
3366
+ total_revenue?: number | null;
3367
+ };
3368
+ Update: {
3369
+ account_id?: string;
3370
+ account_name?: string | null;
3371
+ avg_payment_days?: number | null;
3372
+ computed_at?: string;
3373
+ connection_id?: string;
3374
+ expires_at?: string | null;
2802
3375
  id?: string;
2803
3376
  invoice_count?: number | null;
2804
3377
  last_invoice_date?: string | null;
@@ -5974,6 +6547,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
5974
6547
  };
5975
6548
  Relationships: [];
5976
6549
  };
6550
+ invoice_post_idempotency: {
6551
+ Row: {
6552
+ client_request_id: string;
6553
+ completed_at: string | null;
6554
+ created_at: string;
6555
+ error_message: string | null;
6556
+ invoice_number: string | null;
6557
+ status: string;
6558
+ user_id: string;
6559
+ };
6560
+ Insert: {
6561
+ client_request_id: string;
6562
+ completed_at?: string | null;
6563
+ created_at?: string;
6564
+ error_message?: string | null;
6565
+ invoice_number?: string | null;
6566
+ status?: string;
6567
+ user_id: string;
6568
+ };
6569
+ Update: {
6570
+ client_request_id?: string;
6571
+ completed_at?: string | null;
6572
+ created_at?: string;
6573
+ error_message?: string | null;
6574
+ invoice_number?: string | null;
6575
+ status?: string;
6576
+ user_id?: string;
6577
+ };
6578
+ Relationships: [];
6579
+ };
5977
6580
  invoice_push_log: {
5978
6581
  Row: {
5979
6582
  connection_id: string | null;
@@ -6361,6 +6964,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
6361
6964
  referencedColumns: ["id"];
6362
6965
  }];
6363
6966
  };
6967
+ layout_logos: {
6968
+ Row: {
6969
+ bestand_url: string;
6970
+ bestandsgrootte: number;
6971
+ bestandspad: string | null;
6972
+ bestandstype: string;
6973
+ breedte: number;
6974
+ categorie: string;
6975
+ created_at: string;
6976
+ hash: string | null;
6977
+ hoogte: number;
6978
+ id: string;
6979
+ is_standaard: boolean;
6980
+ naam: string;
6981
+ omschrijving: string;
6982
+ transparant: boolean;
6983
+ updated_at: string;
6984
+ };
6985
+ Insert: {
6986
+ bestand_url: string;
6987
+ bestandsgrootte?: number;
6988
+ bestandspad?: string | null;
6989
+ bestandstype?: string;
6990
+ breedte?: number;
6991
+ categorie?: string;
6992
+ created_at?: string;
6993
+ hash?: string | null;
6994
+ hoogte?: number;
6995
+ id?: string;
6996
+ is_standaard?: boolean;
6997
+ naam: string;
6998
+ omschrijving?: string;
6999
+ transparant?: boolean;
7000
+ updated_at?: string;
7001
+ };
7002
+ Update: {
7003
+ bestand_url?: string;
7004
+ bestandsgrootte?: number;
7005
+ bestandspad?: string | null;
7006
+ bestandstype?: string;
7007
+ breedte?: number;
7008
+ categorie?: string;
7009
+ created_at?: string;
7010
+ hash?: string | null;
7011
+ hoogte?: number;
7012
+ id?: string;
7013
+ is_standaard?: boolean;
7014
+ naam?: string;
7015
+ omschrijving?: string;
7016
+ transparant?: boolean;
7017
+ updated_at?: string;
7018
+ };
7019
+ Relationships: [];
7020
+ };
6364
7021
  leave_requests: {
6365
7022
  Row: {
6366
7023
  created_at: string;
@@ -6904,6 +7561,99 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
6904
7561
  };
6905
7562
  Relationships: [];
6906
7563
  };
7564
+ mailbox_ai_goal_prompts: {
7565
+ Row: {
7566
+ created_at: string;
7567
+ goal_key: string;
7568
+ id: string;
7569
+ system_prompt: string;
7570
+ updated_at: string;
7571
+ };
7572
+ Insert: {
7573
+ created_at?: string;
7574
+ goal_key: string;
7575
+ id?: string;
7576
+ system_prompt?: string;
7577
+ updated_at?: string;
7578
+ };
7579
+ Update: {
7580
+ created_at?: string;
7581
+ goal_key?: string;
7582
+ id?: string;
7583
+ system_prompt?: string;
7584
+ updated_at?: string;
7585
+ };
7586
+ Relationships: [];
7587
+ };
7588
+ mailbox_ai_settings: {
7589
+ Row: {
7590
+ active_goal_key: string | null;
7591
+ created_at: string;
7592
+ enabled: boolean;
7593
+ id: string;
7594
+ required_fields: string[];
7595
+ singleton: boolean;
7596
+ system_prompt: string | null;
7597
+ updated_at: string;
7598
+ };
7599
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
7620
+ };
7621
+ mailbox_ingest_runs: {
7622
+ Row: {
7623
+ connection_id: string | null;
7624
+ error_sample: string | null;
7625
+ errors: number;
7626
+ finished_at: string | null;
7627
+ id: string;
7628
+ inserted: number;
7629
+ processed: number;
7630
+ started_at: string;
7631
+ trigger: string;
7632
+ };
7633
+ Insert: {
7634
+ connection_id?: string | null;
7635
+ error_sample?: string | null;
7636
+ errors?: number;
7637
+ finished_at?: string | null;
7638
+ id?: string;
7639
+ inserted?: number;
7640
+ processed?: number;
7641
+ started_at?: string;
7642
+ trigger: string;
7643
+ };
7644
+ Update: {
7645
+ connection_id?: string | null;
7646
+ error_sample?: string | null;
7647
+ errors?: number;
7648
+ finished_at?: string | null;
7649
+ id?: string;
7650
+ inserted?: number;
7651
+ processed?: number;
7652
+ started_at?: string;
7653
+ trigger?: string;
7654
+ };
7655
+ Relationships: [];
7656
+ };
6907
7657
  mailbox_messages: {
6908
7658
  Row: {
6909
7659
  body_html: string | null;
@@ -6984,6 +7734,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
6984
7734
  };
6985
7735
  mailbox_order_proposals: {
6986
7736
  Row: {
7737
+ ai_validation: import("./types").Json | null;
6987
7738
  confidence: number | null;
6988
7739
  created_at: string;
6989
7740
  created_order_id: string | null;
@@ -7000,6 +7751,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7000
7751
  updated_at: string;
7001
7752
  };
7002
7753
  Insert: {
7754
+ ai_validation?: import("./types").Json | null;
7003
7755
  confidence?: number | null;
7004
7756
  created_at?: string;
7005
7757
  created_order_id?: string | null;
@@ -7016,6 +7768,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7016
7768
  updated_at?: string;
7017
7769
  };
7018
7770
  Update: {
7771
+ ai_validation?: import("./types").Json | null;
7019
7772
  confidence?: number | null;
7020
7773
  created_at?: string;
7021
7774
  created_order_id?: string | null;
@@ -7152,6 +7905,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7152
7905
  created_at: string;
7153
7906
  id: string;
7154
7907
  match_confidence: number | null;
7908
+ plant_type: string | null;
7155
7909
  product_id: string | null;
7156
7910
  proposal_id: string;
7157
7911
  quantity: number | null;
@@ -7164,6 +7918,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7164
7918
  created_at?: string;
7165
7919
  id?: string;
7166
7920
  match_confidence?: number | null;
7921
+ plant_type?: string | null;
7167
7922
  product_id?: string | null;
7168
7923
  proposal_id: string;
7169
7924
  quantity?: number | null;
@@ -7176,6 +7931,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7176
7931
  created_at?: string;
7177
7932
  id?: string;
7178
7933
  match_confidence?: number | null;
7934
+ plant_type?: string | null;
7179
7935
  product_id?: string | null;
7180
7936
  proposal_id?: string;
7181
7937
  quantity?: number | null;
@@ -7360,6 +8116,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7360
8116
  };
7361
8117
  Relationships: [];
7362
8118
  };
8119
+ modules: {
8120
+ Row: {
8121
+ created_at: string;
8122
+ description: string | null;
8123
+ id: string;
8124
+ is_active: boolean;
8125
+ last_seen_at: string | null;
8126
+ module_key: string;
8127
+ module_name: string;
8128
+ updated_at: string;
8129
+ };
8130
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
8151
+ };
7363
8152
  monteurs: {
7364
8153
  Row: {
7365
8154
  avatar_url: string | null;
@@ -8599,28 +9388,907 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8599
9388
  };
8600
9389
  Relationships: [];
8601
9390
  };
8602
- pickstation_print_log: {
9391
+ pick_countries: {
8603
9392
  Row: {
8604
- customer_name: string | null;
8605
- documents: string[];
9393
+ active: boolean;
9394
+ code: string;
9395
+ created_at: string;
9396
+ flag: string | null;
8606
9397
  id: string;
8607
- ip_address: string | null;
8608
- order_id: string;
8609
- order_number: string | null;
8610
- printed_at: string;
9398
+ name: string;
9399
+ sort_order: number;
9400
+ updated_at: string;
8611
9401
  };
8612
9402
  Insert: {
8613
- customer_name?: string | null;
8614
- documents?: string[];
9403
+ active?: boolean;
9404
+ code: string;
9405
+ created_at?: string;
9406
+ flag?: string | null;
8615
9407
  id?: string;
8616
- ip_address?: string | null;
8617
- order_id: string;
8618
- order_number?: string | null;
8619
- printed_at?: string;
9408
+ name: string;
9409
+ sort_order?: number;
9410
+ updated_at?: string;
8620
9411
  };
8621
9412
  Update: {
8622
- customer_name?: string | null;
8623
- documents?: string[];
9413
+ active?: boolean;
9414
+ code?: string;
9415
+ created_at?: string;
9416
+ flag?: string | null;
9417
+ id?: string;
9418
+ name?: string;
9419
+ sort_order?: number;
9420
+ updated_at?: string;
9421
+ };
9422
+ Relationships: [];
9423
+ };
9424
+ pick_document_statuses: {
9425
+ Row: {
9426
+ active: boolean;
9427
+ code: string;
9428
+ color: string | null;
9429
+ created_at: string;
9430
+ id: string;
9431
+ is_open: boolean;
9432
+ is_terminal: boolean;
9433
+ name: string;
9434
+ sort_order: number;
9435
+ updated_at: string;
9436
+ };
9437
+ Insert: {
9438
+ active?: boolean;
9439
+ code: string;
9440
+ color?: string | null;
9441
+ created_at?: string;
9442
+ id?: string;
9443
+ is_open?: boolean;
9444
+ is_terminal?: boolean;
9445
+ name: string;
9446
+ sort_order?: number;
9447
+ updated_at?: string;
9448
+ };
9449
+ Update: {
9450
+ active?: boolean;
9451
+ code?: string;
9452
+ color?: string | null;
9453
+ created_at?: string;
9454
+ id?: string;
9455
+ is_open?: boolean;
9456
+ is_terminal?: boolean;
9457
+ name?: string;
9458
+ sort_order?: number;
9459
+ updated_at?: string;
9460
+ };
9461
+ Relationships: [];
9462
+ };
9463
+ pick_document_types: {
9464
+ Row: {
9465
+ active: boolean;
9466
+ code: string;
9467
+ color: string | null;
9468
+ created_at: string;
9469
+ description: string | null;
9470
+ icon: string | null;
9471
+ id: string;
9472
+ name: string;
9473
+ print_template: string | null;
9474
+ printer_id: string | null;
9475
+ priority: number;
9476
+ report_key: string | null;
9477
+ sort_order: number;
9478
+ updated_at: string;
9479
+ workflow: import("./types").Json;
9480
+ };
9481
+ Insert: {
9482
+ active?: boolean;
9483
+ code: string;
9484
+ color?: string | null;
9485
+ created_at?: string;
9486
+ description?: string | null;
9487
+ icon?: string | null;
9488
+ id?: string;
9489
+ name: string;
9490
+ print_template?: string | null;
9491
+ printer_id?: string | null;
9492
+ priority?: number;
9493
+ report_key?: string | null;
9494
+ sort_order?: number;
9495
+ updated_at?: string;
9496
+ workflow?: import("./types").Json;
9497
+ };
9498
+ Update: {
9499
+ active?: boolean;
9500
+ code?: string;
9501
+ color?: string | null;
9502
+ created_at?: string;
9503
+ description?: string | null;
9504
+ icon?: string | null;
9505
+ id?: string;
9506
+ name?: string;
9507
+ print_template?: string | null;
9508
+ printer_id?: string | null;
9509
+ priority?: number;
9510
+ report_key?: string | null;
9511
+ sort_order?: number;
9512
+ updated_at?: string;
9513
+ workflow?: import("./types").Json;
9514
+ };
9515
+ Relationships: [{
9516
+ foreignKeyName: "pick_document_types_printer_id_fkey";
9517
+ columns: ["printer_id"];
9518
+ isOneToOne: false;
9519
+ referencedRelation: "pick_station_printers";
9520
+ referencedColumns: ["id"];
9521
+ }];
9522
+ };
9523
+ pick_queue: {
9524
+ Row: {
9525
+ announced_at: string;
9526
+ assigned_user_id: string | null;
9527
+ barcode: string | null;
9528
+ cancelled_at: string | null;
9529
+ cart_count: number;
9530
+ completed_at: string | null;
9531
+ country_code: string | null;
9532
+ created_at: string;
9533
+ customer_name: string | null;
9534
+ delivery_address: string | null;
9535
+ document_number: string | null;
9536
+ document_type_id: string | null;
9537
+ due_at: string | null;
9538
+ id: string;
9539
+ is_urgent: boolean;
9540
+ line_count: number;
9541
+ order_number: string | null;
9542
+ order_type: string | null;
9543
+ payload: import("./types").Json;
9544
+ print_count: number;
9545
+ printed_at: string | null;
9546
+ printed_by: string | null;
9547
+ printer_id: string | null;
9548
+ priority: number;
9549
+ reference: string | null;
9550
+ route: string | null;
9551
+ screen_id: string | null;
9552
+ station_id: string | null;
9553
+ status_id: string | null;
9554
+ updated_at: string;
9555
+ warnings: import("./types").Json;
9556
+ };
9557
+ Insert: {
9558
+ announced_at?: string;
9559
+ assigned_user_id?: string | null;
9560
+ barcode?: string | null;
9561
+ cancelled_at?: string | null;
9562
+ cart_count?: number;
9563
+ completed_at?: string | null;
9564
+ country_code?: string | null;
9565
+ created_at?: string;
9566
+ customer_name?: string | null;
9567
+ delivery_address?: string | null;
9568
+ document_number?: string | null;
9569
+ document_type_id?: string | null;
9570
+ due_at?: string | null;
9571
+ id?: string;
9572
+ is_urgent?: boolean;
9573
+ line_count?: number;
9574
+ order_number?: string | null;
9575
+ order_type?: string | null;
9576
+ payload?: import("./types").Json;
9577
+ print_count?: number;
9578
+ printed_at?: string | null;
9579
+ printed_by?: string | null;
9580
+ printer_id?: string | null;
9581
+ priority?: number;
9582
+ reference?: string | null;
9583
+ route?: string | null;
9584
+ screen_id?: string | null;
9585
+ station_id?: string | null;
9586
+ status_id?: string | null;
9587
+ updated_at?: string;
9588
+ warnings?: import("./types").Json;
9589
+ };
9590
+ Update: {
9591
+ announced_at?: string;
9592
+ assigned_user_id?: string | null;
9593
+ barcode?: string | null;
9594
+ cancelled_at?: string | null;
9595
+ cart_count?: number;
9596
+ completed_at?: string | null;
9597
+ country_code?: string | null;
9598
+ created_at?: string;
9599
+ customer_name?: string | null;
9600
+ delivery_address?: string | null;
9601
+ document_number?: string | null;
9602
+ document_type_id?: string | null;
9603
+ due_at?: string | null;
9604
+ id?: string;
9605
+ is_urgent?: boolean;
9606
+ line_count?: number;
9607
+ order_number?: string | null;
9608
+ order_type?: string | null;
9609
+ payload?: import("./types").Json;
9610
+ print_count?: number;
9611
+ printed_at?: string | null;
9612
+ printed_by?: string | null;
9613
+ printer_id?: string | null;
9614
+ priority?: number;
9615
+ reference?: string | null;
9616
+ route?: string | null;
9617
+ screen_id?: string | null;
9618
+ station_id?: string | null;
9619
+ status_id?: string | null;
9620
+ updated_at?: string;
9621
+ warnings?: import("./types").Json;
9622
+ };
9623
+ Relationships: [{
9624
+ foreignKeyName: "pick_queue_document_type_id_fkey";
9625
+ columns: ["document_type_id"];
9626
+ isOneToOne: false;
9627
+ referencedRelation: "pick_document_types";
9628
+ referencedColumns: ["id"];
9629
+ }, {
9630
+ foreignKeyName: "pick_queue_printer_id_fkey";
9631
+ columns: ["printer_id"];
9632
+ isOneToOne: false;
9633
+ referencedRelation: "pick_station_printers";
9634
+ referencedColumns: ["id"];
9635
+ }, {
9636
+ foreignKeyName: "pick_queue_screen_id_fkey";
9637
+ columns: ["screen_id"];
9638
+ isOneToOne: false;
9639
+ referencedRelation: "pick_station_screens";
9640
+ referencedColumns: ["id"];
9641
+ }, {
9642
+ foreignKeyName: "pick_queue_station_id_fkey";
9643
+ columns: ["station_id"];
9644
+ isOneToOne: false;
9645
+ referencedRelation: "pick_stations";
9646
+ referencedColumns: ["id"];
9647
+ }, {
9648
+ foreignKeyName: "pick_queue_status_id_fkey";
9649
+ columns: ["status_id"];
9650
+ isOneToOne: false;
9651
+ referencedRelation: "pick_document_statuses";
9652
+ referencedColumns: ["id"];
9653
+ }];
9654
+ };
9655
+ pick_queue_locks: {
9656
+ Row: {
9657
+ expires_at: string;
9658
+ id: string;
9659
+ locked_at: string;
9660
+ locked_by: string | null;
9661
+ queue_item_id: string;
9662
+ screen_id: string | null;
9663
+ session_id: string | null;
9664
+ station_id: string | null;
9665
+ };
9666
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
9687
+ foreignKeyName: "pick_queue_locks_queue_item_id_fkey";
9688
+ columns: ["queue_item_id"];
9689
+ isOneToOne: true;
9690
+ referencedRelation: "pick_queue";
9691
+ referencedColumns: ["id"];
9692
+ }, {
9693
+ foreignKeyName: "pick_queue_locks_screen_id_fkey";
9694
+ columns: ["screen_id"];
9695
+ isOneToOne: false;
9696
+ referencedRelation: "pick_station_screens";
9697
+ referencedColumns: ["id"];
9698
+ }, {
9699
+ foreignKeyName: "pick_queue_locks_station_id_fkey";
9700
+ columns: ["station_id"];
9701
+ isOneToOne: false;
9702
+ referencedRelation: "pick_stations";
9703
+ referencedColumns: ["id"];
9704
+ }];
9705
+ };
9706
+ pick_screen_document_types: {
9707
+ Row: {
9708
+ created_at: string;
9709
+ document_type_id: string;
9710
+ id: string;
9711
+ print_order: number;
9712
+ printer_id: string | null;
9713
+ screen_id: string;
9714
+ };
9715
+ Insert: {
9716
+ created_at?: string;
9717
+ document_type_id: string;
9718
+ id?: string;
9719
+ print_order?: number;
9720
+ printer_id?: string | null;
9721
+ screen_id: string;
9722
+ };
9723
+ Update: {
9724
+ created_at?: string;
9725
+ document_type_id?: string;
9726
+ id?: string;
9727
+ print_order?: number;
9728
+ printer_id?: string | null;
9729
+ screen_id?: string;
9730
+ };
9731
+ Relationships: [{
9732
+ foreignKeyName: "pick_screen_document_types_document_type_id_fkey";
9733
+ columns: ["document_type_id"];
9734
+ isOneToOne: false;
9735
+ referencedRelation: "pick_document_types";
9736
+ referencedColumns: ["id"];
9737
+ }, {
9738
+ foreignKeyName: "pick_screen_document_types_printer_id_fkey";
9739
+ columns: ["printer_id"];
9740
+ isOneToOne: false;
9741
+ referencedRelation: "pick_station_printers";
9742
+ referencedColumns: ["id"];
9743
+ }, {
9744
+ foreignKeyName: "pick_screen_document_types_screen_id_fkey";
9745
+ columns: ["screen_id"];
9746
+ isOneToOne: false;
9747
+ referencedRelation: "pick_station_screens";
9748
+ referencedColumns: ["id"];
9749
+ }];
9750
+ };
9751
+ pick_station_heartbeats: {
9752
+ Row: {
9753
+ browser: string | null;
9754
+ created_at: string;
9755
+ id: string;
9756
+ ip_address: string | null;
9757
+ last_seen_at: string;
9758
+ screen_id: string | null;
9759
+ session_id: string;
9760
+ station_id: string;
9761
+ user_id: string | null;
9762
+ };
9763
+ Insert: {
9764
+ browser?: string | null;
9765
+ created_at?: string;
9766
+ id?: string;
9767
+ ip_address?: string | null;
9768
+ last_seen_at?: string;
9769
+ screen_id?: string | null;
9770
+ session_id: string;
9771
+ station_id: string;
9772
+ user_id?: string | null;
9773
+ };
9774
+ Update: {
9775
+ browser?: string | null;
9776
+ created_at?: string;
9777
+ id?: string;
9778
+ ip_address?: string | null;
9779
+ last_seen_at?: string;
9780
+ screen_id?: string | null;
9781
+ session_id?: string;
9782
+ station_id?: string;
9783
+ user_id?: string | null;
9784
+ };
9785
+ Relationships: [{
9786
+ foreignKeyName: "pick_station_heartbeats_screen_id_fkey";
9787
+ columns: ["screen_id"];
9788
+ isOneToOne: false;
9789
+ referencedRelation: "pick_station_screens";
9790
+ referencedColumns: ["id"];
9791
+ }, {
9792
+ foreignKeyName: "pick_station_heartbeats_station_id_fkey";
9793
+ columns: ["station_id"];
9794
+ isOneToOne: false;
9795
+ referencedRelation: "pick_stations";
9796
+ referencedColumns: ["id"];
9797
+ }];
9798
+ };
9799
+ pick_station_history: {
9800
+ Row: {
9801
+ action: string;
9802
+ changed_by: string | null;
9803
+ created_at: string;
9804
+ entity_id: string;
9805
+ entity_table: string;
9806
+ id: string;
9807
+ new_data: import("./types").Json | null;
9808
+ old_data: import("./types").Json | null;
9809
+ };
9810
+ Insert: {
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("./types").Json | null;
9818
+ old_data?: import("./types").Json | null;
9819
+ };
9820
+ Update: {
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("./types").Json | null;
9828
+ old_data?: import("./types").Json | null;
9829
+ };
9830
+ Relationships: [];
9831
+ };
9832
+ pick_station_logs: {
9833
+ Row: {
9834
+ action: string;
9835
+ browser: string | null;
9836
+ created_at: string;
9837
+ detail: import("./types").Json;
9838
+ duration_ms: number | null;
9839
+ id: string;
9840
+ ip_address: string | null;
9841
+ printer_id: string | null;
9842
+ queue_item_id: string | null;
9843
+ screen_id: string | null;
9844
+ session_id: string | null;
9845
+ station_id: string | null;
9846
+ user_id: string | null;
9847
+ };
9848
+ Insert: {
9849
+ action: string;
9850
+ browser?: string | null;
9851
+ created_at?: string;
9852
+ detail?: import("./types").Json;
9853
+ duration_ms?: number | null;
9854
+ id?: string;
9855
+ ip_address?: string | null;
9856
+ printer_id?: string | null;
9857
+ queue_item_id?: string | null;
9858
+ screen_id?: string | null;
9859
+ session_id?: string | null;
9860
+ station_id?: string | null;
9861
+ user_id?: string | null;
9862
+ };
9863
+ Update: {
9864
+ action?: string;
9865
+ browser?: string | null;
9866
+ created_at?: string;
9867
+ detail?: import("./types").Json;
9868
+ duration_ms?: number | null;
9869
+ id?: string;
9870
+ ip_address?: string | null;
9871
+ printer_id?: string | null;
9872
+ queue_item_id?: string | null;
9873
+ screen_id?: string | null;
9874
+ session_id?: string | null;
9875
+ station_id?: string | null;
9876
+ user_id?: string | null;
9877
+ };
9878
+ Relationships: [];
9879
+ };
9880
+ pick_station_permissions: {
9881
+ Row: {
9882
+ can_break_lock: boolean;
9883
+ can_cancel: boolean;
9884
+ can_print: boolean;
9885
+ can_reprint: boolean;
9886
+ country_code: string | null;
9887
+ created_at: string;
9888
+ id: string;
9889
+ station_id: string | null;
9890
+ task_id: string | null;
9891
+ updated_at: string;
9892
+ urgent_only: boolean;
9893
+ user_id: string;
9894
+ };
9895
+ Insert: {
9896
+ can_break_lock?: boolean;
9897
+ can_cancel?: boolean;
9898
+ can_print?: boolean;
9899
+ can_reprint?: boolean;
9900
+ country_code?: string | null;
9901
+ created_at?: string;
9902
+ id?: string;
9903
+ station_id?: string | null;
9904
+ task_id?: string | null;
9905
+ updated_at?: string;
9906
+ urgent_only?: boolean;
9907
+ user_id: string;
9908
+ };
9909
+ Update: {
9910
+ can_break_lock?: boolean;
9911
+ can_cancel?: boolean;
9912
+ can_print?: boolean;
9913
+ can_reprint?: boolean;
9914
+ country_code?: string | null;
9915
+ created_at?: string;
9916
+ id?: string;
9917
+ station_id?: string | null;
9918
+ task_id?: string | null;
9919
+ updated_at?: string;
9920
+ urgent_only?: boolean;
9921
+ user_id?: string;
9922
+ };
9923
+ Relationships: [{
9924
+ foreignKeyName: "pick_station_permissions_station_id_fkey";
9925
+ columns: ["station_id"];
9926
+ isOneToOne: false;
9927
+ referencedRelation: "pick_stations";
9928
+ referencedColumns: ["id"];
9929
+ }, {
9930
+ foreignKeyName: "pick_station_permissions_task_id_fkey";
9931
+ columns: ["task_id"];
9932
+ isOneToOne: false;
9933
+ referencedRelation: "pick_station_tasks";
9934
+ referencedColumns: ["id"];
9935
+ }];
9936
+ };
9937
+ pick_station_printers: {
9938
+ Row: {
9939
+ active: boolean;
9940
+ code: string | null;
9941
+ config: import("./types").Json;
9942
+ connection: string | null;
9943
+ created_at: string;
9944
+ id: string;
9945
+ last_seen_at: string | null;
9946
+ location: string | null;
9947
+ name: string;
9948
+ status: string;
9949
+ status_message: string | null;
9950
+ target: string | null;
9951
+ updated_at: string;
9952
+ };
9953
+ Insert: {
9954
+ active?: boolean;
9955
+ code?: string | null;
9956
+ config?: import("./types").Json;
9957
+ connection?: string | null;
9958
+ created_at?: string;
9959
+ id?: string;
9960
+ last_seen_at?: string | null;
9961
+ location?: string | null;
9962
+ name: string;
9963
+ status?: string;
9964
+ status_message?: string | null;
9965
+ target?: string | null;
9966
+ updated_at?: string;
9967
+ };
9968
+ Update: {
9969
+ active?: boolean;
9970
+ code?: string | null;
9971
+ config?: import("./types").Json;
9972
+ connection?: string | null;
9973
+ created_at?: string;
9974
+ id?: string;
9975
+ last_seen_at?: string | null;
9976
+ location?: string | null;
9977
+ name?: string;
9978
+ status?: string;
9979
+ status_message?: string | null;
9980
+ target?: string | null;
9981
+ updated_at?: string;
9982
+ };
9983
+ Relationships: [];
9984
+ };
9985
+ pick_station_screens: {
9986
+ Row: {
9987
+ active: boolean;
9988
+ config: import("./types").Json;
9989
+ created_at: string;
9990
+ description: string | null;
9991
+ filters: import("./types").Json;
9992
+ id: string;
9993
+ name: string;
9994
+ printer_id: string | null;
9995
+ screen_type: string;
9996
+ sort_order: number;
9997
+ sort_rules: import("./types").Json | null;
9998
+ station_id: string;
9999
+ updated_at: string;
10000
+ };
10001
+ Insert: {
10002
+ active?: boolean;
10003
+ config?: import("./types").Json;
10004
+ created_at?: string;
10005
+ description?: string | null;
10006
+ filters?: import("./types").Json;
10007
+ id?: string;
10008
+ name: string;
10009
+ printer_id?: string | null;
10010
+ screen_type?: string;
10011
+ sort_order?: number;
10012
+ sort_rules?: import("./types").Json | null;
10013
+ station_id: string;
10014
+ updated_at?: string;
10015
+ };
10016
+ Update: {
10017
+ active?: boolean;
10018
+ config?: import("./types").Json;
10019
+ created_at?: string;
10020
+ description?: string | null;
10021
+ filters?: import("./types").Json;
10022
+ id?: string;
10023
+ name?: string;
10024
+ printer_id?: string | null;
10025
+ screen_type?: string;
10026
+ sort_order?: number;
10027
+ sort_rules?: import("./types").Json | null;
10028
+ station_id?: string;
10029
+ updated_at?: string;
10030
+ };
10031
+ Relationships: [{
10032
+ foreignKeyName: "pick_station_screens_printer_id_fkey";
10033
+ columns: ["printer_id"];
10034
+ isOneToOne: false;
10035
+ referencedRelation: "pick_station_printers";
10036
+ referencedColumns: ["id"];
10037
+ }, {
10038
+ foreignKeyName: "pick_station_screens_station_id_fkey";
10039
+ columns: ["station_id"];
10040
+ isOneToOne: false;
10041
+ referencedRelation: "pick_stations";
10042
+ referencedColumns: ["id"];
10043
+ }];
10044
+ };
10045
+ pick_station_tasks: {
10046
+ Row: {
10047
+ active: boolean;
10048
+ code: string;
10049
+ color: string | null;
10050
+ created_at: string;
10051
+ description: string | null;
10052
+ icon: string | null;
10053
+ id: string;
10054
+ name: string;
10055
+ sort_order: number;
10056
+ updated_at: string;
10057
+ workflow: import("./types").Json;
10058
+ };
10059
+ Insert: {
10060
+ active?: boolean;
10061
+ code: string;
10062
+ color?: string | null;
10063
+ created_at?: string;
10064
+ description?: string | null;
10065
+ icon?: string | null;
10066
+ id?: string;
10067
+ name: string;
10068
+ sort_order?: number;
10069
+ updated_at?: string;
10070
+ workflow?: import("./types").Json;
10071
+ };
10072
+ Update: {
10073
+ active?: boolean;
10074
+ code?: string;
10075
+ color?: string | null;
10076
+ created_at?: string;
10077
+ description?: string | null;
10078
+ icon?: string | null;
10079
+ id?: string;
10080
+ name?: string;
10081
+ sort_order?: number;
10082
+ updated_at?: string;
10083
+ workflow?: import("./types").Json;
10084
+ };
10085
+ Relationships: [];
10086
+ };
10087
+ pick_station_types: {
10088
+ Row: {
10089
+ active: boolean;
10090
+ code: string;
10091
+ color: string | null;
10092
+ created_at: string;
10093
+ description: string | null;
10094
+ icon: string | null;
10095
+ id: string;
10096
+ name: string;
10097
+ sort_order: number;
10098
+ updated_at: string;
10099
+ };
10100
+ Insert: {
10101
+ active?: boolean;
10102
+ code: string;
10103
+ color?: string | null;
10104
+ created_at?: string;
10105
+ description?: string | null;
10106
+ icon?: string | null;
10107
+ id?: string;
10108
+ name: string;
10109
+ sort_order?: number;
10110
+ updated_at?: string;
10111
+ };
10112
+ Update: {
10113
+ active?: boolean;
10114
+ code?: string;
10115
+ color?: string | null;
10116
+ created_at?: string;
10117
+ description?: string | null;
10118
+ icon?: string | null;
10119
+ id?: string;
10120
+ name?: string;
10121
+ sort_order?: number;
10122
+ updated_at?: string;
10123
+ };
10124
+ Relationships: [];
10125
+ };
10126
+ pick_station_users: {
10127
+ Row: {
10128
+ active: boolean;
10129
+ created_at: string;
10130
+ id: string;
10131
+ station_id: string;
10132
+ user_id: string;
10133
+ };
10134
+ Insert: {
10135
+ active?: boolean;
10136
+ created_at?: string;
10137
+ id?: string;
10138
+ station_id: string;
10139
+ user_id: string;
10140
+ };
10141
+ Update: {
10142
+ active?: boolean;
10143
+ created_at?: string;
10144
+ id?: string;
10145
+ station_id?: string;
10146
+ user_id?: string;
10147
+ };
10148
+ Relationships: [{
10149
+ foreignKeyName: "pick_station_users_station_id_fkey";
10150
+ columns: ["station_id"];
10151
+ isOneToOne: false;
10152
+ referencedRelation: "pick_stations";
10153
+ referencedColumns: ["id"];
10154
+ }];
10155
+ };
10156
+ pick_stations: {
10157
+ Row: {
10158
+ active: boolean;
10159
+ allow_multi_screen: boolean;
10160
+ color: string | null;
10161
+ created_at: string;
10162
+ default_printer_id: string | null;
10163
+ department: string | null;
10164
+ description: string | null;
10165
+ icon: string | null;
10166
+ id: string;
10167
+ location: string | null;
10168
+ lock_timeout_seconds: number;
10169
+ name: string;
10170
+ require_country_selection: boolean;
10171
+ sort_order: number;
10172
+ sort_rules: import("./types").Json;
10173
+ task_id: string | null;
10174
+ type_id: string | null;
10175
+ updated_at: string;
10176
+ };
10177
+ Insert: {
10178
+ active?: boolean;
10179
+ allow_multi_screen?: boolean;
10180
+ color?: string | null;
10181
+ created_at?: string;
10182
+ default_printer_id?: string | null;
10183
+ department?: string | null;
10184
+ description?: string | null;
10185
+ icon?: string | null;
10186
+ id?: string;
10187
+ location?: string | null;
10188
+ lock_timeout_seconds?: number;
10189
+ name: string;
10190
+ require_country_selection?: boolean;
10191
+ sort_order?: number;
10192
+ sort_rules?: import("./types").Json;
10193
+ task_id?: string | null;
10194
+ type_id?: string | null;
10195
+ updated_at?: string;
10196
+ };
10197
+ Update: {
10198
+ active?: boolean;
10199
+ allow_multi_screen?: boolean;
10200
+ color?: string | null;
10201
+ created_at?: string;
10202
+ default_printer_id?: string | null;
10203
+ department?: string | null;
10204
+ description?: string | null;
10205
+ icon?: string | null;
10206
+ id?: string;
10207
+ location?: string | null;
10208
+ lock_timeout_seconds?: number;
10209
+ name?: string;
10210
+ require_country_selection?: boolean;
10211
+ sort_order?: number;
10212
+ sort_rules?: import("./types").Json;
10213
+ task_id?: string | null;
10214
+ type_id?: string | null;
10215
+ updated_at?: string;
10216
+ };
10217
+ Relationships: [{
10218
+ foreignKeyName: "pick_stations_default_printer_id_fkey";
10219
+ columns: ["default_printer_id"];
10220
+ isOneToOne: false;
10221
+ referencedRelation: "pick_station_printers";
10222
+ referencedColumns: ["id"];
10223
+ }, {
10224
+ foreignKeyName: "pick_stations_task_id_fkey";
10225
+ columns: ["task_id"];
10226
+ isOneToOne: false;
10227
+ referencedRelation: "pick_station_tasks";
10228
+ referencedColumns: ["id"];
10229
+ }, {
10230
+ foreignKeyName: "pick_stations_type_id_fkey";
10231
+ columns: ["type_id"];
10232
+ isOneToOne: false;
10233
+ referencedRelation: "pick_station_types";
10234
+ referencedColumns: ["id"];
10235
+ }];
10236
+ };
10237
+ pick_task_document_types: {
10238
+ Row: {
10239
+ created_at: string;
10240
+ document_type_id: string;
10241
+ id: string;
10242
+ task_id: string;
10243
+ };
10244
+ Insert: {
10245
+ created_at?: string;
10246
+ document_type_id: string;
10247
+ id?: string;
10248
+ task_id: string;
10249
+ };
10250
+ Update: {
10251
+ created_at?: string;
10252
+ document_type_id?: string;
10253
+ id?: string;
10254
+ task_id?: string;
10255
+ };
10256
+ Relationships: [{
10257
+ foreignKeyName: "pick_task_document_types_document_type_id_fkey";
10258
+ columns: ["document_type_id"];
10259
+ isOneToOne: false;
10260
+ referencedRelation: "pick_document_types";
10261
+ referencedColumns: ["id"];
10262
+ }, {
10263
+ foreignKeyName: "pick_task_document_types_task_id_fkey";
10264
+ columns: ["task_id"];
10265
+ isOneToOne: false;
10266
+ referencedRelation: "pick_station_tasks";
10267
+ referencedColumns: ["id"];
10268
+ }];
10269
+ };
10270
+ pickstation_print_log: {
10271
+ Row: {
10272
+ customer_name: string | null;
10273
+ documents: string[];
10274
+ id: string;
10275
+ ip_address: string | null;
10276
+ order_id: string;
10277
+ order_number: string | null;
10278
+ printed_at: string;
10279
+ };
10280
+ Insert: {
10281
+ customer_name?: string | null;
10282
+ documents?: string[];
10283
+ id?: string;
10284
+ ip_address?: string | null;
10285
+ order_id: string;
10286
+ order_number?: string | null;
10287
+ printed_at?: string;
10288
+ };
10289
+ Update: {
10290
+ customer_name?: string | null;
10291
+ documents?: string[];
8624
10292
  id?: string;
8625
10293
  ip_address?: string | null;
8626
10294
  order_id?: string;
@@ -8675,88 +10343,403 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8675
10343
  updated_at?: string;
8676
10344
  };
8677
10345
  Update: {
8678
- automation_type?: string;
8679
- color?: string;
10346
+ automation_type?: string;
10347
+ color?: string;
10348
+ created_at?: string;
10349
+ id?: string;
10350
+ is_active?: boolean;
10351
+ name?: string;
10352
+ sort_order?: number;
10353
+ updated_at?: string;
10354
+ };
10355
+ Relationships: [];
10356
+ };
10357
+ planning_item_assistants: {
10358
+ Row: {
10359
+ created_at: string;
10360
+ created_by: string | null;
10361
+ monteur_id: string;
10362
+ planning_item_id: string;
10363
+ };
10364
+ Insert: {
10365
+ created_at?: string;
10366
+ created_by?: string | null;
10367
+ monteur_id: string;
10368
+ planning_item_id: string;
10369
+ };
10370
+ Update: {
10371
+ created_at?: string;
10372
+ created_by?: string | null;
10373
+ monteur_id?: string;
10374
+ planning_item_id?: string;
10375
+ };
10376
+ Relationships: [{
10377
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
10378
+ columns: ["planning_item_id"];
10379
+ isOneToOne: false;
10380
+ referencedRelation: "planning_items";
10381
+ referencedColumns: ["id"];
10382
+ }];
10383
+ };
10384
+ planning_items: {
10385
+ Row: {
10386
+ assigned_monteur_id: string;
10387
+ created_at: string;
10388
+ created_by: string | null;
10389
+ end_at: string;
10390
+ id: string;
10391
+ notes: string | null;
10392
+ start_at: string;
10393
+ status: Database["public"]["Enums"]["planning_item_status"];
10394
+ updated_at: string;
10395
+ werkbon_id: string;
10396
+ };
10397
+ Insert: {
10398
+ assigned_monteur_id: string;
10399
+ created_at?: string;
10400
+ created_by?: string | null;
10401
+ end_at: string;
10402
+ id?: string;
10403
+ notes?: string | null;
10404
+ start_at: string;
10405
+ status?: Database["public"]["Enums"]["planning_item_status"];
10406
+ updated_at?: string;
10407
+ werkbon_id: string;
10408
+ };
10409
+ Update: {
10410
+ assigned_monteur_id?: string;
10411
+ created_at?: string;
10412
+ created_by?: string | null;
10413
+ end_at?: string;
10414
+ id?: string;
10415
+ notes?: string | null;
10416
+ start_at?: string;
10417
+ status?: Database["public"]["Enums"]["planning_item_status"];
10418
+ updated_at?: string;
10419
+ werkbon_id?: string;
10420
+ };
10421
+ Relationships: [{
10422
+ foreignKeyName: "planning_items_werkbon_id_fkey";
10423
+ columns: ["werkbon_id"];
10424
+ isOneToOne: false;
10425
+ referencedRelation: "werkbonnen";
10426
+ referencedColumns: ["id"];
10427
+ }];
10428
+ };
10429
+ print_job_logs: {
10430
+ Row: {
10431
+ created_at: string;
10432
+ detail: string;
10433
+ gebeurtenis: string;
10434
+ id: string;
10435
+ job_id: string;
10436
+ };
10437
+ Insert: {
10438
+ created_at?: string;
10439
+ detail?: string;
10440
+ gebeurtenis: string;
10441
+ id?: string;
10442
+ job_id: string;
10443
+ };
10444
+ Update: {
10445
+ created_at?: string;
10446
+ detail?: string;
10447
+ gebeurtenis?: string;
10448
+ id?: string;
10449
+ job_id?: string;
10450
+ };
10451
+ Relationships: [{
10452
+ foreignKeyName: "print_job_logs_job_id_fkey";
10453
+ columns: ["job_id"];
10454
+ isOneToOne: false;
10455
+ referencedRelation: "print_jobs";
10456
+ referencedColumns: ["id"];
10457
+ }];
10458
+ };
10459
+ print_jobs: {
10460
+ Row: {
10461
+ bron_job_id: string | null;
10462
+ created_at: string;
10463
+ documentnaam: string;
10464
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
10465
+ foutmelding: string | null;
10466
+ gebruiker_id: string | null;
10467
+ gebruiker_naam: string;
10468
+ gestart_op: string | null;
10469
+ id: string;
10470
+ is_herprint: boolean;
10471
+ kopieen: number;
10472
+ layout_id: string | null;
10473
+ paginas: number;
10474
+ payload: import("./types").Json;
10475
+ printer_id: string | null;
10476
+ status: Database["public"]["Enums"]["print_job_status"];
10477
+ updated_at: string;
10478
+ voltooid_op: string | null;
10479
+ };
10480
+ Insert: {
10481
+ bron_job_id?: string | null;
10482
+ created_at?: string;
10483
+ documentnaam?: string;
10484
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
10485
+ foutmelding?: string | null;
10486
+ gebruiker_id?: string | null;
10487
+ gebruiker_naam?: string;
10488
+ gestart_op?: string | null;
10489
+ id?: string;
10490
+ is_herprint?: boolean;
10491
+ kopieen?: number;
10492
+ layout_id?: string | null;
10493
+ paginas?: number;
10494
+ payload?: import("./types").Json;
10495
+ printer_id?: string | null;
10496
+ status?: Database["public"]["Enums"]["print_job_status"];
10497
+ updated_at?: string;
10498
+ voltooid_op?: string | null;
10499
+ };
10500
+ Update: {
10501
+ bron_job_id?: string | null;
10502
+ created_at?: string;
10503
+ documentnaam?: string;
10504
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
10505
+ foutmelding?: string | null;
10506
+ gebruiker_id?: string | null;
10507
+ gebruiker_naam?: string;
10508
+ gestart_op?: string | null;
10509
+ id?: string;
10510
+ is_herprint?: boolean;
10511
+ kopieen?: number;
10512
+ layout_id?: string | null;
10513
+ paginas?: number;
10514
+ payload?: import("./types").Json;
10515
+ printer_id?: string | null;
10516
+ status?: Database["public"]["Enums"]["print_job_status"];
10517
+ updated_at?: string;
10518
+ voltooid_op?: string | null;
10519
+ };
10520
+ Relationships: [{
10521
+ foreignKeyName: "print_jobs_layout_id_fkey";
10522
+ columns: ["layout_id"];
10523
+ isOneToOne: false;
10524
+ referencedRelation: "document_layouts";
10525
+ referencedColumns: ["id"];
10526
+ }, {
10527
+ foreignKeyName: "print_jobs_printer_id_fkey";
10528
+ columns: ["printer_id"];
10529
+ isOneToOne: false;
10530
+ referencedRelation: "printers";
10531
+ referencedColumns: ["id"];
10532
+ }];
10533
+ };
10534
+ print_rules: {
10535
+ Row: {
10536
+ actief: boolean;
10537
+ alleen_eerste_keer: boolean;
10538
+ conditie: import("./types").Json;
10539
+ created_at: string;
10540
+ id: string;
10541
+ kopieen: number;
10542
+ layout_id: string;
10543
+ naam: string;
10544
+ printer_id: string | null;
10545
+ updated_at: string;
10546
+ volgorde: number;
10547
+ };
10548
+ Insert: {
10549
+ actief?: boolean;
10550
+ alleen_eerste_keer?: boolean;
10551
+ conditie?: import("./types").Json;
10552
+ created_at?: string;
10553
+ id?: string;
10554
+ kopieen?: number;
10555
+ layout_id: string;
10556
+ naam?: string;
10557
+ printer_id?: string | null;
10558
+ updated_at?: string;
10559
+ volgorde?: number;
10560
+ };
10561
+ Update: {
10562
+ actief?: boolean;
10563
+ alleen_eerste_keer?: boolean;
10564
+ conditie?: import("./types").Json;
10565
+ created_at?: string;
10566
+ id?: string;
10567
+ kopieen?: number;
10568
+ layout_id?: string;
10569
+ naam?: string;
10570
+ printer_id?: string | null;
10571
+ updated_at?: string;
10572
+ volgorde?: number;
10573
+ };
10574
+ Relationships: [{
10575
+ foreignKeyName: "print_rules_layout_id_fkey";
10576
+ columns: ["layout_id"];
10577
+ isOneToOne: false;
10578
+ referencedRelation: "document_layouts";
10579
+ referencedColumns: ["id"];
10580
+ }, {
10581
+ foreignKeyName: "print_rules_printer_id_fkey";
10582
+ columns: ["printer_id"];
10583
+ isOneToOne: false;
10584
+ referencedRelation: "printers";
10585
+ referencedColumns: ["id"];
10586
+ }];
10587
+ };
10588
+ printer_mappings: {
10589
+ Row: {
10590
+ created_at: string;
10591
+ id: string;
10592
+ layout_id: string;
10593
+ printer_id: string;
10594
+ prioriteit: number;
10595
+ updated_at: string;
10596
+ };
10597
+ Insert: {
10598
+ created_at?: string;
10599
+ id?: string;
10600
+ layout_id: string;
10601
+ printer_id: string;
10602
+ prioriteit?: number;
10603
+ updated_at?: string;
10604
+ };
10605
+ Update: {
8680
10606
  created_at?: string;
8681
10607
  id?: string;
8682
- is_active?: boolean;
8683
- name?: string;
8684
- sort_order?: number;
10608
+ layout_id?: string;
10609
+ printer_id?: string;
10610
+ prioriteit?: number;
8685
10611
  updated_at?: string;
8686
10612
  };
8687
- Relationships: [];
10613
+ Relationships: [{
10614
+ foreignKeyName: "printer_mappings_layout_id_fkey";
10615
+ columns: ["layout_id"];
10616
+ isOneToOne: false;
10617
+ referencedRelation: "document_layouts";
10618
+ referencedColumns: ["id"];
10619
+ }, {
10620
+ foreignKeyName: "printer_mappings_printer_id_fkey";
10621
+ columns: ["printer_id"];
10622
+ isOneToOne: false;
10623
+ referencedRelation: "printers";
10624
+ referencedColumns: ["id"];
10625
+ }];
8688
10626
  };
8689
- planning_item_assistants: {
10627
+ printer_profiles: {
8690
10628
  Row: {
10629
+ auto_schalen: boolean;
8691
10630
  created_at: string;
8692
- created_by: string | null;
8693
- monteur_id: string;
8694
- planning_item_id: string;
10631
+ duplex: boolean;
10632
+ id: string;
10633
+ is_standaard: boolean;
10634
+ kleur: boolean;
10635
+ kopieen: number;
10636
+ label_gap: number;
10637
+ naam: string;
10638
+ orientatie: Database["public"]["Enums"]["doc_orientation"];
10639
+ papierlade: string;
10640
+ printer_id: string;
10641
+ resolutie: number;
10642
+ snijden: boolean;
10643
+ updated_at: string;
8695
10644
  };
8696
10645
  Insert: {
10646
+ auto_schalen?: boolean;
8697
10647
  created_at?: string;
8698
- created_by?: string | null;
8699
- monteur_id: string;
8700
- planning_item_id: string;
10648
+ duplex?: boolean;
10649
+ id?: string;
10650
+ is_standaard?: boolean;
10651
+ kleur?: boolean;
10652
+ kopieen?: number;
10653
+ label_gap?: number;
10654
+ naam?: string;
10655
+ orientatie?: Database["public"]["Enums"]["doc_orientation"];
10656
+ papierlade?: string;
10657
+ printer_id: string;
10658
+ resolutie?: number;
10659
+ snijden?: boolean;
10660
+ updated_at?: string;
8701
10661
  };
8702
10662
  Update: {
10663
+ auto_schalen?: boolean;
8703
10664
  created_at?: string;
8704
- created_by?: string | null;
8705
- monteur_id?: string;
8706
- planning_item_id?: string;
10665
+ duplex?: boolean;
10666
+ id?: string;
10667
+ is_standaard?: boolean;
10668
+ kleur?: boolean;
10669
+ kopieen?: number;
10670
+ label_gap?: number;
10671
+ naam?: string;
10672
+ orientatie?: Database["public"]["Enums"]["doc_orientation"];
10673
+ papierlade?: string;
10674
+ printer_id?: string;
10675
+ resolutie?: number;
10676
+ snijden?: boolean;
10677
+ updated_at?: string;
8707
10678
  };
8708
10679
  Relationships: [{
8709
- foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
8710
- columns: ["planning_item_id"];
10680
+ foreignKeyName: "printer_profiles_printer_id_fkey";
10681
+ columns: ["printer_id"];
8711
10682
  isOneToOne: false;
8712
- referencedRelation: "planning_items";
10683
+ referencedRelation: "printers";
8713
10684
  referencedColumns: ["id"];
8714
10685
  }];
8715
10686
  };
8716
- planning_items: {
10687
+ printers: {
8717
10688
  Row: {
8718
- assigned_monteur_id: string;
10689
+ actief: boolean;
8719
10690
  created_at: string;
8720
- created_by: string | null;
8721
- end_at: string;
10691
+ driver: string;
8722
10692
  id: string;
8723
- notes: string | null;
8724
- start_at: string;
8725
- status: Database["public"]["Enums"]["planning_item_status"];
10693
+ ip_adres: string | null;
10694
+ laatst_gezien: string | null;
10695
+ locatie: string;
10696
+ merk: string;
10697
+ naam: string;
10698
+ omschrijving: string;
10699
+ online: boolean;
10700
+ papierformaat: string;
10701
+ poort: number | null;
10702
+ soort: Database["public"]["Enums"]["printer_kind"];
8726
10703
  updated_at: string;
8727
- werkbon_id: string;
10704
+ verbinding: Database["public"]["Enums"]["printer_connection"];
8728
10705
  };
8729
10706
  Insert: {
8730
- assigned_monteur_id: string;
10707
+ actief?: boolean;
8731
10708
  created_at?: string;
8732
- created_by?: string | null;
8733
- end_at: string;
10709
+ driver?: string;
8734
10710
  id?: string;
8735
- notes?: string | null;
8736
- start_at: string;
8737
- status?: Database["public"]["Enums"]["planning_item_status"];
10711
+ ip_adres?: string | null;
10712
+ laatst_gezien?: string | null;
10713
+ locatie?: string;
10714
+ merk?: string;
10715
+ naam: string;
10716
+ omschrijving?: string;
10717
+ online?: boolean;
10718
+ papierformaat?: string;
10719
+ poort?: number | null;
10720
+ soort?: Database["public"]["Enums"]["printer_kind"];
8738
10721
  updated_at?: string;
8739
- werkbon_id: string;
10722
+ verbinding?: Database["public"]["Enums"]["printer_connection"];
8740
10723
  };
8741
10724
  Update: {
8742
- assigned_monteur_id?: string;
10725
+ actief?: boolean;
8743
10726
  created_at?: string;
8744
- created_by?: string | null;
8745
- end_at?: string;
10727
+ driver?: string;
8746
10728
  id?: string;
8747
- notes?: string | null;
8748
- start_at?: string;
8749
- status?: Database["public"]["Enums"]["planning_item_status"];
10729
+ ip_adres?: string | null;
10730
+ laatst_gezien?: string | null;
10731
+ locatie?: string;
10732
+ merk?: string;
10733
+ naam?: string;
10734
+ omschrijving?: string;
10735
+ online?: boolean;
10736
+ papierformaat?: string;
10737
+ poort?: number | null;
10738
+ soort?: Database["public"]["Enums"]["printer_kind"];
8750
10739
  updated_at?: string;
8751
- werkbon_id?: string;
10740
+ verbinding?: Database["public"]["Enums"]["printer_connection"];
8752
10741
  };
8753
- Relationships: [{
8754
- foreignKeyName: "planning_items_werkbon_id_fkey";
8755
- columns: ["werkbon_id"];
8756
- isOneToOne: false;
8757
- referencedRelation: "werkbonnen";
8758
- referencedColumns: ["id"];
8759
- }];
10742
+ Relationships: [];
8760
10743
  };
8761
10744
  product_bom_items: {
8762
10745
  Row: {
@@ -11266,6 +13249,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11266
13249
  };
11267
13250
  Relationships: [];
11268
13251
  };
13252
+ twinfield_revoked_accounts: {
13253
+ Row: {
13254
+ account_key: string;
13255
+ last_revoke_error: string | null;
13256
+ revoked_at: string;
13257
+ user_id: string;
13258
+ };
13259
+ Insert: {
13260
+ account_key: string;
13261
+ last_revoke_error?: string | null;
13262
+ revoked_at?: string;
13263
+ user_id: string;
13264
+ };
13265
+ Update: {
13266
+ account_key?: string;
13267
+ last_revoke_error?: string | null;
13268
+ revoked_at?: string;
13269
+ user_id?: string;
13270
+ };
13271
+ Relationships: [];
13272
+ };
11269
13273
  twinfield_session_cache: {
11270
13274
  Row: {
11271
13275
  cluster: string;
@@ -11368,6 +13372,48 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11368
13372
  referencedColumns: ["id"];
11369
13373
  }];
11370
13374
  };
13375
+ voorraad_custom_fields: {
13376
+ Row: {
13377
+ created_at: string;
13378
+ field_key: string;
13379
+ field_label: string;
13380
+ field_type: string;
13381
+ id: string;
13382
+ options: string[];
13383
+ show_in_columns: boolean;
13384
+ show_in_detail: boolean;
13385
+ show_in_template: boolean;
13386
+ sort_order: number;
13387
+ updated_at: string;
13388
+ };
13389
+ Insert: {
13390
+ created_at?: string;
13391
+ field_key: string;
13392
+ field_label: string;
13393
+ field_type?: string;
13394
+ id?: string;
13395
+ options?: string[];
13396
+ show_in_columns?: boolean;
13397
+ show_in_detail?: boolean;
13398
+ show_in_template?: boolean;
13399
+ sort_order?: number;
13400
+ updated_at?: string;
13401
+ };
13402
+ Update: {
13403
+ created_at?: string;
13404
+ field_key?: string;
13405
+ field_label?: string;
13406
+ field_type?: string;
13407
+ id?: string;
13408
+ options?: string[];
13409
+ show_in_columns?: boolean;
13410
+ show_in_detail?: boolean;
13411
+ show_in_template?: boolean;
13412
+ sort_order?: number;
13413
+ updated_at?: string;
13414
+ };
13415
+ Relationships: [];
13416
+ };
11371
13417
  voorraad_media_upload_failures: {
11372
13418
  Row: {
11373
13419
  action: string;
@@ -12025,6 +14071,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12025
14071
  status: string | null;
12026
14072
  token_expires_at: string | null;
12027
14073
  updated_at: string | null;
14074
+ webhook_last_attempt_at: string | null;
14075
+ webhook_last_error: string | null;
14076
+ webhook_status: string | null;
12028
14077
  };
12029
14078
  Insert: {
12030
14079
  account_email?: string | null;
@@ -12059,6 +14108,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12059
14108
  status?: string | null;
12060
14109
  token_expires_at?: string | null;
12061
14110
  updated_at?: string | null;
14111
+ webhook_last_attempt_at?: string | null;
14112
+ webhook_last_error?: string | null;
14113
+ webhook_status?: string | null;
12062
14114
  };
12063
14115
  Update: {
12064
14116
  account_email?: string | null;
@@ -12093,6 +14145,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12093
14145
  status?: string | null;
12094
14146
  token_expires_at?: string | null;
12095
14147
  updated_at?: string | null;
14148
+ webhook_last_attempt_at?: string | null;
14149
+ webhook_last_error?: string | null;
14150
+ webhook_status?: string | null;
12096
14151
  };
12097
14152
  Relationships: [];
12098
14153
  };
@@ -12373,6 +14428,81 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12373
14428
  referencedColumns: ["id"];
12374
14429
  }];
12375
14430
  };
14431
+ v_external_customers_local: {
14432
+ Row: {
14433
+ city: string | null;
14434
+ commercial_name: string | null;
14435
+ company_name: string | null;
14436
+ connection_id: string | null;
14437
+ contact_person: string | null;
14438
+ country: string | null;
14439
+ email: string | null;
14440
+ external_id: string | null;
14441
+ fetched_at: string | null;
14442
+ gln: string | null;
14443
+ house_number: string | null;
14444
+ is_active: boolean | null;
14445
+ is_deleted: boolean | null;
14446
+ logo_url: string | null;
14447
+ phone: string | null;
14448
+ postal_code: string | null;
14449
+ provider: string | null;
14450
+ raw: import("./types").Json | null;
14451
+ status: string | null;
14452
+ street: string | null;
14453
+ vat_number: string | null;
14454
+ website: string | null;
14455
+ };
14456
+ Insert: {
14457
+ city?: string | null;
14458
+ commercial_name?: string | null;
14459
+ company_name?: string | null;
14460
+ connection_id?: never;
14461
+ contact_person?: string | null;
14462
+ country?: string | null;
14463
+ email?: string | null;
14464
+ external_id?: never;
14465
+ fetched_at?: never;
14466
+ gln?: string | null;
14467
+ house_number?: string | null;
14468
+ is_active?: never;
14469
+ is_deleted?: never;
14470
+ logo_url?: string | null;
14471
+ phone?: string | null;
14472
+ postal_code?: string | null;
14473
+ provider?: never;
14474
+ raw?: never;
14475
+ status?: string | null;
14476
+ street?: string | null;
14477
+ vat_number?: string | null;
14478
+ website?: string | null;
14479
+ };
14480
+ Update: {
14481
+ city?: string | null;
14482
+ commercial_name?: string | null;
14483
+ company_name?: string | null;
14484
+ connection_id?: never;
14485
+ contact_person?: string | null;
14486
+ country?: string | null;
14487
+ email?: string | null;
14488
+ external_id?: never;
14489
+ fetched_at?: never;
14490
+ gln?: string | null;
14491
+ house_number?: string | null;
14492
+ is_active?: never;
14493
+ is_deleted?: never;
14494
+ logo_url?: string | null;
14495
+ phone?: string | null;
14496
+ postal_code?: string | null;
14497
+ provider?: never;
14498
+ raw?: never;
14499
+ status?: string | null;
14500
+ street?: string | null;
14501
+ vat_number?: string | null;
14502
+ website?: string | null;
14503
+ };
14504
+ Relationships: [];
14505
+ };
12376
14506
  v_external_customers_twinfield: {
12377
14507
  Row: {
12378
14508
  city: string | null;
@@ -13301,6 +15431,170 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13301
15431
  };
13302
15432
  Returns: string;
13303
15433
  };
15434
+ pick_claim_document: {
15435
+ Args: {
15436
+ _queue_item_id: string;
15437
+ _screen_id: string;
15438
+ _session_id: string;
15439
+ _station_id: string;
15440
+ _timeout_seconds?: number;
15441
+ };
15442
+ Returns: {
15443
+ announced_at: string;
15444
+ assigned_user_id: string | null;
15445
+ barcode: string | null;
15446
+ cancelled_at: string | null;
15447
+ cart_count: number;
15448
+ completed_at: string | null;
15449
+ country_code: string | null;
15450
+ created_at: string;
15451
+ customer_name: string | null;
15452
+ delivery_address: string | null;
15453
+ document_number: string | null;
15454
+ document_type_id: string | null;
15455
+ due_at: string | null;
15456
+ id: string;
15457
+ is_urgent: boolean;
15458
+ line_count: number;
15459
+ order_number: string | null;
15460
+ order_type: string | null;
15461
+ payload: import("./types").Json;
15462
+ print_count: number;
15463
+ printed_at: string | null;
15464
+ printed_by: string | null;
15465
+ printer_id: string | null;
15466
+ priority: number;
15467
+ reference: string | null;
15468
+ route: string | null;
15469
+ screen_id: string | null;
15470
+ station_id: string | null;
15471
+ status_id: string | null;
15472
+ updated_at: string;
15473
+ warnings: import("./types").Json;
15474
+ };
15475
+ SetofOptions: {
15476
+ from: "*";
15477
+ to: "pick_queue";
15478
+ isOneToOne: true;
15479
+ isSetofReturn: false;
15480
+ };
15481
+ };
15482
+ pick_claim_next_document: {
15483
+ Args: {
15484
+ _country_code: string;
15485
+ _screen_id: string;
15486
+ _session_id: string;
15487
+ _station_id: string;
15488
+ _timeout_seconds?: number;
15489
+ };
15490
+ Returns: {
15491
+ announced_at: string;
15492
+ assigned_user_id: string | null;
15493
+ barcode: string | null;
15494
+ cancelled_at: string | null;
15495
+ cart_count: number;
15496
+ completed_at: string | null;
15497
+ country_code: string | null;
15498
+ created_at: string;
15499
+ customer_name: string | null;
15500
+ delivery_address: string | null;
15501
+ document_number: string | null;
15502
+ document_type_id: string | null;
15503
+ due_at: string | null;
15504
+ id: string;
15505
+ is_urgent: boolean;
15506
+ line_count: number;
15507
+ order_number: string | null;
15508
+ order_type: string | null;
15509
+ payload: import("./types").Json;
15510
+ print_count: number;
15511
+ printed_at: string | null;
15512
+ printed_by: string | null;
15513
+ printer_id: string | null;
15514
+ priority: number;
15515
+ reference: string | null;
15516
+ route: string | null;
15517
+ screen_id: string | null;
15518
+ station_id: string | null;
15519
+ status_id: string | null;
15520
+ updated_at: string;
15521
+ warnings: import("./types").Json;
15522
+ };
15523
+ SetofOptions: {
15524
+ from: "*";
15525
+ to: "pick_queue";
15526
+ isOneToOne: true;
15527
+ isSetofReturn: false;
15528
+ };
15529
+ };
15530
+ pick_complete_print: {
15531
+ Args: {
15532
+ _printer_id: string;
15533
+ _queue_item_id: string;
15534
+ _session_id: string;
15535
+ };
15536
+ Returns: {
15537
+ announced_at: string;
15538
+ assigned_user_id: string | null;
15539
+ barcode: string | null;
15540
+ cancelled_at: string | null;
15541
+ cart_count: number;
15542
+ completed_at: string | null;
15543
+ country_code: string | null;
15544
+ created_at: string;
15545
+ customer_name: string | null;
15546
+ delivery_address: string | null;
15547
+ document_number: string | null;
15548
+ document_type_id: string | null;
15549
+ due_at: string | null;
15550
+ id: string;
15551
+ is_urgent: boolean;
15552
+ line_count: number;
15553
+ order_number: string | null;
15554
+ order_type: string | null;
15555
+ payload: import("./types").Json;
15556
+ print_count: number;
15557
+ printed_at: string | null;
15558
+ printed_by: string | null;
15559
+ printer_id: string | null;
15560
+ priority: number;
15561
+ reference: string | null;
15562
+ route: string | null;
15563
+ screen_id: string | null;
15564
+ station_id: string | null;
15565
+ status_id: string | null;
15566
+ updated_at: string;
15567
+ warnings: import("./types").Json;
15568
+ };
15569
+ SetofOptions: {
15570
+ from: "*";
15571
+ to: "pick_queue";
15572
+ isOneToOne: true;
15573
+ isSetofReturn: false;
15574
+ };
15575
+ };
15576
+ pick_release_expired_locks: {
15577
+ Args: never;
15578
+ Returns: number;
15579
+ };
15580
+ pick_release_lock: {
15581
+ Args: {
15582
+ _queue_item_id: string;
15583
+ };
15584
+ Returns: undefined;
15585
+ };
15586
+ pick_station_dashboard: {
15587
+ Args: never;
15588
+ Returns: {
15589
+ active: number;
15590
+ active_sessions: number;
15591
+ avg_wait_seconds: number;
15592
+ done_today: number;
15593
+ station_id: string;
15594
+ station_name: string;
15595
+ waiting: number;
15596
+ }[];
15597
+ };
13304
15598
  pickstation_get_orders_raw: {
13305
15599
  Args: never;
13306
15600
  Returns: import("./types").Json;
@@ -13402,6 +15696,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13402
15696
  };
13403
15697
  Returns: number;
13404
15698
  };
15699
+ release_debtor_lock: {
15700
+ Args: {
15701
+ _group_key: string;
15702
+ _user_id: string;
15703
+ };
15704
+ Returns: boolean;
15705
+ };
13405
15706
  reorder_customer_price_groups: {
13406
15707
  Args: {
13407
15708
  _ids: string[];
@@ -13781,6 +16082,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13781
16082
  };
13782
16083
  Returns: undefined;
13783
16084
  };
16085
+ try_debtor_lock: {
16086
+ Args: {
16087
+ _group_key: string;
16088
+ _user_id: string;
16089
+ };
16090
+ Returns: boolean;
16091
+ };
16092
+ twinfield_register_cron: {
16093
+ Args: {
16094
+ apikey: string;
16095
+ base_url: string;
16096
+ };
16097
+ Returns: import("./types").Json;
16098
+ };
13784
16099
  twinfield_upsert_connection_by_account_key: {
13785
16100
  Args: {
13786
16101
  p_account_key: string;
@@ -13807,12 +16122,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13807
16122
  };
13808
16123
  };
13809
16124
  Enums: {
16125
+ ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
13810
16126
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
16127
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
16128
+ doc_orientation: "portrait" | "landscape";
13811
16129
  exact_env: "staging" | "live";
13812
16130
  exact_push_status: "pending" | "sent" | "error";
13813
16131
  itk_customer_segment: "Business" | "Private";
13814
16132
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
13815
16133
  planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
16134
+ print_job_status: "wachtend" | "bezig" | "voltooid" | "mislukt" | "geannuleerd";
16135
+ printer_connection: "ipp" | "raw9100" | "printnode" | "cups" | "usb" | "windows" | "airprint" | "cloud";
16136
+ printer_kind: "labelprinter" | "laserprinter" | "inkjet" | "thermal" | "kantoorprinter" | "overig";
13816
16137
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
13817
16138
  };
13818
16139
  CompositeTypes: { [_ in never]: never; };