@flowselections/floriday-klanten-module 1.0.29 → 1.0.30

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 +490 -0
  20. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/client.d.ts +490 -0
  22. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/client.server.d.ts +490 -0
  24. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  25. package/dist-lib/integrations/supabase/types.d.ts +490 -0
  26. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  27. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1470 -0
  28. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/accounting.functions.d.ts +1470 -0
  30. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/customer-analytics.functions.d.ts +490 -0
  32. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/customer-notes.functions.d.ts +980 -0
  34. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/customer-revenue.functions.d.ts +20327 -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 +4410 -0
  39. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/delivery-locations.functions.d.ts +1960 -0
  41. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/external-customers.functions.d.ts +1960 -0
  43. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-assortment.functions.d.ts +490 -0
  45. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-discounts.functions.d.ts +980 -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 +490 -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 +3430 -0
  51. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/logistics-events.functions.d.ts +490 -0
  53. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/logistics-strategy.functions.d.ts +1960 -0
  55. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/overdue-invoices.functions.d.ts +490 -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 +3430 -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 +490 -0
  61. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/twinfield-adopt.functions.d.ts +980 -0
  63. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/twinfield-ledger.functions.d.ts +490 -0
  65. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  66. package/package.json +2 -2
@@ -3586,6 +3586,474 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
3586
3586
  referencedColumns: ["id"];
3587
3587
  }];
3588
3588
  };
3589
+ exact_auth_call_budget: {
3590
+ Row: {
3591
+ account_key: string;
3592
+ day_count: number;
3593
+ day_date: string;
3594
+ division_code: number;
3595
+ environment: string;
3596
+ minute_count: number;
3597
+ minute_window: string;
3598
+ updated_at: string;
3599
+ };
3600
+ Insert: {
3601
+ account_key?: string;
3602
+ day_count?: number;
3603
+ day_date?: string;
3604
+ division_code?: number;
3605
+ environment: string;
3606
+ minute_count?: number;
3607
+ minute_window?: string;
3608
+ updated_at?: string;
3609
+ };
3610
+ Update: {
3611
+ account_key?: string;
3612
+ day_count?: number;
3613
+ day_date?: string;
3614
+ division_code?: number;
3615
+ environment?: string;
3616
+ minute_count?: number;
3617
+ minute_window?: string;
3618
+ updated_at?: string;
3619
+ };
3620
+ Relationships: [];
3621
+ };
3622
+ exact_auth_customers: {
3623
+ Row: {
3624
+ account_key: string;
3625
+ address_line1: string | null;
3626
+ chamber_of_commerce: string | null;
3627
+ city: string | null;
3628
+ code: string | null;
3629
+ country: string | null;
3630
+ created_at: string;
3631
+ currency: string | null;
3632
+ division_code: number | null;
3633
+ email: string | null;
3634
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3635
+ exact_id: string;
3636
+ exact_modified: string | null;
3637
+ exact_timestamp: number | null;
3638
+ id: string;
3639
+ is_active: boolean;
3640
+ name: string | null;
3641
+ phone: string | null;
3642
+ postcode: string | null;
3643
+ raw: import("../integrations/supabase/types").Json | null;
3644
+ status: string | null;
3645
+ updated_at: string;
3646
+ vat_number: string | null;
3647
+ website: string | null;
3648
+ };
3649
+ Insert: {
3650
+ account_key?: string;
3651
+ address_line1?: string | null;
3652
+ chamber_of_commerce?: string | null;
3653
+ city?: string | null;
3654
+ code?: string | null;
3655
+ country?: string | null;
3656
+ created_at?: string;
3657
+ currency?: string | null;
3658
+ division_code?: number | null;
3659
+ email?: string | null;
3660
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3661
+ exact_id: string;
3662
+ exact_modified?: string | null;
3663
+ exact_timestamp?: number | null;
3664
+ id?: string;
3665
+ is_active?: boolean;
3666
+ name?: string | null;
3667
+ phone?: string | null;
3668
+ postcode?: string | null;
3669
+ raw?: import("../integrations/supabase/types").Json | null;
3670
+ status?: string | null;
3671
+ updated_at?: string;
3672
+ vat_number?: string | null;
3673
+ website?: string | null;
3674
+ };
3675
+ Update: {
3676
+ account_key?: string;
3677
+ address_line1?: string | null;
3678
+ chamber_of_commerce?: string | null;
3679
+ city?: string | null;
3680
+ code?: string | null;
3681
+ country?: string | null;
3682
+ created_at?: string;
3683
+ currency?: string | null;
3684
+ division_code?: number | null;
3685
+ email?: string | null;
3686
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3687
+ exact_id?: string;
3688
+ exact_modified?: string | null;
3689
+ exact_timestamp?: number | null;
3690
+ id?: string;
3691
+ is_active?: boolean;
3692
+ name?: string | null;
3693
+ phone?: string | null;
3694
+ postcode?: string | null;
3695
+ raw?: import("../integrations/supabase/types").Json | null;
3696
+ status?: string | null;
3697
+ updated_at?: string;
3698
+ vat_number?: string | null;
3699
+ website?: string | null;
3700
+ };
3701
+ Relationships: [];
3702
+ };
3703
+ exact_auth_divisions: {
3704
+ Row: {
3705
+ account_key: string;
3706
+ company_name: string | null;
3707
+ created_at: string;
3708
+ division_code: number | null;
3709
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3710
+ id: string;
3711
+ last_synced_at: string | null;
3712
+ updated_at: string;
3713
+ };
3714
+ Insert: {
3715
+ account_key?: string;
3716
+ company_name?: string | null;
3717
+ created_at?: string;
3718
+ division_code?: number | null;
3719
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3720
+ id?: string;
3721
+ last_synced_at?: string | null;
3722
+ updated_at?: string;
3723
+ };
3724
+ Update: {
3725
+ account_key?: string;
3726
+ company_name?: string | null;
3727
+ created_at?: string;
3728
+ division_code?: number | null;
3729
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3730
+ id?: string;
3731
+ last_synced_at?: string | null;
3732
+ updated_at?: string;
3733
+ };
3734
+ Relationships: [];
3735
+ };
3736
+ exact_auth_invoice_lines: {
3737
+ Row: {
3738
+ account_key: string;
3739
+ amount_excl: number | null;
3740
+ created_at: string;
3741
+ description: string | null;
3742
+ discount: number | null;
3743
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3744
+ exact_id: string;
3745
+ exact_timestamp: number | null;
3746
+ id: string;
3747
+ invoice_exact_id: string;
3748
+ item_code: string | null;
3749
+ item_exact_id: string | null;
3750
+ line_number: number | null;
3751
+ quantity: number | null;
3752
+ raw: import("../integrations/supabase/types").Json | null;
3753
+ unit_price: number | null;
3754
+ updated_at: string;
3755
+ vat_amount: number | null;
3756
+ vat_code: string | null;
3757
+ };
3758
+ Insert: {
3759
+ account_key?: string;
3760
+ amount_excl?: number | null;
3761
+ created_at?: string;
3762
+ description?: string | null;
3763
+ discount?: number | null;
3764
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3765
+ exact_id: string;
3766
+ exact_timestamp?: number | null;
3767
+ id?: string;
3768
+ invoice_exact_id: string;
3769
+ item_code?: string | null;
3770
+ item_exact_id?: string | null;
3771
+ line_number?: number | null;
3772
+ quantity?: number | null;
3773
+ raw?: import("../integrations/supabase/types").Json | null;
3774
+ unit_price?: number | null;
3775
+ updated_at?: string;
3776
+ vat_amount?: number | null;
3777
+ vat_code?: string | null;
3778
+ };
3779
+ Update: {
3780
+ account_key?: string;
3781
+ amount_excl?: number | null;
3782
+ created_at?: string;
3783
+ description?: string | null;
3784
+ discount?: number | null;
3785
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3786
+ exact_id?: string;
3787
+ exact_timestamp?: number | null;
3788
+ id?: string;
3789
+ invoice_exact_id?: string;
3790
+ item_code?: string | null;
3791
+ item_exact_id?: string | null;
3792
+ line_number?: number | null;
3793
+ quantity?: number | null;
3794
+ raw?: import("../integrations/supabase/types").Json | null;
3795
+ unit_price?: number | null;
3796
+ updated_at?: string;
3797
+ vat_amount?: number | null;
3798
+ vat_code?: string | null;
3799
+ };
3800
+ Relationships: [];
3801
+ };
3802
+ exact_auth_invoices: {
3803
+ Row: {
3804
+ account_key: string;
3805
+ amount_excl: number | null;
3806
+ amount_incl: number | null;
3807
+ amount_open: number | null;
3808
+ created_at: string;
3809
+ currency: string | null;
3810
+ customer_code: string | null;
3811
+ customer_exact_id: string | null;
3812
+ customer_name: string | null;
3813
+ description: string | null;
3814
+ division_code: number | null;
3815
+ due_date: string | null;
3816
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3817
+ exact_id: string;
3818
+ exact_modified: string | null;
3819
+ exact_timestamp: number | null;
3820
+ id: string;
3821
+ invoice_date: string | null;
3822
+ invoice_number: string | null;
3823
+ order_number: string | null;
3824
+ paid_at: string | null;
3825
+ payment_status: string;
3826
+ raw: import("../integrations/supabase/types").Json | null;
3827
+ receivable_synced_at: string | null;
3828
+ status_code: number | null;
3829
+ updated_at: string;
3830
+ };
3831
+ Insert: {
3832
+ account_key?: string;
3833
+ amount_excl?: number | null;
3834
+ amount_incl?: number | null;
3835
+ amount_open?: number | null;
3836
+ created_at?: string;
3837
+ currency?: string | null;
3838
+ customer_code?: string | null;
3839
+ customer_exact_id?: string | null;
3840
+ customer_name?: string | null;
3841
+ description?: string | null;
3842
+ division_code?: number | null;
3843
+ due_date?: string | null;
3844
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3845
+ exact_id: string;
3846
+ exact_modified?: string | null;
3847
+ exact_timestamp?: number | null;
3848
+ id?: string;
3849
+ invoice_date?: string | null;
3850
+ invoice_number?: string | null;
3851
+ order_number?: string | null;
3852
+ paid_at?: string | null;
3853
+ payment_status?: string;
3854
+ raw?: import("../integrations/supabase/types").Json | null;
3855
+ receivable_synced_at?: string | null;
3856
+ status_code?: number | null;
3857
+ updated_at?: string;
3858
+ };
3859
+ Update: {
3860
+ account_key?: string;
3861
+ amount_excl?: number | null;
3862
+ amount_incl?: number | null;
3863
+ amount_open?: number | null;
3864
+ created_at?: string;
3865
+ currency?: string | null;
3866
+ customer_code?: string | null;
3867
+ customer_exact_id?: string | null;
3868
+ customer_name?: string | null;
3869
+ description?: string | null;
3870
+ division_code?: number | null;
3871
+ due_date?: string | null;
3872
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3873
+ exact_id?: string;
3874
+ exact_modified?: string | null;
3875
+ exact_timestamp?: number | null;
3876
+ id?: string;
3877
+ invoice_date?: string | null;
3878
+ invoice_number?: string | null;
3879
+ order_number?: string | null;
3880
+ paid_at?: string | null;
3881
+ payment_status?: string;
3882
+ raw?: import("../integrations/supabase/types").Json | null;
3883
+ receivable_synced_at?: string | null;
3884
+ status_code?: number | null;
3885
+ updated_at?: string;
3886
+ };
3887
+ Relationships: [];
3888
+ };
3889
+ exact_auth_items: {
3890
+ Row: {
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
+ Insert: {
3914
+ account_key?: string;
3915
+ barcode?: string | null;
3916
+ code?: string | null;
3917
+ cost_price?: number | null;
3918
+ created_at?: string;
3919
+ description?: string | null;
3920
+ division_code?: number | null;
3921
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3922
+ exact_id: string;
3923
+ exact_modified?: string | null;
3924
+ exact_timestamp?: number | null;
3925
+ gl_account_code?: string | null;
3926
+ id?: string;
3927
+ is_active?: boolean;
3928
+ is_sales_item?: boolean | null;
3929
+ item_type?: string | null;
3930
+ raw?: import("../integrations/supabase/types").Json | null;
3931
+ sales_price?: number | null;
3932
+ unit?: string | null;
3933
+ updated_at?: string;
3934
+ vat_code?: string | null;
3935
+ };
3936
+ Update: {
3937
+ account_key?: string;
3938
+ barcode?: string | null;
3939
+ code?: string | null;
3940
+ cost_price?: number | null;
3941
+ created_at?: string;
3942
+ description?: string | null;
3943
+ division_code?: number | null;
3944
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3945
+ exact_id?: string;
3946
+ exact_modified?: string | null;
3947
+ exact_timestamp?: number | null;
3948
+ gl_account_code?: string | null;
3949
+ id?: string;
3950
+ is_active?: boolean;
3951
+ is_sales_item?: boolean | null;
3952
+ item_type?: string | null;
3953
+ raw?: import("../integrations/supabase/types").Json | null;
3954
+ sales_price?: number | null;
3955
+ unit?: string | null;
3956
+ updated_at?: string;
3957
+ vat_code?: string | null;
3958
+ };
3959
+ Relationships: [];
3960
+ };
3961
+ exact_auth_sync_log: {
3962
+ Row: {
3963
+ account_key: string;
3964
+ calls_used: number;
3965
+ created_at: string;
3966
+ domain: string;
3967
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3968
+ error: string | null;
3969
+ finished_at: string | null;
3970
+ id: string;
3971
+ ok: boolean;
3972
+ records: number;
3973
+ started_at: string;
3974
+ };
3975
+ Insert: {
3976
+ account_key?: string;
3977
+ calls_used?: number;
3978
+ created_at?: string;
3979
+ domain: string;
3980
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3981
+ error?: string | null;
3982
+ finished_at?: string | null;
3983
+ id?: string;
3984
+ ok?: boolean;
3985
+ records?: number;
3986
+ started_at?: string;
3987
+ };
3988
+ Update: {
3989
+ account_key?: string;
3990
+ calls_used?: number;
3991
+ created_at?: string;
3992
+ domain?: string;
3993
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3994
+ error?: string | null;
3995
+ finished_at?: string | null;
3996
+ id?: string;
3997
+ ok?: boolean;
3998
+ records?: number;
3999
+ started_at?: string;
4000
+ };
4001
+ Relationships: [];
4002
+ };
4003
+ exact_auth_sync_state: {
4004
+ Row: {
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
+ Insert: {
4022
+ account_key?: string;
4023
+ created_at?: string;
4024
+ cursor_timestamp?: number;
4025
+ division_code?: number | null;
4026
+ domain: string;
4027
+ duration_ms?: number | null;
4028
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4029
+ initial_sync_done?: boolean;
4030
+ last_error?: string | null;
4031
+ last_run_at?: string | null;
4032
+ last_success_at?: string | null;
4033
+ locked_at?: string | null;
4034
+ needs_initial_sync?: boolean;
4035
+ record_count?: number;
4036
+ updated_at?: string;
4037
+ };
4038
+ Update: {
4039
+ account_key?: string;
4040
+ created_at?: string;
4041
+ cursor_timestamp?: number;
4042
+ division_code?: number | null;
4043
+ domain?: string;
4044
+ duration_ms?: number | null;
4045
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4046
+ initial_sync_done?: boolean;
4047
+ last_error?: string | null;
4048
+ last_run_at?: string | null;
4049
+ last_success_at?: string | null;
4050
+ locked_at?: string | null;
4051
+ needs_initial_sync?: boolean;
4052
+ record_count?: number;
4053
+ updated_at?: string;
4054
+ };
4055
+ Relationships: [];
4056
+ };
3589
4057
  exact_bulk_operation_items: {
3590
4058
  Row: {
3591
4059
  attempts: number;
@@ -10086,6 +10554,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
10086
10554
  };
10087
10555
  offer_settings: {
10088
10556
  Row: {
10557
+ brand_name: string | null;
10089
10558
  button_color: string;
10090
10559
  created_at: string;
10091
10560
  default_countries: string[];
@@ -10107,6 +10576,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
10107
10576
  updated_at: string;
10108
10577
  };
10109
10578
  Insert: {
10579
+ brand_name?: string | null;
10110
10580
  button_color?: string;
10111
10581
  created_at?: string;
10112
10582
  default_countries?: string[];
@@ -10128,6 +10598,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
10128
10598
  updated_at?: string;
10129
10599
  };
10130
10600
  Update: {
10601
+ brand_name?: string | null;
10131
10602
  button_color?: string;
10132
10603
  created_at?: string;
10133
10604
  default_countries?: string[];
@@ -17978,6 +18449,21 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
17978
18449
  Args: never;
17979
18450
  Returns: string;
17980
18451
  };
18452
+ exact_auth_consume_calls: {
18453
+ Args: {
18454
+ _account_key: string;
18455
+ _calls?: number;
18456
+ _day_limit?: number;
18457
+ _division_code: number;
18458
+ _environment: string;
18459
+ _minute_limit?: number;
18460
+ };
18461
+ Returns: import("../integrations/supabase/types").Json;
18462
+ };
18463
+ exact_auth_prune_sync_log: {
18464
+ Args: never;
18465
+ Returns: undefined;
18466
+ };
17981
18467
  exact_decrypt: {
17982
18468
  Args: {
17983
18469
  cipher: string;
@@ -18187,6 +18673,10 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18187
18673
  };
18188
18674
  Returns: number;
18189
18675
  };
18676
+ get_offer_branding: {
18677
+ Args: never;
18678
+ Returns: import("../integrations/supabase/types").Json;
18679
+ };
18190
18680
  get_offer_by_link_code: {
18191
18681
  Args: {
18192
18682
  p_code: string;
@@ -23414,6 +23904,474 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
23414
23904
  referencedColumns: ["id"];
23415
23905
  }];
23416
23906
  };
23907
+ exact_auth_call_budget: {
23908
+ Row: {
23909
+ account_key: string;
23910
+ day_count: number;
23911
+ day_date: string;
23912
+ division_code: number;
23913
+ environment: string;
23914
+ minute_count: number;
23915
+ minute_window: string;
23916
+ updated_at: string;
23917
+ };
23918
+ Insert: {
23919
+ account_key?: string;
23920
+ day_count?: number;
23921
+ day_date?: string;
23922
+ division_code?: number;
23923
+ environment: string;
23924
+ minute_count?: number;
23925
+ minute_window?: string;
23926
+ updated_at?: string;
23927
+ };
23928
+ Update: {
23929
+ account_key?: string;
23930
+ day_count?: number;
23931
+ day_date?: string;
23932
+ division_code?: number;
23933
+ environment?: string;
23934
+ minute_count?: number;
23935
+ minute_window?: string;
23936
+ updated_at?: string;
23937
+ };
23938
+ Relationships: [];
23939
+ };
23940
+ exact_auth_customers: {
23941
+ Row: {
23942
+ account_key: string;
23943
+ address_line1: string | null;
23944
+ chamber_of_commerce: string | null;
23945
+ city: string | null;
23946
+ code: string | null;
23947
+ country: string | null;
23948
+ created_at: string;
23949
+ currency: string | null;
23950
+ division_code: number | null;
23951
+ email: string | null;
23952
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23953
+ exact_id: string;
23954
+ exact_modified: string | null;
23955
+ exact_timestamp: number | null;
23956
+ id: string;
23957
+ is_active: boolean;
23958
+ name: string | null;
23959
+ phone: string | null;
23960
+ postcode: string | null;
23961
+ raw: import("../integrations/supabase/types").Json | null;
23962
+ status: string | null;
23963
+ updated_at: string;
23964
+ vat_number: string | null;
23965
+ website: string | null;
23966
+ };
23967
+ Insert: {
23968
+ account_key?: string;
23969
+ address_line1?: string | null;
23970
+ chamber_of_commerce?: string | null;
23971
+ city?: string | null;
23972
+ code?: string | null;
23973
+ country?: string | null;
23974
+ created_at?: string;
23975
+ currency?: string | null;
23976
+ division_code?: number | null;
23977
+ email?: string | null;
23978
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23979
+ exact_id: string;
23980
+ exact_modified?: string | null;
23981
+ exact_timestamp?: number | null;
23982
+ id?: string;
23983
+ is_active?: boolean;
23984
+ name?: string | null;
23985
+ phone?: string | null;
23986
+ postcode?: string | null;
23987
+ raw?: import("../integrations/supabase/types").Json | null;
23988
+ status?: string | null;
23989
+ updated_at?: string;
23990
+ vat_number?: string | null;
23991
+ website?: string | null;
23992
+ };
23993
+ Update: {
23994
+ account_key?: string;
23995
+ address_line1?: string | null;
23996
+ chamber_of_commerce?: string | null;
23997
+ city?: string | null;
23998
+ code?: string | null;
23999
+ country?: string | null;
24000
+ created_at?: string;
24001
+ currency?: string | null;
24002
+ division_code?: number | null;
24003
+ email?: string | null;
24004
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24005
+ exact_id?: string;
24006
+ exact_modified?: string | null;
24007
+ exact_timestamp?: number | null;
24008
+ id?: string;
24009
+ is_active?: boolean;
24010
+ name?: string | null;
24011
+ phone?: string | null;
24012
+ postcode?: string | null;
24013
+ raw?: import("../integrations/supabase/types").Json | null;
24014
+ status?: string | null;
24015
+ updated_at?: string;
24016
+ vat_number?: string | null;
24017
+ website?: string | null;
24018
+ };
24019
+ Relationships: [];
24020
+ };
24021
+ exact_auth_divisions: {
24022
+ Row: {
24023
+ account_key: string;
24024
+ company_name: string | null;
24025
+ created_at: string;
24026
+ division_code: number | null;
24027
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24028
+ id: string;
24029
+ last_synced_at: string | null;
24030
+ updated_at: string;
24031
+ };
24032
+ Insert: {
24033
+ account_key?: string;
24034
+ company_name?: string | null;
24035
+ created_at?: string;
24036
+ division_code?: number | null;
24037
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24038
+ id?: string;
24039
+ last_synced_at?: string | null;
24040
+ updated_at?: string;
24041
+ };
24042
+ Update: {
24043
+ account_key?: string;
24044
+ company_name?: string | null;
24045
+ created_at?: string;
24046
+ division_code?: number | null;
24047
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24048
+ id?: string;
24049
+ last_synced_at?: string | null;
24050
+ updated_at?: string;
24051
+ };
24052
+ Relationships: [];
24053
+ };
24054
+ exact_auth_invoice_lines: {
24055
+ Row: {
24056
+ account_key: string;
24057
+ amount_excl: number | null;
24058
+ created_at: string;
24059
+ description: string | null;
24060
+ discount: number | null;
24061
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24062
+ exact_id: string;
24063
+ exact_timestamp: number | null;
24064
+ id: string;
24065
+ invoice_exact_id: string;
24066
+ item_code: string | null;
24067
+ item_exact_id: string | null;
24068
+ line_number: number | null;
24069
+ quantity: number | null;
24070
+ raw: import("../integrations/supabase/types").Json | null;
24071
+ unit_price: number | null;
24072
+ updated_at: string;
24073
+ vat_amount: number | null;
24074
+ vat_code: string | null;
24075
+ };
24076
+ Insert: {
24077
+ account_key?: string;
24078
+ amount_excl?: number | null;
24079
+ created_at?: string;
24080
+ description?: string | null;
24081
+ discount?: number | null;
24082
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24083
+ exact_id: string;
24084
+ exact_timestamp?: number | null;
24085
+ id?: string;
24086
+ invoice_exact_id: string;
24087
+ item_code?: string | null;
24088
+ item_exact_id?: string | null;
24089
+ line_number?: number | null;
24090
+ quantity?: number | null;
24091
+ raw?: import("../integrations/supabase/types").Json | null;
24092
+ unit_price?: number | null;
24093
+ updated_at?: string;
24094
+ vat_amount?: number | null;
24095
+ vat_code?: string | null;
24096
+ };
24097
+ Update: {
24098
+ account_key?: string;
24099
+ amount_excl?: number | null;
24100
+ created_at?: string;
24101
+ description?: string | null;
24102
+ discount?: number | null;
24103
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24104
+ exact_id?: string;
24105
+ exact_timestamp?: number | null;
24106
+ id?: string;
24107
+ invoice_exact_id?: string;
24108
+ item_code?: string | null;
24109
+ item_exact_id?: string | null;
24110
+ line_number?: number | null;
24111
+ quantity?: number | null;
24112
+ raw?: import("../integrations/supabase/types").Json | null;
24113
+ unit_price?: number | null;
24114
+ updated_at?: string;
24115
+ vat_amount?: number | null;
24116
+ vat_code?: string | null;
24117
+ };
24118
+ Relationships: [];
24119
+ };
24120
+ exact_auth_invoices: {
24121
+ Row: {
24122
+ account_key: string;
24123
+ amount_excl: number | null;
24124
+ amount_incl: number | null;
24125
+ amount_open: number | null;
24126
+ created_at: string;
24127
+ currency: string | null;
24128
+ customer_code: string | null;
24129
+ customer_exact_id: string | null;
24130
+ customer_name: string | null;
24131
+ description: string | null;
24132
+ division_code: number | null;
24133
+ due_date: string | null;
24134
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24135
+ exact_id: string;
24136
+ exact_modified: string | null;
24137
+ exact_timestamp: number | null;
24138
+ id: string;
24139
+ invoice_date: string | null;
24140
+ invoice_number: string | null;
24141
+ order_number: string | null;
24142
+ paid_at: string | null;
24143
+ payment_status: string;
24144
+ raw: import("../integrations/supabase/types").Json | null;
24145
+ receivable_synced_at: string | null;
24146
+ status_code: number | null;
24147
+ updated_at: string;
24148
+ };
24149
+ Insert: {
24150
+ account_key?: string;
24151
+ amount_excl?: number | null;
24152
+ amount_incl?: number | null;
24153
+ amount_open?: number | null;
24154
+ created_at?: string;
24155
+ currency?: string | null;
24156
+ customer_code?: string | null;
24157
+ customer_exact_id?: string | null;
24158
+ customer_name?: string | null;
24159
+ description?: string | null;
24160
+ division_code?: number | null;
24161
+ due_date?: string | null;
24162
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24163
+ exact_id: string;
24164
+ exact_modified?: string | null;
24165
+ exact_timestamp?: number | null;
24166
+ id?: string;
24167
+ invoice_date?: string | null;
24168
+ invoice_number?: string | null;
24169
+ order_number?: string | null;
24170
+ paid_at?: string | null;
24171
+ payment_status?: string;
24172
+ raw?: import("../integrations/supabase/types").Json | null;
24173
+ receivable_synced_at?: string | null;
24174
+ status_code?: number | null;
24175
+ updated_at?: string;
24176
+ };
24177
+ Update: {
24178
+ account_key?: string;
24179
+ amount_excl?: number | null;
24180
+ amount_incl?: number | null;
24181
+ amount_open?: number | null;
24182
+ created_at?: string;
24183
+ currency?: string | null;
24184
+ customer_code?: string | null;
24185
+ customer_exact_id?: string | null;
24186
+ customer_name?: string | null;
24187
+ description?: string | null;
24188
+ division_code?: number | null;
24189
+ due_date?: string | null;
24190
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24191
+ exact_id?: string;
24192
+ exact_modified?: string | null;
24193
+ exact_timestamp?: number | null;
24194
+ id?: string;
24195
+ invoice_date?: string | null;
24196
+ invoice_number?: string | null;
24197
+ order_number?: string | null;
24198
+ paid_at?: string | null;
24199
+ payment_status?: string;
24200
+ raw?: import("../integrations/supabase/types").Json | null;
24201
+ receivable_synced_at?: string | null;
24202
+ status_code?: number | null;
24203
+ updated_at?: string;
24204
+ };
24205
+ Relationships: [];
24206
+ };
24207
+ exact_auth_items: {
24208
+ Row: {
24209
+ account_key: string;
24210
+ barcode: string | null;
24211
+ code: string | null;
24212
+ cost_price: number | null;
24213
+ created_at: string;
24214
+ description: string | null;
24215
+ division_code: number | null;
24216
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24217
+ exact_id: string;
24218
+ exact_modified: string | null;
24219
+ exact_timestamp: number | null;
24220
+ gl_account_code: string | null;
24221
+ id: string;
24222
+ is_active: boolean;
24223
+ is_sales_item: boolean | null;
24224
+ item_type: string | null;
24225
+ raw: import("../integrations/supabase/types").Json | null;
24226
+ sales_price: number | null;
24227
+ unit: string | null;
24228
+ updated_at: string;
24229
+ vat_code: string | null;
24230
+ };
24231
+ Insert: {
24232
+ account_key?: string;
24233
+ barcode?: string | null;
24234
+ code?: string | null;
24235
+ cost_price?: number | null;
24236
+ created_at?: string;
24237
+ description?: string | null;
24238
+ division_code?: number | null;
24239
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24240
+ exact_id: string;
24241
+ exact_modified?: string | null;
24242
+ exact_timestamp?: number | null;
24243
+ gl_account_code?: string | null;
24244
+ id?: string;
24245
+ is_active?: boolean;
24246
+ is_sales_item?: boolean | null;
24247
+ item_type?: string | null;
24248
+ raw?: import("../integrations/supabase/types").Json | null;
24249
+ sales_price?: number | null;
24250
+ unit?: string | null;
24251
+ updated_at?: string;
24252
+ vat_code?: string | null;
24253
+ };
24254
+ Update: {
24255
+ account_key?: string;
24256
+ barcode?: string | null;
24257
+ code?: string | null;
24258
+ cost_price?: number | null;
24259
+ created_at?: string;
24260
+ description?: string | null;
24261
+ division_code?: number | null;
24262
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24263
+ exact_id?: string;
24264
+ exact_modified?: string | null;
24265
+ exact_timestamp?: number | null;
24266
+ gl_account_code?: string | null;
24267
+ id?: string;
24268
+ is_active?: boolean;
24269
+ is_sales_item?: boolean | null;
24270
+ item_type?: string | null;
24271
+ raw?: import("../integrations/supabase/types").Json | null;
24272
+ sales_price?: number | null;
24273
+ unit?: string | null;
24274
+ updated_at?: string;
24275
+ vat_code?: string | null;
24276
+ };
24277
+ Relationships: [];
24278
+ };
24279
+ exact_auth_sync_log: {
24280
+ Row: {
24281
+ account_key: string;
24282
+ calls_used: number;
24283
+ created_at: string;
24284
+ domain: string;
24285
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24286
+ error: string | null;
24287
+ finished_at: string | null;
24288
+ id: string;
24289
+ ok: boolean;
24290
+ records: number;
24291
+ started_at: string;
24292
+ };
24293
+ Insert: {
24294
+ account_key?: string;
24295
+ calls_used?: number;
24296
+ created_at?: string;
24297
+ domain: string;
24298
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24299
+ error?: string | null;
24300
+ finished_at?: string | null;
24301
+ id?: string;
24302
+ ok?: boolean;
24303
+ records?: number;
24304
+ started_at?: string;
24305
+ };
24306
+ Update: {
24307
+ account_key?: string;
24308
+ calls_used?: number;
24309
+ created_at?: string;
24310
+ domain?: string;
24311
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24312
+ error?: string | null;
24313
+ finished_at?: string | null;
24314
+ id?: string;
24315
+ ok?: boolean;
24316
+ records?: number;
24317
+ started_at?: string;
24318
+ };
24319
+ Relationships: [];
24320
+ };
24321
+ exact_auth_sync_state: {
24322
+ Row: {
24323
+ account_key: string;
24324
+ created_at: string;
24325
+ cursor_timestamp: number;
24326
+ division_code: number | null;
24327
+ domain: string;
24328
+ duration_ms: number | null;
24329
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24330
+ initial_sync_done: boolean;
24331
+ last_error: string | null;
24332
+ last_run_at: string | null;
24333
+ last_success_at: string | null;
24334
+ locked_at: string | null;
24335
+ needs_initial_sync: boolean;
24336
+ record_count: number;
24337
+ updated_at: string;
24338
+ };
24339
+ Insert: {
24340
+ account_key?: string;
24341
+ created_at?: string;
24342
+ cursor_timestamp?: number;
24343
+ division_code?: number | null;
24344
+ domain: string;
24345
+ duration_ms?: number | null;
24346
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24347
+ initial_sync_done?: boolean;
24348
+ last_error?: string | null;
24349
+ last_run_at?: string | null;
24350
+ last_success_at?: string | null;
24351
+ locked_at?: string | null;
24352
+ needs_initial_sync?: boolean;
24353
+ record_count?: number;
24354
+ updated_at?: string;
24355
+ };
24356
+ Update: {
24357
+ account_key?: string;
24358
+ created_at?: string;
24359
+ cursor_timestamp?: number;
24360
+ division_code?: number | null;
24361
+ domain?: string;
24362
+ duration_ms?: number | null;
24363
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24364
+ initial_sync_done?: boolean;
24365
+ last_error?: string | null;
24366
+ last_run_at?: string | null;
24367
+ last_success_at?: string | null;
24368
+ locked_at?: string | null;
24369
+ needs_initial_sync?: boolean;
24370
+ record_count?: number;
24371
+ updated_at?: string;
24372
+ };
24373
+ Relationships: [];
24374
+ };
23417
24375
  exact_bulk_operation_items: {
23418
24376
  Row: {
23419
24377
  attempts: number;
@@ -29914,6 +30872,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29914
30872
  };
29915
30873
  offer_settings: {
29916
30874
  Row: {
30875
+ brand_name: string | null;
29917
30876
  button_color: string;
29918
30877
  created_at: string;
29919
30878
  default_countries: string[];
@@ -29935,6 +30894,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29935
30894
  updated_at: string;
29936
30895
  };
29937
30896
  Insert: {
30897
+ brand_name?: string | null;
29938
30898
  button_color?: string;
29939
30899
  created_at?: string;
29940
30900
  default_countries?: string[];
@@ -29956,6 +30916,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29956
30916
  updated_at?: string;
29957
30917
  };
29958
30918
  Update: {
30919
+ brand_name?: string | null;
29959
30920
  button_color?: string;
29960
30921
  created_at?: string;
29961
30922
  default_countries?: string[];
@@ -37806,6 +38767,21 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
37806
38767
  Args: never;
37807
38768
  Returns: string;
37808
38769
  };
38770
+ exact_auth_consume_calls: {
38771
+ Args: {
38772
+ _account_key: string;
38773
+ _calls?: number;
38774
+ _day_limit?: number;
38775
+ _division_code: number;
38776
+ _environment: string;
38777
+ _minute_limit?: number;
38778
+ };
38779
+ Returns: import("../integrations/supabase/types").Json;
38780
+ };
38781
+ exact_auth_prune_sync_log: {
38782
+ Args: never;
38783
+ Returns: undefined;
38784
+ };
37809
38785
  exact_decrypt: {
37810
38786
  Args: {
37811
38787
  cipher: string;
@@ -38015,6 +38991,10 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38015
38991
  };
38016
38992
  Returns: number;
38017
38993
  };
38994
+ get_offer_branding: {
38995
+ Args: never;
38996
+ Returns: import("../integrations/supabase/types").Json;
38997
+ };
38018
38998
  get_offer_by_link_code: {
38019
38999
  Args: {
38020
39000
  p_code: string;