@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
@@ -185,7 +185,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
185
185
  id?: string;
186
186
  linked_data?: import("../integrations/supabase/types").Json;
187
187
  location?: string | null;
188
- notes?: string | null;
188
+ notes? /** Ondergrens leverdatum (YYYY-MM-DD). */: string | null;
189
189
  recurrence?: string | null;
190
190
  reminders?: import("../integrations/supabase/types").Json;
191
191
  source_id?: string | null;
@@ -10739,6 +10739,243 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10739
10739
  };
10740
10740
  Relationships: [];
10741
10741
  };
10742
+ maps_addresses: {
10743
+ Row: {
10744
+ address_hash: string;
10745
+ created_at: string;
10746
+ error_reason: string | null;
10747
+ formatted_address: string | null;
10748
+ id: string;
10749
+ lat: number | null;
10750
+ lng: number | null;
10751
+ place_id: string | null;
10752
+ raw_address: string;
10753
+ resolved_at: string | null;
10754
+ status: string;
10755
+ updated_at: string;
10756
+ };
10757
+ Insert: {
10758
+ address_hash: string;
10759
+ created_at?: string;
10760
+ error_reason?: string | null;
10761
+ formatted_address?: string | null;
10762
+ id?: string;
10763
+ lat?: number | null;
10764
+ lng?: number | null;
10765
+ place_id?: string | null;
10766
+ raw_address: string;
10767
+ resolved_at?: string | null;
10768
+ status?: string;
10769
+ updated_at?: string;
10770
+ };
10771
+ Update: {
10772
+ address_hash?: string;
10773
+ created_at?: string;
10774
+ error_reason?: string | null;
10775
+ formatted_address?: string | null;
10776
+ id?: string;
10777
+ lat?: number | null;
10778
+ lng?: number | null;
10779
+ place_id?: string | null;
10780
+ raw_address?: string;
10781
+ resolved_at?: string | null;
10782
+ status?: string;
10783
+ updated_at?: string;
10784
+ };
10785
+ Relationships: [];
10786
+ };
10787
+ maps_job_lease: {
10788
+ Row: {
10789
+ job: string;
10790
+ locked_until: string;
10791
+ updated_at: string;
10792
+ };
10793
+ Insert: {
10794
+ job: string;
10795
+ locked_until?: string;
10796
+ updated_at?: string;
10797
+ };
10798
+ Update: {
10799
+ job?: string;
10800
+ locked_until?: string;
10801
+ updated_at?: string;
10802
+ };
10803
+ Relationships: [];
10804
+ };
10805
+ maps_request_queue: {
10806
+ Row: {
10807
+ attempts: number;
10808
+ created_at: string;
10809
+ destination_hash: string | null;
10810
+ id: string;
10811
+ kind: string;
10812
+ last_error: string | null;
10813
+ mode: string;
10814
+ origin_hash: string | null;
10815
+ processed_at: string | null;
10816
+ raw_destination: string | null;
10817
+ raw_origin: string | null;
10818
+ requested_by: string | null;
10819
+ status: string;
10820
+ updated_at: string;
10821
+ };
10822
+ Insert: {
10823
+ attempts?: number;
10824
+ created_at?: string;
10825
+ destination_hash?: string | null;
10826
+ id?: string;
10827
+ kind: string;
10828
+ last_error?: string | null;
10829
+ mode?: string;
10830
+ origin_hash?: string | null;
10831
+ processed_at?: string | null;
10832
+ raw_destination?: string | null;
10833
+ raw_origin?: string | null;
10834
+ requested_by?: string | null;
10835
+ status?: string;
10836
+ updated_at?: string;
10837
+ };
10838
+ Update: {
10839
+ attempts?: number;
10840
+ created_at?: string;
10841
+ destination_hash?: string | null;
10842
+ id?: string;
10843
+ kind?: string;
10844
+ last_error?: string | null;
10845
+ mode?: string;
10846
+ origin_hash?: string | null;
10847
+ processed_at?: string | null;
10848
+ raw_destination?: string | null;
10849
+ raw_origin?: string | null;
10850
+ requested_by?: string | null;
10851
+ status?: string;
10852
+ updated_at?: string;
10853
+ };
10854
+ Relationships: [];
10855
+ };
10856
+ maps_settings: {
10857
+ Row: {
10858
+ allow_estimate_fallback: boolean;
10859
+ cache_ttl_days: number;
10860
+ created_at: string;
10861
+ daily_call_limit: number;
10862
+ id: string;
10863
+ last_error: string | null;
10864
+ last_error_at: string | null;
10865
+ last_success_at: string | null;
10866
+ provider: string;
10867
+ updated_at: string;
10868
+ };
10869
+ Insert: {
10870
+ allow_estimate_fallback?: boolean;
10871
+ cache_ttl_days?: number;
10872
+ created_at?: string;
10873
+ daily_call_limit?: number;
10874
+ id?: string;
10875
+ last_error?: string | null;
10876
+ last_error_at?: string | null;
10877
+ last_success_at?: string | null;
10878
+ provider?: string;
10879
+ updated_at?: string;
10880
+ };
10881
+ Update: {
10882
+ allow_estimate_fallback?: boolean;
10883
+ cache_ttl_days?: number;
10884
+ created_at?: string;
10885
+ daily_call_limit?: number;
10886
+ id?: string;
10887
+ last_error?: string | null;
10888
+ last_error_at?: string | null;
10889
+ last_success_at?: string | null;
10890
+ provider?: string;
10891
+ updated_at?: string;
10892
+ };
10893
+ Relationships: [];
10894
+ };
10895
+ maps_travel_times: {
10896
+ Row: {
10897
+ created_at: string;
10898
+ destination_id: string;
10899
+ distance_m: number | null;
10900
+ duration_sec: number;
10901
+ expires_at: string;
10902
+ id: string;
10903
+ mode: string;
10904
+ origin_id: string;
10905
+ source: string;
10906
+ updated_at: string;
10907
+ };
10908
+ Insert: {
10909
+ created_at?: string;
10910
+ destination_id: string;
10911
+ distance_m?: number | null;
10912
+ duration_sec: number;
10913
+ expires_at?: string;
10914
+ id?: string;
10915
+ mode?: string;
10916
+ origin_id: string;
10917
+ source?: string;
10918
+ updated_at?: string;
10919
+ };
10920
+ Update: {
10921
+ created_at?: string;
10922
+ destination_id?: string;
10923
+ distance_m?: number | null;
10924
+ duration_sec?: number;
10925
+ expires_at?: string;
10926
+ id?: string;
10927
+ mode?: string;
10928
+ origin_id?: string;
10929
+ source?: string;
10930
+ updated_at?: string;
10931
+ };
10932
+ Relationships: [{
10933
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10934
+ columns: ["destination_id"];
10935
+ isOneToOne: false;
10936
+ referencedRelation: "maps_addresses";
10937
+ referencedColumns: ["id"];
10938
+ }, {
10939
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10940
+ columns: ["origin_id"];
10941
+ isOneToOne: false;
10942
+ referencedRelation: "maps_addresses";
10943
+ referencedColumns: ["id"];
10944
+ }];
10945
+ };
10946
+ maps_usage_log: {
10947
+ Row: {
10948
+ cache_hits: number;
10949
+ call_type: string;
10950
+ created_at: string;
10951
+ day: string;
10952
+ detail: string | null;
10953
+ elements: number;
10954
+ id: string;
10955
+ outcome: string;
10956
+ };
10957
+ Insert: {
10958
+ cache_hits?: number;
10959
+ call_type: string;
10960
+ created_at?: string;
10961
+ day?: string;
10962
+ detail?: string | null;
10963
+ elements?: number;
10964
+ id?: string;
10965
+ outcome?: string;
10966
+ };
10967
+ Update: {
10968
+ cache_hits?: number;
10969
+ call_type?: string;
10970
+ created_at?: string;
10971
+ day?: string;
10972
+ detail?: string | null;
10973
+ elements?: number;
10974
+ id?: string;
10975
+ outcome?: string;
10976
+ };
10977
+ Relationships: [];
10978
+ };
10742
10979
  material_usage: {
10743
10980
  Row: {
10744
10981
  created_at: string;
@@ -13388,6 +13625,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13388
13625
  };
13389
13626
  Relationships: [];
13390
13627
  };
13628
+ print_dedupe_events: {
13629
+ Row: {
13630
+ bestaande_job_id: string | null;
13631
+ created_at: string;
13632
+ detail: string | null;
13633
+ documentnaam: string | null;
13634
+ documenttype: string | null;
13635
+ id: string;
13636
+ idempotentie_sleutel: string;
13637
+ reden: string;
13638
+ };
13639
+ Insert: {
13640
+ bestaande_job_id?: string | null;
13641
+ created_at?: string;
13642
+ detail?: string | null;
13643
+ documentnaam?: string | null;
13644
+ documenttype?: string | null;
13645
+ id?: string;
13646
+ idempotentie_sleutel: string;
13647
+ reden: string;
13648
+ };
13649
+ Update: {
13650
+ bestaande_job_id?: string | null;
13651
+ created_at?: string;
13652
+ detail?: string | null;
13653
+ documentnaam?: string | null;
13654
+ documenttype?: string | null;
13655
+ id?: string;
13656
+ idempotentie_sleutel?: string;
13657
+ reden?: string;
13658
+ };
13659
+ Relationships: [];
13660
+ };
13391
13661
  print_job_logs: {
13392
13662
  Row: {
13393
13663
  created_at: string;
@@ -13429,6 +13699,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13429
13699
  foutmelding: string | null;
13430
13700
  gebruiker_id: string | null;
13431
13701
  gebruiker_naam: string;
13702
+ gebruikte_bron: string | null;
13703
+ gebruikte_layout_id: string | null;
13432
13704
  gestart_op: string | null;
13433
13705
  herkomst: string | null;
13434
13706
  id: string;
@@ -13436,6 +13708,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13436
13708
  is_herprint: boolean;
13437
13709
  kopieen: number;
13438
13710
  layout_id: string | null;
13711
+ lokaal_opgeslagen_op: string | null;
13712
+ lokale_pdf_fout: string | null;
13713
+ lokale_pdf_status: string | null;
13439
13714
  opgepakt_op: string | null;
13440
13715
  paginas: number;
13441
13716
  payload: import("../integrations/supabase/types").Json;
@@ -13444,6 +13719,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13444
13719
  pogingen: number;
13445
13720
  printer_id: string | null;
13446
13721
  render_html: string | null;
13722
+ resultaat_pdf_base64: string | null;
13447
13723
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13448
13724
  updated_at: string;
13449
13725
  volgende_poging: string | null;
@@ -13459,6 +13735,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13459
13735
  foutmelding?: string | null;
13460
13736
  gebruiker_id?: string | null;
13461
13737
  gebruiker_naam?: string;
13738
+ gebruikte_bron?: string | null;
13739
+ gebruikte_layout_id?: string | null;
13462
13740
  gestart_op?: string | null;
13463
13741
  herkomst?: string | null;
13464
13742
  id?: string;
@@ -13466,6 +13744,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13466
13744
  is_herprint?: boolean;
13467
13745
  kopieen?: number;
13468
13746
  layout_id?: string | null;
13747
+ lokaal_opgeslagen_op?: string | null;
13748
+ lokale_pdf_fout?: string | null;
13749
+ lokale_pdf_status?: string | null;
13469
13750
  opgepakt_op?: string | null;
13470
13751
  paginas?: number;
13471
13752
  payload?: import("../integrations/supabase/types").Json;
@@ -13474,6 +13755,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13474
13755
  pogingen?: number;
13475
13756
  printer_id?: string | null;
13476
13757
  render_html?: string | null;
13758
+ resultaat_pdf_base64?: string | null;
13477
13759
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13478
13760
  updated_at?: string;
13479
13761
  volgende_poging?: string | null;
@@ -13489,6 +13771,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13489
13771
  foutmelding?: string | null;
13490
13772
  gebruiker_id?: string | null;
13491
13773
  gebruiker_naam?: string;
13774
+ gebruikte_bron?: string | null;
13775
+ gebruikte_layout_id?: string | null;
13492
13776
  gestart_op?: string | null;
13493
13777
  herkomst?: string | null;
13494
13778
  id?: string;
@@ -13496,6 +13780,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13496
13780
  is_herprint?: boolean;
13497
13781
  kopieen?: number;
13498
13782
  layout_id?: string | null;
13783
+ lokaal_opgeslagen_op?: string | null;
13784
+ lokale_pdf_fout?: string | null;
13785
+ lokale_pdf_status?: string | null;
13499
13786
  opgepakt_op?: string | null;
13500
13787
  paginas?: number;
13501
13788
  payload?: import("../integrations/supabase/types").Json;
@@ -13504,6 +13791,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13504
13791
  pogingen?: number;
13505
13792
  printer_id?: string | null;
13506
13793
  render_html?: string | null;
13794
+ resultaat_pdf_base64?: string | null;
13507
13795
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13508
13796
  updated_at?: string;
13509
13797
  volgende_poging?: string | null;
@@ -13622,6 +13910,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13622
13910
  };
13623
13911
  Relationships: [];
13624
13912
  };
13913
+ print_preview_events: {
13914
+ Row: {
13915
+ code: string | null;
13916
+ created_at: string;
13917
+ detail: import("../integrations/supabase/types").Json;
13918
+ id: string;
13919
+ queue_item_id: string | null;
13920
+ reden: string | null;
13921
+ station_slug: string | null;
13922
+ uitkomst: string;
13923
+ };
13924
+ Insert: {
13925
+ code?: string | null;
13926
+ created_at?: string;
13927
+ detail?: import("../integrations/supabase/types").Json;
13928
+ id?: string;
13929
+ queue_item_id?: string | null;
13930
+ reden?: string | null;
13931
+ station_slug?: string | null;
13932
+ uitkomst?: string;
13933
+ };
13934
+ Update: {
13935
+ code?: string | null;
13936
+ created_at?: string;
13937
+ detail?: import("../integrations/supabase/types").Json;
13938
+ id?: string;
13939
+ queue_item_id?: string | null;
13940
+ reden?: string | null;
13941
+ station_slug?: string | null;
13942
+ uitkomst?: string;
13943
+ };
13944
+ Relationships: [];
13945
+ };
13625
13946
  print_queue_runners: {
13626
13947
  Row: {
13627
13948
  actief: boolean;
@@ -13849,6 +14170,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13849
14170
  created_at: string;
13850
14171
  driver: string;
13851
14172
  extern_printer_id: string | null;
14173
+ formaten_bijgewerkt_op: string | null;
13852
14174
  id: string;
13853
14175
  ip_adres: string | null;
13854
14176
  laatst_gezien: string | null;
@@ -13856,8 +14178,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13856
14178
  merk: string;
13857
14179
  naam: string;
13858
14180
  omschrijving: string;
14181
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
14182
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
13859
14183
  online: boolean;
13860
14184
  papierformaat: string;
14185
+ pdf_map: string | null;
13861
14186
  poort: number | null;
13862
14187
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
13863
14188
  systeemnaam: string;
@@ -13871,6 +14196,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13871
14196
  created_at?: string;
13872
14197
  driver?: string;
13873
14198
  extern_printer_id?: string | null;
14199
+ formaten_bijgewerkt_op?: string | null;
13874
14200
  id?: string;
13875
14201
  ip_adres?: string | null;
13876
14202
  laatst_gezien?: string | null;
@@ -13878,8 +14204,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13878
14204
  merk?: string;
13879
14205
  naam: string;
13880
14206
  omschrijving?: string;
14207
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14208
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13881
14209
  online?: boolean;
13882
14210
  papierformaat?: string;
14211
+ pdf_map?: string | null;
13883
14212
  poort?: number | null;
13884
14213
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
13885
14214
  systeemnaam?: string;
@@ -13893,6 +14222,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13893
14222
  created_at?: string;
13894
14223
  driver?: string;
13895
14224
  extern_printer_id?: string | null;
14225
+ formaten_bijgewerkt_op?: string | null;
13896
14226
  id?: string;
13897
14227
  ip_adres?: string | null;
13898
14228
  laatst_gezien?: string | null;
@@ -13900,8 +14230,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13900
14230
  merk?: string;
13901
14231
  naam?: string;
13902
14232
  omschrijving?: string;
14233
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14234
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13903
14235
  online?: boolean;
13904
14236
  papierformaat?: string;
14237
+ pdf_map?: string | null;
13905
14238
  poort?: number | null;
13906
14239
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
13907
14240
  systeemnaam?: string;
@@ -20149,6 +20482,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20149
20482
  foutmelding: string | null;
20150
20483
  gebruiker_id: string | null;
20151
20484
  gebruiker_naam: string;
20485
+ gebruikte_bron: string | null;
20486
+ gebruikte_layout_id: string | null;
20152
20487
  gestart_op: string | null;
20153
20488
  herkomst: string | null;
20154
20489
  id: string;
@@ -20156,6 +20491,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20156
20491
  is_herprint: boolean;
20157
20492
  kopieen: number;
20158
20493
  layout_id: string | null;
20494
+ lokaal_opgeslagen_op: string | null;
20495
+ lokale_pdf_fout: string | null;
20496
+ lokale_pdf_status: string | null;
20159
20497
  opgepakt_op: string | null;
20160
20498
  paginas: number;
20161
20499
  payload: import("../integrations/supabase/types").Json;
@@ -20164,6 +20502,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20164
20502
  pogingen: number;
20165
20503
  printer_id: string | null;
20166
20504
  render_html: string | null;
20505
+ resultaat_pdf_base64: string | null;
20167
20506
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20168
20507
  updated_at: string;
20169
20508
  volgende_poging: string | null;
@@ -20255,6 +20594,53 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20255
20594
  isSetofReturn: true;
20256
20595
  };
20257
20596
  };
20597
+ claim_pdf_print_jobs: {
20598
+ Args: {
20599
+ _max?: number;
20600
+ };
20601
+ Returns: {
20602
+ agent_id: string | null;
20603
+ bron_job_id: string | null;
20604
+ created_at: string;
20605
+ documentnaam: string;
20606
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20607
+ extern_job_id: string | null;
20608
+ foutmelding: string | null;
20609
+ gebruiker_id: string | null;
20610
+ gebruiker_naam: string;
20611
+ gebruikte_bron: string | null;
20612
+ gebruikte_layout_id: string | null;
20613
+ gestart_op: string | null;
20614
+ herkomst: string | null;
20615
+ id: string;
20616
+ idempotentie_sleutel: string | null;
20617
+ is_herprint: boolean;
20618
+ kopieen: number;
20619
+ layout_id: string | null;
20620
+ lokaal_opgeslagen_op: string | null;
20621
+ lokale_pdf_fout: string | null;
20622
+ lokale_pdf_status: string | null;
20623
+ opgepakt_op: string | null;
20624
+ paginas: number;
20625
+ payload: import("../integrations/supabase/types").Json;
20626
+ pdf_base64: string | null;
20627
+ pdf_url: string | null;
20628
+ pogingen: number;
20629
+ printer_id: string | null;
20630
+ render_html: string | null;
20631
+ resultaat_pdf_base64: string | null;
20632
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20633
+ updated_at: string;
20634
+ volgende_poging: string | null;
20635
+ voltooid_op: string | null;
20636
+ }[];
20637
+ SetofOptions: {
20638
+ from: "*";
20639
+ to: "print_jobs";
20640
+ isOneToOne: false;
20641
+ isSetofReturn: true;
20642
+ };
20643
+ };
20258
20644
  claim_print_jobs: {
20259
20645
  Args: {
20260
20646
  _agent_id: string;
@@ -20270,6 +20656,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20270
20656
  foutmelding: string | null;
20271
20657
  gebruiker_id: string | null;
20272
20658
  gebruiker_naam: string;
20659
+ gebruikte_bron: string | null;
20660
+ gebruikte_layout_id: string | null;
20273
20661
  gestart_op: string | null;
20274
20662
  herkomst: string | null;
20275
20663
  id: string;
@@ -20277,6 +20665,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20277
20665
  is_herprint: boolean;
20278
20666
  kopieen: number;
20279
20667
  layout_id: string | null;
20668
+ lokaal_opgeslagen_op: string | null;
20669
+ lokale_pdf_fout: string | null;
20670
+ lokale_pdf_status: string | null;
20280
20671
  opgepakt_op: string | null;
20281
20672
  paginas: number;
20282
20673
  payload: import("../integrations/supabase/types").Json;
@@ -20285,6 +20676,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20285
20676
  pogingen: number;
20286
20677
  printer_id: string | null;
20287
20678
  render_html: string | null;
20679
+ resultaat_pdf_base64: string | null;
20288
20680
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20289
20681
  updated_at: string;
20290
20682
  volgende_poging: string | null;
@@ -20425,6 +20817,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20425
20817
  order_id: string;
20426
20818
  order_source: string;
20427
20819
  pick_date: string;
20820
+ printed_at: string;
20821
+ printed_today: boolean;
20428
20822
  status: string;
20429
20823
  }[];
20430
20824
  };
@@ -21133,6 +21527,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21133
21527
  };
21134
21528
  Returns: number;
21135
21529
  };
21530
+ logistics_cancel_orphan_tasks: {
21531
+ Args: never;
21532
+ Returns: number;
21533
+ };
21136
21534
  logistics_capacity_day_check: {
21137
21535
  Args: {
21138
21536
  p_from?: string;
@@ -21153,6 +21551,25 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21153
21551
  };
21154
21552
  Returns: number;
21155
21553
  };
21554
+ logistics_cart_index: {
21555
+ Args: {
21556
+ p_from?: string;
21557
+ p_to?: string;
21558
+ };
21559
+ Returns: {
21560
+ cart_id: string;
21561
+ cart_index: number;
21562
+ cart_label: string;
21563
+ is_shared: boolean;
21564
+ order_number: string;
21565
+ order_source: string;
21566
+ order_uuid: string;
21567
+ pick_date: string;
21568
+ printed_at: string;
21569
+ shifted: boolean;
21570
+ task_status: string;
21571
+ }[];
21572
+ };
21156
21573
  logistics_check_order_allowed: {
21157
21574
  Args: {
21158
21575
  p_lines: import("../integrations/supabase/types").Json;
@@ -21301,6 +21718,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21301
21718
  isSetofReturn: false;
21302
21719
  };
21303
21720
  };
21721
+ logistics_consistency_check: {
21722
+ Args: never;
21723
+ Returns: {
21724
+ agenda_carts: number;
21725
+ control_carts: number;
21726
+ ok: boolean;
21727
+ orphan_tasks: number;
21728
+ pick_date: string;
21729
+ raw_carts: number;
21730
+ }[];
21731
+ };
21304
21732
  logistics_delay_customer_email: {
21305
21733
  Args: {
21306
21734
  p_customer: string;
@@ -21326,6 +21754,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21326
21754
  };
21327
21755
  Returns: string;
21328
21756
  };
21757
+ logistics_document_type_map: {
21758
+ Args: {
21759
+ _document_code: string;
21760
+ };
21761
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
21762
+ };
21329
21763
  logistics_emit_event: {
21330
21764
  Args: {
21331
21765
  p_event_type: string;
@@ -21488,6 +21922,25 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21488
21922
  };
21489
21923
  Returns: number;
21490
21924
  };
21925
+ logistics_order_overview: {
21926
+ Args: {
21927
+ p_from?: string;
21928
+ p_to?: string;
21929
+ };
21930
+ Returns: {
21931
+ cart_count: number;
21932
+ customer_name: string;
21933
+ delivery_date: string;
21934
+ order_number: string;
21935
+ order_source: string;
21936
+ order_uuid: string;
21937
+ pick_date: string;
21938
+ plant_count: number;
21939
+ printed_at: string;
21940
+ shifted: boolean;
21941
+ status: string;
21942
+ }[];
21943
+ };
21491
21944
  logistics_order_pick_day: {
21492
21945
  Args: {
21493
21946
  p_order_ref: string;
@@ -21500,6 +21953,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21500
21953
  };
21501
21954
  Returns: string;
21502
21955
  };
21956
+ logistics_pick_agenda: {
21957
+ Args: {
21958
+ p_from?: string;
21959
+ p_to?: string;
21960
+ };
21961
+ Returns: {
21962
+ cart_count: number;
21963
+ in_preparation: number;
21964
+ order_count: number;
21965
+ orders: import("../integrations/supabase/types").Json;
21966
+ pick_date: string;
21967
+ plant_count: number;
21968
+ ready: number;
21969
+ shifted_count: number;
21970
+ }[];
21971
+ };
21503
21972
  logistics_pick_email_purpose: {
21504
21973
  Args: never;
21505
21974
  Returns: string;
@@ -21659,6 +22128,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21659
22128
  };
21660
22129
  Returns: import("../integrations/supabase/types").Json;
21661
22130
  };
22131
+ logistics_resolve_pick_document: {
22132
+ Args: {
22133
+ _is_herprint: boolean;
22134
+ _queue_item_id: string;
22135
+ _session_id: string;
22136
+ _voorbeeld: boolean;
22137
+ };
22138
+ Returns: import("../integrations/supabase/types").Json;
22139
+ };
21662
22140
  logistics_resolve_settings: {
21663
22141
  Args: {
21664
22142
  p_config_id: string;
@@ -22099,6 +22577,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22099
22577
  };
22100
22578
  pick_enqueue_print_job: {
22101
22579
  Args: {
22580
+ _is_herprint?: boolean;
22102
22581
  _printer_id?: string;
22103
22582
  _queue_item_id: string;
22104
22583
  _session_id?: string;
@@ -22112,6 +22591,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22112
22591
  };
22113
22592
  Returns: import("../integrations/supabase/types").Json;
22114
22593
  };
22594
+ pick_preview_job: {
22595
+ Args: {
22596
+ _queue_item_id: string;
22597
+ _station_slug: string;
22598
+ };
22599
+ Returns: import("../integrations/supabase/types").Json;
22600
+ };
22115
22601
  pick_print_job_status: {
22116
22602
  Args: {
22117
22603
  _job_id: string;
@@ -22126,6 +22612,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22126
22612
  omschrijving: string;
22127
22613
  }[];
22128
22614
  };
22615
+ pick_reference_data_status: {
22616
+ Args: never;
22617
+ Returns: import("../integrations/supabase/types").Json;
22618
+ };
22129
22619
  pick_release_expired_locks: {
22130
22620
  Args: never;
22131
22621
  Returns: number;
@@ -22190,6 +22680,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22190
22680
  isSetofReturn: false;
22191
22681
  };
22192
22682
  };
22683
+ pick_seed_reference_data: {
22684
+ Args: never;
22685
+ Returns: import("../integrations/supabase/types").Json;
22686
+ };
22193
22687
  pick_set_station_print_plek: {
22194
22688
  Args: {
22195
22689
  _print_plek_id: string;
@@ -22281,6 +22775,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22281
22775
  };
22282
22776
  Returns: undefined;
22283
22777
  };
22778
+ print_preview_toestaan: {
22779
+ Args: {
22780
+ _max?: number;
22781
+ _queue_item_id: string;
22782
+ _station_slug: string;
22783
+ _venster_sec?: number;
22784
+ };
22785
+ Returns: import("../integrations/supabase/types").Json;
22786
+ };
22787
+ print_preview_weiger: {
22788
+ Args: {
22789
+ _code: string;
22790
+ _queue_item_id: string;
22791
+ _reden: string;
22792
+ _station_slug: string;
22793
+ };
22794
+ Returns: undefined;
22795
+ };
22284
22796
  process_logistics_event: {
22285
22797
  Args: {
22286
22798
  p_event_id: string;
@@ -22398,6 +22910,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22398
22910
  };
22399
22911
  Returns: undefined;
22400
22912
  };
22913
+ replace_order_carts: {
22914
+ Args: {
22915
+ p_buffer_id: string;
22916
+ p_carts: import("../integrations/supabase/types").Json;
22917
+ p_order_id: string;
22918
+ };
22919
+ Returns: import("../integrations/supabase/types").Json;
22920
+ };
22401
22921
  reset_floriday_sync_cursor: {
22402
22922
  Args: {
22403
22923
  p_connection_id: string;
@@ -22427,6 +22947,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22427
22947
  };
22428
22948
  Returns: string;
22429
22949
  };
22950
+ resolve_print_job_printer_id: {
22951
+ Args: {
22952
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22953
+ };
22954
+ Returns: string;
22955
+ };
22430
22956
  resolve_product_id_for_item: {
22431
22957
  Args: {
22432
22958
  p_product_name: string;
@@ -23018,7 +23544,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23018
23544
  };
23019
23545
  CompositeTypes: { [_ in never]: never; };
23020
23546
  }, {
23021
- PostgrestVersion: "14.17";
23547
+ PostgrestVersion: "14.5";
23022
23548
  }>;
23023
23549
  userId: string;
23024
23550
  claims: import("@supabase/auth-js").JwtPayload;