@flowselections/floriday-verkoop-module 1.0.48 → 1.0.50

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 (72) hide show
  1. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/OrderKarindelingCard.js +5 -1
  3. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/SalesOrderDetailView.js +6 -4
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +63 -1
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +63 -1
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +63 -1
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +66 -1
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +63 -1
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planner.d.ts +15 -4
  16. package/dist-lib/lib/cart-planner.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-planner.js +44 -12
  18. package/dist-lib/lib/cart-planning-settings.functions.d.ts +693 -11
  19. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/cart-replan.functions.d.ts +201 -3
  21. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/cart-replan.functions.js +49 -3
  23. package/dist-lib/lib/create-order.functions.d.ts +1076 -17
  24. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/create-order.functions.js +48 -4
  26. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +189 -3
  27. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +63 -1
  29. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-mirror.functions.d.ts +63 -1
  31. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-mirror.functions.js +11 -0
  33. package/dist-lib/lib/floriday-public.functions.d.ts +441 -7
  34. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-writes.functions.d.ts +315 -5
  36. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/invoice-timing.functions.d.ts +252 -4
  38. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/load-carrier-labels.d.ts +13 -0
  40. package/dist-lib/lib/load-carrier-labels.d.ts.map +1 -1
  41. package/dist-lib/lib/load-carrier-labels.js +20 -0
  42. package/dist-lib/lib/load-carriers.functions.d.ts +63 -1
  43. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/logistics-engine.functions.d.ts +315 -5
  45. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/logistics-stock.functions.d.ts +126 -2
  47. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-addresses.functions.d.ts +63 -1
  49. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-buffers.functions.d.ts +189 -3
  51. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-carrier.functions.d.ts +126 -2
  53. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/order-pickup.functions.d.ts +126 -2
  55. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/order-shipments.functions.d.ts +252 -4
  57. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/salesorders-list.functions.d.ts +63 -1
  59. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  61. package/dist-lib/lib/salesorders-list.server.js +70 -4
  62. package/dist-lib/lib/salesorders-mapping.d.ts +17 -0
  63. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  64. package/dist-lib/lib/salesorders-mapping.js +64 -13
  65. package/dist-lib/lib/salesorders.functions.d.ts +315 -5
  66. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  67. package/dist-lib/lib/salesorders.functions.js +19 -3
  68. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +126 -2
  69. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/tradeitems.functions.d.ts +63 -1
  71. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  72. package/package.json +1 -1
@@ -18663,6 +18663,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
18663
18663
  werkbon_package_items: {
18664
18664
  Row: {
18665
18665
  article_number: string | null;
18666
+ artikel_id: string | null;
18666
18667
  created_at: string;
18667
18668
  gtin: string | null;
18668
18669
  id: string;
@@ -18680,6 +18681,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
18680
18681
  };
18681
18682
  Insert: {
18682
18683
  article_number?: string | null;
18684
+ artikel_id?: string | null;
18683
18685
  created_at?: string;
18684
18686
  gtin?: string | null;
18685
18687
  id?: string;
@@ -18697,6 +18699,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
18697
18699
  };
18698
18700
  Update: {
18699
18701
  article_number?: string | null;
18702
+ artikel_id?: string | null;
18700
18703
  created_at?: string;
18701
18704
  gtin?: string | null;
18702
18705
  id?: string;
@@ -18713,6 +18716,12 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
18713
18716
  updated_at?: string;
18714
18717
  };
18715
18718
  Relationships: [{
18719
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18720
+ columns: ["artikel_id"];
18721
+ isOneToOne: false;
18722
+ referencedRelation: "artikelen_cache";
18723
+ referencedColumns: ["id"];
18724
+ }, {
18716
18725
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18717
18726
  columns: ["package_id"];
18718
18727
  isOneToOne: false;
@@ -19935,6 +19944,20 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
19935
19944
  referencedColumns: ["id"];
19936
19945
  }];
19937
19946
  };
19947
+ v_werkbon_totalen: {
19948
+ Row: {
19949
+ packages_cents: number | null;
19950
+ packages_minutes: number | null;
19951
+ werkbon_id: string | null;
19952
+ };
19953
+ Relationships: [{
19954
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19955
+ columns: ["werkbon_id"];
19956
+ isOneToOne: false;
19957
+ referencedRelation: "werkbonnen";
19958
+ referencedColumns: ["id"];
19959
+ }];
19960
+ };
19938
19961
  };
19939
19962
  Functions: {
19940
19963
  _floriday_schedule_job: {
@@ -21482,6 +21505,14 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
21482
21505
  };
21483
21506
  Returns: import("../integrations/supabase/types").Json;
21484
21507
  };
21508
+ logistics_plan_block: {
21509
+ Args: {
21510
+ p_details?: import("../integrations/supabase/types").Json;
21511
+ p_order_ids: string[];
21512
+ p_reason: string;
21513
+ };
21514
+ Returns: number;
21515
+ };
21485
21516
  logistics_plan_buffer_sql: {
21486
21517
  Args: {
21487
21518
  p_buffer_id: string;
@@ -21863,6 +21894,25 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
21863
21894
  };
21864
21895
  Returns: string;
21865
21896
  };
21897
+ pakket_suggesties_voor_tekst: {
21898
+ Args: {
21899
+ _tekst: string;
21900
+ };
21901
+ Returns: {
21902
+ hit_type: string;
21903
+ package_id: string;
21904
+ priority: number;
21905
+ }[];
21906
+ };
21907
+ pakket_voor_reistijd: {
21908
+ Args: {
21909
+ _minuten: number;
21910
+ };
21911
+ Returns: {
21912
+ package_id: string;
21913
+ priority: number;
21914
+ }[];
21915
+ };
21866
21916
  pick_active_printers: {
21867
21917
  Args: never;
21868
21918
  Returns: {
@@ -22913,6 +22963,18 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
22913
22963
  Args: never;
22914
22964
  Returns: string;
22915
22965
  };
22966
+ werkbon_totalen: {
22967
+ Args: {
22968
+ _werkbon_id: string;
22969
+ };
22970
+ Returns: {
22971
+ materials_cents: number;
22972
+ packages_cents: number;
22973
+ packages_minutes: number;
22974
+ total_cents: number;
22975
+ total_minutes: number;
22976
+ }[];
22977
+ };
22916
22978
  wo_create_from_source: {
22917
22979
  Args: {
22918
22980
  _payload?: import("../integrations/supabase/types").Json;
@@ -22951,7 +23013,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
22951
23013
  };
22952
23014
  CompositeTypes: { [_ in never]: never; };
22953
23015
  }, {
22954
- PostgrestVersion: "14.5";
23016
+ PostgrestVersion: "14.17";
22955
23017
  }>;
22956
23018
  userId: string;
22957
23019
  claims: import("@supabase/auth-js").User;
@@ -41582,6 +41644,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
41582
41644
  werkbon_package_items: {
41583
41645
  Row: {
41584
41646
  article_number: string | null;
41647
+ artikel_id: string | null;
41585
41648
  created_at: string;
41586
41649
  gtin: string | null;
41587
41650
  id: string;
@@ -41599,6 +41662,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
41599
41662
  };
41600
41663
  Insert: {
41601
41664
  article_number?: string | null;
41665
+ artikel_id?: string | null;
41602
41666
  created_at?: string;
41603
41667
  gtin?: string | null;
41604
41668
  id?: string;
@@ -41616,6 +41680,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
41616
41680
  };
41617
41681
  Update: {
41618
41682
  article_number?: string | null;
41683
+ artikel_id?: string | null;
41619
41684
  created_at?: string;
41620
41685
  gtin?: string | null;
41621
41686
  id?: string;
@@ -41632,6 +41697,12 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
41632
41697
  updated_at?: string;
41633
41698
  };
41634
41699
  Relationships: [{
41700
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
41701
+ columns: ["artikel_id"];
41702
+ isOneToOne: false;
41703
+ referencedRelation: "artikelen_cache";
41704
+ referencedColumns: ["id"];
41705
+ }, {
41635
41706
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41636
41707
  columns: ["package_id"];
41637
41708
  isOneToOne: false;
@@ -42854,6 +42925,20 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
42854
42925
  referencedColumns: ["id"];
42855
42926
  }];
42856
42927
  };
42928
+ v_werkbon_totalen: {
42929
+ Row: {
42930
+ packages_cents: number | null;
42931
+ packages_minutes: number | null;
42932
+ werkbon_id: string | null;
42933
+ };
42934
+ Relationships: [{
42935
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
42936
+ columns: ["werkbon_id"];
42937
+ isOneToOne: false;
42938
+ referencedRelation: "werkbonnen";
42939
+ referencedColumns: ["id"];
42940
+ }];
42941
+ };
42857
42942
  };
42858
42943
  Functions: {
42859
42944
  _floriday_schedule_job: {
@@ -44401,6 +44486,14 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
44401
44486
  };
44402
44487
  Returns: import("../integrations/supabase/types").Json;
44403
44488
  };
44489
+ logistics_plan_block: {
44490
+ Args: {
44491
+ p_details?: import("../integrations/supabase/types").Json;
44492
+ p_order_ids: string[];
44493
+ p_reason: string;
44494
+ };
44495
+ Returns: number;
44496
+ };
44404
44497
  logistics_plan_buffer_sql: {
44405
44498
  Args: {
44406
44499
  p_buffer_id: string;
@@ -44782,6 +44875,25 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
44782
44875
  };
44783
44876
  Returns: string;
44784
44877
  };
44878
+ pakket_suggesties_voor_tekst: {
44879
+ Args: {
44880
+ _tekst: string;
44881
+ };
44882
+ Returns: {
44883
+ hit_type: string;
44884
+ package_id: string;
44885
+ priority: number;
44886
+ }[];
44887
+ };
44888
+ pakket_voor_reistijd: {
44889
+ Args: {
44890
+ _minuten: number;
44891
+ };
44892
+ Returns: {
44893
+ package_id: string;
44894
+ priority: number;
44895
+ }[];
44896
+ };
44785
44897
  pick_active_printers: {
44786
44898
  Args: never;
44787
44899
  Returns: {
@@ -45832,6 +45944,18 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
45832
45944
  Args: never;
45833
45945
  Returns: string;
45834
45946
  };
45947
+ werkbon_totalen: {
45948
+ Args: {
45949
+ _werkbon_id: string;
45950
+ };
45951
+ Returns: {
45952
+ materials_cents: number;
45953
+ packages_cents: number;
45954
+ packages_minutes: number;
45955
+ total_cents: number;
45956
+ total_minutes: number;
45957
+ }[];
45958
+ };
45835
45959
  wo_create_from_source: {
45836
45960
  Args: {
45837
45961
  _payload?: import("../integrations/supabase/types").Json;
@@ -45870,7 +45994,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
45870
45994
  };
45871
45995
  CompositeTypes: { [_ in never]: never; };
45872
45996
  }, {
45873
- PostgrestVersion: "14.5";
45997
+ PostgrestVersion: "14.17";
45874
45998
  }>;
45875
45999
  userId: string;
45876
46000
  claims: import("@supabase/auth-js").User;
@@ -64520,6 +64644,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
64520
64644
  werkbon_package_items: {
64521
64645
  Row: {
64522
64646
  article_number: string | null;
64647
+ artikel_id: string | null;
64523
64648
  created_at: string;
64524
64649
  gtin: string | null;
64525
64650
  id: string;
@@ -64537,6 +64662,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
64537
64662
  };
64538
64663
  Insert: {
64539
64664
  article_number?: string | null;
64665
+ artikel_id?: string | null;
64540
64666
  created_at?: string;
64541
64667
  gtin?: string | null;
64542
64668
  id?: string;
@@ -64554,6 +64680,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
64554
64680
  };
64555
64681
  Update: {
64556
64682
  article_number?: string | null;
64683
+ artikel_id?: string | null;
64557
64684
  created_at?: string;
64558
64685
  gtin?: string | null;
64559
64686
  id?: string;
@@ -64570,6 +64697,12 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
64570
64697
  updated_at?: string;
64571
64698
  };
64572
64699
  Relationships: [{
64700
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
64701
+ columns: ["artikel_id"];
64702
+ isOneToOne: false;
64703
+ referencedRelation: "artikelen_cache";
64704
+ referencedColumns: ["id"];
64705
+ }, {
64573
64706
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64574
64707
  columns: ["package_id"];
64575
64708
  isOneToOne: false;
@@ -65792,6 +65925,20 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
65792
65925
  referencedColumns: ["id"];
65793
65926
  }];
65794
65927
  };
65928
+ v_werkbon_totalen: {
65929
+ Row: {
65930
+ packages_cents: number | null;
65931
+ packages_minutes: number | null;
65932
+ werkbon_id: string | null;
65933
+ };
65934
+ Relationships: [{
65935
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
65936
+ columns: ["werkbon_id"];
65937
+ isOneToOne: false;
65938
+ referencedRelation: "werkbonnen";
65939
+ referencedColumns: ["id"];
65940
+ }];
65941
+ };
65795
65942
  };
65796
65943
  Functions: {
65797
65944
  _floriday_schedule_job: {
@@ -67339,6 +67486,14 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
67339
67486
  };
67340
67487
  Returns: import("../integrations/supabase/types").Json;
67341
67488
  };
67489
+ logistics_plan_block: {
67490
+ Args: {
67491
+ p_details?: import("../integrations/supabase/types").Json;
67492
+ p_order_ids: string[];
67493
+ p_reason: string;
67494
+ };
67495
+ Returns: number;
67496
+ };
67342
67497
  logistics_plan_buffer_sql: {
67343
67498
  Args: {
67344
67499
  p_buffer_id: string;
@@ -67720,6 +67875,25 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
67720
67875
  };
67721
67876
  Returns: string;
67722
67877
  };
67878
+ pakket_suggesties_voor_tekst: {
67879
+ Args: {
67880
+ _tekst: string;
67881
+ };
67882
+ Returns: {
67883
+ hit_type: string;
67884
+ package_id: string;
67885
+ priority: number;
67886
+ }[];
67887
+ };
67888
+ pakket_voor_reistijd: {
67889
+ Args: {
67890
+ _minuten: number;
67891
+ };
67892
+ Returns: {
67893
+ package_id: string;
67894
+ priority: number;
67895
+ }[];
67896
+ };
67723
67897
  pick_active_printers: {
67724
67898
  Args: never;
67725
67899
  Returns: {
@@ -68770,6 +68944,18 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
68770
68944
  Args: never;
68771
68945
  Returns: string;
68772
68946
  };
68947
+ werkbon_totalen: {
68948
+ Args: {
68949
+ _werkbon_id: string;
68950
+ };
68951
+ Returns: {
68952
+ materials_cents: number;
68953
+ packages_cents: number;
68954
+ packages_minutes: number;
68955
+ total_cents: number;
68956
+ total_minutes: number;
68957
+ }[];
68958
+ };
68773
68959
  wo_create_from_source: {
68774
68960
  Args: {
68775
68961
  _payload?: import("../integrations/supabase/types").Json;
@@ -68808,7 +68994,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
68808
68994
  };
68809
68995
  CompositeTypes: { [_ in never]: never; };
68810
68996
  }, {
68811
- PostgrestVersion: "14.5";
68997
+ PostgrestVersion: "14.17";
68812
68998
  }>;
68813
68999
  userId: string;
68814
69000
  claims: import("@supabase/auth-js").User;
@@ -87440,6 +87626,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
87440
87626
  werkbon_package_items: {
87441
87627
  Row: {
87442
87628
  article_number: string | null;
87629
+ artikel_id: string | null;
87443
87630
  created_at: string;
87444
87631
  gtin: string | null;
87445
87632
  id: string;
@@ -87457,6 +87644,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
87457
87644
  };
87458
87645
  Insert: {
87459
87646
  article_number?: string | null;
87647
+ artikel_id?: string | null;
87460
87648
  created_at?: string;
87461
87649
  gtin?: string | null;
87462
87650
  id?: string;
@@ -87474,6 +87662,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
87474
87662
  };
87475
87663
  Update: {
87476
87664
  article_number?: string | null;
87665
+ artikel_id?: string | null;
87477
87666
  created_at?: string;
87478
87667
  gtin?: string | null;
87479
87668
  id?: string;
@@ -87490,6 +87679,12 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
87490
87679
  updated_at?: string;
87491
87680
  };
87492
87681
  Relationships: [{
87682
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
87683
+ columns: ["artikel_id"];
87684
+ isOneToOne: false;
87685
+ referencedRelation: "artikelen_cache";
87686
+ referencedColumns: ["id"];
87687
+ }, {
87493
87688
  foreignKeyName: "werkbon_package_items_package_id_fkey";
87494
87689
  columns: ["package_id"];
87495
87690
  isOneToOne: false;
@@ -88712,6 +88907,20 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
88712
88907
  referencedColumns: ["id"];
88713
88908
  }];
88714
88909
  };
88910
+ v_werkbon_totalen: {
88911
+ Row: {
88912
+ packages_cents: number | null;
88913
+ packages_minutes: number | null;
88914
+ werkbon_id: string | null;
88915
+ };
88916
+ Relationships: [{
88917
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
88918
+ columns: ["werkbon_id"];
88919
+ isOneToOne: false;
88920
+ referencedRelation: "werkbonnen";
88921
+ referencedColumns: ["id"];
88922
+ }];
88923
+ };
88715
88924
  };
88716
88925
  Functions: {
88717
88926
  _floriday_schedule_job: {
@@ -90259,6 +90468,14 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
90259
90468
  };
90260
90469
  Returns: import("../integrations/supabase/types").Json;
90261
90470
  };
90471
+ logistics_plan_block: {
90472
+ Args: {
90473
+ p_details?: import("../integrations/supabase/types").Json;
90474
+ p_order_ids: string[];
90475
+ p_reason: string;
90476
+ };
90477
+ Returns: number;
90478
+ };
90262
90479
  logistics_plan_buffer_sql: {
90263
90480
  Args: {
90264
90481
  p_buffer_id: string;
@@ -90640,6 +90857,25 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
90640
90857
  };
90641
90858
  Returns: string;
90642
90859
  };
90860
+ pakket_suggesties_voor_tekst: {
90861
+ Args: {
90862
+ _tekst: string;
90863
+ };
90864
+ Returns: {
90865
+ hit_type: string;
90866
+ package_id: string;
90867
+ priority: number;
90868
+ }[];
90869
+ };
90870
+ pakket_voor_reistijd: {
90871
+ Args: {
90872
+ _minuten: number;
90873
+ };
90874
+ Returns: {
90875
+ package_id: string;
90876
+ priority: number;
90877
+ }[];
90878
+ };
90643
90879
  pick_active_printers: {
90644
90880
  Args: never;
90645
90881
  Returns: {
@@ -91690,6 +91926,18 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
91690
91926
  Args: never;
91691
91927
  Returns: string;
91692
91928
  };
91929
+ werkbon_totalen: {
91930
+ Args: {
91931
+ _werkbon_id: string;
91932
+ };
91933
+ Returns: {
91934
+ materials_cents: number;
91935
+ packages_cents: number;
91936
+ packages_minutes: number;
91937
+ total_cents: number;
91938
+ total_minutes: number;
91939
+ }[];
91940
+ };
91693
91941
  wo_create_from_source: {
91694
91942
  Args: {
91695
91943
  _payload?: import("../integrations/supabase/types").Json;
@@ -91728,7 +91976,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
91728
91976
  };
91729
91977
  CompositeTypes: { [_ in never]: never; };
91730
91978
  }, {
91731
- PostgrestVersion: "14.5";
91979
+ PostgrestVersion: "14.17";
91732
91980
  }>;
91733
91981
  userId: string;
91734
91982
  claims: import("@supabase/auth-js").User;
@@ -110369,6 +110617,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
110369
110617
  werkbon_package_items: {
110370
110618
  Row: {
110371
110619
  article_number: string | null;
110620
+ artikel_id: string | null;
110372
110621
  created_at: string;
110373
110622
  gtin: string | null;
110374
110623
  id: string;
@@ -110386,6 +110635,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
110386
110635
  };
110387
110636
  Insert: {
110388
110637
  article_number?: string | null;
110638
+ artikel_id?: string | null;
110389
110639
  created_at?: string;
110390
110640
  gtin?: string | null;
110391
110641
  id?: string;
@@ -110403,6 +110653,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
110403
110653
  };
110404
110654
  Update: {
110405
110655
  article_number?: string | null;
110656
+ artikel_id?: string | null;
110406
110657
  created_at?: string;
110407
110658
  gtin?: string | null;
110408
110659
  id?: string;
@@ -110419,6 +110670,12 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
110419
110670
  updated_at?: string;
110420
110671
  };
110421
110672
  Relationships: [{
110673
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
110674
+ columns: ["artikel_id"];
110675
+ isOneToOne: false;
110676
+ referencedRelation: "artikelen_cache";
110677
+ referencedColumns: ["id"];
110678
+ }, {
110422
110679
  foreignKeyName: "werkbon_package_items_package_id_fkey";
110423
110680
  columns: ["package_id"];
110424
110681
  isOneToOne: false;
@@ -111641,6 +111898,20 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
111641
111898
  referencedColumns: ["id"];
111642
111899
  }];
111643
111900
  };
111901
+ v_werkbon_totalen: {
111902
+ Row: {
111903
+ packages_cents: number | null;
111904
+ packages_minutes: number | null;
111905
+ werkbon_id: string | null;
111906
+ };
111907
+ Relationships: [{
111908
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
111909
+ columns: ["werkbon_id"];
111910
+ isOneToOne: false;
111911
+ referencedRelation: "werkbonnen";
111912
+ referencedColumns: ["id"];
111913
+ }];
111914
+ };
111644
111915
  };
111645
111916
  Functions: {
111646
111917
  _floriday_schedule_job: {
@@ -113188,6 +113459,14 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
113188
113459
  };
113189
113460
  Returns: import("../integrations/supabase/types").Json;
113190
113461
  };
113462
+ logistics_plan_block: {
113463
+ Args: {
113464
+ p_details?: import("../integrations/supabase/types").Json;
113465
+ p_order_ids: string[];
113466
+ p_reason: string;
113467
+ };
113468
+ Returns: number;
113469
+ };
113191
113470
  logistics_plan_buffer_sql: {
113192
113471
  Args: {
113193
113472
  p_buffer_id: string;
@@ -113569,6 +113848,25 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
113569
113848
  };
113570
113849
  Returns: string;
113571
113850
  };
113851
+ pakket_suggesties_voor_tekst: {
113852
+ Args: {
113853
+ _tekst: string;
113854
+ };
113855
+ Returns: {
113856
+ hit_type: string;
113857
+ package_id: string;
113858
+ priority: number;
113859
+ }[];
113860
+ };
113861
+ pakket_voor_reistijd: {
113862
+ Args: {
113863
+ _minuten: number;
113864
+ };
113865
+ Returns: {
113866
+ package_id: string;
113867
+ priority: number;
113868
+ }[];
113869
+ };
113572
113870
  pick_active_printers: {
113573
113871
  Args: never;
113574
113872
  Returns: {
@@ -114619,6 +114917,18 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
114619
114917
  Args: never;
114620
114918
  Returns: string;
114621
114919
  };
114920
+ werkbon_totalen: {
114921
+ Args: {
114922
+ _werkbon_id: string;
114923
+ };
114924
+ Returns: {
114925
+ materials_cents: number;
114926
+ packages_cents: number;
114927
+ packages_minutes: number;
114928
+ total_cents: number;
114929
+ total_minutes: number;
114930
+ }[];
114931
+ };
114622
114932
  wo_create_from_source: {
114623
114933
  Args: {
114624
114934
  _payload?: import("../integrations/supabase/types").Json;
@@ -114657,7 +114967,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
114657
114967
  };
114658
114968
  CompositeTypes: { [_ in never]: never; };
114659
114969
  }, {
114660
- PostgrestVersion: "14.5";
114970
+ PostgrestVersion: "14.17";
114661
114971
  }>;
114662
114972
  userId: string;
114663
114973
  claims: import("@supabase/auth-js").User;
@@ -133293,6 +133603,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
133293
133603
  werkbon_package_items: {
133294
133604
  Row: {
133295
133605
  article_number: string | null;
133606
+ artikel_id: string | null;
133296
133607
  created_at: string;
133297
133608
  gtin: string | null;
133298
133609
  id: string;
@@ -133310,6 +133621,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
133310
133621
  };
133311
133622
  Insert: {
133312
133623
  article_number?: string | null;
133624
+ artikel_id?: string | null;
133313
133625
  created_at?: string;
133314
133626
  gtin?: string | null;
133315
133627
  id?: string;
@@ -133327,6 +133639,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
133327
133639
  };
133328
133640
  Update: {
133329
133641
  article_number?: string | null;
133642
+ artikel_id?: string | null;
133330
133643
  created_at?: string;
133331
133644
  gtin?: string | null;
133332
133645
  id?: string;
@@ -133343,6 +133656,12 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
133343
133656
  updated_at?: string;
133344
133657
  };
133345
133658
  Relationships: [{
133659
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
133660
+ columns: ["artikel_id"];
133661
+ isOneToOne: false;
133662
+ referencedRelation: "artikelen_cache";
133663
+ referencedColumns: ["id"];
133664
+ }, {
133346
133665
  foreignKeyName: "werkbon_package_items_package_id_fkey";
133347
133666
  columns: ["package_id"];
133348
133667
  isOneToOne: false;
@@ -134565,6 +134884,20 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
134565
134884
  referencedColumns: ["id"];
134566
134885
  }];
134567
134886
  };
134887
+ v_werkbon_totalen: {
134888
+ Row: {
134889
+ packages_cents: number | null;
134890
+ packages_minutes: number | null;
134891
+ werkbon_id: string | null;
134892
+ };
134893
+ Relationships: [{
134894
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
134895
+ columns: ["werkbon_id"];
134896
+ isOneToOne: false;
134897
+ referencedRelation: "werkbonnen";
134898
+ referencedColumns: ["id"];
134899
+ }];
134900
+ };
134568
134901
  };
134569
134902
  Functions: {
134570
134903
  _floriday_schedule_job: {
@@ -136112,6 +136445,14 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
136112
136445
  };
136113
136446
  Returns: import("../integrations/supabase/types").Json;
136114
136447
  };
136448
+ logistics_plan_block: {
136449
+ Args: {
136450
+ p_details?: import("../integrations/supabase/types").Json;
136451
+ p_order_ids: string[];
136452
+ p_reason: string;
136453
+ };
136454
+ Returns: number;
136455
+ };
136115
136456
  logistics_plan_buffer_sql: {
136116
136457
  Args: {
136117
136458
  p_buffer_id: string;
@@ -136493,6 +136834,25 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
136493
136834
  };
136494
136835
  Returns: string;
136495
136836
  };
136837
+ pakket_suggesties_voor_tekst: {
136838
+ Args: {
136839
+ _tekst: string;
136840
+ };
136841
+ Returns: {
136842
+ hit_type: string;
136843
+ package_id: string;
136844
+ priority: number;
136845
+ }[];
136846
+ };
136847
+ pakket_voor_reistijd: {
136848
+ Args: {
136849
+ _minuten: number;
136850
+ };
136851
+ Returns: {
136852
+ package_id: string;
136853
+ priority: number;
136854
+ }[];
136855
+ };
136496
136856
  pick_active_printers: {
136497
136857
  Args: never;
136498
136858
  Returns: {
@@ -137543,6 +137903,18 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
137543
137903
  Args: never;
137544
137904
  Returns: string;
137545
137905
  };
137906
+ werkbon_totalen: {
137907
+ Args: {
137908
+ _werkbon_id: string;
137909
+ };
137910
+ Returns: {
137911
+ materials_cents: number;
137912
+ packages_cents: number;
137913
+ packages_minutes: number;
137914
+ total_cents: number;
137915
+ total_minutes: number;
137916
+ }[];
137917
+ };
137546
137918
  wo_create_from_source: {
137547
137919
  Args: {
137548
137920
  _payload?: import("../integrations/supabase/types").Json;
@@ -137581,7 +137953,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
137581
137953
  };
137582
137954
  CompositeTypes: { [_ in never]: never; };
137583
137955
  }, {
137584
- PostgrestVersion: "14.5";
137956
+ PostgrestVersion: "14.17";
137585
137957
  }>;
137586
137958
  userId: string;
137587
137959
  claims: import("@supabase/auth-js").User;
@@ -156207,6 +156579,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
156207
156579
  werkbon_package_items: {
156208
156580
  Row: {
156209
156581
  article_number: string | null;
156582
+ artikel_id: string | null;
156210
156583
  created_at: string;
156211
156584
  gtin: string | null;
156212
156585
  id: string;
@@ -156224,6 +156597,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
156224
156597
  };
156225
156598
  Insert: {
156226
156599
  article_number?: string | null;
156600
+ artikel_id?: string | null;
156227
156601
  created_at?: string;
156228
156602
  gtin?: string | null;
156229
156603
  id?: string;
@@ -156241,6 +156615,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
156241
156615
  };
156242
156616
  Update: {
156243
156617
  article_number?: string | null;
156618
+ artikel_id?: string | null;
156244
156619
  created_at?: string;
156245
156620
  gtin?: string | null;
156246
156621
  id?: string;
@@ -156257,6 +156632,12 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
156257
156632
  updated_at?: string;
156258
156633
  };
156259
156634
  Relationships: [{
156635
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
156636
+ columns: ["artikel_id"];
156637
+ isOneToOne: false;
156638
+ referencedRelation: "artikelen_cache";
156639
+ referencedColumns: ["id"];
156640
+ }, {
156260
156641
  foreignKeyName: "werkbon_package_items_package_id_fkey";
156261
156642
  columns: ["package_id"];
156262
156643
  isOneToOne: false;
@@ -157479,6 +157860,20 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
157479
157860
  referencedColumns: ["id"];
157480
157861
  }];
157481
157862
  };
157863
+ v_werkbon_totalen: {
157864
+ Row: {
157865
+ packages_cents: number | null;
157866
+ packages_minutes: number | null;
157867
+ werkbon_id: string | null;
157868
+ };
157869
+ Relationships: [{
157870
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
157871
+ columns: ["werkbon_id"];
157872
+ isOneToOne: false;
157873
+ referencedRelation: "werkbonnen";
157874
+ referencedColumns: ["id"];
157875
+ }];
157876
+ };
157482
157877
  };
157483
157878
  Functions: {
157484
157879
  _floriday_schedule_job: {
@@ -159026,6 +159421,14 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
159026
159421
  };
159027
159422
  Returns: import("../integrations/supabase/types").Json;
159028
159423
  };
159424
+ logistics_plan_block: {
159425
+ Args: {
159426
+ p_details?: import("../integrations/supabase/types").Json;
159427
+ p_order_ids: string[];
159428
+ p_reason: string;
159429
+ };
159430
+ Returns: number;
159431
+ };
159029
159432
  logistics_plan_buffer_sql: {
159030
159433
  Args: {
159031
159434
  p_buffer_id: string;
@@ -159407,6 +159810,25 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
159407
159810
  };
159408
159811
  Returns: string;
159409
159812
  };
159813
+ pakket_suggesties_voor_tekst: {
159814
+ Args: {
159815
+ _tekst: string;
159816
+ };
159817
+ Returns: {
159818
+ hit_type: string;
159819
+ package_id: string;
159820
+ priority: number;
159821
+ }[];
159822
+ };
159823
+ pakket_voor_reistijd: {
159824
+ Args: {
159825
+ _minuten: number;
159826
+ };
159827
+ Returns: {
159828
+ package_id: string;
159829
+ priority: number;
159830
+ }[];
159831
+ };
159410
159832
  pick_active_printers: {
159411
159833
  Args: never;
159412
159834
  Returns: {
@@ -160457,6 +160879,18 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
160457
160879
  Args: never;
160458
160880
  Returns: string;
160459
160881
  };
160882
+ werkbon_totalen: {
160883
+ Args: {
160884
+ _werkbon_id: string;
160885
+ };
160886
+ Returns: {
160887
+ materials_cents: number;
160888
+ packages_cents: number;
160889
+ packages_minutes: number;
160890
+ total_cents: number;
160891
+ total_minutes: number;
160892
+ }[];
160893
+ };
160460
160894
  wo_create_from_source: {
160461
160895
  Args: {
160462
160896
  _payload?: import("../integrations/supabase/types").Json;
@@ -160495,7 +160929,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
160495
160929
  };
160496
160930
  CompositeTypes: { [_ in never]: never; };
160497
160931
  }, {
160498
- PostgrestVersion: "14.5";
160932
+ PostgrestVersion: "14.17";
160499
160933
  }>;
160500
160934
  userId: string;
160501
160935
  claims: import("@supabase/auth-js").User;
@@ -179130,6 +179564,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
179130
179564
  werkbon_package_items: {
179131
179565
  Row: {
179132
179566
  article_number: string | null;
179567
+ artikel_id: string | null;
179133
179568
  created_at: string;
179134
179569
  gtin: string | null;
179135
179570
  id: string;
@@ -179147,6 +179582,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
179147
179582
  };
179148
179583
  Insert: {
179149
179584
  article_number?: string | null;
179585
+ artikel_id?: string | null;
179150
179586
  created_at?: string;
179151
179587
  gtin?: string | null;
179152
179588
  id?: string;
@@ -179164,6 +179600,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
179164
179600
  };
179165
179601
  Update: {
179166
179602
  article_number?: string | null;
179603
+ artikel_id?: string | null;
179167
179604
  created_at?: string;
179168
179605
  gtin?: string | null;
179169
179606
  id?: string;
@@ -179180,6 +179617,12 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
179180
179617
  updated_at?: string;
179181
179618
  };
179182
179619
  Relationships: [{
179620
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
179621
+ columns: ["artikel_id"];
179622
+ isOneToOne: false;
179623
+ referencedRelation: "artikelen_cache";
179624
+ referencedColumns: ["id"];
179625
+ }, {
179183
179626
  foreignKeyName: "werkbon_package_items_package_id_fkey";
179184
179627
  columns: ["package_id"];
179185
179628
  isOneToOne: false;
@@ -180402,6 +180845,20 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
180402
180845
  referencedColumns: ["id"];
180403
180846
  }];
180404
180847
  };
180848
+ v_werkbon_totalen: {
180849
+ Row: {
180850
+ packages_cents: number | null;
180851
+ packages_minutes: number | null;
180852
+ werkbon_id: string | null;
180853
+ };
180854
+ Relationships: [{
180855
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
180856
+ columns: ["werkbon_id"];
180857
+ isOneToOne: false;
180858
+ referencedRelation: "werkbonnen";
180859
+ referencedColumns: ["id"];
180860
+ }];
180861
+ };
180405
180862
  };
180406
180863
  Functions: {
180407
180864
  _floriday_schedule_job: {
@@ -181949,6 +182406,14 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
181949
182406
  };
181950
182407
  Returns: import("../integrations/supabase/types").Json;
181951
182408
  };
182409
+ logistics_plan_block: {
182410
+ Args: {
182411
+ p_details?: import("../integrations/supabase/types").Json;
182412
+ p_order_ids: string[];
182413
+ p_reason: string;
182414
+ };
182415
+ Returns: number;
182416
+ };
181952
182417
  logistics_plan_buffer_sql: {
181953
182418
  Args: {
181954
182419
  p_buffer_id: string;
@@ -182330,6 +182795,25 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
182330
182795
  };
182331
182796
  Returns: string;
182332
182797
  };
182798
+ pakket_suggesties_voor_tekst: {
182799
+ Args: {
182800
+ _tekst: string;
182801
+ };
182802
+ Returns: {
182803
+ hit_type: string;
182804
+ package_id: string;
182805
+ priority: number;
182806
+ }[];
182807
+ };
182808
+ pakket_voor_reistijd: {
182809
+ Args: {
182810
+ _minuten: number;
182811
+ };
182812
+ Returns: {
182813
+ package_id: string;
182814
+ priority: number;
182815
+ }[];
182816
+ };
182333
182817
  pick_active_printers: {
182334
182818
  Args: never;
182335
182819
  Returns: {
@@ -183380,6 +183864,18 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
183380
183864
  Args: never;
183381
183865
  Returns: string;
183382
183866
  };
183867
+ werkbon_totalen: {
183868
+ Args: {
183869
+ _werkbon_id: string;
183870
+ };
183871
+ Returns: {
183872
+ materials_cents: number;
183873
+ packages_cents: number;
183874
+ packages_minutes: number;
183875
+ total_cents: number;
183876
+ total_minutes: number;
183877
+ }[];
183878
+ };
183383
183879
  wo_create_from_source: {
183384
183880
  Args: {
183385
183881
  _payload?: import("../integrations/supabase/types").Json;
@@ -183418,7 +183914,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
183418
183914
  };
183419
183915
  CompositeTypes: { [_ in never]: never; };
183420
183916
  }, {
183421
- PostgrestVersion: "14.5";
183917
+ PostgrestVersion: "14.17";
183422
183918
  }>;
183423
183919
  userId: string;
183424
183920
  claims: import("@supabase/auth-js").User;
@@ -202048,6 +202544,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
202048
202544
  werkbon_package_items: {
202049
202545
  Row: {
202050
202546
  article_number: string | null;
202547
+ artikel_id: string | null;
202051
202548
  created_at: string;
202052
202549
  gtin: string | null;
202053
202550
  id: string;
@@ -202065,6 +202562,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
202065
202562
  };
202066
202563
  Insert: {
202067
202564
  article_number?: string | null;
202565
+ artikel_id?: string | null;
202068
202566
  created_at?: string;
202069
202567
  gtin?: string | null;
202070
202568
  id?: string;
@@ -202082,6 +202580,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
202082
202580
  };
202083
202581
  Update: {
202084
202582
  article_number?: string | null;
202583
+ artikel_id?: string | null;
202085
202584
  created_at?: string;
202086
202585
  gtin?: string | null;
202087
202586
  id?: string;
@@ -202098,6 +202597,12 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
202098
202597
  updated_at?: string;
202099
202598
  };
202100
202599
  Relationships: [{
202600
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
202601
+ columns: ["artikel_id"];
202602
+ isOneToOne: false;
202603
+ referencedRelation: "artikelen_cache";
202604
+ referencedColumns: ["id"];
202605
+ }, {
202101
202606
  foreignKeyName: "werkbon_package_items_package_id_fkey";
202102
202607
  columns: ["package_id"];
202103
202608
  isOneToOne: false;
@@ -203320,6 +203825,20 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
203320
203825
  referencedColumns: ["id"];
203321
203826
  }];
203322
203827
  };
203828
+ v_werkbon_totalen: {
203829
+ Row: {
203830
+ packages_cents: number | null;
203831
+ packages_minutes: number | null;
203832
+ werkbon_id: string | null;
203833
+ };
203834
+ Relationships: [{
203835
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
203836
+ columns: ["werkbon_id"];
203837
+ isOneToOne: false;
203838
+ referencedRelation: "werkbonnen";
203839
+ referencedColumns: ["id"];
203840
+ }];
203841
+ };
203323
203842
  };
203324
203843
  Functions: {
203325
203844
  _floriday_schedule_job: {
@@ -204867,6 +205386,14 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
204867
205386
  };
204868
205387
  Returns: import("../integrations/supabase/types").Json;
204869
205388
  };
205389
+ logistics_plan_block: {
205390
+ Args: {
205391
+ p_details?: import("../integrations/supabase/types").Json;
205392
+ p_order_ids: string[];
205393
+ p_reason: string;
205394
+ };
205395
+ Returns: number;
205396
+ };
204870
205397
  logistics_plan_buffer_sql: {
204871
205398
  Args: {
204872
205399
  p_buffer_id: string;
@@ -205248,6 +205775,25 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
205248
205775
  };
205249
205776
  Returns: string;
205250
205777
  };
205778
+ pakket_suggesties_voor_tekst: {
205779
+ Args: {
205780
+ _tekst: string;
205781
+ };
205782
+ Returns: {
205783
+ hit_type: string;
205784
+ package_id: string;
205785
+ priority: number;
205786
+ }[];
205787
+ };
205788
+ pakket_voor_reistijd: {
205789
+ Args: {
205790
+ _minuten: number;
205791
+ };
205792
+ Returns: {
205793
+ package_id: string;
205794
+ priority: number;
205795
+ }[];
205796
+ };
205251
205797
  pick_active_printers: {
205252
205798
  Args: never;
205253
205799
  Returns: {
@@ -206298,6 +206844,18 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
206298
206844
  Args: never;
206299
206845
  Returns: string;
206300
206846
  };
206847
+ werkbon_totalen: {
206848
+ Args: {
206849
+ _werkbon_id: string;
206850
+ };
206851
+ Returns: {
206852
+ materials_cents: number;
206853
+ packages_cents: number;
206854
+ packages_minutes: number;
206855
+ total_cents: number;
206856
+ total_minutes: number;
206857
+ }[];
206858
+ };
206301
206859
  wo_create_from_source: {
206302
206860
  Args: {
206303
206861
  _payload?: import("../integrations/supabase/types").Json;
@@ -206336,7 +206894,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
206336
206894
  };
206337
206895
  CompositeTypes: { [_ in never]: never; };
206338
206896
  }, {
206339
- PostgrestVersion: "14.5";
206897
+ PostgrestVersion: "14.17";
206340
206898
  }>;
206341
206899
  userId: string;
206342
206900
  claims: import("@supabase/auth-js").User;
@@ -224966,6 +225524,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
224966
225524
  werkbon_package_items: {
224967
225525
  Row: {
224968
225526
  article_number: string | null;
225527
+ artikel_id: string | null;
224969
225528
  created_at: string;
224970
225529
  gtin: string | null;
224971
225530
  id: string;
@@ -224983,6 +225542,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
224983
225542
  };
224984
225543
  Insert: {
224985
225544
  article_number?: string | null;
225545
+ artikel_id?: string | null;
224986
225546
  created_at?: string;
224987
225547
  gtin?: string | null;
224988
225548
  id?: string;
@@ -225000,6 +225560,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
225000
225560
  };
225001
225561
  Update: {
225002
225562
  article_number?: string | null;
225563
+ artikel_id?: string | null;
225003
225564
  created_at?: string;
225004
225565
  gtin?: string | null;
225005
225566
  id?: string;
@@ -225016,6 +225577,12 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
225016
225577
  updated_at?: string;
225017
225578
  };
225018
225579
  Relationships: [{
225580
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
225581
+ columns: ["artikel_id"];
225582
+ isOneToOne: false;
225583
+ referencedRelation: "artikelen_cache";
225584
+ referencedColumns: ["id"];
225585
+ }, {
225019
225586
  foreignKeyName: "werkbon_package_items_package_id_fkey";
225020
225587
  columns: ["package_id"];
225021
225588
  isOneToOne: false;
@@ -226238,6 +226805,20 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
226238
226805
  referencedColumns: ["id"];
226239
226806
  }];
226240
226807
  };
226808
+ v_werkbon_totalen: {
226809
+ Row: {
226810
+ packages_cents: number | null;
226811
+ packages_minutes: number | null;
226812
+ werkbon_id: string | null;
226813
+ };
226814
+ Relationships: [{
226815
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
226816
+ columns: ["werkbon_id"];
226817
+ isOneToOne: false;
226818
+ referencedRelation: "werkbonnen";
226819
+ referencedColumns: ["id"];
226820
+ }];
226821
+ };
226241
226822
  };
226242
226823
  Functions: {
226243
226824
  _floriday_schedule_job: {
@@ -227785,6 +228366,14 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
227785
228366
  };
227786
228367
  Returns: import("../integrations/supabase/types").Json;
227787
228368
  };
228369
+ logistics_plan_block: {
228370
+ Args: {
228371
+ p_details?: import("../integrations/supabase/types").Json;
228372
+ p_order_ids: string[];
228373
+ p_reason: string;
228374
+ };
228375
+ Returns: number;
228376
+ };
227788
228377
  logistics_plan_buffer_sql: {
227789
228378
  Args: {
227790
228379
  p_buffer_id: string;
@@ -228166,6 +228755,25 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
228166
228755
  };
228167
228756
  Returns: string;
228168
228757
  };
228758
+ pakket_suggesties_voor_tekst: {
228759
+ Args: {
228760
+ _tekst: string;
228761
+ };
228762
+ Returns: {
228763
+ hit_type: string;
228764
+ package_id: string;
228765
+ priority: number;
228766
+ }[];
228767
+ };
228768
+ pakket_voor_reistijd: {
228769
+ Args: {
228770
+ _minuten: number;
228771
+ };
228772
+ Returns: {
228773
+ package_id: string;
228774
+ priority: number;
228775
+ }[];
228776
+ };
228169
228777
  pick_active_printers: {
228170
228778
  Args: never;
228171
228779
  Returns: {
@@ -229216,6 +229824,18 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
229216
229824
  Args: never;
229217
229825
  Returns: string;
229218
229826
  };
229827
+ werkbon_totalen: {
229828
+ Args: {
229829
+ _werkbon_id: string;
229830
+ };
229831
+ Returns: {
229832
+ materials_cents: number;
229833
+ packages_cents: number;
229834
+ packages_minutes: number;
229835
+ total_cents: number;
229836
+ total_minutes: number;
229837
+ }[];
229838
+ };
229219
229839
  wo_create_from_source: {
229220
229840
  Args: {
229221
229841
  _payload?: import("../integrations/supabase/types").Json;
@@ -229254,7 +229874,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
229254
229874
  };
229255
229875
  CompositeTypes: { [_ in never]: never; };
229256
229876
  }, {
229257
- PostgrestVersion: "14.5";
229877
+ PostgrestVersion: "14.17";
229258
229878
  }>;
229259
229879
  userId: string;
229260
229880
  claims: import("@supabase/auth-js").User;
@@ -247888,6 +248508,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
247888
248508
  werkbon_package_items: {
247889
248509
  Row: {
247890
248510
  article_number: string | null;
248511
+ artikel_id: string | null;
247891
248512
  created_at: string;
247892
248513
  gtin: string | null;
247893
248514
  id: string;
@@ -247905,6 +248526,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
247905
248526
  };
247906
248527
  Insert: {
247907
248528
  article_number?: string | null;
248529
+ artikel_id?: string | null;
247908
248530
  created_at?: string;
247909
248531
  gtin?: string | null;
247910
248532
  id?: string;
@@ -247922,6 +248544,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
247922
248544
  };
247923
248545
  Update: {
247924
248546
  article_number?: string | null;
248547
+ artikel_id?: string | null;
247925
248548
  created_at?: string;
247926
248549
  gtin?: string | null;
247927
248550
  id?: string;
@@ -247938,6 +248561,12 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
247938
248561
  updated_at?: string;
247939
248562
  };
247940
248563
  Relationships: [{
248564
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
248565
+ columns: ["artikel_id"];
248566
+ isOneToOne: false;
248567
+ referencedRelation: "artikelen_cache";
248568
+ referencedColumns: ["id"];
248569
+ }, {
247941
248570
  foreignKeyName: "werkbon_package_items_package_id_fkey";
247942
248571
  columns: ["package_id"];
247943
248572
  isOneToOne: false;
@@ -249160,6 +249789,20 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
249160
249789
  referencedColumns: ["id"];
249161
249790
  }];
249162
249791
  };
249792
+ v_werkbon_totalen: {
249793
+ Row: {
249794
+ packages_cents: number | null;
249795
+ packages_minutes: number | null;
249796
+ werkbon_id: string | null;
249797
+ };
249798
+ Relationships: [{
249799
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
249800
+ columns: ["werkbon_id"];
249801
+ isOneToOne: false;
249802
+ referencedRelation: "werkbonnen";
249803
+ referencedColumns: ["id"];
249804
+ }];
249805
+ };
249163
249806
  };
249164
249807
  Functions: {
249165
249808
  _floriday_schedule_job: {
@@ -250707,6 +251350,14 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
250707
251350
  };
250708
251351
  Returns: import("../integrations/supabase/types").Json;
250709
251352
  };
251353
+ logistics_plan_block: {
251354
+ Args: {
251355
+ p_details?: import("../integrations/supabase/types").Json;
251356
+ p_order_ids: string[];
251357
+ p_reason: string;
251358
+ };
251359
+ Returns: number;
251360
+ };
250710
251361
  logistics_plan_buffer_sql: {
250711
251362
  Args: {
250712
251363
  p_buffer_id: string;
@@ -251088,6 +251739,25 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
251088
251739
  };
251089
251740
  Returns: string;
251090
251741
  };
251742
+ pakket_suggesties_voor_tekst: {
251743
+ Args: {
251744
+ _tekst: string;
251745
+ };
251746
+ Returns: {
251747
+ hit_type: string;
251748
+ package_id: string;
251749
+ priority: number;
251750
+ }[];
251751
+ };
251752
+ pakket_voor_reistijd: {
251753
+ Args: {
251754
+ _minuten: number;
251755
+ };
251756
+ Returns: {
251757
+ package_id: string;
251758
+ priority: number;
251759
+ }[];
251760
+ };
251091
251761
  pick_active_printers: {
251092
251762
  Args: never;
251093
251763
  Returns: {
@@ -252138,6 +252808,18 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
252138
252808
  Args: never;
252139
252809
  Returns: string;
252140
252810
  };
252811
+ werkbon_totalen: {
252812
+ Args: {
252813
+ _werkbon_id: string;
252814
+ };
252815
+ Returns: {
252816
+ materials_cents: number;
252817
+ packages_cents: number;
252818
+ packages_minutes: number;
252819
+ total_cents: number;
252820
+ total_minutes: number;
252821
+ }[];
252822
+ };
252141
252823
  wo_create_from_source: {
252142
252824
  Args: {
252143
252825
  _payload?: import("../integrations/supabase/types").Json;
@@ -252176,7 +252858,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
252176
252858
  };
252177
252859
  CompositeTypes: { [_ in never]: never; };
252178
252860
  }, {
252179
- PostgrestVersion: "14.5";
252861
+ PostgrestVersion: "14.17";
252180
252862
  }>;
252181
252863
  userId: string;
252182
252864
  claims: import("@supabase/auth-js").User;