@flowselections/floriday-verkoop-module 1.0.49 → 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 (60) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +55 -1
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +55 -1
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +55 -1
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +58 -1
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +55 -1
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-planner.d.ts +15 -4
  12. package/dist-lib/lib/cart-planner.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-planner.js +44 -12
  14. package/dist-lib/lib/cart-planning-settings.functions.d.ts +605 -11
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/cart-replan.functions.d.ts +177 -3
  17. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/cart-replan.functions.js +49 -3
  19. package/dist-lib/lib/create-order.functions.d.ts +940 -17
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/create-order.functions.js +48 -4
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +165 -3
  23. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +55 -1
  25. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-mirror.functions.d.ts +55 -1
  27. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-public.functions.d.ts +385 -7
  29. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-writes.functions.d.ts +275 -5
  31. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/invoice-timing.functions.d.ts +220 -4
  33. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/load-carriers.functions.d.ts +55 -1
  35. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/logistics-engine.functions.d.ts +275 -5
  37. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/logistics-stock.functions.d.ts +110 -2
  39. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/order-addresses.functions.d.ts +55 -1
  41. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/order-buffers.functions.d.ts +165 -3
  43. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-carrier.functions.d.ts +110 -2
  45. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-pickup.functions.d.ts +110 -2
  47. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-shipments.functions.d.ts +220 -4
  49. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/salesorders-list.functions.d.ts +55 -1
  51. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  53. package/dist-lib/lib/salesorders-list.server.js +61 -3
  54. package/dist-lib/lib/salesorders.functions.d.ts +275 -5
  55. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +110 -2
  57. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/tradeitems.functions.d.ts +55 -1
  59. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  60. package/package.json +1 -1
@@ -18619,6 +18619,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18619
18619
  werkbon_package_items: {
18620
18620
  Row: {
18621
18621
  article_number: string | null;
18622
+ artikel_id: string | null;
18622
18623
  created_at: string;
18623
18624
  gtin: string | null;
18624
18625
  id: string;
@@ -18636,6 +18637,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18636
18637
  };
18637
18638
  Insert: {
18638
18639
  article_number?: string | null;
18640
+ artikel_id?: string | null;
18639
18641
  created_at?: string;
18640
18642
  gtin?: string | null;
18641
18643
  id?: string;
@@ -18653,6 +18655,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18653
18655
  };
18654
18656
  Update: {
18655
18657
  article_number?: string | null;
18658
+ artikel_id?: string | null;
18656
18659
  created_at?: string;
18657
18660
  gtin?: string | null;
18658
18661
  id?: string;
@@ -18669,6 +18672,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18669
18672
  updated_at?: string;
18670
18673
  };
18671
18674
  Relationships: [{
18675
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18676
+ columns: ["artikel_id"];
18677
+ isOneToOne: false;
18678
+ referencedRelation: "artikelen_cache";
18679
+ referencedColumns: ["id"];
18680
+ }, {
18672
18681
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18673
18682
  columns: ["package_id"];
18674
18683
  isOneToOne: false;
@@ -19891,6 +19900,20 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
19891
19900
  referencedColumns: ["id"];
19892
19901
  }];
19893
19902
  };
19903
+ v_werkbon_totalen: {
19904
+ Row: {
19905
+ packages_cents: number | null;
19906
+ packages_minutes: number | null;
19907
+ werkbon_id: string | null;
19908
+ };
19909
+ Relationships: [{
19910
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19911
+ columns: ["werkbon_id"];
19912
+ isOneToOne: false;
19913
+ referencedRelation: "werkbonnen";
19914
+ referencedColumns: ["id"];
19915
+ }];
19916
+ };
19894
19917
  };
19895
19918
  Functions: {
19896
19919
  _floriday_schedule_job: {
@@ -21827,6 +21850,25 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21827
21850
  };
21828
21851
  Returns: string;
21829
21852
  };
21853
+ pakket_suggesties_voor_tekst: {
21854
+ Args: {
21855
+ _tekst: string;
21856
+ };
21857
+ Returns: {
21858
+ hit_type: string;
21859
+ package_id: string;
21860
+ priority: number;
21861
+ }[];
21862
+ };
21863
+ pakket_voor_reistijd: {
21864
+ Args: {
21865
+ _minuten: number;
21866
+ };
21867
+ Returns: {
21868
+ package_id: string;
21869
+ priority: number;
21870
+ }[];
21871
+ };
21830
21872
  pick_active_printers: {
21831
21873
  Args: never;
21832
21874
  Returns: {
@@ -22877,6 +22919,18 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22877
22919
  Args: never;
22878
22920
  Returns: string;
22879
22921
  };
22922
+ werkbon_totalen: {
22923
+ Args: {
22924
+ _werkbon_id: string;
22925
+ };
22926
+ Returns: {
22927
+ materials_cents: number;
22928
+ packages_cents: number;
22929
+ packages_minutes: number;
22930
+ total_cents: number;
22931
+ total_minutes: number;
22932
+ }[];
22933
+ };
22880
22934
  wo_create_from_source: {
22881
22935
  Args: {
22882
22936
  _payload?: import("../integrations/supabase/types").Json;
@@ -22915,7 +22969,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22915
22969
  };
22916
22970
  CompositeTypes: { [_ in never]: never; };
22917
22971
  }, {
22918
- PostgrestVersion: "14.5";
22972
+ PostgrestVersion: "14.17";
22919
22973
  }>;
22920
22974
  userId: string;
22921
22975
  claims: import("@supabase/auth-js").User;
@@ -41575,6 +41629,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41575
41629
  werkbon_package_items: {
41576
41630
  Row: {
41577
41631
  article_number: string | null;
41632
+ artikel_id: string | null;
41578
41633
  created_at: string;
41579
41634
  gtin: string | null;
41580
41635
  id: string;
@@ -41592,6 +41647,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41592
41647
  };
41593
41648
  Insert: {
41594
41649
  article_number?: string | null;
41650
+ artikel_id?: string | null;
41595
41651
  created_at?: string;
41596
41652
  gtin?: string | null;
41597
41653
  id?: string;
@@ -41609,6 +41665,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41609
41665
  };
41610
41666
  Update: {
41611
41667
  article_number?: string | null;
41668
+ artikel_id?: string | null;
41612
41669
  created_at?: string;
41613
41670
  gtin?: string | null;
41614
41671
  id?: string;
@@ -41625,6 +41682,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41625
41682
  updated_at?: string;
41626
41683
  };
41627
41684
  Relationships: [{
41685
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
41686
+ columns: ["artikel_id"];
41687
+ isOneToOne: false;
41688
+ referencedRelation: "artikelen_cache";
41689
+ referencedColumns: ["id"];
41690
+ }, {
41628
41691
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41629
41692
  columns: ["package_id"];
41630
41693
  isOneToOne: false;
@@ -42847,6 +42910,20 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
42847
42910
  referencedColumns: ["id"];
42848
42911
  }];
42849
42912
  };
42913
+ v_werkbon_totalen: {
42914
+ Row: {
42915
+ packages_cents: number | null;
42916
+ packages_minutes: number | null;
42917
+ werkbon_id: string | null;
42918
+ };
42919
+ Relationships: [{
42920
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
42921
+ columns: ["werkbon_id"];
42922
+ isOneToOne: false;
42923
+ referencedRelation: "werkbonnen";
42924
+ referencedColumns: ["id"];
42925
+ }];
42926
+ };
42850
42927
  };
42851
42928
  Functions: {
42852
42929
  _floriday_schedule_job: {
@@ -44783,6 +44860,25 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44783
44860
  };
44784
44861
  Returns: string;
44785
44862
  };
44863
+ pakket_suggesties_voor_tekst: {
44864
+ Args: {
44865
+ _tekst: string;
44866
+ };
44867
+ Returns: {
44868
+ hit_type: string;
44869
+ package_id: string;
44870
+ priority: number;
44871
+ }[];
44872
+ };
44873
+ pakket_voor_reistijd: {
44874
+ Args: {
44875
+ _minuten: number;
44876
+ };
44877
+ Returns: {
44878
+ package_id: string;
44879
+ priority: number;
44880
+ }[];
44881
+ };
44786
44882
  pick_active_printers: {
44787
44883
  Args: never;
44788
44884
  Returns: {
@@ -45833,6 +45929,18 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45833
45929
  Args: never;
45834
45930
  Returns: string;
45835
45931
  };
45932
+ werkbon_totalen: {
45933
+ Args: {
45934
+ _werkbon_id: string;
45935
+ };
45936
+ Returns: {
45937
+ materials_cents: number;
45938
+ packages_cents: number;
45939
+ packages_minutes: number;
45940
+ total_cents: number;
45941
+ total_minutes: number;
45942
+ }[];
45943
+ };
45836
45944
  wo_create_from_source: {
45837
45945
  Args: {
45838
45946
  _payload?: import("../integrations/supabase/types").Json;
@@ -45871,7 +45979,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45871
45979
  };
45872
45980
  CompositeTypes: { [_ in never]: never; };
45873
45981
  }, {
45874
- PostgrestVersion: "14.5";
45982
+ PostgrestVersion: "14.17";
45875
45983
  }>;
45876
45984
  userId: string;
45877
45985
  claims: import("@supabase/auth-js").User;
@@ -64512,6 +64620,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64512
64620
  werkbon_package_items: {
64513
64621
  Row: {
64514
64622
  article_number: string | null;
64623
+ artikel_id: string | null;
64515
64624
  created_at: string;
64516
64625
  gtin: string | null;
64517
64626
  id: string;
@@ -64529,6 +64638,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64529
64638
  };
64530
64639
  Insert: {
64531
64640
  article_number?: string | null;
64641
+ artikel_id?: string | null;
64532
64642
  created_at?: string;
64533
64643
  gtin?: string | null;
64534
64644
  id?: string;
@@ -64546,6 +64656,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64546
64656
  };
64547
64657
  Update: {
64548
64658
  article_number?: string | null;
64659
+ artikel_id?: string | null;
64549
64660
  created_at?: string;
64550
64661
  gtin?: string | null;
64551
64662
  id?: string;
@@ -64562,6 +64673,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64562
64673
  updated_at?: string;
64563
64674
  };
64564
64675
  Relationships: [{
64676
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
64677
+ columns: ["artikel_id"];
64678
+ isOneToOne: false;
64679
+ referencedRelation: "artikelen_cache";
64680
+ referencedColumns: ["id"];
64681
+ }, {
64565
64682
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64566
64683
  columns: ["package_id"];
64567
64684
  isOneToOne: false;
@@ -65784,6 +65901,20 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
65784
65901
  referencedColumns: ["id"];
65785
65902
  }];
65786
65903
  };
65904
+ v_werkbon_totalen: {
65905
+ Row: {
65906
+ packages_cents: number | null;
65907
+ packages_minutes: number | null;
65908
+ werkbon_id: string | null;
65909
+ };
65910
+ Relationships: [{
65911
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
65912
+ columns: ["werkbon_id"];
65913
+ isOneToOne: false;
65914
+ referencedRelation: "werkbonnen";
65915
+ referencedColumns: ["id"];
65916
+ }];
65917
+ };
65787
65918
  };
65788
65919
  Functions: {
65789
65920
  _floriday_schedule_job: {
@@ -67720,6 +67851,25 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67720
67851
  };
67721
67852
  Returns: string;
67722
67853
  };
67854
+ pakket_suggesties_voor_tekst: {
67855
+ Args: {
67856
+ _tekst: string;
67857
+ };
67858
+ Returns: {
67859
+ hit_type: string;
67860
+ package_id: string;
67861
+ priority: number;
67862
+ }[];
67863
+ };
67864
+ pakket_voor_reistijd: {
67865
+ Args: {
67866
+ _minuten: number;
67867
+ };
67868
+ Returns: {
67869
+ package_id: string;
67870
+ priority: number;
67871
+ }[];
67872
+ };
67723
67873
  pick_active_printers: {
67724
67874
  Args: never;
67725
67875
  Returns: {
@@ -68770,6 +68920,18 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68770
68920
  Args: never;
68771
68921
  Returns: string;
68772
68922
  };
68923
+ werkbon_totalen: {
68924
+ Args: {
68925
+ _werkbon_id: string;
68926
+ };
68927
+ Returns: {
68928
+ materials_cents: number;
68929
+ packages_cents: number;
68930
+ packages_minutes: number;
68931
+ total_cents: number;
68932
+ total_minutes: number;
68933
+ }[];
68934
+ };
68773
68935
  wo_create_from_source: {
68774
68936
  Args: {
68775
68937
  _payload?: import("../integrations/supabase/types").Json;
@@ -68808,7 +68970,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68808
68970
  };
68809
68971
  CompositeTypes: { [_ in never]: never; };
68810
68972
  }, {
68811
- PostgrestVersion: "14.5";
68973
+ PostgrestVersion: "14.17";
68812
68974
  }>;
68813
68975
  userId: string;
68814
68976
  claims: import("@supabase/auth-js").User;
@@ -87438,6 +87600,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87438
87600
  werkbon_package_items: {
87439
87601
  Row: {
87440
87602
  article_number: string | null;
87603
+ artikel_id: string | null;
87441
87604
  created_at: string;
87442
87605
  gtin: string | null;
87443
87606
  id: string;
@@ -87455,6 +87618,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87455
87618
  };
87456
87619
  Insert: {
87457
87620
  article_number?: string | null;
87621
+ artikel_id?: string | null;
87458
87622
  created_at?: string;
87459
87623
  gtin?: string | null;
87460
87624
  id?: string;
@@ -87472,6 +87636,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87472
87636
  };
87473
87637
  Update: {
87474
87638
  article_number?: string | null;
87639
+ artikel_id?: string | null;
87475
87640
  created_at?: string;
87476
87641
  gtin?: string | null;
87477
87642
  id?: string;
@@ -87488,6 +87653,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87488
87653
  updated_at?: string;
87489
87654
  };
87490
87655
  Relationships: [{
87656
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
87657
+ columns: ["artikel_id"];
87658
+ isOneToOne: false;
87659
+ referencedRelation: "artikelen_cache";
87660
+ referencedColumns: ["id"];
87661
+ }, {
87491
87662
  foreignKeyName: "werkbon_package_items_package_id_fkey";
87492
87663
  columns: ["package_id"];
87493
87664
  isOneToOne: false;
@@ -88710,6 +88881,20 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88710
88881
  referencedColumns: ["id"];
88711
88882
  }];
88712
88883
  };
88884
+ v_werkbon_totalen: {
88885
+ Row: {
88886
+ packages_cents: number | null;
88887
+ packages_minutes: number | null;
88888
+ werkbon_id: string | null;
88889
+ };
88890
+ Relationships: [{
88891
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
88892
+ columns: ["werkbon_id"];
88893
+ isOneToOne: false;
88894
+ referencedRelation: "werkbonnen";
88895
+ referencedColumns: ["id"];
88896
+ }];
88897
+ };
88713
88898
  };
88714
88899
  Functions: {
88715
88900
  _floriday_schedule_job: {
@@ -90646,6 +90831,25 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90646
90831
  };
90647
90832
  Returns: string;
90648
90833
  };
90834
+ pakket_suggesties_voor_tekst: {
90835
+ Args: {
90836
+ _tekst: string;
90837
+ };
90838
+ Returns: {
90839
+ hit_type: string;
90840
+ package_id: string;
90841
+ priority: number;
90842
+ }[];
90843
+ };
90844
+ pakket_voor_reistijd: {
90845
+ Args: {
90846
+ _minuten: number;
90847
+ };
90848
+ Returns: {
90849
+ package_id: string;
90850
+ priority: number;
90851
+ }[];
90852
+ };
90649
90853
  pick_active_printers: {
90650
90854
  Args: never;
90651
90855
  Returns: {
@@ -91696,6 +91900,18 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91696
91900
  Args: never;
91697
91901
  Returns: string;
91698
91902
  };
91903
+ werkbon_totalen: {
91904
+ Args: {
91905
+ _werkbon_id: string;
91906
+ };
91907
+ Returns: {
91908
+ materials_cents: number;
91909
+ packages_cents: number;
91910
+ packages_minutes: number;
91911
+ total_cents: number;
91912
+ total_minutes: number;
91913
+ }[];
91914
+ };
91699
91915
  wo_create_from_source: {
91700
91916
  Args: {
91701
91917
  _payload?: import("../integrations/supabase/types").Json;
@@ -91734,7 +91950,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91734
91950
  };
91735
91951
  CompositeTypes: { [_ in never]: never; };
91736
91952
  }, {
91737
- PostgrestVersion: "14.5";
91953
+ PostgrestVersion: "14.17";
91738
91954
  }>;
91739
91955
  userId: string;
91740
91956
  claims: import("@supabase/auth-js").User;