@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
@@ -1859,6 +1859,39 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
1859
1859
  referencedColumns: ["id"];
1860
1860
  }];
1861
1861
  };
1862
+ customer_notes: {
1863
+ Row: {
1864
+ created_at: string;
1865
+ customer_id: string | null;
1866
+ group_key: string | null;
1867
+ id: string;
1868
+ notes: string | null;
1869
+ updated_at: string;
1870
+ };
1871
+ Insert: {
1872
+ created_at?: string;
1873
+ customer_id?: string | null;
1874
+ group_key?: string | null;
1875
+ id?: string;
1876
+ notes?: string | null;
1877
+ updated_at?: string;
1878
+ };
1879
+ Update: {
1880
+ created_at?: string;
1881
+ customer_id?: string | null;
1882
+ group_key?: string | null;
1883
+ id?: string;
1884
+ notes?: string | null;
1885
+ updated_at?: string;
1886
+ };
1887
+ Relationships: [{
1888
+ foreignKeyName: "customer_notes_customer_id_fkey";
1889
+ columns: ["customer_id"];
1890
+ isOneToOne: true;
1891
+ referencedRelation: "customers";
1892
+ referencedColumns: ["id"];
1893
+ }];
1894
+ };
1862
1895
  customer_price_group_members: {
1863
1896
  Row: {
1864
1897
  created_at: string;
@@ -3434,74 +3467,542 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
3434
3467
  connection_id?: string;
3435
3468
  expires_at?: string | null;
3436
3469
  id?: string;
3437
- invoice_count?: number | null;
3438
- last_invoice_date?: string | null;
3439
- last_payment_date?: string | null;
3440
- open_balance?: number | null;
3441
- overdue_balance?: number | null;
3442
- total_revenue?: number | null;
3470
+ invoice_count?: number | null;
3471
+ last_invoice_date?: string | null;
3472
+ last_payment_date?: string | null;
3473
+ open_balance?: number | null;
3474
+ overdue_balance?: number | null;
3475
+ total_revenue?: number | null;
3476
+ };
3477
+ Relationships: [{
3478
+ foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
3479
+ columns: ["connection_id"];
3480
+ isOneToOne: false;
3481
+ referencedRelation: "exact_connections";
3482
+ referencedColumns: ["id"];
3483
+ }];
3484
+ };
3485
+ exact_analytics_cache: {
3486
+ Row: {
3487
+ analytics_type: string;
3488
+ avg_payment_days: number | null;
3489
+ computed_at: string;
3490
+ connection_id: string;
3491
+ data_raw: import("../integrations/supabase/types").Json | null;
3492
+ expires_at: string | null;
3493
+ id: string;
3494
+ open_count: number | null;
3495
+ overdue_amount: number | null;
3496
+ paid_this_month: number | null;
3497
+ period_key: string;
3498
+ total_invoiced: number | null;
3499
+ total_open: number | null;
3500
+ };
3501
+ Insert: {
3502
+ analytics_type: string;
3503
+ avg_payment_days?: number | null;
3504
+ computed_at?: string;
3505
+ connection_id: string;
3506
+ data_raw?: import("../integrations/supabase/types").Json | null;
3507
+ expires_at?: string | null;
3508
+ id?: string;
3509
+ open_count?: number | null;
3510
+ overdue_amount?: number | null;
3511
+ paid_this_month?: number | null;
3512
+ period_key: string;
3513
+ total_invoiced?: number | null;
3514
+ total_open?: number | null;
3515
+ };
3516
+ Update: {
3517
+ analytics_type?: string;
3518
+ avg_payment_days?: number | null;
3519
+ computed_at?: string;
3520
+ connection_id?: string;
3521
+ data_raw?: import("../integrations/supabase/types").Json | null;
3522
+ expires_at?: string | null;
3523
+ id?: string;
3524
+ open_count?: number | null;
3525
+ overdue_amount?: number | null;
3526
+ paid_this_month?: number | null;
3527
+ period_key?: string;
3528
+ total_invoiced?: number | null;
3529
+ total_open?: number | null;
3530
+ };
3531
+ Relationships: [{
3532
+ foreignKeyName: "exact_analytics_cache_connection_id_fkey";
3533
+ columns: ["connection_id"];
3534
+ isOneToOne: false;
3535
+ referencedRelation: "exact_connections";
3536
+ referencedColumns: ["id"];
3537
+ }];
3538
+ };
3539
+ exact_auth_call_budget: {
3540
+ Row: {
3541
+ account_key: string;
3542
+ day_count: number;
3543
+ day_date: string;
3544
+ division_code: number;
3545
+ environment: string;
3546
+ minute_count: number;
3547
+ minute_window: string;
3548
+ updated_at: string;
3549
+ };
3550
+ Insert: {
3551
+ account_key?: string;
3552
+ day_count?: number;
3553
+ day_date?: string;
3554
+ division_code?: number;
3555
+ environment: string;
3556
+ minute_count?: number;
3557
+ minute_window?: string;
3558
+ updated_at?: string;
3559
+ };
3560
+ Update: {
3561
+ account_key?: string;
3562
+ day_count?: number;
3563
+ day_date?: string;
3564
+ division_code?: number;
3565
+ environment?: string;
3566
+ minute_count?: number;
3567
+ minute_window?: string;
3568
+ updated_at?: string;
3569
+ };
3570
+ Relationships: [];
3571
+ };
3572
+ exact_auth_customers: {
3573
+ Row: {
3574
+ account_key: string;
3575
+ address_line1: string | null;
3576
+ chamber_of_commerce: string | null;
3577
+ city: string | null;
3578
+ code: string | null;
3579
+ country: string | null;
3580
+ created_at: string;
3581
+ currency: string | null;
3582
+ division_code: number | null;
3583
+ email: string | null;
3584
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3585
+ exact_id: string;
3586
+ exact_modified: string | null;
3587
+ exact_timestamp: number | null;
3588
+ id: string;
3589
+ is_active: boolean;
3590
+ name: string | null;
3591
+ phone: string | null;
3592
+ postcode: string | null;
3593
+ raw: import("../integrations/supabase/types").Json | null;
3594
+ status: string | null;
3595
+ updated_at: string;
3596
+ vat_number: string | null;
3597
+ website: string | null;
3598
+ };
3599
+ Insert: {
3600
+ account_key?: string;
3601
+ address_line1?: string | null;
3602
+ chamber_of_commerce?: string | null;
3603
+ city?: string | null;
3604
+ code?: string | null;
3605
+ country?: string | null;
3606
+ created_at?: string;
3607
+ currency?: string | null;
3608
+ division_code?: number | null;
3609
+ email?: string | null;
3610
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3611
+ exact_id: string;
3612
+ exact_modified?: string | null;
3613
+ exact_timestamp?: number | null;
3614
+ id?: string;
3615
+ is_active?: boolean;
3616
+ name?: string | null;
3617
+ phone?: string | null;
3618
+ postcode?: string | null;
3619
+ raw?: import("../integrations/supabase/types").Json | null;
3620
+ status?: string | null;
3621
+ updated_at?: string;
3622
+ vat_number?: string | null;
3623
+ website?: string | null;
3624
+ };
3625
+ Update: {
3626
+ account_key?: string;
3627
+ address_line1?: string | null;
3628
+ chamber_of_commerce?: string | null;
3629
+ city?: string | null;
3630
+ code?: string | null;
3631
+ country?: string | null;
3632
+ created_at?: string;
3633
+ currency?: string | null;
3634
+ division_code?: number | null;
3635
+ email?: string | null;
3636
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3637
+ exact_id?: string;
3638
+ exact_modified?: string | null;
3639
+ exact_timestamp?: number | null;
3640
+ id?: string;
3641
+ is_active?: boolean;
3642
+ name?: string | null;
3643
+ phone?: string | null;
3644
+ postcode?: string | null;
3645
+ raw?: import("../integrations/supabase/types").Json | null;
3646
+ status?: string | null;
3647
+ updated_at?: string;
3648
+ vat_number?: string | null;
3649
+ website?: string | null;
3650
+ };
3651
+ Relationships: [];
3652
+ };
3653
+ exact_auth_divisions: {
3654
+ Row: {
3655
+ account_key: string;
3656
+ company_name: string | null;
3657
+ created_at: string;
3658
+ division_code: number | null;
3659
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3660
+ id: string;
3661
+ last_synced_at: string | null;
3662
+ updated_at: string;
3663
+ };
3664
+ Insert: {
3665
+ account_key?: string;
3666
+ company_name?: string | null;
3667
+ created_at?: string;
3668
+ division_code?: number | null;
3669
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3670
+ id?: string;
3671
+ last_synced_at?: string | null;
3672
+ updated_at?: string;
3673
+ };
3674
+ Update: {
3675
+ account_key?: string;
3676
+ company_name?: string | null;
3677
+ created_at?: string;
3678
+ division_code?: number | null;
3679
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3680
+ id?: string;
3681
+ last_synced_at?: string | null;
3682
+ updated_at?: string;
3683
+ };
3684
+ Relationships: [];
3685
+ };
3686
+ exact_auth_invoice_lines: {
3687
+ Row: {
3688
+ account_key: string;
3689
+ amount_excl: number | null;
3690
+ created_at: string;
3691
+ description: string | null;
3692
+ discount: number | null;
3693
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3694
+ exact_id: string;
3695
+ exact_timestamp: number | null;
3696
+ id: string;
3697
+ invoice_exact_id: string;
3698
+ item_code: string | null;
3699
+ item_exact_id: string | null;
3700
+ line_number: number | null;
3701
+ quantity: number | null;
3702
+ raw: import("../integrations/supabase/types").Json | null;
3703
+ unit_price: number | null;
3704
+ updated_at: string;
3705
+ vat_amount: number | null;
3706
+ vat_code: string | null;
3707
+ };
3708
+ Insert: {
3709
+ account_key?: string;
3710
+ amount_excl?: number | null;
3711
+ created_at?: string;
3712
+ description?: string | null;
3713
+ discount?: number | null;
3714
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3715
+ exact_id: string;
3716
+ exact_timestamp?: number | null;
3717
+ id?: string;
3718
+ invoice_exact_id: string;
3719
+ item_code?: string | null;
3720
+ item_exact_id?: string | null;
3721
+ line_number?: number | null;
3722
+ quantity?: number | null;
3723
+ raw?: import("../integrations/supabase/types").Json | null;
3724
+ unit_price?: number | null;
3725
+ updated_at?: string;
3726
+ vat_amount?: number | null;
3727
+ vat_code?: string | null;
3728
+ };
3729
+ Update: {
3730
+ account_key?: string;
3731
+ amount_excl?: number | null;
3732
+ created_at?: string;
3733
+ description?: string | null;
3734
+ discount?: number | null;
3735
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3736
+ exact_id?: string;
3737
+ exact_timestamp?: number | null;
3738
+ id?: string;
3739
+ invoice_exact_id?: string;
3740
+ item_code?: string | null;
3741
+ item_exact_id?: string | null;
3742
+ line_number?: number | null;
3743
+ quantity?: number | null;
3744
+ raw?: import("../integrations/supabase/types").Json | null;
3745
+ unit_price?: number | null;
3746
+ updated_at?: string;
3747
+ vat_amount?: number | null;
3748
+ vat_code?: string | null;
3749
+ };
3750
+ Relationships: [];
3751
+ };
3752
+ exact_auth_invoices: {
3753
+ Row: {
3754
+ account_key: string;
3755
+ amount_excl: number | null;
3756
+ amount_incl: number | null;
3757
+ amount_open: number | null;
3758
+ created_at: string;
3759
+ currency: string | null;
3760
+ customer_code: string | null;
3761
+ customer_exact_id: string | null;
3762
+ customer_name: string | null;
3763
+ description: string | null;
3764
+ division_code: number | null;
3765
+ due_date: string | null;
3766
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3767
+ exact_id: string;
3768
+ exact_modified: string | null;
3769
+ exact_timestamp: number | null;
3770
+ id: string;
3771
+ invoice_date: string | null;
3772
+ invoice_number: string | null;
3773
+ order_number: string | null;
3774
+ paid_at: string | null;
3775
+ payment_status: string;
3776
+ raw: import("../integrations/supabase/types").Json | null;
3777
+ receivable_synced_at: string | null;
3778
+ status_code: number | null;
3779
+ updated_at: string;
3780
+ };
3781
+ Insert: {
3782
+ account_key?: string;
3783
+ amount_excl?: number | null;
3784
+ amount_incl?: number | null;
3785
+ amount_open?: number | null;
3786
+ created_at?: string;
3787
+ currency?: string | null;
3788
+ customer_code?: string | null;
3789
+ customer_exact_id?: string | null;
3790
+ customer_name?: string | null;
3791
+ description?: string | null;
3792
+ division_code?: number | null;
3793
+ due_date?: string | null;
3794
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3795
+ exact_id: string;
3796
+ exact_modified?: string | null;
3797
+ exact_timestamp?: number | null;
3798
+ id?: string;
3799
+ invoice_date?: string | null;
3800
+ invoice_number?: string | null;
3801
+ order_number?: string | null;
3802
+ paid_at?: string | null;
3803
+ payment_status?: string;
3804
+ raw?: import("../integrations/supabase/types").Json | null;
3805
+ receivable_synced_at?: string | null;
3806
+ status_code?: number | null;
3807
+ updated_at?: string;
3808
+ };
3809
+ Update: {
3810
+ account_key?: string;
3811
+ amount_excl?: number | null;
3812
+ amount_incl?: number | null;
3813
+ amount_open?: number | null;
3814
+ created_at?: string;
3815
+ currency?: string | null;
3816
+ customer_code?: string | null;
3817
+ customer_exact_id?: string | null;
3818
+ customer_name?: string | null;
3819
+ description?: string | null;
3820
+ division_code?: number | null;
3821
+ due_date?: string | null;
3822
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3823
+ exact_id?: string;
3824
+ exact_modified?: string | null;
3825
+ exact_timestamp?: number | null;
3826
+ id?: string;
3827
+ invoice_date?: string | null;
3828
+ invoice_number?: string | null;
3829
+ order_number?: string | null;
3830
+ paid_at?: string | null;
3831
+ payment_status?: string;
3832
+ raw?: import("../integrations/supabase/types").Json | null;
3833
+ receivable_synced_at?: string | null;
3834
+ status_code?: number | null;
3835
+ updated_at?: string;
3836
+ };
3837
+ Relationships: [];
3838
+ };
3839
+ exact_auth_items: {
3840
+ Row: {
3841
+ account_key: string;
3842
+ barcode: string | null;
3843
+ code: string | null;
3844
+ cost_price: number | null;
3845
+ created_at: string;
3846
+ description: string | null;
3847
+ division_code: number | null;
3848
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3849
+ exact_id: string;
3850
+ exact_modified: string | null;
3851
+ exact_timestamp: number | null;
3852
+ gl_account_code: string | null;
3853
+ id: string;
3854
+ is_active: boolean;
3855
+ is_sales_item: boolean | null;
3856
+ item_type: string | null;
3857
+ raw: import("../integrations/supabase/types").Json | null;
3858
+ sales_price: number | null;
3859
+ unit: string | null;
3860
+ updated_at: string;
3861
+ vat_code: string | null;
3862
+ };
3863
+ Insert: {
3864
+ account_key?: string;
3865
+ barcode?: string | null;
3866
+ code?: string | null;
3867
+ cost_price?: number | null;
3868
+ created_at?: string;
3869
+ description?: string | null;
3870
+ division_code?: number | null;
3871
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3872
+ exact_id: string;
3873
+ exact_modified?: string | null;
3874
+ exact_timestamp?: number | null;
3875
+ gl_account_code?: string | null;
3876
+ id?: string;
3877
+ is_active?: boolean;
3878
+ is_sales_item?: boolean | null;
3879
+ item_type?: string | null;
3880
+ raw?: import("../integrations/supabase/types").Json | null;
3881
+ sales_price?: number | null;
3882
+ unit?: string | null;
3883
+ updated_at?: string;
3884
+ vat_code?: string | null;
3885
+ };
3886
+ Update: {
3887
+ account_key?: string;
3888
+ barcode?: string | null;
3889
+ code?: string | null;
3890
+ cost_price?: number | null;
3891
+ created_at?: string;
3892
+ description?: string | null;
3893
+ division_code?: number | null;
3894
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3895
+ exact_id?: string;
3896
+ exact_modified?: string | null;
3897
+ exact_timestamp?: number | null;
3898
+ gl_account_code?: string | null;
3899
+ id?: string;
3900
+ is_active?: boolean;
3901
+ is_sales_item?: boolean | null;
3902
+ item_type?: string | null;
3903
+ raw?: import("../integrations/supabase/types").Json | null;
3904
+ sales_price?: number | null;
3905
+ unit?: string | null;
3906
+ updated_at?: string;
3907
+ vat_code?: string | null;
3908
+ };
3909
+ Relationships: [];
3910
+ };
3911
+ exact_auth_sync_log: {
3912
+ Row: {
3913
+ account_key: string;
3914
+ calls_used: number;
3915
+ created_at: string;
3916
+ domain: string;
3917
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3918
+ error: string | null;
3919
+ finished_at: string | null;
3920
+ id: string;
3921
+ ok: boolean;
3922
+ records: number;
3923
+ started_at: string;
3924
+ };
3925
+ Insert: {
3926
+ account_key?: string;
3927
+ calls_used?: number;
3928
+ created_at?: string;
3929
+ domain: string;
3930
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3931
+ error?: string | null;
3932
+ finished_at?: string | null;
3933
+ id?: string;
3934
+ ok?: boolean;
3935
+ records?: number;
3936
+ started_at?: string;
3937
+ };
3938
+ Update: {
3939
+ account_key?: string;
3940
+ calls_used?: number;
3941
+ created_at?: string;
3942
+ domain?: string;
3943
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3944
+ error?: string | null;
3945
+ finished_at?: string | null;
3946
+ id?: string;
3947
+ ok?: boolean;
3948
+ records?: number;
3949
+ started_at?: string;
3443
3950
  };
3444
- Relationships: [{
3445
- foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
3446
- columns: ["connection_id"];
3447
- isOneToOne: false;
3448
- referencedRelation: "exact_connections";
3449
- referencedColumns: ["id"];
3450
- }];
3951
+ Relationships: [];
3451
3952
  };
3452
- exact_analytics_cache: {
3953
+ exact_auth_sync_state: {
3453
3954
  Row: {
3454
- analytics_type: string;
3455
- avg_payment_days: number | null;
3456
- computed_at: string;
3457
- connection_id: string;
3458
- data_raw: import("../integrations/supabase/types").Json | null;
3459
- expires_at: string | null;
3460
- id: string;
3461
- open_count: number | null;
3462
- overdue_amount: number | null;
3463
- paid_this_month: number | null;
3464
- period_key: string;
3465
- total_invoiced: number | null;
3466
- total_open: number | null;
3955
+ account_key: string;
3956
+ created_at: string;
3957
+ cursor_timestamp: number;
3958
+ division_code: number | null;
3959
+ domain: string;
3960
+ duration_ms: number | null;
3961
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3962
+ initial_sync_done: boolean;
3963
+ last_error: string | null;
3964
+ last_run_at: string | null;
3965
+ last_success_at: string | null;
3966
+ locked_at: string | null;
3967
+ needs_initial_sync: boolean;
3968
+ record_count: number;
3969
+ updated_at: string;
3467
3970
  };
3468
3971
  Insert: {
3469
- analytics_type: string;
3470
- avg_payment_days?: number | null;
3471
- computed_at?: string;
3472
- connection_id: string;
3473
- data_raw?: import("../integrations/supabase/types").Json | null;
3474
- expires_at?: string | null;
3475
- id?: string;
3476
- open_count?: number | null;
3477
- overdue_amount?: number | null;
3478
- paid_this_month?: number | null;
3479
- period_key: string;
3480
- total_invoiced?: number | null;
3481
- total_open?: number | null;
3972
+ account_key?: string;
3973
+ created_at?: string;
3974
+ cursor_timestamp?: number;
3975
+ division_code?: number | null;
3976
+ domain: string;
3977
+ duration_ms?: number | null;
3978
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3979
+ initial_sync_done?: boolean;
3980
+ last_error?: string | null;
3981
+ last_run_at?: string | null;
3982
+ last_success_at?: string | null;
3983
+ locked_at?: string | null;
3984
+ needs_initial_sync?: boolean;
3985
+ record_count?: number;
3986
+ updated_at?: string;
3482
3987
  };
3483
3988
  Update: {
3484
- analytics_type?: string;
3485
- avg_payment_days?: number | null;
3486
- computed_at?: string;
3487
- connection_id?: string;
3488
- data_raw?: import("../integrations/supabase/types").Json | null;
3489
- expires_at?: string | null;
3490
- id?: string;
3491
- open_count?: number | null;
3492
- overdue_amount?: number | null;
3493
- paid_this_month?: number | null;
3494
- period_key?: string;
3495
- total_invoiced?: number | null;
3496
- total_open?: number | null;
3989
+ account_key?: string;
3990
+ created_at?: string;
3991
+ cursor_timestamp?: number;
3992
+ division_code?: number | null;
3993
+ domain?: string;
3994
+ duration_ms?: number | null;
3995
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3996
+ initial_sync_done?: boolean;
3997
+ last_error?: string | null;
3998
+ last_run_at?: string | null;
3999
+ last_success_at?: string | null;
4000
+ locked_at?: string | null;
4001
+ needs_initial_sync?: boolean;
4002
+ record_count?: number;
4003
+ updated_at?: string;
3497
4004
  };
3498
- Relationships: [{
3499
- foreignKeyName: "exact_analytics_cache_connection_id_fkey";
3500
- columns: ["connection_id"];
3501
- isOneToOne: false;
3502
- referencedRelation: "exact_connections";
3503
- referencedColumns: ["id"];
3504
- }];
4005
+ Relationships: [];
3505
4006
  };
3506
4007
  exact_bulk_operation_items: {
3507
4008
  Row: {
@@ -8165,6 +8666,66 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8165
8666
  };
8166
8667
  Relationships: [];
8167
8668
  };
8669
+ logistics_recalc_jobs: {
8670
+ Row: {
8671
+ carts_created: number;
8672
+ created_at: string;
8673
+ cursor: string | null;
8674
+ errors: import("../integrations/supabase/types").Json;
8675
+ failed: number;
8676
+ finished_at: string | null;
8677
+ id: string;
8678
+ last_tick_at: string | null;
8679
+ phase: string;
8680
+ processed: number;
8681
+ skipped_locked: number;
8682
+ started_by: string | null;
8683
+ status: string;
8684
+ steps: import("../integrations/supabase/types").Json;
8685
+ strategy_id: string | null;
8686
+ tasks_updated: number;
8687
+ updated_at: string;
8688
+ };
8689
+ Insert: {
8690
+ carts_created?: number;
8691
+ created_at?: string;
8692
+ cursor?: string | null;
8693
+ errors?: import("../integrations/supabase/types").Json;
8694
+ failed?: number;
8695
+ finished_at?: string | null;
8696
+ id?: string;
8697
+ last_tick_at?: string | null;
8698
+ phase?: string;
8699
+ processed?: number;
8700
+ skipped_locked?: number;
8701
+ started_by?: string | null;
8702
+ status?: string;
8703
+ steps?: import("../integrations/supabase/types").Json;
8704
+ strategy_id?: string | null;
8705
+ tasks_updated?: number;
8706
+ updated_at?: string;
8707
+ };
8708
+ Update: {
8709
+ carts_created?: number;
8710
+ created_at?: string;
8711
+ cursor?: string | null;
8712
+ errors?: import("../integrations/supabase/types").Json;
8713
+ failed?: number;
8714
+ finished_at?: string | null;
8715
+ id?: string;
8716
+ last_tick_at?: string | null;
8717
+ phase?: string;
8718
+ processed?: number;
8719
+ skipped_locked?: number;
8720
+ started_by?: string | null;
8721
+ status?: string;
8722
+ steps?: import("../integrations/supabase/types").Json;
8723
+ strategy_id?: string | null;
8724
+ tasks_updated?: number;
8725
+ updated_at?: string;
8726
+ };
8727
+ Relationships: [];
8728
+ };
8168
8729
  logistics_reschedules: {
8169
8730
  Row: {
8170
8731
  created_at: string;
@@ -8527,6 +9088,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8527
9088
  };
8528
9089
  logistics_tasks: {
8529
9090
  Row: {
9091
+ attempt_log: import("../integrations/supabase/types").Json;
9092
+ attempts: number;
8530
9093
  buffer_ref: string | null;
8531
9094
  claimed_at: string | null;
8532
9095
  claimed_by: string | null;
@@ -8536,6 +9099,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8536
9099
  due_at: string | null;
8537
9100
  error: string | null;
8538
9101
  id: string;
9102
+ last_error: string | null;
9103
+ next_attempt_at: string | null;
8539
9104
  order_ref: string;
8540
9105
  owner_module: string;
8541
9106
  payload: import("../integrations/supabase/types").Json;
@@ -8556,6 +9121,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8556
9121
  user_id: string;
8557
9122
  };
8558
9123
  Insert: {
9124
+ attempt_log?: import("../integrations/supabase/types").Json;
9125
+ attempts?: number;
8559
9126
  buffer_ref?: string | null;
8560
9127
  claimed_at?: string | null;
8561
9128
  claimed_by?: string | null;
@@ -8565,6 +9132,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8565
9132
  due_at?: string | null;
8566
9133
  error?: string | null;
8567
9134
  id?: string;
9135
+ last_error?: string | null;
9136
+ next_attempt_at?: string | null;
8568
9137
  order_ref: string;
8569
9138
  owner_module: string;
8570
9139
  payload?: import("../integrations/supabase/types").Json;
@@ -8585,6 +9154,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8585
9154
  user_id?: string;
8586
9155
  };
8587
9156
  Update: {
9157
+ attempt_log?: import("../integrations/supabase/types").Json;
9158
+ attempts?: number;
8588
9159
  buffer_ref?: string | null;
8589
9160
  claimed_at?: string | null;
8590
9161
  claimed_by?: string | null;
@@ -8594,6 +9165,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
8594
9165
  due_at?: string | null;
8595
9166
  error?: string | null;
8596
9167
  id?: string;
9168
+ last_error?: string | null;
9169
+ next_attempt_at?: string | null;
8597
9170
  order_ref?: string;
8598
9171
  owner_module?: string;
8599
9172
  payload?: import("../integrations/supabase/types").Json;
@@ -9943,6 +10516,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
9943
10516
  };
9944
10517
  offer_settings: {
9945
10518
  Row: {
10519
+ brand_name: string | null;
9946
10520
  button_color: string;
9947
10521
  created_at: string;
9948
10522
  default_countries: string[];
@@ -9964,6 +10538,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
9964
10538
  updated_at: string;
9965
10539
  };
9966
10540
  Insert: {
10541
+ brand_name?: string | null;
9967
10542
  button_color?: string;
9968
10543
  created_at?: string;
9969
10544
  default_countries?: string[];
@@ -9985,6 +10560,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
9985
10560
  updated_at?: string;
9986
10561
  };
9987
10562
  Update: {
10563
+ brand_name?: string | null;
9988
10564
  button_color?: string;
9989
10565
  created_at?: string;
9990
10566
  default_countries?: string[];
@@ -13394,6 +13970,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13394
13970
  buffer_key: string | null;
13395
13971
  created_at: string;
13396
13972
  customer_names: string[];
13973
+ device_id: string | null;
13397
13974
  geprint: boolean;
13398
13975
  geprint_op: string | null;
13399
13976
  id: string;
@@ -13403,6 +13980,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13403
13980
  naar_pickstation: boolean;
13404
13981
  naar_pickstation_op: string | null;
13405
13982
  order_number: string | null;
13983
+ scanner_id: string | null;
13406
13984
  scanner_key: string;
13407
13985
  status: string;
13408
13986
  totaal_producten: number;
@@ -13413,6 +13991,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13413
13991
  buffer_key?: string | null;
13414
13992
  created_at?: string;
13415
13993
  customer_names?: string[];
13994
+ device_id?: string | null;
13416
13995
  geprint?: boolean;
13417
13996
  geprint_op?: string | null;
13418
13997
  id?: string;
@@ -13422,6 +14001,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13422
14001
  naar_pickstation?: boolean;
13423
14002
  naar_pickstation_op?: string | null;
13424
14003
  order_number?: string | null;
14004
+ scanner_id?: string | null;
13425
14005
  scanner_key?: string;
13426
14006
  status?: string;
13427
14007
  totaal_producten?: number;
@@ -13432,6 +14012,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13432
14012
  buffer_key?: string | null;
13433
14013
  created_at?: string;
13434
14014
  customer_names?: string[];
14015
+ device_id?: string | null;
13435
14016
  geprint?: boolean;
13436
14017
  geprint_op?: string | null;
13437
14018
  id?: string;
@@ -13441,6 +14022,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13441
14022
  naar_pickstation?: boolean;
13442
14023
  naar_pickstation_op?: string | null;
13443
14024
  order_number?: string | null;
14025
+ scanner_id?: string | null;
13444
14026
  scanner_key?: string;
13445
14027
  status?: string;
13446
14028
  totaal_producten?: number;
@@ -13452,31 +14034,46 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13452
14034
  Row: {
13453
14035
  code: string;
13454
14036
  created_at: string;
14037
+ device_id: string | null;
13455
14038
  id: string;
13456
14039
  kar_id: string | null;
14040
+ latency_ms: number | null;
14041
+ medewerker_naam: string | null;
13457
14042
  message: string | null;
13458
14043
  result: string;
14044
+ retry_count: number;
13459
14045
  scanner_key: string;
14046
+ session_id: string | null;
13460
14047
  user_id: string | null;
13461
14048
  };
13462
14049
  Insert: {
13463
14050
  code: string;
13464
14051
  created_at?: string;
14052
+ device_id?: string | null;
13465
14053
  id?: string;
13466
14054
  kar_id?: string | null;
14055
+ latency_ms?: number | null;
14056
+ medewerker_naam?: string | null;
13467
14057
  message?: string | null;
13468
14058
  result: string;
14059
+ retry_count?: number;
13469
14060
  scanner_key?: string;
14061
+ session_id?: string | null;
13470
14062
  user_id?: string | null;
13471
14063
  };
13472
14064
  Update: {
13473
14065
  code?: string;
13474
14066
  created_at?: string;
14067
+ device_id?: string | null;
13475
14068
  id?: string;
13476
14069
  kar_id?: string | null;
14070
+ latency_ms?: number | null;
14071
+ medewerker_naam?: string | null;
13477
14072
  message?: string | null;
13478
14073
  result?: string;
14074
+ retry_count?: number;
13479
14075
  scanner_key?: string;
14076
+ session_id?: string | null;
13480
14077
  user_id?: string | null;
13481
14078
  };
13482
14079
  Relationships: [];
@@ -13533,6 +14130,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13533
14130
  printed_at: string;
13534
14131
  status: string;
13535
14132
  updated_at: string;
14133
+ vergrendeld_door: string | null;
14134
+ vergrendeld_sessie: string | null;
14135
+ vergrendeld_tot: string | null;
13536
14136
  };
13537
14137
  Insert: {
13538
14138
  barcode: string;
@@ -13546,6 +14146,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13546
14146
  printed_at?: string;
13547
14147
  status?: string;
13548
14148
  updated_at?: string;
14149
+ vergrendeld_door?: string | null;
14150
+ vergrendeld_sessie?: string | null;
14151
+ vergrendeld_tot?: string | null;
13549
14152
  };
13550
14153
  Update: {
13551
14154
  barcode?: string;
@@ -13559,6 +14162,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13559
14162
  printed_at?: string;
13560
14163
  status?: string;
13561
14164
  updated_at?: string;
14165
+ vergrendeld_door?: string | null;
14166
+ vergrendeld_sessie?: string | null;
14167
+ vergrendeld_tot?: string | null;
13562
14168
  };
13563
14169
  Relationships: [];
13564
14170
  };
@@ -13567,31 +14173,40 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13567
14173
  actief: boolean;
13568
14174
  created_at: string;
13569
14175
  id: string;
14176
+ max_producten_per_kar: number | null;
13570
14177
  naam: string;
13571
14178
  omschrijving: string | null;
14179
+ pincode: string | null;
13572
14180
  slug: string;
13573
14181
  type: string;
13574
14182
  updated_at: string;
14183
+ vereist_medewerker: boolean;
13575
14184
  };
13576
14185
  Insert: {
13577
14186
  actief?: boolean;
13578
14187
  created_at?: string;
13579
14188
  id?: string;
14189
+ max_producten_per_kar?: number | null;
13580
14190
  naam: string;
13581
14191
  omschrijving?: string | null;
14192
+ pincode?: string | null;
13582
14193
  slug: string;
13583
14194
  type?: string;
13584
14195
  updated_at?: string;
14196
+ vereist_medewerker?: boolean;
13585
14197
  };
13586
14198
  Update: {
13587
14199
  actief?: boolean;
13588
14200
  created_at?: string;
13589
14201
  id?: string;
14202
+ max_producten_per_kar?: number | null;
13590
14203
  naam?: string;
13591
14204
  omschrijving?: string | null;
14205
+ pincode?: string | null;
13592
14206
  slug?: string;
13593
14207
  type?: string;
13594
14208
  updated_at?: string;
14209
+ vereist_medewerker?: boolean;
13595
14210
  };
13596
14211
  Relationships: [];
13597
14212
  };
@@ -17556,6 +18171,54 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
17556
18171
  };
17557
18172
  Returns: import("../integrations/supabase/types").Json;
17558
18173
  };
18174
+ claim_logistics_tasks: {
18175
+ Args: {
18176
+ _limit?: number;
18177
+ _owner_module: string;
18178
+ _stale_minutes?: number;
18179
+ _task_type: string;
18180
+ _worker: string;
18181
+ };
18182
+ Returns: {
18183
+ attempt_log: import("../integrations/supabase/types").Json;
18184
+ attempts: number;
18185
+ buffer_ref: string | null;
18186
+ claimed_at: string | null;
18187
+ claimed_by: string | null;
18188
+ completed_at: string | null;
18189
+ created_at: string;
18190
+ depends_on: string[];
18191
+ due_at: string | null;
18192
+ error: string | null;
18193
+ id: string;
18194
+ last_error: string | null;
18195
+ next_attempt_at: string | null;
18196
+ order_ref: string;
18197
+ owner_module: string;
18198
+ payload: import("../integrations/supabase/types").Json;
18199
+ plan_run_id: string | null;
18200
+ planned_end: string | null;
18201
+ planned_start: string | null;
18202
+ priority: number;
18203
+ result: import("../integrations/supabase/types").Json | null;
18204
+ rule_config_id: string | null;
18205
+ rule_version: number | null;
18206
+ sequence: number;
18207
+ shadow: boolean;
18208
+ started_at: string | null;
18209
+ status: string;
18210
+ strategy_id: string | null;
18211
+ task_type: string;
18212
+ updated_at: string;
18213
+ user_id: string;
18214
+ }[];
18215
+ SetofOptions: {
18216
+ from: "*";
18217
+ to: "logistics_tasks";
18218
+ isOneToOne: false;
18219
+ isSetofReturn: true;
18220
+ };
18221
+ };
17559
18222
  claim_print_jobs: {
17560
18223
  Args: {
17561
18224
  _agent_id: string;
@@ -17796,6 +18459,21 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
17796
18459
  Args: never;
17797
18460
  Returns: string;
17798
18461
  };
18462
+ exact_auth_consume_calls: {
18463
+ Args: {
18464
+ _account_key: string;
18465
+ _calls?: number;
18466
+ _day_limit?: number;
18467
+ _division_code: number;
18468
+ _environment: string;
18469
+ _minute_limit?: number;
18470
+ };
18471
+ Returns: import("../integrations/supabase/types").Json;
18472
+ };
18473
+ exact_auth_prune_sync_log: {
18474
+ Args: never;
18475
+ Returns: undefined;
18476
+ };
17799
18477
  exact_decrypt: {
17800
18478
  Args: {
17801
18479
  cipher: string;
@@ -18005,6 +18683,10 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18005
18683
  };
18006
18684
  Returns: number;
18007
18685
  };
18686
+ get_offer_branding: {
18687
+ Args: never;
18688
+ Returns: import("../integrations/supabase/types").Json;
18689
+ };
18008
18690
  get_offer_by_link_code: {
18009
18691
  Args: {
18010
18692
  p_code: string;
@@ -18176,6 +18858,10 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18176
18858
  };
18177
18859
  Returns: string;
18178
18860
  };
18861
+ logistics_active_pick_workdays: {
18862
+ Args: never;
18863
+ Returns: string[];
18864
+ };
18179
18865
  logistics_address_key: {
18180
18866
  Args: {
18181
18867
  p_location: string;
@@ -18292,6 +18978,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18292
18978
  p_worker?: string;
18293
18979
  };
18294
18980
  Returns: {
18981
+ attempt_log: import("../integrations/supabase/types").Json;
18982
+ attempts: number;
18295
18983
  buffer_ref: string | null;
18296
18984
  claimed_at: string | null;
18297
18985
  claimed_by: string | null;
@@ -18301,6 +18989,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18301
18989
  due_at: string | null;
18302
18990
  error: string | null;
18303
18991
  id: string;
18992
+ last_error: string | null;
18993
+ next_attempt_at: string | null;
18304
18994
  order_ref: string;
18305
18995
  owner_module: string;
18306
18996
  payload: import("../integrations/supabase/types").Json;
@@ -18333,6 +19023,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18333
19023
  p_worker?: string;
18334
19024
  };
18335
19025
  Returns: {
19026
+ attempt_log: import("../integrations/supabase/types").Json;
19027
+ attempts: number;
18336
19028
  buffer_ref: string | null;
18337
19029
  claimed_at: string | null;
18338
19030
  claimed_by: string | null;
@@ -18342,6 +19034,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18342
19034
  due_at: string | null;
18343
19035
  error: string | null;
18344
19036
  id: string;
19037
+ last_error: string | null;
19038
+ next_attempt_at: string | null;
18345
19039
  order_ref: string;
18346
19040
  owner_module: string;
18347
19041
  payload: import("../integrations/supabase/types").Json;
@@ -18374,6 +19068,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18374
19068
  p_task_id: string;
18375
19069
  };
18376
19070
  Returns: {
19071
+ attempt_log: import("../integrations/supabase/types").Json;
19072
+ attempts: number;
18377
19073
  buffer_ref: string | null;
18378
19074
  claimed_at: string | null;
18379
19075
  claimed_by: string | null;
@@ -18383,6 +19079,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18383
19079
  due_at: string | null;
18384
19080
  error: string | null;
18385
19081
  id: string;
19082
+ last_error: string | null;
19083
+ next_attempt_at: string | null;
18386
19084
  order_ref: string;
18387
19085
  owner_module: string;
18388
19086
  payload: import("../integrations/supabase/types").Json;
@@ -18464,6 +19162,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18464
19162
  p_task_id: string;
18465
19163
  };
18466
19164
  Returns: {
19165
+ attempt_log: import("../integrations/supabase/types").Json;
19166
+ attempts: number;
18467
19167
  buffer_ref: string | null;
18468
19168
  claimed_at: string | null;
18469
19169
  claimed_by: string | null;
@@ -18473,6 +19173,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18473
19173
  due_at: string | null;
18474
19174
  error: string | null;
18475
19175
  id: string;
19176
+ last_error: string | null;
19177
+ next_attempt_at: string | null;
18476
19178
  order_ref: string;
18477
19179
  owner_module: string;
18478
19180
  payload: import("../integrations/supabase/types").Json;
@@ -18499,12 +19201,30 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18499
19201
  isSetofReturn: false;
18500
19202
  };
18501
19203
  };
19204
+ logistics_live_carriers: {
19205
+ Args: {
19206
+ p_order_ref: string;
19207
+ };
19208
+ Returns: import("../integrations/supabase/types").Json;
19209
+ };
19210
+ logistics_live_cart_count: {
19211
+ Args: {
19212
+ p_order_ref: string;
19213
+ };
19214
+ Returns: number;
19215
+ };
18502
19216
  logistics_not_past: {
18503
19217
  Args: {
18504
19218
  p_ts: string;
18505
19219
  };
18506
19220
  Returns: string;
18507
19221
  };
19222
+ logistics_order_cart_count: {
19223
+ Args: {
19224
+ p_order_ref: string;
19225
+ };
19226
+ Returns: number;
19227
+ };
18508
19228
  logistics_order_pick_day: {
18509
19229
  Args: {
18510
19230
  p_order_ref: string;
@@ -18681,6 +19401,13 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18681
19401
  };
18682
19402
  Returns: import("../integrations/supabase/types").Json;
18683
19403
  };
19404
+ logistics_shift_to_workday: {
19405
+ Args: {
19406
+ p_days: string[];
19407
+ p_ts: string;
19408
+ };
19409
+ Returns: string;
19410
+ };
18684
19411
  logistics_supersede_stale_tasks: {
18685
19412
  Args: {
18686
19413
  p_keep: string[];
@@ -18966,6 +19693,10 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
18966
19693
  isSetofReturn: false;
18967
19694
  };
18968
19695
  };
19696
+ pick_current_pick_day: {
19697
+ Args: never;
19698
+ Returns: string;
19699
+ };
18969
19700
  pick_document_layout_data: {
18970
19701
  Args: {
18971
19702
  _layout_id: string;
@@ -19197,10 +19928,68 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
19197
19928
  Args: never;
19198
19929
  Returns: undefined;
19199
19930
  };
19931
+ run_logistics_tasks_dispatch: {
19932
+ Args: never;
19933
+ Returns: undefined;
19934
+ };
19200
19935
  run_twinfield_queue_tick: {
19201
19936
  Args: never;
19202
19937
  Returns: undefined;
19203
19938
  };
19939
+ scan_cancel_kar: {
19940
+ Args: {
19941
+ p_kar_id: string;
19942
+ };
19943
+ Returns: import("../integrations/supabase/types").Json;
19944
+ };
19945
+ scan_dashboard_stats: {
19946
+ Args: {
19947
+ p_dagen?: number;
19948
+ };
19949
+ Returns: import("../integrations/supabase/types").Json;
19950
+ };
19951
+ scan_finish_kar: {
19952
+ Args: {
19953
+ p_kar_id: string;
19954
+ };
19955
+ Returns: import("../integrations/supabase/types").Json;
19956
+ };
19957
+ scan_register_item: {
19958
+ Args: {
19959
+ p_kar_id: string;
19960
+ p_pakbon_item_id: string;
19961
+ p_scanned_by?: string;
19962
+ };
19963
+ Returns: import("../integrations/supabase/types").Json;
19964
+ };
19965
+ scan_release_expired_locks: {
19966
+ Args: never;
19967
+ Returns: import("../integrations/supabase/types").Json;
19968
+ };
19969
+ scan_remove_item: {
19970
+ Args: {
19971
+ p_kar_item_id: string;
19972
+ };
19973
+ Returns: import("../integrations/supabase/types").Json;
19974
+ };
19975
+ scan_start_kar: {
19976
+ Args: {
19977
+ p_medewerker_id?: string;
19978
+ p_medewerker_naam?: string;
19979
+ p_pakbon_ids: string[];
19980
+ p_scanner_key?: string;
19981
+ };
19982
+ Returns: import("../integrations/supabase/types").Json;
19983
+ } | {
19984
+ Args: {
19985
+ p_medewerker_id?: string;
19986
+ p_medewerker_naam?: string;
19987
+ p_pakbon_ids: string[];
19988
+ p_scanner_key?: string;
19989
+ p_sessie?: string;
19990
+ };
19991
+ Returns: import("../integrations/supabase/types").Json;
19992
+ };
19204
19993
  schedule_floriday_additional_services_sync: {
19205
19994
  Args: {
19206
19995
  p_apikey: string;