@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
@@ -3588,6 +3588,474 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
3588
3588
  referencedColumns: ["id"];
3589
3589
  }];
3590
3590
  };
3591
+ exact_auth_call_budget: {
3592
+ Row: {
3593
+ account_key: string;
3594
+ day_count: number;
3595
+ day_date: string;
3596
+ division_code: number;
3597
+ environment: string;
3598
+ minute_count: number;
3599
+ minute_window: string;
3600
+ updated_at: string;
3601
+ };
3602
+ Insert: {
3603
+ account_key?: string;
3604
+ day_count?: number;
3605
+ day_date?: string;
3606
+ division_code?: number;
3607
+ environment: string;
3608
+ minute_count?: number;
3609
+ minute_window?: string;
3610
+ updated_at?: string;
3611
+ };
3612
+ Update: {
3613
+ account_key?: string;
3614
+ day_count?: number;
3615
+ day_date?: string;
3616
+ division_code?: number;
3617
+ environment?: string;
3618
+ minute_count?: number;
3619
+ minute_window?: string;
3620
+ updated_at?: string;
3621
+ };
3622
+ Relationships: [];
3623
+ };
3624
+ exact_auth_customers: {
3625
+ Row: {
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
+ Insert: {
3652
+ account_key?: string;
3653
+ address_line1?: string | null;
3654
+ chamber_of_commerce?: string | null;
3655
+ city?: string | null;
3656
+ code?: string | null;
3657
+ country?: string | null;
3658
+ created_at?: string;
3659
+ currency?: string | null;
3660
+ division_code?: number | null;
3661
+ email?: string | null;
3662
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3663
+ exact_id: string;
3664
+ exact_modified?: string | null;
3665
+ exact_timestamp?: number | null;
3666
+ id?: string;
3667
+ is_active?: boolean;
3668
+ name?: string | null;
3669
+ phone?: string | null;
3670
+ postcode?: string | null;
3671
+ raw?: import("../integrations/supabase/types").Json | null;
3672
+ status?: string | null;
3673
+ updated_at?: string;
3674
+ vat_number?: string | null;
3675
+ website?: string | null;
3676
+ };
3677
+ Update: {
3678
+ account_key?: string;
3679
+ address_line1?: string | null;
3680
+ chamber_of_commerce?: string | null;
3681
+ city?: string | null;
3682
+ code?: string | null;
3683
+ country?: string | null;
3684
+ created_at?: string;
3685
+ currency?: string | null;
3686
+ division_code?: number | null;
3687
+ email?: string | null;
3688
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3689
+ exact_id?: string;
3690
+ exact_modified?: string | null;
3691
+ exact_timestamp?: number | null;
3692
+ id?: string;
3693
+ is_active?: boolean;
3694
+ name?: string | null;
3695
+ phone?: string | null;
3696
+ postcode?: string | null;
3697
+ raw?: import("../integrations/supabase/types").Json | null;
3698
+ status?: string | null;
3699
+ updated_at?: string;
3700
+ vat_number?: string | null;
3701
+ website?: string | null;
3702
+ };
3703
+ Relationships: [];
3704
+ };
3705
+ exact_auth_divisions: {
3706
+ Row: {
3707
+ account_key: string;
3708
+ company_name: string | null;
3709
+ created_at: string;
3710
+ division_code: number | null;
3711
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3712
+ id: string;
3713
+ last_synced_at: string | null;
3714
+ updated_at: string;
3715
+ };
3716
+ Insert: {
3717
+ account_key?: string;
3718
+ company_name?: string | null;
3719
+ created_at?: string;
3720
+ division_code?: number | null;
3721
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3722
+ id?: string;
3723
+ last_synced_at?: string | null;
3724
+ updated_at?: string;
3725
+ };
3726
+ Update: {
3727
+ account_key?: string;
3728
+ company_name?: string | null;
3729
+ created_at?: string;
3730
+ division_code?: number | null;
3731
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3732
+ id?: string;
3733
+ last_synced_at?: string | null;
3734
+ updated_at?: string;
3735
+ };
3736
+ Relationships: [];
3737
+ };
3738
+ exact_auth_invoice_lines: {
3739
+ Row: {
3740
+ account_key: string;
3741
+ amount_excl: number | null;
3742
+ created_at: string;
3743
+ description: string | null;
3744
+ discount: number | null;
3745
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3746
+ exact_id: string;
3747
+ exact_timestamp: number | null;
3748
+ id: string;
3749
+ invoice_exact_id: string;
3750
+ item_code: string | null;
3751
+ item_exact_id: string | null;
3752
+ line_number: number | null;
3753
+ quantity: number | null;
3754
+ raw: import("../integrations/supabase/types").Json | null;
3755
+ unit_price: number | null;
3756
+ updated_at: string;
3757
+ vat_amount: number | null;
3758
+ vat_code: string | null;
3759
+ };
3760
+ Insert: {
3761
+ account_key?: string;
3762
+ amount_excl?: number | null;
3763
+ created_at?: string;
3764
+ description?: string | null;
3765
+ discount?: number | null;
3766
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3767
+ exact_id: string;
3768
+ exact_timestamp?: number | null;
3769
+ id?: string;
3770
+ invoice_exact_id: string;
3771
+ item_code?: string | null;
3772
+ item_exact_id?: string | null;
3773
+ line_number?: number | null;
3774
+ quantity?: number | null;
3775
+ raw?: import("../integrations/supabase/types").Json | null;
3776
+ unit_price?: number | null;
3777
+ updated_at?: string;
3778
+ vat_amount?: number | null;
3779
+ vat_code?: string | null;
3780
+ };
3781
+ Update: {
3782
+ account_key?: string;
3783
+ amount_excl?: number | null;
3784
+ created_at?: string;
3785
+ description?: string | null;
3786
+ discount?: number | null;
3787
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3788
+ exact_id?: string;
3789
+ exact_timestamp?: number | null;
3790
+ id?: string;
3791
+ invoice_exact_id?: string;
3792
+ item_code?: string | null;
3793
+ item_exact_id?: string | null;
3794
+ line_number?: number | null;
3795
+ quantity?: number | null;
3796
+ raw?: import("../integrations/supabase/types").Json | null;
3797
+ unit_price?: number | null;
3798
+ updated_at?: string;
3799
+ vat_amount?: number | null;
3800
+ vat_code?: string | null;
3801
+ };
3802
+ Relationships: [];
3803
+ };
3804
+ exact_auth_invoices: {
3805
+ Row: {
3806
+ account_key: string;
3807
+ amount_excl: number | null;
3808
+ amount_incl: number | null;
3809
+ amount_open: number | null;
3810
+ created_at: string;
3811
+ currency: string | null;
3812
+ customer_code: string | null;
3813
+ customer_exact_id: string | null;
3814
+ customer_name: string | null;
3815
+ description: string | null;
3816
+ division_code: number | null;
3817
+ due_date: string | null;
3818
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3819
+ exact_id: string;
3820
+ exact_modified: string | null;
3821
+ exact_timestamp: number | null;
3822
+ id: string;
3823
+ invoice_date: string | null;
3824
+ invoice_number: string | null;
3825
+ order_number: string | null;
3826
+ paid_at: string | null;
3827
+ payment_status: string;
3828
+ raw: import("../integrations/supabase/types").Json | null;
3829
+ receivable_synced_at: string | null;
3830
+ status_code: number | null;
3831
+ updated_at: string;
3832
+ };
3833
+ Insert: {
3834
+ account_key?: string;
3835
+ amount_excl?: number | null;
3836
+ amount_incl?: number | null;
3837
+ amount_open?: number | null;
3838
+ created_at?: string;
3839
+ currency?: string | null;
3840
+ customer_code?: string | null;
3841
+ customer_exact_id?: string | null;
3842
+ customer_name?: string | null;
3843
+ description?: string | null;
3844
+ division_code?: number | null;
3845
+ due_date?: string | null;
3846
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3847
+ exact_id: string;
3848
+ exact_modified?: string | null;
3849
+ exact_timestamp?: number | null;
3850
+ id?: string;
3851
+ invoice_date?: string | null;
3852
+ invoice_number?: string | null;
3853
+ order_number?: string | null;
3854
+ paid_at?: string | null;
3855
+ payment_status?: string;
3856
+ raw?: import("../integrations/supabase/types").Json | null;
3857
+ receivable_synced_at?: string | null;
3858
+ status_code?: number | null;
3859
+ updated_at?: string;
3860
+ };
3861
+ Update: {
3862
+ account_key?: string;
3863
+ amount_excl?: number | null;
3864
+ amount_incl?: number | null;
3865
+ amount_open?: number | null;
3866
+ created_at?: string;
3867
+ currency?: string | null;
3868
+ customer_code?: string | null;
3869
+ customer_exact_id?: string | null;
3870
+ customer_name?: string | null;
3871
+ description?: string | null;
3872
+ division_code?: number | null;
3873
+ due_date?: string | null;
3874
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3875
+ exact_id?: string;
3876
+ exact_modified?: string | null;
3877
+ exact_timestamp?: number | null;
3878
+ id?: string;
3879
+ invoice_date?: string | null;
3880
+ invoice_number?: string | null;
3881
+ order_number?: string | null;
3882
+ paid_at?: string | null;
3883
+ payment_status?: string;
3884
+ raw?: import("../integrations/supabase/types").Json | null;
3885
+ receivable_synced_at?: string | null;
3886
+ status_code?: number | null;
3887
+ updated_at?: string;
3888
+ };
3889
+ Relationships: [];
3890
+ };
3891
+ exact_auth_items: {
3892
+ Row: {
3893
+ account_key: string;
3894
+ barcode: string | null;
3895
+ code: string | null;
3896
+ cost_price: number | null;
3897
+ created_at: string;
3898
+ description: string | null;
3899
+ division_code: number | null;
3900
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3901
+ exact_id: string;
3902
+ exact_modified: string | null;
3903
+ exact_timestamp: number | null;
3904
+ gl_account_code: string | null;
3905
+ id: string;
3906
+ is_active: boolean;
3907
+ is_sales_item: boolean | null;
3908
+ item_type: string | null;
3909
+ raw: import("../integrations/supabase/types").Json | null;
3910
+ sales_price: number | null;
3911
+ unit: string | null;
3912
+ updated_at: string;
3913
+ vat_code: string | null;
3914
+ };
3915
+ Insert: {
3916
+ account_key?: string;
3917
+ barcode?: string | null;
3918
+ code?: string | null;
3919
+ cost_price?: number | null;
3920
+ created_at?: string;
3921
+ description?: string | null;
3922
+ division_code?: number | null;
3923
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3924
+ exact_id: string;
3925
+ exact_modified?: string | null;
3926
+ exact_timestamp?: number | null;
3927
+ gl_account_code?: string | null;
3928
+ id?: string;
3929
+ is_active?: boolean;
3930
+ is_sales_item?: boolean | null;
3931
+ item_type?: string | null;
3932
+ raw?: import("../integrations/supabase/types").Json | null;
3933
+ sales_price?: number | null;
3934
+ unit?: string | null;
3935
+ updated_at?: string;
3936
+ vat_code?: string | null;
3937
+ };
3938
+ Update: {
3939
+ account_key?: string;
3940
+ barcode?: string | null;
3941
+ code?: string | null;
3942
+ cost_price?: number | null;
3943
+ created_at?: string;
3944
+ description?: string | null;
3945
+ division_code?: number | null;
3946
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3947
+ exact_id?: string;
3948
+ exact_modified?: string | null;
3949
+ exact_timestamp?: number | null;
3950
+ gl_account_code?: string | null;
3951
+ id?: string;
3952
+ is_active?: boolean;
3953
+ is_sales_item?: boolean | null;
3954
+ item_type?: string | null;
3955
+ raw?: import("../integrations/supabase/types").Json | null;
3956
+ sales_price?: number | null;
3957
+ unit?: string | null;
3958
+ updated_at?: string;
3959
+ vat_code?: string | null;
3960
+ };
3961
+ Relationships: [];
3962
+ };
3963
+ exact_auth_sync_log: {
3964
+ Row: {
3965
+ account_key: string;
3966
+ calls_used: number;
3967
+ created_at: string;
3968
+ domain: string;
3969
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3970
+ error: string | null;
3971
+ finished_at: string | null;
3972
+ id: string;
3973
+ ok: boolean;
3974
+ records: number;
3975
+ started_at: string;
3976
+ };
3977
+ Insert: {
3978
+ account_key?: string;
3979
+ calls_used?: number;
3980
+ created_at?: string;
3981
+ domain: string;
3982
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3983
+ error?: string | null;
3984
+ finished_at?: string | null;
3985
+ id?: string;
3986
+ ok?: boolean;
3987
+ records?: number;
3988
+ started_at?: string;
3989
+ };
3990
+ Update: {
3991
+ account_key?: string;
3992
+ calls_used?: number;
3993
+ created_at?: string;
3994
+ domain?: string;
3995
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3996
+ error?: string | null;
3997
+ finished_at?: string | null;
3998
+ id?: string;
3999
+ ok?: boolean;
4000
+ records?: number;
4001
+ started_at?: string;
4002
+ };
4003
+ Relationships: [];
4004
+ };
4005
+ exact_auth_sync_state: {
4006
+ Row: {
4007
+ account_key: string;
4008
+ created_at: string;
4009
+ cursor_timestamp: number;
4010
+ division_code: number | null;
4011
+ domain: string;
4012
+ duration_ms: number | null;
4013
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4014
+ initial_sync_done: boolean;
4015
+ last_error: string | null;
4016
+ last_run_at: string | null;
4017
+ last_success_at: string | null;
4018
+ locked_at: string | null;
4019
+ needs_initial_sync: boolean;
4020
+ record_count: number;
4021
+ updated_at: string;
4022
+ };
4023
+ Insert: {
4024
+ account_key?: string;
4025
+ created_at?: string;
4026
+ cursor_timestamp?: number;
4027
+ division_code?: number | null;
4028
+ domain: string;
4029
+ duration_ms?: number | null;
4030
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4031
+ initial_sync_done?: boolean;
4032
+ last_error?: string | null;
4033
+ last_run_at?: string | null;
4034
+ last_success_at?: string | null;
4035
+ locked_at?: string | null;
4036
+ needs_initial_sync?: boolean;
4037
+ record_count?: number;
4038
+ updated_at?: string;
4039
+ };
4040
+ Update: {
4041
+ account_key?: string;
4042
+ created_at?: string;
4043
+ cursor_timestamp?: number;
4044
+ division_code?: number | null;
4045
+ domain?: string;
4046
+ duration_ms?: number | null;
4047
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4048
+ initial_sync_done?: boolean;
4049
+ last_error?: string | null;
4050
+ last_run_at?: string | null;
4051
+ last_success_at?: string | null;
4052
+ locked_at?: string | null;
4053
+ needs_initial_sync?: boolean;
4054
+ record_count?: number;
4055
+ updated_at?: string;
4056
+ };
4057
+ Relationships: [];
4058
+ };
3591
4059
  exact_bulk_operation_items: {
3592
4060
  Row: {
3593
4061
  attempts: number;
@@ -5279,12 +5747,17 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
5279
5747
  attempts: number;
5280
5748
  connection_id: string;
5281
5749
  created_at: string;
5750
+ desired_available: boolean | null;
5282
5751
  gateway_attempt_id: string | null;
5283
5752
  id: string;
5284
5753
  last_error: string | null;
5754
+ locked_at: string | null;
5755
+ locked_by: string | null;
5756
+ next_attempt_at: string;
5285
5757
  number_of_pieces: number;
5286
5758
  sent_at: string | null;
5287
5759
  status: string;
5760
+ superseded_by: string | null;
5288
5761
  trade_item_id: string;
5289
5762
  updated_at: string;
5290
5763
  user_id: string;
@@ -5293,12 +5766,17 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
5293
5766
  attempts?: number;
5294
5767
  connection_id: string;
5295
5768
  created_at?: string;
5769
+ desired_available?: boolean | null;
5296
5770
  gateway_attempt_id?: string | null;
5297
5771
  id?: string;
5298
5772
  last_error?: string | null;
5773
+ locked_at?: string | null;
5774
+ locked_by?: string | null;
5775
+ next_attempt_at?: string;
5299
5776
  number_of_pieces?: number;
5300
5777
  sent_at?: string | null;
5301
5778
  status?: string;
5779
+ superseded_by?: string | null;
5302
5780
  trade_item_id: string;
5303
5781
  updated_at?: string;
5304
5782
  user_id: string;
@@ -5307,12 +5785,17 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
5307
5785
  attempts?: number;
5308
5786
  connection_id?: string;
5309
5787
  created_at?: string;
5788
+ desired_available?: boolean | null;
5310
5789
  gateway_attempt_id?: string | null;
5311
5790
  id?: string;
5312
5791
  last_error?: string | null;
5792
+ locked_at?: string | null;
5793
+ locked_by?: string | null;
5794
+ next_attempt_at?: string;
5313
5795
  number_of_pieces?: number;
5314
5796
  sent_at?: string | null;
5315
5797
  status?: string;
5798
+ superseded_by?: string | null;
5316
5799
  trade_item_id?: string;
5317
5800
  updated_at?: string;
5318
5801
  user_id?: string;
@@ -8061,6 +8544,69 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8061
8544
  };
8062
8545
  Relationships: [];
8063
8546
  };
8547
+ logistics_floriday_pushes: {
8548
+ Row: {
8549
+ attempts: number;
8550
+ created_at: string;
8551
+ first_queued_at: string;
8552
+ fulfillment_order_id: string | null;
8553
+ id: string;
8554
+ last_error: string | null;
8555
+ last_error_at: string | null;
8556
+ last_sent_hash: string | null;
8557
+ locked_by: string | null;
8558
+ locked_until: string | null;
8559
+ next_attempt_at: string;
8560
+ order_ref: string;
8561
+ payload: import("../integrations/supabase/types").Json;
8562
+ payload_hash: string | null;
8563
+ revision: number;
8564
+ sent_at: string | null;
8565
+ status: string;
8566
+ updated_at: string;
8567
+ };
8568
+ Insert: {
8569
+ attempts?: number;
8570
+ created_at?: string;
8571
+ first_queued_at?: string;
8572
+ fulfillment_order_id?: string | null;
8573
+ id?: string;
8574
+ last_error?: string | null;
8575
+ last_error_at?: string | null;
8576
+ last_sent_hash?: string | null;
8577
+ locked_by?: string | null;
8578
+ locked_until?: string | null;
8579
+ next_attempt_at?: string;
8580
+ order_ref: string;
8581
+ payload?: import("../integrations/supabase/types").Json;
8582
+ payload_hash?: string | null;
8583
+ revision?: number;
8584
+ sent_at?: string | null;
8585
+ status?: string;
8586
+ updated_at?: string;
8587
+ };
8588
+ Update: {
8589
+ attempts?: number;
8590
+ created_at?: string;
8591
+ first_queued_at?: string;
8592
+ fulfillment_order_id?: string | null;
8593
+ id?: string;
8594
+ last_error?: string | null;
8595
+ last_error_at?: string | null;
8596
+ last_sent_hash?: string | null;
8597
+ locked_by?: string | null;
8598
+ locked_until?: string | null;
8599
+ next_attempt_at?: string;
8600
+ order_ref?: string;
8601
+ payload?: import("../integrations/supabase/types").Json;
8602
+ payload_hash?: string | null;
8603
+ revision?: number;
8604
+ sent_at?: string | null;
8605
+ status?: string;
8606
+ updated_at?: string;
8607
+ };
8608
+ Relationships: [];
8609
+ };
8064
8610
  logistics_formulas: {
8065
8611
  Row: {
8066
8612
  created_at: string;
@@ -8672,6 +9218,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8672
9218
  };
8673
9219
  logistics_tasks: {
8674
9220
  Row: {
9221
+ attempt_log: import("../integrations/supabase/types").Json;
9222
+ attempts: number;
8675
9223
  buffer_ref: string | null;
8676
9224
  claimed_at: string | null;
8677
9225
  claimed_by: string | null;
@@ -8681,6 +9229,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8681
9229
  due_at: string | null;
8682
9230
  error: string | null;
8683
9231
  id: string;
9232
+ last_error: string | null;
9233
+ next_attempt_at: string | null;
8684
9234
  order_ref: string;
8685
9235
  owner_module: string;
8686
9236
  payload: import("../integrations/supabase/types").Json;
@@ -8701,6 +9251,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8701
9251
  user_id: string;
8702
9252
  };
8703
9253
  Insert: {
9254
+ attempt_log?: import("../integrations/supabase/types").Json;
9255
+ attempts?: number;
8704
9256
  buffer_ref?: string | null;
8705
9257
  claimed_at?: string | null;
8706
9258
  claimed_by?: string | null;
@@ -8710,6 +9262,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8710
9262
  due_at?: string | null;
8711
9263
  error?: string | null;
8712
9264
  id?: string;
9265
+ last_error?: string | null;
9266
+ next_attempt_at?: string | null;
8713
9267
  order_ref: string;
8714
9268
  owner_module: string;
8715
9269
  payload?: import("../integrations/supabase/types").Json;
@@ -8730,6 +9284,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8730
9284
  user_id?: string;
8731
9285
  };
8732
9286
  Update: {
9287
+ attempt_log?: import("../integrations/supabase/types").Json;
9288
+ attempts?: number;
8733
9289
  buffer_ref?: string | null;
8734
9290
  claimed_at?: string | null;
8735
9291
  claimed_by?: string | null;
@@ -8739,6 +9295,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
8739
9295
  due_at?: string | null;
8740
9296
  error?: string | null;
8741
9297
  id?: string;
9298
+ last_error?: string | null;
9299
+ next_attempt_at?: string | null;
8742
9300
  order_ref?: string;
8743
9301
  owner_module?: string;
8744
9302
  payload?: import("../integrations/supabase/types").Json;
@@ -10088,6 +10646,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10088
10646
  };
10089
10647
  offer_settings: {
10090
10648
  Row: {
10649
+ brand_name: string | null;
10091
10650
  button_color: string;
10092
10651
  created_at: string;
10093
10652
  default_countries: string[];
@@ -10109,6 +10668,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10109
10668
  updated_at: string;
10110
10669
  };
10111
10670
  Insert: {
10671
+ brand_name?: string | null;
10112
10672
  button_color?: string;
10113
10673
  created_at?: string;
10114
10674
  default_countries?: string[];
@@ -10130,6 +10690,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10130
10690
  updated_at?: string;
10131
10691
  };
10132
10692
  Update: {
10693
+ brand_name?: string | null;
10133
10694
  button_color?: string;
10134
10695
  created_at?: string;
10135
10696
  default_countries?: string[];
@@ -17740,6 +18301,85 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
17740
18301
  };
17741
18302
  Returns: import("../integrations/supabase/types").Json;
17742
18303
  };
18304
+ claim_floriday_stock_queue: {
18305
+ Args: {
18306
+ p_limit?: number;
18307
+ p_worker?: string;
18308
+ };
18309
+ Returns: {
18310
+ attempts: number;
18311
+ connection_id: string;
18312
+ created_at: string;
18313
+ desired_available: boolean | null;
18314
+ gateway_attempt_id: string | null;
18315
+ id: string;
18316
+ last_error: string | null;
18317
+ locked_at: string | null;
18318
+ locked_by: string | null;
18319
+ next_attempt_at: string;
18320
+ number_of_pieces: number;
18321
+ sent_at: string | null;
18322
+ status: string;
18323
+ superseded_by: string | null;
18324
+ trade_item_id: string;
18325
+ updated_at: string;
18326
+ user_id: string;
18327
+ }[];
18328
+ SetofOptions: {
18329
+ from: "*";
18330
+ to: "floriday_continuous_stock_queue";
18331
+ isOneToOne: false;
18332
+ isSetofReturn: true;
18333
+ };
18334
+ };
18335
+ claim_logistics_tasks: {
18336
+ Args: {
18337
+ _limit?: number;
18338
+ _owner_module: string;
18339
+ _stale_minutes?: number;
18340
+ _task_type: string;
18341
+ _worker: string;
18342
+ };
18343
+ Returns: {
18344
+ attempt_log: import("../integrations/supabase/types").Json;
18345
+ attempts: number;
18346
+ buffer_ref: string | null;
18347
+ claimed_at: string | null;
18348
+ claimed_by: string | null;
18349
+ completed_at: string | null;
18350
+ created_at: string;
18351
+ depends_on: string[];
18352
+ due_at: string | null;
18353
+ error: string | null;
18354
+ id: string;
18355
+ last_error: string | null;
18356
+ next_attempt_at: string | null;
18357
+ order_ref: string;
18358
+ owner_module: string;
18359
+ payload: import("../integrations/supabase/types").Json;
18360
+ plan_run_id: string | null;
18361
+ planned_end: string | null;
18362
+ planned_start: string | null;
18363
+ priority: number;
18364
+ result: import("../integrations/supabase/types").Json | null;
18365
+ rule_config_id: string | null;
18366
+ rule_version: number | null;
18367
+ sequence: number;
18368
+ shadow: boolean;
18369
+ started_at: string | null;
18370
+ status: string;
18371
+ strategy_id: string | null;
18372
+ task_type: string;
18373
+ updated_at: string;
18374
+ user_id: string;
18375
+ }[];
18376
+ SetofOptions: {
18377
+ from: "*";
18378
+ to: "logistics_tasks";
18379
+ isOneToOne: false;
18380
+ isSetofReturn: true;
18381
+ };
18382
+ };
17743
18383
  claim_print_jobs: {
17744
18384
  Args: {
17745
18385
  _agent_id: string;
@@ -17804,10 +18444,24 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
17804
18444
  isSetofReturn: true;
17805
18445
  };
17806
18446
  };
18447
+ cleanup_floriday_stock_queue: {
18448
+ Args: never;
18449
+ Returns: undefined;
18450
+ };
17807
18451
  cleanup_old_bookings: {
17808
18452
  Args: never;
17809
18453
  Returns: undefined;
17810
18454
  };
18455
+ complete_floriday_stock_queue: {
18456
+ Args: {
18457
+ p_attempt_id?: string;
18458
+ p_error?: string;
18459
+ p_id: string;
18460
+ p_ok: boolean;
18461
+ p_permanent?: boolean;
18462
+ };
18463
+ Returns: undefined;
18464
+ };
17811
18465
  consume_bom_for_production: {
17812
18466
  Args: {
17813
18467
  p_connection_id: string;
@@ -17980,6 +18634,21 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
17980
18634
  Args: never;
17981
18635
  Returns: string;
17982
18636
  };
18637
+ exact_auth_consume_calls: {
18638
+ Args: {
18639
+ _account_key: string;
18640
+ _calls?: number;
18641
+ _day_limit?: number;
18642
+ _division_code: number;
18643
+ _environment: string;
18644
+ _minute_limit?: number;
18645
+ };
18646
+ Returns: import("../integrations/supabase/types").Json;
18647
+ };
18648
+ exact_auth_prune_sync_log: {
18649
+ Args: never;
18650
+ Returns: undefined;
18651
+ };
17983
18652
  exact_decrypt: {
17984
18653
  Args: {
17985
18654
  cipher: string;
@@ -18189,6 +18858,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18189
18858
  };
18190
18859
  Returns: number;
18191
18860
  };
18861
+ get_offer_branding: {
18862
+ Args: never;
18863
+ Returns: import("../integrations/supabase/types").Json;
18864
+ };
18192
18865
  get_offer_by_link_code: {
18193
18866
  Args: {
18194
18867
  p_code: string;
@@ -18480,6 +19153,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18480
19153
  p_worker?: string;
18481
19154
  };
18482
19155
  Returns: {
19156
+ attempt_log: import("../integrations/supabase/types").Json;
19157
+ attempts: number;
18483
19158
  buffer_ref: string | null;
18484
19159
  claimed_at: string | null;
18485
19160
  claimed_by: string | null;
@@ -18489,6 +19164,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18489
19164
  due_at: string | null;
18490
19165
  error: string | null;
18491
19166
  id: string;
19167
+ last_error: string | null;
19168
+ next_attempt_at: string | null;
18492
19169
  order_ref: string;
18493
19170
  owner_module: string;
18494
19171
  payload: import("../integrations/supabase/types").Json;
@@ -18521,6 +19198,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18521
19198
  p_worker?: string;
18522
19199
  };
18523
19200
  Returns: {
19201
+ attempt_log: import("../integrations/supabase/types").Json;
19202
+ attempts: number;
18524
19203
  buffer_ref: string | null;
18525
19204
  claimed_at: string | null;
18526
19205
  claimed_by: string | null;
@@ -18530,6 +19209,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18530
19209
  due_at: string | null;
18531
19210
  error: string | null;
18532
19211
  id: string;
19212
+ last_error: string | null;
19213
+ next_attempt_at: string | null;
18533
19214
  order_ref: string;
18534
19215
  owner_module: string;
18535
19216
  payload: import("../integrations/supabase/types").Json;
@@ -18562,6 +19243,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18562
19243
  p_task_id: string;
18563
19244
  };
18564
19245
  Returns: {
19246
+ attempt_log: import("../integrations/supabase/types").Json;
19247
+ attempts: number;
18565
19248
  buffer_ref: string | null;
18566
19249
  claimed_at: string | null;
18567
19250
  claimed_by: string | null;
@@ -18571,6 +19254,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18571
19254
  due_at: string | null;
18572
19255
  error: string | null;
18573
19256
  id: string;
19257
+ last_error: string | null;
19258
+ next_attempt_at: string | null;
18574
19259
  order_ref: string;
18575
19260
  owner_module: string;
18576
19261
  payload: import("../integrations/supabase/types").Json;
@@ -18652,6 +19337,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18652
19337
  p_task_id: string;
18653
19338
  };
18654
19339
  Returns: {
19340
+ attempt_log: import("../integrations/supabase/types").Json;
19341
+ attempts: number;
18655
19342
  buffer_ref: string | null;
18656
19343
  claimed_at: string | null;
18657
19344
  claimed_by: string | null;
@@ -18661,6 +19348,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18661
19348
  due_at: string | null;
18662
19349
  error: string | null;
18663
19350
  id: string;
19351
+ last_error: string | null;
19352
+ next_attempt_at: string | null;
18664
19353
  order_ref: string;
18665
19354
  owner_module: string;
18666
19355
  payload: import("../integrations/supabase/types").Json;
@@ -18687,6 +19376,51 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
18687
19376
  isSetofReturn: false;
18688
19377
  };
18689
19378
  };
19379
+ logistics_floriday_claim_pushes: {
19380
+ Args: {
19381
+ _lease_seconds?: number;
19382
+ _limit?: number;
19383
+ _worker?: string;
19384
+ };
19385
+ Returns: {
19386
+ attempts: number;
19387
+ fulfillment_order_id: string;
19388
+ id: string;
19389
+ last_sent_hash: string;
19390
+ order_ref: string;
19391
+ payload: import("../integrations/supabase/types").Json;
19392
+ payload_hash: string;
19393
+ revision: number;
19394
+ }[];
19395
+ };
19396
+ logistics_floriday_finish_push: {
19397
+ Args: {
19398
+ _error?: string;
19399
+ _fulfillment_order_id?: string;
19400
+ _id: string;
19401
+ _max_age_hours?: number;
19402
+ _max_attempts?: number;
19403
+ _ok: boolean;
19404
+ _permanent?: boolean;
19405
+ _revision: number;
19406
+ _sent_hash?: string;
19407
+ };
19408
+ Returns: string;
19409
+ };
19410
+ logistics_floriday_prune_pushes: {
19411
+ Args: {
19412
+ _days?: number;
19413
+ };
19414
+ Returns: number;
19415
+ };
19416
+ logistics_floriday_queue_push: {
19417
+ Args: {
19418
+ _order_ref: string;
19419
+ _payload?: import("../integrations/supabase/types").Json;
19420
+ _payload_hash?: string;
19421
+ };
19422
+ Returns: string;
19423
+ };
18690
19424
  logistics_live_carriers: {
18691
19425
  Args: {
18692
19426
  p_order_ref: string;
@@ -19414,6 +20148,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
19414
20148
  Args: never;
19415
20149
  Returns: undefined;
19416
20150
  };
20151
+ run_logistics_tasks_dispatch: {
20152
+ Args: never;
20153
+ Returns: undefined;
20154
+ };
19417
20155
  run_twinfield_queue_tick: {
19418
20156
  Args: never;
19419
20157
  Returns: undefined;
@@ -19654,6 +20392,13 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
19654
20392
  };
19655
20393
  Returns: number;
19656
20394
  };
20395
+ schedule_floriday_stock_queue_process: {
20396
+ Args: {
20397
+ p_apikey: string;
20398
+ p_url: string;
20399
+ };
20400
+ Returns: number;
20401
+ };
19657
20402
  schedule_floriday_token_refresh: {
19658
20403
  Args: {
19659
20404
  p_apikey: string;