@flowselections/layout-maker 1.31.0 → 1.36.7

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 (75) hide show
  1. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  2. package/dist-lib/components/ComputersLijst.js +5 -5
  3. package/dist-lib/components/DocumentenPage.d.ts.map +1 -1
  4. package/dist-lib/components/DocumentenPage.js +3 -2
  5. package/dist-lib/components/LayoutPrinterSelect.d.ts +8 -0
  6. package/dist-lib/components/LayoutPrinterSelect.d.ts.map +1 -0
  7. package/dist-lib/components/LayoutPrinterSelect.js +23 -0
  8. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  9. package/dist-lib/components/LayoutsPage.js +16 -3
  10. package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
  11. package/dist-lib/components/PakbonBuilderPage.js +3 -1
  12. package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -1
  13. package/dist-lib/components/PakbonSectiesPanel.js +6 -2
  14. package/dist-lib/components/PdfMapAutoSaver.d.ts +6 -0
  15. package/dist-lib/components/PdfMapAutoSaver.d.ts.map +1 -0
  16. package/dist-lib/components/PdfMapAutoSaver.js +12 -0
  17. package/dist-lib/components/PdfMapGlobaleBanner.d.ts +12 -0
  18. package/dist-lib/components/PdfMapGlobaleBanner.d.ts.map +1 -0
  19. package/dist-lib/components/PdfMapGlobaleBanner.js +30 -0
  20. package/dist-lib/components/PdfMapToestemmingBanner.d.ts +7 -0
  21. package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +1 -0
  22. package/dist-lib/components/PdfMapToestemmingBanner.js +139 -0
  23. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  24. package/dist-lib/components/PrintQueuePage.js +42 -3
  25. package/dist-lib/components/PrintenPage.d.ts.map +1 -1
  26. package/dist-lib/components/PrintenPage.js +3 -2
  27. package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
  28. package/dist-lib/components/PrinterSetupWizard.js +25 -2
  29. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
  30. package/dist-lib/components/PrintplekDetailPage.js +30 -4
  31. package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
  32. package/dist-lib/components/PrintplekWizard.js +81 -3
  33. package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -1
  34. package/dist-lib/components/ProductiebonBuilderPage.js +3 -1
  35. package/dist-lib/index.d.ts +6 -0
  36. package/dist-lib/index.d.ts.map +1 -1
  37. package/dist-lib/index.js +11 -1
  38. package/dist-lib/integrations/supabase/auth-middleware.d.ts +293 -8
  39. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  40. package/dist-lib/integrations/supabase/client.server.d.ts +293 -8
  41. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  42. package/dist-lib/integrations/supabase/types.d.ts +295 -8
  43. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  44. package/dist-lib/lib/aiLayout.functions.d.ts +293 -8
  45. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
  47. package/dist-lib/lib/htmlPdf.server.js +43 -6
  48. package/dist-lib/lib/orderData.server.d.ts.map +1 -1
  49. package/dist-lib/lib/orderData.server.js +117 -10
  50. package/dist-lib/lib/pdfJobSaver.d.ts +20 -0
  51. package/dist-lib/lib/pdfJobSaver.d.ts.map +1 -0
  52. package/dist-lib/lib/pdfJobSaver.js +173 -0
  53. package/dist-lib/lib/pdfMap.d.ts +48 -0
  54. package/dist-lib/lib/pdfMap.d.ts.map +1 -0
  55. package/dist-lib/lib/pdfMap.js +219 -0
  56. package/dist-lib/lib/pdfPrinter.d.ts +9 -0
  57. package/dist-lib/lib/pdfPrinter.d.ts.map +1 -0
  58. package/dist-lib/lib/pdfPrinter.js +34 -0
  59. package/dist-lib/lib/previewPdf.d.ts +10 -0
  60. package/dist-lib/lib/previewPdf.d.ts.map +1 -0
  61. package/dist-lib/lib/previewPdf.js +202 -0
  62. package/dist-lib/lib/printApi.d.ts.map +1 -1
  63. package/dist-lib/lib/printApi.js +9 -1
  64. package/dist-lib/lib/printQueue.server.d.ts +14 -1
  65. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  66. package/dist-lib/lib/printQueue.server.js +125 -27
  67. package/dist-lib/lib/printService.functions.d.ts +1172 -32
  68. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  69. package/dist-lib/lib/useDocumentData.d.ts +10 -0
  70. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  71. package/dist-lib/lib/useDocumentData.js +19 -0
  72. package/dist-lib/lib/voorbeeldPrint.d.ts +4 -0
  73. package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
  74. package/dist-lib/lib/voorbeeldPrint.js +13 -2
  75. package/package.json +14 -2
@@ -2851,6 +2851,84 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -13659,6 +13737,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13659
13737
  is_herprint: boolean;
13660
13738
  kopieen: number;
13661
13739
  layout_id: string | null;
13740
+ lokaal_opgeslagen_op: string | null;
13741
+ lokale_pdf_fout: string | null;
13742
+ lokale_pdf_status: string | null;
13662
13743
  opgepakt_op: string | null;
13663
13744
  paginas: number;
13664
13745
  payload: import("../integrations/supabase/types.js").Json;
@@ -13667,6 +13748,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13667
13748
  pogingen: number;
13668
13749
  printer_id: string | null;
13669
13750
  render_html: string | null;
13751
+ resultaat_pdf_base64: string | null;
13670
13752
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13671
13753
  updated_at: string;
13672
13754
  volgende_poging: string | null;
@@ -13691,6 +13773,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13691
13773
  is_herprint?: boolean;
13692
13774
  kopieen?: number;
13693
13775
  layout_id?: string | null;
13776
+ lokaal_opgeslagen_op?: string | null;
13777
+ lokale_pdf_fout?: string | null;
13778
+ lokale_pdf_status?: string | null;
13694
13779
  opgepakt_op?: string | null;
13695
13780
  paginas?: number;
13696
13781
  payload?: import("../integrations/supabase/types.js").Json;
@@ -13699,6 +13784,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13699
13784
  pogingen?: number;
13700
13785
  printer_id?: string | null;
13701
13786
  render_html?: string | null;
13787
+ resultaat_pdf_base64?: string | null;
13702
13788
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13703
13789
  updated_at?: string;
13704
13790
  volgende_poging?: string | null;
@@ -13723,6 +13809,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13723
13809
  is_herprint?: boolean;
13724
13810
  kopieen?: number;
13725
13811
  layout_id?: string | null;
13812
+ lokaal_opgeslagen_op?: string | null;
13813
+ lokale_pdf_fout?: string | null;
13814
+ lokale_pdf_status?: string | null;
13726
13815
  opgepakt_op?: string | null;
13727
13816
  paginas?: number;
13728
13817
  payload?: import("../integrations/supabase/types.js").Json;
@@ -13731,6 +13820,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13731
13820
  pogingen?: number;
13732
13821
  printer_id?: string | null;
13733
13822
  render_html?: string | null;
13823
+ resultaat_pdf_base64?: string | null;
13734
13824
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13735
13825
  updated_at?: string;
13736
13826
  volgende_poging?: string | null;
@@ -13849,6 +13939,39 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13849
13939
  };
13850
13940
  Relationships: [];
13851
13941
  };
13942
+ print_preview_events: {
13943
+ Row: {
13944
+ code: string | null;
13945
+ created_at: string;
13946
+ detail: import("../integrations/supabase/types.js").Json;
13947
+ id: string;
13948
+ queue_item_id: string | null;
13949
+ reden: string | null;
13950
+ station_slug: string | null;
13951
+ uitkomst: string;
13952
+ };
13953
+ Insert: {
13954
+ code?: string | null;
13955
+ created_at?: string;
13956
+ detail?: import("../integrations/supabase/types.js").Json;
13957
+ id?: string;
13958
+ queue_item_id?: string | null;
13959
+ reden?: string | null;
13960
+ station_slug?: string | null;
13961
+ uitkomst?: string;
13962
+ };
13963
+ Update: {
13964
+ code?: string | null;
13965
+ created_at?: string;
13966
+ detail?: import("../integrations/supabase/types.js").Json;
13967
+ id?: string;
13968
+ queue_item_id?: string | null;
13969
+ reden?: string | null;
13970
+ station_slug?: string | null;
13971
+ uitkomst?: string;
13972
+ };
13973
+ Relationships: [];
13974
+ };
13852
13975
  print_queue_runners: {
13853
13976
  Row: {
13854
13977
  actief: boolean;
@@ -14088,6 +14211,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
14088
14211
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
14089
14212
  online: boolean;
14090
14213
  papierformaat: string;
14214
+ pdf_map: string | null;
14091
14215
  poort: number | null;
14092
14216
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14093
14217
  systeemnaam: string;
@@ -14113,6 +14237,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
14113
14237
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
14114
14238
  online?: boolean;
14115
14239
  papierformaat?: string;
14240
+ pdf_map?: string | null;
14116
14241
  poort?: number | null;
14117
14242
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14118
14243
  systeemnaam?: string;
@@ -14138,6 +14263,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
14138
14263
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
14139
14264
  online?: boolean;
14140
14265
  papierformaat?: string;
14266
+ pdf_map?: string | null;
14141
14267
  poort?: number | null;
14142
14268
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14143
14269
  systeemnaam?: string;
@@ -20394,6 +20520,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20394
20520
  is_herprint: boolean;
20395
20521
  kopieen: number;
20396
20522
  layout_id: string | null;
20523
+ lokaal_opgeslagen_op: string | null;
20524
+ lokale_pdf_fout: string | null;
20525
+ lokale_pdf_status: string | null;
20397
20526
  opgepakt_op: string | null;
20398
20527
  paginas: number;
20399
20528
  payload: import("../integrations/supabase/types.js").Json;
@@ -20402,6 +20531,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20402
20531
  pogingen: number;
20403
20532
  printer_id: string | null;
20404
20533
  render_html: string | null;
20534
+ resultaat_pdf_base64: string | null;
20405
20535
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20406
20536
  updated_at: string;
20407
20537
  volgende_poging: string | null;
@@ -20493,6 +20623,53 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20493
20623
  isSetofReturn: true;
20494
20624
  };
20495
20625
  };
20626
+ claim_pdf_print_jobs: {
20627
+ Args: {
20628
+ _max?: number;
20629
+ };
20630
+ Returns: {
20631
+ agent_id: string | null;
20632
+ bron_job_id: string | null;
20633
+ created_at: string;
20634
+ documentnaam: string;
20635
+ documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
20636
+ extern_job_id: string | null;
20637
+ foutmelding: string | null;
20638
+ gebruiker_id: string | null;
20639
+ gebruiker_naam: string;
20640
+ gebruikte_bron: string | null;
20641
+ gebruikte_layout_id: string | null;
20642
+ gestart_op: string | null;
20643
+ herkomst: string | null;
20644
+ id: string;
20645
+ idempotentie_sleutel: string | null;
20646
+ is_herprint: boolean;
20647
+ kopieen: number;
20648
+ layout_id: string | null;
20649
+ lokaal_opgeslagen_op: string | null;
20650
+ lokale_pdf_fout: string | null;
20651
+ lokale_pdf_status: string | null;
20652
+ opgepakt_op: string | null;
20653
+ paginas: number;
20654
+ payload: import("../integrations/supabase/types.js").Json;
20655
+ pdf_base64: string | null;
20656
+ pdf_url: string | null;
20657
+ pogingen: number;
20658
+ printer_id: string | null;
20659
+ render_html: string | null;
20660
+ resultaat_pdf_base64: string | null;
20661
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20662
+ updated_at: string;
20663
+ volgende_poging: string | null;
20664
+ voltooid_op: string | null;
20665
+ }[];
20666
+ SetofOptions: {
20667
+ from: "*";
20668
+ to: "print_jobs";
20669
+ isOneToOne: false;
20670
+ isSetofReturn: true;
20671
+ };
20672
+ };
20496
20673
  claim_print_jobs: {
20497
20674
  Args: {
20498
20675
  _agent_id: string;
@@ -20517,6 +20694,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20517
20694
  is_herprint: boolean;
20518
20695
  kopieen: number;
20519
20696
  layout_id: string | null;
20697
+ lokaal_opgeslagen_op: string | null;
20698
+ lokale_pdf_fout: string | null;
20699
+ lokale_pdf_status: string | null;
20520
20700
  opgepakt_op: string | null;
20521
20701
  paginas: number;
20522
20702
  payload: import("../integrations/supabase/types.js").Json;
@@ -20525,6 +20705,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20525
20705
  pogingen: number;
20526
20706
  printer_id: string | null;
20527
20707
  render_html: string | null;
20708
+ resultaat_pdf_base64: string | null;
20528
20709
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20529
20710
  updated_at: string;
20530
20711
  volgende_poging: string | null;
@@ -20665,6 +20846,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20665
20846
  order_id: string;
20666
20847
  order_source: string;
20667
20848
  pick_date: string;
20849
+ printed_at: string;
20850
+ printed_today: boolean;
20668
20851
  status: string;
20669
20852
  }[];
20670
20853
  };
@@ -21373,6 +21556,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21373
21556
  };
21374
21557
  Returns: number;
21375
21558
  };
21559
+ logistics_cancel_orphan_tasks: {
21560
+ Args: never;
21561
+ Returns: number;
21562
+ };
21376
21563
  logistics_capacity_day_check: {
21377
21564
  Args: {
21378
21565
  p_from?: string;
@@ -21393,6 +21580,25 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21393
21580
  };
21394
21581
  Returns: number;
21395
21582
  };
21583
+ logistics_cart_index: {
21584
+ Args: {
21585
+ p_from?: string;
21586
+ p_to?: string;
21587
+ };
21588
+ Returns: {
21589
+ cart_id: string;
21590
+ cart_index: number;
21591
+ cart_label: string;
21592
+ is_shared: boolean;
21593
+ order_number: string;
21594
+ order_source: string;
21595
+ order_uuid: string;
21596
+ pick_date: string;
21597
+ printed_at: string;
21598
+ shifted: boolean;
21599
+ task_status: string;
21600
+ }[];
21601
+ };
21396
21602
  logistics_check_order_allowed: {
21397
21603
  Args: {
21398
21604
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -21541,6 +21747,17 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21541
21747
  isSetofReturn: false;
21542
21748
  };
21543
21749
  };
21750
+ logistics_consistency_check: {
21751
+ Args: never;
21752
+ Returns: {
21753
+ agenda_carts: number;
21754
+ control_carts: number;
21755
+ ok: boolean;
21756
+ orphan_tasks: number;
21757
+ pick_date: string;
21758
+ raw_carts: number;
21759
+ }[];
21760
+ };
21544
21761
  logistics_delay_customer_email: {
21545
21762
  Args: {
21546
21763
  p_customer: string;
@@ -21734,6 +21951,25 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21734
21951
  };
21735
21952
  Returns: number;
21736
21953
  };
21954
+ logistics_order_overview: {
21955
+ Args: {
21956
+ p_from?: string;
21957
+ p_to?: string;
21958
+ };
21959
+ Returns: {
21960
+ cart_count: number;
21961
+ customer_name: string;
21962
+ delivery_date: string;
21963
+ order_number: string;
21964
+ order_source: string;
21965
+ order_uuid: string;
21966
+ pick_date: string;
21967
+ plant_count: number;
21968
+ printed_at: string;
21969
+ shifted: boolean;
21970
+ status: string;
21971
+ }[];
21972
+ };
21737
21973
  logistics_order_pick_day: {
21738
21974
  Args: {
21739
21975
  p_order_ref: string;
@@ -21746,6 +21982,22 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21746
21982
  };
21747
21983
  Returns: string;
21748
21984
  };
21985
+ logistics_pick_agenda: {
21986
+ Args: {
21987
+ p_from?: string;
21988
+ p_to?: string;
21989
+ };
21990
+ Returns: {
21991
+ cart_count: number;
21992
+ in_preparation: number;
21993
+ order_count: number;
21994
+ orders: import("../integrations/supabase/types.js").Json;
21995
+ pick_date: string;
21996
+ plant_count: number;
21997
+ ready: number;
21998
+ shifted_count: number;
21999
+ }[];
22000
+ };
21749
22001
  logistics_pick_email_purpose: {
21750
22002
  Args: never;
21751
22003
  Returns: string;
@@ -21905,6 +22157,15 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21905
22157
  };
21906
22158
  Returns: import("../integrations/supabase/types.js").Json;
21907
22159
  };
22160
+ logistics_resolve_pick_document: {
22161
+ Args: {
22162
+ _is_herprint: boolean;
22163
+ _queue_item_id: string;
22164
+ _session_id: string;
22165
+ _voorbeeld: boolean;
22166
+ };
22167
+ Returns: import("../integrations/supabase/types.js").Json;
22168
+ };
21908
22169
  logistics_resolve_settings: {
21909
22170
  Args: {
21910
22171
  p_config_id: string;
@@ -22344,13 +22605,6 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22344
22605
  Returns: import("../integrations/supabase/types.js").Json;
22345
22606
  };
22346
22607
  pick_enqueue_print_job: {
22347
- Args: {
22348
- _printer_id?: string;
22349
- _queue_item_id: string;
22350
- _session_id?: string;
22351
- };
22352
- Returns: string;
22353
- } | {
22354
22608
  Args: {
22355
22609
  _is_herprint?: boolean;
22356
22610
  _printer_id?: string;
@@ -22366,6 +22620,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22366
22620
  };
22367
22621
  Returns: import("../integrations/supabase/types.js").Json;
22368
22622
  };
22623
+ pick_preview_job: {
22624
+ Args: {
22625
+ _queue_item_id: string;
22626
+ _station_slug: string;
22627
+ };
22628
+ Returns: import("../integrations/supabase/types.js").Json;
22629
+ };
22369
22630
  pick_print_job_status: {
22370
22631
  Args: {
22371
22632
  _job_id: string;
@@ -22543,6 +22804,24 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22543
22804
  };
22544
22805
  Returns: undefined;
22545
22806
  };
22807
+ print_preview_toestaan: {
22808
+ Args: {
22809
+ _max?: number;
22810
+ _queue_item_id: string;
22811
+ _station_slug: string;
22812
+ _venster_sec?: number;
22813
+ };
22814
+ Returns: import("../integrations/supabase/types.js").Json;
22815
+ };
22816
+ print_preview_weiger: {
22817
+ Args: {
22818
+ _code: string;
22819
+ _queue_item_id: string;
22820
+ _reden: string;
22821
+ _station_slug: string;
22822
+ };
22823
+ Returns: undefined;
22824
+ };
22546
22825
  process_logistics_event: {
22547
22826
  Args: {
22548
22827
  p_event_id: string;
@@ -22697,6 +22976,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22697
22976
  };
22698
22977
  Returns: string;
22699
22978
  };
22979
+ resolve_print_job_printer_id: {
22980
+ Args: {
22981
+ _job: import("../integrations/supabase/types.js").Database["public"]["Tables"]["print_jobs"]["Row"];
22982
+ };
22983
+ Returns: string;
22984
+ };
22700
22985
  resolve_product_id_for_item: {
22701
22986
  Args: {
22702
22987
  p_product_name: string;
@@ -23288,7 +23573,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
23288
23573
  };
23289
23574
  CompositeTypes: { [_ in never]: never; };
23290
23575
  }, {
23291
- PostgrestVersion: "14.17";
23576
+ PostgrestVersion: "14.5";
23292
23577
  }>;
23293
23578
  userId: string;
23294
23579
  claims: import("@supabase/auth-js").JwtPayload;
@@ -26154,6 +26439,84 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
26154
26439
  };
26155
26440
  Relationships: [];
26156
26441
  };
26442
+ delivery_notes: {
26443
+ Row: {
26444
+ byte_size: number | null;
26445
+ connection_id: string | null;
26446
+ content_type: string;
26447
+ created_at: string;
26448
+ error_message: string | null;
26449
+ fetched_at: string | null;
26450
+ fulfillment_order_id: string | null;
26451
+ http_status: number | null;
26452
+ id: string;
26453
+ label_code: string | null;
26454
+ letter: string | null;
26455
+ load_carrier_index: number | null;
26456
+ load_carrier_type: string | null;
26457
+ order_id: string | null;
26458
+ order_number: string | null;
26459
+ packages: number | null;
26460
+ source: string;
26461
+ status: string;
26462
+ storage_bucket: string;
26463
+ storage_path: string | null;
26464
+ updated_at: string;
26465
+ };
26466
+ Insert: {
26467
+ byte_size?: number | null;
26468
+ connection_id?: string | null;
26469
+ content_type?: string;
26470
+ created_at?: string;
26471
+ error_message?: string | null;
26472
+ fetched_at?: string | null;
26473
+ fulfillment_order_id?: string | null;
26474
+ http_status?: number | null;
26475
+ id?: string;
26476
+ label_code?: string | null;
26477
+ letter?: string | null;
26478
+ load_carrier_index?: number | null;
26479
+ load_carrier_type?: string | null;
26480
+ order_id?: string | null;
26481
+ order_number?: string | null;
26482
+ packages?: number | null;
26483
+ source?: string;
26484
+ status?: string;
26485
+ storage_bucket?: string;
26486
+ storage_path?: string | null;
26487
+ updated_at?: string;
26488
+ };
26489
+ Update: {
26490
+ byte_size?: number | null;
26491
+ connection_id?: string | null;
26492
+ content_type?: string;
26493
+ created_at?: string;
26494
+ error_message?: string | null;
26495
+ fetched_at?: string | null;
26496
+ fulfillment_order_id?: string | null;
26497
+ http_status?: number | null;
26498
+ id?: string;
26499
+ label_code?: string | null;
26500
+ letter?: string | null;
26501
+ load_carrier_index?: number | null;
26502
+ load_carrier_type?: string | null;
26503
+ order_id?: string | null;
26504
+ order_number?: string | null;
26505
+ packages?: number | null;
26506
+ source?: string;
26507
+ status?: string;
26508
+ storage_bucket?: string;
26509
+ storage_path?: string | null;
26510
+ updated_at?: string;
26511
+ };
26512
+ Relationships: [{
26513
+ foreignKeyName: "delivery_notes_order_id_fkey";
26514
+ columns: ["order_id"];
26515
+ isOneToOne: false;
26516
+ referencedRelation: "orders";
26517
+ referencedColumns: ["id"];
26518
+ }];
26519
+ };
26157
26520
  document_bronregels: {
26158
26521
  Row: {
26159
26522
  bron: string;
@@ -36962,6 +37325,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
36962
37325
  is_herprint: boolean;
36963
37326
  kopieen: number;
36964
37327
  layout_id: string | null;
37328
+ lokaal_opgeslagen_op: string | null;
37329
+ lokale_pdf_fout: string | null;
37330
+ lokale_pdf_status: string | null;
36965
37331
  opgepakt_op: string | null;
36966
37332
  paginas: number;
36967
37333
  payload: import("../integrations/supabase/types.js").Json;
@@ -36970,6 +37336,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
36970
37336
  pogingen: number;
36971
37337
  printer_id: string | null;
36972
37338
  render_html: string | null;
37339
+ resultaat_pdf_base64: string | null;
36973
37340
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
36974
37341
  updated_at: string;
36975
37342
  volgende_poging: string | null;
@@ -36994,6 +37361,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
36994
37361
  is_herprint?: boolean;
36995
37362
  kopieen?: number;
36996
37363
  layout_id?: string | null;
37364
+ lokaal_opgeslagen_op?: string | null;
37365
+ lokale_pdf_fout?: string | null;
37366
+ lokale_pdf_status?: string | null;
36997
37367
  opgepakt_op?: string | null;
36998
37368
  paginas?: number;
36999
37369
  payload?: import("../integrations/supabase/types.js").Json;
@@ -37002,6 +37372,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37002
37372
  pogingen?: number;
37003
37373
  printer_id?: string | null;
37004
37374
  render_html?: string | null;
37375
+ resultaat_pdf_base64?: string | null;
37005
37376
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
37006
37377
  updated_at?: string;
37007
37378
  volgende_poging?: string | null;
@@ -37026,6 +37397,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37026
37397
  is_herprint?: boolean;
37027
37398
  kopieen?: number;
37028
37399
  layout_id?: string | null;
37400
+ lokaal_opgeslagen_op?: string | null;
37401
+ lokale_pdf_fout?: string | null;
37402
+ lokale_pdf_status?: string | null;
37029
37403
  opgepakt_op?: string | null;
37030
37404
  paginas?: number;
37031
37405
  payload?: import("../integrations/supabase/types.js").Json;
@@ -37034,6 +37408,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37034
37408
  pogingen?: number;
37035
37409
  printer_id?: string | null;
37036
37410
  render_html?: string | null;
37411
+ resultaat_pdf_base64?: string | null;
37037
37412
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
37038
37413
  updated_at?: string;
37039
37414
  volgende_poging?: string | null;
@@ -37152,6 +37527,39 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37152
37527
  };
37153
37528
  Relationships: [];
37154
37529
  };
37530
+ print_preview_events: {
37531
+ Row: {
37532
+ code: string | null;
37533
+ created_at: string;
37534
+ detail: import("../integrations/supabase/types.js").Json;
37535
+ id: string;
37536
+ queue_item_id: string | null;
37537
+ reden: string | null;
37538
+ station_slug: string | null;
37539
+ uitkomst: string;
37540
+ };
37541
+ Insert: {
37542
+ code?: string | null;
37543
+ created_at?: string;
37544
+ detail?: import("../integrations/supabase/types.js").Json;
37545
+ id?: string;
37546
+ queue_item_id?: string | null;
37547
+ reden?: string | null;
37548
+ station_slug?: string | null;
37549
+ uitkomst?: string;
37550
+ };
37551
+ Update: {
37552
+ code?: string | null;
37553
+ created_at?: string;
37554
+ detail?: import("../integrations/supabase/types.js").Json;
37555
+ id?: string;
37556
+ queue_item_id?: string | null;
37557
+ reden?: string | null;
37558
+ station_slug?: string | null;
37559
+ uitkomst?: string;
37560
+ };
37561
+ Relationships: [];
37562
+ };
37155
37563
  print_queue_runners: {
37156
37564
  Row: {
37157
37565
  actief: boolean;
@@ -37391,6 +37799,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37391
37799
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
37392
37800
  online: boolean;
37393
37801
  papierformaat: string;
37802
+ pdf_map: string | null;
37394
37803
  poort: number | null;
37395
37804
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
37396
37805
  systeemnaam: string;
@@ -37416,6 +37825,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37416
37825
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
37417
37826
  online?: boolean;
37418
37827
  papierformaat?: string;
37828
+ pdf_map?: string | null;
37419
37829
  poort?: number | null;
37420
37830
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
37421
37831
  systeemnaam?: string;
@@ -37441,6 +37851,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37441
37851
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
37442
37852
  online?: boolean;
37443
37853
  papierformaat?: string;
37854
+ pdf_map?: string | null;
37444
37855
  poort?: number | null;
37445
37856
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
37446
37857
  systeemnaam?: string;
@@ -43697,6 +44108,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43697
44108
  is_herprint: boolean;
43698
44109
  kopieen: number;
43699
44110
  layout_id: string | null;
44111
+ lokaal_opgeslagen_op: string | null;
44112
+ lokale_pdf_fout: string | null;
44113
+ lokale_pdf_status: string | null;
43700
44114
  opgepakt_op: string | null;
43701
44115
  paginas: number;
43702
44116
  payload: import("../integrations/supabase/types.js").Json;
@@ -43705,6 +44119,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43705
44119
  pogingen: number;
43706
44120
  printer_id: string | null;
43707
44121
  render_html: string | null;
44122
+ resultaat_pdf_base64: string | null;
43708
44123
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
43709
44124
  updated_at: string;
43710
44125
  volgende_poging: string | null;
@@ -43796,6 +44211,53 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43796
44211
  isSetofReturn: true;
43797
44212
  };
43798
44213
  };
44214
+ claim_pdf_print_jobs: {
44215
+ Args: {
44216
+ _max?: number;
44217
+ };
44218
+ Returns: {
44219
+ agent_id: string | null;
44220
+ bron_job_id: string | null;
44221
+ created_at: string;
44222
+ documentnaam: string;
44223
+ documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
44224
+ extern_job_id: string | null;
44225
+ foutmelding: string | null;
44226
+ gebruiker_id: string | null;
44227
+ gebruiker_naam: string;
44228
+ gebruikte_bron: string | null;
44229
+ gebruikte_layout_id: string | null;
44230
+ gestart_op: string | null;
44231
+ herkomst: string | null;
44232
+ id: string;
44233
+ idempotentie_sleutel: string | null;
44234
+ is_herprint: boolean;
44235
+ kopieen: number;
44236
+ layout_id: string | null;
44237
+ lokaal_opgeslagen_op: string | null;
44238
+ lokale_pdf_fout: string | null;
44239
+ lokale_pdf_status: string | null;
44240
+ opgepakt_op: string | null;
44241
+ paginas: number;
44242
+ payload: import("../integrations/supabase/types.js").Json;
44243
+ pdf_base64: string | null;
44244
+ pdf_url: string | null;
44245
+ pogingen: number;
44246
+ printer_id: string | null;
44247
+ render_html: string | null;
44248
+ resultaat_pdf_base64: string | null;
44249
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
44250
+ updated_at: string;
44251
+ volgende_poging: string | null;
44252
+ voltooid_op: string | null;
44253
+ }[];
44254
+ SetofOptions: {
44255
+ from: "*";
44256
+ to: "print_jobs";
44257
+ isOneToOne: false;
44258
+ isSetofReturn: true;
44259
+ };
44260
+ };
43799
44261
  claim_print_jobs: {
43800
44262
  Args: {
43801
44263
  _agent_id: string;
@@ -43820,6 +44282,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43820
44282
  is_herprint: boolean;
43821
44283
  kopieen: number;
43822
44284
  layout_id: string | null;
44285
+ lokaal_opgeslagen_op: string | null;
44286
+ lokale_pdf_fout: string | null;
44287
+ lokale_pdf_status: string | null;
43823
44288
  opgepakt_op: string | null;
43824
44289
  paginas: number;
43825
44290
  payload: import("../integrations/supabase/types.js").Json;
@@ -43828,6 +44293,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43828
44293
  pogingen: number;
43829
44294
  printer_id: string | null;
43830
44295
  render_html: string | null;
44296
+ resultaat_pdf_base64: string | null;
43831
44297
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
43832
44298
  updated_at: string;
43833
44299
  volgende_poging: string | null;
@@ -43968,6 +44434,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43968
44434
  order_id: string;
43969
44435
  order_source: string;
43970
44436
  pick_date: string;
44437
+ printed_at: string;
44438
+ printed_today: boolean;
43971
44439
  status: string;
43972
44440
  }[];
43973
44441
  };
@@ -44676,6 +45144,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44676
45144
  };
44677
45145
  Returns: number;
44678
45146
  };
45147
+ logistics_cancel_orphan_tasks: {
45148
+ Args: never;
45149
+ Returns: number;
45150
+ };
44679
45151
  logistics_capacity_day_check: {
44680
45152
  Args: {
44681
45153
  p_from?: string;
@@ -44696,6 +45168,25 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44696
45168
  };
44697
45169
  Returns: number;
44698
45170
  };
45171
+ logistics_cart_index: {
45172
+ Args: {
45173
+ p_from?: string;
45174
+ p_to?: string;
45175
+ };
45176
+ Returns: {
45177
+ cart_id: string;
45178
+ cart_index: number;
45179
+ cart_label: string;
45180
+ is_shared: boolean;
45181
+ order_number: string;
45182
+ order_source: string;
45183
+ order_uuid: string;
45184
+ pick_date: string;
45185
+ printed_at: string;
45186
+ shifted: boolean;
45187
+ task_status: string;
45188
+ }[];
45189
+ };
44699
45190
  logistics_check_order_allowed: {
44700
45191
  Args: {
44701
45192
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -44844,6 +45335,17 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44844
45335
  isSetofReturn: false;
44845
45336
  };
44846
45337
  };
45338
+ logistics_consistency_check: {
45339
+ Args: never;
45340
+ Returns: {
45341
+ agenda_carts: number;
45342
+ control_carts: number;
45343
+ ok: boolean;
45344
+ orphan_tasks: number;
45345
+ pick_date: string;
45346
+ raw_carts: number;
45347
+ }[];
45348
+ };
44847
45349
  logistics_delay_customer_email: {
44848
45350
  Args: {
44849
45351
  p_customer: string;
@@ -45037,6 +45539,25 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45037
45539
  };
45038
45540
  Returns: number;
45039
45541
  };
45542
+ logistics_order_overview: {
45543
+ Args: {
45544
+ p_from?: string;
45545
+ p_to?: string;
45546
+ };
45547
+ Returns: {
45548
+ cart_count: number;
45549
+ customer_name: string;
45550
+ delivery_date: string;
45551
+ order_number: string;
45552
+ order_source: string;
45553
+ order_uuid: string;
45554
+ pick_date: string;
45555
+ plant_count: number;
45556
+ printed_at: string;
45557
+ shifted: boolean;
45558
+ status: string;
45559
+ }[];
45560
+ };
45040
45561
  logistics_order_pick_day: {
45041
45562
  Args: {
45042
45563
  p_order_ref: string;
@@ -45049,6 +45570,22 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45049
45570
  };
45050
45571
  Returns: string;
45051
45572
  };
45573
+ logistics_pick_agenda: {
45574
+ Args: {
45575
+ p_from?: string;
45576
+ p_to?: string;
45577
+ };
45578
+ Returns: {
45579
+ cart_count: number;
45580
+ in_preparation: number;
45581
+ order_count: number;
45582
+ orders: import("../integrations/supabase/types.js").Json;
45583
+ pick_date: string;
45584
+ plant_count: number;
45585
+ ready: number;
45586
+ shifted_count: number;
45587
+ }[];
45588
+ };
45052
45589
  logistics_pick_email_purpose: {
45053
45590
  Args: never;
45054
45591
  Returns: string;
@@ -45208,6 +45745,15 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45208
45745
  };
45209
45746
  Returns: import("../integrations/supabase/types.js").Json;
45210
45747
  };
45748
+ logistics_resolve_pick_document: {
45749
+ Args: {
45750
+ _is_herprint: boolean;
45751
+ _queue_item_id: string;
45752
+ _session_id: string;
45753
+ _voorbeeld: boolean;
45754
+ };
45755
+ Returns: import("../integrations/supabase/types.js").Json;
45756
+ };
45211
45757
  logistics_resolve_settings: {
45212
45758
  Args: {
45213
45759
  p_config_id: string;
@@ -45647,13 +46193,6 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45647
46193
  Returns: import("../integrations/supabase/types.js").Json;
45648
46194
  };
45649
46195
  pick_enqueue_print_job: {
45650
- Args: {
45651
- _printer_id?: string;
45652
- _queue_item_id: string;
45653
- _session_id?: string;
45654
- };
45655
- Returns: string;
45656
- } | {
45657
46196
  Args: {
45658
46197
  _is_herprint?: boolean;
45659
46198
  _printer_id?: string;
@@ -45669,6 +46208,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45669
46208
  };
45670
46209
  Returns: import("../integrations/supabase/types.js").Json;
45671
46210
  };
46211
+ pick_preview_job: {
46212
+ Args: {
46213
+ _queue_item_id: string;
46214
+ _station_slug: string;
46215
+ };
46216
+ Returns: import("../integrations/supabase/types.js").Json;
46217
+ };
45672
46218
  pick_print_job_status: {
45673
46219
  Args: {
45674
46220
  _job_id: string;
@@ -45846,6 +46392,24 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45846
46392
  };
45847
46393
  Returns: undefined;
45848
46394
  };
46395
+ print_preview_toestaan: {
46396
+ Args: {
46397
+ _max?: number;
46398
+ _queue_item_id: string;
46399
+ _station_slug: string;
46400
+ _venster_sec?: number;
46401
+ };
46402
+ Returns: import("../integrations/supabase/types.js").Json;
46403
+ };
46404
+ print_preview_weiger: {
46405
+ Args: {
46406
+ _code: string;
46407
+ _queue_item_id: string;
46408
+ _reden: string;
46409
+ _station_slug: string;
46410
+ };
46411
+ Returns: undefined;
46412
+ };
45849
46413
  process_logistics_event: {
45850
46414
  Args: {
45851
46415
  p_event_id: string;
@@ -46000,6 +46564,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
46000
46564
  };
46001
46565
  Returns: string;
46002
46566
  };
46567
+ resolve_print_job_printer_id: {
46568
+ Args: {
46569
+ _job: import("../integrations/supabase/types.js").Database["public"]["Tables"]["print_jobs"]["Row"];
46570
+ };
46571
+ Returns: string;
46572
+ };
46003
46573
  resolve_product_id_for_item: {
46004
46574
  Args: {
46005
46575
  p_product_name: string;
@@ -46591,7 +47161,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
46591
47161
  };
46592
47162
  CompositeTypes: { [_ in never]: never; };
46593
47163
  }, {
46594
- PostgrestVersion: "14.17";
47164
+ PostgrestVersion: "14.5";
46595
47165
  }>;
46596
47166
  userId: string;
46597
47167
  claims: import("@supabase/auth-js").JwtPayload;
@@ -49467,6 +50037,84 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
49467
50037
  };
49468
50038
  Relationships: [];
49469
50039
  };
50040
+ delivery_notes: {
50041
+ Row: {
50042
+ byte_size: number | null;
50043
+ connection_id: string | null;
50044
+ content_type: string;
50045
+ created_at: string;
50046
+ error_message: string | null;
50047
+ fetched_at: string | null;
50048
+ fulfillment_order_id: string | null;
50049
+ http_status: number | null;
50050
+ id: string;
50051
+ label_code: string | null;
50052
+ letter: string | null;
50053
+ load_carrier_index: number | null;
50054
+ load_carrier_type: string | null;
50055
+ order_id: string | null;
50056
+ order_number: string | null;
50057
+ packages: number | null;
50058
+ source: string;
50059
+ status: string;
50060
+ storage_bucket: string;
50061
+ storage_path: string | null;
50062
+ updated_at: string;
50063
+ };
50064
+ Insert: {
50065
+ byte_size?: number | null;
50066
+ connection_id?: string | null;
50067
+ content_type?: string;
50068
+ created_at?: string;
50069
+ error_message?: string | null;
50070
+ fetched_at?: string | null;
50071
+ fulfillment_order_id?: string | null;
50072
+ http_status?: number | null;
50073
+ id?: string;
50074
+ label_code?: string | null;
50075
+ letter?: string | null;
50076
+ load_carrier_index?: number | null;
50077
+ load_carrier_type?: string | null;
50078
+ order_id?: string | null;
50079
+ order_number?: string | null;
50080
+ packages?: number | null;
50081
+ source?: string;
50082
+ status?: string;
50083
+ storage_bucket?: string;
50084
+ storage_path?: string | null;
50085
+ updated_at?: string;
50086
+ };
50087
+ Update: {
50088
+ byte_size?: number | null;
50089
+ connection_id?: string | null;
50090
+ content_type?: string;
50091
+ created_at?: string;
50092
+ error_message?: string | null;
50093
+ fetched_at?: string | null;
50094
+ fulfillment_order_id?: string | null;
50095
+ http_status?: number | null;
50096
+ id?: string;
50097
+ label_code?: string | null;
50098
+ letter?: string | null;
50099
+ load_carrier_index?: number | null;
50100
+ load_carrier_type?: string | null;
50101
+ order_id?: string | null;
50102
+ order_number?: string | null;
50103
+ packages?: number | null;
50104
+ source?: string;
50105
+ status?: string;
50106
+ storage_bucket?: string;
50107
+ storage_path?: string | null;
50108
+ updated_at?: string;
50109
+ };
50110
+ Relationships: [{
50111
+ foreignKeyName: "delivery_notes_order_id_fkey";
50112
+ columns: ["order_id"];
50113
+ isOneToOne: false;
50114
+ referencedRelation: "orders";
50115
+ referencedColumns: ["id"];
50116
+ }];
50117
+ };
49470
50118
  document_bronregels: {
49471
50119
  Row: {
49472
50120
  bron: string;
@@ -60275,6 +60923,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60275
60923
  is_herprint: boolean;
60276
60924
  kopieen: number;
60277
60925
  layout_id: string | null;
60926
+ lokaal_opgeslagen_op: string | null;
60927
+ lokale_pdf_fout: string | null;
60928
+ lokale_pdf_status: string | null;
60278
60929
  opgepakt_op: string | null;
60279
60930
  paginas: number;
60280
60931
  payload: import("../integrations/supabase/types.js").Json;
@@ -60283,6 +60934,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60283
60934
  pogingen: number;
60284
60935
  printer_id: string | null;
60285
60936
  render_html: string | null;
60937
+ resultaat_pdf_base64: string | null;
60286
60938
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
60287
60939
  updated_at: string;
60288
60940
  volgende_poging: string | null;
@@ -60307,6 +60959,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60307
60959
  is_herprint?: boolean;
60308
60960
  kopieen?: number;
60309
60961
  layout_id?: string | null;
60962
+ lokaal_opgeslagen_op?: string | null;
60963
+ lokale_pdf_fout?: string | null;
60964
+ lokale_pdf_status?: string | null;
60310
60965
  opgepakt_op?: string | null;
60311
60966
  paginas?: number;
60312
60967
  payload?: import("../integrations/supabase/types.js").Json;
@@ -60315,6 +60970,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60315
60970
  pogingen?: number;
60316
60971
  printer_id?: string | null;
60317
60972
  render_html?: string | null;
60973
+ resultaat_pdf_base64?: string | null;
60318
60974
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
60319
60975
  updated_at?: string;
60320
60976
  volgende_poging?: string | null;
@@ -60339,6 +60995,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60339
60995
  is_herprint?: boolean;
60340
60996
  kopieen?: number;
60341
60997
  layout_id?: string | null;
60998
+ lokaal_opgeslagen_op?: string | null;
60999
+ lokale_pdf_fout?: string | null;
61000
+ lokale_pdf_status?: string | null;
60342
61001
  opgepakt_op?: string | null;
60343
61002
  paginas?: number;
60344
61003
  payload?: import("../integrations/supabase/types.js").Json;
@@ -60347,6 +61006,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60347
61006
  pogingen?: number;
60348
61007
  printer_id?: string | null;
60349
61008
  render_html?: string | null;
61009
+ resultaat_pdf_base64?: string | null;
60350
61010
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
60351
61011
  updated_at?: string;
60352
61012
  volgende_poging?: string | null;
@@ -60465,6 +61125,39 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60465
61125
  };
60466
61126
  Relationships: [];
60467
61127
  };
61128
+ print_preview_events: {
61129
+ Row: {
61130
+ code: string | null;
61131
+ created_at: string;
61132
+ detail: import("../integrations/supabase/types.js").Json;
61133
+ id: string;
61134
+ queue_item_id: string | null;
61135
+ reden: string | null;
61136
+ station_slug: string | null;
61137
+ uitkomst: string;
61138
+ };
61139
+ Insert: {
61140
+ code?: string | null;
61141
+ created_at?: string;
61142
+ detail?: import("../integrations/supabase/types.js").Json;
61143
+ id?: string;
61144
+ queue_item_id?: string | null;
61145
+ reden?: string | null;
61146
+ station_slug?: string | null;
61147
+ uitkomst?: string;
61148
+ };
61149
+ Update: {
61150
+ code?: string | null;
61151
+ created_at?: string;
61152
+ detail?: import("../integrations/supabase/types.js").Json;
61153
+ id?: string;
61154
+ queue_item_id?: string | null;
61155
+ reden?: string | null;
61156
+ station_slug?: string | null;
61157
+ uitkomst?: string;
61158
+ };
61159
+ Relationships: [];
61160
+ };
60468
61161
  print_queue_runners: {
60469
61162
  Row: {
60470
61163
  actief: boolean;
@@ -60704,6 +61397,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60704
61397
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
60705
61398
  online: boolean;
60706
61399
  papierformaat: string;
61400
+ pdf_map: string | null;
60707
61401
  poort: number | null;
60708
61402
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
60709
61403
  systeemnaam: string;
@@ -60729,6 +61423,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60729
61423
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
60730
61424
  online?: boolean;
60731
61425
  papierformaat?: string;
61426
+ pdf_map?: string | null;
60732
61427
  poort?: number | null;
60733
61428
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
60734
61429
  systeemnaam?: string;
@@ -60754,6 +61449,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60754
61449
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
60755
61450
  online?: boolean;
60756
61451
  papierformaat?: string;
61452
+ pdf_map?: string | null;
60757
61453
  poort?: number | null;
60758
61454
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
60759
61455
  systeemnaam?: string;
@@ -67010,6 +67706,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67010
67706
  is_herprint: boolean;
67011
67707
  kopieen: number;
67012
67708
  layout_id: string | null;
67709
+ lokaal_opgeslagen_op: string | null;
67710
+ lokale_pdf_fout: string | null;
67711
+ lokale_pdf_status: string | null;
67013
67712
  opgepakt_op: string | null;
67014
67713
  paginas: number;
67015
67714
  payload: import("../integrations/supabase/types.js").Json;
@@ -67018,6 +67717,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67018
67717
  pogingen: number;
67019
67718
  printer_id: string | null;
67020
67719
  render_html: string | null;
67720
+ resultaat_pdf_base64: string | null;
67021
67721
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
67022
67722
  updated_at: string;
67023
67723
  volgende_poging: string | null;
@@ -67109,6 +67809,53 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67109
67809
  isSetofReturn: true;
67110
67810
  };
67111
67811
  };
67812
+ claim_pdf_print_jobs: {
67813
+ Args: {
67814
+ _max?: number;
67815
+ };
67816
+ Returns: {
67817
+ agent_id: string | null;
67818
+ bron_job_id: string | null;
67819
+ created_at: string;
67820
+ documentnaam: string;
67821
+ documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
67822
+ extern_job_id: string | null;
67823
+ foutmelding: string | null;
67824
+ gebruiker_id: string | null;
67825
+ gebruiker_naam: string;
67826
+ gebruikte_bron: string | null;
67827
+ gebruikte_layout_id: string | null;
67828
+ gestart_op: string | null;
67829
+ herkomst: string | null;
67830
+ id: string;
67831
+ idempotentie_sleutel: string | null;
67832
+ is_herprint: boolean;
67833
+ kopieen: number;
67834
+ layout_id: string | null;
67835
+ lokaal_opgeslagen_op: string | null;
67836
+ lokale_pdf_fout: string | null;
67837
+ lokale_pdf_status: string | null;
67838
+ opgepakt_op: string | null;
67839
+ paginas: number;
67840
+ payload: import("../integrations/supabase/types.js").Json;
67841
+ pdf_base64: string | null;
67842
+ pdf_url: string | null;
67843
+ pogingen: number;
67844
+ printer_id: string | null;
67845
+ render_html: string | null;
67846
+ resultaat_pdf_base64: string | null;
67847
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
67848
+ updated_at: string;
67849
+ volgende_poging: string | null;
67850
+ voltooid_op: string | null;
67851
+ }[];
67852
+ SetofOptions: {
67853
+ from: "*";
67854
+ to: "print_jobs";
67855
+ isOneToOne: false;
67856
+ isSetofReturn: true;
67857
+ };
67858
+ };
67112
67859
  claim_print_jobs: {
67113
67860
  Args: {
67114
67861
  _agent_id: string;
@@ -67133,6 +67880,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67133
67880
  is_herprint: boolean;
67134
67881
  kopieen: number;
67135
67882
  layout_id: string | null;
67883
+ lokaal_opgeslagen_op: string | null;
67884
+ lokale_pdf_fout: string | null;
67885
+ lokale_pdf_status: string | null;
67136
67886
  opgepakt_op: string | null;
67137
67887
  paginas: number;
67138
67888
  payload: import("../integrations/supabase/types.js").Json;
@@ -67141,6 +67891,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67141
67891
  pogingen: number;
67142
67892
  printer_id: string | null;
67143
67893
  render_html: string | null;
67894
+ resultaat_pdf_base64: string | null;
67144
67895
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
67145
67896
  updated_at: string;
67146
67897
  volgende_poging: string | null;
@@ -67281,6 +68032,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67281
68032
  order_id: string;
67282
68033
  order_source: string;
67283
68034
  pick_date: string;
68035
+ printed_at: string;
68036
+ printed_today: boolean;
67284
68037
  status: string;
67285
68038
  }[];
67286
68039
  };
@@ -67989,6 +68742,10 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67989
68742
  };
67990
68743
  Returns: number;
67991
68744
  };
68745
+ logistics_cancel_orphan_tasks: {
68746
+ Args: never;
68747
+ Returns: number;
68748
+ };
67992
68749
  logistics_capacity_day_check: {
67993
68750
  Args: {
67994
68751
  p_from?: string;
@@ -68009,6 +68766,25 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68009
68766
  };
68010
68767
  Returns: number;
68011
68768
  };
68769
+ logistics_cart_index: {
68770
+ Args: {
68771
+ p_from?: string;
68772
+ p_to?: string;
68773
+ };
68774
+ Returns: {
68775
+ cart_id: string;
68776
+ cart_index: number;
68777
+ cart_label: string;
68778
+ is_shared: boolean;
68779
+ order_number: string;
68780
+ order_source: string;
68781
+ order_uuid: string;
68782
+ pick_date: string;
68783
+ printed_at: string;
68784
+ shifted: boolean;
68785
+ task_status: string;
68786
+ }[];
68787
+ };
68012
68788
  logistics_check_order_allowed: {
68013
68789
  Args: {
68014
68790
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -68157,6 +68933,17 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68157
68933
  isSetofReturn: false;
68158
68934
  };
68159
68935
  };
68936
+ logistics_consistency_check: {
68937
+ Args: never;
68938
+ Returns: {
68939
+ agenda_carts: number;
68940
+ control_carts: number;
68941
+ ok: boolean;
68942
+ orphan_tasks: number;
68943
+ pick_date: string;
68944
+ raw_carts: number;
68945
+ }[];
68946
+ };
68160
68947
  logistics_delay_customer_email: {
68161
68948
  Args: {
68162
68949
  p_customer: string;
@@ -68350,6 +69137,25 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68350
69137
  };
68351
69138
  Returns: number;
68352
69139
  };
69140
+ logistics_order_overview: {
69141
+ Args: {
69142
+ p_from?: string;
69143
+ p_to?: string;
69144
+ };
69145
+ Returns: {
69146
+ cart_count: number;
69147
+ customer_name: string;
69148
+ delivery_date: string;
69149
+ order_number: string;
69150
+ order_source: string;
69151
+ order_uuid: string;
69152
+ pick_date: string;
69153
+ plant_count: number;
69154
+ printed_at: string;
69155
+ shifted: boolean;
69156
+ status: string;
69157
+ }[];
69158
+ };
68353
69159
  logistics_order_pick_day: {
68354
69160
  Args: {
68355
69161
  p_order_ref: string;
@@ -68362,6 +69168,22 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68362
69168
  };
68363
69169
  Returns: string;
68364
69170
  };
69171
+ logistics_pick_agenda: {
69172
+ Args: {
69173
+ p_from?: string;
69174
+ p_to?: string;
69175
+ };
69176
+ Returns: {
69177
+ cart_count: number;
69178
+ in_preparation: number;
69179
+ order_count: number;
69180
+ orders: import("../integrations/supabase/types.js").Json;
69181
+ pick_date: string;
69182
+ plant_count: number;
69183
+ ready: number;
69184
+ shifted_count: number;
69185
+ }[];
69186
+ };
68365
69187
  logistics_pick_email_purpose: {
68366
69188
  Args: never;
68367
69189
  Returns: string;
@@ -68521,6 +69343,15 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68521
69343
  };
68522
69344
  Returns: import("../integrations/supabase/types.js").Json;
68523
69345
  };
69346
+ logistics_resolve_pick_document: {
69347
+ Args: {
69348
+ _is_herprint: boolean;
69349
+ _queue_item_id: string;
69350
+ _session_id: string;
69351
+ _voorbeeld: boolean;
69352
+ };
69353
+ Returns: import("../integrations/supabase/types.js").Json;
69354
+ };
68524
69355
  logistics_resolve_settings: {
68525
69356
  Args: {
68526
69357
  p_config_id: string;
@@ -68960,13 +69791,6 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68960
69791
  Returns: import("../integrations/supabase/types.js").Json;
68961
69792
  };
68962
69793
  pick_enqueue_print_job: {
68963
- Args: {
68964
- _printer_id?: string;
68965
- _queue_item_id: string;
68966
- _session_id?: string;
68967
- };
68968
- Returns: string;
68969
- } | {
68970
69794
  Args: {
68971
69795
  _is_herprint?: boolean;
68972
69796
  _printer_id?: string;
@@ -68982,6 +69806,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68982
69806
  };
68983
69807
  Returns: import("../integrations/supabase/types.js").Json;
68984
69808
  };
69809
+ pick_preview_job: {
69810
+ Args: {
69811
+ _queue_item_id: string;
69812
+ _station_slug: string;
69813
+ };
69814
+ Returns: import("../integrations/supabase/types.js").Json;
69815
+ };
68985
69816
  pick_print_job_status: {
68986
69817
  Args: {
68987
69818
  _job_id: string;
@@ -69159,6 +69990,24 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
69159
69990
  };
69160
69991
  Returns: undefined;
69161
69992
  };
69993
+ print_preview_toestaan: {
69994
+ Args: {
69995
+ _max?: number;
69996
+ _queue_item_id: string;
69997
+ _station_slug: string;
69998
+ _venster_sec?: number;
69999
+ };
70000
+ Returns: import("../integrations/supabase/types.js").Json;
70001
+ };
70002
+ print_preview_weiger: {
70003
+ Args: {
70004
+ _code: string;
70005
+ _queue_item_id: string;
70006
+ _reden: string;
70007
+ _station_slug: string;
70008
+ };
70009
+ Returns: undefined;
70010
+ };
69162
70011
  process_logistics_event: {
69163
70012
  Args: {
69164
70013
  p_event_id: string;
@@ -69313,6 +70162,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
69313
70162
  };
69314
70163
  Returns: string;
69315
70164
  };
70165
+ resolve_print_job_printer_id: {
70166
+ Args: {
70167
+ _job: import("../integrations/supabase/types.js").Database["public"]["Tables"]["print_jobs"]["Row"];
70168
+ };
70169
+ Returns: string;
70170
+ };
69316
70171
  resolve_product_id_for_item: {
69317
70172
  Args: {
69318
70173
  p_product_name: string;
@@ -69904,7 +70759,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
69904
70759
  };
69905
70760
  CompositeTypes: { [_ in never]: never; };
69906
70761
  }, {
69907
- PostgrestVersion: "14.17";
70762
+ PostgrestVersion: "14.5";
69908
70763
  }>;
69909
70764
  userId: string;
69910
70765
  claims: import("@supabase/auth-js").JwtPayload;
@@ -72774,6 +73629,84 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
72774
73629
  };
72775
73630
  Relationships: [];
72776
73631
  };
73632
+ delivery_notes: {
73633
+ Row: {
73634
+ byte_size: number | null;
73635
+ connection_id: string | null;
73636
+ content_type: string;
73637
+ created_at: string;
73638
+ error_message: string | null;
73639
+ fetched_at: string | null;
73640
+ fulfillment_order_id: string | null;
73641
+ http_status: number | null;
73642
+ id: string;
73643
+ label_code: string | null;
73644
+ letter: string | null;
73645
+ load_carrier_index: number | null;
73646
+ load_carrier_type: string | null;
73647
+ order_id: string | null;
73648
+ order_number: string | null;
73649
+ packages: number | null;
73650
+ source: string;
73651
+ status: string;
73652
+ storage_bucket: string;
73653
+ storage_path: string | null;
73654
+ updated_at: string;
73655
+ };
73656
+ Insert: {
73657
+ byte_size?: number | null;
73658
+ connection_id?: string | null;
73659
+ content_type?: string;
73660
+ created_at?: string;
73661
+ error_message?: string | null;
73662
+ fetched_at?: string | null;
73663
+ fulfillment_order_id?: string | null;
73664
+ http_status?: number | null;
73665
+ id?: string;
73666
+ label_code?: string | null;
73667
+ letter?: string | null;
73668
+ load_carrier_index?: number | null;
73669
+ load_carrier_type?: string | null;
73670
+ order_id?: string | null;
73671
+ order_number?: string | null;
73672
+ packages?: number | null;
73673
+ source?: string;
73674
+ status?: string;
73675
+ storage_bucket?: string;
73676
+ storage_path?: string | null;
73677
+ updated_at?: string;
73678
+ };
73679
+ Update: {
73680
+ byte_size?: number | null;
73681
+ connection_id?: string | null;
73682
+ content_type?: string;
73683
+ created_at?: string;
73684
+ error_message?: string | null;
73685
+ fetched_at?: string | null;
73686
+ fulfillment_order_id?: string | null;
73687
+ http_status?: number | null;
73688
+ id?: string;
73689
+ label_code?: string | null;
73690
+ letter?: string | null;
73691
+ load_carrier_index?: number | null;
73692
+ load_carrier_type?: string | null;
73693
+ order_id?: string | null;
73694
+ order_number?: string | null;
73695
+ packages?: number | null;
73696
+ source?: string;
73697
+ status?: string;
73698
+ storage_bucket?: string;
73699
+ storage_path?: string | null;
73700
+ updated_at?: string;
73701
+ };
73702
+ Relationships: [{
73703
+ foreignKeyName: "delivery_notes_order_id_fkey";
73704
+ columns: ["order_id"];
73705
+ isOneToOne: false;
73706
+ referencedRelation: "orders";
73707
+ referencedColumns: ["id"];
73708
+ }];
73709
+ };
72777
73710
  document_bronregels: {
72778
73711
  Row: {
72779
73712
  bron: string;
@@ -83582,6 +84515,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83582
84515
  is_herprint: boolean;
83583
84516
  kopieen: number;
83584
84517
  layout_id: string | null;
84518
+ lokaal_opgeslagen_op: string | null;
84519
+ lokale_pdf_fout: string | null;
84520
+ lokale_pdf_status: string | null;
83585
84521
  opgepakt_op: string | null;
83586
84522
  paginas: number;
83587
84523
  payload: import("../integrations/supabase/types.js").Json;
@@ -83590,6 +84526,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83590
84526
  pogingen: number;
83591
84527
  printer_id: string | null;
83592
84528
  render_html: string | null;
84529
+ resultaat_pdf_base64: string | null;
83593
84530
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
83594
84531
  updated_at: string;
83595
84532
  volgende_poging: string | null;
@@ -83614,6 +84551,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83614
84551
  is_herprint?: boolean;
83615
84552
  kopieen?: number;
83616
84553
  layout_id?: string | null;
84554
+ lokaal_opgeslagen_op?: string | null;
84555
+ lokale_pdf_fout?: string | null;
84556
+ lokale_pdf_status?: string | null;
83617
84557
  opgepakt_op?: string | null;
83618
84558
  paginas?: number;
83619
84559
  payload?: import("../integrations/supabase/types.js").Json;
@@ -83622,6 +84562,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83622
84562
  pogingen?: number;
83623
84563
  printer_id?: string | null;
83624
84564
  render_html?: string | null;
84565
+ resultaat_pdf_base64?: string | null;
83625
84566
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
83626
84567
  updated_at?: string;
83627
84568
  volgende_poging?: string | null;
@@ -83646,6 +84587,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83646
84587
  is_herprint?: boolean;
83647
84588
  kopieen?: number;
83648
84589
  layout_id?: string | null;
84590
+ lokaal_opgeslagen_op?: string | null;
84591
+ lokale_pdf_fout?: string | null;
84592
+ lokale_pdf_status?: string | null;
83649
84593
  opgepakt_op?: string | null;
83650
84594
  paginas?: number;
83651
84595
  payload?: import("../integrations/supabase/types.js").Json;
@@ -83654,6 +84598,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83654
84598
  pogingen?: number;
83655
84599
  printer_id?: string | null;
83656
84600
  render_html?: string | null;
84601
+ resultaat_pdf_base64?: string | null;
83657
84602
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
83658
84603
  updated_at?: string;
83659
84604
  volgende_poging?: string | null;
@@ -83772,6 +84717,39 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83772
84717
  };
83773
84718
  Relationships: [];
83774
84719
  };
84720
+ print_preview_events: {
84721
+ Row: {
84722
+ code: string | null;
84723
+ created_at: string;
84724
+ detail: import("../integrations/supabase/types.js").Json;
84725
+ id: string;
84726
+ queue_item_id: string | null;
84727
+ reden: string | null;
84728
+ station_slug: string | null;
84729
+ uitkomst: string;
84730
+ };
84731
+ Insert: {
84732
+ code?: string | null;
84733
+ created_at?: string;
84734
+ detail?: import("../integrations/supabase/types.js").Json;
84735
+ id?: string;
84736
+ queue_item_id?: string | null;
84737
+ reden?: string | null;
84738
+ station_slug?: string | null;
84739
+ uitkomst?: string;
84740
+ };
84741
+ Update: {
84742
+ code?: string | null;
84743
+ created_at?: string;
84744
+ detail?: import("../integrations/supabase/types.js").Json;
84745
+ id?: string;
84746
+ queue_item_id?: string | null;
84747
+ reden?: string | null;
84748
+ station_slug?: string | null;
84749
+ uitkomst?: string;
84750
+ };
84751
+ Relationships: [];
84752
+ };
83775
84753
  print_queue_runners: {
83776
84754
  Row: {
83777
84755
  actief: boolean;
@@ -84011,6 +84989,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
84011
84989
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
84012
84990
  online: boolean;
84013
84991
  papierformaat: string;
84992
+ pdf_map: string | null;
84014
84993
  poort: number | null;
84015
84994
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
84016
84995
  systeemnaam: string;
@@ -84036,6 +85015,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
84036
85015
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
84037
85016
  online?: boolean;
84038
85017
  papierformaat?: string;
85018
+ pdf_map?: string | null;
84039
85019
  poort?: number | null;
84040
85020
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
84041
85021
  systeemnaam?: string;
@@ -84061,6 +85041,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
84061
85041
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
84062
85042
  online?: boolean;
84063
85043
  papierformaat?: string;
85044
+ pdf_map?: string | null;
84064
85045
  poort?: number | null;
84065
85046
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
84066
85047
  systeemnaam?: string;
@@ -90317,6 +91298,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90317
91298
  is_herprint: boolean;
90318
91299
  kopieen: number;
90319
91300
  layout_id: string | null;
91301
+ lokaal_opgeslagen_op: string | null;
91302
+ lokale_pdf_fout: string | null;
91303
+ lokale_pdf_status: string | null;
90320
91304
  opgepakt_op: string | null;
90321
91305
  paginas: number;
90322
91306
  payload: import("../integrations/supabase/types.js").Json;
@@ -90325,6 +91309,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90325
91309
  pogingen: number;
90326
91310
  printer_id: string | null;
90327
91311
  render_html: string | null;
91312
+ resultaat_pdf_base64: string | null;
90328
91313
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
90329
91314
  updated_at: string;
90330
91315
  volgende_poging: string | null;
@@ -90416,6 +91401,53 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90416
91401
  isSetofReturn: true;
90417
91402
  };
90418
91403
  };
91404
+ claim_pdf_print_jobs: {
91405
+ Args: {
91406
+ _max?: number;
91407
+ };
91408
+ Returns: {
91409
+ agent_id: string | null;
91410
+ bron_job_id: string | null;
91411
+ created_at: string;
91412
+ documentnaam: string;
91413
+ documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
91414
+ extern_job_id: string | null;
91415
+ foutmelding: string | null;
91416
+ gebruiker_id: string | null;
91417
+ gebruiker_naam: string;
91418
+ gebruikte_bron: string | null;
91419
+ gebruikte_layout_id: string | null;
91420
+ gestart_op: string | null;
91421
+ herkomst: string | null;
91422
+ id: string;
91423
+ idempotentie_sleutel: string | null;
91424
+ is_herprint: boolean;
91425
+ kopieen: number;
91426
+ layout_id: string | null;
91427
+ lokaal_opgeslagen_op: string | null;
91428
+ lokale_pdf_fout: string | null;
91429
+ lokale_pdf_status: string | null;
91430
+ opgepakt_op: string | null;
91431
+ paginas: number;
91432
+ payload: import("../integrations/supabase/types.js").Json;
91433
+ pdf_base64: string | null;
91434
+ pdf_url: string | null;
91435
+ pogingen: number;
91436
+ printer_id: string | null;
91437
+ render_html: string | null;
91438
+ resultaat_pdf_base64: string | null;
91439
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
91440
+ updated_at: string;
91441
+ volgende_poging: string | null;
91442
+ voltooid_op: string | null;
91443
+ }[];
91444
+ SetofOptions: {
91445
+ from: "*";
91446
+ to: "print_jobs";
91447
+ isOneToOne: false;
91448
+ isSetofReturn: true;
91449
+ };
91450
+ };
90419
91451
  claim_print_jobs: {
90420
91452
  Args: {
90421
91453
  _agent_id: string;
@@ -90440,6 +91472,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90440
91472
  is_herprint: boolean;
90441
91473
  kopieen: number;
90442
91474
  layout_id: string | null;
91475
+ lokaal_opgeslagen_op: string | null;
91476
+ lokale_pdf_fout: string | null;
91477
+ lokale_pdf_status: string | null;
90443
91478
  opgepakt_op: string | null;
90444
91479
  paginas: number;
90445
91480
  payload: import("../integrations/supabase/types.js").Json;
@@ -90448,6 +91483,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90448
91483
  pogingen: number;
90449
91484
  printer_id: string | null;
90450
91485
  render_html: string | null;
91486
+ resultaat_pdf_base64: string | null;
90451
91487
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
90452
91488
  updated_at: string;
90453
91489
  volgende_poging: string | null;
@@ -90588,6 +91624,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90588
91624
  order_id: string;
90589
91625
  order_source: string;
90590
91626
  pick_date: string;
91627
+ printed_at: string;
91628
+ printed_today: boolean;
90591
91629
  status: string;
90592
91630
  }[];
90593
91631
  };
@@ -91296,6 +92334,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91296
92334
  };
91297
92335
  Returns: number;
91298
92336
  };
92337
+ logistics_cancel_orphan_tasks: {
92338
+ Args: never;
92339
+ Returns: number;
92340
+ };
91299
92341
  logistics_capacity_day_check: {
91300
92342
  Args: {
91301
92343
  p_from?: string;
@@ -91316,6 +92358,25 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91316
92358
  };
91317
92359
  Returns: number;
91318
92360
  };
92361
+ logistics_cart_index: {
92362
+ Args: {
92363
+ p_from?: string;
92364
+ p_to?: string;
92365
+ };
92366
+ Returns: {
92367
+ cart_id: string;
92368
+ cart_index: number;
92369
+ cart_label: string;
92370
+ is_shared: boolean;
92371
+ order_number: string;
92372
+ order_source: string;
92373
+ order_uuid: string;
92374
+ pick_date: string;
92375
+ printed_at: string;
92376
+ shifted: boolean;
92377
+ task_status: string;
92378
+ }[];
92379
+ };
91319
92380
  logistics_check_order_allowed: {
91320
92381
  Args: {
91321
92382
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -91464,6 +92525,17 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91464
92525
  isSetofReturn: false;
91465
92526
  };
91466
92527
  };
92528
+ logistics_consistency_check: {
92529
+ Args: never;
92530
+ Returns: {
92531
+ agenda_carts: number;
92532
+ control_carts: number;
92533
+ ok: boolean;
92534
+ orphan_tasks: number;
92535
+ pick_date: string;
92536
+ raw_carts: number;
92537
+ }[];
92538
+ };
91467
92539
  logistics_delay_customer_email: {
91468
92540
  Args: {
91469
92541
  p_customer: string;
@@ -91657,6 +92729,25 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91657
92729
  };
91658
92730
  Returns: number;
91659
92731
  };
92732
+ logistics_order_overview: {
92733
+ Args: {
92734
+ p_from?: string;
92735
+ p_to?: string;
92736
+ };
92737
+ Returns: {
92738
+ cart_count: number;
92739
+ customer_name: string;
92740
+ delivery_date: string;
92741
+ order_number: string;
92742
+ order_source: string;
92743
+ order_uuid: string;
92744
+ pick_date: string;
92745
+ plant_count: number;
92746
+ printed_at: string;
92747
+ shifted: boolean;
92748
+ status: string;
92749
+ }[];
92750
+ };
91660
92751
  logistics_order_pick_day: {
91661
92752
  Args: {
91662
92753
  p_order_ref: string;
@@ -91669,6 +92760,22 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91669
92760
  };
91670
92761
  Returns: string;
91671
92762
  };
92763
+ logistics_pick_agenda: {
92764
+ Args: {
92765
+ p_from?: string;
92766
+ p_to?: string;
92767
+ };
92768
+ Returns: {
92769
+ cart_count: number;
92770
+ in_preparation: number;
92771
+ order_count: number;
92772
+ orders: import("../integrations/supabase/types.js").Json;
92773
+ pick_date: string;
92774
+ plant_count: number;
92775
+ ready: number;
92776
+ shifted_count: number;
92777
+ }[];
92778
+ };
91672
92779
  logistics_pick_email_purpose: {
91673
92780
  Args: never;
91674
92781
  Returns: string;
@@ -91828,6 +92935,15 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91828
92935
  };
91829
92936
  Returns: import("../integrations/supabase/types.js").Json;
91830
92937
  };
92938
+ logistics_resolve_pick_document: {
92939
+ Args: {
92940
+ _is_herprint: boolean;
92941
+ _queue_item_id: string;
92942
+ _session_id: string;
92943
+ _voorbeeld: boolean;
92944
+ };
92945
+ Returns: import("../integrations/supabase/types.js").Json;
92946
+ };
91831
92947
  logistics_resolve_settings: {
91832
92948
  Args: {
91833
92949
  p_config_id: string;
@@ -92267,13 +93383,6 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
92267
93383
  Returns: import("../integrations/supabase/types.js").Json;
92268
93384
  };
92269
93385
  pick_enqueue_print_job: {
92270
- Args: {
92271
- _printer_id?: string;
92272
- _queue_item_id: string;
92273
- _session_id?: string;
92274
- };
92275
- Returns: string;
92276
- } | {
92277
93386
  Args: {
92278
93387
  _is_herprint?: boolean;
92279
93388
  _printer_id?: string;
@@ -92289,6 +93398,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
92289
93398
  };
92290
93399
  Returns: import("../integrations/supabase/types.js").Json;
92291
93400
  };
93401
+ pick_preview_job: {
93402
+ Args: {
93403
+ _queue_item_id: string;
93404
+ _station_slug: string;
93405
+ };
93406
+ Returns: import("../integrations/supabase/types.js").Json;
93407
+ };
92292
93408
  pick_print_job_status: {
92293
93409
  Args: {
92294
93410
  _job_id: string;
@@ -92466,6 +93582,24 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
92466
93582
  };
92467
93583
  Returns: undefined;
92468
93584
  };
93585
+ print_preview_toestaan: {
93586
+ Args: {
93587
+ _max?: number;
93588
+ _queue_item_id: string;
93589
+ _station_slug: string;
93590
+ _venster_sec?: number;
93591
+ };
93592
+ Returns: import("../integrations/supabase/types.js").Json;
93593
+ };
93594
+ print_preview_weiger: {
93595
+ Args: {
93596
+ _code: string;
93597
+ _queue_item_id: string;
93598
+ _reden: string;
93599
+ _station_slug: string;
93600
+ };
93601
+ Returns: undefined;
93602
+ };
92469
93603
  process_logistics_event: {
92470
93604
  Args: {
92471
93605
  p_event_id: string;
@@ -92620,6 +93754,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
92620
93754
  };
92621
93755
  Returns: string;
92622
93756
  };
93757
+ resolve_print_job_printer_id: {
93758
+ Args: {
93759
+ _job: import("../integrations/supabase/types.js").Database["public"]["Tables"]["print_jobs"]["Row"];
93760
+ };
93761
+ Returns: string;
93762
+ };
92623
93763
  resolve_product_id_for_item: {
92624
93764
  Args: {
92625
93765
  p_product_name: string;
@@ -93211,7 +94351,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
93211
94351
  };
93212
94352
  CompositeTypes: { [_ in never]: never; };
93213
94353
  }, {
93214
- PostgrestVersion: "14.17";
94354
+ PostgrestVersion: "14.5";
93215
94355
  }>;
93216
94356
  userId: string;
93217
94357
  claims: import("@supabase/auth-js").JwtPayload;