@flowselections/floriday-verkoop-module 1.0.38 → 1.0.40

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 (58) hide show
  1. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +50 -87
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +849 -60
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.d.ts +849 -60
  6. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.server.d.ts +849 -60
  8. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +830 -39
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-lock.functions.d.ts +849 -60
  12. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-planning-settings.functions.d.ts +8679 -0
  14. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-replan.functions.d.ts +2565 -198
  16. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/create-order.functions.d.ts +11835 -0
  18. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +2565 -198
  20. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +849 -60
  22. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-mirror.functions.d.ts +849 -60
  24. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-public.functions.d.ts +5523 -0
  26. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-writes.functions.d.ts +4505 -560
  28. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/load-carriers.functions.d.ts +849 -60
  30. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/logistics-engine.functions.d.ts +4511 -562
  32. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/logistics-stock.functions.d.ts +1578 -0
  34. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/order-addresses.functions.d.ts +849 -60
  36. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/order-buffers.functions.d.ts +2565 -198
  38. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/order-carrier.functions.d.ts +1578 -0
  40. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-pickup.functions.d.ts +1578 -0
  42. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-shipments.functions.d.ts +3535 -379
  44. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/salesorders-list.functions.d.ts +20393 -0
  46. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -0
  47. package/dist-lib/lib/salesorders-list.functions.js +21 -0
  48. package/dist-lib/lib/salesorders-list.server.d.ts +28 -0
  49. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -0
  50. package/dist-lib/lib/salesorders-list.server.js +713 -0
  51. package/dist-lib/lib/salesorders.functions.d.ts +4505 -560
  52. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/tradeitems.functions.d.ts +849 -60
  54. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/useSalesOrdersQuery.d.ts +24 -3
  56. package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
  57. package/dist-lib/lib/useSalesOrdersQuery.js +49 -594
  58. package/package.json +2 -2
@@ -1868,6 +1868,39 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
1868
1868
  referencedColumns: ["id"];
1869
1869
  }];
1870
1870
  };
1871
+ customer_notes: {
1872
+ Row: {
1873
+ created_at: string;
1874
+ customer_id: string | null;
1875
+ group_key: string | null;
1876
+ id: string;
1877
+ notes: string | null;
1878
+ updated_at: string;
1879
+ };
1880
+ Insert: {
1881
+ created_at?: string;
1882
+ customer_id?: string | null;
1883
+ group_key?: string | null;
1884
+ id?: string;
1885
+ notes?: string | null;
1886
+ updated_at?: string;
1887
+ };
1888
+ Update: {
1889
+ created_at?: string;
1890
+ customer_id?: string | null;
1891
+ group_key?: string | null;
1892
+ id?: string;
1893
+ notes?: string | null;
1894
+ updated_at?: string;
1895
+ };
1896
+ Relationships: [{
1897
+ foreignKeyName: "customer_notes_customer_id_fkey";
1898
+ columns: ["customer_id"];
1899
+ isOneToOne: true;
1900
+ referencedRelation: "customers";
1901
+ referencedColumns: ["id"];
1902
+ }];
1903
+ };
1871
1904
  customer_price_group_members: {
1872
1905
  Row: {
1873
1906
  created_at: string;
@@ -3443,74 +3476,542 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
3443
3476
  connection_id?: string;
3444
3477
  expires_at?: string | null;
3445
3478
  id?: string;
3446
- invoice_count?: number | null;
3447
- last_invoice_date?: string | null;
3448
- last_payment_date?: string | null;
3449
- open_balance?: number | null;
3450
- overdue_balance?: number | null;
3451
- total_revenue?: number | null;
3479
+ invoice_count?: number | null;
3480
+ last_invoice_date?: string | null;
3481
+ last_payment_date?: string | null;
3482
+ open_balance?: number | null;
3483
+ overdue_balance?: number | null;
3484
+ total_revenue?: number | null;
3485
+ };
3486
+ Relationships: [{
3487
+ foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
3488
+ columns: ["connection_id"];
3489
+ isOneToOne: false;
3490
+ referencedRelation: "exact_connections";
3491
+ referencedColumns: ["id"];
3492
+ }];
3493
+ };
3494
+ exact_analytics_cache: {
3495
+ Row: {
3496
+ analytics_type: string;
3497
+ avg_payment_days: number | null;
3498
+ computed_at: string;
3499
+ connection_id: string;
3500
+ data_raw: import("../integrations/supabase/types").Json | null;
3501
+ expires_at: string | null;
3502
+ id: string;
3503
+ open_count: number | null;
3504
+ overdue_amount: number | null;
3505
+ paid_this_month: number | null;
3506
+ period_key: string;
3507
+ total_invoiced: number | null;
3508
+ total_open: number | null;
3509
+ };
3510
+ Insert: {
3511
+ analytics_type: string;
3512
+ avg_payment_days?: number | null;
3513
+ computed_at?: string;
3514
+ connection_id: string;
3515
+ data_raw?: import("../integrations/supabase/types").Json | null;
3516
+ expires_at?: string | null;
3517
+ id?: string;
3518
+ open_count?: number | null;
3519
+ overdue_amount?: number | null;
3520
+ paid_this_month?: number | null;
3521
+ period_key: string;
3522
+ total_invoiced?: number | null;
3523
+ total_open?: number | null;
3524
+ };
3525
+ Update: {
3526
+ analytics_type?: string;
3527
+ avg_payment_days?: number | null;
3528
+ computed_at?: string;
3529
+ connection_id?: string;
3530
+ data_raw?: import("../integrations/supabase/types").Json | null;
3531
+ expires_at?: string | null;
3532
+ id?: string;
3533
+ open_count?: number | null;
3534
+ overdue_amount?: number | null;
3535
+ paid_this_month?: number | null;
3536
+ period_key?: string;
3537
+ total_invoiced?: number | null;
3538
+ total_open?: number | null;
3539
+ };
3540
+ Relationships: [{
3541
+ foreignKeyName: "exact_analytics_cache_connection_id_fkey";
3542
+ columns: ["connection_id"];
3543
+ isOneToOne: false;
3544
+ referencedRelation: "exact_connections";
3545
+ referencedColumns: ["id"];
3546
+ }];
3547
+ };
3548
+ exact_auth_call_budget: {
3549
+ Row: {
3550
+ account_key: string;
3551
+ day_count: number;
3552
+ day_date: string;
3553
+ division_code: number;
3554
+ environment: string;
3555
+ minute_count: number;
3556
+ minute_window: string;
3557
+ updated_at: string;
3558
+ };
3559
+ Insert: {
3560
+ account_key?: string;
3561
+ day_count?: number;
3562
+ day_date?: string;
3563
+ division_code?: number;
3564
+ environment: string;
3565
+ minute_count?: number;
3566
+ minute_window?: string;
3567
+ updated_at?: string;
3568
+ };
3569
+ Update: {
3570
+ account_key?: string;
3571
+ day_count?: number;
3572
+ day_date?: string;
3573
+ division_code?: number;
3574
+ environment?: string;
3575
+ minute_count?: number;
3576
+ minute_window?: string;
3577
+ updated_at?: string;
3578
+ };
3579
+ Relationships: [];
3580
+ };
3581
+ exact_auth_customers: {
3582
+ Row: {
3583
+ account_key: string;
3584
+ address_line1: string | null;
3585
+ chamber_of_commerce: string | null;
3586
+ city: string | null;
3587
+ code: string | null;
3588
+ country: string | null;
3589
+ created_at: string;
3590
+ currency: string | null;
3591
+ division_code: number | null;
3592
+ email: string | null;
3593
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3594
+ exact_id: string;
3595
+ exact_modified: string | null;
3596
+ exact_timestamp: number | null;
3597
+ id: string;
3598
+ is_active: boolean;
3599
+ name: string | null;
3600
+ phone: string | null;
3601
+ postcode: string | null;
3602
+ raw: import("../integrations/supabase/types").Json | null;
3603
+ status: string | null;
3604
+ updated_at: string;
3605
+ vat_number: string | null;
3606
+ website: string | null;
3607
+ };
3608
+ Insert: {
3609
+ account_key?: string;
3610
+ address_line1?: string | null;
3611
+ chamber_of_commerce?: string | null;
3612
+ city?: string | null;
3613
+ code?: string | null;
3614
+ country?: string | null;
3615
+ created_at?: string;
3616
+ currency?: string | null;
3617
+ division_code?: number | null;
3618
+ email?: string | null;
3619
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3620
+ exact_id: string;
3621
+ exact_modified?: string | null;
3622
+ exact_timestamp?: number | null;
3623
+ id?: string;
3624
+ is_active?: boolean;
3625
+ name?: string | null;
3626
+ phone?: string | null;
3627
+ postcode?: string | null;
3628
+ raw?: import("../integrations/supabase/types").Json | null;
3629
+ status?: string | null;
3630
+ updated_at?: string;
3631
+ vat_number?: string | null;
3632
+ website?: string | null;
3633
+ };
3634
+ Update: {
3635
+ account_key?: string;
3636
+ address_line1?: string | null;
3637
+ chamber_of_commerce?: string | null;
3638
+ city?: string | null;
3639
+ code?: string | null;
3640
+ country?: string | null;
3641
+ created_at?: string;
3642
+ currency?: string | null;
3643
+ division_code?: number | null;
3644
+ email?: string | null;
3645
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3646
+ exact_id?: string;
3647
+ exact_modified?: string | null;
3648
+ exact_timestamp?: number | null;
3649
+ id?: string;
3650
+ is_active?: boolean;
3651
+ name?: string | null;
3652
+ phone?: string | null;
3653
+ postcode?: string | null;
3654
+ raw?: import("../integrations/supabase/types").Json | null;
3655
+ status?: string | null;
3656
+ updated_at?: string;
3657
+ vat_number?: string | null;
3658
+ website?: string | null;
3659
+ };
3660
+ Relationships: [];
3661
+ };
3662
+ exact_auth_divisions: {
3663
+ Row: {
3664
+ account_key: string;
3665
+ company_name: string | null;
3666
+ created_at: string;
3667
+ division_code: number | null;
3668
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3669
+ id: string;
3670
+ last_synced_at: string | null;
3671
+ updated_at: string;
3672
+ };
3673
+ Insert: {
3674
+ account_key?: string;
3675
+ company_name?: string | null;
3676
+ created_at?: string;
3677
+ division_code?: number | null;
3678
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3679
+ id?: string;
3680
+ last_synced_at?: string | null;
3681
+ updated_at?: string;
3682
+ };
3683
+ Update: {
3684
+ account_key?: string;
3685
+ company_name?: string | null;
3686
+ created_at?: string;
3687
+ division_code?: number | null;
3688
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3689
+ id?: string;
3690
+ last_synced_at?: string | null;
3691
+ updated_at?: string;
3692
+ };
3693
+ Relationships: [];
3694
+ };
3695
+ exact_auth_invoice_lines: {
3696
+ Row: {
3697
+ account_key: string;
3698
+ amount_excl: number | null;
3699
+ created_at: string;
3700
+ description: string | null;
3701
+ discount: number | null;
3702
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3703
+ exact_id: string;
3704
+ exact_timestamp: number | null;
3705
+ id: string;
3706
+ invoice_exact_id: string;
3707
+ item_code: string | null;
3708
+ item_exact_id: string | null;
3709
+ line_number: number | null;
3710
+ quantity: number | null;
3711
+ raw: import("../integrations/supabase/types").Json | null;
3712
+ unit_price: number | null;
3713
+ updated_at: string;
3714
+ vat_amount: number | null;
3715
+ vat_code: string | null;
3716
+ };
3717
+ Insert: {
3718
+ account_key?: string;
3719
+ amount_excl?: number | null;
3720
+ created_at?: string;
3721
+ description?: string | null;
3722
+ discount?: number | null;
3723
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3724
+ exact_id: string;
3725
+ exact_timestamp?: number | null;
3726
+ id?: string;
3727
+ invoice_exact_id: string;
3728
+ item_code?: string | null;
3729
+ item_exact_id?: string | null;
3730
+ line_number?: number | null;
3731
+ quantity?: number | null;
3732
+ raw?: import("../integrations/supabase/types").Json | null;
3733
+ unit_price?: number | null;
3734
+ updated_at?: string;
3735
+ vat_amount?: number | null;
3736
+ vat_code?: string | null;
3737
+ };
3738
+ Update: {
3739
+ account_key?: string;
3740
+ amount_excl?: number | null;
3741
+ created_at?: string;
3742
+ description?: string | null;
3743
+ discount?: number | null;
3744
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3745
+ exact_id?: string;
3746
+ exact_timestamp?: number | null;
3747
+ id?: string;
3748
+ invoice_exact_id?: string;
3749
+ item_code?: string | null;
3750
+ item_exact_id?: string | null;
3751
+ line_number?: number | null;
3752
+ quantity?: number | null;
3753
+ raw?: import("../integrations/supabase/types").Json | null;
3754
+ unit_price?: number | null;
3755
+ updated_at?: string;
3756
+ vat_amount?: number | null;
3757
+ vat_code?: string | null;
3758
+ };
3759
+ Relationships: [];
3760
+ };
3761
+ exact_auth_invoices: {
3762
+ Row: {
3763
+ account_key: string;
3764
+ amount_excl: number | null;
3765
+ amount_incl: number | null;
3766
+ amount_open: number | null;
3767
+ created_at: string;
3768
+ currency: string | null;
3769
+ customer_code: string | null;
3770
+ customer_exact_id: string | null;
3771
+ customer_name: string | null;
3772
+ description: string | null;
3773
+ division_code: number | null;
3774
+ due_date: string | null;
3775
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3776
+ exact_id: string;
3777
+ exact_modified: string | null;
3778
+ exact_timestamp: number | null;
3779
+ id: string;
3780
+ invoice_date: string | null;
3781
+ invoice_number: string | null;
3782
+ order_number: string | null;
3783
+ paid_at: string | null;
3784
+ payment_status: string;
3785
+ raw: import("../integrations/supabase/types").Json | null;
3786
+ receivable_synced_at: string | null;
3787
+ status_code: number | null;
3788
+ updated_at: string;
3789
+ };
3790
+ Insert: {
3791
+ account_key?: string;
3792
+ amount_excl?: number | null;
3793
+ amount_incl?: number | null;
3794
+ amount_open?: number | null;
3795
+ created_at?: string;
3796
+ currency?: string | null;
3797
+ customer_code?: string | null;
3798
+ customer_exact_id?: string | null;
3799
+ customer_name?: string | null;
3800
+ description?: string | null;
3801
+ division_code?: number | null;
3802
+ due_date?: string | null;
3803
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3804
+ exact_id: string;
3805
+ exact_modified?: string | null;
3806
+ exact_timestamp?: number | null;
3807
+ id?: string;
3808
+ invoice_date?: string | null;
3809
+ invoice_number?: string | null;
3810
+ order_number?: string | null;
3811
+ paid_at?: string | null;
3812
+ payment_status?: string;
3813
+ raw?: import("../integrations/supabase/types").Json | null;
3814
+ receivable_synced_at?: string | null;
3815
+ status_code?: number | null;
3816
+ updated_at?: string;
3817
+ };
3818
+ Update: {
3819
+ account_key?: string;
3820
+ amount_excl?: number | null;
3821
+ amount_incl?: number | null;
3822
+ amount_open?: number | null;
3823
+ created_at?: string;
3824
+ currency?: string | null;
3825
+ customer_code?: string | null;
3826
+ customer_exact_id?: string | null;
3827
+ customer_name?: string | null;
3828
+ description?: string | null;
3829
+ division_code?: number | null;
3830
+ due_date?: string | null;
3831
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3832
+ exact_id?: string;
3833
+ exact_modified?: string | null;
3834
+ exact_timestamp?: number | null;
3835
+ id?: string;
3836
+ invoice_date?: string | null;
3837
+ invoice_number?: string | null;
3838
+ order_number?: string | null;
3839
+ paid_at?: string | null;
3840
+ payment_status?: string;
3841
+ raw?: import("../integrations/supabase/types").Json | null;
3842
+ receivable_synced_at?: string | null;
3843
+ status_code?: number | null;
3844
+ updated_at?: string;
3845
+ };
3846
+ Relationships: [];
3847
+ };
3848
+ exact_auth_items: {
3849
+ Row: {
3850
+ account_key: string;
3851
+ barcode: string | null;
3852
+ code: string | null;
3853
+ cost_price: number | null;
3854
+ created_at: string;
3855
+ description: string | null;
3856
+ division_code: number | null;
3857
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3858
+ exact_id: string;
3859
+ exact_modified: string | null;
3860
+ exact_timestamp: number | null;
3861
+ gl_account_code: string | null;
3862
+ id: string;
3863
+ is_active: boolean;
3864
+ is_sales_item: boolean | null;
3865
+ item_type: string | null;
3866
+ raw: import("../integrations/supabase/types").Json | null;
3867
+ sales_price: number | null;
3868
+ unit: string | null;
3869
+ updated_at: string;
3870
+ vat_code: string | null;
3871
+ };
3872
+ Insert: {
3873
+ account_key?: string;
3874
+ barcode?: string | null;
3875
+ code?: string | null;
3876
+ cost_price?: number | null;
3877
+ created_at?: string;
3878
+ description?: string | null;
3879
+ division_code?: number | null;
3880
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3881
+ exact_id: string;
3882
+ exact_modified?: string | null;
3883
+ exact_timestamp?: number | null;
3884
+ gl_account_code?: string | null;
3885
+ id?: string;
3886
+ is_active?: boolean;
3887
+ is_sales_item?: boolean | null;
3888
+ item_type?: string | null;
3889
+ raw?: import("../integrations/supabase/types").Json | null;
3890
+ sales_price?: number | null;
3891
+ unit?: string | null;
3892
+ updated_at?: string;
3893
+ vat_code?: string | null;
3894
+ };
3895
+ Update: {
3896
+ account_key?: string;
3897
+ barcode?: string | null;
3898
+ code?: string | null;
3899
+ cost_price?: number | null;
3900
+ created_at?: string;
3901
+ description?: string | null;
3902
+ division_code?: number | null;
3903
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3904
+ exact_id?: string;
3905
+ exact_modified?: string | null;
3906
+ exact_timestamp?: number | null;
3907
+ gl_account_code?: string | null;
3908
+ id?: string;
3909
+ is_active?: boolean;
3910
+ is_sales_item?: boolean | null;
3911
+ item_type?: string | null;
3912
+ raw?: import("../integrations/supabase/types").Json | null;
3913
+ sales_price?: number | null;
3914
+ unit?: string | null;
3915
+ updated_at?: string;
3916
+ vat_code?: string | null;
3917
+ };
3918
+ Relationships: [];
3919
+ };
3920
+ exact_auth_sync_log: {
3921
+ Row: {
3922
+ account_key: string;
3923
+ calls_used: number;
3924
+ created_at: string;
3925
+ domain: string;
3926
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3927
+ error: string | null;
3928
+ finished_at: string | null;
3929
+ id: string;
3930
+ ok: boolean;
3931
+ records: number;
3932
+ started_at: string;
3933
+ };
3934
+ Insert: {
3935
+ account_key?: string;
3936
+ calls_used?: number;
3937
+ created_at?: string;
3938
+ domain: string;
3939
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3940
+ error?: string | null;
3941
+ finished_at?: string | null;
3942
+ id?: string;
3943
+ ok?: boolean;
3944
+ records?: number;
3945
+ started_at?: string;
3946
+ };
3947
+ Update: {
3948
+ account_key?: string;
3949
+ calls_used?: number;
3950
+ created_at?: string;
3951
+ domain?: string;
3952
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3953
+ error?: string | null;
3954
+ finished_at?: string | null;
3955
+ id?: string;
3956
+ ok?: boolean;
3957
+ records?: number;
3958
+ started_at?: string;
3452
3959
  };
3453
- Relationships: [{
3454
- foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
3455
- columns: ["connection_id"];
3456
- isOneToOne: false;
3457
- referencedRelation: "exact_connections";
3458
- referencedColumns: ["id"];
3459
- }];
3960
+ Relationships: [];
3460
3961
  };
3461
- exact_analytics_cache: {
3962
+ exact_auth_sync_state: {
3462
3963
  Row: {
3463
- analytics_type: string;
3464
- avg_payment_days: number | null;
3465
- computed_at: string;
3466
- connection_id: string;
3467
- data_raw: import("../integrations/supabase/types").Json | null;
3468
- expires_at: string | null;
3469
- id: string;
3470
- open_count: number | null;
3471
- overdue_amount: number | null;
3472
- paid_this_month: number | null;
3473
- period_key: string;
3474
- total_invoiced: number | null;
3475
- total_open: number | null;
3964
+ account_key: string;
3965
+ created_at: string;
3966
+ cursor_timestamp: number;
3967
+ division_code: number | null;
3968
+ domain: string;
3969
+ duration_ms: number | null;
3970
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3971
+ initial_sync_done: boolean;
3972
+ last_error: string | null;
3973
+ last_run_at: string | null;
3974
+ last_success_at: string | null;
3975
+ locked_at: string | null;
3976
+ needs_initial_sync: boolean;
3977
+ record_count: number;
3978
+ updated_at: string;
3476
3979
  };
3477
3980
  Insert: {
3478
- analytics_type: string;
3479
- avg_payment_days?: number | null;
3480
- computed_at?: string;
3481
- connection_id: string;
3482
- data_raw?: import("../integrations/supabase/types").Json | null;
3483
- expires_at?: string | null;
3484
- id?: string;
3485
- open_count?: number | null;
3486
- overdue_amount?: number | null;
3487
- paid_this_month?: number | null;
3488
- period_key: string;
3489
- total_invoiced?: number | null;
3490
- total_open?: number | null;
3981
+ account_key?: string;
3982
+ created_at?: string;
3983
+ cursor_timestamp?: number;
3984
+ division_code?: number | null;
3985
+ domain: string;
3986
+ duration_ms?: number | null;
3987
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3988
+ initial_sync_done?: boolean;
3989
+ last_error?: string | null;
3990
+ last_run_at?: string | null;
3991
+ last_success_at?: string | null;
3992
+ locked_at?: string | null;
3993
+ needs_initial_sync?: boolean;
3994
+ record_count?: number;
3995
+ updated_at?: string;
3491
3996
  };
3492
3997
  Update: {
3493
- analytics_type?: string;
3494
- avg_payment_days?: number | null;
3495
- computed_at?: string;
3496
- connection_id?: string;
3497
- data_raw?: import("../integrations/supabase/types").Json | null;
3498
- expires_at?: string | null;
3499
- id?: string;
3500
- open_count?: number | null;
3501
- overdue_amount?: number | null;
3502
- paid_this_month?: number | null;
3503
- period_key?: string;
3504
- total_invoiced?: number | null;
3505
- total_open?: number | null;
3998
+ account_key?: string;
3999
+ created_at?: string;
4000
+ cursor_timestamp?: number;
4001
+ division_code?: number | null;
4002
+ domain?: string;
4003
+ duration_ms?: number | null;
4004
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4005
+ initial_sync_done?: boolean;
4006
+ last_error?: string | null;
4007
+ last_run_at?: string | null;
4008
+ last_success_at?: string | null;
4009
+ locked_at?: string | null;
4010
+ needs_initial_sync?: boolean;
4011
+ record_count?: number;
4012
+ updated_at?: string;
3506
4013
  };
3507
- Relationships: [{
3508
- foreignKeyName: "exact_analytics_cache_connection_id_fkey";
3509
- columns: ["connection_id"];
3510
- isOneToOne: false;
3511
- referencedRelation: "exact_connections";
3512
- referencedColumns: ["id"];
3513
- }];
4014
+ Relationships: [];
3514
4015
  };
3515
4016
  exact_bulk_operation_items: {
3516
4017
  Row: {
@@ -8174,6 +8675,66 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8174
8675
  };
8175
8676
  Relationships: [];
8176
8677
  };
8678
+ logistics_recalc_jobs: {
8679
+ Row: {
8680
+ carts_created: number;
8681
+ created_at: string;
8682
+ cursor: string | null;
8683
+ errors: import("../integrations/supabase/types").Json;
8684
+ failed: number;
8685
+ finished_at: string | null;
8686
+ id: string;
8687
+ last_tick_at: string | null;
8688
+ phase: string;
8689
+ processed: number;
8690
+ skipped_locked: number;
8691
+ started_by: string | null;
8692
+ status: string;
8693
+ steps: import("../integrations/supabase/types").Json;
8694
+ strategy_id: string | null;
8695
+ tasks_updated: number;
8696
+ updated_at: string;
8697
+ };
8698
+ Insert: {
8699
+ carts_created?: number;
8700
+ created_at?: string;
8701
+ cursor?: string | null;
8702
+ errors?: import("../integrations/supabase/types").Json;
8703
+ failed?: number;
8704
+ finished_at?: string | null;
8705
+ id?: string;
8706
+ last_tick_at?: string | null;
8707
+ phase?: string;
8708
+ processed?: number;
8709
+ skipped_locked?: number;
8710
+ started_by?: string | null;
8711
+ status?: string;
8712
+ steps?: import("../integrations/supabase/types").Json;
8713
+ strategy_id?: string | null;
8714
+ tasks_updated?: number;
8715
+ updated_at?: string;
8716
+ };
8717
+ Update: {
8718
+ carts_created?: number;
8719
+ created_at?: string;
8720
+ cursor?: string | null;
8721
+ errors?: import("../integrations/supabase/types").Json;
8722
+ failed?: number;
8723
+ finished_at?: string | null;
8724
+ id?: string;
8725
+ last_tick_at?: string | null;
8726
+ phase?: string;
8727
+ processed?: number;
8728
+ skipped_locked?: number;
8729
+ started_by?: string | null;
8730
+ status?: string;
8731
+ steps?: import("../integrations/supabase/types").Json;
8732
+ strategy_id?: string | null;
8733
+ tasks_updated?: number;
8734
+ updated_at?: string;
8735
+ };
8736
+ Relationships: [];
8737
+ };
8177
8738
  logistics_reschedules: {
8178
8739
  Row: {
8179
8740
  created_at: string;
@@ -8536,6 +9097,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8536
9097
  };
8537
9098
  logistics_tasks: {
8538
9099
  Row: {
9100
+ attempt_log: import("../integrations/supabase/types").Json;
9101
+ attempts: number;
8539
9102
  buffer_ref: string | null;
8540
9103
  claimed_at: string | null;
8541
9104
  claimed_by: string | null;
@@ -8545,6 +9108,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8545
9108
  due_at: string | null;
8546
9109
  error: string | null;
8547
9110
  id: string;
9111
+ last_error: string | null;
9112
+ next_attempt_at: string | null;
8548
9113
  order_ref: string;
8549
9114
  owner_module: string;
8550
9115
  payload: import("../integrations/supabase/types").Json;
@@ -8565,6 +9130,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8565
9130
  user_id: string;
8566
9131
  };
8567
9132
  Insert: {
9133
+ attempt_log?: import("../integrations/supabase/types").Json;
9134
+ attempts?: number;
8568
9135
  buffer_ref?: string | null;
8569
9136
  claimed_at?: string | null;
8570
9137
  claimed_by?: string | null;
@@ -8574,6 +9141,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8574
9141
  due_at?: string | null;
8575
9142
  error?: string | null;
8576
9143
  id?: string;
9144
+ last_error?: string | null;
9145
+ next_attempt_at?: string | null;
8577
9146
  order_ref: string;
8578
9147
  owner_module: string;
8579
9148
  payload?: import("../integrations/supabase/types").Json;
@@ -8594,6 +9163,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8594
9163
  user_id?: string;
8595
9164
  };
8596
9165
  Update: {
9166
+ attempt_log?: import("../integrations/supabase/types").Json;
9167
+ attempts?: number;
8597
9168
  buffer_ref?: string | null;
8598
9169
  claimed_at?: string | null;
8599
9170
  claimed_by?: string | null;
@@ -8603,6 +9174,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8603
9174
  due_at?: string | null;
8604
9175
  error?: string | null;
8605
9176
  id?: string;
9177
+ last_error?: string | null;
9178
+ next_attempt_at?: string | null;
8606
9179
  order_ref?: string;
8607
9180
  owner_module?: string;
8608
9181
  payload?: import("../integrations/supabase/types").Json;
@@ -9952,6 +10525,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
9952
10525
  };
9953
10526
  offer_settings: {
9954
10527
  Row: {
10528
+ brand_name: string | null;
9955
10529
  button_color: string;
9956
10530
  created_at: string;
9957
10531
  default_countries: string[];
@@ -9973,6 +10547,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
9973
10547
  updated_at: string;
9974
10548
  };
9975
10549
  Insert: {
10550
+ brand_name?: string | null;
9976
10551
  button_color?: string;
9977
10552
  created_at?: string;
9978
10553
  default_countries?: string[];
@@ -9994,6 +10569,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
9994
10569
  updated_at?: string;
9995
10570
  };
9996
10571
  Update: {
10572
+ brand_name?: string | null;
9997
10573
  button_color?: string;
9998
10574
  created_at?: string;
9999
10575
  default_countries?: string[];
@@ -13403,6 +13979,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13403
13979
  buffer_key: string | null;
13404
13980
  created_at: string;
13405
13981
  customer_names: string[];
13982
+ device_id: string | null;
13406
13983
  geprint: boolean;
13407
13984
  geprint_op: string | null;
13408
13985
  id: string;
@@ -13412,6 +13989,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13412
13989
  naar_pickstation: boolean;
13413
13990
  naar_pickstation_op: string | null;
13414
13991
  order_number: string | null;
13992
+ scanner_id: string | null;
13415
13993
  scanner_key: string;
13416
13994
  status: string;
13417
13995
  totaal_producten: number;
@@ -13422,6 +14000,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13422
14000
  buffer_key?: string | null;
13423
14001
  created_at?: string;
13424
14002
  customer_names?: string[];
14003
+ device_id?: string | null;
13425
14004
  geprint?: boolean;
13426
14005
  geprint_op?: string | null;
13427
14006
  id?: string;
@@ -13431,6 +14010,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13431
14010
  naar_pickstation?: boolean;
13432
14011
  naar_pickstation_op?: string | null;
13433
14012
  order_number?: string | null;
14013
+ scanner_id?: string | null;
13434
14014
  scanner_key?: string;
13435
14015
  status?: string;
13436
14016
  totaal_producten?: number;
@@ -13441,6 +14021,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13441
14021
  buffer_key?: string | null;
13442
14022
  created_at?: string;
13443
14023
  customer_names?: string[];
14024
+ device_id?: string | null;
13444
14025
  geprint?: boolean;
13445
14026
  geprint_op?: string | null;
13446
14027
  id?: string;
@@ -13450,6 +14031,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13450
14031
  naar_pickstation?: boolean;
13451
14032
  naar_pickstation_op?: string | null;
13452
14033
  order_number?: string | null;
14034
+ scanner_id?: string | null;
13453
14035
  scanner_key?: string;
13454
14036
  status?: string;
13455
14037
  totaal_producten?: number;
@@ -13461,31 +14043,46 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13461
14043
  Row: {
13462
14044
  code: string;
13463
14045
  created_at: string;
14046
+ device_id: string | null;
13464
14047
  id: string;
13465
14048
  kar_id: string | null;
14049
+ latency_ms: number | null;
14050
+ medewerker_naam: string | null;
13466
14051
  message: string | null;
13467
14052
  result: string;
14053
+ retry_count: number;
13468
14054
  scanner_key: string;
14055
+ session_id: string | null;
13469
14056
  user_id: string | null;
13470
14057
  };
13471
14058
  Insert: {
13472
14059
  code: string;
13473
14060
  created_at?: string;
14061
+ device_id?: string | null;
13474
14062
  id?: string;
13475
14063
  kar_id?: string | null;
14064
+ latency_ms?: number | null;
14065
+ medewerker_naam?: string | null;
13476
14066
  message?: string | null;
13477
14067
  result: string;
14068
+ retry_count?: number;
13478
14069
  scanner_key?: string;
14070
+ session_id?: string | null;
13479
14071
  user_id?: string | null;
13480
14072
  };
13481
14073
  Update: {
13482
14074
  code?: string;
13483
14075
  created_at?: string;
14076
+ device_id?: string | null;
13484
14077
  id?: string;
13485
14078
  kar_id?: string | null;
14079
+ latency_ms?: number | null;
14080
+ medewerker_naam?: string | null;
13486
14081
  message?: string | null;
13487
14082
  result?: string;
14083
+ retry_count?: number;
13488
14084
  scanner_key?: string;
14085
+ session_id?: string | null;
13489
14086
  user_id?: string | null;
13490
14087
  };
13491
14088
  Relationships: [];
@@ -13542,6 +14139,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13542
14139
  printed_at: string;
13543
14140
  status: string;
13544
14141
  updated_at: string;
14142
+ vergrendeld_door: string | null;
14143
+ vergrendeld_sessie: string | null;
14144
+ vergrendeld_tot: string | null;
13545
14145
  };
13546
14146
  Insert: {
13547
14147
  barcode: string;
@@ -13555,6 +14155,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13555
14155
  printed_at?: string;
13556
14156
  status?: string;
13557
14157
  updated_at?: string;
14158
+ vergrendeld_door?: string | null;
14159
+ vergrendeld_sessie?: string | null;
14160
+ vergrendeld_tot?: string | null;
13558
14161
  };
13559
14162
  Update: {
13560
14163
  barcode?: string;
@@ -13568,6 +14171,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13568
14171
  printed_at?: string;
13569
14172
  status?: string;
13570
14173
  updated_at?: string;
14174
+ vergrendeld_door?: string | null;
14175
+ vergrendeld_sessie?: string | null;
14176
+ vergrendeld_tot?: string | null;
13571
14177
  };
13572
14178
  Relationships: [];
13573
14179
  };
@@ -13576,31 +14182,40 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13576
14182
  actief: boolean;
13577
14183
  created_at: string;
13578
14184
  id: string;
14185
+ max_producten_per_kar: number | null;
13579
14186
  naam: string;
13580
14187
  omschrijving: string | null;
14188
+ pincode: string | null;
13581
14189
  slug: string;
13582
14190
  type: string;
13583
14191
  updated_at: string;
14192
+ vereist_medewerker: boolean;
13584
14193
  };
13585
14194
  Insert: {
13586
14195
  actief?: boolean;
13587
14196
  created_at?: string;
13588
14197
  id?: string;
14198
+ max_producten_per_kar?: number | null;
13589
14199
  naam: string;
13590
14200
  omschrijving?: string | null;
14201
+ pincode?: string | null;
13591
14202
  slug: string;
13592
14203
  type?: string;
13593
14204
  updated_at?: string;
14205
+ vereist_medewerker?: boolean;
13594
14206
  };
13595
14207
  Update: {
13596
14208
  actief?: boolean;
13597
14209
  created_at?: string;
13598
14210
  id?: string;
14211
+ max_producten_per_kar?: number | null;
13599
14212
  naam?: string;
13600
14213
  omschrijving?: string | null;
14214
+ pincode?: string | null;
13601
14215
  slug?: string;
13602
14216
  type?: string;
13603
14217
  updated_at?: string;
14218
+ vereist_medewerker?: boolean;
13604
14219
  };
13605
14220
  Relationships: [];
13606
14221
  };
@@ -17565,6 +18180,54 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
17565
18180
  };
17566
18181
  Returns: import("../integrations/supabase/types").Json;
17567
18182
  };
18183
+ claim_logistics_tasks: {
18184
+ Args: {
18185
+ _limit?: number;
18186
+ _owner_module: string;
18187
+ _stale_minutes?: number;
18188
+ _task_type: string;
18189
+ _worker: string;
18190
+ };
18191
+ Returns: {
18192
+ attempt_log: import("../integrations/supabase/types").Json;
18193
+ attempts: number;
18194
+ buffer_ref: string | null;
18195
+ claimed_at: string | null;
18196
+ claimed_by: string | null;
18197
+ completed_at: string | null;
18198
+ created_at: string;
18199
+ depends_on: string[];
18200
+ due_at: string | null;
18201
+ error: string | null;
18202
+ id: string;
18203
+ last_error: string | null;
18204
+ next_attempt_at: string | null;
18205
+ order_ref: string;
18206
+ owner_module: string;
18207
+ payload: import("../integrations/supabase/types").Json;
18208
+ plan_run_id: string | null;
18209
+ planned_end: string | null;
18210
+ planned_start: string | null;
18211
+ priority: number;
18212
+ result: import("../integrations/supabase/types").Json | null;
18213
+ rule_config_id: string | null;
18214
+ rule_version: number | null;
18215
+ sequence: number;
18216
+ shadow: boolean;
18217
+ started_at: string | null;
18218
+ status: string;
18219
+ strategy_id: string | null;
18220
+ task_type: string;
18221
+ updated_at: string;
18222
+ user_id: string;
18223
+ }[];
18224
+ SetofOptions: {
18225
+ from: "*";
18226
+ to: "logistics_tasks";
18227
+ isOneToOne: false;
18228
+ isSetofReturn: true;
18229
+ };
18230
+ };
17568
18231
  claim_print_jobs: {
17569
18232
  Args: {
17570
18233
  _agent_id: string;
@@ -17805,6 +18468,21 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
17805
18468
  Args: never;
17806
18469
  Returns: string;
17807
18470
  };
18471
+ exact_auth_consume_calls: {
18472
+ Args: {
18473
+ _account_key: string;
18474
+ _calls?: number;
18475
+ _day_limit?: number;
18476
+ _division_code: number;
18477
+ _environment: string;
18478
+ _minute_limit?: number;
18479
+ };
18480
+ Returns: import("../integrations/supabase/types").Json;
18481
+ };
18482
+ exact_auth_prune_sync_log: {
18483
+ Args: never;
18484
+ Returns: undefined;
18485
+ };
17808
18486
  exact_decrypt: {
17809
18487
  Args: {
17810
18488
  cipher: string;
@@ -18014,6 +18692,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18014
18692
  };
18015
18693
  Returns: number;
18016
18694
  };
18695
+ get_offer_branding: {
18696
+ Args: never;
18697
+ Returns: import("../integrations/supabase/types").Json;
18698
+ };
18017
18699
  get_offer_by_link_code: {
18018
18700
  Args: {
18019
18701
  p_code: string;
@@ -18185,6 +18867,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18185
18867
  };
18186
18868
  Returns: string;
18187
18869
  };
18870
+ logistics_active_pick_workdays: {
18871
+ Args: never;
18872
+ Returns: string[];
18873
+ };
18188
18874
  logistics_address_key: {
18189
18875
  Args: {
18190
18876
  p_location: string;
@@ -18301,6 +18987,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18301
18987
  p_worker?: string;
18302
18988
  };
18303
18989
  Returns: {
18990
+ attempt_log: import("../integrations/supabase/types").Json;
18991
+ attempts: number;
18304
18992
  buffer_ref: string | null;
18305
18993
  claimed_at: string | null;
18306
18994
  claimed_by: string | null;
@@ -18310,6 +18998,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18310
18998
  due_at: string | null;
18311
18999
  error: string | null;
18312
19000
  id: string;
19001
+ last_error: string | null;
19002
+ next_attempt_at: string | null;
18313
19003
  order_ref: string;
18314
19004
  owner_module: string;
18315
19005
  payload: import("../integrations/supabase/types").Json;
@@ -18342,6 +19032,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18342
19032
  p_worker?: string;
18343
19033
  };
18344
19034
  Returns: {
19035
+ attempt_log: import("../integrations/supabase/types").Json;
19036
+ attempts: number;
18345
19037
  buffer_ref: string | null;
18346
19038
  claimed_at: string | null;
18347
19039
  claimed_by: string | null;
@@ -18351,6 +19043,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18351
19043
  due_at: string | null;
18352
19044
  error: string | null;
18353
19045
  id: string;
19046
+ last_error: string | null;
19047
+ next_attempt_at: string | null;
18354
19048
  order_ref: string;
18355
19049
  owner_module: string;
18356
19050
  payload: import("../integrations/supabase/types").Json;
@@ -18383,6 +19077,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18383
19077
  p_task_id: string;
18384
19078
  };
18385
19079
  Returns: {
19080
+ attempt_log: import("../integrations/supabase/types").Json;
19081
+ attempts: number;
18386
19082
  buffer_ref: string | null;
18387
19083
  claimed_at: string | null;
18388
19084
  claimed_by: string | null;
@@ -18392,6 +19088,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18392
19088
  due_at: string | null;
18393
19089
  error: string | null;
18394
19090
  id: string;
19091
+ last_error: string | null;
19092
+ next_attempt_at: string | null;
18395
19093
  order_ref: string;
18396
19094
  owner_module: string;
18397
19095
  payload: import("../integrations/supabase/types").Json;
@@ -18473,6 +19171,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18473
19171
  p_task_id: string;
18474
19172
  };
18475
19173
  Returns: {
19174
+ attempt_log: import("../integrations/supabase/types").Json;
19175
+ attempts: number;
18476
19176
  buffer_ref: string | null;
18477
19177
  claimed_at: string | null;
18478
19178
  claimed_by: string | null;
@@ -18482,6 +19182,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18482
19182
  due_at: string | null;
18483
19183
  error: string | null;
18484
19184
  id: string;
19185
+ last_error: string | null;
19186
+ next_attempt_at: string | null;
18485
19187
  order_ref: string;
18486
19188
  owner_module: string;
18487
19189
  payload: import("../integrations/supabase/types").Json;
@@ -18508,12 +19210,30 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18508
19210
  isSetofReturn: false;
18509
19211
  };
18510
19212
  };
19213
+ logistics_live_carriers: {
19214
+ Args: {
19215
+ p_order_ref: string;
19216
+ };
19217
+ Returns: import("../integrations/supabase/types").Json;
19218
+ };
19219
+ logistics_live_cart_count: {
19220
+ Args: {
19221
+ p_order_ref: string;
19222
+ };
19223
+ Returns: number;
19224
+ };
18511
19225
  logistics_not_past: {
18512
19226
  Args: {
18513
19227
  p_ts: string;
18514
19228
  };
18515
19229
  Returns: string;
18516
19230
  };
19231
+ logistics_order_cart_count: {
19232
+ Args: {
19233
+ p_order_ref: string;
19234
+ };
19235
+ Returns: number;
19236
+ };
18517
19237
  logistics_order_pick_day: {
18518
19238
  Args: {
18519
19239
  p_order_ref: string;
@@ -18690,6 +19410,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18690
19410
  };
18691
19411
  Returns: import("../integrations/supabase/types").Json;
18692
19412
  };
19413
+ logistics_shift_to_workday: {
19414
+ Args: {
19415
+ p_days: string[];
19416
+ p_ts: string;
19417
+ };
19418
+ Returns: string;
19419
+ };
18693
19420
  logistics_supersede_stale_tasks: {
18694
19421
  Args: {
18695
19422
  p_keep: string[];
@@ -18975,6 +19702,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18975
19702
  isSetofReturn: false;
18976
19703
  };
18977
19704
  };
19705
+ pick_current_pick_day: {
19706
+ Args: never;
19707
+ Returns: string;
19708
+ };
18978
19709
  pick_document_layout_data: {
18979
19710
  Args: {
18980
19711
  _layout_id: string;
@@ -19206,10 +19937,68 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
19206
19937
  Args: never;
19207
19938
  Returns: undefined;
19208
19939
  };
19940
+ run_logistics_tasks_dispatch: {
19941
+ Args: never;
19942
+ Returns: undefined;
19943
+ };
19209
19944
  run_twinfield_queue_tick: {
19210
19945
  Args: never;
19211
19946
  Returns: undefined;
19212
19947
  };
19948
+ scan_cancel_kar: {
19949
+ Args: {
19950
+ p_kar_id: string;
19951
+ };
19952
+ Returns: import("../integrations/supabase/types").Json;
19953
+ };
19954
+ scan_dashboard_stats: {
19955
+ Args: {
19956
+ p_dagen?: number;
19957
+ };
19958
+ Returns: import("../integrations/supabase/types").Json;
19959
+ };
19960
+ scan_finish_kar: {
19961
+ Args: {
19962
+ p_kar_id: string;
19963
+ };
19964
+ Returns: import("../integrations/supabase/types").Json;
19965
+ };
19966
+ scan_register_item: {
19967
+ Args: {
19968
+ p_kar_id: string;
19969
+ p_pakbon_item_id: string;
19970
+ p_scanned_by?: string;
19971
+ };
19972
+ Returns: import("../integrations/supabase/types").Json;
19973
+ };
19974
+ scan_release_expired_locks: {
19975
+ Args: never;
19976
+ Returns: import("../integrations/supabase/types").Json;
19977
+ };
19978
+ scan_remove_item: {
19979
+ Args: {
19980
+ p_kar_item_id: string;
19981
+ };
19982
+ Returns: import("../integrations/supabase/types").Json;
19983
+ };
19984
+ scan_start_kar: {
19985
+ Args: {
19986
+ p_medewerker_id?: string;
19987
+ p_medewerker_naam?: string;
19988
+ p_pakbon_ids: string[];
19989
+ p_scanner_key?: string;
19990
+ };
19991
+ Returns: import("../integrations/supabase/types").Json;
19992
+ } | {
19993
+ Args: {
19994
+ p_medewerker_id?: string;
19995
+ p_medewerker_naam?: string;
19996
+ p_pakbon_ids: string[];
19997
+ p_scanner_key?: string;
19998
+ p_sessie?: string;
19999
+ };
20000
+ Returns: import("../integrations/supabase/types").Json;
20001
+ };
19213
20002
  schedule_floriday_additional_services_sync: {
19214
20003
  Args: {
19215
20004
  p_apikey: string;