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