@flowselections/layout-maker 1.32.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 (73) 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 +242 -1
  39. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  40. package/dist-lib/integrations/supabase/client.server.d.ts +242 -1
  41. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  42. package/dist-lib/integrations/supabase/types.d.ts +244 -1
  43. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  44. package/dist-lib/lib/aiLayout.functions.d.ts +242 -1
  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.map +1 -1
  60. package/dist-lib/lib/previewPdf.js +41 -9
  61. package/dist-lib/lib/printApi.d.ts.map +1 -1
  62. package/dist-lib/lib/printApi.js +9 -1
  63. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  64. package/dist-lib/lib/printQueue.server.js +99 -26
  65. package/dist-lib/lib/printService.functions.d.ts +968 -4
  66. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  67. package/dist-lib/lib/useDocumentData.d.ts +10 -0
  68. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  69. package/dist-lib/lib/useDocumentData.js +19 -0
  70. package/dist-lib/lib/voorbeeldPrint.d.ts +4 -0
  71. package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
  72. package/dist-lib/lib/voorbeeldPrint.js +13 -2
  73. package/package.json +1 -1
@@ -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;
@@ -14121,6 +14211,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
14121
14211
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
14122
14212
  online: boolean;
14123
14213
  papierformaat: string;
14214
+ pdf_map: string | null;
14124
14215
  poort: number | null;
14125
14216
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14126
14217
  systeemnaam: string;
@@ -14146,6 +14237,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
14146
14237
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
14147
14238
  online?: boolean;
14148
14239
  papierformaat?: string;
14240
+ pdf_map?: string | null;
14149
14241
  poort?: number | null;
14150
14242
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14151
14243
  systeemnaam?: string;
@@ -14171,6 +14263,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
14171
14263
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
14172
14264
  online?: boolean;
14173
14265
  papierformaat?: string;
14266
+ pdf_map?: string | null;
14174
14267
  poort?: number | null;
14175
14268
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14176
14269
  systeemnaam?: string;
@@ -20427,6 +20520,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20427
20520
  is_herprint: boolean;
20428
20521
  kopieen: number;
20429
20522
  layout_id: string | null;
20523
+ lokaal_opgeslagen_op: string | null;
20524
+ lokale_pdf_fout: string | null;
20525
+ lokale_pdf_status: string | null;
20430
20526
  opgepakt_op: string | null;
20431
20527
  paginas: number;
20432
20528
  payload: import("../integrations/supabase/types.js").Json;
@@ -20435,6 +20531,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20435
20531
  pogingen: number;
20436
20532
  printer_id: string | null;
20437
20533
  render_html: string | null;
20534
+ resultaat_pdf_base64: string | null;
20438
20535
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20439
20536
  updated_at: string;
20440
20537
  volgende_poging: string | null;
@@ -20526,6 +20623,53 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20526
20623
  isSetofReturn: true;
20527
20624
  };
20528
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
+ };
20529
20673
  claim_print_jobs: {
20530
20674
  Args: {
20531
20675
  _agent_id: string;
@@ -20550,6 +20694,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20550
20694
  is_herprint: boolean;
20551
20695
  kopieen: number;
20552
20696
  layout_id: string | null;
20697
+ lokaal_opgeslagen_op: string | null;
20698
+ lokale_pdf_fout: string | null;
20699
+ lokale_pdf_status: string | null;
20553
20700
  opgepakt_op: string | null;
20554
20701
  paginas: number;
20555
20702
  payload: import("../integrations/supabase/types.js").Json;
@@ -20558,6 +20705,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20558
20705
  pogingen: number;
20559
20706
  printer_id: string | null;
20560
20707
  render_html: string | null;
20708
+ resultaat_pdf_base64: string | null;
20561
20709
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20562
20710
  updated_at: string;
20563
20711
  volgende_poging: string | null;
@@ -20698,6 +20846,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20698
20846
  order_id: string;
20699
20847
  order_source: string;
20700
20848
  pick_date: string;
20849
+ printed_at: string;
20850
+ printed_today: boolean;
20701
20851
  status: string;
20702
20852
  }[];
20703
20853
  };
@@ -21406,6 +21556,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21406
21556
  };
21407
21557
  Returns: number;
21408
21558
  };
21559
+ logistics_cancel_orphan_tasks: {
21560
+ Args: never;
21561
+ Returns: number;
21562
+ };
21409
21563
  logistics_capacity_day_check: {
21410
21564
  Args: {
21411
21565
  p_from?: string;
@@ -21426,6 +21580,25 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21426
21580
  };
21427
21581
  Returns: number;
21428
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
+ };
21429
21602
  logistics_check_order_allowed: {
21430
21603
  Args: {
21431
21604
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -21574,6 +21747,17 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21574
21747
  isSetofReturn: false;
21575
21748
  };
21576
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
+ };
21577
21761
  logistics_delay_customer_email: {
21578
21762
  Args: {
21579
21763
  p_customer: string;
@@ -21767,6 +21951,25 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21767
21951
  };
21768
21952
  Returns: number;
21769
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
+ };
21770
21973
  logistics_order_pick_day: {
21771
21974
  Args: {
21772
21975
  p_order_ref: string;
@@ -21779,6 +21982,22 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21779
21982
  };
21780
21983
  Returns: string;
21781
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
+ };
21782
22001
  logistics_pick_email_purpose: {
21783
22002
  Args: never;
21784
22003
  Returns: string;
@@ -21938,6 +22157,15 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21938
22157
  };
21939
22158
  Returns: import("../integrations/supabase/types.js").Json;
21940
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
+ };
21941
22169
  logistics_resolve_settings: {
21942
22170
  Args: {
21943
22171
  p_config_id: string;
@@ -22392,6 +22620,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22392
22620
  };
22393
22621
  Returns: import("../integrations/supabase/types.js").Json;
22394
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
+ };
22395
22630
  pick_print_job_status: {
22396
22631
  Args: {
22397
22632
  _job_id: string;
@@ -22741,6 +22976,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22741
22976
  };
22742
22977
  Returns: string;
22743
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
+ };
22744
22985
  resolve_product_id_for_item: {
22745
22986
  Args: {
22746
22987
  p_product_name: string;
@@ -23332,7 +23573,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
23332
23573
  };
23333
23574
  CompositeTypes: { [_ in never]: never; };
23334
23575
  }, {
23335
- PostgrestVersion: "14.17";
23576
+ PostgrestVersion: "14.5";
23336
23577
  }>;
23337
23578
  userId: string;
23338
23579
  claims: import("@supabase/auth-js").JwtPayload;
@@ -26198,6 +26439,84 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
26198
26439
  };
26199
26440
  Relationships: [];
26200
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
+ };
26201
26520
  document_bronregels: {
26202
26521
  Row: {
26203
26522
  bron: string;
@@ -37006,6 +37325,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37006
37325
  is_herprint: boolean;
37007
37326
  kopieen: number;
37008
37327
  layout_id: string | null;
37328
+ lokaal_opgeslagen_op: string | null;
37329
+ lokale_pdf_fout: string | null;
37330
+ lokale_pdf_status: string | null;
37009
37331
  opgepakt_op: string | null;
37010
37332
  paginas: number;
37011
37333
  payload: import("../integrations/supabase/types.js").Json;
@@ -37014,6 +37336,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37014
37336
  pogingen: number;
37015
37337
  printer_id: string | null;
37016
37338
  render_html: string | null;
37339
+ resultaat_pdf_base64: string | null;
37017
37340
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
37018
37341
  updated_at: string;
37019
37342
  volgende_poging: string | null;
@@ -37038,6 +37361,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37038
37361
  is_herprint?: boolean;
37039
37362
  kopieen?: number;
37040
37363
  layout_id?: string | null;
37364
+ lokaal_opgeslagen_op?: string | null;
37365
+ lokale_pdf_fout?: string | null;
37366
+ lokale_pdf_status?: string | null;
37041
37367
  opgepakt_op?: string | null;
37042
37368
  paginas?: number;
37043
37369
  payload?: import("../integrations/supabase/types.js").Json;
@@ -37046,6 +37372,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37046
37372
  pogingen?: number;
37047
37373
  printer_id?: string | null;
37048
37374
  render_html?: string | null;
37375
+ resultaat_pdf_base64?: string | null;
37049
37376
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
37050
37377
  updated_at?: string;
37051
37378
  volgende_poging?: string | null;
@@ -37070,6 +37397,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37070
37397
  is_herprint?: boolean;
37071
37398
  kopieen?: number;
37072
37399
  layout_id?: string | null;
37400
+ lokaal_opgeslagen_op?: string | null;
37401
+ lokale_pdf_fout?: string | null;
37402
+ lokale_pdf_status?: string | null;
37073
37403
  opgepakt_op?: string | null;
37074
37404
  paginas?: number;
37075
37405
  payload?: import("../integrations/supabase/types.js").Json;
@@ -37078,6 +37408,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37078
37408
  pogingen?: number;
37079
37409
  printer_id?: string | null;
37080
37410
  render_html?: string | null;
37411
+ resultaat_pdf_base64?: string | null;
37081
37412
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
37082
37413
  updated_at?: string;
37083
37414
  volgende_poging?: string | null;
@@ -37468,6 +37799,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37468
37799
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
37469
37800
  online: boolean;
37470
37801
  papierformaat: string;
37802
+ pdf_map: string | null;
37471
37803
  poort: number | null;
37472
37804
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
37473
37805
  systeemnaam: string;
@@ -37493,6 +37825,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37493
37825
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
37494
37826
  online?: boolean;
37495
37827
  papierformaat?: string;
37828
+ pdf_map?: string | null;
37496
37829
  poort?: number | null;
37497
37830
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
37498
37831
  systeemnaam?: string;
@@ -37518,6 +37851,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
37518
37851
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
37519
37852
  online?: boolean;
37520
37853
  papierformaat?: string;
37854
+ pdf_map?: string | null;
37521
37855
  poort?: number | null;
37522
37856
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
37523
37857
  systeemnaam?: string;
@@ -43774,6 +44108,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43774
44108
  is_herprint: boolean;
43775
44109
  kopieen: number;
43776
44110
  layout_id: string | null;
44111
+ lokaal_opgeslagen_op: string | null;
44112
+ lokale_pdf_fout: string | null;
44113
+ lokale_pdf_status: string | null;
43777
44114
  opgepakt_op: string | null;
43778
44115
  paginas: number;
43779
44116
  payload: import("../integrations/supabase/types.js").Json;
@@ -43782,6 +44119,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43782
44119
  pogingen: number;
43783
44120
  printer_id: string | null;
43784
44121
  render_html: string | null;
44122
+ resultaat_pdf_base64: string | null;
43785
44123
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
43786
44124
  updated_at: string;
43787
44125
  volgende_poging: string | null;
@@ -43873,6 +44211,53 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43873
44211
  isSetofReturn: true;
43874
44212
  };
43875
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
+ };
43876
44261
  claim_print_jobs: {
43877
44262
  Args: {
43878
44263
  _agent_id: string;
@@ -43897,6 +44282,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43897
44282
  is_herprint: boolean;
43898
44283
  kopieen: number;
43899
44284
  layout_id: string | null;
44285
+ lokaal_opgeslagen_op: string | null;
44286
+ lokale_pdf_fout: string | null;
44287
+ lokale_pdf_status: string | null;
43900
44288
  opgepakt_op: string | null;
43901
44289
  paginas: number;
43902
44290
  payload: import("../integrations/supabase/types.js").Json;
@@ -43905,6 +44293,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43905
44293
  pogingen: number;
43906
44294
  printer_id: string | null;
43907
44295
  render_html: string | null;
44296
+ resultaat_pdf_base64: string | null;
43908
44297
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
43909
44298
  updated_at: string;
43910
44299
  volgende_poging: string | null;
@@ -44045,6 +44434,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44045
44434
  order_id: string;
44046
44435
  order_source: string;
44047
44436
  pick_date: string;
44437
+ printed_at: string;
44438
+ printed_today: boolean;
44048
44439
  status: string;
44049
44440
  }[];
44050
44441
  };
@@ -44753,6 +45144,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44753
45144
  };
44754
45145
  Returns: number;
44755
45146
  };
45147
+ logistics_cancel_orphan_tasks: {
45148
+ Args: never;
45149
+ Returns: number;
45150
+ };
44756
45151
  logistics_capacity_day_check: {
44757
45152
  Args: {
44758
45153
  p_from?: string;
@@ -44773,6 +45168,25 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44773
45168
  };
44774
45169
  Returns: number;
44775
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
+ };
44776
45190
  logistics_check_order_allowed: {
44777
45191
  Args: {
44778
45192
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -44921,6 +45335,17 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44921
45335
  isSetofReturn: false;
44922
45336
  };
44923
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
+ };
44924
45349
  logistics_delay_customer_email: {
44925
45350
  Args: {
44926
45351
  p_customer: string;
@@ -45114,6 +45539,25 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45114
45539
  };
45115
45540
  Returns: number;
45116
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
+ };
45117
45561
  logistics_order_pick_day: {
45118
45562
  Args: {
45119
45563
  p_order_ref: string;
@@ -45126,6 +45570,22 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45126
45570
  };
45127
45571
  Returns: string;
45128
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
+ };
45129
45589
  logistics_pick_email_purpose: {
45130
45590
  Args: never;
45131
45591
  Returns: string;
@@ -45285,6 +45745,15 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45285
45745
  };
45286
45746
  Returns: import("../integrations/supabase/types.js").Json;
45287
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
+ };
45288
45757
  logistics_resolve_settings: {
45289
45758
  Args: {
45290
45759
  p_config_id: string;
@@ -45739,6 +46208,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45739
46208
  };
45740
46209
  Returns: import("../integrations/supabase/types.js").Json;
45741
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
+ };
45742
46218
  pick_print_job_status: {
45743
46219
  Args: {
45744
46220
  _job_id: string;
@@ -46088,6 +46564,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
46088
46564
  };
46089
46565
  Returns: string;
46090
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
+ };
46091
46573
  resolve_product_id_for_item: {
46092
46574
  Args: {
46093
46575
  p_product_name: string;
@@ -46679,7 +47161,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
46679
47161
  };
46680
47162
  CompositeTypes: { [_ in never]: never; };
46681
47163
  }, {
46682
- PostgrestVersion: "14.17";
47164
+ PostgrestVersion: "14.5";
46683
47165
  }>;
46684
47166
  userId: string;
46685
47167
  claims: import("@supabase/auth-js").JwtPayload;
@@ -49555,6 +50037,84 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
49555
50037
  };
49556
50038
  Relationships: [];
49557
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
+ };
49558
50118
  document_bronregels: {
49559
50119
  Row: {
49560
50120
  bron: string;
@@ -60363,6 +60923,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60363
60923
  is_herprint: boolean;
60364
60924
  kopieen: number;
60365
60925
  layout_id: string | null;
60926
+ lokaal_opgeslagen_op: string | null;
60927
+ lokale_pdf_fout: string | null;
60928
+ lokale_pdf_status: string | null;
60366
60929
  opgepakt_op: string | null;
60367
60930
  paginas: number;
60368
60931
  payload: import("../integrations/supabase/types.js").Json;
@@ -60371,6 +60934,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60371
60934
  pogingen: number;
60372
60935
  printer_id: string | null;
60373
60936
  render_html: string | null;
60937
+ resultaat_pdf_base64: string | null;
60374
60938
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
60375
60939
  updated_at: string;
60376
60940
  volgende_poging: string | null;
@@ -60395,6 +60959,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60395
60959
  is_herprint?: boolean;
60396
60960
  kopieen?: number;
60397
60961
  layout_id?: string | null;
60962
+ lokaal_opgeslagen_op?: string | null;
60963
+ lokale_pdf_fout?: string | null;
60964
+ lokale_pdf_status?: string | null;
60398
60965
  opgepakt_op?: string | null;
60399
60966
  paginas?: number;
60400
60967
  payload?: import("../integrations/supabase/types.js").Json;
@@ -60403,6 +60970,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60403
60970
  pogingen?: number;
60404
60971
  printer_id?: string | null;
60405
60972
  render_html?: string | null;
60973
+ resultaat_pdf_base64?: string | null;
60406
60974
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
60407
60975
  updated_at?: string;
60408
60976
  volgende_poging?: string | null;
@@ -60427,6 +60995,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60427
60995
  is_herprint?: boolean;
60428
60996
  kopieen?: number;
60429
60997
  layout_id?: string | null;
60998
+ lokaal_opgeslagen_op?: string | null;
60999
+ lokale_pdf_fout?: string | null;
61000
+ lokale_pdf_status?: string | null;
60430
61001
  opgepakt_op?: string | null;
60431
61002
  paginas?: number;
60432
61003
  payload?: import("../integrations/supabase/types.js").Json;
@@ -60435,6 +61006,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60435
61006
  pogingen?: number;
60436
61007
  printer_id?: string | null;
60437
61008
  render_html?: string | null;
61009
+ resultaat_pdf_base64?: string | null;
60438
61010
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
60439
61011
  updated_at?: string;
60440
61012
  volgende_poging?: string | null;
@@ -60825,6 +61397,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60825
61397
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
60826
61398
  online: boolean;
60827
61399
  papierformaat: string;
61400
+ pdf_map: string | null;
60828
61401
  poort: number | null;
60829
61402
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
60830
61403
  systeemnaam: string;
@@ -60850,6 +61423,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60850
61423
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
60851
61424
  online?: boolean;
60852
61425
  papierformaat?: string;
61426
+ pdf_map?: string | null;
60853
61427
  poort?: number | null;
60854
61428
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
60855
61429
  systeemnaam?: string;
@@ -60875,6 +61449,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60875
61449
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
60876
61450
  online?: boolean;
60877
61451
  papierformaat?: string;
61452
+ pdf_map?: string | null;
60878
61453
  poort?: number | null;
60879
61454
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
60880
61455
  systeemnaam?: string;
@@ -67131,6 +67706,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67131
67706
  is_herprint: boolean;
67132
67707
  kopieen: number;
67133
67708
  layout_id: string | null;
67709
+ lokaal_opgeslagen_op: string | null;
67710
+ lokale_pdf_fout: string | null;
67711
+ lokale_pdf_status: string | null;
67134
67712
  opgepakt_op: string | null;
67135
67713
  paginas: number;
67136
67714
  payload: import("../integrations/supabase/types.js").Json;
@@ -67139,6 +67717,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67139
67717
  pogingen: number;
67140
67718
  printer_id: string | null;
67141
67719
  render_html: string | null;
67720
+ resultaat_pdf_base64: string | null;
67142
67721
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
67143
67722
  updated_at: string;
67144
67723
  volgende_poging: string | null;
@@ -67230,6 +67809,53 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67230
67809
  isSetofReturn: true;
67231
67810
  };
67232
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
+ };
67233
67859
  claim_print_jobs: {
67234
67860
  Args: {
67235
67861
  _agent_id: string;
@@ -67254,6 +67880,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67254
67880
  is_herprint: boolean;
67255
67881
  kopieen: number;
67256
67882
  layout_id: string | null;
67883
+ lokaal_opgeslagen_op: string | null;
67884
+ lokale_pdf_fout: string | null;
67885
+ lokale_pdf_status: string | null;
67257
67886
  opgepakt_op: string | null;
67258
67887
  paginas: number;
67259
67888
  payload: import("../integrations/supabase/types.js").Json;
@@ -67262,6 +67891,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67262
67891
  pogingen: number;
67263
67892
  printer_id: string | null;
67264
67893
  render_html: string | null;
67894
+ resultaat_pdf_base64: string | null;
67265
67895
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
67266
67896
  updated_at: string;
67267
67897
  volgende_poging: string | null;
@@ -67402,6 +68032,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67402
68032
  order_id: string;
67403
68033
  order_source: string;
67404
68034
  pick_date: string;
68035
+ printed_at: string;
68036
+ printed_today: boolean;
67405
68037
  status: string;
67406
68038
  }[];
67407
68039
  };
@@ -68110,6 +68742,10 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68110
68742
  };
68111
68743
  Returns: number;
68112
68744
  };
68745
+ logistics_cancel_orphan_tasks: {
68746
+ Args: never;
68747
+ Returns: number;
68748
+ };
68113
68749
  logistics_capacity_day_check: {
68114
68750
  Args: {
68115
68751
  p_from?: string;
@@ -68130,6 +68766,25 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68130
68766
  };
68131
68767
  Returns: number;
68132
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
+ };
68133
68788
  logistics_check_order_allowed: {
68134
68789
  Args: {
68135
68790
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -68278,6 +68933,17 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68278
68933
  isSetofReturn: false;
68279
68934
  };
68280
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
+ };
68281
68947
  logistics_delay_customer_email: {
68282
68948
  Args: {
68283
68949
  p_customer: string;
@@ -68471,6 +69137,25 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68471
69137
  };
68472
69138
  Returns: number;
68473
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
+ };
68474
69159
  logistics_order_pick_day: {
68475
69160
  Args: {
68476
69161
  p_order_ref: string;
@@ -68483,6 +69168,22 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68483
69168
  };
68484
69169
  Returns: string;
68485
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
+ };
68486
69187
  logistics_pick_email_purpose: {
68487
69188
  Args: never;
68488
69189
  Returns: string;
@@ -68642,6 +69343,15 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68642
69343
  };
68643
69344
  Returns: import("../integrations/supabase/types.js").Json;
68644
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
+ };
68645
69355
  logistics_resolve_settings: {
68646
69356
  Args: {
68647
69357
  p_config_id: string;
@@ -69096,6 +69806,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
69096
69806
  };
69097
69807
  Returns: import("../integrations/supabase/types.js").Json;
69098
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
+ };
69099
69816
  pick_print_job_status: {
69100
69817
  Args: {
69101
69818
  _job_id: string;
@@ -69445,6 +70162,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
69445
70162
  };
69446
70163
  Returns: string;
69447
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
+ };
69448
70171
  resolve_product_id_for_item: {
69449
70172
  Args: {
69450
70173
  p_product_name: string;
@@ -70036,7 +70759,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
70036
70759
  };
70037
70760
  CompositeTypes: { [_ in never]: never; };
70038
70761
  }, {
70039
- PostgrestVersion: "14.17";
70762
+ PostgrestVersion: "14.5";
70040
70763
  }>;
70041
70764
  userId: string;
70042
70765
  claims: import("@supabase/auth-js").JwtPayload;
@@ -72906,6 +73629,84 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
72906
73629
  };
72907
73630
  Relationships: [];
72908
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
+ };
72909
73710
  document_bronregels: {
72910
73711
  Row: {
72911
73712
  bron: string;
@@ -83714,6 +84515,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83714
84515
  is_herprint: boolean;
83715
84516
  kopieen: number;
83716
84517
  layout_id: string | null;
84518
+ lokaal_opgeslagen_op: string | null;
84519
+ lokale_pdf_fout: string | null;
84520
+ lokale_pdf_status: string | null;
83717
84521
  opgepakt_op: string | null;
83718
84522
  paginas: number;
83719
84523
  payload: import("../integrations/supabase/types.js").Json;
@@ -83722,6 +84526,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83722
84526
  pogingen: number;
83723
84527
  printer_id: string | null;
83724
84528
  render_html: string | null;
84529
+ resultaat_pdf_base64: string | null;
83725
84530
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
83726
84531
  updated_at: string;
83727
84532
  volgende_poging: string | null;
@@ -83746,6 +84551,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83746
84551
  is_herprint?: boolean;
83747
84552
  kopieen?: number;
83748
84553
  layout_id?: string | null;
84554
+ lokaal_opgeslagen_op?: string | null;
84555
+ lokale_pdf_fout?: string | null;
84556
+ lokale_pdf_status?: string | null;
83749
84557
  opgepakt_op?: string | null;
83750
84558
  paginas?: number;
83751
84559
  payload?: import("../integrations/supabase/types.js").Json;
@@ -83754,6 +84562,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83754
84562
  pogingen?: number;
83755
84563
  printer_id?: string | null;
83756
84564
  render_html?: string | null;
84565
+ resultaat_pdf_base64?: string | null;
83757
84566
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
83758
84567
  updated_at?: string;
83759
84568
  volgende_poging?: string | null;
@@ -83778,6 +84587,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83778
84587
  is_herprint?: boolean;
83779
84588
  kopieen?: number;
83780
84589
  layout_id?: string | null;
84590
+ lokaal_opgeslagen_op?: string | null;
84591
+ lokale_pdf_fout?: string | null;
84592
+ lokale_pdf_status?: string | null;
83781
84593
  opgepakt_op?: string | null;
83782
84594
  paginas?: number;
83783
84595
  payload?: import("../integrations/supabase/types.js").Json;
@@ -83786,6 +84598,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83786
84598
  pogingen?: number;
83787
84599
  printer_id?: string | null;
83788
84600
  render_html?: string | null;
84601
+ resultaat_pdf_base64?: string | null;
83789
84602
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
83790
84603
  updated_at?: string;
83791
84604
  volgende_poging?: string | null;
@@ -84176,6 +84989,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
84176
84989
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
84177
84990
  online: boolean;
84178
84991
  papierformaat: string;
84992
+ pdf_map: string | null;
84179
84993
  poort: number | null;
84180
84994
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
84181
84995
  systeemnaam: string;
@@ -84201,6 +85015,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
84201
85015
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
84202
85016
  online?: boolean;
84203
85017
  papierformaat?: string;
85018
+ pdf_map?: string | null;
84204
85019
  poort?: number | null;
84205
85020
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
84206
85021
  systeemnaam?: string;
@@ -84226,6 +85041,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
84226
85041
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
84227
85042
  online?: boolean;
84228
85043
  papierformaat?: string;
85044
+ pdf_map?: string | null;
84229
85045
  poort?: number | null;
84230
85046
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
84231
85047
  systeemnaam?: string;
@@ -90482,6 +91298,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90482
91298
  is_herprint: boolean;
90483
91299
  kopieen: number;
90484
91300
  layout_id: string | null;
91301
+ lokaal_opgeslagen_op: string | null;
91302
+ lokale_pdf_fout: string | null;
91303
+ lokale_pdf_status: string | null;
90485
91304
  opgepakt_op: string | null;
90486
91305
  paginas: number;
90487
91306
  payload: import("../integrations/supabase/types.js").Json;
@@ -90490,6 +91309,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90490
91309
  pogingen: number;
90491
91310
  printer_id: string | null;
90492
91311
  render_html: string | null;
91312
+ resultaat_pdf_base64: string | null;
90493
91313
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
90494
91314
  updated_at: string;
90495
91315
  volgende_poging: string | null;
@@ -90581,6 +91401,53 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90581
91401
  isSetofReturn: true;
90582
91402
  };
90583
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
+ };
90584
91451
  claim_print_jobs: {
90585
91452
  Args: {
90586
91453
  _agent_id: string;
@@ -90605,6 +91472,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90605
91472
  is_herprint: boolean;
90606
91473
  kopieen: number;
90607
91474
  layout_id: string | null;
91475
+ lokaal_opgeslagen_op: string | null;
91476
+ lokale_pdf_fout: string | null;
91477
+ lokale_pdf_status: string | null;
90608
91478
  opgepakt_op: string | null;
90609
91479
  paginas: number;
90610
91480
  payload: import("../integrations/supabase/types.js").Json;
@@ -90613,6 +91483,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90613
91483
  pogingen: number;
90614
91484
  printer_id: string | null;
90615
91485
  render_html: string | null;
91486
+ resultaat_pdf_base64: string | null;
90616
91487
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
90617
91488
  updated_at: string;
90618
91489
  volgende_poging: string | null;
@@ -90753,6 +91624,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90753
91624
  order_id: string;
90754
91625
  order_source: string;
90755
91626
  pick_date: string;
91627
+ printed_at: string;
91628
+ printed_today: boolean;
90756
91629
  status: string;
90757
91630
  }[];
90758
91631
  };
@@ -91461,6 +92334,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91461
92334
  };
91462
92335
  Returns: number;
91463
92336
  };
92337
+ logistics_cancel_orphan_tasks: {
92338
+ Args: never;
92339
+ Returns: number;
92340
+ };
91464
92341
  logistics_capacity_day_check: {
91465
92342
  Args: {
91466
92343
  p_from?: string;
@@ -91481,6 +92358,25 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91481
92358
  };
91482
92359
  Returns: number;
91483
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
+ };
91484
92380
  logistics_check_order_allowed: {
91485
92381
  Args: {
91486
92382
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -91629,6 +92525,17 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91629
92525
  isSetofReturn: false;
91630
92526
  };
91631
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
+ };
91632
92539
  logistics_delay_customer_email: {
91633
92540
  Args: {
91634
92541
  p_customer: string;
@@ -91822,6 +92729,25 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91822
92729
  };
91823
92730
  Returns: number;
91824
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
+ };
91825
92751
  logistics_order_pick_day: {
91826
92752
  Args: {
91827
92753
  p_order_ref: string;
@@ -91834,6 +92760,22 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91834
92760
  };
91835
92761
  Returns: string;
91836
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
+ };
91837
92779
  logistics_pick_email_purpose: {
91838
92780
  Args: never;
91839
92781
  Returns: string;
@@ -91993,6 +92935,15 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91993
92935
  };
91994
92936
  Returns: import("../integrations/supabase/types.js").Json;
91995
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
+ };
91996
92947
  logistics_resolve_settings: {
91997
92948
  Args: {
91998
92949
  p_config_id: string;
@@ -92447,6 +93398,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
92447
93398
  };
92448
93399
  Returns: import("../integrations/supabase/types.js").Json;
92449
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
+ };
92450
93408
  pick_print_job_status: {
92451
93409
  Args: {
92452
93410
  _job_id: string;
@@ -92796,6 +93754,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
92796
93754
  };
92797
93755
  Returns: string;
92798
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
+ };
92799
93763
  resolve_product_id_for_item: {
92800
93764
  Args: {
92801
93765
  p_product_name: string;
@@ -93387,7 +94351,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
93387
94351
  };
93388
94352
  CompositeTypes: { [_ in never]: never; };
93389
94353
  }, {
93390
- PostgrestVersion: "14.17";
94354
+ PostgrestVersion: "14.5";
93391
94355
  }>;
93392
94356
  userId: string;
93393
94357
  claims: import("@supabase/auth-js").JwtPayload;