@flowselections/floriday-afhandeling-module 1.0.38 → 1.0.39

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 (38) hide show
  1. package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
  2. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  3. package/dist-lib/components/afhandeling/ControlePage.js +1 -3
  4. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  5. package/dist-lib/components/afhandeling/DagDetailDialog.js +5 -38
  6. package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
  7. package/dist-lib/components/afhandeling/LeveringenPage.js +1 -1
  8. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +1 -3
  9. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  10. package/dist-lib/components/afhandeling/WeekAgendaView.js +6 -57
  11. package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
  12. package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
  13. package/dist-lib/components/settings/AfhandelingSettingsCard.js +4 -55
  14. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  15. package/dist-lib/hooks/useOrderPlanning.js +6 -27
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +108 -1
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.server.d.ts +108 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/moduleClient.d.ts +108 -1
  21. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +111 -1
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/afhandelingSettings.functions.d.ts +226 -4
  25. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/carrierSignupMail.server.js +26 -26
  27. package/dist-lib/lib/carriers.functions.d.ts +540 -5
  28. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/cartAssignments.functions.d.ts +540 -5
  30. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/cartControl.functions.d.ts +1110 -20
  32. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday.functions.d.ts +109 -2
  34. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/printing.d.ts +2 -11
  36. package/dist-lib/lib/printing.d.ts.map +1 -1
  37. package/dist-lib/lib/printing.js +8 -64
  38. package/package.json +1 -1
@@ -15727,6 +15727,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15727
15727
  };
15728
15728
  Relationships: [];
15729
15729
  };
15730
+ stock_consumption_alerts: {
15731
+ Row: {
15732
+ alert_type: string;
15733
+ created_at: string;
15734
+ id: string;
15735
+ mutation_log_id: string | null;
15736
+ order_id: string | null;
15737
+ order_item_id: string | null;
15738
+ qty: number;
15739
+ reason: string | null;
15740
+ resolved_at: string | null;
15741
+ updated_at: string;
15742
+ };
15743
+ Insert: {
15744
+ alert_type: string;
15745
+ created_at?: string;
15746
+ id?: string;
15747
+ mutation_log_id?: string | null;
15748
+ order_id?: string | null;
15749
+ order_item_id?: string | null;
15750
+ qty?: number;
15751
+ reason?: string | null;
15752
+ resolved_at?: string | null;
15753
+ updated_at?: string;
15754
+ };
15755
+ Update: {
15756
+ alert_type?: string;
15757
+ created_at?: string;
15758
+ id?: string;
15759
+ mutation_log_id?: string | null;
15760
+ order_id?: string | null;
15761
+ order_item_id?: string | null;
15762
+ qty?: number;
15763
+ reason?: string | null;
15764
+ resolved_at?: string | null;
15765
+ updated_at?: string;
15766
+ };
15767
+ Relationships: [];
15768
+ };
15730
15769
  stock_import_runs: {
15731
15770
  Row: {
15732
15771
  connection_id: string | null;
@@ -18580,6 +18619,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18580
18619
  werkbon_package_items: {
18581
18620
  Row: {
18582
18621
  article_number: string | null;
18622
+ artikel_id: string | null;
18583
18623
  created_at: string;
18584
18624
  gtin: string | null;
18585
18625
  id: string;
@@ -18597,6 +18637,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18597
18637
  };
18598
18638
  Insert: {
18599
18639
  article_number?: string | null;
18640
+ artikel_id?: string | null;
18600
18641
  created_at?: string;
18601
18642
  gtin?: string | null;
18602
18643
  id?: string;
@@ -18614,6 +18655,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18614
18655
  };
18615
18656
  Update: {
18616
18657
  article_number?: string | null;
18658
+ artikel_id?: string | null;
18617
18659
  created_at?: string;
18618
18660
  gtin?: string | null;
18619
18661
  id?: string;
@@ -18630,6 +18672,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18630
18672
  updated_at?: string;
18631
18673
  };
18632
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
+ }, {
18633
18681
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18634
18682
  columns: ["package_id"];
18635
18683
  isOneToOne: false;
@@ -19852,6 +19900,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19852
19900
  referencedColumns: ["id"];
19853
19901
  }];
19854
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
+ };
19855
19917
  };
19856
19918
  Functions: {
19857
19919
  _floriday_schedule_job: {
@@ -21399,6 +21461,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21399
21461
  };
21400
21462
  Returns: import("./types").Json;
21401
21463
  };
21464
+ logistics_plan_block: {
21465
+ Args: {
21466
+ p_details?: import("./types").Json;
21467
+ p_order_ids: string[];
21468
+ p_reason: string;
21469
+ };
21470
+ Returns: number;
21471
+ };
21402
21472
  logistics_plan_buffer_sql: {
21403
21473
  Args: {
21404
21474
  p_buffer_id: string;
@@ -21767,6 +21837,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21767
21837
  verwijderd: number;
21768
21838
  }[];
21769
21839
  };
21840
+ order_departure_proof: {
21841
+ Args: {
21842
+ p_order_id: string;
21843
+ };
21844
+ Returns: import("./types").Json;
21845
+ };
21770
21846
  order_number_prefix: {
21771
21847
  Args: {
21772
21848
  p_custom_fields?: import("./types").Json;
@@ -21774,6 +21850,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21774
21850
  };
21775
21851
  Returns: string;
21776
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
+ };
21777
21872
  pick_active_printers: {
21778
21873
  Args: never;
21779
21874
  Returns: {
@@ -22824,6 +22919,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22824
22919
  Args: never;
22825
22920
  Returns: string;
22826
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
+ };
22827
22934
  wo_create_from_source: {
22828
22935
  Args: {
22829
22936
  _payload?: import("./types").Json;
@@ -22862,6 +22969,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22862
22969
  };
22863
22970
  CompositeTypes: { [_ in never]: never; };
22864
22971
  }, {
22865
- PostgrestVersion: "14.5";
22972
+ PostgrestVersion: "14.17";
22866
22973
  }>;
22867
22974
  //# sourceMappingURL=client.server.d.ts.map