@flowselections/floriday-klanten-module 1.0.28 → 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 (86) 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 +9 -5
  4. package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts.map +1 -1
  5. package/dist-lib/components/klanten/DeliveryLocationsTab.js +2 -1
  6. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
  7. package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -2
  8. package/dist-lib/components/klanten/ImportKlanten.d.ts.map +1 -1
  9. package/dist-lib/components/klanten/ImportKlanten.js +2 -1
  10. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts +12 -0
  11. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts.map +1 -0
  12. package/dist-lib/components/klanten/KlantBewerkenDialog.js +27 -0
  13. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  14. package/dist-lib/components/klanten/KlantDetail.js +5 -3
  15. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  16. package/dist-lib/components/klanten/KlantenOverzicht.js +102 -16
  17. package/dist-lib/components/klanten/LocalDiscountFormDialog.d.ts.map +1 -1
  18. package/dist-lib/components/klanten/LocalDiscountFormDialog.js +2 -1
  19. package/dist-lib/components/klanten/LocalDiscountsTab.d.ts.map +1 -1
  20. package/dist-lib/components/klanten/LocalDiscountsTab.js +2 -1
  21. package/dist-lib/components/klanten/LogisticsStrategyCard.d.ts.map +1 -1
  22. package/dist-lib/components/klanten/LogisticsStrategyCard.js +2 -1
  23. package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -1
  24. package/dist-lib/components/klanten/NieuweKlant.js +2 -1
  25. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts +7 -1
  26. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts.map +1 -1
  27. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +16 -8
  28. package/dist-lib/components/klanten/RouteError.d.ts +6 -0
  29. package/dist-lib/components/klanten/RouteError.d.ts.map +1 -0
  30. package/dist-lib/components/klanten/RouteError.js +13 -0
  31. package/dist-lib/index.d.ts +1 -0
  32. package/dist-lib/index.d.ts.map +1 -1
  33. package/dist-lib/index.js +1 -0
  34. package/dist-lib/integrations/supabase/auth-middleware.d.ts +490 -0
  35. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  36. package/dist-lib/integrations/supabase/client.d.ts +490 -0
  37. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  38. package/dist-lib/integrations/supabase/client.server.d.ts +490 -0
  39. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  40. package/dist-lib/integrations/supabase/types.d.ts +490 -0
  41. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  42. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1470 -0
  43. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/accounting.functions.d.ts +1470 -0
  45. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/customer-analytics.functions.d.ts +490 -0
  47. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/customer-notes.functions.d.ts +980 -0
  49. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/customer-revenue.functions.d.ts +20327 -0
  51. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -0
  52. package/dist-lib/lib/customer-revenue.functions.js +124 -0
  53. package/dist-lib/lib/customers.functions.d.ts +4410 -0
  54. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/customers.functions.js +39 -35
  56. package/dist-lib/lib/delivery-locations.functions.d.ts +1960 -0
  57. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/errors.d.ts +7 -0
  59. package/dist-lib/lib/errors.d.ts.map +1 -0
  60. package/dist-lib/lib/errors.js +36 -0
  61. package/dist-lib/lib/external-customers.functions.d.ts +1961 -1
  62. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/external-customers.functions.js +28 -12
  64. package/dist-lib/lib/floriday-assortment.functions.d.ts +490 -0
  65. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  66. package/dist-lib/lib/floriday-discounts.functions.d.ts +980 -0
  67. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/floriday-trade-items.functions.d.ts +490 -0
  69. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/local-discounts.functions.d.ts +3430 -0
  71. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  72. package/dist-lib/lib/logistics-events.functions.d.ts +490 -0
  73. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/logistics-strategy.functions.d.ts +1960 -0
  75. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/overdue-invoices.functions.d.ts +490 -0
  77. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  78. package/dist-lib/lib/price-groups-local.functions.d.ts +3430 -0
  79. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  80. package/dist-lib/lib/price-groups.functions.d.ts +490 -0
  81. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  82. package/dist-lib/lib/twinfield-adopt.functions.d.ts +980 -0
  83. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/twinfield-ledger.functions.d.ts +490 -0
  85. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  86. package/package.json +2 -2
@@ -3577,6 +3577,474 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
3577
3577
  referencedColumns: ["id"];
3578
3578
  }];
3579
3579
  };
3580
+ exact_auth_call_budget: {
3581
+ Row: {
3582
+ account_key: string;
3583
+ day_count: number;
3584
+ day_date: string;
3585
+ division_code: number;
3586
+ environment: string;
3587
+ minute_count: number;
3588
+ minute_window: string;
3589
+ updated_at: string;
3590
+ };
3591
+ Insert: {
3592
+ account_key?: string;
3593
+ day_count?: number;
3594
+ day_date?: string;
3595
+ division_code?: number;
3596
+ environment: string;
3597
+ minute_count?: number;
3598
+ minute_window?: string;
3599
+ updated_at?: string;
3600
+ };
3601
+ Update: {
3602
+ account_key?: string;
3603
+ day_count?: number;
3604
+ day_date?: string;
3605
+ division_code?: number;
3606
+ environment?: string;
3607
+ minute_count?: number;
3608
+ minute_window?: string;
3609
+ updated_at?: string;
3610
+ };
3611
+ Relationships: [];
3612
+ };
3613
+ exact_auth_customers: {
3614
+ Row: {
3615
+ account_key: string;
3616
+ address_line1: string | null;
3617
+ chamber_of_commerce: string | null;
3618
+ city: string | null;
3619
+ code: string | null;
3620
+ country: string | null;
3621
+ created_at: string;
3622
+ currency: string | null;
3623
+ division_code: number | null;
3624
+ email: string | null;
3625
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3626
+ exact_id: string;
3627
+ exact_modified: string | null;
3628
+ exact_timestamp: number | null;
3629
+ id: string;
3630
+ is_active: boolean;
3631
+ name: string | null;
3632
+ phone: string | null;
3633
+ postcode: string | null;
3634
+ raw: import("../integrations/supabase/types").Json | null;
3635
+ status: string | null;
3636
+ updated_at: string;
3637
+ vat_number: string | null;
3638
+ website: string | null;
3639
+ };
3640
+ Insert: {
3641
+ account_key?: string;
3642
+ address_line1?: string | null;
3643
+ chamber_of_commerce?: string | null;
3644
+ city?: string | null;
3645
+ code?: string | null;
3646
+ country?: string | null;
3647
+ created_at?: string;
3648
+ currency?: string | null;
3649
+ division_code?: number | null;
3650
+ email?: string | null;
3651
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3652
+ exact_id: string;
3653
+ exact_modified?: string | null;
3654
+ exact_timestamp?: number | null;
3655
+ id?: string;
3656
+ is_active?: boolean;
3657
+ name?: string | null;
3658
+ phone?: string | null;
3659
+ postcode?: string | null;
3660
+ raw?: import("../integrations/supabase/types").Json | null;
3661
+ status?: string | null;
3662
+ updated_at?: string;
3663
+ vat_number?: string | null;
3664
+ website?: string | null;
3665
+ };
3666
+ Update: {
3667
+ account_key?: string;
3668
+ address_line1?: string | null;
3669
+ chamber_of_commerce?: string | null;
3670
+ city?: string | null;
3671
+ code?: string | null;
3672
+ country?: string | null;
3673
+ created_at?: string;
3674
+ currency?: string | null;
3675
+ division_code?: number | null;
3676
+ email?: string | null;
3677
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3678
+ exact_id?: string;
3679
+ exact_modified?: string | null;
3680
+ exact_timestamp?: number | null;
3681
+ id?: string;
3682
+ is_active?: boolean;
3683
+ name?: string | null;
3684
+ phone?: string | null;
3685
+ postcode?: string | null;
3686
+ raw?: import("../integrations/supabase/types").Json | null;
3687
+ status?: string | null;
3688
+ updated_at?: string;
3689
+ vat_number?: string | null;
3690
+ website?: string | null;
3691
+ };
3692
+ Relationships: [];
3693
+ };
3694
+ exact_auth_divisions: {
3695
+ Row: {
3696
+ account_key: string;
3697
+ company_name: string | null;
3698
+ created_at: string;
3699
+ division_code: number | null;
3700
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3701
+ id: string;
3702
+ last_synced_at: string | null;
3703
+ updated_at: string;
3704
+ };
3705
+ Insert: {
3706
+ account_key?: string;
3707
+ company_name?: string | null;
3708
+ created_at?: string;
3709
+ division_code?: number | null;
3710
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3711
+ id?: string;
3712
+ last_synced_at?: string | null;
3713
+ updated_at?: string;
3714
+ };
3715
+ Update: {
3716
+ account_key?: string;
3717
+ company_name?: string | null;
3718
+ created_at?: string;
3719
+ division_code?: number | null;
3720
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3721
+ id?: string;
3722
+ last_synced_at?: string | null;
3723
+ updated_at?: string;
3724
+ };
3725
+ Relationships: [];
3726
+ };
3727
+ exact_auth_invoice_lines: {
3728
+ Row: {
3729
+ account_key: string;
3730
+ amount_excl: number | null;
3731
+ created_at: string;
3732
+ description: string | null;
3733
+ discount: number | null;
3734
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3735
+ exact_id: string;
3736
+ exact_timestamp: number | null;
3737
+ id: string;
3738
+ invoice_exact_id: string;
3739
+ item_code: string | null;
3740
+ item_exact_id: string | null;
3741
+ line_number: number | null;
3742
+ quantity: number | null;
3743
+ raw: import("../integrations/supabase/types").Json | null;
3744
+ unit_price: number | null;
3745
+ updated_at: string;
3746
+ vat_amount: number | null;
3747
+ vat_code: string | null;
3748
+ };
3749
+ Insert: {
3750
+ account_key?: string;
3751
+ amount_excl?: number | null;
3752
+ created_at?: string;
3753
+ description?: string | null;
3754
+ discount?: number | null;
3755
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3756
+ exact_id: string;
3757
+ exact_timestamp?: number | null;
3758
+ id?: string;
3759
+ invoice_exact_id: string;
3760
+ item_code?: string | null;
3761
+ item_exact_id?: string | null;
3762
+ line_number?: number | null;
3763
+ quantity?: number | null;
3764
+ raw?: import("../integrations/supabase/types").Json | null;
3765
+ unit_price?: number | null;
3766
+ updated_at?: string;
3767
+ vat_amount?: number | null;
3768
+ vat_code?: string | null;
3769
+ };
3770
+ Update: {
3771
+ account_key?: string;
3772
+ amount_excl?: number | null;
3773
+ created_at?: string;
3774
+ description?: string | null;
3775
+ discount?: number | null;
3776
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3777
+ exact_id?: string;
3778
+ exact_timestamp?: number | null;
3779
+ id?: string;
3780
+ invoice_exact_id?: string;
3781
+ item_code?: string | null;
3782
+ item_exact_id?: string | null;
3783
+ line_number?: number | null;
3784
+ quantity?: number | null;
3785
+ raw?: import("../integrations/supabase/types").Json | null;
3786
+ unit_price?: number | null;
3787
+ updated_at?: string;
3788
+ vat_amount?: number | null;
3789
+ vat_code?: string | null;
3790
+ };
3791
+ Relationships: [];
3792
+ };
3793
+ exact_auth_invoices: {
3794
+ Row: {
3795
+ account_key: string;
3796
+ amount_excl: number | null;
3797
+ amount_incl: number | null;
3798
+ amount_open: number | null;
3799
+ created_at: string;
3800
+ currency: string | null;
3801
+ customer_code: string | null;
3802
+ customer_exact_id: string | null;
3803
+ customer_name: string | null;
3804
+ description: string | null;
3805
+ division_code: number | null;
3806
+ due_date: string | null;
3807
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3808
+ exact_id: string;
3809
+ exact_modified: string | null;
3810
+ exact_timestamp: number | null;
3811
+ id: string;
3812
+ invoice_date: string | null;
3813
+ invoice_number: string | null;
3814
+ order_number: string | null;
3815
+ paid_at: string | null;
3816
+ payment_status: string;
3817
+ raw: import("../integrations/supabase/types").Json | null;
3818
+ receivable_synced_at: string | null;
3819
+ status_code: number | null;
3820
+ updated_at: string;
3821
+ };
3822
+ Insert: {
3823
+ account_key?: string;
3824
+ amount_excl?: number | null;
3825
+ amount_incl?: number | null;
3826
+ amount_open?: number | null;
3827
+ created_at?: string;
3828
+ currency?: string | null;
3829
+ customer_code?: string | null;
3830
+ customer_exact_id?: string | null;
3831
+ customer_name?: string | null;
3832
+ description?: string | null;
3833
+ division_code?: number | null;
3834
+ due_date?: string | null;
3835
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3836
+ exact_id: string;
3837
+ exact_modified?: string | null;
3838
+ exact_timestamp?: number | null;
3839
+ id?: string;
3840
+ invoice_date?: string | null;
3841
+ invoice_number?: string | null;
3842
+ order_number?: string | null;
3843
+ paid_at?: string | null;
3844
+ payment_status?: string;
3845
+ raw?: import("../integrations/supabase/types").Json | null;
3846
+ receivable_synced_at?: string | null;
3847
+ status_code?: number | null;
3848
+ updated_at?: string;
3849
+ };
3850
+ Update: {
3851
+ account_key?: string;
3852
+ amount_excl?: number | null;
3853
+ amount_incl?: number | null;
3854
+ amount_open?: number | null;
3855
+ created_at?: string;
3856
+ currency?: string | null;
3857
+ customer_code?: string | null;
3858
+ customer_exact_id?: string | null;
3859
+ customer_name?: string | null;
3860
+ description?: string | null;
3861
+ division_code?: number | null;
3862
+ due_date?: string | null;
3863
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3864
+ exact_id?: string;
3865
+ exact_modified?: string | null;
3866
+ exact_timestamp?: number | null;
3867
+ id?: string;
3868
+ invoice_date?: string | null;
3869
+ invoice_number?: string | null;
3870
+ order_number?: string | null;
3871
+ paid_at?: string | null;
3872
+ payment_status?: string;
3873
+ raw?: import("../integrations/supabase/types").Json | null;
3874
+ receivable_synced_at?: string | null;
3875
+ status_code?: number | null;
3876
+ updated_at?: string;
3877
+ };
3878
+ Relationships: [];
3879
+ };
3880
+ exact_auth_items: {
3881
+ Row: {
3882
+ account_key: string;
3883
+ barcode: string | null;
3884
+ code: string | null;
3885
+ cost_price: number | null;
3886
+ created_at: string;
3887
+ description: string | null;
3888
+ division_code: number | null;
3889
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3890
+ exact_id: string;
3891
+ exact_modified: string | null;
3892
+ exact_timestamp: number | null;
3893
+ gl_account_code: string | null;
3894
+ id: string;
3895
+ is_active: boolean;
3896
+ is_sales_item: boolean | null;
3897
+ item_type: string | null;
3898
+ raw: import("../integrations/supabase/types").Json | null;
3899
+ sales_price: number | null;
3900
+ unit: string | null;
3901
+ updated_at: string;
3902
+ vat_code: string | null;
3903
+ };
3904
+ Insert: {
3905
+ account_key?: string;
3906
+ barcode?: string | null;
3907
+ code?: string | null;
3908
+ cost_price?: number | null;
3909
+ created_at?: string;
3910
+ description?: string | null;
3911
+ division_code?: number | null;
3912
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3913
+ exact_id: string;
3914
+ exact_modified?: string | null;
3915
+ exact_timestamp?: number | null;
3916
+ gl_account_code?: string | null;
3917
+ id?: string;
3918
+ is_active?: boolean;
3919
+ is_sales_item?: boolean | null;
3920
+ item_type?: string | null;
3921
+ raw?: import("../integrations/supabase/types").Json | null;
3922
+ sales_price?: number | null;
3923
+ unit?: string | null;
3924
+ updated_at?: string;
3925
+ vat_code?: string | null;
3926
+ };
3927
+ Update: {
3928
+ account_key?: string;
3929
+ barcode?: string | null;
3930
+ code?: string | null;
3931
+ cost_price?: number | null;
3932
+ created_at?: string;
3933
+ description?: string | null;
3934
+ division_code?: number | null;
3935
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3936
+ exact_id?: string;
3937
+ exact_modified?: string | null;
3938
+ exact_timestamp?: number | null;
3939
+ gl_account_code?: string | null;
3940
+ id?: string;
3941
+ is_active?: boolean;
3942
+ is_sales_item?: boolean | null;
3943
+ item_type?: string | null;
3944
+ raw?: import("../integrations/supabase/types").Json | null;
3945
+ sales_price?: number | null;
3946
+ unit?: string | null;
3947
+ updated_at?: string;
3948
+ vat_code?: string | null;
3949
+ };
3950
+ Relationships: [];
3951
+ };
3952
+ exact_auth_sync_log: {
3953
+ Row: {
3954
+ account_key: string;
3955
+ calls_used: number;
3956
+ created_at: string;
3957
+ domain: string;
3958
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3959
+ error: string | null;
3960
+ finished_at: string | null;
3961
+ id: string;
3962
+ ok: boolean;
3963
+ records: number;
3964
+ started_at: string;
3965
+ };
3966
+ Insert: {
3967
+ account_key?: string;
3968
+ calls_used?: number;
3969
+ created_at?: string;
3970
+ domain: string;
3971
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3972
+ error?: string | null;
3973
+ finished_at?: string | null;
3974
+ id?: string;
3975
+ ok?: boolean;
3976
+ records?: number;
3977
+ started_at?: string;
3978
+ };
3979
+ Update: {
3980
+ account_key?: string;
3981
+ calls_used?: number;
3982
+ created_at?: string;
3983
+ domain?: string;
3984
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3985
+ error?: string | null;
3986
+ finished_at?: string | null;
3987
+ id?: string;
3988
+ ok?: boolean;
3989
+ records?: number;
3990
+ started_at?: string;
3991
+ };
3992
+ Relationships: [];
3993
+ };
3994
+ exact_auth_sync_state: {
3995
+ Row: {
3996
+ account_key: string;
3997
+ created_at: string;
3998
+ cursor_timestamp: number;
3999
+ division_code: number | null;
4000
+ domain: string;
4001
+ duration_ms: number | null;
4002
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4003
+ initial_sync_done: boolean;
4004
+ last_error: string | null;
4005
+ last_run_at: string | null;
4006
+ last_success_at: string | null;
4007
+ locked_at: string | null;
4008
+ needs_initial_sync: boolean;
4009
+ record_count: number;
4010
+ updated_at: string;
4011
+ };
4012
+ Insert: {
4013
+ account_key?: string;
4014
+ created_at?: string;
4015
+ cursor_timestamp?: number;
4016
+ division_code?: number | null;
4017
+ domain: string;
4018
+ duration_ms?: number | null;
4019
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4020
+ initial_sync_done?: boolean;
4021
+ last_error?: string | null;
4022
+ last_run_at?: string | null;
4023
+ last_success_at?: string | null;
4024
+ locked_at?: string | null;
4025
+ needs_initial_sync?: boolean;
4026
+ record_count?: number;
4027
+ updated_at?: string;
4028
+ };
4029
+ Update: {
4030
+ account_key?: string;
4031
+ created_at?: string;
4032
+ cursor_timestamp?: number;
4033
+ division_code?: number | null;
4034
+ domain?: string;
4035
+ duration_ms?: number | null;
4036
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4037
+ initial_sync_done?: boolean;
4038
+ last_error?: string | null;
4039
+ last_run_at?: string | null;
4040
+ last_success_at?: string | null;
4041
+ locked_at?: string | null;
4042
+ needs_initial_sync?: boolean;
4043
+ record_count?: number;
4044
+ updated_at?: string;
4045
+ };
4046
+ Relationships: [];
4047
+ };
3580
4048
  exact_bulk_operation_items: {
3581
4049
  Row: {
3582
4050
  attempts: number;
@@ -10077,6 +10545,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
10077
10545
  };
10078
10546
  offer_settings: {
10079
10547
  Row: {
10548
+ brand_name: string | null;
10080
10549
  button_color: string;
10081
10550
  created_at: string;
10082
10551
  default_countries: string[];
@@ -10098,6 +10567,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
10098
10567
  updated_at: string;
10099
10568
  };
10100
10569
  Insert: {
10570
+ brand_name?: string | null;
10101
10571
  button_color?: string;
10102
10572
  created_at?: string;
10103
10573
  default_countries?: string[];
@@ -10119,6 +10589,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
10119
10589
  updated_at?: string;
10120
10590
  };
10121
10591
  Update: {
10592
+ brand_name?: string | null;
10122
10593
  button_color?: string;
10123
10594
  created_at?: string;
10124
10595
  default_countries?: string[];
@@ -17969,6 +18440,21 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
17969
18440
  Args: never;
17970
18441
  Returns: string;
17971
18442
  };
18443
+ exact_auth_consume_calls: {
18444
+ Args: {
18445
+ _account_key: string;
18446
+ _calls?: number;
18447
+ _day_limit?: number;
18448
+ _division_code: number;
18449
+ _environment: string;
18450
+ _minute_limit?: number;
18451
+ };
18452
+ Returns: import("../integrations/supabase/types").Json;
18453
+ };
18454
+ exact_auth_prune_sync_log: {
18455
+ Args: never;
18456
+ Returns: undefined;
18457
+ };
17972
18458
  exact_decrypt: {
17973
18459
  Args: {
17974
18460
  cipher: string;
@@ -18178,6 +18664,10 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18178
18664
  };
18179
18665
  Returns: number;
18180
18666
  };
18667
+ get_offer_branding: {
18668
+ Args: never;
18669
+ Returns: import("../integrations/supabase/types").Json;
18670
+ };
18181
18671
  get_offer_by_link_code: {
18182
18672
  Args: {
18183
18673
  p_code: string;
@@ -23398,6 +23888,474 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
23398
23888
  referencedColumns: ["id"];
23399
23889
  }];
23400
23890
  };
23891
+ exact_auth_call_budget: {
23892
+ Row: {
23893
+ account_key: string;
23894
+ day_count: number;
23895
+ day_date: string;
23896
+ division_code: number;
23897
+ environment: string;
23898
+ minute_count: number;
23899
+ minute_window: string;
23900
+ updated_at: string;
23901
+ };
23902
+ Insert: {
23903
+ account_key?: string;
23904
+ day_count?: number;
23905
+ day_date?: string;
23906
+ division_code?: number;
23907
+ environment: string;
23908
+ minute_count?: number;
23909
+ minute_window?: string;
23910
+ updated_at?: string;
23911
+ };
23912
+ Update: {
23913
+ account_key?: string;
23914
+ day_count?: number;
23915
+ day_date?: string;
23916
+ division_code?: number;
23917
+ environment?: string;
23918
+ minute_count?: number;
23919
+ minute_window?: string;
23920
+ updated_at?: string;
23921
+ };
23922
+ Relationships: [];
23923
+ };
23924
+ exact_auth_customers: {
23925
+ Row: {
23926
+ account_key: string;
23927
+ address_line1: string | null;
23928
+ chamber_of_commerce: string | null;
23929
+ city: string | null;
23930
+ code: string | null;
23931
+ country: string | null;
23932
+ created_at: string;
23933
+ currency: string | null;
23934
+ division_code: number | null;
23935
+ email: string | null;
23936
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23937
+ exact_id: string;
23938
+ exact_modified: string | null;
23939
+ exact_timestamp: number | null;
23940
+ id: string;
23941
+ is_active: boolean;
23942
+ name: string | null;
23943
+ phone: string | null;
23944
+ postcode: string | null;
23945
+ raw: import("../integrations/supabase/types").Json | null;
23946
+ status: string | null;
23947
+ updated_at: string;
23948
+ vat_number: string | null;
23949
+ website: string | null;
23950
+ };
23951
+ Insert: {
23952
+ account_key?: string;
23953
+ address_line1?: string | null;
23954
+ chamber_of_commerce?: string | null;
23955
+ city?: string | null;
23956
+ code?: string | null;
23957
+ country?: string | null;
23958
+ created_at?: string;
23959
+ currency?: string | null;
23960
+ division_code?: number | null;
23961
+ email?: string | null;
23962
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23963
+ exact_id: string;
23964
+ exact_modified?: string | null;
23965
+ exact_timestamp?: number | null;
23966
+ id?: string;
23967
+ is_active?: boolean;
23968
+ name?: string | null;
23969
+ phone?: string | null;
23970
+ postcode?: string | null;
23971
+ raw?: import("../integrations/supabase/types").Json | null;
23972
+ status?: string | null;
23973
+ updated_at?: string;
23974
+ vat_number?: string | null;
23975
+ website?: string | null;
23976
+ };
23977
+ Update: {
23978
+ account_key?: string;
23979
+ address_line1?: string | null;
23980
+ chamber_of_commerce?: string | null;
23981
+ city?: string | null;
23982
+ code?: string | null;
23983
+ country?: string | null;
23984
+ created_at?: string;
23985
+ currency?: string | null;
23986
+ division_code?: number | null;
23987
+ email?: string | null;
23988
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23989
+ exact_id?: string;
23990
+ exact_modified?: string | null;
23991
+ exact_timestamp?: number | null;
23992
+ id?: string;
23993
+ is_active?: boolean;
23994
+ name?: string | null;
23995
+ phone?: string | null;
23996
+ postcode?: string | null;
23997
+ raw?: import("../integrations/supabase/types").Json | null;
23998
+ status?: string | null;
23999
+ updated_at?: string;
24000
+ vat_number?: string | null;
24001
+ website?: string | null;
24002
+ };
24003
+ Relationships: [];
24004
+ };
24005
+ exact_auth_divisions: {
24006
+ Row: {
24007
+ account_key: string;
24008
+ company_name: string | null;
24009
+ created_at: string;
24010
+ division_code: number | null;
24011
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24012
+ id: string;
24013
+ last_synced_at: string | null;
24014
+ updated_at: string;
24015
+ };
24016
+ Insert: {
24017
+ account_key?: string;
24018
+ company_name?: string | null;
24019
+ created_at?: string;
24020
+ division_code?: number | null;
24021
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24022
+ id?: string;
24023
+ last_synced_at?: string | null;
24024
+ updated_at?: string;
24025
+ };
24026
+ Update: {
24027
+ account_key?: string;
24028
+ company_name?: string | null;
24029
+ created_at?: string;
24030
+ division_code?: number | null;
24031
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24032
+ id?: string;
24033
+ last_synced_at?: string | null;
24034
+ updated_at?: string;
24035
+ };
24036
+ Relationships: [];
24037
+ };
24038
+ exact_auth_invoice_lines: {
24039
+ Row: {
24040
+ account_key: string;
24041
+ amount_excl: number | null;
24042
+ created_at: string;
24043
+ description: string | null;
24044
+ discount: number | null;
24045
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24046
+ exact_id: string;
24047
+ exact_timestamp: number | null;
24048
+ id: string;
24049
+ invoice_exact_id: string;
24050
+ item_code: string | null;
24051
+ item_exact_id: string | null;
24052
+ line_number: number | null;
24053
+ quantity: number | null;
24054
+ raw: import("../integrations/supabase/types").Json | null;
24055
+ unit_price: number | null;
24056
+ updated_at: string;
24057
+ vat_amount: number | null;
24058
+ vat_code: string | null;
24059
+ };
24060
+ Insert: {
24061
+ account_key?: string;
24062
+ amount_excl?: number | null;
24063
+ created_at?: string;
24064
+ description?: string | null;
24065
+ discount?: number | null;
24066
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24067
+ exact_id: string;
24068
+ exact_timestamp?: number | null;
24069
+ id?: string;
24070
+ invoice_exact_id: string;
24071
+ item_code?: string | null;
24072
+ item_exact_id?: string | null;
24073
+ line_number?: number | null;
24074
+ quantity?: number | null;
24075
+ raw?: import("../integrations/supabase/types").Json | null;
24076
+ unit_price?: number | null;
24077
+ updated_at?: string;
24078
+ vat_amount?: number | null;
24079
+ vat_code?: string | null;
24080
+ };
24081
+ Update: {
24082
+ account_key?: string;
24083
+ amount_excl?: number | null;
24084
+ created_at?: string;
24085
+ description?: string | null;
24086
+ discount?: number | null;
24087
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24088
+ exact_id?: string;
24089
+ exact_timestamp?: number | null;
24090
+ id?: string;
24091
+ invoice_exact_id?: string;
24092
+ item_code?: string | null;
24093
+ item_exact_id?: string | null;
24094
+ line_number?: number | null;
24095
+ quantity?: number | null;
24096
+ raw?: import("../integrations/supabase/types").Json | null;
24097
+ unit_price?: number | null;
24098
+ updated_at?: string;
24099
+ vat_amount?: number | null;
24100
+ vat_code?: string | null;
24101
+ };
24102
+ Relationships: [];
24103
+ };
24104
+ exact_auth_invoices: {
24105
+ Row: {
24106
+ account_key: string;
24107
+ amount_excl: number | null;
24108
+ amount_incl: number | null;
24109
+ amount_open: number | null;
24110
+ created_at: string;
24111
+ currency: string | null;
24112
+ customer_code: string | null;
24113
+ customer_exact_id: string | null;
24114
+ customer_name: string | null;
24115
+ description: string | null;
24116
+ division_code: number | null;
24117
+ due_date: string | null;
24118
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24119
+ exact_id: string;
24120
+ exact_modified: string | null;
24121
+ exact_timestamp: number | null;
24122
+ id: string;
24123
+ invoice_date: string | null;
24124
+ invoice_number: string | null;
24125
+ order_number: string | null;
24126
+ paid_at: string | null;
24127
+ payment_status: string;
24128
+ raw: import("../integrations/supabase/types").Json | null;
24129
+ receivable_synced_at: string | null;
24130
+ status_code: number | null;
24131
+ updated_at: string;
24132
+ };
24133
+ Insert: {
24134
+ account_key?: string;
24135
+ amount_excl?: number | null;
24136
+ amount_incl?: number | null;
24137
+ amount_open?: number | null;
24138
+ created_at?: string;
24139
+ currency?: string | null;
24140
+ customer_code?: string | null;
24141
+ customer_exact_id?: string | null;
24142
+ customer_name?: string | null;
24143
+ description?: string | null;
24144
+ division_code?: number | null;
24145
+ due_date?: string | null;
24146
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24147
+ exact_id: string;
24148
+ exact_modified?: string | null;
24149
+ exact_timestamp?: number | null;
24150
+ id?: string;
24151
+ invoice_date?: string | null;
24152
+ invoice_number?: string | null;
24153
+ order_number?: string | null;
24154
+ paid_at?: string | null;
24155
+ payment_status?: string;
24156
+ raw?: import("../integrations/supabase/types").Json | null;
24157
+ receivable_synced_at?: string | null;
24158
+ status_code?: number | null;
24159
+ updated_at?: string;
24160
+ };
24161
+ Update: {
24162
+ account_key?: string;
24163
+ amount_excl?: number | null;
24164
+ amount_incl?: number | null;
24165
+ amount_open?: number | null;
24166
+ created_at?: string;
24167
+ currency?: string | null;
24168
+ customer_code?: string | null;
24169
+ customer_exact_id?: string | null;
24170
+ customer_name?: string | null;
24171
+ description?: string | null;
24172
+ division_code?: number | null;
24173
+ due_date?: string | null;
24174
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24175
+ exact_id?: string;
24176
+ exact_modified?: string | null;
24177
+ exact_timestamp?: number | null;
24178
+ id?: string;
24179
+ invoice_date?: string | null;
24180
+ invoice_number?: string | null;
24181
+ order_number?: string | null;
24182
+ paid_at?: string | null;
24183
+ payment_status?: string;
24184
+ raw?: import("../integrations/supabase/types").Json | null;
24185
+ receivable_synced_at?: string | null;
24186
+ status_code?: number | null;
24187
+ updated_at?: string;
24188
+ };
24189
+ Relationships: [];
24190
+ };
24191
+ exact_auth_items: {
24192
+ Row: {
24193
+ account_key: string;
24194
+ barcode: string | null;
24195
+ code: string | null;
24196
+ cost_price: number | null;
24197
+ created_at: string;
24198
+ description: string | null;
24199
+ division_code: number | null;
24200
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24201
+ exact_id: string;
24202
+ exact_modified: string | null;
24203
+ exact_timestamp: number | null;
24204
+ gl_account_code: string | null;
24205
+ id: string;
24206
+ is_active: boolean;
24207
+ is_sales_item: boolean | null;
24208
+ item_type: string | null;
24209
+ raw: import("../integrations/supabase/types").Json | null;
24210
+ sales_price: number | null;
24211
+ unit: string | null;
24212
+ updated_at: string;
24213
+ vat_code: string | null;
24214
+ };
24215
+ Insert: {
24216
+ account_key?: string;
24217
+ barcode?: string | null;
24218
+ code?: string | null;
24219
+ cost_price?: number | null;
24220
+ created_at?: string;
24221
+ description?: string | null;
24222
+ division_code?: number | null;
24223
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24224
+ exact_id: string;
24225
+ exact_modified?: string | null;
24226
+ exact_timestamp?: number | null;
24227
+ gl_account_code?: string | null;
24228
+ id?: string;
24229
+ is_active?: boolean;
24230
+ is_sales_item?: boolean | null;
24231
+ item_type?: string | null;
24232
+ raw?: import("../integrations/supabase/types").Json | null;
24233
+ sales_price?: number | null;
24234
+ unit?: string | null;
24235
+ updated_at?: string;
24236
+ vat_code?: string | null;
24237
+ };
24238
+ Update: {
24239
+ account_key?: string;
24240
+ barcode?: string | null;
24241
+ code?: string | null;
24242
+ cost_price?: number | null;
24243
+ created_at?: string;
24244
+ description?: string | null;
24245
+ division_code?: number | null;
24246
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24247
+ exact_id?: string;
24248
+ exact_modified?: string | null;
24249
+ exact_timestamp?: number | null;
24250
+ gl_account_code?: string | null;
24251
+ id?: string;
24252
+ is_active?: boolean;
24253
+ is_sales_item?: boolean | null;
24254
+ item_type?: string | null;
24255
+ raw?: import("../integrations/supabase/types").Json | null;
24256
+ sales_price?: number | null;
24257
+ unit?: string | null;
24258
+ updated_at?: string;
24259
+ vat_code?: string | null;
24260
+ };
24261
+ Relationships: [];
24262
+ };
24263
+ exact_auth_sync_log: {
24264
+ Row: {
24265
+ account_key: string;
24266
+ calls_used: number;
24267
+ created_at: string;
24268
+ domain: string;
24269
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24270
+ error: string | null;
24271
+ finished_at: string | null;
24272
+ id: string;
24273
+ ok: boolean;
24274
+ records: number;
24275
+ started_at: string;
24276
+ };
24277
+ Insert: {
24278
+ account_key?: string;
24279
+ calls_used?: number;
24280
+ created_at?: string;
24281
+ domain: string;
24282
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24283
+ error?: string | null;
24284
+ finished_at?: string | null;
24285
+ id?: string;
24286
+ ok?: boolean;
24287
+ records?: number;
24288
+ started_at?: string;
24289
+ };
24290
+ Update: {
24291
+ account_key?: string;
24292
+ calls_used?: number;
24293
+ created_at?: string;
24294
+ domain?: string;
24295
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24296
+ error?: string | null;
24297
+ finished_at?: string | null;
24298
+ id?: string;
24299
+ ok?: boolean;
24300
+ records?: number;
24301
+ started_at?: string;
24302
+ };
24303
+ Relationships: [];
24304
+ };
24305
+ exact_auth_sync_state: {
24306
+ Row: {
24307
+ account_key: string;
24308
+ created_at: string;
24309
+ cursor_timestamp: number;
24310
+ division_code: number | null;
24311
+ domain: string;
24312
+ duration_ms: number | null;
24313
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24314
+ initial_sync_done: boolean;
24315
+ last_error: string | null;
24316
+ last_run_at: string | null;
24317
+ last_success_at: string | null;
24318
+ locked_at: string | null;
24319
+ needs_initial_sync: boolean;
24320
+ record_count: number;
24321
+ updated_at: string;
24322
+ };
24323
+ Insert: {
24324
+ account_key?: string;
24325
+ created_at?: string;
24326
+ cursor_timestamp?: number;
24327
+ division_code?: number | null;
24328
+ domain: string;
24329
+ duration_ms?: number | null;
24330
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24331
+ initial_sync_done?: boolean;
24332
+ last_error?: string | null;
24333
+ last_run_at?: string | null;
24334
+ last_success_at?: string | null;
24335
+ locked_at?: string | null;
24336
+ needs_initial_sync?: boolean;
24337
+ record_count?: number;
24338
+ updated_at?: string;
24339
+ };
24340
+ Update: {
24341
+ account_key?: string;
24342
+ created_at?: string;
24343
+ cursor_timestamp?: number;
24344
+ division_code?: number | null;
24345
+ domain?: string;
24346
+ duration_ms?: number | null;
24347
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24348
+ initial_sync_done?: boolean;
24349
+ last_error?: string | null;
24350
+ last_run_at?: string | null;
24351
+ last_success_at?: string | null;
24352
+ locked_at?: string | null;
24353
+ needs_initial_sync?: boolean;
24354
+ record_count?: number;
24355
+ updated_at?: string;
24356
+ };
24357
+ Relationships: [];
24358
+ };
23401
24359
  exact_bulk_operation_items: {
23402
24360
  Row: {
23403
24361
  attempts: number;
@@ -29898,6 +30856,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
29898
30856
  };
29899
30857
  offer_settings: {
29900
30858
  Row: {
30859
+ brand_name: string | null;
29901
30860
  button_color: string;
29902
30861
  created_at: string;
29903
30862
  default_countries: string[];
@@ -29919,6 +30878,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
29919
30878
  updated_at: string;
29920
30879
  };
29921
30880
  Insert: {
30881
+ brand_name?: string | null;
29922
30882
  button_color?: string;
29923
30883
  created_at?: string;
29924
30884
  default_countries?: string[];
@@ -29940,6 +30900,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
29940
30900
  updated_at?: string;
29941
30901
  };
29942
30902
  Update: {
30903
+ brand_name?: string | null;
29943
30904
  button_color?: string;
29944
30905
  created_at?: string;
29945
30906
  default_countries?: string[];
@@ -37790,6 +38751,21 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
37790
38751
  Args: never;
37791
38752
  Returns: string;
37792
38753
  };
38754
+ exact_auth_consume_calls: {
38755
+ Args: {
38756
+ _account_key: string;
38757
+ _calls?: number;
38758
+ _day_limit?: number;
38759
+ _division_code: number;
38760
+ _environment: string;
38761
+ _minute_limit?: number;
38762
+ };
38763
+ Returns: import("../integrations/supabase/types").Json;
38764
+ };
38765
+ exact_auth_prune_sync_log: {
38766
+ Args: never;
38767
+ Returns: undefined;
38768
+ };
37793
38769
  exact_decrypt: {
37794
38770
  Args: {
37795
38771
  cipher: string;
@@ -37999,6 +38975,10 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
37999
38975
  };
38000
38976
  Returns: number;
38001
38977
  };
38978
+ get_offer_branding: {
38979
+ Args: never;
38980
+ Returns: import("../integrations/supabase/types").Json;
38981
+ };
38002
38982
  get_offer_by_link_code: {
38003
38983
  Args: {
38004
38984
  p_code: string;
@@ -43245,6 +44225,474 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
43245
44225
  referencedColumns: ["id"];
43246
44226
  }];
43247
44227
  };
44228
+ exact_auth_call_budget: {
44229
+ Row: {
44230
+ account_key: string;
44231
+ day_count: number;
44232
+ day_date: string;
44233
+ division_code: number;
44234
+ environment: string;
44235
+ minute_count: number;
44236
+ minute_window: string;
44237
+ updated_at: string;
44238
+ };
44239
+ Insert: {
44240
+ account_key?: string;
44241
+ day_count?: number;
44242
+ day_date?: string;
44243
+ division_code?: number;
44244
+ environment: string;
44245
+ minute_count?: number;
44246
+ minute_window?: string;
44247
+ updated_at?: string;
44248
+ };
44249
+ Update: {
44250
+ account_key?: string;
44251
+ day_count?: number;
44252
+ day_date?: string;
44253
+ division_code?: number;
44254
+ environment?: string;
44255
+ minute_count?: number;
44256
+ minute_window?: string;
44257
+ updated_at?: string;
44258
+ };
44259
+ Relationships: [];
44260
+ };
44261
+ exact_auth_customers: {
44262
+ Row: {
44263
+ account_key: string;
44264
+ address_line1: string | null;
44265
+ chamber_of_commerce: string | null;
44266
+ city: string | null;
44267
+ code: string | null;
44268
+ country: string | null;
44269
+ created_at: string;
44270
+ currency: string | null;
44271
+ division_code: number | null;
44272
+ email: string | null;
44273
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44274
+ exact_id: string;
44275
+ exact_modified: string | null;
44276
+ exact_timestamp: number | null;
44277
+ id: string;
44278
+ is_active: boolean;
44279
+ name: string | null;
44280
+ phone: string | null;
44281
+ postcode: string | null;
44282
+ raw: import("../integrations/supabase/types").Json | null;
44283
+ status: string | null;
44284
+ updated_at: string;
44285
+ vat_number: string | null;
44286
+ website: string | null;
44287
+ };
44288
+ Insert: {
44289
+ account_key?: string;
44290
+ address_line1?: string | null;
44291
+ chamber_of_commerce?: string | null;
44292
+ city?: string | null;
44293
+ code?: string | null;
44294
+ country?: string | null;
44295
+ created_at?: string;
44296
+ currency?: string | null;
44297
+ division_code?: number | null;
44298
+ email?: string | null;
44299
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44300
+ exact_id: string;
44301
+ exact_modified?: string | null;
44302
+ exact_timestamp?: number | null;
44303
+ id?: string;
44304
+ is_active?: boolean;
44305
+ name?: string | null;
44306
+ phone?: string | null;
44307
+ postcode?: string | null;
44308
+ raw?: import("../integrations/supabase/types").Json | null;
44309
+ status?: string | null;
44310
+ updated_at?: string;
44311
+ vat_number?: string | null;
44312
+ website?: string | null;
44313
+ };
44314
+ Update: {
44315
+ account_key?: string;
44316
+ address_line1?: string | null;
44317
+ chamber_of_commerce?: string | null;
44318
+ city?: string | null;
44319
+ code?: string | null;
44320
+ country?: string | null;
44321
+ created_at?: string;
44322
+ currency?: string | null;
44323
+ division_code?: number | null;
44324
+ email?: string | null;
44325
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44326
+ exact_id?: string;
44327
+ exact_modified?: string | null;
44328
+ exact_timestamp?: number | null;
44329
+ id?: string;
44330
+ is_active?: boolean;
44331
+ name?: string | null;
44332
+ phone?: string | null;
44333
+ postcode?: string | null;
44334
+ raw?: import("../integrations/supabase/types").Json | null;
44335
+ status?: string | null;
44336
+ updated_at?: string;
44337
+ vat_number?: string | null;
44338
+ website?: string | null;
44339
+ };
44340
+ Relationships: [];
44341
+ };
44342
+ exact_auth_divisions: {
44343
+ Row: {
44344
+ account_key: string;
44345
+ company_name: string | null;
44346
+ created_at: string;
44347
+ division_code: number | null;
44348
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44349
+ id: string;
44350
+ last_synced_at: string | null;
44351
+ updated_at: string;
44352
+ };
44353
+ Insert: {
44354
+ account_key?: string;
44355
+ company_name?: string | null;
44356
+ created_at?: string;
44357
+ division_code?: number | null;
44358
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44359
+ id?: string;
44360
+ last_synced_at?: string | null;
44361
+ updated_at?: string;
44362
+ };
44363
+ Update: {
44364
+ account_key?: string;
44365
+ company_name?: string | null;
44366
+ created_at?: string;
44367
+ division_code?: number | null;
44368
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44369
+ id?: string;
44370
+ last_synced_at?: string | null;
44371
+ updated_at?: string;
44372
+ };
44373
+ Relationships: [];
44374
+ };
44375
+ exact_auth_invoice_lines: {
44376
+ Row: {
44377
+ account_key: string;
44378
+ amount_excl: number | null;
44379
+ created_at: string;
44380
+ description: string | null;
44381
+ discount: number | null;
44382
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44383
+ exact_id: string;
44384
+ exact_timestamp: number | null;
44385
+ id: string;
44386
+ invoice_exact_id: string;
44387
+ item_code: string | null;
44388
+ item_exact_id: string | null;
44389
+ line_number: number | null;
44390
+ quantity: number | null;
44391
+ raw: import("../integrations/supabase/types").Json | null;
44392
+ unit_price: number | null;
44393
+ updated_at: string;
44394
+ vat_amount: number | null;
44395
+ vat_code: string | null;
44396
+ };
44397
+ Insert: {
44398
+ account_key?: string;
44399
+ amount_excl?: number | null;
44400
+ created_at?: string;
44401
+ description?: string | null;
44402
+ discount?: number | null;
44403
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44404
+ exact_id: string;
44405
+ exact_timestamp?: number | null;
44406
+ id?: string;
44407
+ invoice_exact_id: string;
44408
+ item_code?: string | null;
44409
+ item_exact_id?: string | null;
44410
+ line_number?: number | null;
44411
+ quantity?: number | null;
44412
+ raw?: import("../integrations/supabase/types").Json | null;
44413
+ unit_price?: number | null;
44414
+ updated_at?: string;
44415
+ vat_amount?: number | null;
44416
+ vat_code?: string | null;
44417
+ };
44418
+ Update: {
44419
+ account_key?: string;
44420
+ amount_excl?: number | null;
44421
+ created_at?: string;
44422
+ description?: string | null;
44423
+ discount?: number | null;
44424
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44425
+ exact_id?: string;
44426
+ exact_timestamp?: number | null;
44427
+ id?: string;
44428
+ invoice_exact_id?: string;
44429
+ item_code?: string | null;
44430
+ item_exact_id?: string | null;
44431
+ line_number?: number | null;
44432
+ quantity?: number | null;
44433
+ raw?: import("../integrations/supabase/types").Json | null;
44434
+ unit_price?: number | null;
44435
+ updated_at?: string;
44436
+ vat_amount?: number | null;
44437
+ vat_code?: string | null;
44438
+ };
44439
+ Relationships: [];
44440
+ };
44441
+ exact_auth_invoices: {
44442
+ Row: {
44443
+ account_key: string;
44444
+ amount_excl: number | null;
44445
+ amount_incl: number | null;
44446
+ amount_open: number | null;
44447
+ created_at: string;
44448
+ currency: string | null;
44449
+ customer_code: string | null;
44450
+ customer_exact_id: string | null;
44451
+ customer_name: string | null;
44452
+ description: string | null;
44453
+ division_code: number | null;
44454
+ due_date: string | null;
44455
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44456
+ exact_id: string;
44457
+ exact_modified: string | null;
44458
+ exact_timestamp: number | null;
44459
+ id: string;
44460
+ invoice_date: string | null;
44461
+ invoice_number: string | null;
44462
+ order_number: string | null;
44463
+ paid_at: string | null;
44464
+ payment_status: string;
44465
+ raw: import("../integrations/supabase/types").Json | null;
44466
+ receivable_synced_at: string | null;
44467
+ status_code: number | null;
44468
+ updated_at: string;
44469
+ };
44470
+ Insert: {
44471
+ account_key?: string;
44472
+ amount_excl?: number | null;
44473
+ amount_incl?: number | null;
44474
+ amount_open?: number | null;
44475
+ created_at?: string;
44476
+ currency?: string | null;
44477
+ customer_code?: string | null;
44478
+ customer_exact_id?: string | null;
44479
+ customer_name?: string | null;
44480
+ description?: string | null;
44481
+ division_code?: number | null;
44482
+ due_date?: string | null;
44483
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44484
+ exact_id: string;
44485
+ exact_modified?: string | null;
44486
+ exact_timestamp?: number | null;
44487
+ id?: string;
44488
+ invoice_date?: string | null;
44489
+ invoice_number?: string | null;
44490
+ order_number?: string | null;
44491
+ paid_at?: string | null;
44492
+ payment_status?: string;
44493
+ raw?: import("../integrations/supabase/types").Json | null;
44494
+ receivable_synced_at?: string | null;
44495
+ status_code?: number | null;
44496
+ updated_at?: string;
44497
+ };
44498
+ Update: {
44499
+ account_key?: string;
44500
+ amount_excl?: number | null;
44501
+ amount_incl?: number | null;
44502
+ amount_open?: number | null;
44503
+ created_at?: string;
44504
+ currency?: string | null;
44505
+ customer_code?: string | null;
44506
+ customer_exact_id?: string | null;
44507
+ customer_name?: string | null;
44508
+ description?: string | null;
44509
+ division_code?: number | null;
44510
+ due_date?: string | null;
44511
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44512
+ exact_id?: string;
44513
+ exact_modified?: string | null;
44514
+ exact_timestamp?: number | null;
44515
+ id?: string;
44516
+ invoice_date?: string | null;
44517
+ invoice_number?: string | null;
44518
+ order_number?: string | null;
44519
+ paid_at?: string | null;
44520
+ payment_status?: string;
44521
+ raw?: import("../integrations/supabase/types").Json | null;
44522
+ receivable_synced_at?: string | null;
44523
+ status_code?: number | null;
44524
+ updated_at?: string;
44525
+ };
44526
+ Relationships: [];
44527
+ };
44528
+ exact_auth_items: {
44529
+ Row: {
44530
+ account_key: string;
44531
+ barcode: string | null;
44532
+ code: string | null;
44533
+ cost_price: number | null;
44534
+ created_at: string;
44535
+ description: string | null;
44536
+ division_code: number | null;
44537
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44538
+ exact_id: string;
44539
+ exact_modified: string | null;
44540
+ exact_timestamp: number | null;
44541
+ gl_account_code: string | null;
44542
+ id: string;
44543
+ is_active: boolean;
44544
+ is_sales_item: boolean | null;
44545
+ item_type: string | null;
44546
+ raw: import("../integrations/supabase/types").Json | null;
44547
+ sales_price: number | null;
44548
+ unit: string | null;
44549
+ updated_at: string;
44550
+ vat_code: string | null;
44551
+ };
44552
+ Insert: {
44553
+ account_key?: string;
44554
+ barcode?: string | null;
44555
+ code?: string | null;
44556
+ cost_price?: number | null;
44557
+ created_at?: string;
44558
+ description?: string | null;
44559
+ division_code?: number | null;
44560
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44561
+ exact_id: string;
44562
+ exact_modified?: string | null;
44563
+ exact_timestamp?: number | null;
44564
+ gl_account_code?: string | null;
44565
+ id?: string;
44566
+ is_active?: boolean;
44567
+ is_sales_item?: boolean | null;
44568
+ item_type?: string | null;
44569
+ raw?: import("../integrations/supabase/types").Json | null;
44570
+ sales_price?: number | null;
44571
+ unit?: string | null;
44572
+ updated_at?: string;
44573
+ vat_code?: string | null;
44574
+ };
44575
+ Update: {
44576
+ account_key?: string;
44577
+ barcode?: string | null;
44578
+ code?: string | null;
44579
+ cost_price?: number | null;
44580
+ created_at?: string;
44581
+ description?: string | null;
44582
+ division_code?: number | null;
44583
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44584
+ exact_id?: string;
44585
+ exact_modified?: string | null;
44586
+ exact_timestamp?: number | null;
44587
+ gl_account_code?: string | null;
44588
+ id?: string;
44589
+ is_active?: boolean;
44590
+ is_sales_item?: boolean | null;
44591
+ item_type?: string | null;
44592
+ raw?: import("../integrations/supabase/types").Json | null;
44593
+ sales_price?: number | null;
44594
+ unit?: string | null;
44595
+ updated_at?: string;
44596
+ vat_code?: string | null;
44597
+ };
44598
+ Relationships: [];
44599
+ };
44600
+ exact_auth_sync_log: {
44601
+ Row: {
44602
+ account_key: string;
44603
+ calls_used: number;
44604
+ created_at: string;
44605
+ domain: string;
44606
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44607
+ error: string | null;
44608
+ finished_at: string | null;
44609
+ id: string;
44610
+ ok: boolean;
44611
+ records: number;
44612
+ started_at: string;
44613
+ };
44614
+ Insert: {
44615
+ account_key?: string;
44616
+ calls_used?: number;
44617
+ created_at?: string;
44618
+ domain: string;
44619
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44620
+ error?: string | null;
44621
+ finished_at?: string | null;
44622
+ id?: string;
44623
+ ok?: boolean;
44624
+ records?: number;
44625
+ started_at?: string;
44626
+ };
44627
+ Update: {
44628
+ account_key?: string;
44629
+ calls_used?: number;
44630
+ created_at?: string;
44631
+ domain?: string;
44632
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44633
+ error?: string | null;
44634
+ finished_at?: string | null;
44635
+ id?: string;
44636
+ ok?: boolean;
44637
+ records?: number;
44638
+ started_at?: string;
44639
+ };
44640
+ Relationships: [];
44641
+ };
44642
+ exact_auth_sync_state: {
44643
+ Row: {
44644
+ account_key: string;
44645
+ created_at: string;
44646
+ cursor_timestamp: number;
44647
+ division_code: number | null;
44648
+ domain: string;
44649
+ duration_ms: number | null;
44650
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44651
+ initial_sync_done: boolean;
44652
+ last_error: string | null;
44653
+ last_run_at: string | null;
44654
+ last_success_at: string | null;
44655
+ locked_at: string | null;
44656
+ needs_initial_sync: boolean;
44657
+ record_count: number;
44658
+ updated_at: string;
44659
+ };
44660
+ Insert: {
44661
+ account_key?: string;
44662
+ created_at?: string;
44663
+ cursor_timestamp?: number;
44664
+ division_code?: number | null;
44665
+ domain: string;
44666
+ duration_ms?: number | null;
44667
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44668
+ initial_sync_done?: boolean;
44669
+ last_error?: string | null;
44670
+ last_run_at?: string | null;
44671
+ last_success_at?: string | null;
44672
+ locked_at?: string | null;
44673
+ needs_initial_sync?: boolean;
44674
+ record_count?: number;
44675
+ updated_at?: string;
44676
+ };
44677
+ Update: {
44678
+ account_key?: string;
44679
+ created_at?: string;
44680
+ cursor_timestamp?: number;
44681
+ division_code?: number | null;
44682
+ domain?: string;
44683
+ duration_ms?: number | null;
44684
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44685
+ initial_sync_done?: boolean;
44686
+ last_error?: string | null;
44687
+ last_run_at?: string | null;
44688
+ last_success_at?: string | null;
44689
+ locked_at?: string | null;
44690
+ needs_initial_sync?: boolean;
44691
+ record_count?: number;
44692
+ updated_at?: string;
44693
+ };
44694
+ Relationships: [];
44695
+ };
43248
44696
  exact_bulk_operation_items: {
43249
44697
  Row: {
43250
44698
  attempts: number;
@@ -49745,6 +51193,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
49745
51193
  };
49746
51194
  offer_settings: {
49747
51195
  Row: {
51196
+ brand_name: string | null;
49748
51197
  button_color: string;
49749
51198
  created_at: string;
49750
51199
  default_countries: string[];
@@ -49766,6 +51215,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
49766
51215
  updated_at: string;
49767
51216
  };
49768
51217
  Insert: {
51218
+ brand_name?: string | null;
49769
51219
  button_color?: string;
49770
51220
  created_at?: string;
49771
51221
  default_countries?: string[];
@@ -49787,6 +51237,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
49787
51237
  updated_at?: string;
49788
51238
  };
49789
51239
  Update: {
51240
+ brand_name?: string | null;
49790
51241
  button_color?: string;
49791
51242
  created_at?: string;
49792
51243
  default_countries?: string[];
@@ -57637,6 +59088,21 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
57637
59088
  Args: never;
57638
59089
  Returns: string;
57639
59090
  };
59091
+ exact_auth_consume_calls: {
59092
+ Args: {
59093
+ _account_key: string;
59094
+ _calls?: number;
59095
+ _day_limit?: number;
59096
+ _division_code: number;
59097
+ _environment: string;
59098
+ _minute_limit?: number;
59099
+ };
59100
+ Returns: import("../integrations/supabase/types").Json;
59101
+ };
59102
+ exact_auth_prune_sync_log: {
59103
+ Args: never;
59104
+ Returns: undefined;
59105
+ };
57640
59106
  exact_decrypt: {
57641
59107
  Args: {
57642
59108
  cipher: string;
@@ -57846,6 +59312,10 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
57846
59312
  };
57847
59313
  Returns: number;
57848
59314
  };
59315
+ get_offer_branding: {
59316
+ Args: never;
59317
+ Returns: import("../integrations/supabase/types").Json;
59318
+ };
57849
59319
  get_offer_by_link_code: {
57850
59320
  Args: {
57851
59321
  p_code: string;
@@ -63099,6 +64569,474 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
63099
64569
  referencedColumns: ["id"];
63100
64570
  }];
63101
64571
  };
64572
+ exact_auth_call_budget: {
64573
+ Row: {
64574
+ account_key: string;
64575
+ day_count: number;
64576
+ day_date: string;
64577
+ division_code: number;
64578
+ environment: string;
64579
+ minute_count: number;
64580
+ minute_window: string;
64581
+ updated_at: string;
64582
+ };
64583
+ Insert: {
64584
+ account_key?: string;
64585
+ day_count?: number;
64586
+ day_date?: string;
64587
+ division_code?: number;
64588
+ environment: string;
64589
+ minute_count?: number;
64590
+ minute_window?: string;
64591
+ updated_at?: string;
64592
+ };
64593
+ Update: {
64594
+ account_key?: string;
64595
+ day_count?: number;
64596
+ day_date?: string;
64597
+ division_code?: number;
64598
+ environment?: string;
64599
+ minute_count?: number;
64600
+ minute_window?: string;
64601
+ updated_at?: string;
64602
+ };
64603
+ Relationships: [];
64604
+ };
64605
+ exact_auth_customers: {
64606
+ Row: {
64607
+ account_key: string;
64608
+ address_line1: string | null;
64609
+ chamber_of_commerce: string | null;
64610
+ city: string | null;
64611
+ code: string | null;
64612
+ country: string | null;
64613
+ created_at: string;
64614
+ currency: string | null;
64615
+ division_code: number | null;
64616
+ email: string | null;
64617
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64618
+ exact_id: string;
64619
+ exact_modified: string | null;
64620
+ exact_timestamp: number | null;
64621
+ id: string;
64622
+ is_active: boolean;
64623
+ name: string | null;
64624
+ phone: string | null;
64625
+ postcode: string | null;
64626
+ raw: import("../integrations/supabase/types").Json | null;
64627
+ status: string | null;
64628
+ updated_at: string;
64629
+ vat_number: string | null;
64630
+ website: string | null;
64631
+ };
64632
+ Insert: {
64633
+ account_key?: string;
64634
+ address_line1?: string | null;
64635
+ chamber_of_commerce?: string | null;
64636
+ city?: string | null;
64637
+ code?: string | null;
64638
+ country?: string | null;
64639
+ created_at?: string;
64640
+ currency?: string | null;
64641
+ division_code?: number | null;
64642
+ email?: string | null;
64643
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64644
+ exact_id: string;
64645
+ exact_modified?: string | null;
64646
+ exact_timestamp?: number | null;
64647
+ id?: string;
64648
+ is_active?: boolean;
64649
+ name?: string | null;
64650
+ phone?: string | null;
64651
+ postcode?: string | null;
64652
+ raw?: import("../integrations/supabase/types").Json | null;
64653
+ status?: string | null;
64654
+ updated_at?: string;
64655
+ vat_number?: string | null;
64656
+ website?: string | null;
64657
+ };
64658
+ Update: {
64659
+ account_key?: string;
64660
+ address_line1?: string | null;
64661
+ chamber_of_commerce?: string | null;
64662
+ city?: string | null;
64663
+ code?: string | null;
64664
+ country?: string | null;
64665
+ created_at?: string;
64666
+ currency?: string | null;
64667
+ division_code?: number | null;
64668
+ email?: string | null;
64669
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64670
+ exact_id?: string;
64671
+ exact_modified?: string | null;
64672
+ exact_timestamp?: number | null;
64673
+ id?: string;
64674
+ is_active?: boolean;
64675
+ name?: string | null;
64676
+ phone?: string | null;
64677
+ postcode?: string | null;
64678
+ raw?: import("../integrations/supabase/types").Json | null;
64679
+ status?: string | null;
64680
+ updated_at?: string;
64681
+ vat_number?: string | null;
64682
+ website?: string | null;
64683
+ };
64684
+ Relationships: [];
64685
+ };
64686
+ exact_auth_divisions: {
64687
+ Row: {
64688
+ account_key: string;
64689
+ company_name: string | null;
64690
+ created_at: string;
64691
+ division_code: number | null;
64692
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64693
+ id: string;
64694
+ last_synced_at: string | null;
64695
+ updated_at: string;
64696
+ };
64697
+ Insert: {
64698
+ account_key?: string;
64699
+ company_name?: string | null;
64700
+ created_at?: string;
64701
+ division_code?: number | null;
64702
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64703
+ id?: string;
64704
+ last_synced_at?: string | null;
64705
+ updated_at?: string;
64706
+ };
64707
+ Update: {
64708
+ account_key?: string;
64709
+ company_name?: string | null;
64710
+ created_at?: string;
64711
+ division_code?: number | null;
64712
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64713
+ id?: string;
64714
+ last_synced_at?: string | null;
64715
+ updated_at?: string;
64716
+ };
64717
+ Relationships: [];
64718
+ };
64719
+ exact_auth_invoice_lines: {
64720
+ Row: {
64721
+ account_key: string;
64722
+ amount_excl: number | null;
64723
+ created_at: string;
64724
+ description: string | null;
64725
+ discount: number | null;
64726
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64727
+ exact_id: string;
64728
+ exact_timestamp: number | null;
64729
+ id: string;
64730
+ invoice_exact_id: string;
64731
+ item_code: string | null;
64732
+ item_exact_id: string | null;
64733
+ line_number: number | null;
64734
+ quantity: number | null;
64735
+ raw: import("../integrations/supabase/types").Json | null;
64736
+ unit_price: number | null;
64737
+ updated_at: string;
64738
+ vat_amount: number | null;
64739
+ vat_code: string | null;
64740
+ };
64741
+ Insert: {
64742
+ account_key?: string;
64743
+ amount_excl?: number | null;
64744
+ created_at?: string;
64745
+ description?: string | null;
64746
+ discount?: number | null;
64747
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64748
+ exact_id: string;
64749
+ exact_timestamp?: number | null;
64750
+ id?: string;
64751
+ invoice_exact_id: string;
64752
+ item_code?: string | null;
64753
+ item_exact_id?: string | null;
64754
+ line_number?: number | null;
64755
+ quantity?: number | null;
64756
+ raw?: import("../integrations/supabase/types").Json | null;
64757
+ unit_price?: number | null;
64758
+ updated_at?: string;
64759
+ vat_amount?: number | null;
64760
+ vat_code?: string | null;
64761
+ };
64762
+ Update: {
64763
+ account_key?: string;
64764
+ amount_excl?: number | null;
64765
+ created_at?: string;
64766
+ description?: string | null;
64767
+ discount?: number | null;
64768
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64769
+ exact_id?: string;
64770
+ exact_timestamp?: number | null;
64771
+ id?: string;
64772
+ invoice_exact_id?: string;
64773
+ item_code?: string | null;
64774
+ item_exact_id?: string | null;
64775
+ line_number?: number | null;
64776
+ quantity?: number | null;
64777
+ raw?: import("../integrations/supabase/types").Json | null;
64778
+ unit_price?: number | null;
64779
+ updated_at?: string;
64780
+ vat_amount?: number | null;
64781
+ vat_code?: string | null;
64782
+ };
64783
+ Relationships: [];
64784
+ };
64785
+ exact_auth_invoices: {
64786
+ Row: {
64787
+ account_key: string;
64788
+ amount_excl: number | null;
64789
+ amount_incl: number | null;
64790
+ amount_open: number | null;
64791
+ created_at: string;
64792
+ currency: string | null;
64793
+ customer_code: string | null;
64794
+ customer_exact_id: string | null;
64795
+ customer_name: string | null;
64796
+ description: string | null;
64797
+ division_code: number | null;
64798
+ due_date: string | null;
64799
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64800
+ exact_id: string;
64801
+ exact_modified: string | null;
64802
+ exact_timestamp: number | null;
64803
+ id: string;
64804
+ invoice_date: string | null;
64805
+ invoice_number: string | null;
64806
+ order_number: string | null;
64807
+ paid_at: string | null;
64808
+ payment_status: string;
64809
+ raw: import("../integrations/supabase/types").Json | null;
64810
+ receivable_synced_at: string | null;
64811
+ status_code: number | null;
64812
+ updated_at: string;
64813
+ };
64814
+ Insert: {
64815
+ account_key?: string;
64816
+ amount_excl?: number | null;
64817
+ amount_incl?: number | null;
64818
+ amount_open?: number | null;
64819
+ created_at?: string;
64820
+ currency?: string | null;
64821
+ customer_code?: string | null;
64822
+ customer_exact_id?: string | null;
64823
+ customer_name?: string | null;
64824
+ description?: string | null;
64825
+ division_code?: number | null;
64826
+ due_date?: string | null;
64827
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64828
+ exact_id: string;
64829
+ exact_modified?: string | null;
64830
+ exact_timestamp?: number | null;
64831
+ id?: string;
64832
+ invoice_date?: string | null;
64833
+ invoice_number?: string | null;
64834
+ order_number?: string | null;
64835
+ paid_at?: string | null;
64836
+ payment_status?: string;
64837
+ raw?: import("../integrations/supabase/types").Json | null;
64838
+ receivable_synced_at?: string | null;
64839
+ status_code?: number | null;
64840
+ updated_at?: string;
64841
+ };
64842
+ Update: {
64843
+ account_key?: string;
64844
+ amount_excl?: number | null;
64845
+ amount_incl?: number | null;
64846
+ amount_open?: number | null;
64847
+ created_at?: string;
64848
+ currency?: string | null;
64849
+ customer_code?: string | null;
64850
+ customer_exact_id?: string | null;
64851
+ customer_name?: string | null;
64852
+ description?: string | null;
64853
+ division_code?: number | null;
64854
+ due_date?: string | null;
64855
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64856
+ exact_id?: string;
64857
+ exact_modified?: string | null;
64858
+ exact_timestamp?: number | null;
64859
+ id?: string;
64860
+ invoice_date?: string | null;
64861
+ invoice_number?: string | null;
64862
+ order_number?: string | null;
64863
+ paid_at?: string | null;
64864
+ payment_status?: string;
64865
+ raw?: import("../integrations/supabase/types").Json | null;
64866
+ receivable_synced_at?: string | null;
64867
+ status_code?: number | null;
64868
+ updated_at?: string;
64869
+ };
64870
+ Relationships: [];
64871
+ };
64872
+ exact_auth_items: {
64873
+ Row: {
64874
+ account_key: string;
64875
+ barcode: string | null;
64876
+ code: string | null;
64877
+ cost_price: number | null;
64878
+ created_at: string;
64879
+ description: string | null;
64880
+ division_code: number | null;
64881
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64882
+ exact_id: string;
64883
+ exact_modified: string | null;
64884
+ exact_timestamp: number | null;
64885
+ gl_account_code: string | null;
64886
+ id: string;
64887
+ is_active: boolean;
64888
+ is_sales_item: boolean | null;
64889
+ item_type: string | null;
64890
+ raw: import("../integrations/supabase/types").Json | null;
64891
+ sales_price: number | null;
64892
+ unit: string | null;
64893
+ updated_at: string;
64894
+ vat_code: string | null;
64895
+ };
64896
+ Insert: {
64897
+ account_key?: string;
64898
+ barcode?: string | null;
64899
+ code?: string | null;
64900
+ cost_price?: number | null;
64901
+ created_at?: string;
64902
+ description?: string | null;
64903
+ division_code?: number | null;
64904
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64905
+ exact_id: string;
64906
+ exact_modified?: string | null;
64907
+ exact_timestamp?: number | null;
64908
+ gl_account_code?: string | null;
64909
+ id?: string;
64910
+ is_active?: boolean;
64911
+ is_sales_item?: boolean | null;
64912
+ item_type?: string | null;
64913
+ raw?: import("../integrations/supabase/types").Json | null;
64914
+ sales_price?: number | null;
64915
+ unit?: string | null;
64916
+ updated_at?: string;
64917
+ vat_code?: string | null;
64918
+ };
64919
+ Update: {
64920
+ account_key?: string;
64921
+ barcode?: string | null;
64922
+ code?: string | null;
64923
+ cost_price?: number | null;
64924
+ created_at?: string;
64925
+ description?: string | null;
64926
+ division_code?: number | null;
64927
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64928
+ exact_id?: string;
64929
+ exact_modified?: string | null;
64930
+ exact_timestamp?: number | null;
64931
+ gl_account_code?: string | null;
64932
+ id?: string;
64933
+ is_active?: boolean;
64934
+ is_sales_item?: boolean | null;
64935
+ item_type?: string | null;
64936
+ raw?: import("../integrations/supabase/types").Json | null;
64937
+ sales_price?: number | null;
64938
+ unit?: string | null;
64939
+ updated_at?: string;
64940
+ vat_code?: string | null;
64941
+ };
64942
+ Relationships: [];
64943
+ };
64944
+ exact_auth_sync_log: {
64945
+ Row: {
64946
+ account_key: string;
64947
+ calls_used: number;
64948
+ created_at: string;
64949
+ domain: string;
64950
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64951
+ error: string | null;
64952
+ finished_at: string | null;
64953
+ id: string;
64954
+ ok: boolean;
64955
+ records: number;
64956
+ started_at: string;
64957
+ };
64958
+ Insert: {
64959
+ account_key?: string;
64960
+ calls_used?: number;
64961
+ created_at?: string;
64962
+ domain: string;
64963
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64964
+ error?: string | null;
64965
+ finished_at?: string | null;
64966
+ id?: string;
64967
+ ok?: boolean;
64968
+ records?: number;
64969
+ started_at?: string;
64970
+ };
64971
+ Update: {
64972
+ account_key?: string;
64973
+ calls_used?: number;
64974
+ created_at?: string;
64975
+ domain?: string;
64976
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64977
+ error?: string | null;
64978
+ finished_at?: string | null;
64979
+ id?: string;
64980
+ ok?: boolean;
64981
+ records?: number;
64982
+ started_at?: string;
64983
+ };
64984
+ Relationships: [];
64985
+ };
64986
+ exact_auth_sync_state: {
64987
+ Row: {
64988
+ account_key: string;
64989
+ created_at: string;
64990
+ cursor_timestamp: number;
64991
+ division_code: number | null;
64992
+ domain: string;
64993
+ duration_ms: number | null;
64994
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64995
+ initial_sync_done: boolean;
64996
+ last_error: string | null;
64997
+ last_run_at: string | null;
64998
+ last_success_at: string | null;
64999
+ locked_at: string | null;
65000
+ needs_initial_sync: boolean;
65001
+ record_count: number;
65002
+ updated_at: string;
65003
+ };
65004
+ Insert: {
65005
+ account_key?: string;
65006
+ created_at?: string;
65007
+ cursor_timestamp?: number;
65008
+ division_code?: number | null;
65009
+ domain: string;
65010
+ duration_ms?: number | null;
65011
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
65012
+ initial_sync_done?: boolean;
65013
+ last_error?: string | null;
65014
+ last_run_at?: string | null;
65015
+ last_success_at?: string | null;
65016
+ locked_at?: string | null;
65017
+ needs_initial_sync?: boolean;
65018
+ record_count?: number;
65019
+ updated_at?: string;
65020
+ };
65021
+ Update: {
65022
+ account_key?: string;
65023
+ created_at?: string;
65024
+ cursor_timestamp?: number;
65025
+ division_code?: number | null;
65026
+ domain?: string;
65027
+ duration_ms?: number | null;
65028
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
65029
+ initial_sync_done?: boolean;
65030
+ last_error?: string | null;
65031
+ last_run_at?: string | null;
65032
+ last_success_at?: string | null;
65033
+ locked_at?: string | null;
65034
+ needs_initial_sync?: boolean;
65035
+ record_count?: number;
65036
+ updated_at?: string;
65037
+ };
65038
+ Relationships: [];
65039
+ };
63102
65040
  exact_bulk_operation_items: {
63103
65041
  Row: {
63104
65042
  attempts: number;
@@ -69599,6 +71537,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
69599
71537
  };
69600
71538
  offer_settings: {
69601
71539
  Row: {
71540
+ brand_name: string | null;
69602
71541
  button_color: string;
69603
71542
  created_at: string;
69604
71543
  default_countries: string[];
@@ -69620,6 +71559,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
69620
71559
  updated_at: string;
69621
71560
  };
69622
71561
  Insert: {
71562
+ brand_name?: string | null;
69623
71563
  button_color?: string;
69624
71564
  created_at?: string;
69625
71565
  default_countries?: string[];
@@ -69641,6 +71581,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
69641
71581
  updated_at?: string;
69642
71582
  };
69643
71583
  Update: {
71584
+ brand_name?: string | null;
69644
71585
  button_color?: string;
69645
71586
  created_at?: string;
69646
71587
  default_countries?: string[];
@@ -77491,6 +79432,21 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
77491
79432
  Args: never;
77492
79433
  Returns: string;
77493
79434
  };
79435
+ exact_auth_consume_calls: {
79436
+ Args: {
79437
+ _account_key: string;
79438
+ _calls?: number;
79439
+ _day_limit?: number;
79440
+ _division_code: number;
79441
+ _environment: string;
79442
+ _minute_limit?: number;
79443
+ };
79444
+ Returns: import("../integrations/supabase/types").Json;
79445
+ };
79446
+ exact_auth_prune_sync_log: {
79447
+ Args: never;
79448
+ Returns: undefined;
79449
+ };
77494
79450
  exact_decrypt: {
77495
79451
  Args: {
77496
79452
  cipher: string;
@@ -77700,6 +79656,10 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
77700
79656
  };
77701
79657
  Returns: number;
77702
79658
  };
79659
+ get_offer_branding: {
79660
+ Args: never;
79661
+ Returns: import("../integrations/supabase/types").Json;
79662
+ };
77703
79663
  get_offer_by_link_code: {
77704
79664
  Args: {
77705
79665
  p_code: string;