@flowselections/floriday-afhandeling-module 1.0.39 → 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 +527 -1
  21. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/client.server.d.ts +527 -1
  23. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  24. package/dist-lib/integrations/supabase/moduleClient.d.ts +527 -1
  25. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  26. package/dist-lib/integrations/supabase/types.d.ts +530 -1
  27. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  28. package/dist-lib/lib/afhandelingSettings.functions.d.ts +1056 -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 +2635 -5
  32. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/cartAssignments.functions.d.ts +2635 -5
  34. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/cartControl.functions.d.ts +5330 -81
  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 +528 -2
  39. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -10691,6 +10691,243 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10691
10691
  };
10692
10692
  Relationships: [];
10693
10693
  };
10694
+ maps_addresses: {
10695
+ Row: {
10696
+ address_hash: string;
10697
+ created_at: string;
10698
+ error_reason: string | null;
10699
+ formatted_address: string | null;
10700
+ id: string;
10701
+ lat: number | null;
10702
+ lng: number | null;
10703
+ place_id: string | null;
10704
+ raw_address: string;
10705
+ resolved_at: string | null;
10706
+ status: string;
10707
+ updated_at: string;
10708
+ };
10709
+ Insert: {
10710
+ address_hash: string;
10711
+ created_at?: string;
10712
+ error_reason?: string | null;
10713
+ formatted_address?: string | null;
10714
+ id?: string;
10715
+ lat?: number | null;
10716
+ lng?: number | null;
10717
+ place_id?: string | null;
10718
+ raw_address: string;
10719
+ resolved_at?: string | null;
10720
+ status?: string;
10721
+ updated_at?: string;
10722
+ };
10723
+ Update: {
10724
+ address_hash?: string;
10725
+ created_at?: string;
10726
+ error_reason?: string | null;
10727
+ formatted_address?: string | null;
10728
+ id?: string;
10729
+ lat?: number | null;
10730
+ lng?: number | null;
10731
+ place_id?: string | null;
10732
+ raw_address?: string;
10733
+ resolved_at?: string | null;
10734
+ status?: string;
10735
+ updated_at?: string;
10736
+ };
10737
+ Relationships: [];
10738
+ };
10739
+ maps_job_lease: {
10740
+ Row: {
10741
+ job: string;
10742
+ locked_until: string;
10743
+ updated_at: string;
10744
+ };
10745
+ Insert: {
10746
+ job: string;
10747
+ locked_until?: string;
10748
+ updated_at?: string;
10749
+ };
10750
+ Update: {
10751
+ job?: string;
10752
+ locked_until?: string;
10753
+ updated_at?: string;
10754
+ };
10755
+ Relationships: [];
10756
+ };
10757
+ maps_request_queue: {
10758
+ Row: {
10759
+ attempts: number;
10760
+ created_at: string;
10761
+ destination_hash: string | null;
10762
+ id: string;
10763
+ kind: string;
10764
+ last_error: string | null;
10765
+ mode: string;
10766
+ origin_hash: string | null;
10767
+ processed_at: string | null;
10768
+ raw_destination: string | null;
10769
+ raw_origin: string | null;
10770
+ requested_by: string | null;
10771
+ status: string;
10772
+ updated_at: string;
10773
+ };
10774
+ Insert: {
10775
+ attempts?: number;
10776
+ created_at?: string;
10777
+ destination_hash?: string | null;
10778
+ id?: string;
10779
+ kind: string;
10780
+ last_error?: string | null;
10781
+ mode?: string;
10782
+ origin_hash?: string | null;
10783
+ processed_at?: string | null;
10784
+ raw_destination?: string | null;
10785
+ raw_origin?: string | null;
10786
+ requested_by?: string | null;
10787
+ status?: string;
10788
+ updated_at?: string;
10789
+ };
10790
+ Update: {
10791
+ attempts?: number;
10792
+ created_at?: string;
10793
+ destination_hash?: string | null;
10794
+ id?: string;
10795
+ kind?: string;
10796
+ last_error?: string | null;
10797
+ mode?: string;
10798
+ origin_hash?: string | null;
10799
+ processed_at?: string | null;
10800
+ raw_destination?: string | null;
10801
+ raw_origin?: string | null;
10802
+ requested_by?: string | null;
10803
+ status?: string;
10804
+ updated_at?: string;
10805
+ };
10806
+ Relationships: [];
10807
+ };
10808
+ maps_settings: {
10809
+ Row: {
10810
+ allow_estimate_fallback: boolean;
10811
+ cache_ttl_days: number;
10812
+ created_at: string;
10813
+ daily_call_limit: number;
10814
+ id: string;
10815
+ last_error: string | null;
10816
+ last_error_at: string | null;
10817
+ last_success_at: string | null;
10818
+ provider: string;
10819
+ updated_at: string;
10820
+ };
10821
+ Insert: {
10822
+ allow_estimate_fallback?: boolean;
10823
+ cache_ttl_days?: number;
10824
+ created_at?: string;
10825
+ daily_call_limit?: number;
10826
+ id?: string;
10827
+ last_error?: string | null;
10828
+ last_error_at?: string | null;
10829
+ last_success_at?: string | null;
10830
+ provider?: string;
10831
+ updated_at?: string;
10832
+ };
10833
+ Update: {
10834
+ allow_estimate_fallback?: boolean;
10835
+ cache_ttl_days?: number;
10836
+ created_at?: string;
10837
+ daily_call_limit?: number;
10838
+ id?: string;
10839
+ last_error?: string | null;
10840
+ last_error_at?: string | null;
10841
+ last_success_at?: string | null;
10842
+ provider?: string;
10843
+ updated_at?: string;
10844
+ };
10845
+ Relationships: [];
10846
+ };
10847
+ maps_travel_times: {
10848
+ Row: {
10849
+ created_at: string;
10850
+ destination_id: string;
10851
+ distance_m: number | null;
10852
+ duration_sec: number;
10853
+ expires_at: string;
10854
+ id: string;
10855
+ mode: string;
10856
+ origin_id: string;
10857
+ source: string;
10858
+ updated_at: string;
10859
+ };
10860
+ Insert: {
10861
+ created_at?: string;
10862
+ destination_id: string;
10863
+ distance_m?: number | null;
10864
+ duration_sec: number;
10865
+ expires_at?: string;
10866
+ id?: string;
10867
+ mode?: string;
10868
+ origin_id: string;
10869
+ source?: string;
10870
+ updated_at?: string;
10871
+ };
10872
+ Update: {
10873
+ created_at?: string;
10874
+ destination_id?: string;
10875
+ distance_m?: number | null;
10876
+ duration_sec?: number;
10877
+ expires_at?: string;
10878
+ id?: string;
10879
+ mode?: string;
10880
+ origin_id?: string;
10881
+ source?: string;
10882
+ updated_at?: string;
10883
+ };
10884
+ Relationships: [{
10885
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10886
+ columns: ["destination_id"];
10887
+ isOneToOne: false;
10888
+ referencedRelation: "maps_addresses";
10889
+ referencedColumns: ["id"];
10890
+ }, {
10891
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10892
+ columns: ["origin_id"];
10893
+ isOneToOne: false;
10894
+ referencedRelation: "maps_addresses";
10895
+ referencedColumns: ["id"];
10896
+ }];
10897
+ };
10898
+ maps_usage_log: {
10899
+ Row: {
10900
+ cache_hits: number;
10901
+ call_type: string;
10902
+ created_at: string;
10903
+ day: string;
10904
+ detail: string | null;
10905
+ elements: number;
10906
+ id: string;
10907
+ outcome: string;
10908
+ };
10909
+ Insert: {
10910
+ cache_hits?: number;
10911
+ call_type: string;
10912
+ created_at?: string;
10913
+ day?: string;
10914
+ detail?: string | null;
10915
+ elements?: number;
10916
+ id?: string;
10917
+ outcome?: string;
10918
+ };
10919
+ Update: {
10920
+ cache_hits?: number;
10921
+ call_type?: string;
10922
+ created_at?: string;
10923
+ day?: string;
10924
+ detail?: string | null;
10925
+ elements?: number;
10926
+ id?: string;
10927
+ outcome?: string;
10928
+ };
10929
+ Relationships: [];
10930
+ };
10694
10931
  material_usage: {
10695
10932
  Row: {
10696
10933
  created_at: string;
@@ -13340,6 +13577,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13340
13577
  };
13341
13578
  Relationships: [];
13342
13579
  };
13580
+ print_dedupe_events: {
13581
+ Row: {
13582
+ bestaande_job_id: string | null;
13583
+ created_at: string;
13584
+ detail: string | null;
13585
+ documentnaam: string | null;
13586
+ documenttype: string | null;
13587
+ id: string;
13588
+ idempotentie_sleutel: string;
13589
+ reden: string;
13590
+ };
13591
+ Insert: {
13592
+ bestaande_job_id?: string | null;
13593
+ created_at?: string;
13594
+ detail?: string | null;
13595
+ documentnaam?: string | null;
13596
+ documenttype?: string | null;
13597
+ id?: string;
13598
+ idempotentie_sleutel: string;
13599
+ reden: string;
13600
+ };
13601
+ Update: {
13602
+ bestaande_job_id?: string | null;
13603
+ created_at?: string;
13604
+ detail?: string | null;
13605
+ documentnaam?: string | null;
13606
+ documenttype?: string | null;
13607
+ id?: string;
13608
+ idempotentie_sleutel?: string;
13609
+ reden?: string;
13610
+ };
13611
+ Relationships: [];
13612
+ };
13343
13613
  print_job_logs: {
13344
13614
  Row: {
13345
13615
  created_at: string;
@@ -13381,6 +13651,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13381
13651
  foutmelding: string | null;
13382
13652
  gebruiker_id: string | null;
13383
13653
  gebruiker_naam: string;
13654
+ gebruikte_bron: string | null;
13655
+ gebruikte_layout_id: string | null;
13384
13656
  gestart_op: string | null;
13385
13657
  herkomst: string | null;
13386
13658
  id: string;
@@ -13388,6 +13660,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13388
13660
  is_herprint: boolean;
13389
13661
  kopieen: number;
13390
13662
  layout_id: string | null;
13663
+ lokaal_opgeslagen_op: string | null;
13664
+ lokale_pdf_fout: string | null;
13665
+ lokale_pdf_status: string | null;
13391
13666
  opgepakt_op: string | null;
13392
13667
  paginas: number;
13393
13668
  payload: import("./types").Json;
@@ -13396,6 +13671,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13396
13671
  pogingen: number;
13397
13672
  printer_id: string | null;
13398
13673
  render_html: string | null;
13674
+ resultaat_pdf_base64: string | null;
13399
13675
  status: Database["public"]["Enums"]["print_job_status"];
13400
13676
  updated_at: string;
13401
13677
  volgende_poging: string | null;
@@ -13411,6 +13687,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13411
13687
  foutmelding?: string | null;
13412
13688
  gebruiker_id?: string | null;
13413
13689
  gebruiker_naam?: string;
13690
+ gebruikte_bron?: string | null;
13691
+ gebruikte_layout_id?: string | null;
13414
13692
  gestart_op?: string | null;
13415
13693
  herkomst?: string | null;
13416
13694
  id?: string;
@@ -13418,6 +13696,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13418
13696
  is_herprint?: boolean;
13419
13697
  kopieen?: number;
13420
13698
  layout_id?: string | null;
13699
+ lokaal_opgeslagen_op?: string | null;
13700
+ lokale_pdf_fout?: string | null;
13701
+ lokale_pdf_status?: string | null;
13421
13702
  opgepakt_op?: string | null;
13422
13703
  paginas?: number;
13423
13704
  payload?: import("./types").Json;
@@ -13426,6 +13707,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13426
13707
  pogingen?: number;
13427
13708
  printer_id?: string | null;
13428
13709
  render_html?: string | null;
13710
+ resultaat_pdf_base64?: string | null;
13429
13711
  status?: Database["public"]["Enums"]["print_job_status"];
13430
13712
  updated_at?: string;
13431
13713
  volgende_poging?: string | null;
@@ -13441,6 +13723,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13441
13723
  foutmelding?: string | null;
13442
13724
  gebruiker_id?: string | null;
13443
13725
  gebruiker_naam?: string;
13726
+ gebruikte_bron?: string | null;
13727
+ gebruikte_layout_id?: string | null;
13444
13728
  gestart_op?: string | null;
13445
13729
  herkomst?: string | null;
13446
13730
  id?: string;
@@ -13448,6 +13732,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13448
13732
  is_herprint?: boolean;
13449
13733
  kopieen?: number;
13450
13734
  layout_id?: string | null;
13735
+ lokaal_opgeslagen_op?: string | null;
13736
+ lokale_pdf_fout?: string | null;
13737
+ lokale_pdf_status?: string | null;
13451
13738
  opgepakt_op?: string | null;
13452
13739
  paginas?: number;
13453
13740
  payload?: import("./types").Json;
@@ -13456,6 +13743,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13456
13743
  pogingen?: number;
13457
13744
  printer_id?: string | null;
13458
13745
  render_html?: string | null;
13746
+ resultaat_pdf_base64?: string | null;
13459
13747
  status?: Database["public"]["Enums"]["print_job_status"];
13460
13748
  updated_at?: string;
13461
13749
  volgende_poging?: string | null;
@@ -13574,6 +13862,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13574
13862
  };
13575
13863
  Relationships: [];
13576
13864
  };
13865
+ print_preview_events: {
13866
+ Row: {
13867
+ code: string | null;
13868
+ created_at: string;
13869
+ detail: import("./types").Json;
13870
+ id: string;
13871
+ queue_item_id: string | null;
13872
+ reden: string | null;
13873
+ station_slug: string | null;
13874
+ uitkomst: string;
13875
+ };
13876
+ Insert: {
13877
+ code?: string | null;
13878
+ created_at?: string;
13879
+ detail?: import("./types").Json;
13880
+ id?: string;
13881
+ queue_item_id?: string | null;
13882
+ reden?: string | null;
13883
+ station_slug?: string | null;
13884
+ uitkomst?: string;
13885
+ };
13886
+ Update: {
13887
+ code?: string | null;
13888
+ created_at?: string;
13889
+ detail?: import("./types").Json;
13890
+ id?: string;
13891
+ queue_item_id?: string | null;
13892
+ reden?: string | null;
13893
+ station_slug?: string | null;
13894
+ uitkomst?: string;
13895
+ };
13896
+ Relationships: [];
13897
+ };
13577
13898
  print_queue_runners: {
13578
13899
  Row: {
13579
13900
  actief: boolean;
@@ -13801,6 +14122,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13801
14122
  created_at: string;
13802
14123
  driver: string;
13803
14124
  extern_printer_id: string | null;
14125
+ formaten_bijgewerkt_op: string | null;
13804
14126
  id: string;
13805
14127
  ip_adres: string | null;
13806
14128
  laatst_gezien: string | null;
@@ -13808,8 +14130,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13808
14130
  merk: string;
13809
14131
  naam: string;
13810
14132
  omschrijving: string;
14133
+ ondersteunde_formaten: import("./types").Json | null;
14134
+ ondersteunde_laden: import("./types").Json | null;
13811
14135
  online: boolean;
13812
14136
  papierformaat: string;
14137
+ pdf_map: string | null;
13813
14138
  poort: number | null;
13814
14139
  soort: Database["public"]["Enums"]["printer_kind"];
13815
14140
  systeemnaam: string;
@@ -13823,6 +14148,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13823
14148
  created_at?: string;
13824
14149
  driver?: string;
13825
14150
  extern_printer_id?: string | null;
14151
+ formaten_bijgewerkt_op?: string | null;
13826
14152
  id?: string;
13827
14153
  ip_adres?: string | null;
13828
14154
  laatst_gezien?: string | null;
@@ -13830,8 +14156,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13830
14156
  merk?: string;
13831
14157
  naam: string;
13832
14158
  omschrijving?: string;
14159
+ ondersteunde_formaten?: import("./types").Json | null;
14160
+ ondersteunde_laden?: import("./types").Json | null;
13833
14161
  online?: boolean;
13834
14162
  papierformaat?: string;
14163
+ pdf_map?: string | null;
13835
14164
  poort?: number | null;
13836
14165
  soort?: Database["public"]["Enums"]["printer_kind"];
13837
14166
  systeemnaam?: string;
@@ -13845,6 +14174,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13845
14174
  created_at?: string;
13846
14175
  driver?: string;
13847
14176
  extern_printer_id?: string | null;
14177
+ formaten_bijgewerkt_op?: string | null;
13848
14178
  id?: string;
13849
14179
  ip_adres?: string | null;
13850
14180
  laatst_gezien?: string | null;
@@ -13852,8 +14182,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13852
14182
  merk?: string;
13853
14183
  naam?: string;
13854
14184
  omschrijving?: string;
14185
+ ondersteunde_formaten?: import("./types").Json | null;
14186
+ ondersteunde_laden?: import("./types").Json | null;
13855
14187
  online?: boolean;
13856
14188
  papierformaat?: string;
14189
+ pdf_map?: string | null;
13857
14190
  poort?: number | null;
13858
14191
  soort?: Database["public"]["Enums"]["printer_kind"];
13859
14192
  systeemnaam?: string;
@@ -20101,6 +20434,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20101
20434
  foutmelding: string | null;
20102
20435
  gebruiker_id: string | null;
20103
20436
  gebruiker_naam: string;
20437
+ gebruikte_bron: string | null;
20438
+ gebruikte_layout_id: string | null;
20104
20439
  gestart_op: string | null;
20105
20440
  herkomst: string | null;
20106
20441
  id: string;
@@ -20108,6 +20443,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20108
20443
  is_herprint: boolean;
20109
20444
  kopieen: number;
20110
20445
  layout_id: string | null;
20446
+ lokaal_opgeslagen_op: string | null;
20447
+ lokale_pdf_fout: string | null;
20448
+ lokale_pdf_status: string | null;
20111
20449
  opgepakt_op: string | null;
20112
20450
  paginas: number;
20113
20451
  payload: import("./types").Json;
@@ -20116,6 +20454,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20116
20454
  pogingen: number;
20117
20455
  printer_id: string | null;
20118
20456
  render_html: string | null;
20457
+ resultaat_pdf_base64: string | null;
20119
20458
  status: Database["public"]["Enums"]["print_job_status"];
20120
20459
  updated_at: string;
20121
20460
  volgende_poging: string | null;
@@ -20207,6 +20546,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20207
20546
  isSetofReturn: true;
20208
20547
  };
20209
20548
  };
20549
+ claim_pdf_print_jobs: {
20550
+ Args: {
20551
+ _max?: number;
20552
+ };
20553
+ Returns: {
20554
+ agent_id: string | null;
20555
+ bron_job_id: string | null;
20556
+ created_at: string;
20557
+ documentnaam: string;
20558
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
20559
+ extern_job_id: string | null;
20560
+ foutmelding: string | null;
20561
+ gebruiker_id: string | null;
20562
+ gebruiker_naam: string;
20563
+ gebruikte_bron: string | null;
20564
+ gebruikte_layout_id: string | null;
20565
+ gestart_op: string | null;
20566
+ herkomst: string | null;
20567
+ id: string;
20568
+ idempotentie_sleutel: string | null;
20569
+ is_herprint: boolean;
20570
+ kopieen: number;
20571
+ layout_id: string | null;
20572
+ lokaal_opgeslagen_op: string | null;
20573
+ lokale_pdf_fout: string | null;
20574
+ lokale_pdf_status: string | null;
20575
+ opgepakt_op: string | null;
20576
+ paginas: number;
20577
+ payload: import("./types").Json;
20578
+ pdf_base64: string | null;
20579
+ pdf_url: string | null;
20580
+ pogingen: number;
20581
+ printer_id: string | null;
20582
+ render_html: string | null;
20583
+ resultaat_pdf_base64: string | null;
20584
+ status: Database["public"]["Enums"]["print_job_status"];
20585
+ updated_at: string;
20586
+ volgende_poging: string | null;
20587
+ voltooid_op: string | null;
20588
+ }[];
20589
+ SetofOptions: {
20590
+ from: "*";
20591
+ to: "print_jobs";
20592
+ isOneToOne: false;
20593
+ isSetofReturn: true;
20594
+ };
20595
+ };
20210
20596
  claim_print_jobs: {
20211
20597
  Args: {
20212
20598
  _agent_id: string;
@@ -20222,6 +20608,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20222
20608
  foutmelding: string | null;
20223
20609
  gebruiker_id: string | null;
20224
20610
  gebruiker_naam: string;
20611
+ gebruikte_bron: string | null;
20612
+ gebruikte_layout_id: string | null;
20225
20613
  gestart_op: string | null;
20226
20614
  herkomst: string | null;
20227
20615
  id: string;
@@ -20229,6 +20617,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20229
20617
  is_herprint: boolean;
20230
20618
  kopieen: number;
20231
20619
  layout_id: string | null;
20620
+ lokaal_opgeslagen_op: string | null;
20621
+ lokale_pdf_fout: string | null;
20622
+ lokale_pdf_status: string | null;
20232
20623
  opgepakt_op: string | null;
20233
20624
  paginas: number;
20234
20625
  payload: import("./types").Json;
@@ -20237,6 +20628,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20237
20628
  pogingen: number;
20238
20629
  printer_id: string | null;
20239
20630
  render_html: string | null;
20631
+ resultaat_pdf_base64: string | null;
20240
20632
  status: Database["public"]["Enums"]["print_job_status"];
20241
20633
  updated_at: string;
20242
20634
  volgende_poging: string | null;
@@ -20377,6 +20769,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20377
20769
  order_id: string;
20378
20770
  order_source: string;
20379
20771
  pick_date: string;
20772
+ printed_at: string;
20773
+ printed_today: boolean;
20380
20774
  status: string;
20381
20775
  }[];
20382
20776
  };
@@ -21085,6 +21479,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21085
21479
  };
21086
21480
  Returns: number;
21087
21481
  };
21482
+ logistics_cancel_orphan_tasks: {
21483
+ Args: never;
21484
+ Returns: number;
21485
+ };
21088
21486
  logistics_capacity_day_check: {
21089
21487
  Args: {
21090
21488
  p_from?: string;
@@ -21105,6 +21503,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21105
21503
  };
21106
21504
  Returns: number;
21107
21505
  };
21506
+ logistics_cart_index: {
21507
+ Args: {
21508
+ p_from?: string;
21509
+ p_to?: string;
21510
+ };
21511
+ Returns: {
21512
+ cart_id: string;
21513
+ cart_index: number;
21514
+ cart_label: string;
21515
+ is_shared: boolean;
21516
+ order_number: string;
21517
+ order_source: string;
21518
+ order_uuid: string;
21519
+ pick_date: string;
21520
+ printed_at: string;
21521
+ shifted: boolean;
21522
+ task_status: string;
21523
+ }[];
21524
+ };
21108
21525
  logistics_check_order_allowed: {
21109
21526
  Args: {
21110
21527
  p_lines: import("./types").Json;
@@ -21253,6 +21670,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21253
21670
  isSetofReturn: false;
21254
21671
  };
21255
21672
  };
21673
+ logistics_consistency_check: {
21674
+ Args: never;
21675
+ Returns: {
21676
+ agenda_carts: number;
21677
+ control_carts: number;
21678
+ ok: boolean;
21679
+ orphan_tasks: number;
21680
+ pick_date: string;
21681
+ raw_carts: number;
21682
+ }[];
21683
+ };
21256
21684
  logistics_delay_customer_email: {
21257
21685
  Args: {
21258
21686
  p_customer: string;
@@ -21278,6 +21706,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21278
21706
  };
21279
21707
  Returns: string;
21280
21708
  };
21709
+ logistics_document_type_map: {
21710
+ Args: {
21711
+ _document_code: string;
21712
+ };
21713
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
21714
+ };
21281
21715
  logistics_emit_event: {
21282
21716
  Args: {
21283
21717
  p_event_type: string;
@@ -21440,6 +21874,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21440
21874
  };
21441
21875
  Returns: number;
21442
21876
  };
21877
+ logistics_order_overview: {
21878
+ Args: {
21879
+ p_from?: string;
21880
+ p_to?: string;
21881
+ };
21882
+ Returns: {
21883
+ cart_count: number;
21884
+ customer_name: string;
21885
+ delivery_date: string;
21886
+ order_number: string;
21887
+ order_source: string;
21888
+ order_uuid: string;
21889
+ pick_date: string;
21890
+ plant_count: number;
21891
+ printed_at: string;
21892
+ shifted: boolean;
21893
+ status: string;
21894
+ }[];
21895
+ };
21443
21896
  logistics_order_pick_day: {
21444
21897
  Args: {
21445
21898
  p_order_ref: string;
@@ -21452,6 +21905,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21452
21905
  };
21453
21906
  Returns: string;
21454
21907
  };
21908
+ logistics_pick_agenda: {
21909
+ Args: {
21910
+ p_from?: string;
21911
+ p_to?: string;
21912
+ };
21913
+ Returns: {
21914
+ cart_count: number;
21915
+ in_preparation: number;
21916
+ order_count: number;
21917
+ orders: import("./types").Json;
21918
+ pick_date: string;
21919
+ plant_count: number;
21920
+ ready: number;
21921
+ shifted_count: number;
21922
+ }[];
21923
+ };
21455
21924
  logistics_pick_email_purpose: {
21456
21925
  Args: never;
21457
21926
  Returns: string;
@@ -21611,6 +22080,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21611
22080
  };
21612
22081
  Returns: import("./types").Json;
21613
22082
  };
22083
+ logistics_resolve_pick_document: {
22084
+ Args: {
22085
+ _is_herprint: boolean;
22086
+ _queue_item_id: string;
22087
+ _session_id: string;
22088
+ _voorbeeld: boolean;
22089
+ };
22090
+ Returns: import("./types").Json;
22091
+ };
21614
22092
  logistics_resolve_settings: {
21615
22093
  Args: {
21616
22094
  p_config_id: string;
@@ -22051,6 +22529,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22051
22529
  };
22052
22530
  pick_enqueue_print_job: {
22053
22531
  Args: {
22532
+ _is_herprint?: boolean;
22054
22533
  _printer_id?: string;
22055
22534
  _queue_item_id: string;
22056
22535
  _session_id?: string;
@@ -22064,6 +22543,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22064
22543
  };
22065
22544
  Returns: import("./types").Json;
22066
22545
  };
22546
+ pick_preview_job: {
22547
+ Args: {
22548
+ _queue_item_id: string;
22549
+ _station_slug: string;
22550
+ };
22551
+ Returns: import("./types").Json;
22552
+ };
22067
22553
  pick_print_job_status: {
22068
22554
  Args: {
22069
22555
  _job_id: string;
@@ -22078,6 +22564,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22078
22564
  omschrijving: string;
22079
22565
  }[];
22080
22566
  };
22567
+ pick_reference_data_status: {
22568
+ Args: never;
22569
+ Returns: import("./types").Json;
22570
+ };
22081
22571
  pick_release_expired_locks: {
22082
22572
  Args: never;
22083
22573
  Returns: number;
@@ -22142,6 +22632,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22142
22632
  isSetofReturn: false;
22143
22633
  };
22144
22634
  };
22635
+ pick_seed_reference_data: {
22636
+ Args: never;
22637
+ Returns: import("./types").Json;
22638
+ };
22145
22639
  pick_set_station_print_plek: {
22146
22640
  Args: {
22147
22641
  _print_plek_id: string;
@@ -22233,6 +22727,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22233
22727
  };
22234
22728
  Returns: undefined;
22235
22729
  };
22730
+ print_preview_toestaan: {
22731
+ Args: {
22732
+ _max?: number;
22733
+ _queue_item_id: string;
22734
+ _station_slug: string;
22735
+ _venster_sec?: number;
22736
+ };
22737
+ Returns: import("./types").Json;
22738
+ };
22739
+ print_preview_weiger: {
22740
+ Args: {
22741
+ _code: string;
22742
+ _queue_item_id: string;
22743
+ _reden: string;
22744
+ _station_slug: string;
22745
+ };
22746
+ Returns: undefined;
22747
+ };
22236
22748
  process_logistics_event: {
22237
22749
  Args: {
22238
22750
  p_event_id: string;
@@ -22350,6 +22862,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22350
22862
  };
22351
22863
  Returns: undefined;
22352
22864
  };
22865
+ replace_order_carts: {
22866
+ Args: {
22867
+ p_buffer_id: string;
22868
+ p_carts: import("./types").Json;
22869
+ p_order_id: string;
22870
+ };
22871
+ Returns: import("./types").Json;
22872
+ };
22353
22873
  reset_floriday_sync_cursor: {
22354
22874
  Args: {
22355
22875
  p_connection_id: string;
@@ -22379,6 +22899,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22379
22899
  };
22380
22900
  Returns: string;
22381
22901
  };
22902
+ resolve_print_job_printer_id: {
22903
+ Args: {
22904
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
22905
+ };
22906
+ Returns: string;
22907
+ };
22382
22908
  resolve_product_id_for_item: {
22383
22909
  Args: {
22384
22910
  p_product_name: string;
@@ -22970,7 +23496,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22970
23496
  };
22971
23497
  CompositeTypes: { [_ in never]: never; };
22972
23498
  }, {
22973
- PostgrestVersion: "14.17";
23499
+ PostgrestVersion: "14.5";
22974
23500
  }>;
22975
23501
  userId: string;
22976
23502
  claims: import("@supabase/auth-js").JwtPayload;