@flowselections/floriday-afhandeling-module 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
  2. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  3. package/dist-lib/components/afhandeling/ControlePage.js +36 -2
  4. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  5. package/dist-lib/components/afhandeling/DagDetailDialog.js +3 -2
  6. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  7. package/dist-lib/components/afhandeling/WeekAgendaView.js +38 -45
  8. package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
  9. package/dist-lib/hooks/useCartIndex.d.ts +11 -0
  10. package/dist-lib/hooks/useCartIndex.d.ts.map +1 -0
  11. package/dist-lib/hooks/useCartIndex.js +56 -0
  12. package/dist-lib/hooks/useConsistencyCheck.d.ts +8 -0
  13. package/dist-lib/hooks/useConsistencyCheck.d.ts.map +1 -0
  14. package/dist-lib/hooks/useConsistencyCheck.js +22 -0
  15. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  16. package/dist-lib/hooks/useOrderPlanning.js +6 -2
  17. package/dist-lib/hooks/usePickAgenda.d.ts +32 -0
  18. package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -0
  19. package/dist-lib/hooks/usePickAgenda.js +75 -0
  20. package/dist-lib/integrations/supabase/auth-middleware.d.ts +164 -1
  21. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/client.server.d.ts +164 -1
  23. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  24. package/dist-lib/integrations/supabase/moduleClient.d.ts +164 -1
  25. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  26. package/dist-lib/integrations/supabase/types.d.ts +164 -1
  27. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  28. package/dist-lib/lib/afhandelingSettings.functions.d.ts +330 -4
  29. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/carrierSignupMail.server.js +26 -26
  31. package/dist-lib/lib/carriers.functions.d.ts +820 -5
  32. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/cartAssignments.functions.d.ts +820 -5
  34. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/cartControl.functions.d.ts +1743 -124
  36. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/cartControl.functions.js +92 -127
  38. package/dist-lib/lib/floriday.functions.d.ts +165 -2
  39. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  40. package/package.json +1 -1
@@ -51,7 +51,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
51
51
  created_at?: string;
52
52
  extra_pick_days_with_stickers?: number;
53
53
  id?: string;
54
- max_workdays_earlier_pick? /** Print de afleverbrief automatisch zodra hij beschikbaar is in de cache. */: number;
54
+ max_workdays_earlier_pick?: number;
55
55
  pick_days_before_transport?: number;
56
56
  pick_distribution_enabled?: boolean;
57
57
  pick_weekdays?: number[];
@@ -13685,6 +13685,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
13685
13685
  is_herprint: boolean;
13686
13686
  kopieen: number;
13687
13687
  layout_id: string | null;
13688
+ lokaal_opgeslagen_op: string | null;
13689
+ lokale_pdf_fout: string | null;
13690
+ lokale_pdf_status: string | null;
13688
13691
  opgepakt_op: string | null;
13689
13692
  paginas: number;
13690
13693
  payload: import("../integrations/supabase/types").Json;
@@ -13693,6 +13696,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
13693
13696
  pogingen: number;
13694
13697
  printer_id: string | null;
13695
13698
  render_html: string | null;
13699
+ resultaat_pdf_base64: string | null;
13696
13700
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13697
13701
  updated_at: string;
13698
13702
  volgende_poging: string | null;
@@ -13717,6 +13721,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
13717
13721
  is_herprint?: boolean;
13718
13722
  kopieen?: number;
13719
13723
  layout_id?: string | null;
13724
+ lokaal_opgeslagen_op?: string | null;
13725
+ lokale_pdf_fout?: string | null;
13726
+ lokale_pdf_status?: string | null;
13720
13727
  opgepakt_op?: string | null;
13721
13728
  paginas?: number;
13722
13729
  payload?: import("../integrations/supabase/types").Json;
@@ -13725,6 +13732,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
13725
13732
  pogingen?: number;
13726
13733
  printer_id?: string | null;
13727
13734
  render_html?: string | null;
13735
+ resultaat_pdf_base64?: string | null;
13728
13736
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13729
13737
  updated_at?: string;
13730
13738
  volgende_poging?: string | null;
@@ -13749,6 +13757,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
13749
13757
  is_herprint?: boolean;
13750
13758
  kopieen?: number;
13751
13759
  layout_id?: string | null;
13760
+ lokaal_opgeslagen_op?: string | null;
13761
+ lokale_pdf_fout?: string | null;
13762
+ lokale_pdf_status?: string | null;
13752
13763
  opgepakt_op?: string | null;
13753
13764
  paginas?: number;
13754
13765
  payload?: import("../integrations/supabase/types").Json;
@@ -13757,6 +13768,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
13757
13768
  pogingen?: number;
13758
13769
  printer_id?: string | null;
13759
13770
  render_html?: string | null;
13771
+ resultaat_pdf_base64?: string | null;
13760
13772
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13761
13773
  updated_at?: string;
13762
13774
  volgende_poging?: string | null;
@@ -14147,6 +14159,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
14147
14159
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14148
14160
  online: boolean;
14149
14161
  papierformaat: string;
14162
+ pdf_map: string | null;
14150
14163
  poort: number | null;
14151
14164
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14152
14165
  systeemnaam: string;
@@ -14172,6 +14185,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
14172
14185
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14173
14186
  online?: boolean;
14174
14187
  papierformaat?: string;
14188
+ pdf_map?: string | null;
14175
14189
  poort?: number | null;
14176
14190
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14177
14191
  systeemnaam?: string;
@@ -14197,6 +14211,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
14197
14211
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14198
14212
  online?: boolean;
14199
14213
  papierformaat?: string;
14214
+ pdf_map?: string | null;
14200
14215
  poort?: number | null;
14201
14216
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14202
14217
  systeemnaam?: string;
@@ -20453,6 +20468,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
20453
20468
  is_herprint: boolean;
20454
20469
  kopieen: number;
20455
20470
  layout_id: string | null;
20471
+ lokaal_opgeslagen_op: string | null;
20472
+ lokale_pdf_fout: string | null;
20473
+ lokale_pdf_status: string | null;
20456
20474
  opgepakt_op: string | null;
20457
20475
  paginas: number;
20458
20476
  payload: import("../integrations/supabase/types").Json;
@@ -20461,6 +20479,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
20461
20479
  pogingen: number;
20462
20480
  printer_id: string | null;
20463
20481
  render_html: string | null;
20482
+ resultaat_pdf_base64: string | null;
20464
20483
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20465
20484
  updated_at: string;
20466
20485
  volgende_poging: string | null;
@@ -20552,6 +20571,53 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
20552
20571
  isSetofReturn: true;
20553
20572
  };
20554
20573
  };
20574
+ claim_pdf_print_jobs: {
20575
+ Args: {
20576
+ _max?: number;
20577
+ };
20578
+ Returns: {
20579
+ agent_id: string | null;
20580
+ bron_job_id: string | null;
20581
+ created_at: string;
20582
+ documentnaam: string;
20583
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20584
+ extern_job_id: string | null;
20585
+ foutmelding: string | null;
20586
+ gebruiker_id: string | null;
20587
+ gebruiker_naam: string;
20588
+ gebruikte_bron: string | null;
20589
+ gebruikte_layout_id: string | null;
20590
+ gestart_op: string | null;
20591
+ herkomst: string | null;
20592
+ id: string;
20593
+ idempotentie_sleutel: string | null;
20594
+ is_herprint: boolean;
20595
+ kopieen: number;
20596
+ layout_id: string | null;
20597
+ lokaal_opgeslagen_op: string | null;
20598
+ lokale_pdf_fout: string | null;
20599
+ lokale_pdf_status: string | null;
20600
+ opgepakt_op: string | null;
20601
+ paginas: number;
20602
+ payload: import("../integrations/supabase/types").Json;
20603
+ pdf_base64: string | null;
20604
+ pdf_url: string | null;
20605
+ pogingen: number;
20606
+ printer_id: string | null;
20607
+ render_html: string | null;
20608
+ resultaat_pdf_base64: string | null;
20609
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20610
+ updated_at: string;
20611
+ volgende_poging: string | null;
20612
+ voltooid_op: string | null;
20613
+ }[];
20614
+ SetofOptions: {
20615
+ from: "*";
20616
+ to: "print_jobs";
20617
+ isOneToOne: false;
20618
+ isSetofReturn: true;
20619
+ };
20620
+ };
20555
20621
  claim_print_jobs: {
20556
20622
  Args: {
20557
20623
  _agent_id: string;
@@ -20576,6 +20642,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
20576
20642
  is_herprint: boolean;
20577
20643
  kopieen: number;
20578
20644
  layout_id: string | null;
20645
+ lokaal_opgeslagen_op: string | null;
20646
+ lokale_pdf_fout: string | null;
20647
+ lokale_pdf_status: string | null;
20579
20648
  opgepakt_op: string | null;
20580
20649
  paginas: number;
20581
20650
  payload: import("../integrations/supabase/types").Json;
@@ -20584,6 +20653,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
20584
20653
  pogingen: number;
20585
20654
  printer_id: string | null;
20586
20655
  render_html: string | null;
20656
+ resultaat_pdf_base64: string | null;
20587
20657
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20588
20658
  updated_at: string;
20589
20659
  volgende_poging: string | null;
@@ -20724,6 +20794,8 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
20724
20794
  order_id: string;
20725
20795
  order_source: string;
20726
20796
  pick_date: string;
20797
+ printed_at: string;
20798
+ printed_today: boolean;
20727
20799
  status: string;
20728
20800
  }[];
20729
20801
  };
@@ -21432,6 +21504,10 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
21432
21504
  };
21433
21505
  Returns: number;
21434
21506
  };
21507
+ logistics_cancel_orphan_tasks: {
21508
+ Args: never;
21509
+ Returns: number;
21510
+ };
21435
21511
  logistics_capacity_day_check: {
21436
21512
  Args: {
21437
21513
  p_from?: string;
@@ -21452,6 +21528,25 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
21452
21528
  };
21453
21529
  Returns: number;
21454
21530
  };
21531
+ logistics_cart_index: {
21532
+ Args: {
21533
+ p_from?: string;
21534
+ p_to?: string;
21535
+ };
21536
+ Returns: {
21537
+ cart_id: string;
21538
+ cart_index: number;
21539
+ cart_label: string;
21540
+ is_shared: boolean;
21541
+ order_number: string;
21542
+ order_source: string;
21543
+ order_uuid: string;
21544
+ pick_date: string;
21545
+ printed_at: string;
21546
+ shifted: boolean;
21547
+ task_status: string;
21548
+ }[];
21549
+ };
21455
21550
  logistics_check_order_allowed: {
21456
21551
  Args: {
21457
21552
  p_lines: import("../integrations/supabase/types").Json;
@@ -21600,6 +21695,17 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
21600
21695
  isSetofReturn: false;
21601
21696
  };
21602
21697
  };
21698
+ logistics_consistency_check: {
21699
+ Args: never;
21700
+ Returns: {
21701
+ agenda_carts: number;
21702
+ control_carts: number;
21703
+ ok: boolean;
21704
+ orphan_tasks: number;
21705
+ pick_date: string;
21706
+ raw_carts: number;
21707
+ }[];
21708
+ };
21603
21709
  logistics_delay_customer_email: {
21604
21710
  Args: {
21605
21711
  p_customer: string;
@@ -21793,6 +21899,25 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
21793
21899
  };
21794
21900
  Returns: number;
21795
21901
  };
21902
+ logistics_order_overview: {
21903
+ Args: {
21904
+ p_from?: string;
21905
+ p_to?: string;
21906
+ };
21907
+ Returns: {
21908
+ cart_count: number;
21909
+ customer_name: string;
21910
+ delivery_date: string;
21911
+ order_number: string;
21912
+ order_source: string;
21913
+ order_uuid: string;
21914
+ pick_date: string;
21915
+ plant_count: number;
21916
+ printed_at: string;
21917
+ shifted: boolean;
21918
+ status: string;
21919
+ }[];
21920
+ };
21796
21921
  logistics_order_pick_day: {
21797
21922
  Args: {
21798
21923
  p_order_ref: string;
@@ -21805,6 +21930,22 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
21805
21930
  };
21806
21931
  Returns: string;
21807
21932
  };
21933
+ logistics_pick_agenda: {
21934
+ Args: {
21935
+ p_from?: string;
21936
+ p_to?: string;
21937
+ };
21938
+ Returns: {
21939
+ cart_count: number;
21940
+ in_preparation: number;
21941
+ order_count: number;
21942
+ orders: import("../integrations/supabase/types").Json;
21943
+ pick_date: string;
21944
+ plant_count: number;
21945
+ ready: number;
21946
+ shifted_count: number;
21947
+ }[];
21948
+ };
21808
21949
  logistics_pick_email_purpose: {
21809
21950
  Args: never;
21810
21951
  Returns: string;
@@ -21964,6 +22105,15 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
21964
22105
  };
21965
22106
  Returns: import("../integrations/supabase/types").Json;
21966
22107
  };
22108
+ logistics_resolve_pick_document: {
22109
+ Args: {
22110
+ _is_herprint: boolean;
22111
+ _queue_item_id: string;
22112
+ _session_id: string;
22113
+ _voorbeeld: boolean;
22114
+ };
22115
+ Returns: import("../integrations/supabase/types").Json;
22116
+ };
21967
22117
  logistics_resolve_settings: {
21968
22118
  Args: {
21969
22119
  p_config_id: string;
@@ -22418,6 +22568,13 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
22418
22568
  };
22419
22569
  Returns: import("../integrations/supabase/types").Json;
22420
22570
  };
22571
+ pick_preview_job: {
22572
+ Args: {
22573
+ _queue_item_id: string;
22574
+ _station_slug: string;
22575
+ };
22576
+ Returns: import("../integrations/supabase/types").Json;
22577
+ };
22421
22578
  pick_print_job_status: {
22422
22579
  Args: {
22423
22580
  _job_id: string;
@@ -22767,6 +22924,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
22767
22924
  };
22768
22925
  Returns: string;
22769
22926
  };
22927
+ resolve_print_job_printer_id: {
22928
+ Args: {
22929
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22930
+ };
22931
+ Returns: string;
22932
+ };
22770
22933
  resolve_product_id_for_item: {
22771
22934
  Args: {
22772
22935
  p_product_name: string;
@@ -23358,7 +23521,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
23358
23521
  };
23359
23522
  CompositeTypes: { [_ in never]: never; };
23360
23523
  }, {
23361
- PostgrestVersion: "14.17";
23524
+ PostgrestVersion: "14.5";
23362
23525
  }>;
23363
23526
  userId: string;
23364
23527
  claims: import("@supabase/auth-js").JwtPayload;
@@ -23390,7 +23553,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
23390
23553
  created_at?: string;
23391
23554
  extra_pick_days_with_stickers?: number;
23392
23555
  id?: string;
23393
- max_workdays_earlier_pick? /** Print de afleverbrief automatisch zodra hij beschikbaar is in de cache. */: number;
23556
+ max_workdays_earlier_pick?: number;
23394
23557
  pick_days_before_transport?: number;
23395
23558
  pick_distribution_enabled?: boolean;
23396
23559
  pick_weekdays?: number[];
@@ -37024,6 +37187,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37024
37187
  is_herprint: boolean;
37025
37188
  kopieen: number;
37026
37189
  layout_id: string | null;
37190
+ lokaal_opgeslagen_op: string | null;
37191
+ lokale_pdf_fout: string | null;
37192
+ lokale_pdf_status: string | null;
37027
37193
  opgepakt_op: string | null;
37028
37194
  paginas: number;
37029
37195
  payload: import("../integrations/supabase/types").Json;
@@ -37032,6 +37198,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37032
37198
  pogingen: number;
37033
37199
  printer_id: string | null;
37034
37200
  render_html: string | null;
37201
+ resultaat_pdf_base64: string | null;
37035
37202
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37036
37203
  updated_at: string;
37037
37204
  volgende_poging: string | null;
@@ -37056,6 +37223,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37056
37223
  is_herprint?: boolean;
37057
37224
  kopieen?: number;
37058
37225
  layout_id?: string | null;
37226
+ lokaal_opgeslagen_op?: string | null;
37227
+ lokale_pdf_fout?: string | null;
37228
+ lokale_pdf_status?: string | null;
37059
37229
  opgepakt_op?: string | null;
37060
37230
  paginas?: number;
37061
37231
  payload?: import("../integrations/supabase/types").Json;
@@ -37064,6 +37234,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37064
37234
  pogingen?: number;
37065
37235
  printer_id?: string | null;
37066
37236
  render_html?: string | null;
37237
+ resultaat_pdf_base64?: string | null;
37067
37238
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37068
37239
  updated_at?: string;
37069
37240
  volgende_poging?: string | null;
@@ -37088,6 +37259,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37088
37259
  is_herprint?: boolean;
37089
37260
  kopieen?: number;
37090
37261
  layout_id?: string | null;
37262
+ lokaal_opgeslagen_op?: string | null;
37263
+ lokale_pdf_fout?: string | null;
37264
+ lokale_pdf_status?: string | null;
37091
37265
  opgepakt_op?: string | null;
37092
37266
  paginas?: number;
37093
37267
  payload?: import("../integrations/supabase/types").Json;
@@ -37096,6 +37270,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37096
37270
  pogingen?: number;
37097
37271
  printer_id?: string | null;
37098
37272
  render_html?: string | null;
37273
+ resultaat_pdf_base64?: string | null;
37099
37274
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37100
37275
  updated_at?: string;
37101
37276
  volgende_poging?: string | null;
@@ -37486,6 +37661,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37486
37661
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37487
37662
  online: boolean;
37488
37663
  papierformaat: string;
37664
+ pdf_map: string | null;
37489
37665
  poort: number | null;
37490
37666
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37491
37667
  systeemnaam: string;
@@ -37511,6 +37687,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37511
37687
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37512
37688
  online?: boolean;
37513
37689
  papierformaat?: string;
37690
+ pdf_map?: string | null;
37514
37691
  poort?: number | null;
37515
37692
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37516
37693
  systeemnaam?: string;
@@ -37536,6 +37713,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
37536
37713
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37537
37714
  online?: boolean;
37538
37715
  papierformaat?: string;
37716
+ pdf_map?: string | null;
37539
37717
  poort?: number | null;
37540
37718
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37541
37719
  systeemnaam?: string;
@@ -43792,6 +43970,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
43792
43970
  is_herprint: boolean;
43793
43971
  kopieen: number;
43794
43972
  layout_id: string | null;
43973
+ lokaal_opgeslagen_op: string | null;
43974
+ lokale_pdf_fout: string | null;
43975
+ lokale_pdf_status: string | null;
43795
43976
  opgepakt_op: string | null;
43796
43977
  paginas: number;
43797
43978
  payload: import("../integrations/supabase/types").Json;
@@ -43800,6 +43981,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
43800
43981
  pogingen: number;
43801
43982
  printer_id: string | null;
43802
43983
  render_html: string | null;
43984
+ resultaat_pdf_base64: string | null;
43803
43985
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43804
43986
  updated_at: string;
43805
43987
  volgende_poging: string | null;
@@ -43891,6 +44073,53 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
43891
44073
  isSetofReturn: true;
43892
44074
  };
43893
44075
  };
44076
+ claim_pdf_print_jobs: {
44077
+ Args: {
44078
+ _max?: number;
44079
+ };
44080
+ Returns: {
44081
+ agent_id: string | null;
44082
+ bron_job_id: string | null;
44083
+ created_at: string;
44084
+ documentnaam: string;
44085
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44086
+ extern_job_id: string | null;
44087
+ foutmelding: string | null;
44088
+ gebruiker_id: string | null;
44089
+ gebruiker_naam: string;
44090
+ gebruikte_bron: string | null;
44091
+ gebruikte_layout_id: string | null;
44092
+ gestart_op: string | null;
44093
+ herkomst: string | null;
44094
+ id: string;
44095
+ idempotentie_sleutel: string | null;
44096
+ is_herprint: boolean;
44097
+ kopieen: number;
44098
+ layout_id: string | null;
44099
+ lokaal_opgeslagen_op: string | null;
44100
+ lokale_pdf_fout: string | null;
44101
+ lokale_pdf_status: string | null;
44102
+ opgepakt_op: string | null;
44103
+ paginas: number;
44104
+ payload: import("../integrations/supabase/types").Json;
44105
+ pdf_base64: string | null;
44106
+ pdf_url: string | null;
44107
+ pogingen: number;
44108
+ printer_id: string | null;
44109
+ render_html: string | null;
44110
+ resultaat_pdf_base64: string | null;
44111
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44112
+ updated_at: string;
44113
+ volgende_poging: string | null;
44114
+ voltooid_op: string | null;
44115
+ }[];
44116
+ SetofOptions: {
44117
+ from: "*";
44118
+ to: "print_jobs";
44119
+ isOneToOne: false;
44120
+ isSetofReturn: true;
44121
+ };
44122
+ };
43894
44123
  claim_print_jobs: {
43895
44124
  Args: {
43896
44125
  _agent_id: string;
@@ -43915,6 +44144,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
43915
44144
  is_herprint: boolean;
43916
44145
  kopieen: number;
43917
44146
  layout_id: string | null;
44147
+ lokaal_opgeslagen_op: string | null;
44148
+ lokale_pdf_fout: string | null;
44149
+ lokale_pdf_status: string | null;
43918
44150
  opgepakt_op: string | null;
43919
44151
  paginas: number;
43920
44152
  payload: import("../integrations/supabase/types").Json;
@@ -43923,6 +44155,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
43923
44155
  pogingen: number;
43924
44156
  printer_id: string | null;
43925
44157
  render_html: string | null;
44158
+ resultaat_pdf_base64: string | null;
43926
44159
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43927
44160
  updated_at: string;
43928
44161
  volgende_poging: string | null;
@@ -44063,6 +44296,8 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
44063
44296
  order_id: string;
44064
44297
  order_source: string;
44065
44298
  pick_date: string;
44299
+ printed_at: string;
44300
+ printed_today: boolean;
44066
44301
  status: string;
44067
44302
  }[];
44068
44303
  };
@@ -44771,6 +45006,10 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
44771
45006
  };
44772
45007
  Returns: number;
44773
45008
  };
45009
+ logistics_cancel_orphan_tasks: {
45010
+ Args: never;
45011
+ Returns: number;
45012
+ };
44774
45013
  logistics_capacity_day_check: {
44775
45014
  Args: {
44776
45015
  p_from?: string;
@@ -44791,6 +45030,25 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
44791
45030
  };
44792
45031
  Returns: number;
44793
45032
  };
45033
+ logistics_cart_index: {
45034
+ Args: {
45035
+ p_from?: string;
45036
+ p_to?: string;
45037
+ };
45038
+ Returns: {
45039
+ cart_id: string;
45040
+ cart_index: number;
45041
+ cart_label: string;
45042
+ is_shared: boolean;
45043
+ order_number: string;
45044
+ order_source: string;
45045
+ order_uuid: string;
45046
+ pick_date: string;
45047
+ printed_at: string;
45048
+ shifted: boolean;
45049
+ task_status: string;
45050
+ }[];
45051
+ };
44794
45052
  logistics_check_order_allowed: {
44795
45053
  Args: {
44796
45054
  p_lines: import("../integrations/supabase/types").Json;
@@ -44939,6 +45197,17 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
44939
45197
  isSetofReturn: false;
44940
45198
  };
44941
45199
  };
45200
+ logistics_consistency_check: {
45201
+ Args: never;
45202
+ Returns: {
45203
+ agenda_carts: number;
45204
+ control_carts: number;
45205
+ ok: boolean;
45206
+ orphan_tasks: number;
45207
+ pick_date: string;
45208
+ raw_carts: number;
45209
+ }[];
45210
+ };
44942
45211
  logistics_delay_customer_email: {
44943
45212
  Args: {
44944
45213
  p_customer: string;
@@ -45132,6 +45401,25 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
45132
45401
  };
45133
45402
  Returns: number;
45134
45403
  };
45404
+ logistics_order_overview: {
45405
+ Args: {
45406
+ p_from?: string;
45407
+ p_to?: string;
45408
+ };
45409
+ Returns: {
45410
+ cart_count: number;
45411
+ customer_name: string;
45412
+ delivery_date: string;
45413
+ order_number: string;
45414
+ order_source: string;
45415
+ order_uuid: string;
45416
+ pick_date: string;
45417
+ plant_count: number;
45418
+ printed_at: string;
45419
+ shifted: boolean;
45420
+ status: string;
45421
+ }[];
45422
+ };
45135
45423
  logistics_order_pick_day: {
45136
45424
  Args: {
45137
45425
  p_order_ref: string;
@@ -45144,6 +45432,22 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
45144
45432
  };
45145
45433
  Returns: string;
45146
45434
  };
45435
+ logistics_pick_agenda: {
45436
+ Args: {
45437
+ p_from?: string;
45438
+ p_to?: string;
45439
+ };
45440
+ Returns: {
45441
+ cart_count: number;
45442
+ in_preparation: number;
45443
+ order_count: number;
45444
+ orders: import("../integrations/supabase/types").Json;
45445
+ pick_date: string;
45446
+ plant_count: number;
45447
+ ready: number;
45448
+ shifted_count: number;
45449
+ }[];
45450
+ };
45147
45451
  logistics_pick_email_purpose: {
45148
45452
  Args: never;
45149
45453
  Returns: string;
@@ -45303,6 +45607,15 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
45303
45607
  };
45304
45608
  Returns: import("../integrations/supabase/types").Json;
45305
45609
  };
45610
+ logistics_resolve_pick_document: {
45611
+ Args: {
45612
+ _is_herprint: boolean;
45613
+ _queue_item_id: string;
45614
+ _session_id: string;
45615
+ _voorbeeld: boolean;
45616
+ };
45617
+ Returns: import("../integrations/supabase/types").Json;
45618
+ };
45306
45619
  logistics_resolve_settings: {
45307
45620
  Args: {
45308
45621
  p_config_id: string;
@@ -45757,6 +46070,13 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
45757
46070
  };
45758
46071
  Returns: import("../integrations/supabase/types").Json;
45759
46072
  };
46073
+ pick_preview_job: {
46074
+ Args: {
46075
+ _queue_item_id: string;
46076
+ _station_slug: string;
46077
+ };
46078
+ Returns: import("../integrations/supabase/types").Json;
46079
+ };
45760
46080
  pick_print_job_status: {
45761
46081
  Args: {
45762
46082
  _job_id: string;
@@ -46106,6 +46426,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
46106
46426
  };
46107
46427
  Returns: string;
46108
46428
  };
46429
+ resolve_print_job_printer_id: {
46430
+ Args: {
46431
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46432
+ };
46433
+ Returns: string;
46434
+ };
46109
46435
  resolve_product_id_for_item: {
46110
46436
  Args: {
46111
46437
  p_product_name: string;
@@ -46697,7 +47023,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
46697
47023
  };
46698
47024
  CompositeTypes: { [_ in never]: never; };
46699
47025
  }, {
46700
- PostgrestVersion: "14.17";
47026
+ PostgrestVersion: "14.5";
46701
47027
  }>;
46702
47028
  userId: string;
46703
47029
  claims: import("@supabase/auth-js").JwtPayload;