@flowselections/floriday-afhandeling-module 1.0.40 → 1.0.41

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 (40) hide show
  1. package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
  2. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  3. package/dist-lib/components/afhandeling/ControlePage.js +36 -2
  4. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  5. package/dist-lib/components/afhandeling/DagDetailDialog.js +3 -2
  6. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  7. package/dist-lib/components/afhandeling/WeekAgendaView.js +38 -45
  8. package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
  9. package/dist-lib/hooks/useCartIndex.d.ts +11 -0
  10. package/dist-lib/hooks/useCartIndex.d.ts.map +1 -0
  11. package/dist-lib/hooks/useCartIndex.js +56 -0
  12. package/dist-lib/hooks/useConsistencyCheck.d.ts +8 -0
  13. package/dist-lib/hooks/useConsistencyCheck.d.ts.map +1 -0
  14. package/dist-lib/hooks/useConsistencyCheck.js +22 -0
  15. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  16. package/dist-lib/hooks/useOrderPlanning.js +6 -2
  17. package/dist-lib/hooks/usePickAgenda.d.ts +32 -0
  18. package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -0
  19. package/dist-lib/hooks/usePickAgenda.js +75 -0
  20. package/dist-lib/integrations/supabase/auth-middleware.d.ts +164 -1
  21. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/client.server.d.ts +164 -1
  23. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  24. package/dist-lib/integrations/supabase/moduleClient.d.ts +164 -1
  25. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  26. package/dist-lib/integrations/supabase/types.d.ts +164 -1
  27. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  28. package/dist-lib/lib/afhandelingSettings.functions.d.ts +330 -4
  29. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/carrierSignupMail.server.js +26 -26
  31. package/dist-lib/lib/carriers.functions.d.ts +820 -5
  32. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/cartAssignments.functions.d.ts +820 -5
  34. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/cartControl.functions.d.ts +1743 -124
  36. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/cartControl.functions.js +92 -127
  38. package/dist-lib/lib/floriday.functions.d.ts +165 -2
  39. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -13717,6 +13717,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
13717
13717
  is_herprint: boolean;
13718
13718
  kopieen: number;
13719
13719
  layout_id: string | null;
13720
+ lokaal_opgeslagen_op: string | null;
13721
+ lokale_pdf_fout: string | null;
13722
+ lokale_pdf_status: string | null;
13720
13723
  opgepakt_op: string | null;
13721
13724
  paginas: number;
13722
13725
  payload: import("../integrations/supabase/types").Json;
@@ -13725,6 +13728,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
13725
13728
  pogingen: number;
13726
13729
  printer_id: string | null;
13727
13730
  render_html: string | null;
13731
+ resultaat_pdf_base64: string | null;
13728
13732
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13729
13733
  updated_at: string;
13730
13734
  volgende_poging: string | null;
@@ -13749,6 +13753,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
13749
13753
  is_herprint?: boolean;
13750
13754
  kopieen?: number;
13751
13755
  layout_id?: string | null;
13756
+ lokaal_opgeslagen_op?: string | null;
13757
+ lokale_pdf_fout?: string | null;
13758
+ lokale_pdf_status?: string | null;
13752
13759
  opgepakt_op?: string | null;
13753
13760
  paginas?: number;
13754
13761
  payload?: import("../integrations/supabase/types").Json;
@@ -13757,6 +13764,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
13757
13764
  pogingen?: number;
13758
13765
  printer_id?: string | null;
13759
13766
  render_html?: string | null;
13767
+ resultaat_pdf_base64?: string | null;
13760
13768
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13761
13769
  updated_at?: string;
13762
13770
  volgende_poging?: string | null;
@@ -13781,6 +13789,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
13781
13789
  is_herprint?: boolean;
13782
13790
  kopieen?: number;
13783
13791
  layout_id?: string | null;
13792
+ lokaal_opgeslagen_op?: string | null;
13793
+ lokale_pdf_fout?: string | null;
13794
+ lokale_pdf_status?: string | null;
13784
13795
  opgepakt_op?: string | null;
13785
13796
  paginas?: number;
13786
13797
  payload?: import("../integrations/supabase/types").Json;
@@ -13789,6 +13800,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
13789
13800
  pogingen?: number;
13790
13801
  printer_id?: string | null;
13791
13802
  render_html?: string | null;
13803
+ resultaat_pdf_base64?: string | null;
13792
13804
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13793
13805
  updated_at?: string;
13794
13806
  volgende_poging?: string | null;
@@ -14179,6 +14191,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
14179
14191
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14180
14192
  online: boolean;
14181
14193
  papierformaat: string;
14194
+ pdf_map: string | null;
14182
14195
  poort: number | null;
14183
14196
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14184
14197
  systeemnaam: string;
@@ -14204,6 +14217,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
14204
14217
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14205
14218
  online?: boolean;
14206
14219
  papierformaat?: string;
14220
+ pdf_map?: string | null;
14207
14221
  poort?: number | null;
14208
14222
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14209
14223
  systeemnaam?: string;
@@ -14229,6 +14243,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
14229
14243
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14230
14244
  online?: boolean;
14231
14245
  papierformaat?: string;
14246
+ pdf_map?: string | null;
14232
14247
  poort?: number | null;
14233
14248
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14234
14249
  systeemnaam?: string;
@@ -20485,6 +20500,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20485
20500
  is_herprint: boolean;
20486
20501
  kopieen: number;
20487
20502
  layout_id: string | null;
20503
+ lokaal_opgeslagen_op: string | null;
20504
+ lokale_pdf_fout: string | null;
20505
+ lokale_pdf_status: string | null;
20488
20506
  opgepakt_op: string | null;
20489
20507
  paginas: number;
20490
20508
  payload: import("../integrations/supabase/types").Json;
@@ -20493,6 +20511,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20493
20511
  pogingen: number;
20494
20512
  printer_id: string | null;
20495
20513
  render_html: string | null;
20514
+ resultaat_pdf_base64: string | null;
20496
20515
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20497
20516
  updated_at: string;
20498
20517
  volgende_poging: string | null;
@@ -20584,6 +20603,53 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20584
20603
  isSetofReturn: true;
20585
20604
  };
20586
20605
  };
20606
+ claim_pdf_print_jobs: {
20607
+ Args: {
20608
+ _max?: number;
20609
+ };
20610
+ Returns: {
20611
+ agent_id: string | null;
20612
+ bron_job_id: string | null;
20613
+ created_at: string;
20614
+ documentnaam: string;
20615
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20616
+ extern_job_id: string | null;
20617
+ foutmelding: string | null;
20618
+ gebruiker_id: string | null;
20619
+ gebruiker_naam: string;
20620
+ gebruikte_bron: string | null;
20621
+ gebruikte_layout_id: string | null;
20622
+ gestart_op: string | null;
20623
+ herkomst: string | null;
20624
+ id: string;
20625
+ idempotentie_sleutel: string | null;
20626
+ is_herprint: boolean;
20627
+ kopieen: number;
20628
+ layout_id: string | null;
20629
+ lokaal_opgeslagen_op: string | null;
20630
+ lokale_pdf_fout: string | null;
20631
+ lokale_pdf_status: string | null;
20632
+ opgepakt_op: string | null;
20633
+ paginas: number;
20634
+ payload: import("../integrations/supabase/types").Json;
20635
+ pdf_base64: string | null;
20636
+ pdf_url: string | null;
20637
+ pogingen: number;
20638
+ printer_id: string | null;
20639
+ render_html: string | null;
20640
+ resultaat_pdf_base64: string | null;
20641
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20642
+ updated_at: string;
20643
+ volgende_poging: string | null;
20644
+ voltooid_op: string | null;
20645
+ }[];
20646
+ SetofOptions: {
20647
+ from: "*";
20648
+ to: "print_jobs";
20649
+ isOneToOne: false;
20650
+ isSetofReturn: true;
20651
+ };
20652
+ };
20587
20653
  claim_print_jobs: {
20588
20654
  Args: {
20589
20655
  _agent_id: string;
@@ -20608,6 +20674,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20608
20674
  is_herprint: boolean;
20609
20675
  kopieen: number;
20610
20676
  layout_id: string | null;
20677
+ lokaal_opgeslagen_op: string | null;
20678
+ lokale_pdf_fout: string | null;
20679
+ lokale_pdf_status: string | null;
20611
20680
  opgepakt_op: string | null;
20612
20681
  paginas: number;
20613
20682
  payload: import("../integrations/supabase/types").Json;
@@ -20616,6 +20685,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20616
20685
  pogingen: number;
20617
20686
  printer_id: string | null;
20618
20687
  render_html: string | null;
20688
+ resultaat_pdf_base64: string | null;
20619
20689
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20620
20690
  updated_at: string;
20621
20691
  volgende_poging: string | null;
@@ -20756,6 +20826,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20756
20826
  order_id: string;
20757
20827
  order_source: string;
20758
20828
  pick_date: string;
20829
+ printed_at: string;
20830
+ printed_today: boolean;
20759
20831
  status: string;
20760
20832
  }[];
20761
20833
  };
@@ -21464,6 +21536,10 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
21464
21536
  };
21465
21537
  Returns: number;
21466
21538
  };
21539
+ logistics_cancel_orphan_tasks: {
21540
+ Args: never;
21541
+ Returns: number;
21542
+ };
21467
21543
  logistics_capacity_day_check: {
21468
21544
  Args: {
21469
21545
  p_from?: string;
@@ -21484,6 +21560,25 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
21484
21560
  };
21485
21561
  Returns: number;
21486
21562
  };
21563
+ logistics_cart_index: {
21564
+ Args: {
21565
+ p_from?: string;
21566
+ p_to?: string;
21567
+ };
21568
+ Returns: {
21569
+ cart_id: string;
21570
+ cart_index: number;
21571
+ cart_label: string;
21572
+ is_shared: boolean;
21573
+ order_number: string;
21574
+ order_source: string;
21575
+ order_uuid: string;
21576
+ pick_date: string;
21577
+ printed_at: string;
21578
+ shifted: boolean;
21579
+ task_status: string;
21580
+ }[];
21581
+ };
21487
21582
  logistics_check_order_allowed: {
21488
21583
  Args: {
21489
21584
  p_lines: import("../integrations/supabase/types").Json;
@@ -21632,6 +21727,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
21632
21727
  isSetofReturn: false;
21633
21728
  };
21634
21729
  };
21730
+ logistics_consistency_check: {
21731
+ Args: never;
21732
+ Returns: {
21733
+ agenda_carts: number;
21734
+ control_carts: number;
21735
+ ok: boolean;
21736
+ orphan_tasks: number;
21737
+ pick_date: string;
21738
+ raw_carts: number;
21739
+ }[];
21740
+ };
21635
21741
  logistics_delay_customer_email: {
21636
21742
  Args: {
21637
21743
  p_customer: string;
@@ -21825,6 +21931,25 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
21825
21931
  };
21826
21932
  Returns: number;
21827
21933
  };
21934
+ logistics_order_overview: {
21935
+ Args: {
21936
+ p_from?: string;
21937
+ p_to?: string;
21938
+ };
21939
+ Returns: {
21940
+ cart_count: number;
21941
+ customer_name: string;
21942
+ delivery_date: string;
21943
+ order_number: string;
21944
+ order_source: string;
21945
+ order_uuid: string;
21946
+ pick_date: string;
21947
+ plant_count: number;
21948
+ printed_at: string;
21949
+ shifted: boolean;
21950
+ status: string;
21951
+ }[];
21952
+ };
21828
21953
  logistics_order_pick_day: {
21829
21954
  Args: {
21830
21955
  p_order_ref: string;
@@ -21837,6 +21962,22 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
21837
21962
  };
21838
21963
  Returns: string;
21839
21964
  };
21965
+ logistics_pick_agenda: {
21966
+ Args: {
21967
+ p_from?: string;
21968
+ p_to?: string;
21969
+ };
21970
+ Returns: {
21971
+ cart_count: number;
21972
+ in_preparation: number;
21973
+ order_count: number;
21974
+ orders: import("../integrations/supabase/types").Json;
21975
+ pick_date: string;
21976
+ plant_count: number;
21977
+ ready: number;
21978
+ shifted_count: number;
21979
+ }[];
21980
+ };
21840
21981
  logistics_pick_email_purpose: {
21841
21982
  Args: never;
21842
21983
  Returns: string;
@@ -21996,6 +22137,15 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
21996
22137
  };
21997
22138
  Returns: import("../integrations/supabase/types").Json;
21998
22139
  };
22140
+ logistics_resolve_pick_document: {
22141
+ Args: {
22142
+ _is_herprint: boolean;
22143
+ _queue_item_id: string;
22144
+ _session_id: string;
22145
+ _voorbeeld: boolean;
22146
+ };
22147
+ Returns: import("../integrations/supabase/types").Json;
22148
+ };
21999
22149
  logistics_resolve_settings: {
22000
22150
  Args: {
22001
22151
  p_config_id: string;
@@ -22450,6 +22600,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
22450
22600
  };
22451
22601
  Returns: import("../integrations/supabase/types").Json;
22452
22602
  };
22603
+ pick_preview_job: {
22604
+ Args: {
22605
+ _queue_item_id: string;
22606
+ _station_slug: string;
22607
+ };
22608
+ Returns: import("../integrations/supabase/types").Json;
22609
+ };
22453
22610
  pick_print_job_status: {
22454
22611
  Args: {
22455
22612
  _job_id: string;
@@ -22799,6 +22956,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
22799
22956
  };
22800
22957
  Returns: string;
22801
22958
  };
22959
+ resolve_print_job_printer_id: {
22960
+ Args: {
22961
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22962
+ };
22963
+ Returns: string;
22964
+ };
22802
22965
  resolve_product_id_for_item: {
22803
22966
  Args: {
22804
22967
  p_product_name: string;
@@ -23390,7 +23553,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
23390
23553
  };
23391
23554
  CompositeTypes: { [_ in never]: never; };
23392
23555
  }, {
23393
- PostgrestVersion: "14.17";
23556
+ PostgrestVersion: "14.5";
23394
23557
  }>;
23395
23558
  userId: string;
23396
23559
  claims: import("@supabase/auth-js").JwtPayload;
@@ -37058,6 +37221,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37058
37221
  is_herprint: boolean;
37059
37222
  kopieen: number;
37060
37223
  layout_id: string | null;
37224
+ lokaal_opgeslagen_op: string | null;
37225
+ lokale_pdf_fout: string | null;
37226
+ lokale_pdf_status: string | null;
37061
37227
  opgepakt_op: string | null;
37062
37228
  paginas: number;
37063
37229
  payload: import("../integrations/supabase/types").Json;
@@ -37066,6 +37232,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37066
37232
  pogingen: number;
37067
37233
  printer_id: string | null;
37068
37234
  render_html: string | null;
37235
+ resultaat_pdf_base64: string | null;
37069
37236
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37070
37237
  updated_at: string;
37071
37238
  volgende_poging: string | null;
@@ -37090,6 +37257,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37090
37257
  is_herprint?: boolean;
37091
37258
  kopieen?: number;
37092
37259
  layout_id?: string | null;
37260
+ lokaal_opgeslagen_op?: string | null;
37261
+ lokale_pdf_fout?: string | null;
37262
+ lokale_pdf_status?: string | null;
37093
37263
  opgepakt_op?: string | null;
37094
37264
  paginas?: number;
37095
37265
  payload?: import("../integrations/supabase/types").Json;
@@ -37098,6 +37268,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37098
37268
  pogingen?: number;
37099
37269
  printer_id?: string | null;
37100
37270
  render_html?: string | null;
37271
+ resultaat_pdf_base64?: string | null;
37101
37272
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37102
37273
  updated_at?: string;
37103
37274
  volgende_poging?: string | null;
@@ -37122,6 +37293,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37122
37293
  is_herprint?: boolean;
37123
37294
  kopieen?: number;
37124
37295
  layout_id?: string | null;
37296
+ lokaal_opgeslagen_op?: string | null;
37297
+ lokale_pdf_fout?: string | null;
37298
+ lokale_pdf_status?: string | null;
37125
37299
  opgepakt_op?: string | null;
37126
37300
  paginas?: number;
37127
37301
  payload?: import("../integrations/supabase/types").Json;
@@ -37130,6 +37304,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37130
37304
  pogingen?: number;
37131
37305
  printer_id?: string | null;
37132
37306
  render_html?: string | null;
37307
+ resultaat_pdf_base64?: string | null;
37133
37308
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37134
37309
  updated_at?: string;
37135
37310
  volgende_poging?: string | null;
@@ -37520,6 +37695,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37520
37695
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37521
37696
  online: boolean;
37522
37697
  papierformaat: string;
37698
+ pdf_map: string | null;
37523
37699
  poort: number | null;
37524
37700
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37525
37701
  systeemnaam: string;
@@ -37545,6 +37721,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37545
37721
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37546
37722
  online?: boolean;
37547
37723
  papierformaat?: string;
37724
+ pdf_map?: string | null;
37548
37725
  poort?: number | null;
37549
37726
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37550
37727
  systeemnaam?: string;
@@ -37570,6 +37747,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
37570
37747
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37571
37748
  online?: boolean;
37572
37749
  papierformaat?: string;
37750
+ pdf_map?: string | null;
37573
37751
  poort?: number | null;
37574
37752
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37575
37753
  systeemnaam?: string;
@@ -43826,6 +44004,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
43826
44004
  is_herprint: boolean;
43827
44005
  kopieen: number;
43828
44006
  layout_id: string | null;
44007
+ lokaal_opgeslagen_op: string | null;
44008
+ lokale_pdf_fout: string | null;
44009
+ lokale_pdf_status: string | null;
43829
44010
  opgepakt_op: string | null;
43830
44011
  paginas: number;
43831
44012
  payload: import("../integrations/supabase/types").Json;
@@ -43834,6 +44015,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
43834
44015
  pogingen: number;
43835
44016
  printer_id: string | null;
43836
44017
  render_html: string | null;
44018
+ resultaat_pdf_base64: string | null;
43837
44019
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43838
44020
  updated_at: string;
43839
44021
  volgende_poging: string | null;
@@ -43925,6 +44107,53 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
43925
44107
  isSetofReturn: true;
43926
44108
  };
43927
44109
  };
44110
+ claim_pdf_print_jobs: {
44111
+ Args: {
44112
+ _max?: number;
44113
+ };
44114
+ Returns: {
44115
+ agent_id: string | null;
44116
+ bron_job_id: string | null;
44117
+ created_at: string;
44118
+ documentnaam: string;
44119
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44120
+ extern_job_id: string | null;
44121
+ foutmelding: string | null;
44122
+ gebruiker_id: string | null;
44123
+ gebruiker_naam: string;
44124
+ gebruikte_bron: string | null;
44125
+ gebruikte_layout_id: string | null;
44126
+ gestart_op: string | null;
44127
+ herkomst: string | null;
44128
+ id: string;
44129
+ idempotentie_sleutel: string | null;
44130
+ is_herprint: boolean;
44131
+ kopieen: number;
44132
+ layout_id: string | null;
44133
+ lokaal_opgeslagen_op: string | null;
44134
+ lokale_pdf_fout: string | null;
44135
+ lokale_pdf_status: string | null;
44136
+ opgepakt_op: string | null;
44137
+ paginas: number;
44138
+ payload: import("../integrations/supabase/types").Json;
44139
+ pdf_base64: string | null;
44140
+ pdf_url: string | null;
44141
+ pogingen: number;
44142
+ printer_id: string | null;
44143
+ render_html: string | null;
44144
+ resultaat_pdf_base64: string | null;
44145
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44146
+ updated_at: string;
44147
+ volgende_poging: string | null;
44148
+ voltooid_op: string | null;
44149
+ }[];
44150
+ SetofOptions: {
44151
+ from: "*";
44152
+ to: "print_jobs";
44153
+ isOneToOne: false;
44154
+ isSetofReturn: true;
44155
+ };
44156
+ };
43928
44157
  claim_print_jobs: {
43929
44158
  Args: {
43930
44159
  _agent_id: string;
@@ -43949,6 +44178,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
43949
44178
  is_herprint: boolean;
43950
44179
  kopieen: number;
43951
44180
  layout_id: string | null;
44181
+ lokaal_opgeslagen_op: string | null;
44182
+ lokale_pdf_fout: string | null;
44183
+ lokale_pdf_status: string | null;
43952
44184
  opgepakt_op: string | null;
43953
44185
  paginas: number;
43954
44186
  payload: import("../integrations/supabase/types").Json;
@@ -43957,6 +44189,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
43957
44189
  pogingen: number;
43958
44190
  printer_id: string | null;
43959
44191
  render_html: string | null;
44192
+ resultaat_pdf_base64: string | null;
43960
44193
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43961
44194
  updated_at: string;
43962
44195
  volgende_poging: string | null;
@@ -44097,6 +44330,8 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
44097
44330
  order_id: string;
44098
44331
  order_source: string;
44099
44332
  pick_date: string;
44333
+ printed_at: string;
44334
+ printed_today: boolean;
44100
44335
  status: string;
44101
44336
  }[];
44102
44337
  };
@@ -44805,6 +45040,10 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
44805
45040
  };
44806
45041
  Returns: number;
44807
45042
  };
45043
+ logistics_cancel_orphan_tasks: {
45044
+ Args: never;
45045
+ Returns: number;
45046
+ };
44808
45047
  logistics_capacity_day_check: {
44809
45048
  Args: {
44810
45049
  p_from?: string;
@@ -44825,6 +45064,25 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
44825
45064
  };
44826
45065
  Returns: number;
44827
45066
  };
45067
+ logistics_cart_index: {
45068
+ Args: {
45069
+ p_from?: string;
45070
+ p_to?: string;
45071
+ };
45072
+ Returns: {
45073
+ cart_id: string;
45074
+ cart_index: number;
45075
+ cart_label: string;
45076
+ is_shared: boolean;
45077
+ order_number: string;
45078
+ order_source: string;
45079
+ order_uuid: string;
45080
+ pick_date: string;
45081
+ printed_at: string;
45082
+ shifted: boolean;
45083
+ task_status: string;
45084
+ }[];
45085
+ };
44828
45086
  logistics_check_order_allowed: {
44829
45087
  Args: {
44830
45088
  p_lines: import("../integrations/supabase/types").Json;
@@ -44973,6 +45231,17 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
44973
45231
  isSetofReturn: false;
44974
45232
  };
44975
45233
  };
45234
+ logistics_consistency_check: {
45235
+ Args: never;
45236
+ Returns: {
45237
+ agenda_carts: number;
45238
+ control_carts: number;
45239
+ ok: boolean;
45240
+ orphan_tasks: number;
45241
+ pick_date: string;
45242
+ raw_carts: number;
45243
+ }[];
45244
+ };
44976
45245
  logistics_delay_customer_email: {
44977
45246
  Args: {
44978
45247
  p_customer: string;
@@ -45166,6 +45435,25 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45166
45435
  };
45167
45436
  Returns: number;
45168
45437
  };
45438
+ logistics_order_overview: {
45439
+ Args: {
45440
+ p_from?: string;
45441
+ p_to?: string;
45442
+ };
45443
+ Returns: {
45444
+ cart_count: number;
45445
+ customer_name: string;
45446
+ delivery_date: string;
45447
+ order_number: string;
45448
+ order_source: string;
45449
+ order_uuid: string;
45450
+ pick_date: string;
45451
+ plant_count: number;
45452
+ printed_at: string;
45453
+ shifted: boolean;
45454
+ status: string;
45455
+ }[];
45456
+ };
45169
45457
  logistics_order_pick_day: {
45170
45458
  Args: {
45171
45459
  p_order_ref: string;
@@ -45178,6 +45466,22 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45178
45466
  };
45179
45467
  Returns: string;
45180
45468
  };
45469
+ logistics_pick_agenda: {
45470
+ Args: {
45471
+ p_from?: string;
45472
+ p_to?: string;
45473
+ };
45474
+ Returns: {
45475
+ cart_count: number;
45476
+ in_preparation: number;
45477
+ order_count: number;
45478
+ orders: import("../integrations/supabase/types").Json;
45479
+ pick_date: string;
45480
+ plant_count: number;
45481
+ ready: number;
45482
+ shifted_count: number;
45483
+ }[];
45484
+ };
45181
45485
  logistics_pick_email_purpose: {
45182
45486
  Args: never;
45183
45487
  Returns: string;
@@ -45337,6 +45641,15 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45337
45641
  };
45338
45642
  Returns: import("../integrations/supabase/types").Json;
45339
45643
  };
45644
+ logistics_resolve_pick_document: {
45645
+ Args: {
45646
+ _is_herprint: boolean;
45647
+ _queue_item_id: string;
45648
+ _session_id: string;
45649
+ _voorbeeld: boolean;
45650
+ };
45651
+ Returns: import("../integrations/supabase/types").Json;
45652
+ };
45340
45653
  logistics_resolve_settings: {
45341
45654
  Args: {
45342
45655
  p_config_id: string;
@@ -45791,6 +46104,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45791
46104
  };
45792
46105
  Returns: import("../integrations/supabase/types").Json;
45793
46106
  };
46107
+ pick_preview_job: {
46108
+ Args: {
46109
+ _queue_item_id: string;
46110
+ _station_slug: string;
46111
+ };
46112
+ Returns: import("../integrations/supabase/types").Json;
46113
+ };
45794
46114
  pick_print_job_status: {
45795
46115
  Args: {
45796
46116
  _job_id: string;
@@ -46140,6 +46460,12 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
46140
46460
  };
46141
46461
  Returns: string;
46142
46462
  };
46463
+ resolve_print_job_printer_id: {
46464
+ Args: {
46465
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46466
+ };
46467
+ Returns: string;
46468
+ };
46143
46469
  resolve_product_id_for_item: {
46144
46470
  Args: {
46145
46471
  p_product_name: string;
@@ -46731,7 +47057,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
46731
47057
  };
46732
47058
  CompositeTypes: { [_ in never]: never; };
46733
47059
  }, {
46734
- PostgrestVersion: "14.17";
47060
+ PostgrestVersion: "14.5";
46735
47061
  }>;
46736
47062
  userId: string;
46737
47063
  claims: import("@supabase/auth-js").JwtPayload;
@@ -60403,6 +60729,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60403
60729
  is_herprint: boolean;
60404
60730
  kopieen: number;
60405
60731
  layout_id: string | null;
60732
+ lokaal_opgeslagen_op: string | null;
60733
+ lokale_pdf_fout: string | null;
60734
+ lokale_pdf_status: string | null;
60406
60735
  opgepakt_op: string | null;
60407
60736
  paginas: number;
60408
60737
  payload: import("../integrations/supabase/types").Json;
@@ -60411,6 +60740,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60411
60740
  pogingen: number;
60412
60741
  printer_id: string | null;
60413
60742
  render_html: string | null;
60743
+ resultaat_pdf_base64: string | null;
60414
60744
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60415
60745
  updated_at: string;
60416
60746
  volgende_poging: string | null;
@@ -60435,6 +60765,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60435
60765
  is_herprint?: boolean;
60436
60766
  kopieen?: number;
60437
60767
  layout_id?: string | null;
60768
+ lokaal_opgeslagen_op?: string | null;
60769
+ lokale_pdf_fout?: string | null;
60770
+ lokale_pdf_status?: string | null;
60438
60771
  opgepakt_op?: string | null;
60439
60772
  paginas?: number;
60440
60773
  payload?: import("../integrations/supabase/types").Json;
@@ -60443,6 +60776,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60443
60776
  pogingen?: number;
60444
60777
  printer_id?: string | null;
60445
60778
  render_html?: string | null;
60779
+ resultaat_pdf_base64?: string | null;
60446
60780
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60447
60781
  updated_at?: string;
60448
60782
  volgende_poging?: string | null;
@@ -60467,6 +60801,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60467
60801
  is_herprint?: boolean;
60468
60802
  kopieen?: number;
60469
60803
  layout_id?: string | null;
60804
+ lokaal_opgeslagen_op?: string | null;
60805
+ lokale_pdf_fout?: string | null;
60806
+ lokale_pdf_status?: string | null;
60470
60807
  opgepakt_op?: string | null;
60471
60808
  paginas?: number;
60472
60809
  payload?: import("../integrations/supabase/types").Json;
@@ -60475,6 +60812,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60475
60812
  pogingen?: number;
60476
60813
  printer_id?: string | null;
60477
60814
  render_html?: string | null;
60815
+ resultaat_pdf_base64?: string | null;
60478
60816
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60479
60817
  updated_at?: string;
60480
60818
  volgende_poging?: string | null;
@@ -60865,6 +61203,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60865
61203
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
60866
61204
  online: boolean;
60867
61205
  papierformaat: string;
61206
+ pdf_map: string | null;
60868
61207
  poort: number | null;
60869
61208
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60870
61209
  systeemnaam: string;
@@ -60890,6 +61229,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60890
61229
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60891
61230
  online?: boolean;
60892
61231
  papierformaat?: string;
61232
+ pdf_map?: string | null;
60893
61233
  poort?: number | null;
60894
61234
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60895
61235
  systeemnaam?: string;
@@ -60915,6 +61255,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
60915
61255
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60916
61256
  online?: boolean;
60917
61257
  papierformaat?: string;
61258
+ pdf_map?: string | null;
60918
61259
  poort?: number | null;
60919
61260
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60920
61261
  systeemnaam?: string;
@@ -67171,6 +67512,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
67171
67512
  is_herprint: boolean;
67172
67513
  kopieen: number;
67173
67514
  layout_id: string | null;
67515
+ lokaal_opgeslagen_op: string | null;
67516
+ lokale_pdf_fout: string | null;
67517
+ lokale_pdf_status: string | null;
67174
67518
  opgepakt_op: string | null;
67175
67519
  paginas: number;
67176
67520
  payload: import("../integrations/supabase/types").Json;
@@ -67179,6 +67523,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
67179
67523
  pogingen: number;
67180
67524
  printer_id: string | null;
67181
67525
  render_html: string | null;
67526
+ resultaat_pdf_base64: string | null;
67182
67527
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67183
67528
  updated_at: string;
67184
67529
  volgende_poging: string | null;
@@ -67270,6 +67615,53 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
67270
67615
  isSetofReturn: true;
67271
67616
  };
67272
67617
  };
67618
+ claim_pdf_print_jobs: {
67619
+ Args: {
67620
+ _max?: number;
67621
+ };
67622
+ Returns: {
67623
+ agent_id: string | null;
67624
+ bron_job_id: string | null;
67625
+ created_at: string;
67626
+ documentnaam: string;
67627
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
67628
+ extern_job_id: string | null;
67629
+ foutmelding: string | null;
67630
+ gebruiker_id: string | null;
67631
+ gebruiker_naam: string;
67632
+ gebruikte_bron: string | null;
67633
+ gebruikte_layout_id: string | null;
67634
+ gestart_op: string | null;
67635
+ herkomst: string | null;
67636
+ id: string;
67637
+ idempotentie_sleutel: string | null;
67638
+ is_herprint: boolean;
67639
+ kopieen: number;
67640
+ layout_id: string | null;
67641
+ lokaal_opgeslagen_op: string | null;
67642
+ lokale_pdf_fout: string | null;
67643
+ lokale_pdf_status: string | null;
67644
+ opgepakt_op: string | null;
67645
+ paginas: number;
67646
+ payload: import("../integrations/supabase/types").Json;
67647
+ pdf_base64: string | null;
67648
+ pdf_url: string | null;
67649
+ pogingen: number;
67650
+ printer_id: string | null;
67651
+ render_html: string | null;
67652
+ resultaat_pdf_base64: string | null;
67653
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67654
+ updated_at: string;
67655
+ volgende_poging: string | null;
67656
+ voltooid_op: string | null;
67657
+ }[];
67658
+ SetofOptions: {
67659
+ from: "*";
67660
+ to: "print_jobs";
67661
+ isOneToOne: false;
67662
+ isSetofReturn: true;
67663
+ };
67664
+ };
67273
67665
  claim_print_jobs: {
67274
67666
  Args: {
67275
67667
  _agent_id: string;
@@ -67294,6 +67686,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
67294
67686
  is_herprint: boolean;
67295
67687
  kopieen: number;
67296
67688
  layout_id: string | null;
67689
+ lokaal_opgeslagen_op: string | null;
67690
+ lokale_pdf_fout: string | null;
67691
+ lokale_pdf_status: string | null;
67297
67692
  opgepakt_op: string | null;
67298
67693
  paginas: number;
67299
67694
  payload: import("../integrations/supabase/types").Json;
@@ -67302,6 +67697,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
67302
67697
  pogingen: number;
67303
67698
  printer_id: string | null;
67304
67699
  render_html: string | null;
67700
+ resultaat_pdf_base64: string | null;
67305
67701
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67306
67702
  updated_at: string;
67307
67703
  volgende_poging: string | null;
@@ -67442,6 +67838,8 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
67442
67838
  order_id: string;
67443
67839
  order_source: string;
67444
67840
  pick_date: string;
67841
+ printed_at: string;
67842
+ printed_today: boolean;
67445
67843
  status: string;
67446
67844
  }[];
67447
67845
  };
@@ -68150,6 +68548,10 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
68150
68548
  };
68151
68549
  Returns: number;
68152
68550
  };
68551
+ logistics_cancel_orphan_tasks: {
68552
+ Args: never;
68553
+ Returns: number;
68554
+ };
68153
68555
  logistics_capacity_day_check: {
68154
68556
  Args: {
68155
68557
  p_from?: string;
@@ -68170,6 +68572,25 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
68170
68572
  };
68171
68573
  Returns: number;
68172
68574
  };
68575
+ logistics_cart_index: {
68576
+ Args: {
68577
+ p_from?: string;
68578
+ p_to?: string;
68579
+ };
68580
+ Returns: {
68581
+ cart_id: string;
68582
+ cart_index: number;
68583
+ cart_label: string;
68584
+ is_shared: boolean;
68585
+ order_number: string;
68586
+ order_source: string;
68587
+ order_uuid: string;
68588
+ pick_date: string;
68589
+ printed_at: string;
68590
+ shifted: boolean;
68591
+ task_status: string;
68592
+ }[];
68593
+ };
68173
68594
  logistics_check_order_allowed: {
68174
68595
  Args: {
68175
68596
  p_lines: import("../integrations/supabase/types").Json;
@@ -68318,6 +68739,17 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
68318
68739
  isSetofReturn: false;
68319
68740
  };
68320
68741
  };
68742
+ logistics_consistency_check: {
68743
+ Args: never;
68744
+ Returns: {
68745
+ agenda_carts: number;
68746
+ control_carts: number;
68747
+ ok: boolean;
68748
+ orphan_tasks: number;
68749
+ pick_date: string;
68750
+ raw_carts: number;
68751
+ }[];
68752
+ };
68321
68753
  logistics_delay_customer_email: {
68322
68754
  Args: {
68323
68755
  p_customer: string;
@@ -68511,6 +68943,25 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
68511
68943
  };
68512
68944
  Returns: number;
68513
68945
  };
68946
+ logistics_order_overview: {
68947
+ Args: {
68948
+ p_from?: string;
68949
+ p_to?: string;
68950
+ };
68951
+ Returns: {
68952
+ cart_count: number;
68953
+ customer_name: string;
68954
+ delivery_date: string;
68955
+ order_number: string;
68956
+ order_source: string;
68957
+ order_uuid: string;
68958
+ pick_date: string;
68959
+ plant_count: number;
68960
+ printed_at: string;
68961
+ shifted: boolean;
68962
+ status: string;
68963
+ }[];
68964
+ };
68514
68965
  logistics_order_pick_day: {
68515
68966
  Args: {
68516
68967
  p_order_ref: string;
@@ -68523,6 +68974,22 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
68523
68974
  };
68524
68975
  Returns: string;
68525
68976
  };
68977
+ logistics_pick_agenda: {
68978
+ Args: {
68979
+ p_from?: string;
68980
+ p_to?: string;
68981
+ };
68982
+ Returns: {
68983
+ cart_count: number;
68984
+ in_preparation: number;
68985
+ order_count: number;
68986
+ orders: import("../integrations/supabase/types").Json;
68987
+ pick_date: string;
68988
+ plant_count: number;
68989
+ ready: number;
68990
+ shifted_count: number;
68991
+ }[];
68992
+ };
68526
68993
  logistics_pick_email_purpose: {
68527
68994
  Args: never;
68528
68995
  Returns: string;
@@ -68682,6 +69149,15 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
68682
69149
  };
68683
69150
  Returns: import("../integrations/supabase/types").Json;
68684
69151
  };
69152
+ logistics_resolve_pick_document: {
69153
+ Args: {
69154
+ _is_herprint: boolean;
69155
+ _queue_item_id: string;
69156
+ _session_id: string;
69157
+ _voorbeeld: boolean;
69158
+ };
69159
+ Returns: import("../integrations/supabase/types").Json;
69160
+ };
68685
69161
  logistics_resolve_settings: {
68686
69162
  Args: {
68687
69163
  p_config_id: string;
@@ -69136,6 +69612,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
69136
69612
  };
69137
69613
  Returns: import("../integrations/supabase/types").Json;
69138
69614
  };
69615
+ pick_preview_job: {
69616
+ Args: {
69617
+ _queue_item_id: string;
69618
+ _station_slug: string;
69619
+ };
69620
+ Returns: import("../integrations/supabase/types").Json;
69621
+ };
69139
69622
  pick_print_job_status: {
69140
69623
  Args: {
69141
69624
  _job_id: string;
@@ -69485,6 +69968,12 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
69485
69968
  };
69486
69969
  Returns: string;
69487
69970
  };
69971
+ resolve_print_job_printer_id: {
69972
+ Args: {
69973
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
69974
+ };
69975
+ Returns: string;
69976
+ };
69488
69977
  resolve_product_id_for_item: {
69489
69978
  Args: {
69490
69979
  p_product_name: string;
@@ -70076,7 +70565,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
70076
70565
  };
70077
70566
  CompositeTypes: { [_ in never]: never; };
70078
70567
  }, {
70079
- PostgrestVersion: "14.17";
70568
+ PostgrestVersion: "14.5";
70080
70569
  }>;
70081
70570
  userId: string;
70082
70571
  claims: import("@supabase/auth-js").JwtPayload;
@@ -83750,6 +84239,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
83750
84239
  is_herprint: boolean;
83751
84240
  kopieen: number;
83752
84241
  layout_id: string | null;
84242
+ lokaal_opgeslagen_op: string | null;
84243
+ lokale_pdf_fout: string | null;
84244
+ lokale_pdf_status: string | null;
83753
84245
  opgepakt_op: string | null;
83754
84246
  paginas: number;
83755
84247
  payload: import("../integrations/supabase/types").Json;
@@ -83758,6 +84250,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
83758
84250
  pogingen: number;
83759
84251
  printer_id: string | null;
83760
84252
  render_html: string | null;
84253
+ resultaat_pdf_base64: string | null;
83761
84254
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83762
84255
  updated_at: string;
83763
84256
  volgende_poging: string | null;
@@ -83782,6 +84275,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
83782
84275
  is_herprint?: boolean;
83783
84276
  kopieen?: number;
83784
84277
  layout_id?: string | null;
84278
+ lokaal_opgeslagen_op?: string | null;
84279
+ lokale_pdf_fout?: string | null;
84280
+ lokale_pdf_status?: string | null;
83785
84281
  opgepakt_op?: string | null;
83786
84282
  paginas?: number;
83787
84283
  payload?: import("../integrations/supabase/types").Json;
@@ -83790,6 +84286,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
83790
84286
  pogingen?: number;
83791
84287
  printer_id?: string | null;
83792
84288
  render_html?: string | null;
84289
+ resultaat_pdf_base64?: string | null;
83793
84290
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83794
84291
  updated_at?: string;
83795
84292
  volgende_poging?: string | null;
@@ -83814,6 +84311,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
83814
84311
  is_herprint?: boolean;
83815
84312
  kopieen?: number;
83816
84313
  layout_id?: string | null;
84314
+ lokaal_opgeslagen_op?: string | null;
84315
+ lokale_pdf_fout?: string | null;
84316
+ lokale_pdf_status?: string | null;
83817
84317
  opgepakt_op?: string | null;
83818
84318
  paginas?: number;
83819
84319
  payload?: import("../integrations/supabase/types").Json;
@@ -83822,6 +84322,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
83822
84322
  pogingen?: number;
83823
84323
  printer_id?: string | null;
83824
84324
  render_html?: string | null;
84325
+ resultaat_pdf_base64?: string | null;
83825
84326
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83826
84327
  updated_at?: string;
83827
84328
  volgende_poging?: string | null;
@@ -84212,6 +84713,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
84212
84713
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
84213
84714
  online: boolean;
84214
84715
  papierformaat: string;
84716
+ pdf_map: string | null;
84215
84717
  poort: number | null;
84216
84718
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
84217
84719
  systeemnaam: string;
@@ -84237,6 +84739,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
84237
84739
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
84238
84740
  online?: boolean;
84239
84741
  papierformaat?: string;
84742
+ pdf_map?: string | null;
84240
84743
  poort?: number | null;
84241
84744
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
84242
84745
  systeemnaam?: string;
@@ -84262,6 +84765,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
84262
84765
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
84263
84766
  online?: boolean;
84264
84767
  papierformaat?: string;
84768
+ pdf_map?: string | null;
84265
84769
  poort?: number | null;
84266
84770
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
84267
84771
  systeemnaam?: string;
@@ -90518,6 +91022,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
90518
91022
  is_herprint: boolean;
90519
91023
  kopieen: number;
90520
91024
  layout_id: string | null;
91025
+ lokaal_opgeslagen_op: string | null;
91026
+ lokale_pdf_fout: string | null;
91027
+ lokale_pdf_status: string | null;
90521
91028
  opgepakt_op: string | null;
90522
91029
  paginas: number;
90523
91030
  payload: import("../integrations/supabase/types").Json;
@@ -90526,6 +91033,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
90526
91033
  pogingen: number;
90527
91034
  printer_id: string | null;
90528
91035
  render_html: string | null;
91036
+ resultaat_pdf_base64: string | null;
90529
91037
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
90530
91038
  updated_at: string;
90531
91039
  volgende_poging: string | null;
@@ -90617,6 +91125,53 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
90617
91125
  isSetofReturn: true;
90618
91126
  };
90619
91127
  };
91128
+ claim_pdf_print_jobs: {
91129
+ Args: {
91130
+ _max?: number;
91131
+ };
91132
+ Returns: {
91133
+ agent_id: string | null;
91134
+ bron_job_id: string | null;
91135
+ created_at: string;
91136
+ documentnaam: string;
91137
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
91138
+ extern_job_id: string | null;
91139
+ foutmelding: string | null;
91140
+ gebruiker_id: string | null;
91141
+ gebruiker_naam: string;
91142
+ gebruikte_bron: string | null;
91143
+ gebruikte_layout_id: string | null;
91144
+ gestart_op: string | null;
91145
+ herkomst: string | null;
91146
+ id: string;
91147
+ idempotentie_sleutel: string | null;
91148
+ is_herprint: boolean;
91149
+ kopieen: number;
91150
+ layout_id: string | null;
91151
+ lokaal_opgeslagen_op: string | null;
91152
+ lokale_pdf_fout: string | null;
91153
+ lokale_pdf_status: string | null;
91154
+ opgepakt_op: string | null;
91155
+ paginas: number;
91156
+ payload: import("../integrations/supabase/types").Json;
91157
+ pdf_base64: string | null;
91158
+ pdf_url: string | null;
91159
+ pogingen: number;
91160
+ printer_id: string | null;
91161
+ render_html: string | null;
91162
+ resultaat_pdf_base64: string | null;
91163
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
91164
+ updated_at: string;
91165
+ volgende_poging: string | null;
91166
+ voltooid_op: string | null;
91167
+ }[];
91168
+ SetofOptions: {
91169
+ from: "*";
91170
+ to: "print_jobs";
91171
+ isOneToOne: false;
91172
+ isSetofReturn: true;
91173
+ };
91174
+ };
90620
91175
  claim_print_jobs: {
90621
91176
  Args: {
90622
91177
  _agent_id: string;
@@ -90641,6 +91196,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
90641
91196
  is_herprint: boolean;
90642
91197
  kopieen: number;
90643
91198
  layout_id: string | null;
91199
+ lokaal_opgeslagen_op: string | null;
91200
+ lokale_pdf_fout: string | null;
91201
+ lokale_pdf_status: string | null;
90644
91202
  opgepakt_op: string | null;
90645
91203
  paginas: number;
90646
91204
  payload: import("../integrations/supabase/types").Json;
@@ -90649,6 +91207,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
90649
91207
  pogingen: number;
90650
91208
  printer_id: string | null;
90651
91209
  render_html: string | null;
91210
+ resultaat_pdf_base64: string | null;
90652
91211
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
90653
91212
  updated_at: string;
90654
91213
  volgende_poging: string | null;
@@ -90789,6 +91348,8 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
90789
91348
  order_id: string;
90790
91349
  order_source: string;
90791
91350
  pick_date: string;
91351
+ printed_at: string;
91352
+ printed_today: boolean;
90792
91353
  status: string;
90793
91354
  }[];
90794
91355
  };
@@ -91497,6 +92058,10 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
91497
92058
  };
91498
92059
  Returns: number;
91499
92060
  };
92061
+ logistics_cancel_orphan_tasks: {
92062
+ Args: never;
92063
+ Returns: number;
92064
+ };
91500
92065
  logistics_capacity_day_check: {
91501
92066
  Args: {
91502
92067
  p_from?: string;
@@ -91517,6 +92082,25 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
91517
92082
  };
91518
92083
  Returns: number;
91519
92084
  };
92085
+ logistics_cart_index: {
92086
+ Args: {
92087
+ p_from?: string;
92088
+ p_to?: string;
92089
+ };
92090
+ Returns: {
92091
+ cart_id: string;
92092
+ cart_index: number;
92093
+ cart_label: string;
92094
+ is_shared: boolean;
92095
+ order_number: string;
92096
+ order_source: string;
92097
+ order_uuid: string;
92098
+ pick_date: string;
92099
+ printed_at: string;
92100
+ shifted: boolean;
92101
+ task_status: string;
92102
+ }[];
92103
+ };
91520
92104
  logistics_check_order_allowed: {
91521
92105
  Args: {
91522
92106
  p_lines: import("../integrations/supabase/types").Json;
@@ -91665,6 +92249,17 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
91665
92249
  isSetofReturn: false;
91666
92250
  };
91667
92251
  };
92252
+ logistics_consistency_check: {
92253
+ Args: never;
92254
+ Returns: {
92255
+ agenda_carts: number;
92256
+ control_carts: number;
92257
+ ok: boolean;
92258
+ orphan_tasks: number;
92259
+ pick_date: string;
92260
+ raw_carts: number;
92261
+ }[];
92262
+ };
91668
92263
  logistics_delay_customer_email: {
91669
92264
  Args: {
91670
92265
  p_customer: string;
@@ -91858,6 +92453,25 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
91858
92453
  };
91859
92454
  Returns: number;
91860
92455
  };
92456
+ logistics_order_overview: {
92457
+ Args: {
92458
+ p_from?: string;
92459
+ p_to?: string;
92460
+ };
92461
+ Returns: {
92462
+ cart_count: number;
92463
+ customer_name: string;
92464
+ delivery_date: string;
92465
+ order_number: string;
92466
+ order_source: string;
92467
+ order_uuid: string;
92468
+ pick_date: string;
92469
+ plant_count: number;
92470
+ printed_at: string;
92471
+ shifted: boolean;
92472
+ status: string;
92473
+ }[];
92474
+ };
91861
92475
  logistics_order_pick_day: {
91862
92476
  Args: {
91863
92477
  p_order_ref: string;
@@ -91870,6 +92484,22 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
91870
92484
  };
91871
92485
  Returns: string;
91872
92486
  };
92487
+ logistics_pick_agenda: {
92488
+ Args: {
92489
+ p_from?: string;
92490
+ p_to?: string;
92491
+ };
92492
+ Returns: {
92493
+ cart_count: number;
92494
+ in_preparation: number;
92495
+ order_count: number;
92496
+ orders: import("../integrations/supabase/types").Json;
92497
+ pick_date: string;
92498
+ plant_count: number;
92499
+ ready: number;
92500
+ shifted_count: number;
92501
+ }[];
92502
+ };
91873
92503
  logistics_pick_email_purpose: {
91874
92504
  Args: never;
91875
92505
  Returns: string;
@@ -92029,6 +92659,15 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
92029
92659
  };
92030
92660
  Returns: import("../integrations/supabase/types").Json;
92031
92661
  };
92662
+ logistics_resolve_pick_document: {
92663
+ Args: {
92664
+ _is_herprint: boolean;
92665
+ _queue_item_id: string;
92666
+ _session_id: string;
92667
+ _voorbeeld: boolean;
92668
+ };
92669
+ Returns: import("../integrations/supabase/types").Json;
92670
+ };
92032
92671
  logistics_resolve_settings: {
92033
92672
  Args: {
92034
92673
  p_config_id: string;
@@ -92483,6 +93122,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
92483
93122
  };
92484
93123
  Returns: import("../integrations/supabase/types").Json;
92485
93124
  };
93125
+ pick_preview_job: {
93126
+ Args: {
93127
+ _queue_item_id: string;
93128
+ _station_slug: string;
93129
+ };
93130
+ Returns: import("../integrations/supabase/types").Json;
93131
+ };
92486
93132
  pick_print_job_status: {
92487
93133
  Args: {
92488
93134
  _job_id: string;
@@ -92832,6 +93478,12 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
92832
93478
  };
92833
93479
  Returns: string;
92834
93480
  };
93481
+ resolve_print_job_printer_id: {
93482
+ Args: {
93483
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
93484
+ };
93485
+ Returns: string;
93486
+ };
92835
93487
  resolve_product_id_for_item: {
92836
93488
  Args: {
92837
93489
  p_product_name: string;
@@ -93423,7 +94075,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
93423
94075
  };
93424
94076
  CompositeTypes: { [_ in never]: never; };
93425
94077
  }, {
93426
- PostgrestVersion: "14.17";
94078
+ PostgrestVersion: "14.5";
93427
94079
  }>;
93428
94080
  userId: string;
93429
94081
  claims: import("@supabase/auth-js").JwtPayload;
@@ -107095,6 +107747,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107095
107747
  is_herprint: boolean;
107096
107748
  kopieen: number;
107097
107749
  layout_id: string | null;
107750
+ lokaal_opgeslagen_op: string | null;
107751
+ lokale_pdf_fout: string | null;
107752
+ lokale_pdf_status: string | null;
107098
107753
  opgepakt_op: string | null;
107099
107754
  paginas: number;
107100
107755
  payload: import("../integrations/supabase/types").Json;
@@ -107103,6 +107758,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107103
107758
  pogingen: number;
107104
107759
  printer_id: string | null;
107105
107760
  render_html: string | null;
107761
+ resultaat_pdf_base64: string | null;
107106
107762
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
107107
107763
  updated_at: string;
107108
107764
  volgende_poging: string | null;
@@ -107127,6 +107783,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107127
107783
  is_herprint?: boolean;
107128
107784
  kopieen?: number;
107129
107785
  layout_id?: string | null;
107786
+ lokaal_opgeslagen_op?: string | null;
107787
+ lokale_pdf_fout?: string | null;
107788
+ lokale_pdf_status?: string | null;
107130
107789
  opgepakt_op?: string | null;
107131
107790
  paginas?: number;
107132
107791
  payload?: import("../integrations/supabase/types").Json;
@@ -107135,6 +107794,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107135
107794
  pogingen?: number;
107136
107795
  printer_id?: string | null;
107137
107796
  render_html?: string | null;
107797
+ resultaat_pdf_base64?: string | null;
107138
107798
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
107139
107799
  updated_at?: string;
107140
107800
  volgende_poging?: string | null;
@@ -107159,6 +107819,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107159
107819
  is_herprint?: boolean;
107160
107820
  kopieen?: number;
107161
107821
  layout_id?: string | null;
107822
+ lokaal_opgeslagen_op?: string | null;
107823
+ lokale_pdf_fout?: string | null;
107824
+ lokale_pdf_status?: string | null;
107162
107825
  opgepakt_op?: string | null;
107163
107826
  paginas?: number;
107164
107827
  payload?: import("../integrations/supabase/types").Json;
@@ -107167,6 +107830,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107167
107830
  pogingen?: number;
107168
107831
  printer_id?: string | null;
107169
107832
  render_html?: string | null;
107833
+ resultaat_pdf_base64?: string | null;
107170
107834
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
107171
107835
  updated_at?: string;
107172
107836
  volgende_poging?: string | null;
@@ -107557,6 +108221,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107557
108221
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
107558
108222
  online: boolean;
107559
108223
  papierformaat: string;
108224
+ pdf_map: string | null;
107560
108225
  poort: number | null;
107561
108226
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
107562
108227
  systeemnaam: string;
@@ -107582,6 +108247,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107582
108247
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
107583
108248
  online?: boolean;
107584
108249
  papierformaat?: string;
108250
+ pdf_map?: string | null;
107585
108251
  poort?: number | null;
107586
108252
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
107587
108253
  systeemnaam?: string;
@@ -107607,6 +108273,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
107607
108273
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
107608
108274
  online?: boolean;
107609
108275
  papierformaat?: string;
108276
+ pdf_map?: string | null;
107610
108277
  poort?: number | null;
107611
108278
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
107612
108279
  systeemnaam?: string;
@@ -113863,6 +114530,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
113863
114530
  is_herprint: boolean;
113864
114531
  kopieen: number;
113865
114532
  layout_id: string | null;
114533
+ lokaal_opgeslagen_op: string | null;
114534
+ lokale_pdf_fout: string | null;
114535
+ lokale_pdf_status: string | null;
113866
114536
  opgepakt_op: string | null;
113867
114537
  paginas: number;
113868
114538
  payload: import("../integrations/supabase/types").Json;
@@ -113871,6 +114541,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
113871
114541
  pogingen: number;
113872
114542
  printer_id: string | null;
113873
114543
  render_html: string | null;
114544
+ resultaat_pdf_base64: string | null;
113874
114545
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
113875
114546
  updated_at: string;
113876
114547
  volgende_poging: string | null;
@@ -113962,6 +114633,53 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
113962
114633
  isSetofReturn: true;
113963
114634
  };
113964
114635
  };
114636
+ claim_pdf_print_jobs: {
114637
+ Args: {
114638
+ _max?: number;
114639
+ };
114640
+ Returns: {
114641
+ agent_id: string | null;
114642
+ bron_job_id: string | null;
114643
+ created_at: string;
114644
+ documentnaam: string;
114645
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
114646
+ extern_job_id: string | null;
114647
+ foutmelding: string | null;
114648
+ gebruiker_id: string | null;
114649
+ gebruiker_naam: string;
114650
+ gebruikte_bron: string | null;
114651
+ gebruikte_layout_id: string | null;
114652
+ gestart_op: string | null;
114653
+ herkomst: string | null;
114654
+ id: string;
114655
+ idempotentie_sleutel: string | null;
114656
+ is_herprint: boolean;
114657
+ kopieen: number;
114658
+ layout_id: string | null;
114659
+ lokaal_opgeslagen_op: string | null;
114660
+ lokale_pdf_fout: string | null;
114661
+ lokale_pdf_status: string | null;
114662
+ opgepakt_op: string | null;
114663
+ paginas: number;
114664
+ payload: import("../integrations/supabase/types").Json;
114665
+ pdf_base64: string | null;
114666
+ pdf_url: string | null;
114667
+ pogingen: number;
114668
+ printer_id: string | null;
114669
+ render_html: string | null;
114670
+ resultaat_pdf_base64: string | null;
114671
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
114672
+ updated_at: string;
114673
+ volgende_poging: string | null;
114674
+ voltooid_op: string | null;
114675
+ }[];
114676
+ SetofOptions: {
114677
+ from: "*";
114678
+ to: "print_jobs";
114679
+ isOneToOne: false;
114680
+ isSetofReturn: true;
114681
+ };
114682
+ };
113965
114683
  claim_print_jobs: {
113966
114684
  Args: {
113967
114685
  _agent_id: string;
@@ -113986,6 +114704,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
113986
114704
  is_herprint: boolean;
113987
114705
  kopieen: number;
113988
114706
  layout_id: string | null;
114707
+ lokaal_opgeslagen_op: string | null;
114708
+ lokale_pdf_fout: string | null;
114709
+ lokale_pdf_status: string | null;
113989
114710
  opgepakt_op: string | null;
113990
114711
  paginas: number;
113991
114712
  payload: import("../integrations/supabase/types").Json;
@@ -113994,6 +114715,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
113994
114715
  pogingen: number;
113995
114716
  printer_id: string | null;
113996
114717
  render_html: string | null;
114718
+ resultaat_pdf_base64: string | null;
113997
114719
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
113998
114720
  updated_at: string;
113999
114721
  volgende_poging: string | null;
@@ -114134,6 +114856,8 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
114134
114856
  order_id: string;
114135
114857
  order_source: string;
114136
114858
  pick_date: string;
114859
+ printed_at: string;
114860
+ printed_today: boolean;
114137
114861
  status: string;
114138
114862
  }[];
114139
114863
  };
@@ -114842,6 +115566,10 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
114842
115566
  };
114843
115567
  Returns: number;
114844
115568
  };
115569
+ logistics_cancel_orphan_tasks: {
115570
+ Args: never;
115571
+ Returns: number;
115572
+ };
114845
115573
  logistics_capacity_day_check: {
114846
115574
  Args: {
114847
115575
  p_from?: string;
@@ -114862,6 +115590,25 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
114862
115590
  };
114863
115591
  Returns: number;
114864
115592
  };
115593
+ logistics_cart_index: {
115594
+ Args: {
115595
+ p_from?: string;
115596
+ p_to?: string;
115597
+ };
115598
+ Returns: {
115599
+ cart_id: string;
115600
+ cart_index: number;
115601
+ cart_label: string;
115602
+ is_shared: boolean;
115603
+ order_number: string;
115604
+ order_source: string;
115605
+ order_uuid: string;
115606
+ pick_date: string;
115607
+ printed_at: string;
115608
+ shifted: boolean;
115609
+ task_status: string;
115610
+ }[];
115611
+ };
114865
115612
  logistics_check_order_allowed: {
114866
115613
  Args: {
114867
115614
  p_lines: import("../integrations/supabase/types").Json;
@@ -115010,6 +115757,17 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
115010
115757
  isSetofReturn: false;
115011
115758
  };
115012
115759
  };
115760
+ logistics_consistency_check: {
115761
+ Args: never;
115762
+ Returns: {
115763
+ agenda_carts: number;
115764
+ control_carts: number;
115765
+ ok: boolean;
115766
+ orphan_tasks: number;
115767
+ pick_date: string;
115768
+ raw_carts: number;
115769
+ }[];
115770
+ };
115013
115771
  logistics_delay_customer_email: {
115014
115772
  Args: {
115015
115773
  p_customer: string;
@@ -115203,6 +115961,25 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
115203
115961
  };
115204
115962
  Returns: number;
115205
115963
  };
115964
+ logistics_order_overview: {
115965
+ Args: {
115966
+ p_from?: string;
115967
+ p_to?: string;
115968
+ };
115969
+ Returns: {
115970
+ cart_count: number;
115971
+ customer_name: string;
115972
+ delivery_date: string;
115973
+ order_number: string;
115974
+ order_source: string;
115975
+ order_uuid: string;
115976
+ pick_date: string;
115977
+ plant_count: number;
115978
+ printed_at: string;
115979
+ shifted: boolean;
115980
+ status: string;
115981
+ }[];
115982
+ };
115206
115983
  logistics_order_pick_day: {
115207
115984
  Args: {
115208
115985
  p_order_ref: string;
@@ -115215,6 +115992,22 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
115215
115992
  };
115216
115993
  Returns: string;
115217
115994
  };
115995
+ logistics_pick_agenda: {
115996
+ Args: {
115997
+ p_from?: string;
115998
+ p_to?: string;
115999
+ };
116000
+ Returns: {
116001
+ cart_count: number;
116002
+ in_preparation: number;
116003
+ order_count: number;
116004
+ orders: import("../integrations/supabase/types").Json;
116005
+ pick_date: string;
116006
+ plant_count: number;
116007
+ ready: number;
116008
+ shifted_count: number;
116009
+ }[];
116010
+ };
115218
116011
  logistics_pick_email_purpose: {
115219
116012
  Args: never;
115220
116013
  Returns: string;
@@ -115374,6 +116167,15 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
115374
116167
  };
115375
116168
  Returns: import("../integrations/supabase/types").Json;
115376
116169
  };
116170
+ logistics_resolve_pick_document: {
116171
+ Args: {
116172
+ _is_herprint: boolean;
116173
+ _queue_item_id: string;
116174
+ _session_id: string;
116175
+ _voorbeeld: boolean;
116176
+ };
116177
+ Returns: import("../integrations/supabase/types").Json;
116178
+ };
115377
116179
  logistics_resolve_settings: {
115378
116180
  Args: {
115379
116181
  p_config_id: string;
@@ -115828,6 +116630,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
115828
116630
  };
115829
116631
  Returns: import("../integrations/supabase/types").Json;
115830
116632
  };
116633
+ pick_preview_job: {
116634
+ Args: {
116635
+ _queue_item_id: string;
116636
+ _station_slug: string;
116637
+ };
116638
+ Returns: import("../integrations/supabase/types").Json;
116639
+ };
115831
116640
  pick_print_job_status: {
115832
116641
  Args: {
115833
116642
  _job_id: string;
@@ -116177,6 +116986,12 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
116177
116986
  };
116178
116987
  Returns: string;
116179
116988
  };
116989
+ resolve_print_job_printer_id: {
116990
+ Args: {
116991
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
116992
+ };
116993
+ Returns: string;
116994
+ };
116180
116995
  resolve_product_id_for_item: {
116181
116996
  Args: {
116182
116997
  p_product_name: string;
@@ -116768,7 +117583,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
116768
117583
  };
116769
117584
  CompositeTypes: { [_ in never]: never; };
116770
117585
  }, {
116771
- PostgrestVersion: "14.17";
117586
+ PostgrestVersion: "14.5";
116772
117587
  }>;
116773
117588
  userId: string;
116774
117589
  claims: import("@supabase/auth-js").JwtPayload;