@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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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 acknowledgeSalesOrder: 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;
@@ -41541,6 +41603,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
41541
41603
  werkbon_package_items: {
41542
41604
  Row: {
41543
41605
  article_number: string | null;
41606
+ artikel_id: string | null;
41544
41607
  created_at: string;
41545
41608
  gtin: string | null;
41546
41609
  id: string;
@@ -41558,6 +41621,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
41558
41621
  };
41559
41622
  Insert: {
41560
41623
  article_number?: string | null;
41624
+ artikel_id?: string | null;
41561
41625
  created_at?: string;
41562
41626
  gtin?: string | null;
41563
41627
  id?: string;
@@ -41575,6 +41639,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
41575
41639
  };
41576
41640
  Update: {
41577
41641
  article_number?: string | null;
41642
+ artikel_id?: string | null;
41578
41643
  created_at?: string;
41579
41644
  gtin?: string | null;
41580
41645
  id?: string;
@@ -41591,6 +41656,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
41591
41656
  updated_at?: string;
41592
41657
  };
41593
41658
  Relationships: [{
41659
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
41660
+ columns: ["artikel_id"];
41661
+ isOneToOne: false;
41662
+ referencedRelation: "artikelen_cache";
41663
+ referencedColumns: ["id"];
41664
+ }, {
41594
41665
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41595
41666
  columns: ["package_id"];
41596
41667
  isOneToOne: false;
@@ -42813,6 +42884,20 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
42813
42884
  referencedColumns: ["id"];
42814
42885
  }];
42815
42886
  };
42887
+ v_werkbon_totalen: {
42888
+ Row: {
42889
+ packages_cents: number | null;
42890
+ packages_minutes: number | null;
42891
+ werkbon_id: string | null;
42892
+ };
42893
+ Relationships: [{
42894
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
42895
+ columns: ["werkbon_id"];
42896
+ isOneToOne: false;
42897
+ referencedRelation: "werkbonnen";
42898
+ referencedColumns: ["id"];
42899
+ }];
42900
+ };
42816
42901
  };
42817
42902
  Functions: {
42818
42903
  _floriday_schedule_job: {
@@ -44360,6 +44445,14 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
44360
44445
  };
44361
44446
  Returns: import("../integrations/supabase/types").Json;
44362
44447
  };
44448
+ logistics_plan_block: {
44449
+ Args: {
44450
+ p_details?: import("../integrations/supabase/types").Json;
44451
+ p_order_ids: string[];
44452
+ p_reason: string;
44453
+ };
44454
+ Returns: number;
44455
+ };
44363
44456
  logistics_plan_buffer_sql: {
44364
44457
  Args: {
44365
44458
  p_buffer_id: string;
@@ -44741,6 +44834,25 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
44741
44834
  };
44742
44835
  Returns: string;
44743
44836
  };
44837
+ pakket_suggesties_voor_tekst: {
44838
+ Args: {
44839
+ _tekst: string;
44840
+ };
44841
+ Returns: {
44842
+ hit_type: string;
44843
+ package_id: string;
44844
+ priority: number;
44845
+ }[];
44846
+ };
44847
+ pakket_voor_reistijd: {
44848
+ Args: {
44849
+ _minuten: number;
44850
+ };
44851
+ Returns: {
44852
+ package_id: string;
44853
+ priority: number;
44854
+ }[];
44855
+ };
44744
44856
  pick_active_printers: {
44745
44857
  Args: never;
44746
44858
  Returns: {
@@ -45791,6 +45903,18 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
45791
45903
  Args: never;
45792
45904
  Returns: string;
45793
45905
  };
45906
+ werkbon_totalen: {
45907
+ Args: {
45908
+ _werkbon_id: string;
45909
+ };
45910
+ Returns: {
45911
+ materials_cents: number;
45912
+ packages_cents: number;
45913
+ packages_minutes: number;
45914
+ total_cents: number;
45915
+ total_minutes: number;
45916
+ }[];
45917
+ };
45794
45918
  wo_create_from_source: {
45795
45919
  Args: {
45796
45920
  _payload?: import("../integrations/supabase/types").Json;
@@ -45829,7 +45953,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
45829
45953
  };
45830
45954
  CompositeTypes: { [_ in never]: never; };
45831
45955
  }, {
45832
- PostgrestVersion: "14.5";
45956
+ PostgrestVersion: "14.17";
45833
45957
  }>;
45834
45958
  userId: string;
45835
45959
  claims: import("@supabase/auth-js").User;
@@ -64459,6 +64583,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
64459
64583
  werkbon_package_items: {
64460
64584
  Row: {
64461
64585
  article_number: string | null;
64586
+ artikel_id: string | null;
64462
64587
  created_at: string;
64463
64588
  gtin: string | null;
64464
64589
  id: string;
@@ -64476,6 +64601,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
64476
64601
  };
64477
64602
  Insert: {
64478
64603
  article_number?: string | null;
64604
+ artikel_id?: string | null;
64479
64605
  created_at?: string;
64480
64606
  gtin?: string | null;
64481
64607
  id?: string;
@@ -64493,6 +64619,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
64493
64619
  };
64494
64620
  Update: {
64495
64621
  article_number?: string | null;
64622
+ artikel_id?: string | null;
64496
64623
  created_at?: string;
64497
64624
  gtin?: string | null;
64498
64625
  id?: string;
@@ -64509,6 +64636,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
64509
64636
  updated_at?: string;
64510
64637
  };
64511
64638
  Relationships: [{
64639
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
64640
+ columns: ["artikel_id"];
64641
+ isOneToOne: false;
64642
+ referencedRelation: "artikelen_cache";
64643
+ referencedColumns: ["id"];
64644
+ }, {
64512
64645
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64513
64646
  columns: ["package_id"];
64514
64647
  isOneToOne: false;
@@ -65731,6 +65864,20 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
65731
65864
  referencedColumns: ["id"];
65732
65865
  }];
65733
65866
  };
65867
+ v_werkbon_totalen: {
65868
+ Row: {
65869
+ packages_cents: number | null;
65870
+ packages_minutes: number | null;
65871
+ werkbon_id: string | null;
65872
+ };
65873
+ Relationships: [{
65874
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
65875
+ columns: ["werkbon_id"];
65876
+ isOneToOne: false;
65877
+ referencedRelation: "werkbonnen";
65878
+ referencedColumns: ["id"];
65879
+ }];
65880
+ };
65734
65881
  };
65735
65882
  Functions: {
65736
65883
  _floriday_schedule_job: {
@@ -67278,6 +67425,14 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
67278
67425
  };
67279
67426
  Returns: import("../integrations/supabase/types").Json;
67280
67427
  };
67428
+ logistics_plan_block: {
67429
+ Args: {
67430
+ p_details?: import("../integrations/supabase/types").Json;
67431
+ p_order_ids: string[];
67432
+ p_reason: string;
67433
+ };
67434
+ Returns: number;
67435
+ };
67281
67436
  logistics_plan_buffer_sql: {
67282
67437
  Args: {
67283
67438
  p_buffer_id: string;
@@ -67659,6 +67814,25 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
67659
67814
  };
67660
67815
  Returns: string;
67661
67816
  };
67817
+ pakket_suggesties_voor_tekst: {
67818
+ Args: {
67819
+ _tekst: string;
67820
+ };
67821
+ Returns: {
67822
+ hit_type: string;
67823
+ package_id: string;
67824
+ priority: number;
67825
+ }[];
67826
+ };
67827
+ pakket_voor_reistijd: {
67828
+ Args: {
67829
+ _minuten: number;
67830
+ };
67831
+ Returns: {
67832
+ package_id: string;
67833
+ priority: number;
67834
+ }[];
67835
+ };
67662
67836
  pick_active_printers: {
67663
67837
  Args: never;
67664
67838
  Returns: {
@@ -68709,6 +68883,18 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
68709
68883
  Args: never;
68710
68884
  Returns: string;
68711
68885
  };
68886
+ werkbon_totalen: {
68887
+ Args: {
68888
+ _werkbon_id: string;
68889
+ };
68890
+ Returns: {
68891
+ materials_cents: number;
68892
+ packages_cents: number;
68893
+ packages_minutes: number;
68894
+ total_cents: number;
68895
+ total_minutes: number;
68896
+ }[];
68897
+ };
68712
68898
  wo_create_from_source: {
68713
68899
  Args: {
68714
68900
  _payload?: import("../integrations/supabase/types").Json;
@@ -68747,7 +68933,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
68747
68933
  };
68748
68934
  CompositeTypes: { [_ in never]: never; };
68749
68935
  }, {
68750
- PostgrestVersion: "14.5";
68936
+ PostgrestVersion: "14.17";
68751
68937
  }>;
68752
68938
  userId: string;
68753
68939
  claims: import("@supabase/auth-js").User;
@@ -87380,6 +87566,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
87380
87566
  werkbon_package_items: {
87381
87567
  Row: {
87382
87568
  article_number: string | null;
87569
+ artikel_id: string | null;
87383
87570
  created_at: string;
87384
87571
  gtin: string | null;
87385
87572
  id: string;
@@ -87397,6 +87584,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
87397
87584
  };
87398
87585
  Insert: {
87399
87586
  article_number?: string | null;
87587
+ artikel_id?: string | null;
87400
87588
  created_at?: string;
87401
87589
  gtin?: string | null;
87402
87590
  id?: string;
@@ -87414,6 +87602,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
87414
87602
  };
87415
87603
  Update: {
87416
87604
  article_number?: string | null;
87605
+ artikel_id?: string | null;
87417
87606
  created_at?: string;
87418
87607
  gtin?: string | null;
87419
87608
  id?: string;
@@ -87430,6 +87619,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
87430
87619
  updated_at?: string;
87431
87620
  };
87432
87621
  Relationships: [{
87622
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
87623
+ columns: ["artikel_id"];
87624
+ isOneToOne: false;
87625
+ referencedRelation: "artikelen_cache";
87626
+ referencedColumns: ["id"];
87627
+ }, {
87433
87628
  foreignKeyName: "werkbon_package_items_package_id_fkey";
87434
87629
  columns: ["package_id"];
87435
87630
  isOneToOne: false;
@@ -88652,6 +88847,20 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
88652
88847
  referencedColumns: ["id"];
88653
88848
  }];
88654
88849
  };
88850
+ v_werkbon_totalen: {
88851
+ Row: {
88852
+ packages_cents: number | null;
88853
+ packages_minutes: number | null;
88854
+ werkbon_id: string | null;
88855
+ };
88856
+ Relationships: [{
88857
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
88858
+ columns: ["werkbon_id"];
88859
+ isOneToOne: false;
88860
+ referencedRelation: "werkbonnen";
88861
+ referencedColumns: ["id"];
88862
+ }];
88863
+ };
88655
88864
  };
88656
88865
  Functions: {
88657
88866
  _floriday_schedule_job: {
@@ -90199,6 +90408,14 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
90199
90408
  };
90200
90409
  Returns: import("../integrations/supabase/types").Json;
90201
90410
  };
90411
+ logistics_plan_block: {
90412
+ Args: {
90413
+ p_details?: import("../integrations/supabase/types").Json;
90414
+ p_order_ids: string[];
90415
+ p_reason: string;
90416
+ };
90417
+ Returns: number;
90418
+ };
90202
90419
  logistics_plan_buffer_sql: {
90203
90420
  Args: {
90204
90421
  p_buffer_id: string;
@@ -90580,6 +90797,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
90580
90797
  };
90581
90798
  Returns: string;
90582
90799
  };
90800
+ pakket_suggesties_voor_tekst: {
90801
+ Args: {
90802
+ _tekst: string;
90803
+ };
90804
+ Returns: {
90805
+ hit_type: string;
90806
+ package_id: string;
90807
+ priority: number;
90808
+ }[];
90809
+ };
90810
+ pakket_voor_reistijd: {
90811
+ Args: {
90812
+ _minuten: number;
90813
+ };
90814
+ Returns: {
90815
+ package_id: string;
90816
+ priority: number;
90817
+ }[];
90818
+ };
90583
90819
  pick_active_printers: {
90584
90820
  Args: never;
90585
90821
  Returns: {
@@ -91630,6 +91866,18 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
91630
91866
  Args: never;
91631
91867
  Returns: string;
91632
91868
  };
91869
+ werkbon_totalen: {
91870
+ Args: {
91871
+ _werkbon_id: string;
91872
+ };
91873
+ Returns: {
91874
+ materials_cents: number;
91875
+ packages_cents: number;
91876
+ packages_minutes: number;
91877
+ total_cents: number;
91878
+ total_minutes: number;
91879
+ }[];
91880
+ };
91633
91881
  wo_create_from_source: {
91634
91882
  Args: {
91635
91883
  _payload?: import("../integrations/supabase/types").Json;
@@ -91668,7 +91916,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
91668
91916
  };
91669
91917
  CompositeTypes: { [_ in never]: never; };
91670
91918
  }, {
91671
- PostgrestVersion: "14.5";
91919
+ PostgrestVersion: "14.17";
91672
91920
  }>;
91673
91921
  userId: string;
91674
91922
  claims: import("@supabase/auth-js").User;
@@ -110298,6 +110546,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
110298
110546
  werkbon_package_items: {
110299
110547
  Row: {
110300
110548
  article_number: string | null;
110549
+ artikel_id: string | null;
110301
110550
  created_at: string;
110302
110551
  gtin: string | null;
110303
110552
  id: string;
@@ -110315,6 +110564,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
110315
110564
  };
110316
110565
  Insert: {
110317
110566
  article_number?: string | null;
110567
+ artikel_id?: string | null;
110318
110568
  created_at?: string;
110319
110569
  gtin?: string | null;
110320
110570
  id?: string;
@@ -110332,6 +110582,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
110332
110582
  };
110333
110583
  Update: {
110334
110584
  article_number?: string | null;
110585
+ artikel_id?: string | null;
110335
110586
  created_at?: string;
110336
110587
  gtin?: string | null;
110337
110588
  id?: string;
@@ -110348,6 +110599,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
110348
110599
  updated_at?: string;
110349
110600
  };
110350
110601
  Relationships: [{
110602
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
110603
+ columns: ["artikel_id"];
110604
+ isOneToOne: false;
110605
+ referencedRelation: "artikelen_cache";
110606
+ referencedColumns: ["id"];
110607
+ }, {
110351
110608
  foreignKeyName: "werkbon_package_items_package_id_fkey";
110352
110609
  columns: ["package_id"];
110353
110610
  isOneToOne: false;
@@ -111570,6 +111827,20 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
111570
111827
  referencedColumns: ["id"];
111571
111828
  }];
111572
111829
  };
111830
+ v_werkbon_totalen: {
111831
+ Row: {
111832
+ packages_cents: number | null;
111833
+ packages_minutes: number | null;
111834
+ werkbon_id: string | null;
111835
+ };
111836
+ Relationships: [{
111837
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
111838
+ columns: ["werkbon_id"];
111839
+ isOneToOne: false;
111840
+ referencedRelation: "werkbonnen";
111841
+ referencedColumns: ["id"];
111842
+ }];
111843
+ };
111573
111844
  };
111574
111845
  Functions: {
111575
111846
  _floriday_schedule_job: {
@@ -113117,6 +113388,14 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
113117
113388
  };
113118
113389
  Returns: import("../integrations/supabase/types").Json;
113119
113390
  };
113391
+ logistics_plan_block: {
113392
+ Args: {
113393
+ p_details?: import("../integrations/supabase/types").Json;
113394
+ p_order_ids: string[];
113395
+ p_reason: string;
113396
+ };
113397
+ Returns: number;
113398
+ };
113120
113399
  logistics_plan_buffer_sql: {
113121
113400
  Args: {
113122
113401
  p_buffer_id: string;
@@ -113498,6 +113777,25 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
113498
113777
  };
113499
113778
  Returns: string;
113500
113779
  };
113780
+ pakket_suggesties_voor_tekst: {
113781
+ Args: {
113782
+ _tekst: string;
113783
+ };
113784
+ Returns: {
113785
+ hit_type: string;
113786
+ package_id: string;
113787
+ priority: number;
113788
+ }[];
113789
+ };
113790
+ pakket_voor_reistijd: {
113791
+ Args: {
113792
+ _minuten: number;
113793
+ };
113794
+ Returns: {
113795
+ package_id: string;
113796
+ priority: number;
113797
+ }[];
113798
+ };
113501
113799
  pick_active_printers: {
113502
113800
  Args: never;
113503
113801
  Returns: {
@@ -114548,6 +114846,18 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
114548
114846
  Args: never;
114549
114847
  Returns: string;
114550
114848
  };
114849
+ werkbon_totalen: {
114850
+ Args: {
114851
+ _werkbon_id: string;
114852
+ };
114853
+ Returns: {
114854
+ materials_cents: number;
114855
+ packages_cents: number;
114856
+ packages_minutes: number;
114857
+ total_cents: number;
114858
+ total_minutes: number;
114859
+ }[];
114860
+ };
114551
114861
  wo_create_from_source: {
114552
114862
  Args: {
114553
114863
  _payload?: import("../integrations/supabase/types").Json;
@@ -114586,7 +114896,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
114586
114896
  };
114587
114897
  CompositeTypes: { [_ in never]: never; };
114588
114898
  }, {
114589
- PostgrestVersion: "14.5";
114899
+ PostgrestVersion: "14.17";
114590
114900
  }>;
114591
114901
  userId: string;
114592
114902
  claims: import("@supabase/auth-js").User;