@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
@@ -1863,6 +1863,39 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
1863
1863
  referencedColumns: ["id"];
1864
1864
  }];
1865
1865
  };
1866
+ customer_notes: {
1867
+ Row: {
1868
+ created_at: string;
1869
+ customer_id: string | null;
1870
+ group_key: string | null;
1871
+ id: string;
1872
+ notes: string | null;
1873
+ updated_at: string;
1874
+ };
1875
+ Insert: {
1876
+ created_at?: string;
1877
+ customer_id?: string | null;
1878
+ group_key?: string | null;
1879
+ id?: string;
1880
+ notes?: string | null;
1881
+ updated_at?: string;
1882
+ };
1883
+ Update: {
1884
+ created_at?: string;
1885
+ customer_id?: string | null;
1886
+ group_key?: string | null;
1887
+ id?: string;
1888
+ notes?: string | null;
1889
+ updated_at?: string;
1890
+ };
1891
+ Relationships: [{
1892
+ foreignKeyName: "customer_notes_customer_id_fkey";
1893
+ columns: ["customer_id"];
1894
+ isOneToOne: true;
1895
+ referencedRelation: "customers";
1896
+ referencedColumns: ["id"];
1897
+ }];
1898
+ };
1866
1899
  customer_price_group_members: {
1867
1900
  Row: {
1868
1901
  created_at: string;
@@ -3438,74 +3471,542 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
3438
3471
  connection_id?: string;
3439
3472
  expires_at?: string | null;
3440
3473
  id?: string;
3441
- invoice_count?: number | null;
3442
- last_invoice_date?: string | null;
3443
- last_payment_date?: string | null;
3444
- open_balance?: number | null;
3445
- overdue_balance?: number | null;
3446
- total_revenue?: number | null;
3474
+ invoice_count?: number | null;
3475
+ last_invoice_date?: string | null;
3476
+ last_payment_date?: string | null;
3477
+ open_balance?: number | null;
3478
+ overdue_balance?: number | null;
3479
+ total_revenue?: number | null;
3480
+ };
3481
+ Relationships: [{
3482
+ foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
3483
+ columns: ["connection_id"];
3484
+ isOneToOne: false;
3485
+ referencedRelation: "exact_connections";
3486
+ referencedColumns: ["id"];
3487
+ }];
3488
+ };
3489
+ exact_analytics_cache: {
3490
+ Row: {
3491
+ analytics_type: string;
3492
+ avg_payment_days: number | null;
3493
+ computed_at: string;
3494
+ connection_id: string;
3495
+ data_raw: import("../integrations/supabase/types").Json | null;
3496
+ expires_at: string | null;
3497
+ id: string;
3498
+ open_count: number | null;
3499
+ overdue_amount: number | null;
3500
+ paid_this_month: number | null;
3501
+ period_key: string;
3502
+ total_invoiced: number | null;
3503
+ total_open: number | null;
3504
+ };
3505
+ Insert: {
3506
+ analytics_type: string;
3507
+ avg_payment_days?: number | null;
3508
+ computed_at?: string;
3509
+ connection_id: string;
3510
+ data_raw?: import("../integrations/supabase/types").Json | null;
3511
+ expires_at?: string | null;
3512
+ id?: string;
3513
+ open_count?: number | null;
3514
+ overdue_amount?: number | null;
3515
+ paid_this_month?: number | null;
3516
+ period_key: string;
3517
+ total_invoiced?: number | null;
3518
+ total_open?: number | null;
3519
+ };
3520
+ Update: {
3521
+ analytics_type?: string;
3522
+ avg_payment_days?: number | null;
3523
+ computed_at?: string;
3524
+ connection_id?: string;
3525
+ data_raw?: import("../integrations/supabase/types").Json | null;
3526
+ expires_at?: string | null;
3527
+ id?: string;
3528
+ open_count?: number | null;
3529
+ overdue_amount?: number | null;
3530
+ paid_this_month?: number | null;
3531
+ period_key?: string;
3532
+ total_invoiced?: number | null;
3533
+ total_open?: number | null;
3534
+ };
3535
+ Relationships: [{
3536
+ foreignKeyName: "exact_analytics_cache_connection_id_fkey";
3537
+ columns: ["connection_id"];
3538
+ isOneToOne: false;
3539
+ referencedRelation: "exact_connections";
3540
+ referencedColumns: ["id"];
3541
+ }];
3542
+ };
3543
+ exact_auth_call_budget: {
3544
+ Row: {
3545
+ account_key: string;
3546
+ day_count: number;
3547
+ day_date: string;
3548
+ division_code: number;
3549
+ environment: string;
3550
+ minute_count: number;
3551
+ minute_window: string;
3552
+ updated_at: string;
3553
+ };
3554
+ Insert: {
3555
+ account_key?: string;
3556
+ day_count?: number;
3557
+ day_date?: string;
3558
+ division_code?: number;
3559
+ environment: string;
3560
+ minute_count?: number;
3561
+ minute_window?: string;
3562
+ updated_at?: string;
3563
+ };
3564
+ Update: {
3565
+ account_key?: string;
3566
+ day_count?: number;
3567
+ day_date?: string;
3568
+ division_code?: number;
3569
+ environment?: string;
3570
+ minute_count?: number;
3571
+ minute_window?: string;
3572
+ updated_at?: string;
3573
+ };
3574
+ Relationships: [];
3575
+ };
3576
+ exact_auth_customers: {
3577
+ Row: {
3578
+ account_key: string;
3579
+ address_line1: string | null;
3580
+ chamber_of_commerce: string | null;
3581
+ city: string | null;
3582
+ code: string | null;
3583
+ country: string | null;
3584
+ created_at: string;
3585
+ currency: string | null;
3586
+ division_code: number | null;
3587
+ email: string | null;
3588
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3589
+ exact_id: string;
3590
+ exact_modified: string | null;
3591
+ exact_timestamp: number | null;
3592
+ id: string;
3593
+ is_active: boolean;
3594
+ name: string | null;
3595
+ phone: string | null;
3596
+ postcode: string | null;
3597
+ raw: import("../integrations/supabase/types").Json | null;
3598
+ status: string | null;
3599
+ updated_at: string;
3600
+ vat_number: string | null;
3601
+ website: string | null;
3602
+ };
3603
+ Insert: {
3604
+ account_key?: string;
3605
+ address_line1?: string | null;
3606
+ chamber_of_commerce?: string | null;
3607
+ city?: string | null;
3608
+ code?: string | null;
3609
+ country?: string | null;
3610
+ created_at?: string;
3611
+ currency?: string | null;
3612
+ division_code?: number | null;
3613
+ email?: string | null;
3614
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3615
+ exact_id: string;
3616
+ exact_modified?: string | null;
3617
+ exact_timestamp?: number | null;
3618
+ id?: string;
3619
+ is_active?: boolean;
3620
+ name?: string | null;
3621
+ phone?: string | null;
3622
+ postcode?: string | null;
3623
+ raw?: import("../integrations/supabase/types").Json | null;
3624
+ status?: string | null;
3625
+ updated_at?: string;
3626
+ vat_number?: string | null;
3627
+ website?: string | null;
3628
+ };
3629
+ Update: {
3630
+ account_key?: string;
3631
+ address_line1?: string | null;
3632
+ chamber_of_commerce?: string | null;
3633
+ city?: string | null;
3634
+ code?: string | null;
3635
+ country?: string | null;
3636
+ created_at?: string;
3637
+ currency?: string | null;
3638
+ division_code?: number | null;
3639
+ email?: string | null;
3640
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3641
+ exact_id?: string;
3642
+ exact_modified?: string | null;
3643
+ exact_timestamp?: number | null;
3644
+ id?: string;
3645
+ is_active?: boolean;
3646
+ name?: string | null;
3647
+ phone?: string | null;
3648
+ postcode?: string | null;
3649
+ raw?: import("../integrations/supabase/types").Json | null;
3650
+ status?: string | null;
3651
+ updated_at?: string;
3652
+ vat_number?: string | null;
3653
+ website?: string | null;
3654
+ };
3655
+ Relationships: [];
3656
+ };
3657
+ exact_auth_divisions: {
3658
+ Row: {
3659
+ account_key: string;
3660
+ company_name: string | null;
3661
+ created_at: string;
3662
+ division_code: number | null;
3663
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3664
+ id: string;
3665
+ last_synced_at: string | null;
3666
+ updated_at: string;
3667
+ };
3668
+ Insert: {
3669
+ account_key?: string;
3670
+ company_name?: string | null;
3671
+ created_at?: string;
3672
+ division_code?: number | null;
3673
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3674
+ id?: string;
3675
+ last_synced_at?: string | null;
3676
+ updated_at?: string;
3677
+ };
3678
+ Update: {
3679
+ account_key?: string;
3680
+ company_name?: string | null;
3681
+ created_at?: string;
3682
+ division_code?: number | null;
3683
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3684
+ id?: string;
3685
+ last_synced_at?: string | null;
3686
+ updated_at?: string;
3687
+ };
3688
+ Relationships: [];
3689
+ };
3690
+ exact_auth_invoice_lines: {
3691
+ Row: {
3692
+ account_key: string;
3693
+ amount_excl: number | null;
3694
+ created_at: string;
3695
+ description: string | null;
3696
+ discount: number | null;
3697
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3698
+ exact_id: string;
3699
+ exact_timestamp: number | null;
3700
+ id: string;
3701
+ invoice_exact_id: string;
3702
+ item_code: string | null;
3703
+ item_exact_id: string | null;
3704
+ line_number: number | null;
3705
+ quantity: number | null;
3706
+ raw: import("../integrations/supabase/types").Json | null;
3707
+ unit_price: number | null;
3708
+ updated_at: string;
3709
+ vat_amount: number | null;
3710
+ vat_code: string | null;
3711
+ };
3712
+ Insert: {
3713
+ account_key?: string;
3714
+ amount_excl?: number | null;
3715
+ created_at?: string;
3716
+ description?: string | null;
3717
+ discount?: number | null;
3718
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3719
+ exact_id: string;
3720
+ exact_timestamp?: number | null;
3721
+ id?: string;
3722
+ invoice_exact_id: string;
3723
+ item_code?: string | null;
3724
+ item_exact_id?: string | null;
3725
+ line_number?: number | null;
3726
+ quantity?: number | null;
3727
+ raw?: import("../integrations/supabase/types").Json | null;
3728
+ unit_price?: number | null;
3729
+ updated_at?: string;
3730
+ vat_amount?: number | null;
3731
+ vat_code?: string | null;
3732
+ };
3733
+ Update: {
3734
+ account_key?: string;
3735
+ amount_excl?: number | null;
3736
+ created_at?: string;
3737
+ description?: string | null;
3738
+ discount?: number | null;
3739
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3740
+ exact_id?: string;
3741
+ exact_timestamp?: number | null;
3742
+ id?: string;
3743
+ invoice_exact_id?: string;
3744
+ item_code?: string | null;
3745
+ item_exact_id?: string | null;
3746
+ line_number?: number | null;
3747
+ quantity?: number | null;
3748
+ raw?: import("../integrations/supabase/types").Json | null;
3749
+ unit_price?: number | null;
3750
+ updated_at?: string;
3751
+ vat_amount?: number | null;
3752
+ vat_code?: string | null;
3753
+ };
3754
+ Relationships: [];
3755
+ };
3756
+ exact_auth_invoices: {
3757
+ Row: {
3758
+ account_key: string;
3759
+ amount_excl: number | null;
3760
+ amount_incl: number | null;
3761
+ amount_open: number | null;
3762
+ created_at: string;
3763
+ currency: string | null;
3764
+ customer_code: string | null;
3765
+ customer_exact_id: string | null;
3766
+ customer_name: string | null;
3767
+ description: string | null;
3768
+ division_code: number | null;
3769
+ due_date: string | null;
3770
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3771
+ exact_id: string;
3772
+ exact_modified: string | null;
3773
+ exact_timestamp: number | null;
3774
+ id: string;
3775
+ invoice_date: string | null;
3776
+ invoice_number: string | null;
3777
+ order_number: string | null;
3778
+ paid_at: string | null;
3779
+ payment_status: string;
3780
+ raw: import("../integrations/supabase/types").Json | null;
3781
+ receivable_synced_at: string | null;
3782
+ status_code: number | null;
3783
+ updated_at: string;
3784
+ };
3785
+ Insert: {
3786
+ account_key?: string;
3787
+ amount_excl?: number | null;
3788
+ amount_incl?: number | null;
3789
+ amount_open?: number | null;
3790
+ created_at?: string;
3791
+ currency?: string | null;
3792
+ customer_code?: string | null;
3793
+ customer_exact_id?: string | null;
3794
+ customer_name?: string | null;
3795
+ description?: string | null;
3796
+ division_code?: number | null;
3797
+ due_date?: string | null;
3798
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3799
+ exact_id: string;
3800
+ exact_modified?: string | null;
3801
+ exact_timestamp?: number | null;
3802
+ id?: string;
3803
+ invoice_date?: string | null;
3804
+ invoice_number?: string | null;
3805
+ order_number?: string | null;
3806
+ paid_at?: string | null;
3807
+ payment_status?: string;
3808
+ raw?: import("../integrations/supabase/types").Json | null;
3809
+ receivable_synced_at?: string | null;
3810
+ status_code?: number | null;
3811
+ updated_at?: string;
3812
+ };
3813
+ Update: {
3814
+ account_key?: string;
3815
+ amount_excl?: number | null;
3816
+ amount_incl?: number | null;
3817
+ amount_open?: number | null;
3818
+ created_at?: string;
3819
+ currency?: string | null;
3820
+ customer_code?: string | null;
3821
+ customer_exact_id?: string | null;
3822
+ customer_name?: string | null;
3823
+ description?: string | null;
3824
+ division_code?: number | null;
3825
+ due_date?: string | null;
3826
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3827
+ exact_id?: string;
3828
+ exact_modified?: string | null;
3829
+ exact_timestamp?: number | null;
3830
+ id?: string;
3831
+ invoice_date?: string | null;
3832
+ invoice_number?: string | null;
3833
+ order_number?: string | null;
3834
+ paid_at?: string | null;
3835
+ payment_status?: string;
3836
+ raw?: import("../integrations/supabase/types").Json | null;
3837
+ receivable_synced_at?: string | null;
3838
+ status_code?: number | null;
3839
+ updated_at?: string;
3840
+ };
3841
+ Relationships: [];
3842
+ };
3843
+ exact_auth_items: {
3844
+ Row: {
3845
+ account_key: string;
3846
+ barcode: string | null;
3847
+ code: string | null;
3848
+ cost_price: number | null;
3849
+ created_at: string;
3850
+ description: string | null;
3851
+ division_code: number | null;
3852
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3853
+ exact_id: string;
3854
+ exact_modified: string | null;
3855
+ exact_timestamp: number | null;
3856
+ gl_account_code: string | null;
3857
+ id: string;
3858
+ is_active: boolean;
3859
+ is_sales_item: boolean | null;
3860
+ item_type: string | null;
3861
+ raw: import("../integrations/supabase/types").Json | null;
3862
+ sales_price: number | null;
3863
+ unit: string | null;
3864
+ updated_at: string;
3865
+ vat_code: string | null;
3866
+ };
3867
+ Insert: {
3868
+ account_key?: string;
3869
+ barcode?: string | null;
3870
+ code?: string | null;
3871
+ cost_price?: number | null;
3872
+ created_at?: string;
3873
+ description?: string | null;
3874
+ division_code?: number | null;
3875
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3876
+ exact_id: string;
3877
+ exact_modified?: string | null;
3878
+ exact_timestamp?: number | null;
3879
+ gl_account_code?: string | null;
3880
+ id?: string;
3881
+ is_active?: boolean;
3882
+ is_sales_item?: boolean | null;
3883
+ item_type?: string | null;
3884
+ raw?: import("../integrations/supabase/types").Json | null;
3885
+ sales_price?: number | null;
3886
+ unit?: string | null;
3887
+ updated_at?: string;
3888
+ vat_code?: string | null;
3889
+ };
3890
+ Update: {
3891
+ account_key?: string;
3892
+ barcode?: string | null;
3893
+ code?: string | null;
3894
+ cost_price?: number | null;
3895
+ created_at?: string;
3896
+ description?: string | null;
3897
+ division_code?: number | null;
3898
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3899
+ exact_id?: string;
3900
+ exact_modified?: string | null;
3901
+ exact_timestamp?: number | null;
3902
+ gl_account_code?: string | null;
3903
+ id?: string;
3904
+ is_active?: boolean;
3905
+ is_sales_item?: boolean | null;
3906
+ item_type?: string | null;
3907
+ raw?: import("../integrations/supabase/types").Json | null;
3908
+ sales_price?: number | null;
3909
+ unit?: string | null;
3910
+ updated_at?: string;
3911
+ vat_code?: string | null;
3912
+ };
3913
+ Relationships: [];
3914
+ };
3915
+ exact_auth_sync_log: {
3916
+ Row: {
3917
+ account_key: string;
3918
+ calls_used: number;
3919
+ created_at: string;
3920
+ domain: string;
3921
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3922
+ error: string | null;
3923
+ finished_at: string | null;
3924
+ id: string;
3925
+ ok: boolean;
3926
+ records: number;
3927
+ started_at: string;
3928
+ };
3929
+ Insert: {
3930
+ account_key?: string;
3931
+ calls_used?: number;
3932
+ created_at?: string;
3933
+ domain: string;
3934
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3935
+ error?: string | null;
3936
+ finished_at?: string | null;
3937
+ id?: string;
3938
+ ok?: boolean;
3939
+ records?: number;
3940
+ started_at?: string;
3941
+ };
3942
+ Update: {
3943
+ account_key?: string;
3944
+ calls_used?: number;
3945
+ created_at?: string;
3946
+ domain?: string;
3947
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3948
+ error?: string | null;
3949
+ finished_at?: string | null;
3950
+ id?: string;
3951
+ ok?: boolean;
3952
+ records?: number;
3953
+ started_at?: string;
3447
3954
  };
3448
- Relationships: [{
3449
- foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
3450
- columns: ["connection_id"];
3451
- isOneToOne: false;
3452
- referencedRelation: "exact_connections";
3453
- referencedColumns: ["id"];
3454
- }];
3955
+ Relationships: [];
3455
3956
  };
3456
- exact_analytics_cache: {
3957
+ exact_auth_sync_state: {
3457
3958
  Row: {
3458
- analytics_type: string;
3459
- avg_payment_days: number | null;
3460
- computed_at: string;
3461
- connection_id: string;
3462
- data_raw: import("../integrations/supabase/types").Json | null;
3463
- expires_at: string | null;
3464
- id: string;
3465
- open_count: number | null;
3466
- overdue_amount: number | null;
3467
- paid_this_month: number | null;
3468
- period_key: string;
3469
- total_invoiced: number | null;
3470
- total_open: number | null;
3959
+ account_key: string;
3960
+ created_at: string;
3961
+ cursor_timestamp: number;
3962
+ division_code: number | null;
3963
+ domain: string;
3964
+ duration_ms: number | null;
3965
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3966
+ initial_sync_done: boolean;
3967
+ last_error: string | null;
3968
+ last_run_at: string | null;
3969
+ last_success_at: string | null;
3970
+ locked_at: string | null;
3971
+ needs_initial_sync: boolean;
3972
+ record_count: number;
3973
+ updated_at: string;
3471
3974
  };
3472
3975
  Insert: {
3473
- analytics_type: string;
3474
- avg_payment_days?: number | null;
3475
- computed_at?: string;
3476
- connection_id: string;
3477
- data_raw?: import("../integrations/supabase/types").Json | null;
3478
- expires_at?: string | null;
3479
- id?: string;
3480
- open_count?: number | null;
3481
- overdue_amount?: number | null;
3482
- paid_this_month?: number | null;
3483
- period_key: string;
3484
- total_invoiced?: number | null;
3485
- total_open?: number | null;
3976
+ account_key?: string;
3977
+ created_at?: string;
3978
+ cursor_timestamp?: number;
3979
+ division_code?: number | null;
3980
+ domain: string;
3981
+ duration_ms?: number | null;
3982
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3983
+ initial_sync_done?: boolean;
3984
+ last_error?: string | null;
3985
+ last_run_at?: string | null;
3986
+ last_success_at?: string | null;
3987
+ locked_at?: string | null;
3988
+ needs_initial_sync?: boolean;
3989
+ record_count?: number;
3990
+ updated_at?: string;
3486
3991
  };
3487
3992
  Update: {
3488
- analytics_type?: string;
3489
- avg_payment_days?: number | null;
3490
- computed_at?: string;
3491
- connection_id?: string;
3492
- data_raw?: import("../integrations/supabase/types").Json | null;
3493
- expires_at?: string | null;
3494
- id?: string;
3495
- open_count?: number | null;
3496
- overdue_amount?: number | null;
3497
- paid_this_month?: number | null;
3498
- period_key?: string;
3499
- total_invoiced?: number | null;
3500
- total_open?: number | null;
3993
+ account_key?: string;
3994
+ created_at?: string;
3995
+ cursor_timestamp?: number;
3996
+ division_code?: number | null;
3997
+ domain?: string;
3998
+ duration_ms?: number | null;
3999
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4000
+ initial_sync_done?: boolean;
4001
+ last_error?: string | null;
4002
+ last_run_at?: string | null;
4003
+ last_success_at?: string | null;
4004
+ locked_at?: string | null;
4005
+ needs_initial_sync?: boolean;
4006
+ record_count?: number;
4007
+ updated_at?: string;
3501
4008
  };
3502
- Relationships: [{
3503
- foreignKeyName: "exact_analytics_cache_connection_id_fkey";
3504
- columns: ["connection_id"];
3505
- isOneToOne: false;
3506
- referencedRelation: "exact_connections";
3507
- referencedColumns: ["id"];
3508
- }];
4009
+ Relationships: [];
3509
4010
  };
3510
4011
  exact_bulk_operation_items: {
3511
4012
  Row: {
@@ -8169,6 +8670,66 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8169
8670
  };
8170
8671
  Relationships: [];
8171
8672
  };
8673
+ logistics_recalc_jobs: {
8674
+ Row: {
8675
+ carts_created: number;
8676
+ created_at: string;
8677
+ cursor: string | null;
8678
+ errors: import("../integrations/supabase/types").Json;
8679
+ failed: number;
8680
+ finished_at: string | null;
8681
+ id: string;
8682
+ last_tick_at: string | null;
8683
+ phase: string;
8684
+ processed: number;
8685
+ skipped_locked: number;
8686
+ started_by: string | null;
8687
+ status: string;
8688
+ steps: import("../integrations/supabase/types").Json;
8689
+ strategy_id: string | null;
8690
+ tasks_updated: number;
8691
+ updated_at: string;
8692
+ };
8693
+ Insert: {
8694
+ carts_created?: number;
8695
+ created_at?: string;
8696
+ cursor?: string | null;
8697
+ errors?: import("../integrations/supabase/types").Json;
8698
+ failed?: number;
8699
+ finished_at?: string | null;
8700
+ id?: string;
8701
+ last_tick_at?: string | null;
8702
+ phase?: string;
8703
+ processed?: number;
8704
+ skipped_locked?: number;
8705
+ started_by?: string | null;
8706
+ status?: string;
8707
+ steps?: import("../integrations/supabase/types").Json;
8708
+ strategy_id?: string | null;
8709
+ tasks_updated?: number;
8710
+ updated_at?: string;
8711
+ };
8712
+ Update: {
8713
+ carts_created?: number;
8714
+ created_at?: string;
8715
+ cursor?: string | null;
8716
+ errors?: import("../integrations/supabase/types").Json;
8717
+ failed?: number;
8718
+ finished_at?: string | null;
8719
+ id?: string;
8720
+ last_tick_at?: string | null;
8721
+ phase?: string;
8722
+ processed?: number;
8723
+ skipped_locked?: number;
8724
+ started_by?: string | null;
8725
+ status?: string;
8726
+ steps?: import("../integrations/supabase/types").Json;
8727
+ strategy_id?: string | null;
8728
+ tasks_updated?: number;
8729
+ updated_at?: string;
8730
+ };
8731
+ Relationships: [];
8732
+ };
8172
8733
  logistics_reschedules: {
8173
8734
  Row: {
8174
8735
  created_at: string;
@@ -8531,6 +9092,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8531
9092
  };
8532
9093
  logistics_tasks: {
8533
9094
  Row: {
9095
+ attempt_log: import("../integrations/supabase/types").Json;
9096
+ attempts: number;
8534
9097
  buffer_ref: string | null;
8535
9098
  claimed_at: string | null;
8536
9099
  claimed_by: string | null;
@@ -8540,6 +9103,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8540
9103
  due_at: string | null;
8541
9104
  error: string | null;
8542
9105
  id: string;
9106
+ last_error: string | null;
9107
+ next_attempt_at: string | null;
8543
9108
  order_ref: string;
8544
9109
  owner_module: string;
8545
9110
  payload: import("../integrations/supabase/types").Json;
@@ -8560,6 +9125,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8560
9125
  user_id: string;
8561
9126
  };
8562
9127
  Insert: {
9128
+ attempt_log?: import("../integrations/supabase/types").Json;
9129
+ attempts?: number;
8563
9130
  buffer_ref?: string | null;
8564
9131
  claimed_at?: string | null;
8565
9132
  claimed_by?: string | null;
@@ -8569,6 +9136,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8569
9136
  due_at?: string | null;
8570
9137
  error?: string | null;
8571
9138
  id?: string;
9139
+ last_error?: string | null;
9140
+ next_attempt_at?: string | null;
8572
9141
  order_ref: string;
8573
9142
  owner_module: string;
8574
9143
  payload?: import("../integrations/supabase/types").Json;
@@ -8589,6 +9158,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8589
9158
  user_id?: string;
8590
9159
  };
8591
9160
  Update: {
9161
+ attempt_log?: import("../integrations/supabase/types").Json;
9162
+ attempts?: number;
8592
9163
  buffer_ref?: string | null;
8593
9164
  claimed_at?: string | null;
8594
9165
  claimed_by?: string | null;
@@ -8598,6 +9169,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8598
9169
  due_at?: string | null;
8599
9170
  error?: string | null;
8600
9171
  id?: string;
9172
+ last_error?: string | null;
9173
+ next_attempt_at?: string | null;
8601
9174
  order_ref?: string;
8602
9175
  owner_module?: string;
8603
9176
  payload?: import("../integrations/supabase/types").Json;
@@ -9947,6 +10520,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
9947
10520
  };
9948
10521
  offer_settings: {
9949
10522
  Row: {
10523
+ brand_name: string | null;
9950
10524
  button_color: string;
9951
10525
  created_at: string;
9952
10526
  default_countries: string[];
@@ -9968,6 +10542,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
9968
10542
  updated_at: string;
9969
10543
  };
9970
10544
  Insert: {
10545
+ brand_name?: string | null;
9971
10546
  button_color?: string;
9972
10547
  created_at?: string;
9973
10548
  default_countries?: string[];
@@ -9989,6 +10564,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
9989
10564
  updated_at?: string;
9990
10565
  };
9991
10566
  Update: {
10567
+ brand_name?: string | null;
9992
10568
  button_color?: string;
9993
10569
  created_at?: string;
9994
10570
  default_countries?: string[];
@@ -13398,6 +13974,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13398
13974
  buffer_key: string | null;
13399
13975
  created_at: string;
13400
13976
  customer_names: string[];
13977
+ device_id: string | null;
13401
13978
  geprint: boolean;
13402
13979
  geprint_op: string | null;
13403
13980
  id: string;
@@ -13407,6 +13984,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13407
13984
  naar_pickstation: boolean;
13408
13985
  naar_pickstation_op: string | null;
13409
13986
  order_number: string | null;
13987
+ scanner_id: string | null;
13410
13988
  scanner_key: string;
13411
13989
  status: string;
13412
13990
  totaal_producten: number;
@@ -13417,6 +13995,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13417
13995
  buffer_key?: string | null;
13418
13996
  created_at?: string;
13419
13997
  customer_names?: string[];
13998
+ device_id?: string | null;
13420
13999
  geprint?: boolean;
13421
14000
  geprint_op?: string | null;
13422
14001
  id?: string;
@@ -13426,6 +14005,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13426
14005
  naar_pickstation?: boolean;
13427
14006
  naar_pickstation_op?: string | null;
13428
14007
  order_number?: string | null;
14008
+ scanner_id?: string | null;
13429
14009
  scanner_key?: string;
13430
14010
  status?: string;
13431
14011
  totaal_producten?: number;
@@ -13436,6 +14016,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13436
14016
  buffer_key?: string | null;
13437
14017
  created_at?: string;
13438
14018
  customer_names?: string[];
14019
+ device_id?: string | null;
13439
14020
  geprint?: boolean;
13440
14021
  geprint_op?: string | null;
13441
14022
  id?: string;
@@ -13445,6 +14026,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13445
14026
  naar_pickstation?: boolean;
13446
14027
  naar_pickstation_op?: string | null;
13447
14028
  order_number?: string | null;
14029
+ scanner_id?: string | null;
13448
14030
  scanner_key?: string;
13449
14031
  status?: string;
13450
14032
  totaal_producten?: number;
@@ -13456,31 +14038,46 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13456
14038
  Row: {
13457
14039
  code: string;
13458
14040
  created_at: string;
14041
+ device_id: string | null;
13459
14042
  id: string;
13460
14043
  kar_id: string | null;
14044
+ latency_ms: number | null;
14045
+ medewerker_naam: string | null;
13461
14046
  message: string | null;
13462
14047
  result: string;
14048
+ retry_count: number;
13463
14049
  scanner_key: string;
14050
+ session_id: string | null;
13464
14051
  user_id: string | null;
13465
14052
  };
13466
14053
  Insert: {
13467
14054
  code: string;
13468
14055
  created_at?: string;
14056
+ device_id?: string | null;
13469
14057
  id?: string;
13470
14058
  kar_id?: string | null;
14059
+ latency_ms?: number | null;
14060
+ medewerker_naam?: string | null;
13471
14061
  message?: string | null;
13472
14062
  result: string;
14063
+ retry_count?: number;
13473
14064
  scanner_key?: string;
14065
+ session_id?: string | null;
13474
14066
  user_id?: string | null;
13475
14067
  };
13476
14068
  Update: {
13477
14069
  code?: string;
13478
14070
  created_at?: string;
14071
+ device_id?: string | null;
13479
14072
  id?: string;
13480
14073
  kar_id?: string | null;
14074
+ latency_ms?: number | null;
14075
+ medewerker_naam?: string | null;
13481
14076
  message?: string | null;
13482
14077
  result?: string;
14078
+ retry_count?: number;
13483
14079
  scanner_key?: string;
14080
+ session_id?: string | null;
13484
14081
  user_id?: string | null;
13485
14082
  };
13486
14083
  Relationships: [];
@@ -13537,6 +14134,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13537
14134
  printed_at: string;
13538
14135
  status: string;
13539
14136
  updated_at: string;
14137
+ vergrendeld_door: string | null;
14138
+ vergrendeld_sessie: string | null;
14139
+ vergrendeld_tot: string | null;
13540
14140
  };
13541
14141
  Insert: {
13542
14142
  barcode: string;
@@ -13550,6 +14150,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13550
14150
  printed_at?: string;
13551
14151
  status?: string;
13552
14152
  updated_at?: string;
14153
+ vergrendeld_door?: string | null;
14154
+ vergrendeld_sessie?: string | null;
14155
+ vergrendeld_tot?: string | null;
13553
14156
  };
13554
14157
  Update: {
13555
14158
  barcode?: string;
@@ -13563,6 +14166,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13563
14166
  printed_at?: string;
13564
14167
  status?: string;
13565
14168
  updated_at?: string;
14169
+ vergrendeld_door?: string | null;
14170
+ vergrendeld_sessie?: string | null;
14171
+ vergrendeld_tot?: string | null;
13566
14172
  };
13567
14173
  Relationships: [];
13568
14174
  };
@@ -13571,31 +14177,40 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13571
14177
  actief: boolean;
13572
14178
  created_at: string;
13573
14179
  id: string;
14180
+ max_producten_per_kar: number | null;
13574
14181
  naam: string;
13575
14182
  omschrijving: string | null;
14183
+ pincode: string | null;
13576
14184
  slug: string;
13577
14185
  type: string;
13578
14186
  updated_at: string;
14187
+ vereist_medewerker: boolean;
13579
14188
  };
13580
14189
  Insert: {
13581
14190
  actief?: boolean;
13582
14191
  created_at?: string;
13583
14192
  id?: string;
14193
+ max_producten_per_kar?: number | null;
13584
14194
  naam: string;
13585
14195
  omschrijving?: string | null;
14196
+ pincode?: string | null;
13586
14197
  slug: string;
13587
14198
  type?: string;
13588
14199
  updated_at?: string;
14200
+ vereist_medewerker?: boolean;
13589
14201
  };
13590
14202
  Update: {
13591
14203
  actief?: boolean;
13592
14204
  created_at?: string;
13593
14205
  id?: string;
14206
+ max_producten_per_kar?: number | null;
13594
14207
  naam?: string;
13595
14208
  omschrijving?: string | null;
14209
+ pincode?: string | null;
13596
14210
  slug?: string;
13597
14211
  type?: string;
13598
14212
  updated_at?: string;
14213
+ vereist_medewerker?: boolean;
13599
14214
  };
13600
14215
  Relationships: [];
13601
14216
  };
@@ -17560,6 +18175,54 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
17560
18175
  };
17561
18176
  Returns: import("../integrations/supabase/types").Json;
17562
18177
  };
18178
+ claim_logistics_tasks: {
18179
+ Args: {
18180
+ _limit?: number;
18181
+ _owner_module: string;
18182
+ _stale_minutes?: number;
18183
+ _task_type: string;
18184
+ _worker: string;
18185
+ };
18186
+ Returns: {
18187
+ attempt_log: import("../integrations/supabase/types").Json;
18188
+ attempts: number;
18189
+ buffer_ref: string | null;
18190
+ claimed_at: string | null;
18191
+ claimed_by: string | null;
18192
+ completed_at: string | null;
18193
+ created_at: string;
18194
+ depends_on: string[];
18195
+ due_at: string | null;
18196
+ error: string | null;
18197
+ id: string;
18198
+ last_error: string | null;
18199
+ next_attempt_at: string | null;
18200
+ order_ref: string;
18201
+ owner_module: string;
18202
+ payload: import("../integrations/supabase/types").Json;
18203
+ plan_run_id: string | null;
18204
+ planned_end: string | null;
18205
+ planned_start: string | null;
18206
+ priority: number;
18207
+ result: import("../integrations/supabase/types").Json | null;
18208
+ rule_config_id: string | null;
18209
+ rule_version: number | null;
18210
+ sequence: number;
18211
+ shadow: boolean;
18212
+ started_at: string | null;
18213
+ status: string;
18214
+ strategy_id: string | null;
18215
+ task_type: string;
18216
+ updated_at: string;
18217
+ user_id: string;
18218
+ }[];
18219
+ SetofOptions: {
18220
+ from: "*";
18221
+ to: "logistics_tasks";
18222
+ isOneToOne: false;
18223
+ isSetofReturn: true;
18224
+ };
18225
+ };
17563
18226
  claim_print_jobs: {
17564
18227
  Args: {
17565
18228
  _agent_id: string;
@@ -17800,6 +18463,21 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
17800
18463
  Args: never;
17801
18464
  Returns: string;
17802
18465
  };
18466
+ exact_auth_consume_calls: {
18467
+ Args: {
18468
+ _account_key: string;
18469
+ _calls?: number;
18470
+ _day_limit?: number;
18471
+ _division_code: number;
18472
+ _environment: string;
18473
+ _minute_limit?: number;
18474
+ };
18475
+ Returns: import("../integrations/supabase/types").Json;
18476
+ };
18477
+ exact_auth_prune_sync_log: {
18478
+ Args: never;
18479
+ Returns: undefined;
18480
+ };
17803
18481
  exact_decrypt: {
17804
18482
  Args: {
17805
18483
  cipher: string;
@@ -18009,6 +18687,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18009
18687
  };
18010
18688
  Returns: number;
18011
18689
  };
18690
+ get_offer_branding: {
18691
+ Args: never;
18692
+ Returns: import("../integrations/supabase/types").Json;
18693
+ };
18012
18694
  get_offer_by_link_code: {
18013
18695
  Args: {
18014
18696
  p_code: string;
@@ -18180,6 +18862,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18180
18862
  };
18181
18863
  Returns: string;
18182
18864
  };
18865
+ logistics_active_pick_workdays: {
18866
+ Args: never;
18867
+ Returns: string[];
18868
+ };
18183
18869
  logistics_address_key: {
18184
18870
  Args: {
18185
18871
  p_location: string;
@@ -18296,6 +18982,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18296
18982
  p_worker?: string;
18297
18983
  };
18298
18984
  Returns: {
18985
+ attempt_log: import("../integrations/supabase/types").Json;
18986
+ attempts: number;
18299
18987
  buffer_ref: string | null;
18300
18988
  claimed_at: string | null;
18301
18989
  claimed_by: string | null;
@@ -18305,6 +18993,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18305
18993
  due_at: string | null;
18306
18994
  error: string | null;
18307
18995
  id: string;
18996
+ last_error: string | null;
18997
+ next_attempt_at: string | null;
18308
18998
  order_ref: string;
18309
18999
  owner_module: string;
18310
19000
  payload: import("../integrations/supabase/types").Json;
@@ -18337,6 +19027,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18337
19027
  p_worker?: string;
18338
19028
  };
18339
19029
  Returns: {
19030
+ attempt_log: import("../integrations/supabase/types").Json;
19031
+ attempts: number;
18340
19032
  buffer_ref: string | null;
18341
19033
  claimed_at: string | null;
18342
19034
  claimed_by: string | null;
@@ -18346,6 +19038,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18346
19038
  due_at: string | null;
18347
19039
  error: string | null;
18348
19040
  id: string;
19041
+ last_error: string | null;
19042
+ next_attempt_at: string | null;
18349
19043
  order_ref: string;
18350
19044
  owner_module: string;
18351
19045
  payload: import("../integrations/supabase/types").Json;
@@ -18378,6 +19072,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18378
19072
  p_task_id: string;
18379
19073
  };
18380
19074
  Returns: {
19075
+ attempt_log: import("../integrations/supabase/types").Json;
19076
+ attempts: number;
18381
19077
  buffer_ref: string | null;
18382
19078
  claimed_at: string | null;
18383
19079
  claimed_by: string | null;
@@ -18387,6 +19083,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18387
19083
  due_at: string | null;
18388
19084
  error: string | null;
18389
19085
  id: string;
19086
+ last_error: string | null;
19087
+ next_attempt_at: string | null;
18390
19088
  order_ref: string;
18391
19089
  owner_module: string;
18392
19090
  payload: import("../integrations/supabase/types").Json;
@@ -18468,6 +19166,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18468
19166
  p_task_id: string;
18469
19167
  };
18470
19168
  Returns: {
19169
+ attempt_log: import("../integrations/supabase/types").Json;
19170
+ attempts: number;
18471
19171
  buffer_ref: string | null;
18472
19172
  claimed_at: string | null;
18473
19173
  claimed_by: string | null;
@@ -18477,6 +19177,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18477
19177
  due_at: string | null;
18478
19178
  error: string | null;
18479
19179
  id: string;
19180
+ last_error: string | null;
19181
+ next_attempt_at: string | null;
18480
19182
  order_ref: string;
18481
19183
  owner_module: string;
18482
19184
  payload: import("../integrations/supabase/types").Json;
@@ -18503,12 +19205,30 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18503
19205
  isSetofReturn: false;
18504
19206
  };
18505
19207
  };
19208
+ logistics_live_carriers: {
19209
+ Args: {
19210
+ p_order_ref: string;
19211
+ };
19212
+ Returns: import("../integrations/supabase/types").Json;
19213
+ };
19214
+ logistics_live_cart_count: {
19215
+ Args: {
19216
+ p_order_ref: string;
19217
+ };
19218
+ Returns: number;
19219
+ };
18506
19220
  logistics_not_past: {
18507
19221
  Args: {
18508
19222
  p_ts: string;
18509
19223
  };
18510
19224
  Returns: string;
18511
19225
  };
19226
+ logistics_order_cart_count: {
19227
+ Args: {
19228
+ p_order_ref: string;
19229
+ };
19230
+ Returns: number;
19231
+ };
18512
19232
  logistics_order_pick_day: {
18513
19233
  Args: {
18514
19234
  p_order_ref: string;
@@ -18685,6 +19405,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18685
19405
  };
18686
19406
  Returns: import("../integrations/supabase/types").Json;
18687
19407
  };
19408
+ logistics_shift_to_workday: {
19409
+ Args: {
19410
+ p_days: string[];
19411
+ p_ts: string;
19412
+ };
19413
+ Returns: string;
19414
+ };
18688
19415
  logistics_supersede_stale_tasks: {
18689
19416
  Args: {
18690
19417
  p_keep: string[];
@@ -18970,6 +19697,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18970
19697
  isSetofReturn: false;
18971
19698
  };
18972
19699
  };
19700
+ pick_current_pick_day: {
19701
+ Args: never;
19702
+ Returns: string;
19703
+ };
18973
19704
  pick_document_layout_data: {
18974
19705
  Args: {
18975
19706
  _layout_id: string;
@@ -19201,10 +19932,68 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
19201
19932
  Args: never;
19202
19933
  Returns: undefined;
19203
19934
  };
19935
+ run_logistics_tasks_dispatch: {
19936
+ Args: never;
19937
+ Returns: undefined;
19938
+ };
19204
19939
  run_twinfield_queue_tick: {
19205
19940
  Args: never;
19206
19941
  Returns: undefined;
19207
19942
  };
19943
+ scan_cancel_kar: {
19944
+ Args: {
19945
+ p_kar_id: string;
19946
+ };
19947
+ Returns: import("../integrations/supabase/types").Json;
19948
+ };
19949
+ scan_dashboard_stats: {
19950
+ Args: {
19951
+ p_dagen?: number;
19952
+ };
19953
+ Returns: import("../integrations/supabase/types").Json;
19954
+ };
19955
+ scan_finish_kar: {
19956
+ Args: {
19957
+ p_kar_id: string;
19958
+ };
19959
+ Returns: import("../integrations/supabase/types").Json;
19960
+ };
19961
+ scan_register_item: {
19962
+ Args: {
19963
+ p_kar_id: string;
19964
+ p_pakbon_item_id: string;
19965
+ p_scanned_by?: string;
19966
+ };
19967
+ Returns: import("../integrations/supabase/types").Json;
19968
+ };
19969
+ scan_release_expired_locks: {
19970
+ Args: never;
19971
+ Returns: import("../integrations/supabase/types").Json;
19972
+ };
19973
+ scan_remove_item: {
19974
+ Args: {
19975
+ p_kar_item_id: string;
19976
+ };
19977
+ Returns: import("../integrations/supabase/types").Json;
19978
+ };
19979
+ scan_start_kar: {
19980
+ Args: {
19981
+ p_medewerker_id?: string;
19982
+ p_medewerker_naam?: string;
19983
+ p_pakbon_ids: string[];
19984
+ p_scanner_key?: string;
19985
+ };
19986
+ Returns: import("../integrations/supabase/types").Json;
19987
+ } | {
19988
+ Args: {
19989
+ p_medewerker_id?: string;
19990
+ p_medewerker_naam?: string;
19991
+ p_pakbon_ids: string[];
19992
+ p_scanner_key?: string;
19993
+ p_sessie?: string;
19994
+ };
19995
+ Returns: import("../integrations/supabase/types").Json;
19996
+ };
19208
19997
  schedule_floriday_additional_services_sync: {
19209
19998
  Args: {
19210
19999
  p_apikey: string;