@flowselections/floriday-klanten-module 1.0.29 → 1.0.31

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 (66) hide show
  1. package/dist-lib/components/klanten/BewerkKlant.d.ts +6 -1
  2. package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
  3. package/dist-lib/components/klanten/BewerkKlant.js +7 -4
  4. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
  5. package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -2
  6. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts +12 -0
  7. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts.map +1 -0
  8. package/dist-lib/components/klanten/KlantBewerkenDialog.js +27 -0
  9. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  10. package/dist-lib/components/klanten/KlantDetail.js +5 -3
  11. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  12. package/dist-lib/components/klanten/KlantenOverzicht.js +65 -11
  13. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts +7 -1
  14. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts.map +1 -1
  15. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +14 -7
  16. package/dist-lib/index.d.ts +1 -0
  17. package/dist-lib/index.d.ts.map +1 -1
  18. package/dist-lib/index.js +1 -0
  19. package/dist-lib/integrations/supabase/auth-middleware.d.ts +745 -0
  20. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/client.d.ts +745 -0
  22. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/client.server.d.ts +745 -0
  24. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  25. package/dist-lib/integrations/supabase/types.d.ts +745 -0
  26. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  27. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +2411 -176
  28. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/accounting.functions.d.ts +2411 -176
  30. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/customer-analytics.functions.d.ts +745 -0
  32. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/customer-notes.functions.d.ts +1490 -0
  34. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/customer-revenue.functions.d.ts +20582 -0
  36. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -0
  37. package/dist-lib/lib/customer-revenue.functions.js +124 -0
  38. package/dist-lib/lib/customers.functions.d.ts +6705 -0
  39. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/delivery-locations.functions.d.ts +3332 -352
  41. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/external-customers.functions.d.ts +3332 -352
  43. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-assortment.functions.d.ts +745 -0
  45. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-discounts.functions.d.ts +1490 -0
  47. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/floriday-trade-items.functions.d.ts +745 -0
  49. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/local-discounts.functions.d.ts +5215 -0
  51. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/logistics-events.functions.d.ts +745 -0
  53. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/logistics-strategy.functions.d.ts +3332 -352
  55. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/overdue-invoices.functions.d.ts +745 -0
  57. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/price-groups-local.functions.d.ts +5215 -0
  59. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/price-groups.functions.d.ts +745 -0
  61. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/twinfield-adopt.functions.d.ts +1490 -0
  63. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/twinfield-ledger.functions.d.ts +745 -0
  65. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  66. package/package.json +2 -2
@@ -3552,6 +3552,474 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
3552
3552
  referencedColumns: ["id"];
3553
3553
  }];
3554
3554
  };
3555
+ exact_auth_call_budget: {
3556
+ Row: {
3557
+ account_key: string;
3558
+ day_count: number;
3559
+ day_date: string;
3560
+ division_code: number;
3561
+ environment: string;
3562
+ minute_count: number;
3563
+ minute_window: string;
3564
+ updated_at: string;
3565
+ };
3566
+ Insert: {
3567
+ account_key?: string;
3568
+ day_count?: number;
3569
+ day_date?: string;
3570
+ division_code?: number;
3571
+ environment: string;
3572
+ minute_count?: number;
3573
+ minute_window?: string;
3574
+ updated_at?: string;
3575
+ };
3576
+ Update: {
3577
+ account_key?: string;
3578
+ day_count?: number;
3579
+ day_date?: string;
3580
+ division_code?: number;
3581
+ environment?: string;
3582
+ minute_count?: number;
3583
+ minute_window?: string;
3584
+ updated_at?: string;
3585
+ };
3586
+ Relationships: [];
3587
+ };
3588
+ exact_auth_customers: {
3589
+ Row: {
3590
+ account_key: string;
3591
+ address_line1: string | null;
3592
+ chamber_of_commerce: string | null;
3593
+ city: string | null;
3594
+ code: string | null;
3595
+ country: string | null;
3596
+ created_at: string;
3597
+ currency: string | null;
3598
+ division_code: number | null;
3599
+ email: string | null;
3600
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3601
+ exact_id: string;
3602
+ exact_modified: string | null;
3603
+ exact_timestamp: number | null;
3604
+ id: string;
3605
+ is_active: boolean;
3606
+ name: string | null;
3607
+ phone: string | null;
3608
+ postcode: string | null;
3609
+ raw: import("../integrations/supabase/types").Json | null;
3610
+ status: string | null;
3611
+ updated_at: string;
3612
+ vat_number: string | null;
3613
+ website: string | null;
3614
+ };
3615
+ Insert: {
3616
+ account_key?: string;
3617
+ address_line1?: string | null;
3618
+ chamber_of_commerce?: string | null;
3619
+ city?: string | null;
3620
+ code?: string | null;
3621
+ country?: string | null;
3622
+ created_at?: string;
3623
+ currency?: string | null;
3624
+ division_code?: number | null;
3625
+ email?: string | null;
3626
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3627
+ exact_id: string;
3628
+ exact_modified?: string | null;
3629
+ exact_timestamp?: number | null;
3630
+ id?: string;
3631
+ is_active?: boolean;
3632
+ name?: string | null;
3633
+ phone?: string | null;
3634
+ postcode?: string | null;
3635
+ raw?: import("../integrations/supabase/types").Json | null;
3636
+ status?: string | null;
3637
+ updated_at?: string;
3638
+ vat_number?: string | null;
3639
+ website?: string | null;
3640
+ };
3641
+ Update: {
3642
+ account_key?: string;
3643
+ address_line1?: string | null;
3644
+ chamber_of_commerce?: string | null;
3645
+ city?: string | null;
3646
+ code?: string | null;
3647
+ country?: string | null;
3648
+ created_at?: string;
3649
+ currency?: string | null;
3650
+ division_code?: number | null;
3651
+ email?: string | null;
3652
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3653
+ exact_id?: string;
3654
+ exact_modified?: string | null;
3655
+ exact_timestamp?: number | null;
3656
+ id?: string;
3657
+ is_active?: boolean;
3658
+ name?: string | null;
3659
+ phone?: string | null;
3660
+ postcode?: string | null;
3661
+ raw?: import("../integrations/supabase/types").Json | null;
3662
+ status?: string | null;
3663
+ updated_at?: string;
3664
+ vat_number?: string | null;
3665
+ website?: string | null;
3666
+ };
3667
+ Relationships: [];
3668
+ };
3669
+ exact_auth_divisions: {
3670
+ Row: {
3671
+ account_key: string;
3672
+ company_name: string | null;
3673
+ created_at: string;
3674
+ division_code: number | null;
3675
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3676
+ id: string;
3677
+ last_synced_at: string | null;
3678
+ updated_at: string;
3679
+ };
3680
+ Insert: {
3681
+ account_key?: string;
3682
+ company_name?: string | null;
3683
+ created_at?: string;
3684
+ division_code?: number | null;
3685
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3686
+ id?: string;
3687
+ last_synced_at?: string | null;
3688
+ updated_at?: string;
3689
+ };
3690
+ Update: {
3691
+ account_key?: string;
3692
+ company_name?: string | null;
3693
+ created_at?: string;
3694
+ division_code?: number | null;
3695
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3696
+ id?: string;
3697
+ last_synced_at?: string | null;
3698
+ updated_at?: string;
3699
+ };
3700
+ Relationships: [];
3701
+ };
3702
+ exact_auth_invoice_lines: {
3703
+ Row: {
3704
+ account_key: string;
3705
+ amount_excl: number | null;
3706
+ created_at: string;
3707
+ description: string | null;
3708
+ discount: number | null;
3709
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3710
+ exact_id: string;
3711
+ exact_timestamp: number | null;
3712
+ id: string;
3713
+ invoice_exact_id: string;
3714
+ item_code: string | null;
3715
+ item_exact_id: string | null;
3716
+ line_number: number | null;
3717
+ quantity: number | null;
3718
+ raw: import("../integrations/supabase/types").Json | null;
3719
+ unit_price: number | null;
3720
+ updated_at: string;
3721
+ vat_amount: number | null;
3722
+ vat_code: string | null;
3723
+ };
3724
+ Insert: {
3725
+ account_key?: string;
3726
+ amount_excl?: number | null;
3727
+ created_at?: string;
3728
+ description?: string | null;
3729
+ discount?: number | null;
3730
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3731
+ exact_id: string;
3732
+ exact_timestamp?: number | null;
3733
+ id?: string;
3734
+ invoice_exact_id: string;
3735
+ item_code?: string | null;
3736
+ item_exact_id?: string | null;
3737
+ line_number?: number | null;
3738
+ quantity?: number | null;
3739
+ raw?: import("../integrations/supabase/types").Json | null;
3740
+ unit_price?: number | null;
3741
+ updated_at?: string;
3742
+ vat_amount?: number | null;
3743
+ vat_code?: string | null;
3744
+ };
3745
+ Update: {
3746
+ account_key?: string;
3747
+ amount_excl?: number | null;
3748
+ created_at?: string;
3749
+ description?: string | null;
3750
+ discount?: number | null;
3751
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3752
+ exact_id?: string;
3753
+ exact_timestamp?: number | null;
3754
+ id?: string;
3755
+ invoice_exact_id?: string;
3756
+ item_code?: string | null;
3757
+ item_exact_id?: string | null;
3758
+ line_number?: number | null;
3759
+ quantity?: number | null;
3760
+ raw?: import("../integrations/supabase/types").Json | null;
3761
+ unit_price?: number | null;
3762
+ updated_at?: string;
3763
+ vat_amount?: number | null;
3764
+ vat_code?: string | null;
3765
+ };
3766
+ Relationships: [];
3767
+ };
3768
+ exact_auth_invoices: {
3769
+ Row: {
3770
+ account_key: string;
3771
+ amount_excl: number | null;
3772
+ amount_incl: number | null;
3773
+ amount_open: number | null;
3774
+ created_at: string;
3775
+ currency: string | null;
3776
+ customer_code: string | null;
3777
+ customer_exact_id: string | null;
3778
+ customer_name: string | null;
3779
+ description: string | null;
3780
+ division_code: number | null;
3781
+ due_date: string | null;
3782
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3783
+ exact_id: string;
3784
+ exact_modified: string | null;
3785
+ exact_timestamp: number | null;
3786
+ id: string;
3787
+ invoice_date: string | null;
3788
+ invoice_number: string | null;
3789
+ order_number: string | null;
3790
+ paid_at: string | null;
3791
+ payment_status: string;
3792
+ raw: import("../integrations/supabase/types").Json | null;
3793
+ receivable_synced_at: string | null;
3794
+ status_code: number | null;
3795
+ updated_at: string;
3796
+ };
3797
+ Insert: {
3798
+ account_key?: string;
3799
+ amount_excl?: number | null;
3800
+ amount_incl?: number | null;
3801
+ amount_open?: number | null;
3802
+ created_at?: string;
3803
+ currency?: string | null;
3804
+ customer_code?: string | null;
3805
+ customer_exact_id?: string | null;
3806
+ customer_name?: string | null;
3807
+ description?: string | null;
3808
+ division_code?: number | null;
3809
+ due_date?: string | null;
3810
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3811
+ exact_id: string;
3812
+ exact_modified?: string | null;
3813
+ exact_timestamp?: number | null;
3814
+ id?: string;
3815
+ invoice_date?: string | null;
3816
+ invoice_number?: string | null;
3817
+ order_number?: string | null;
3818
+ paid_at?: string | null;
3819
+ payment_status?: string;
3820
+ raw?: import("../integrations/supabase/types").Json | null;
3821
+ receivable_synced_at?: string | null;
3822
+ status_code?: number | null;
3823
+ updated_at?: string;
3824
+ };
3825
+ Update: {
3826
+ account_key?: string;
3827
+ amount_excl?: number | null;
3828
+ amount_incl?: number | null;
3829
+ amount_open?: number | null;
3830
+ created_at?: string;
3831
+ currency?: string | null;
3832
+ customer_code?: string | null;
3833
+ customer_exact_id?: string | null;
3834
+ customer_name?: string | null;
3835
+ description?: string | null;
3836
+ division_code?: number | null;
3837
+ due_date?: string | null;
3838
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3839
+ exact_id?: string;
3840
+ exact_modified?: string | null;
3841
+ exact_timestamp?: number | null;
3842
+ id?: string;
3843
+ invoice_date?: string | null;
3844
+ invoice_number?: string | null;
3845
+ order_number?: string | null;
3846
+ paid_at?: string | null;
3847
+ payment_status?: string;
3848
+ raw?: import("../integrations/supabase/types").Json | null;
3849
+ receivable_synced_at?: string | null;
3850
+ status_code?: number | null;
3851
+ updated_at?: string;
3852
+ };
3853
+ Relationships: [];
3854
+ };
3855
+ exact_auth_items: {
3856
+ Row: {
3857
+ account_key: string;
3858
+ barcode: string | null;
3859
+ code: string | null;
3860
+ cost_price: number | null;
3861
+ created_at: string;
3862
+ description: string | null;
3863
+ division_code: number | null;
3864
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3865
+ exact_id: string;
3866
+ exact_modified: string | null;
3867
+ exact_timestamp: number | null;
3868
+ gl_account_code: string | null;
3869
+ id: string;
3870
+ is_active: boolean;
3871
+ is_sales_item: boolean | null;
3872
+ item_type: string | null;
3873
+ raw: import("../integrations/supabase/types").Json | null;
3874
+ sales_price: number | null;
3875
+ unit: string | null;
3876
+ updated_at: string;
3877
+ vat_code: string | null;
3878
+ };
3879
+ Insert: {
3880
+ account_key?: string;
3881
+ barcode?: string | null;
3882
+ code?: string | null;
3883
+ cost_price?: number | null;
3884
+ created_at?: string;
3885
+ description?: string | null;
3886
+ division_code?: number | null;
3887
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3888
+ exact_id: string;
3889
+ exact_modified?: string | null;
3890
+ exact_timestamp?: number | null;
3891
+ gl_account_code?: string | null;
3892
+ id?: string;
3893
+ is_active?: boolean;
3894
+ is_sales_item?: boolean | null;
3895
+ item_type?: string | null;
3896
+ raw?: import("../integrations/supabase/types").Json | null;
3897
+ sales_price?: number | null;
3898
+ unit?: string | null;
3899
+ updated_at?: string;
3900
+ vat_code?: string | null;
3901
+ };
3902
+ Update: {
3903
+ account_key?: string;
3904
+ barcode?: string | null;
3905
+ code?: string | null;
3906
+ cost_price?: number | null;
3907
+ created_at?: string;
3908
+ description?: string | null;
3909
+ division_code?: number | null;
3910
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3911
+ exact_id?: string;
3912
+ exact_modified?: string | null;
3913
+ exact_timestamp?: number | null;
3914
+ gl_account_code?: string | null;
3915
+ id?: string;
3916
+ is_active?: boolean;
3917
+ is_sales_item?: boolean | null;
3918
+ item_type?: string | null;
3919
+ raw?: import("../integrations/supabase/types").Json | null;
3920
+ sales_price?: number | null;
3921
+ unit?: string | null;
3922
+ updated_at?: string;
3923
+ vat_code?: string | null;
3924
+ };
3925
+ Relationships: [];
3926
+ };
3927
+ exact_auth_sync_log: {
3928
+ Row: {
3929
+ account_key: string;
3930
+ calls_used: number;
3931
+ created_at: string;
3932
+ domain: string;
3933
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3934
+ error: string | null;
3935
+ finished_at: string | null;
3936
+ id: string;
3937
+ ok: boolean;
3938
+ records: number;
3939
+ started_at: string;
3940
+ };
3941
+ Insert: {
3942
+ account_key?: string;
3943
+ calls_used?: number;
3944
+ created_at?: string;
3945
+ domain: string;
3946
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3947
+ error?: string | null;
3948
+ finished_at?: string | null;
3949
+ id?: string;
3950
+ ok?: boolean;
3951
+ records?: number;
3952
+ started_at?: string;
3953
+ };
3954
+ Update: {
3955
+ account_key?: string;
3956
+ calls_used?: number;
3957
+ created_at?: string;
3958
+ domain?: string;
3959
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3960
+ error?: string | null;
3961
+ finished_at?: string | null;
3962
+ id?: string;
3963
+ ok?: boolean;
3964
+ records?: number;
3965
+ started_at?: string;
3966
+ };
3967
+ Relationships: [];
3968
+ };
3969
+ exact_auth_sync_state: {
3970
+ Row: {
3971
+ account_key: string;
3972
+ created_at: string;
3973
+ cursor_timestamp: number;
3974
+ division_code: number | null;
3975
+ domain: string;
3976
+ duration_ms: number | null;
3977
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3978
+ initial_sync_done: boolean;
3979
+ last_error: string | null;
3980
+ last_run_at: string | null;
3981
+ last_success_at: string | null;
3982
+ locked_at: string | null;
3983
+ needs_initial_sync: boolean;
3984
+ record_count: number;
3985
+ updated_at: string;
3986
+ };
3987
+ Insert: {
3988
+ account_key?: string;
3989
+ created_at?: string;
3990
+ cursor_timestamp?: number;
3991
+ division_code?: number | null;
3992
+ domain: string;
3993
+ duration_ms?: number | null;
3994
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3995
+ initial_sync_done?: boolean;
3996
+ last_error?: string | null;
3997
+ last_run_at?: string | null;
3998
+ last_success_at?: string | null;
3999
+ locked_at?: string | null;
4000
+ needs_initial_sync?: boolean;
4001
+ record_count?: number;
4002
+ updated_at?: string;
4003
+ };
4004
+ Update: {
4005
+ account_key?: string;
4006
+ created_at?: string;
4007
+ cursor_timestamp?: number;
4008
+ division_code?: number | null;
4009
+ domain?: string;
4010
+ duration_ms?: number | null;
4011
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4012
+ initial_sync_done?: boolean;
4013
+ last_error?: string | null;
4014
+ last_run_at?: string | null;
4015
+ last_success_at?: string | null;
4016
+ locked_at?: string | null;
4017
+ needs_initial_sync?: boolean;
4018
+ record_count?: number;
4019
+ updated_at?: string;
4020
+ };
4021
+ Relationships: [];
4022
+ };
3555
4023
  exact_bulk_operation_items: {
3556
4024
  Row: {
3557
4025
  attempts: number;
@@ -5243,12 +5711,17 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
5243
5711
  attempts: number;
5244
5712
  connection_id: string;
5245
5713
  created_at: string;
5714
+ desired_available: boolean | null;
5246
5715
  gateway_attempt_id: string | null;
5247
5716
  id: string;
5248
5717
  last_error: string | null;
5718
+ locked_at: string | null;
5719
+ locked_by: string | null;
5720
+ next_attempt_at: string;
5249
5721
  number_of_pieces: number;
5250
5722
  sent_at: string | null;
5251
5723
  status: string;
5724
+ superseded_by: string | null;
5252
5725
  trade_item_id: string;
5253
5726
  updated_at: string;
5254
5727
  user_id: string;
@@ -5257,12 +5730,17 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
5257
5730
  attempts?: number;
5258
5731
  connection_id: string;
5259
5732
  created_at?: string;
5733
+ desired_available?: boolean | null;
5260
5734
  gateway_attempt_id?: string | null;
5261
5735
  id?: string;
5262
5736
  last_error?: string | null;
5737
+ locked_at?: string | null;
5738
+ locked_by?: string | null;
5739
+ next_attempt_at?: string;
5263
5740
  number_of_pieces?: number;
5264
5741
  sent_at?: string | null;
5265
5742
  status?: string;
5743
+ superseded_by?: string | null;
5266
5744
  trade_item_id: string;
5267
5745
  updated_at?: string;
5268
5746
  user_id: string;
@@ -5271,12 +5749,17 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
5271
5749
  attempts?: number;
5272
5750
  connection_id?: string;
5273
5751
  created_at?: string;
5752
+ desired_available?: boolean | null;
5274
5753
  gateway_attempt_id?: string | null;
5275
5754
  id?: string;
5276
5755
  last_error?: string | null;
5756
+ locked_at?: string | null;
5757
+ locked_by?: string | null;
5758
+ next_attempt_at?: string;
5277
5759
  number_of_pieces?: number;
5278
5760
  sent_at?: string | null;
5279
5761
  status?: string;
5762
+ superseded_by?: string | null;
5280
5763
  trade_item_id?: string;
5281
5764
  updated_at?: string;
5282
5765
  user_id?: string;
@@ -8025,6 +8508,69 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8025
8508
  };
8026
8509
  Relationships: [];
8027
8510
  };
8511
+ logistics_floriday_pushes: {
8512
+ Row: {
8513
+ attempts: number;
8514
+ created_at: string;
8515
+ first_queued_at: string;
8516
+ fulfillment_order_id: string | null;
8517
+ id: string;
8518
+ last_error: string | null;
8519
+ last_error_at: string | null;
8520
+ last_sent_hash: string | null;
8521
+ locked_by: string | null;
8522
+ locked_until: string | null;
8523
+ next_attempt_at: string;
8524
+ order_ref: string;
8525
+ payload: import("../integrations/supabase/types").Json;
8526
+ payload_hash: string | null;
8527
+ revision: number;
8528
+ sent_at: string | null;
8529
+ status: string;
8530
+ updated_at: string;
8531
+ };
8532
+ Insert: {
8533
+ attempts?: number;
8534
+ created_at?: string;
8535
+ first_queued_at?: string;
8536
+ fulfillment_order_id?: string | null;
8537
+ id?: string;
8538
+ last_error?: string | null;
8539
+ last_error_at?: string | null;
8540
+ last_sent_hash?: string | null;
8541
+ locked_by?: string | null;
8542
+ locked_until?: string | null;
8543
+ next_attempt_at?: string;
8544
+ order_ref: string;
8545
+ payload?: import("../integrations/supabase/types").Json;
8546
+ payload_hash?: string | null;
8547
+ revision?: number;
8548
+ sent_at?: string | null;
8549
+ status?: string;
8550
+ updated_at?: string;
8551
+ };
8552
+ Update: {
8553
+ attempts?: number;
8554
+ created_at?: string;
8555
+ first_queued_at?: string;
8556
+ fulfillment_order_id?: string | null;
8557
+ id?: string;
8558
+ last_error?: string | null;
8559
+ last_error_at?: string | null;
8560
+ last_sent_hash?: string | null;
8561
+ locked_by?: string | null;
8562
+ locked_until?: string | null;
8563
+ next_attempt_at?: string;
8564
+ order_ref?: string;
8565
+ payload?: import("../integrations/supabase/types").Json;
8566
+ payload_hash?: string | null;
8567
+ revision?: number;
8568
+ sent_at?: string | null;
8569
+ status?: string;
8570
+ updated_at?: string;
8571
+ };
8572
+ Relationships: [];
8573
+ };
8028
8574
  logistics_formulas: {
8029
8575
  Row: {
8030
8576
  created_at: string;
@@ -8636,6 +9182,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8636
9182
  };
8637
9183
  logistics_tasks: {
8638
9184
  Row: {
9185
+ attempt_log: import("../integrations/supabase/types").Json;
9186
+ attempts: number;
8639
9187
  buffer_ref: string | null;
8640
9188
  claimed_at: string | null;
8641
9189
  claimed_by: string | null;
@@ -8645,6 +9193,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8645
9193
  due_at: string | null;
8646
9194
  error: string | null;
8647
9195
  id: string;
9196
+ last_error: string | null;
9197
+ next_attempt_at: string | null;
8648
9198
  order_ref: string;
8649
9199
  owner_module: string;
8650
9200
  payload: import("../integrations/supabase/types").Json;
@@ -8665,6 +9215,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8665
9215
  user_id: string;
8666
9216
  };
8667
9217
  Insert: {
9218
+ attempt_log?: import("../integrations/supabase/types").Json;
9219
+ attempts?: number;
8668
9220
  buffer_ref?: string | null;
8669
9221
  claimed_at?: string | null;
8670
9222
  claimed_by?: string | null;
@@ -8674,6 +9226,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8674
9226
  due_at?: string | null;
8675
9227
  error?: string | null;
8676
9228
  id?: string;
9229
+ last_error?: string | null;
9230
+ next_attempt_at?: string | null;
8677
9231
  order_ref: string;
8678
9232
  owner_module: string;
8679
9233
  payload?: import("../integrations/supabase/types").Json;
@@ -8694,6 +9248,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8694
9248
  user_id?: string;
8695
9249
  };
8696
9250
  Update: {
9251
+ attempt_log?: import("../integrations/supabase/types").Json;
9252
+ attempts?: number;
8697
9253
  buffer_ref?: string | null;
8698
9254
  claimed_at?: string | null;
8699
9255
  claimed_by?: string | null;
@@ -8703,6 +9259,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
8703
9259
  due_at?: string | null;
8704
9260
  error?: string | null;
8705
9261
  id?: string;
9262
+ last_error?: string | null;
9263
+ next_attempt_at?: string | null;
8706
9264
  order_ref?: string;
8707
9265
  owner_module?: string;
8708
9266
  payload?: import("../integrations/supabase/types").Json;
@@ -10052,6 +10610,7 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
10052
10610
  };
10053
10611
  offer_settings: {
10054
10612
  Row: {
10613
+ brand_name: string | null;
10055
10614
  button_color: string;
10056
10615
  created_at: string;
10057
10616
  default_countries: string[];
@@ -10073,6 +10632,7 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
10073
10632
  updated_at: string;
10074
10633
  };
10075
10634
  Insert: {
10635
+ brand_name?: string | null;
10076
10636
  button_color?: string;
10077
10637
  created_at?: string;
10078
10638
  default_countries?: string[];
@@ -10094,6 +10654,7 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
10094
10654
  updated_at?: string;
10095
10655
  };
10096
10656
  Update: {
10657
+ brand_name?: string | null;
10097
10658
  button_color?: string;
10098
10659
  created_at?: string;
10099
10660
  default_countries?: string[];
@@ -17704,6 +18265,85 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
17704
18265
  };
17705
18266
  Returns: import("../integrations/supabase/types").Json;
17706
18267
  };
18268
+ claim_floriday_stock_queue: {
18269
+ Args: {
18270
+ p_limit?: number;
18271
+ p_worker?: string;
18272
+ };
18273
+ Returns: {
18274
+ attempts: number;
18275
+ connection_id: string;
18276
+ created_at: string;
18277
+ desired_available: boolean | null;
18278
+ gateway_attempt_id: string | null;
18279
+ id: string;
18280
+ last_error: string | null;
18281
+ locked_at: string | null;
18282
+ locked_by: string | null;
18283
+ next_attempt_at: string;
18284
+ number_of_pieces: number;
18285
+ sent_at: string | null;
18286
+ status: string;
18287
+ superseded_by: string | null;
18288
+ trade_item_id: string;
18289
+ updated_at: string;
18290
+ user_id: string;
18291
+ }[];
18292
+ SetofOptions: {
18293
+ from: "*";
18294
+ to: "floriday_continuous_stock_queue";
18295
+ isOneToOne: false;
18296
+ isSetofReturn: true;
18297
+ };
18298
+ };
18299
+ claim_logistics_tasks: {
18300
+ Args: {
18301
+ _limit?: number;
18302
+ _owner_module: string;
18303
+ _stale_minutes?: number;
18304
+ _task_type: string;
18305
+ _worker: string;
18306
+ };
18307
+ Returns: {
18308
+ attempt_log: import("../integrations/supabase/types").Json;
18309
+ attempts: number;
18310
+ buffer_ref: string | null;
18311
+ claimed_at: string | null;
18312
+ claimed_by: string | null;
18313
+ completed_at: string | null;
18314
+ created_at: string;
18315
+ depends_on: string[];
18316
+ due_at: string | null;
18317
+ error: string | null;
18318
+ id: string;
18319
+ last_error: string | null;
18320
+ next_attempt_at: string | null;
18321
+ order_ref: string;
18322
+ owner_module: string;
18323
+ payload: import("../integrations/supabase/types").Json;
18324
+ plan_run_id: string | null;
18325
+ planned_end: string | null;
18326
+ planned_start: string | null;
18327
+ priority: number;
18328
+ result: import("../integrations/supabase/types").Json | null;
18329
+ rule_config_id: string | null;
18330
+ rule_version: number | null;
18331
+ sequence: number;
18332
+ shadow: boolean;
18333
+ started_at: string | null;
18334
+ status: string;
18335
+ strategy_id: string | null;
18336
+ task_type: string;
18337
+ updated_at: string;
18338
+ user_id: string;
18339
+ }[];
18340
+ SetofOptions: {
18341
+ from: "*";
18342
+ to: "logistics_tasks";
18343
+ isOneToOne: false;
18344
+ isSetofReturn: true;
18345
+ };
18346
+ };
17707
18347
  claim_print_jobs: {
17708
18348
  Args: {
17709
18349
  _agent_id: string;
@@ -17768,10 +18408,24 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
17768
18408
  isSetofReturn: true;
17769
18409
  };
17770
18410
  };
18411
+ cleanup_floriday_stock_queue: {
18412
+ Args: never;
18413
+ Returns: undefined;
18414
+ };
17771
18415
  cleanup_old_bookings: {
17772
18416
  Args: never;
17773
18417
  Returns: undefined;
17774
18418
  };
18419
+ complete_floriday_stock_queue: {
18420
+ Args: {
18421
+ p_attempt_id?: string;
18422
+ p_error?: string;
18423
+ p_id: string;
18424
+ p_ok: boolean;
18425
+ p_permanent?: boolean;
18426
+ };
18427
+ Returns: undefined;
18428
+ };
17775
18429
  consume_bom_for_production: {
17776
18430
  Args: {
17777
18431
  p_connection_id: string;
@@ -17944,6 +18598,21 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
17944
18598
  Args: never;
17945
18599
  Returns: string;
17946
18600
  };
18601
+ exact_auth_consume_calls: {
18602
+ Args: {
18603
+ _account_key: string;
18604
+ _calls?: number;
18605
+ _day_limit?: number;
18606
+ _division_code: number;
18607
+ _environment: string;
18608
+ _minute_limit?: number;
18609
+ };
18610
+ Returns: import("../integrations/supabase/types").Json;
18611
+ };
18612
+ exact_auth_prune_sync_log: {
18613
+ Args: never;
18614
+ Returns: undefined;
18615
+ };
17947
18616
  exact_decrypt: {
17948
18617
  Args: {
17949
18618
  cipher: string;
@@ -18153,6 +18822,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18153
18822
  };
18154
18823
  Returns: number;
18155
18824
  };
18825
+ get_offer_branding: {
18826
+ Args: never;
18827
+ Returns: import("../integrations/supabase/types").Json;
18828
+ };
18156
18829
  get_offer_by_link_code: {
18157
18830
  Args: {
18158
18831
  p_code: string;
@@ -18444,6 +19117,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18444
19117
  p_worker?: string;
18445
19118
  };
18446
19119
  Returns: {
19120
+ attempt_log: import("../integrations/supabase/types").Json;
19121
+ attempts: number;
18447
19122
  buffer_ref: string | null;
18448
19123
  claimed_at: string | null;
18449
19124
  claimed_by: string | null;
@@ -18453,6 +19128,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18453
19128
  due_at: string | null;
18454
19129
  error: string | null;
18455
19130
  id: string;
19131
+ last_error: string | null;
19132
+ next_attempt_at: string | null;
18456
19133
  order_ref: string;
18457
19134
  owner_module: string;
18458
19135
  payload: import("../integrations/supabase/types").Json;
@@ -18485,6 +19162,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18485
19162
  p_worker?: string;
18486
19163
  };
18487
19164
  Returns: {
19165
+ attempt_log: import("../integrations/supabase/types").Json;
19166
+ attempts: number;
18488
19167
  buffer_ref: string | null;
18489
19168
  claimed_at: string | null;
18490
19169
  claimed_by: string | null;
@@ -18494,6 +19173,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18494
19173
  due_at: string | null;
18495
19174
  error: string | null;
18496
19175
  id: string;
19176
+ last_error: string | null;
19177
+ next_attempt_at: string | null;
18497
19178
  order_ref: string;
18498
19179
  owner_module: string;
18499
19180
  payload: import("../integrations/supabase/types").Json;
@@ -18526,6 +19207,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18526
19207
  p_task_id: string;
18527
19208
  };
18528
19209
  Returns: {
19210
+ attempt_log: import("../integrations/supabase/types").Json;
19211
+ attempts: number;
18529
19212
  buffer_ref: string | null;
18530
19213
  claimed_at: string | null;
18531
19214
  claimed_by: string | null;
@@ -18535,6 +19218,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18535
19218
  due_at: string | null;
18536
19219
  error: string | null;
18537
19220
  id: string;
19221
+ last_error: string | null;
19222
+ next_attempt_at: string | null;
18538
19223
  order_ref: string;
18539
19224
  owner_module: string;
18540
19225
  payload: import("../integrations/supabase/types").Json;
@@ -18616,6 +19301,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18616
19301
  p_task_id: string;
18617
19302
  };
18618
19303
  Returns: {
19304
+ attempt_log: import("../integrations/supabase/types").Json;
19305
+ attempts: number;
18619
19306
  buffer_ref: string | null;
18620
19307
  claimed_at: string | null;
18621
19308
  claimed_by: string | null;
@@ -18625,6 +19312,8 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18625
19312
  due_at: string | null;
18626
19313
  error: string | null;
18627
19314
  id: string;
19315
+ last_error: string | null;
19316
+ next_attempt_at: string | null;
18628
19317
  order_ref: string;
18629
19318
  owner_module: string;
18630
19319
  payload: import("../integrations/supabase/types").Json;
@@ -18651,6 +19340,51 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
18651
19340
  isSetofReturn: false;
18652
19341
  };
18653
19342
  };
19343
+ logistics_floriday_claim_pushes: {
19344
+ Args: {
19345
+ _lease_seconds?: number;
19346
+ _limit?: number;
19347
+ _worker?: string;
19348
+ };
19349
+ Returns: {
19350
+ attempts: number;
19351
+ fulfillment_order_id: string;
19352
+ id: string;
19353
+ last_sent_hash: string;
19354
+ order_ref: string;
19355
+ payload: import("../integrations/supabase/types").Json;
19356
+ payload_hash: string;
19357
+ revision: number;
19358
+ }[];
19359
+ };
19360
+ logistics_floriday_finish_push: {
19361
+ Args: {
19362
+ _error?: string;
19363
+ _fulfillment_order_id?: string;
19364
+ _id: string;
19365
+ _max_age_hours?: number;
19366
+ _max_attempts?: number;
19367
+ _ok: boolean;
19368
+ _permanent?: boolean;
19369
+ _revision: number;
19370
+ _sent_hash?: string;
19371
+ };
19372
+ Returns: string;
19373
+ };
19374
+ logistics_floriday_prune_pushes: {
19375
+ Args: {
19376
+ _days?: number;
19377
+ };
19378
+ Returns: number;
19379
+ };
19380
+ logistics_floriday_queue_push: {
19381
+ Args: {
19382
+ _order_ref: string;
19383
+ _payload?: import("../integrations/supabase/types").Json;
19384
+ _payload_hash?: string;
19385
+ };
19386
+ Returns: string;
19387
+ };
18654
19388
  logistics_live_carriers: {
18655
19389
  Args: {
18656
19390
  p_order_ref: string;
@@ -19378,6 +20112,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
19378
20112
  Args: never;
19379
20113
  Returns: undefined;
19380
20114
  };
20115
+ run_logistics_tasks_dispatch: {
20116
+ Args: never;
20117
+ Returns: undefined;
20118
+ };
19381
20119
  run_twinfield_queue_tick: {
19382
20120
  Args: never;
19383
20121
  Returns: undefined;
@@ -19618,6 +20356,13 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
19618
20356
  };
19619
20357
  Returns: number;
19620
20358
  };
20359
+ schedule_floriday_stock_queue_process: {
20360
+ Args: {
20361
+ p_apikey: string;
20362
+ p_url: string;
20363
+ };
20364
+ Returns: number;
20365
+ };
19621
20366
  schedule_floriday_token_refresh: {
19622
20367
  Args: {
19623
20368
  p_apikey: string;