@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
@@ -18620,6 +18620,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18620
18620
  werkbon_package_items: {
18621
18621
  Row: {
18622
18622
  article_number: string | null;
18623
+ artikel_id: string | null;
18623
18624
  created_at: string;
18624
18625
  gtin: string | null;
18625
18626
  id: string;
@@ -18637,6 +18638,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18637
18638
  };
18638
18639
  Insert: {
18639
18640
  article_number?: string | null;
18641
+ artikel_id?: string | null;
18640
18642
  created_at?: string;
18641
18643
  gtin?: string | null;
18642
18644
  id?: string;
@@ -18654,6 +18656,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18654
18656
  };
18655
18657
  Update: {
18656
18658
  article_number?: string | null;
18659
+ artikel_id?: string | null;
18657
18660
  created_at?: string;
18658
18661
  gtin?: string | null;
18659
18662
  id?: string;
@@ -18670,6 +18673,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18670
18673
  updated_at?: string;
18671
18674
  };
18672
18675
  Relationships: [{
18676
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18677
+ columns: ["artikel_id"];
18678
+ isOneToOne: false;
18679
+ referencedRelation: "artikelen_cache";
18680
+ referencedColumns: ["id"];
18681
+ }, {
18673
18682
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18674
18683
  columns: ["package_id"];
18675
18684
  isOneToOne: false;
@@ -19892,6 +19901,20 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
19892
19901
  referencedColumns: ["id"];
19893
19902
  }];
19894
19903
  };
19904
+ v_werkbon_totalen: {
19905
+ Row: {
19906
+ packages_cents: number | null;
19907
+ packages_minutes: number | null;
19908
+ werkbon_id: string | null;
19909
+ };
19910
+ Relationships: [{
19911
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19912
+ columns: ["werkbon_id"];
19913
+ isOneToOne: false;
19914
+ referencedRelation: "werkbonnen";
19915
+ referencedColumns: ["id"];
19916
+ }];
19917
+ };
19895
19918
  };
19896
19919
  Functions: {
19897
19920
  _floriday_schedule_job: {
@@ -21439,6 +21462,14 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
21439
21462
  };
21440
21463
  Returns: import("../integrations/supabase/types").Json;
21441
21464
  };
21465
+ logistics_plan_block: {
21466
+ Args: {
21467
+ p_details?: import("../integrations/supabase/types").Json;
21468
+ p_order_ids: string[];
21469
+ p_reason: string;
21470
+ };
21471
+ Returns: number;
21472
+ };
21442
21473
  logistics_plan_buffer_sql: {
21443
21474
  Args: {
21444
21475
  p_buffer_id: string;
@@ -21820,6 +21851,25 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
21820
21851
  };
21821
21852
  Returns: string;
21822
21853
  };
21854
+ pakket_suggesties_voor_tekst: {
21855
+ Args: {
21856
+ _tekst: string;
21857
+ };
21858
+ Returns: {
21859
+ hit_type: string;
21860
+ package_id: string;
21861
+ priority: number;
21862
+ }[];
21863
+ };
21864
+ pakket_voor_reistijd: {
21865
+ Args: {
21866
+ _minuten: number;
21867
+ };
21868
+ Returns: {
21869
+ package_id: string;
21870
+ priority: number;
21871
+ }[];
21872
+ };
21823
21873
  pick_active_printers: {
21824
21874
  Args: never;
21825
21875
  Returns: {
@@ -22870,6 +22920,18 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
22870
22920
  Args: never;
22871
22921
  Returns: string;
22872
22922
  };
22923
+ werkbon_totalen: {
22924
+ Args: {
22925
+ _werkbon_id: string;
22926
+ };
22927
+ Returns: {
22928
+ materials_cents: number;
22929
+ packages_cents: number;
22930
+ packages_minutes: number;
22931
+ total_cents: number;
22932
+ total_minutes: number;
22933
+ }[];
22934
+ };
22873
22935
  wo_create_from_source: {
22874
22936
  Args: {
22875
22937
  _payload?: import("../integrations/supabase/types").Json;
@@ -22908,7 +22970,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
22908
22970
  };
22909
22971
  CompositeTypes: { [_ in never]: never; };
22910
22972
  }, {
22911
- PostgrestVersion: "14.5";
22973
+ PostgrestVersion: "14.17";
22912
22974
  }>;
22913
22975
  userId: string;
22914
22976
  claims: import("@supabase/auth-js").User;
@@ -41546,6 +41608,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41546
41608
  werkbon_package_items: {
41547
41609
  Row: {
41548
41610
  article_number: string | null;
41611
+ artikel_id: string | null;
41549
41612
  created_at: string;
41550
41613
  gtin: string | null;
41551
41614
  id: string;
@@ -41563,6 +41626,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41563
41626
  };
41564
41627
  Insert: {
41565
41628
  article_number?: string | null;
41629
+ artikel_id?: string | null;
41566
41630
  created_at?: string;
41567
41631
  gtin?: string | null;
41568
41632
  id?: string;
@@ -41580,6 +41644,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41580
41644
  };
41581
41645
  Update: {
41582
41646
  article_number?: string | null;
41647
+ artikel_id?: string | null;
41583
41648
  created_at?: string;
41584
41649
  gtin?: string | null;
41585
41650
  id?: string;
@@ -41596,6 +41661,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41596
41661
  updated_at?: string;
41597
41662
  };
41598
41663
  Relationships: [{
41664
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
41665
+ columns: ["artikel_id"];
41666
+ isOneToOne: false;
41667
+ referencedRelation: "artikelen_cache";
41668
+ referencedColumns: ["id"];
41669
+ }, {
41599
41670
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41600
41671
  columns: ["package_id"];
41601
41672
  isOneToOne: false;
@@ -42818,6 +42889,20 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
42818
42889
  referencedColumns: ["id"];
42819
42890
  }];
42820
42891
  };
42892
+ v_werkbon_totalen: {
42893
+ Row: {
42894
+ packages_cents: number | null;
42895
+ packages_minutes: number | null;
42896
+ werkbon_id: string | null;
42897
+ };
42898
+ Relationships: [{
42899
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
42900
+ columns: ["werkbon_id"];
42901
+ isOneToOne: false;
42902
+ referencedRelation: "werkbonnen";
42903
+ referencedColumns: ["id"];
42904
+ }];
42905
+ };
42821
42906
  };
42822
42907
  Functions: {
42823
42908
  _floriday_schedule_job: {
@@ -44365,6 +44450,14 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
44365
44450
  };
44366
44451
  Returns: import("../integrations/supabase/types").Json;
44367
44452
  };
44453
+ logistics_plan_block: {
44454
+ Args: {
44455
+ p_details?: import("../integrations/supabase/types").Json;
44456
+ p_order_ids: string[];
44457
+ p_reason: string;
44458
+ };
44459
+ Returns: number;
44460
+ };
44368
44461
  logistics_plan_buffer_sql: {
44369
44462
  Args: {
44370
44463
  p_buffer_id: string;
@@ -44746,6 +44839,25 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
44746
44839
  };
44747
44840
  Returns: string;
44748
44841
  };
44842
+ pakket_suggesties_voor_tekst: {
44843
+ Args: {
44844
+ _tekst: string;
44845
+ };
44846
+ Returns: {
44847
+ hit_type: string;
44848
+ package_id: string;
44849
+ priority: number;
44850
+ }[];
44851
+ };
44852
+ pakket_voor_reistijd: {
44853
+ Args: {
44854
+ _minuten: number;
44855
+ };
44856
+ Returns: {
44857
+ package_id: string;
44858
+ priority: number;
44859
+ }[];
44860
+ };
44749
44861
  pick_active_printers: {
44750
44862
  Args: never;
44751
44863
  Returns: {
@@ -45796,6 +45908,18 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
45796
45908
  Args: never;
45797
45909
  Returns: string;
45798
45910
  };
45911
+ werkbon_totalen: {
45912
+ Args: {
45913
+ _werkbon_id: string;
45914
+ };
45915
+ Returns: {
45916
+ materials_cents: number;
45917
+ packages_cents: number;
45918
+ packages_minutes: number;
45919
+ total_cents: number;
45920
+ total_minutes: number;
45921
+ }[];
45922
+ };
45799
45923
  wo_create_from_source: {
45800
45924
  Args: {
45801
45925
  _payload?: import("../integrations/supabase/types").Json;
@@ -45834,7 +45958,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
45834
45958
  };
45835
45959
  CompositeTypes: { [_ in never]: never; };
45836
45960
  }, {
45837
- PostgrestVersion: "14.5";
45961
+ PostgrestVersion: "14.17";
45838
45962
  }>;
45839
45963
  userId: string;
45840
45964
  claims: import("@supabase/auth-js").User;
@@ -64506,6 +64630,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64506
64630
  werkbon_package_items: {
64507
64631
  Row: {
64508
64632
  article_number: string | null;
64633
+ artikel_id: string | null;
64509
64634
  created_at: string;
64510
64635
  gtin: string | null;
64511
64636
  id: string;
@@ -64523,6 +64648,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64523
64648
  };
64524
64649
  Insert: {
64525
64650
  article_number?: string | null;
64651
+ artikel_id?: string | null;
64526
64652
  created_at?: string;
64527
64653
  gtin?: string | null;
64528
64654
  id?: string;
@@ -64540,6 +64666,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64540
64666
  };
64541
64667
  Update: {
64542
64668
  article_number?: string | null;
64669
+ artikel_id?: string | null;
64543
64670
  created_at?: string;
64544
64671
  gtin?: string | null;
64545
64672
  id?: string;
@@ -64556,6 +64683,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64556
64683
  updated_at?: string;
64557
64684
  };
64558
64685
  Relationships: [{
64686
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
64687
+ columns: ["artikel_id"];
64688
+ isOneToOne: false;
64689
+ referencedRelation: "artikelen_cache";
64690
+ referencedColumns: ["id"];
64691
+ }, {
64559
64692
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64560
64693
  columns: ["package_id"];
64561
64694
  isOneToOne: false;
@@ -65778,6 +65911,20 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
65778
65911
  referencedColumns: ["id"];
65779
65912
  }];
65780
65913
  };
65914
+ v_werkbon_totalen: {
65915
+ Row: {
65916
+ packages_cents: number | null;
65917
+ packages_minutes: number | null;
65918
+ werkbon_id: string | null;
65919
+ };
65920
+ Relationships: [{
65921
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
65922
+ columns: ["werkbon_id"];
65923
+ isOneToOne: false;
65924
+ referencedRelation: "werkbonnen";
65925
+ referencedColumns: ["id"];
65926
+ }];
65927
+ };
65781
65928
  };
65782
65929
  Functions: {
65783
65930
  _floriday_schedule_job: {
@@ -67325,6 +67472,14 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
67325
67472
  };
67326
67473
  Returns: import("../integrations/supabase/types").Json;
67327
67474
  };
67475
+ logistics_plan_block: {
67476
+ Args: {
67477
+ p_details?: import("../integrations/supabase/types").Json;
67478
+ p_order_ids: string[];
67479
+ p_reason: string;
67480
+ };
67481
+ Returns: number;
67482
+ };
67328
67483
  logistics_plan_buffer_sql: {
67329
67484
  Args: {
67330
67485
  p_buffer_id: string;
@@ -67706,6 +67861,25 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
67706
67861
  };
67707
67862
  Returns: string;
67708
67863
  };
67864
+ pakket_suggesties_voor_tekst: {
67865
+ Args: {
67866
+ _tekst: string;
67867
+ };
67868
+ Returns: {
67869
+ hit_type: string;
67870
+ package_id: string;
67871
+ priority: number;
67872
+ }[];
67873
+ };
67874
+ pakket_voor_reistijd: {
67875
+ Args: {
67876
+ _minuten: number;
67877
+ };
67878
+ Returns: {
67879
+ package_id: string;
67880
+ priority: number;
67881
+ }[];
67882
+ };
67709
67883
  pick_active_printers: {
67710
67884
  Args: never;
67711
67885
  Returns: {
@@ -68756,6 +68930,18 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
68756
68930
  Args: never;
68757
68931
  Returns: string;
68758
68932
  };
68933
+ werkbon_totalen: {
68934
+ Args: {
68935
+ _werkbon_id: string;
68936
+ };
68937
+ Returns: {
68938
+ materials_cents: number;
68939
+ packages_cents: number;
68940
+ packages_minutes: number;
68941
+ total_cents: number;
68942
+ total_minutes: number;
68943
+ }[];
68944
+ };
68759
68945
  wo_create_from_source: {
68760
68946
  Args: {
68761
68947
  _payload?: import("../integrations/supabase/types").Json;
@@ -68794,7 +68980,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
68794
68980
  };
68795
68981
  CompositeTypes: { [_ in never]: never; };
68796
68982
  }, {
68797
- PostgrestVersion: "14.5";
68983
+ PostgrestVersion: "14.17";
68798
68984
  }>;
68799
68985
  userId: string;
68800
68986
  claims: import("@supabase/auth-js").User;
@@ -87430,6 +87616,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87430
87616
  werkbon_package_items: {
87431
87617
  Row: {
87432
87618
  article_number: string | null;
87619
+ artikel_id: string | null;
87433
87620
  created_at: string;
87434
87621
  gtin: string | null;
87435
87622
  id: string;
@@ -87447,6 +87634,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87447
87634
  };
87448
87635
  Insert: {
87449
87636
  article_number?: string | null;
87637
+ artikel_id?: string | null;
87450
87638
  created_at?: string;
87451
87639
  gtin?: string | null;
87452
87640
  id?: string;
@@ -87464,6 +87652,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87464
87652
  };
87465
87653
  Update: {
87466
87654
  article_number?: string | null;
87655
+ artikel_id?: string | null;
87467
87656
  created_at?: string;
87468
87657
  gtin?: string | null;
87469
87658
  id?: string;
@@ -87480,6 +87669,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87480
87669
  updated_at?: string;
87481
87670
  };
87482
87671
  Relationships: [{
87672
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
87673
+ columns: ["artikel_id"];
87674
+ isOneToOne: false;
87675
+ referencedRelation: "artikelen_cache";
87676
+ referencedColumns: ["id"];
87677
+ }, {
87483
87678
  foreignKeyName: "werkbon_package_items_package_id_fkey";
87484
87679
  columns: ["package_id"];
87485
87680
  isOneToOne: false;
@@ -88702,6 +88897,20 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
88702
88897
  referencedColumns: ["id"];
88703
88898
  }];
88704
88899
  };
88900
+ v_werkbon_totalen: {
88901
+ Row: {
88902
+ packages_cents: number | null;
88903
+ packages_minutes: number | null;
88904
+ werkbon_id: string | null;
88905
+ };
88906
+ Relationships: [{
88907
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
88908
+ columns: ["werkbon_id"];
88909
+ isOneToOne: false;
88910
+ referencedRelation: "werkbonnen";
88911
+ referencedColumns: ["id"];
88912
+ }];
88913
+ };
88705
88914
  };
88706
88915
  Functions: {
88707
88916
  _floriday_schedule_job: {
@@ -90249,6 +90458,14 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
90249
90458
  };
90250
90459
  Returns: import("../integrations/supabase/types").Json;
90251
90460
  };
90461
+ logistics_plan_block: {
90462
+ Args: {
90463
+ p_details?: import("../integrations/supabase/types").Json;
90464
+ p_order_ids: string[];
90465
+ p_reason: string;
90466
+ };
90467
+ Returns: number;
90468
+ };
90252
90469
  logistics_plan_buffer_sql: {
90253
90470
  Args: {
90254
90471
  p_buffer_id: string;
@@ -90630,6 +90847,25 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
90630
90847
  };
90631
90848
  Returns: string;
90632
90849
  };
90850
+ pakket_suggesties_voor_tekst: {
90851
+ Args: {
90852
+ _tekst: string;
90853
+ };
90854
+ Returns: {
90855
+ hit_type: string;
90856
+ package_id: string;
90857
+ priority: number;
90858
+ }[];
90859
+ };
90860
+ pakket_voor_reistijd: {
90861
+ Args: {
90862
+ _minuten: number;
90863
+ };
90864
+ Returns: {
90865
+ package_id: string;
90866
+ priority: number;
90867
+ }[];
90868
+ };
90633
90869
  pick_active_printers: {
90634
90870
  Args: never;
90635
90871
  Returns: {
@@ -91680,6 +91916,18 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
91680
91916
  Args: never;
91681
91917
  Returns: string;
91682
91918
  };
91919
+ werkbon_totalen: {
91920
+ Args: {
91921
+ _werkbon_id: string;
91922
+ };
91923
+ Returns: {
91924
+ materials_cents: number;
91925
+ packages_cents: number;
91926
+ packages_minutes: number;
91927
+ total_cents: number;
91928
+ total_minutes: number;
91929
+ }[];
91930
+ };
91683
91931
  wo_create_from_source: {
91684
91932
  Args: {
91685
91933
  _payload?: import("../integrations/supabase/types").Json;
@@ -91718,7 +91966,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
91718
91966
  };
91719
91967
  CompositeTypes: { [_ in never]: never; };
91720
91968
  }, {
91721
- PostgrestVersion: "14.5";
91969
+ PostgrestVersion: "14.17";
91722
91970
  }>;
91723
91971
  userId: string;
91724
91972
  claims: import("@supabase/auth-js").User;
@@ -110368,6 +110616,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110368
110616
  werkbon_package_items: {
110369
110617
  Row: {
110370
110618
  article_number: string | null;
110619
+ artikel_id: string | null;
110371
110620
  created_at: string;
110372
110621
  gtin: string | null;
110373
110622
  id: string;
@@ -110385,6 +110634,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110385
110634
  };
110386
110635
  Insert: {
110387
110636
  article_number?: string | null;
110637
+ artikel_id?: string | null;
110388
110638
  created_at?: string;
110389
110639
  gtin?: string | null;
110390
110640
  id?: string;
@@ -110402,6 +110652,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110402
110652
  };
110403
110653
  Update: {
110404
110654
  article_number?: string | null;
110655
+ artikel_id?: string | null;
110405
110656
  created_at?: string;
110406
110657
  gtin?: string | null;
110407
110658
  id?: string;
@@ -110418,6 +110669,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110418
110669
  updated_at?: string;
110419
110670
  };
110420
110671
  Relationships: [{
110672
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
110673
+ columns: ["artikel_id"];
110674
+ isOneToOne: false;
110675
+ referencedRelation: "artikelen_cache";
110676
+ referencedColumns: ["id"];
110677
+ }, {
110421
110678
  foreignKeyName: "werkbon_package_items_package_id_fkey";
110422
110679
  columns: ["package_id"];
110423
110680
  isOneToOne: false;
@@ -111640,6 +111897,20 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
111640
111897
  referencedColumns: ["id"];
111641
111898
  }];
111642
111899
  };
111900
+ v_werkbon_totalen: {
111901
+ Row: {
111902
+ packages_cents: number | null;
111903
+ packages_minutes: number | null;
111904
+ werkbon_id: string | null;
111905
+ };
111906
+ Relationships: [{
111907
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
111908
+ columns: ["werkbon_id"];
111909
+ isOneToOne: false;
111910
+ referencedRelation: "werkbonnen";
111911
+ referencedColumns: ["id"];
111912
+ }];
111913
+ };
111643
111914
  };
111644
111915
  Functions: {
111645
111916
  _floriday_schedule_job: {
@@ -113187,6 +113458,14 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
113187
113458
  };
113188
113459
  Returns: import("../integrations/supabase/types").Json;
113189
113460
  };
113461
+ logistics_plan_block: {
113462
+ Args: {
113463
+ p_details?: import("../integrations/supabase/types").Json;
113464
+ p_order_ids: string[];
113465
+ p_reason: string;
113466
+ };
113467
+ Returns: number;
113468
+ };
113190
113469
  logistics_plan_buffer_sql: {
113191
113470
  Args: {
113192
113471
  p_buffer_id: string;
@@ -113568,6 +113847,25 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
113568
113847
  };
113569
113848
  Returns: string;
113570
113849
  };
113850
+ pakket_suggesties_voor_tekst: {
113851
+ Args: {
113852
+ _tekst: string;
113853
+ };
113854
+ Returns: {
113855
+ hit_type: string;
113856
+ package_id: string;
113857
+ priority: number;
113858
+ }[];
113859
+ };
113860
+ pakket_voor_reistijd: {
113861
+ Args: {
113862
+ _minuten: number;
113863
+ };
113864
+ Returns: {
113865
+ package_id: string;
113866
+ priority: number;
113867
+ }[];
113868
+ };
113571
113869
  pick_active_printers: {
113572
113870
  Args: never;
113573
113871
  Returns: {
@@ -114618,6 +114916,18 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
114618
114916
  Args: never;
114619
114917
  Returns: string;
114620
114918
  };
114919
+ werkbon_totalen: {
114920
+ Args: {
114921
+ _werkbon_id: string;
114922
+ };
114923
+ Returns: {
114924
+ materials_cents: number;
114925
+ packages_cents: number;
114926
+ packages_minutes: number;
114927
+ total_cents: number;
114928
+ total_minutes: number;
114929
+ }[];
114930
+ };
114621
114931
  wo_create_from_source: {
114622
114932
  Args: {
114623
114933
  _payload?: import("../integrations/supabase/types").Json;
@@ -114656,7 +114966,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
114656
114966
  };
114657
114967
  CompositeTypes: { [_ in never]: never; };
114658
114968
  }, {
114659
- PostgrestVersion: "14.5";
114969
+ PostgrestVersion: "14.17";
114660
114970
  }>;
114661
114971
  userId: string;
114662
114972
  claims: import("@supabase/auth-js").User;