@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
@@ -3545,6 +3545,474 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
3545
3545
  referencedColumns: ["id"];
3546
3546
  }];
3547
3547
  };
3548
+ exact_auth_call_budget: {
3549
+ Row: {
3550
+ account_key: string;
3551
+ day_count: number;
3552
+ day_date: string;
3553
+ division_code: number;
3554
+ environment: string;
3555
+ minute_count: number;
3556
+ minute_window: string;
3557
+ updated_at: string;
3558
+ };
3559
+ Insert: {
3560
+ account_key?: string;
3561
+ day_count?: number;
3562
+ day_date?: string;
3563
+ division_code?: number;
3564
+ environment: string;
3565
+ minute_count?: number;
3566
+ minute_window?: string;
3567
+ updated_at?: string;
3568
+ };
3569
+ Update: {
3570
+ account_key?: string;
3571
+ day_count?: number;
3572
+ day_date?: string;
3573
+ division_code?: number;
3574
+ environment?: string;
3575
+ minute_count?: number;
3576
+ minute_window?: string;
3577
+ updated_at?: string;
3578
+ };
3579
+ Relationships: [];
3580
+ };
3581
+ exact_auth_customers: {
3582
+ Row: {
3583
+ account_key: string;
3584
+ address_line1: string | null;
3585
+ chamber_of_commerce: string | null;
3586
+ city: string | null;
3587
+ code: string | null;
3588
+ country: string | null;
3589
+ created_at: string;
3590
+ currency: string | null;
3591
+ division_code: number | null;
3592
+ email: string | null;
3593
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3594
+ exact_id: string;
3595
+ exact_modified: string | null;
3596
+ exact_timestamp: number | null;
3597
+ id: string;
3598
+ is_active: boolean;
3599
+ name: string | null;
3600
+ phone: string | null;
3601
+ postcode: string | null;
3602
+ raw: import("../integrations/supabase/types").Json | null;
3603
+ status: string | null;
3604
+ updated_at: string;
3605
+ vat_number: string | null;
3606
+ website: string | null;
3607
+ };
3608
+ Insert: {
3609
+ account_key?: string;
3610
+ address_line1?: string | null;
3611
+ chamber_of_commerce?: string | null;
3612
+ city?: string | null;
3613
+ code?: string | null;
3614
+ country?: string | null;
3615
+ created_at?: string;
3616
+ currency?: string | null;
3617
+ division_code?: number | null;
3618
+ email?: string | null;
3619
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3620
+ exact_id: string;
3621
+ exact_modified?: string | null;
3622
+ exact_timestamp?: number | null;
3623
+ id?: string;
3624
+ is_active?: boolean;
3625
+ name?: string | null;
3626
+ phone?: string | null;
3627
+ postcode?: string | null;
3628
+ raw?: import("../integrations/supabase/types").Json | null;
3629
+ status?: string | null;
3630
+ updated_at?: string;
3631
+ vat_number?: string | null;
3632
+ website?: string | null;
3633
+ };
3634
+ Update: {
3635
+ account_key?: string;
3636
+ address_line1?: string | null;
3637
+ chamber_of_commerce?: string | null;
3638
+ city?: string | null;
3639
+ code?: string | null;
3640
+ country?: string | null;
3641
+ created_at?: string;
3642
+ currency?: string | null;
3643
+ division_code?: number | null;
3644
+ email?: string | null;
3645
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3646
+ exact_id?: string;
3647
+ exact_modified?: string | null;
3648
+ exact_timestamp?: number | null;
3649
+ id?: string;
3650
+ is_active?: boolean;
3651
+ name?: string | null;
3652
+ phone?: string | null;
3653
+ postcode?: string | null;
3654
+ raw?: import("../integrations/supabase/types").Json | null;
3655
+ status?: string | null;
3656
+ updated_at?: string;
3657
+ vat_number?: string | null;
3658
+ website?: string | null;
3659
+ };
3660
+ Relationships: [];
3661
+ };
3662
+ exact_auth_divisions: {
3663
+ Row: {
3664
+ account_key: string;
3665
+ company_name: string | null;
3666
+ created_at: string;
3667
+ division_code: number | null;
3668
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3669
+ id: string;
3670
+ last_synced_at: string | null;
3671
+ updated_at: string;
3672
+ };
3673
+ Insert: {
3674
+ account_key?: string;
3675
+ company_name?: string | null;
3676
+ created_at?: string;
3677
+ division_code?: number | null;
3678
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3679
+ id?: string;
3680
+ last_synced_at?: string | null;
3681
+ updated_at?: string;
3682
+ };
3683
+ Update: {
3684
+ account_key?: string;
3685
+ company_name?: string | null;
3686
+ created_at?: string;
3687
+ division_code?: number | null;
3688
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3689
+ id?: string;
3690
+ last_synced_at?: string | null;
3691
+ updated_at?: string;
3692
+ };
3693
+ Relationships: [];
3694
+ };
3695
+ exact_auth_invoice_lines: {
3696
+ Row: {
3697
+ account_key: string;
3698
+ amount_excl: number | null;
3699
+ created_at: string;
3700
+ description: string | null;
3701
+ discount: number | null;
3702
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3703
+ exact_id: string;
3704
+ exact_timestamp: number | null;
3705
+ id: string;
3706
+ invoice_exact_id: string;
3707
+ item_code: string | null;
3708
+ item_exact_id: string | null;
3709
+ line_number: number | null;
3710
+ quantity: number | null;
3711
+ raw: import("../integrations/supabase/types").Json | null;
3712
+ unit_price: number | null;
3713
+ updated_at: string;
3714
+ vat_amount: number | null;
3715
+ vat_code: string | null;
3716
+ };
3717
+ Insert: {
3718
+ account_key?: string;
3719
+ amount_excl?: number | null;
3720
+ created_at?: string;
3721
+ description?: string | null;
3722
+ discount?: number | null;
3723
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3724
+ exact_id: string;
3725
+ exact_timestamp?: number | null;
3726
+ id?: string;
3727
+ invoice_exact_id: string;
3728
+ item_code?: string | null;
3729
+ item_exact_id?: string | null;
3730
+ line_number?: number | null;
3731
+ quantity?: number | null;
3732
+ raw?: import("../integrations/supabase/types").Json | null;
3733
+ unit_price?: number | null;
3734
+ updated_at?: string;
3735
+ vat_amount?: number | null;
3736
+ vat_code?: string | null;
3737
+ };
3738
+ Update: {
3739
+ account_key?: string;
3740
+ amount_excl?: number | null;
3741
+ created_at?: string;
3742
+ description?: string | null;
3743
+ discount?: number | null;
3744
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3745
+ exact_id?: string;
3746
+ exact_timestamp?: number | null;
3747
+ id?: string;
3748
+ invoice_exact_id?: string;
3749
+ item_code?: string | null;
3750
+ item_exact_id?: string | null;
3751
+ line_number?: number | null;
3752
+ quantity?: number | null;
3753
+ raw?: import("../integrations/supabase/types").Json | null;
3754
+ unit_price?: number | null;
3755
+ updated_at?: string;
3756
+ vat_amount?: number | null;
3757
+ vat_code?: string | null;
3758
+ };
3759
+ Relationships: [];
3760
+ };
3761
+ exact_auth_invoices: {
3762
+ Row: {
3763
+ account_key: string;
3764
+ amount_excl: number | null;
3765
+ amount_incl: number | null;
3766
+ amount_open: number | null;
3767
+ created_at: string;
3768
+ currency: string | null;
3769
+ customer_code: string | null;
3770
+ customer_exact_id: string | null;
3771
+ customer_name: string | null;
3772
+ description: string | null;
3773
+ division_code: number | null;
3774
+ due_date: string | null;
3775
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3776
+ exact_id: string;
3777
+ exact_modified: string | null;
3778
+ exact_timestamp: number | null;
3779
+ id: string;
3780
+ invoice_date: string | null;
3781
+ invoice_number: string | null;
3782
+ order_number: string | null;
3783
+ paid_at: string | null;
3784
+ payment_status: string;
3785
+ raw: import("../integrations/supabase/types").Json | null;
3786
+ receivable_synced_at: string | null;
3787
+ status_code: number | null;
3788
+ updated_at: string;
3789
+ };
3790
+ Insert: {
3791
+ account_key?: string;
3792
+ amount_excl?: number | null;
3793
+ amount_incl?: number | null;
3794
+ amount_open?: number | null;
3795
+ created_at?: string;
3796
+ currency?: string | null;
3797
+ customer_code?: string | null;
3798
+ customer_exact_id?: string | null;
3799
+ customer_name?: string | null;
3800
+ description?: string | null;
3801
+ division_code?: number | null;
3802
+ due_date?: string | null;
3803
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3804
+ exact_id: string;
3805
+ exact_modified?: string | null;
3806
+ exact_timestamp?: number | null;
3807
+ id?: string;
3808
+ invoice_date?: string | null;
3809
+ invoice_number?: string | null;
3810
+ order_number?: string | null;
3811
+ paid_at?: string | null;
3812
+ payment_status?: string;
3813
+ raw?: import("../integrations/supabase/types").Json | null;
3814
+ receivable_synced_at?: string | null;
3815
+ status_code?: number | null;
3816
+ updated_at?: string;
3817
+ };
3818
+ Update: {
3819
+ account_key?: string;
3820
+ amount_excl?: number | null;
3821
+ amount_incl?: number | null;
3822
+ amount_open?: number | null;
3823
+ created_at?: string;
3824
+ currency?: string | null;
3825
+ customer_code?: string | null;
3826
+ customer_exact_id?: string | null;
3827
+ customer_name?: string | null;
3828
+ description?: string | null;
3829
+ division_code?: number | null;
3830
+ due_date?: string | null;
3831
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3832
+ exact_id?: string;
3833
+ exact_modified?: string | null;
3834
+ exact_timestamp?: number | null;
3835
+ id?: string;
3836
+ invoice_date?: string | null;
3837
+ invoice_number?: string | null;
3838
+ order_number?: string | null;
3839
+ paid_at?: string | null;
3840
+ payment_status?: string;
3841
+ raw?: import("../integrations/supabase/types").Json | null;
3842
+ receivable_synced_at?: string | null;
3843
+ status_code?: number | null;
3844
+ updated_at?: string;
3845
+ };
3846
+ Relationships: [];
3847
+ };
3848
+ exact_auth_items: {
3849
+ Row: {
3850
+ account_key: string;
3851
+ barcode: string | null;
3852
+ code: string | null;
3853
+ cost_price: number | null;
3854
+ created_at: string;
3855
+ description: string | null;
3856
+ division_code: number | null;
3857
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3858
+ exact_id: string;
3859
+ exact_modified: string | null;
3860
+ exact_timestamp: number | null;
3861
+ gl_account_code: string | null;
3862
+ id: string;
3863
+ is_active: boolean;
3864
+ is_sales_item: boolean | null;
3865
+ item_type: string | null;
3866
+ raw: import("../integrations/supabase/types").Json | null;
3867
+ sales_price: number | null;
3868
+ unit: string | null;
3869
+ updated_at: string;
3870
+ vat_code: string | null;
3871
+ };
3872
+ Insert: {
3873
+ account_key?: string;
3874
+ barcode?: string | null;
3875
+ code?: string | null;
3876
+ cost_price?: number | null;
3877
+ created_at?: string;
3878
+ description?: string | null;
3879
+ division_code?: number | null;
3880
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3881
+ exact_id: string;
3882
+ exact_modified?: string | null;
3883
+ exact_timestamp?: number | null;
3884
+ gl_account_code?: string | null;
3885
+ id?: string;
3886
+ is_active?: boolean;
3887
+ is_sales_item?: boolean | null;
3888
+ item_type?: string | null;
3889
+ raw?: import("../integrations/supabase/types").Json | null;
3890
+ sales_price?: number | null;
3891
+ unit?: string | null;
3892
+ updated_at?: string;
3893
+ vat_code?: string | null;
3894
+ };
3895
+ Update: {
3896
+ account_key?: string;
3897
+ barcode?: string | null;
3898
+ code?: string | null;
3899
+ cost_price?: number | null;
3900
+ created_at?: string;
3901
+ description?: string | null;
3902
+ division_code?: number | null;
3903
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3904
+ exact_id?: string;
3905
+ exact_modified?: string | null;
3906
+ exact_timestamp?: number | null;
3907
+ gl_account_code?: string | null;
3908
+ id?: string;
3909
+ is_active?: boolean;
3910
+ is_sales_item?: boolean | null;
3911
+ item_type?: string | null;
3912
+ raw?: import("../integrations/supabase/types").Json | null;
3913
+ sales_price?: number | null;
3914
+ unit?: string | null;
3915
+ updated_at?: string;
3916
+ vat_code?: string | null;
3917
+ };
3918
+ Relationships: [];
3919
+ };
3920
+ exact_auth_sync_log: {
3921
+ Row: {
3922
+ account_key: string;
3923
+ calls_used: number;
3924
+ created_at: string;
3925
+ domain: string;
3926
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3927
+ error: string | null;
3928
+ finished_at: string | null;
3929
+ id: string;
3930
+ ok: boolean;
3931
+ records: number;
3932
+ started_at: string;
3933
+ };
3934
+ Insert: {
3935
+ account_key?: string;
3936
+ calls_used?: number;
3937
+ created_at?: string;
3938
+ domain: string;
3939
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3940
+ error?: string | null;
3941
+ finished_at?: string | null;
3942
+ id?: string;
3943
+ ok?: boolean;
3944
+ records?: number;
3945
+ started_at?: string;
3946
+ };
3947
+ Update: {
3948
+ account_key?: string;
3949
+ calls_used?: number;
3950
+ created_at?: string;
3951
+ domain?: string;
3952
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3953
+ error?: string | null;
3954
+ finished_at?: string | null;
3955
+ id?: string;
3956
+ ok?: boolean;
3957
+ records?: number;
3958
+ started_at?: string;
3959
+ };
3960
+ Relationships: [];
3961
+ };
3962
+ exact_auth_sync_state: {
3963
+ Row: {
3964
+ account_key: string;
3965
+ created_at: string;
3966
+ cursor_timestamp: number;
3967
+ division_code: number | null;
3968
+ domain: string;
3969
+ duration_ms: number | null;
3970
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3971
+ initial_sync_done: boolean;
3972
+ last_error: string | null;
3973
+ last_run_at: string | null;
3974
+ last_success_at: string | null;
3975
+ locked_at: string | null;
3976
+ needs_initial_sync: boolean;
3977
+ record_count: number;
3978
+ updated_at: string;
3979
+ };
3980
+ Insert: {
3981
+ account_key?: string;
3982
+ created_at?: string;
3983
+ cursor_timestamp?: number;
3984
+ division_code?: number | null;
3985
+ domain: string;
3986
+ duration_ms?: number | null;
3987
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3988
+ initial_sync_done?: boolean;
3989
+ last_error?: string | null;
3990
+ last_run_at?: string | null;
3991
+ last_success_at?: string | null;
3992
+ locked_at?: string | null;
3993
+ needs_initial_sync?: boolean;
3994
+ record_count?: number;
3995
+ updated_at?: string;
3996
+ };
3997
+ Update: {
3998
+ account_key?: string;
3999
+ created_at?: string;
4000
+ cursor_timestamp?: number;
4001
+ division_code?: number | null;
4002
+ domain?: string;
4003
+ duration_ms?: number | null;
4004
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4005
+ initial_sync_done?: boolean;
4006
+ last_error?: string | null;
4007
+ last_run_at?: string | null;
4008
+ last_success_at?: string | null;
4009
+ locked_at?: string | null;
4010
+ needs_initial_sync?: boolean;
4011
+ record_count?: number;
4012
+ updated_at?: string;
4013
+ };
4014
+ Relationships: [];
4015
+ };
3548
4016
  exact_bulk_operation_items: {
3549
4017
  Row: {
3550
4018
  attempts: number;
@@ -10045,6 +10513,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
10045
10513
  };
10046
10514
  offer_settings: {
10047
10515
  Row: {
10516
+ brand_name: string | null;
10048
10517
  button_color: string;
10049
10518
  created_at: string;
10050
10519
  default_countries: string[];
@@ -10066,6 +10535,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
10066
10535
  updated_at: string;
10067
10536
  };
10068
10537
  Insert: {
10538
+ brand_name?: string | null;
10069
10539
  button_color?: string;
10070
10540
  created_at?: string;
10071
10541
  default_countries?: string[];
@@ -10087,6 +10557,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
10087
10557
  updated_at?: string;
10088
10558
  };
10089
10559
  Update: {
10560
+ brand_name?: string | null;
10090
10561
  button_color?: string;
10091
10562
  created_at?: string;
10092
10563
  default_countries?: string[];
@@ -17937,6 +18408,21 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
17937
18408
  Args: never;
17938
18409
  Returns: string;
17939
18410
  };
18411
+ exact_auth_consume_calls: {
18412
+ Args: {
18413
+ _account_key: string;
18414
+ _calls?: number;
18415
+ _day_limit?: number;
18416
+ _division_code: number;
18417
+ _environment: string;
18418
+ _minute_limit?: number;
18419
+ };
18420
+ Returns: import("../integrations/supabase/types").Json;
18421
+ };
18422
+ exact_auth_prune_sync_log: {
18423
+ Args: never;
18424
+ Returns: undefined;
18425
+ };
17940
18426
  exact_decrypt: {
17941
18427
  Args: {
17942
18428
  cipher: string;
@@ -18146,6 +18632,10 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
18146
18632
  };
18147
18633
  Returns: number;
18148
18634
  };
18635
+ get_offer_branding: {
18636
+ Args: never;
18637
+ Returns: import("../integrations/supabase/types").Json;
18638
+ };
18149
18639
  get_offer_by_link_code: {
18150
18640
  Args: {
18151
18641
  p_code: string;
@@ -23359,6 +23849,474 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
23359
23849
  referencedColumns: ["id"];
23360
23850
  }];
23361
23851
  };
23852
+ exact_auth_call_budget: {
23853
+ Row: {
23854
+ account_key: string;
23855
+ day_count: number;
23856
+ day_date: string;
23857
+ division_code: number;
23858
+ environment: string;
23859
+ minute_count: number;
23860
+ minute_window: string;
23861
+ updated_at: string;
23862
+ };
23863
+ Insert: {
23864
+ account_key?: string;
23865
+ day_count?: number;
23866
+ day_date?: string;
23867
+ division_code?: number;
23868
+ environment: string;
23869
+ minute_count?: number;
23870
+ minute_window?: string;
23871
+ updated_at?: string;
23872
+ };
23873
+ Update: {
23874
+ account_key?: string;
23875
+ day_count?: number;
23876
+ day_date?: string;
23877
+ division_code?: number;
23878
+ environment?: string;
23879
+ minute_count?: number;
23880
+ minute_window?: string;
23881
+ updated_at?: string;
23882
+ };
23883
+ Relationships: [];
23884
+ };
23885
+ exact_auth_customers: {
23886
+ Row: {
23887
+ account_key: string;
23888
+ address_line1: string | null;
23889
+ chamber_of_commerce: string | null;
23890
+ city: string | null;
23891
+ code: string | null;
23892
+ country: string | null;
23893
+ created_at: string;
23894
+ currency: string | null;
23895
+ division_code: number | null;
23896
+ email: string | null;
23897
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23898
+ exact_id: string;
23899
+ exact_modified: string | null;
23900
+ exact_timestamp: number | null;
23901
+ id: string;
23902
+ is_active: boolean;
23903
+ name: string | null;
23904
+ phone: string | null;
23905
+ postcode: string | null;
23906
+ raw: import("../integrations/supabase/types").Json | null;
23907
+ status: string | null;
23908
+ updated_at: string;
23909
+ vat_number: string | null;
23910
+ website: string | null;
23911
+ };
23912
+ Insert: {
23913
+ account_key?: string;
23914
+ address_line1?: string | null;
23915
+ chamber_of_commerce?: string | null;
23916
+ city?: string | null;
23917
+ code?: string | null;
23918
+ country?: string | null;
23919
+ created_at?: string;
23920
+ currency?: string | null;
23921
+ division_code?: number | null;
23922
+ email?: string | null;
23923
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23924
+ exact_id: string;
23925
+ exact_modified?: string | null;
23926
+ exact_timestamp?: number | null;
23927
+ id?: string;
23928
+ is_active?: boolean;
23929
+ name?: string | null;
23930
+ phone?: string | null;
23931
+ postcode?: string | null;
23932
+ raw?: import("../integrations/supabase/types").Json | null;
23933
+ status?: string | null;
23934
+ updated_at?: string;
23935
+ vat_number?: string | null;
23936
+ website?: string | null;
23937
+ };
23938
+ Update: {
23939
+ account_key?: string;
23940
+ address_line1?: string | null;
23941
+ chamber_of_commerce?: string | null;
23942
+ city?: string | null;
23943
+ code?: string | null;
23944
+ country?: string | null;
23945
+ created_at?: string;
23946
+ currency?: string | null;
23947
+ division_code?: number | null;
23948
+ email?: string | null;
23949
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23950
+ exact_id?: string;
23951
+ exact_modified?: string | null;
23952
+ exact_timestamp?: number | null;
23953
+ id?: string;
23954
+ is_active?: boolean;
23955
+ name?: string | null;
23956
+ phone?: string | null;
23957
+ postcode?: string | null;
23958
+ raw?: import("../integrations/supabase/types").Json | null;
23959
+ status?: string | null;
23960
+ updated_at?: string;
23961
+ vat_number?: string | null;
23962
+ website?: string | null;
23963
+ };
23964
+ Relationships: [];
23965
+ };
23966
+ exact_auth_divisions: {
23967
+ Row: {
23968
+ account_key: string;
23969
+ company_name: string | null;
23970
+ created_at: string;
23971
+ division_code: number | null;
23972
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23973
+ id: string;
23974
+ last_synced_at: string | null;
23975
+ updated_at: string;
23976
+ };
23977
+ Insert: {
23978
+ account_key?: string;
23979
+ company_name?: string | null;
23980
+ created_at?: string;
23981
+ division_code?: number | null;
23982
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23983
+ id?: string;
23984
+ last_synced_at?: string | null;
23985
+ updated_at?: string;
23986
+ };
23987
+ Update: {
23988
+ account_key?: string;
23989
+ company_name?: string | null;
23990
+ created_at?: string;
23991
+ division_code?: number | null;
23992
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23993
+ id?: string;
23994
+ last_synced_at?: string | null;
23995
+ updated_at?: string;
23996
+ };
23997
+ Relationships: [];
23998
+ };
23999
+ exact_auth_invoice_lines: {
24000
+ Row: {
24001
+ account_key: string;
24002
+ amount_excl: number | null;
24003
+ created_at: string;
24004
+ description: string | null;
24005
+ discount: number | null;
24006
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24007
+ exact_id: string;
24008
+ exact_timestamp: number | null;
24009
+ id: string;
24010
+ invoice_exact_id: string;
24011
+ item_code: string | null;
24012
+ item_exact_id: string | null;
24013
+ line_number: number | null;
24014
+ quantity: number | null;
24015
+ raw: import("../integrations/supabase/types").Json | null;
24016
+ unit_price: number | null;
24017
+ updated_at: string;
24018
+ vat_amount: number | null;
24019
+ vat_code: string | null;
24020
+ };
24021
+ Insert: {
24022
+ account_key?: string;
24023
+ amount_excl?: number | null;
24024
+ created_at?: string;
24025
+ description?: string | null;
24026
+ discount?: number | null;
24027
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24028
+ exact_id: string;
24029
+ exact_timestamp?: number | null;
24030
+ id?: string;
24031
+ invoice_exact_id: string;
24032
+ item_code?: string | null;
24033
+ item_exact_id?: string | null;
24034
+ line_number?: number | null;
24035
+ quantity?: number | null;
24036
+ raw?: import("../integrations/supabase/types").Json | null;
24037
+ unit_price?: number | null;
24038
+ updated_at?: string;
24039
+ vat_amount?: number | null;
24040
+ vat_code?: string | null;
24041
+ };
24042
+ Update: {
24043
+ account_key?: string;
24044
+ amount_excl?: number | null;
24045
+ created_at?: string;
24046
+ description?: string | null;
24047
+ discount?: number | null;
24048
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24049
+ exact_id?: string;
24050
+ exact_timestamp?: number | null;
24051
+ id?: string;
24052
+ invoice_exact_id?: string;
24053
+ item_code?: string | null;
24054
+ item_exact_id?: string | null;
24055
+ line_number?: number | null;
24056
+ quantity?: number | null;
24057
+ raw?: import("../integrations/supabase/types").Json | null;
24058
+ unit_price?: number | null;
24059
+ updated_at?: string;
24060
+ vat_amount?: number | null;
24061
+ vat_code?: string | null;
24062
+ };
24063
+ Relationships: [];
24064
+ };
24065
+ exact_auth_invoices: {
24066
+ Row: {
24067
+ account_key: string;
24068
+ amount_excl: number | null;
24069
+ amount_incl: number | null;
24070
+ amount_open: number | null;
24071
+ created_at: string;
24072
+ currency: string | null;
24073
+ customer_code: string | null;
24074
+ customer_exact_id: string | null;
24075
+ customer_name: string | null;
24076
+ description: string | null;
24077
+ division_code: number | null;
24078
+ due_date: string | null;
24079
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24080
+ exact_id: string;
24081
+ exact_modified: string | null;
24082
+ exact_timestamp: number | null;
24083
+ id: string;
24084
+ invoice_date: string | null;
24085
+ invoice_number: string | null;
24086
+ order_number: string | null;
24087
+ paid_at: string | null;
24088
+ payment_status: string;
24089
+ raw: import("../integrations/supabase/types").Json | null;
24090
+ receivable_synced_at: string | null;
24091
+ status_code: number | null;
24092
+ updated_at: string;
24093
+ };
24094
+ Insert: {
24095
+ account_key?: string;
24096
+ amount_excl?: number | null;
24097
+ amount_incl?: number | null;
24098
+ amount_open?: number | null;
24099
+ created_at?: string;
24100
+ currency?: string | null;
24101
+ customer_code?: string | null;
24102
+ customer_exact_id?: string | null;
24103
+ customer_name?: string | null;
24104
+ description?: string | null;
24105
+ division_code?: number | null;
24106
+ due_date?: string | null;
24107
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24108
+ exact_id: string;
24109
+ exact_modified?: string | null;
24110
+ exact_timestamp?: number | null;
24111
+ id?: string;
24112
+ invoice_date?: string | null;
24113
+ invoice_number?: string | null;
24114
+ order_number?: string | null;
24115
+ paid_at?: string | null;
24116
+ payment_status?: string;
24117
+ raw?: import("../integrations/supabase/types").Json | null;
24118
+ receivable_synced_at?: string | null;
24119
+ status_code?: number | null;
24120
+ updated_at?: string;
24121
+ };
24122
+ Update: {
24123
+ account_key?: string;
24124
+ amount_excl?: number | null;
24125
+ amount_incl?: number | null;
24126
+ amount_open?: number | null;
24127
+ created_at?: string;
24128
+ currency?: string | null;
24129
+ customer_code?: string | null;
24130
+ customer_exact_id?: string | null;
24131
+ customer_name?: string | null;
24132
+ description?: string | null;
24133
+ division_code?: number | null;
24134
+ due_date?: string | null;
24135
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24136
+ exact_id?: string;
24137
+ exact_modified?: string | null;
24138
+ exact_timestamp?: number | null;
24139
+ id?: string;
24140
+ invoice_date?: string | null;
24141
+ invoice_number?: string | null;
24142
+ order_number?: string | null;
24143
+ paid_at?: string | null;
24144
+ payment_status?: string;
24145
+ raw?: import("../integrations/supabase/types").Json | null;
24146
+ receivable_synced_at?: string | null;
24147
+ status_code?: number | null;
24148
+ updated_at?: string;
24149
+ };
24150
+ Relationships: [];
24151
+ };
24152
+ exact_auth_items: {
24153
+ Row: {
24154
+ account_key: string;
24155
+ barcode: string | null;
24156
+ code: string | null;
24157
+ cost_price: number | null;
24158
+ created_at: string;
24159
+ description: string | null;
24160
+ division_code: number | null;
24161
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24162
+ exact_id: string;
24163
+ exact_modified: string | null;
24164
+ exact_timestamp: number | null;
24165
+ gl_account_code: string | null;
24166
+ id: string;
24167
+ is_active: boolean;
24168
+ is_sales_item: boolean | null;
24169
+ item_type: string | null;
24170
+ raw: import("../integrations/supabase/types").Json | null;
24171
+ sales_price: number | null;
24172
+ unit: string | null;
24173
+ updated_at: string;
24174
+ vat_code: string | null;
24175
+ };
24176
+ Insert: {
24177
+ account_key?: string;
24178
+ barcode?: string | null;
24179
+ code?: string | null;
24180
+ cost_price?: number | null;
24181
+ created_at?: string;
24182
+ description?: string | null;
24183
+ division_code?: number | null;
24184
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24185
+ exact_id: string;
24186
+ exact_modified?: string | null;
24187
+ exact_timestamp?: number | null;
24188
+ gl_account_code?: string | null;
24189
+ id?: string;
24190
+ is_active?: boolean;
24191
+ is_sales_item?: boolean | null;
24192
+ item_type?: string | null;
24193
+ raw?: import("../integrations/supabase/types").Json | null;
24194
+ sales_price?: number | null;
24195
+ unit?: string | null;
24196
+ updated_at?: string;
24197
+ vat_code?: string | null;
24198
+ };
24199
+ Update: {
24200
+ account_key?: string;
24201
+ barcode?: string | null;
24202
+ code?: string | null;
24203
+ cost_price?: number | null;
24204
+ created_at?: string;
24205
+ description?: string | null;
24206
+ division_code?: number | null;
24207
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24208
+ exact_id?: string;
24209
+ exact_modified?: string | null;
24210
+ exact_timestamp?: number | null;
24211
+ gl_account_code?: string | null;
24212
+ id?: string;
24213
+ is_active?: boolean;
24214
+ is_sales_item?: boolean | null;
24215
+ item_type?: string | null;
24216
+ raw?: import("../integrations/supabase/types").Json | null;
24217
+ sales_price?: number | null;
24218
+ unit?: string | null;
24219
+ updated_at?: string;
24220
+ vat_code?: string | null;
24221
+ };
24222
+ Relationships: [];
24223
+ };
24224
+ exact_auth_sync_log: {
24225
+ Row: {
24226
+ account_key: string;
24227
+ calls_used: number;
24228
+ created_at: string;
24229
+ domain: string;
24230
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24231
+ error: string | null;
24232
+ finished_at: string | null;
24233
+ id: string;
24234
+ ok: boolean;
24235
+ records: number;
24236
+ started_at: string;
24237
+ };
24238
+ Insert: {
24239
+ account_key?: string;
24240
+ calls_used?: number;
24241
+ created_at?: string;
24242
+ domain: string;
24243
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24244
+ error?: string | null;
24245
+ finished_at?: string | null;
24246
+ id?: string;
24247
+ ok?: boolean;
24248
+ records?: number;
24249
+ started_at?: string;
24250
+ };
24251
+ Update: {
24252
+ account_key?: string;
24253
+ calls_used?: number;
24254
+ created_at?: string;
24255
+ domain?: string;
24256
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24257
+ error?: string | null;
24258
+ finished_at?: string | null;
24259
+ id?: string;
24260
+ ok?: boolean;
24261
+ records?: number;
24262
+ started_at?: string;
24263
+ };
24264
+ Relationships: [];
24265
+ };
24266
+ exact_auth_sync_state: {
24267
+ Row: {
24268
+ account_key: string;
24269
+ created_at: string;
24270
+ cursor_timestamp: number;
24271
+ division_code: number | null;
24272
+ domain: string;
24273
+ duration_ms: number | null;
24274
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24275
+ initial_sync_done: boolean;
24276
+ last_error: string | null;
24277
+ last_run_at: string | null;
24278
+ last_success_at: string | null;
24279
+ locked_at: string | null;
24280
+ needs_initial_sync: boolean;
24281
+ record_count: number;
24282
+ updated_at: string;
24283
+ };
24284
+ Insert: {
24285
+ account_key?: string;
24286
+ created_at?: string;
24287
+ cursor_timestamp?: number;
24288
+ division_code?: number | null;
24289
+ domain: string;
24290
+ duration_ms?: number | null;
24291
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24292
+ initial_sync_done?: boolean;
24293
+ last_error?: string | null;
24294
+ last_run_at?: string | null;
24295
+ last_success_at?: string | null;
24296
+ locked_at?: string | null;
24297
+ needs_initial_sync?: boolean;
24298
+ record_count?: number;
24299
+ updated_at?: string;
24300
+ };
24301
+ Update: {
24302
+ account_key?: string;
24303
+ created_at?: string;
24304
+ cursor_timestamp?: number;
24305
+ division_code?: number | null;
24306
+ domain?: string;
24307
+ duration_ms?: number | null;
24308
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24309
+ initial_sync_done?: boolean;
24310
+ last_error?: string | null;
24311
+ last_run_at?: string | null;
24312
+ last_success_at?: string | null;
24313
+ locked_at?: string | null;
24314
+ needs_initial_sync?: boolean;
24315
+ record_count?: number;
24316
+ updated_at?: string;
24317
+ };
24318
+ Relationships: [];
24319
+ };
23362
24320
  exact_bulk_operation_items: {
23363
24321
  Row: {
23364
24322
  attempts: number;
@@ -29859,6 +30817,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
29859
30817
  };
29860
30818
  offer_settings: {
29861
30819
  Row: {
30820
+ brand_name: string | null;
29862
30821
  button_color: string;
29863
30822
  created_at: string;
29864
30823
  default_countries: string[];
@@ -29880,6 +30839,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
29880
30839
  updated_at: string;
29881
30840
  };
29882
30841
  Insert: {
30842
+ brand_name?: string | null;
29883
30843
  button_color?: string;
29884
30844
  created_at?: string;
29885
30845
  default_countries?: string[];
@@ -29901,6 +30861,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
29901
30861
  updated_at?: string;
29902
30862
  };
29903
30863
  Update: {
30864
+ brand_name?: string | null;
29904
30865
  button_color?: string;
29905
30866
  created_at?: string;
29906
30867
  default_countries?: string[];
@@ -37751,6 +38712,21 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
37751
38712
  Args: never;
37752
38713
  Returns: string;
37753
38714
  };
38715
+ exact_auth_consume_calls: {
38716
+ Args: {
38717
+ _account_key: string;
38718
+ _calls?: number;
38719
+ _day_limit?: number;
38720
+ _division_code: number;
38721
+ _environment: string;
38722
+ _minute_limit?: number;
38723
+ };
38724
+ Returns: import("../integrations/supabase/types").Json;
38725
+ };
38726
+ exact_auth_prune_sync_log: {
38727
+ Args: never;
38728
+ Returns: undefined;
38729
+ };
37754
38730
  exact_decrypt: {
37755
38731
  Args: {
37756
38732
  cipher: string;
@@ -37960,6 +38936,10 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
37960
38936
  };
37961
38937
  Returns: number;
37962
38938
  };
38939
+ get_offer_branding: {
38940
+ Args: never;
38941
+ Returns: import("../integrations/supabase/types").Json;
38942
+ };
37963
38943
  get_offer_by_link_code: {
37964
38944
  Args: {
37965
38945
  p_code: string;
@@ -43185,6 +44165,474 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
43185
44165
  referencedColumns: ["id"];
43186
44166
  }];
43187
44167
  };
44168
+ exact_auth_call_budget: {
44169
+ Row: {
44170
+ account_key: string;
44171
+ day_count: number;
44172
+ day_date: string;
44173
+ division_code: number;
44174
+ environment: string;
44175
+ minute_count: number;
44176
+ minute_window: string;
44177
+ updated_at: string;
44178
+ };
44179
+ Insert: {
44180
+ account_key?: string;
44181
+ day_count?: number;
44182
+ day_date?: string;
44183
+ division_code?: number;
44184
+ environment: string;
44185
+ minute_count?: number;
44186
+ minute_window?: string;
44187
+ updated_at?: string;
44188
+ };
44189
+ Update: {
44190
+ account_key?: string;
44191
+ day_count?: number;
44192
+ day_date?: string;
44193
+ division_code?: number;
44194
+ environment?: string;
44195
+ minute_count?: number;
44196
+ minute_window?: string;
44197
+ updated_at?: string;
44198
+ };
44199
+ Relationships: [];
44200
+ };
44201
+ exact_auth_customers: {
44202
+ Row: {
44203
+ account_key: string;
44204
+ address_line1: string | null;
44205
+ chamber_of_commerce: string | null;
44206
+ city: string | null;
44207
+ code: string | null;
44208
+ country: string | null;
44209
+ created_at: string;
44210
+ currency: string | null;
44211
+ division_code: number | null;
44212
+ email: string | null;
44213
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44214
+ exact_id: string;
44215
+ exact_modified: string | null;
44216
+ exact_timestamp: number | null;
44217
+ id: string;
44218
+ is_active: boolean;
44219
+ name: string | null;
44220
+ phone: string | null;
44221
+ postcode: string | null;
44222
+ raw: import("../integrations/supabase/types").Json | null;
44223
+ status: string | null;
44224
+ updated_at: string;
44225
+ vat_number: string | null;
44226
+ website: string | null;
44227
+ };
44228
+ Insert: {
44229
+ account_key?: string;
44230
+ address_line1?: string | null;
44231
+ chamber_of_commerce?: string | null;
44232
+ city?: string | null;
44233
+ code?: string | null;
44234
+ country?: string | null;
44235
+ created_at?: string;
44236
+ currency?: string | null;
44237
+ division_code?: number | null;
44238
+ email?: string | null;
44239
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44240
+ exact_id: string;
44241
+ exact_modified?: string | null;
44242
+ exact_timestamp?: number | null;
44243
+ id?: string;
44244
+ is_active?: boolean;
44245
+ name?: string | null;
44246
+ phone?: string | null;
44247
+ postcode?: string | null;
44248
+ raw?: import("../integrations/supabase/types").Json | null;
44249
+ status?: string | null;
44250
+ updated_at?: string;
44251
+ vat_number?: string | null;
44252
+ website?: string | null;
44253
+ };
44254
+ Update: {
44255
+ account_key?: string;
44256
+ address_line1?: string | null;
44257
+ chamber_of_commerce?: string | null;
44258
+ city?: string | null;
44259
+ code?: string | null;
44260
+ country?: string | null;
44261
+ created_at?: string;
44262
+ currency?: string | null;
44263
+ division_code?: number | null;
44264
+ email?: string | null;
44265
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44266
+ exact_id?: string;
44267
+ exact_modified?: string | null;
44268
+ exact_timestamp?: number | null;
44269
+ id?: string;
44270
+ is_active?: boolean;
44271
+ name?: string | null;
44272
+ phone?: string | null;
44273
+ postcode?: string | null;
44274
+ raw?: import("../integrations/supabase/types").Json | null;
44275
+ status?: string | null;
44276
+ updated_at?: string;
44277
+ vat_number?: string | null;
44278
+ website?: string | null;
44279
+ };
44280
+ Relationships: [];
44281
+ };
44282
+ exact_auth_divisions: {
44283
+ Row: {
44284
+ account_key: string;
44285
+ company_name: string | null;
44286
+ created_at: string;
44287
+ division_code: number | null;
44288
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44289
+ id: string;
44290
+ last_synced_at: string | null;
44291
+ updated_at: string;
44292
+ };
44293
+ Insert: {
44294
+ account_key?: string;
44295
+ company_name?: string | null;
44296
+ created_at?: string;
44297
+ division_code?: number | null;
44298
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44299
+ id?: string;
44300
+ last_synced_at?: string | null;
44301
+ updated_at?: string;
44302
+ };
44303
+ Update: {
44304
+ account_key?: string;
44305
+ company_name?: string | null;
44306
+ created_at?: string;
44307
+ division_code?: number | null;
44308
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44309
+ id?: string;
44310
+ last_synced_at?: string | null;
44311
+ updated_at?: string;
44312
+ };
44313
+ Relationships: [];
44314
+ };
44315
+ exact_auth_invoice_lines: {
44316
+ Row: {
44317
+ account_key: string;
44318
+ amount_excl: number | null;
44319
+ created_at: string;
44320
+ description: string | null;
44321
+ discount: number | null;
44322
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44323
+ exact_id: string;
44324
+ exact_timestamp: number | null;
44325
+ id: string;
44326
+ invoice_exact_id: string;
44327
+ item_code: string | null;
44328
+ item_exact_id: string | null;
44329
+ line_number: number | null;
44330
+ quantity: number | null;
44331
+ raw: import("../integrations/supabase/types").Json | null;
44332
+ unit_price: number | null;
44333
+ updated_at: string;
44334
+ vat_amount: number | null;
44335
+ vat_code: string | null;
44336
+ };
44337
+ Insert: {
44338
+ account_key?: string;
44339
+ amount_excl?: number | null;
44340
+ created_at?: string;
44341
+ description?: string | null;
44342
+ discount?: number | null;
44343
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44344
+ exact_id: string;
44345
+ exact_timestamp?: number | null;
44346
+ id?: string;
44347
+ invoice_exact_id: string;
44348
+ item_code?: string | null;
44349
+ item_exact_id?: string | null;
44350
+ line_number?: number | null;
44351
+ quantity?: number | null;
44352
+ raw?: import("../integrations/supabase/types").Json | null;
44353
+ unit_price?: number | null;
44354
+ updated_at?: string;
44355
+ vat_amount?: number | null;
44356
+ vat_code?: string | null;
44357
+ };
44358
+ Update: {
44359
+ account_key?: string;
44360
+ amount_excl?: number | null;
44361
+ created_at?: string;
44362
+ description?: string | null;
44363
+ discount?: number | null;
44364
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44365
+ exact_id?: string;
44366
+ exact_timestamp?: number | null;
44367
+ id?: string;
44368
+ invoice_exact_id?: string;
44369
+ item_code?: string | null;
44370
+ item_exact_id?: string | null;
44371
+ line_number?: number | null;
44372
+ quantity?: number | null;
44373
+ raw?: import("../integrations/supabase/types").Json | null;
44374
+ unit_price?: number | null;
44375
+ updated_at?: string;
44376
+ vat_amount?: number | null;
44377
+ vat_code?: string | null;
44378
+ };
44379
+ Relationships: [];
44380
+ };
44381
+ exact_auth_invoices: {
44382
+ Row: {
44383
+ account_key: string;
44384
+ amount_excl: number | null;
44385
+ amount_incl: number | null;
44386
+ amount_open: number | null;
44387
+ created_at: string;
44388
+ currency: string | null;
44389
+ customer_code: string | null;
44390
+ customer_exact_id: string | null;
44391
+ customer_name: string | null;
44392
+ description: string | null;
44393
+ division_code: number | null;
44394
+ due_date: string | null;
44395
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44396
+ exact_id: string;
44397
+ exact_modified: string | null;
44398
+ exact_timestamp: number | null;
44399
+ id: string;
44400
+ invoice_date: string | null;
44401
+ invoice_number: string | null;
44402
+ order_number: string | null;
44403
+ paid_at: string | null;
44404
+ payment_status: string;
44405
+ raw: import("../integrations/supabase/types").Json | null;
44406
+ receivable_synced_at: string | null;
44407
+ status_code: number | null;
44408
+ updated_at: string;
44409
+ };
44410
+ Insert: {
44411
+ account_key?: string;
44412
+ amount_excl?: number | null;
44413
+ amount_incl?: number | null;
44414
+ amount_open?: number | null;
44415
+ created_at?: string;
44416
+ currency?: string | null;
44417
+ customer_code?: string | null;
44418
+ customer_exact_id?: string | null;
44419
+ customer_name?: string | null;
44420
+ description?: string | null;
44421
+ division_code?: number | null;
44422
+ due_date?: string | null;
44423
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44424
+ exact_id: string;
44425
+ exact_modified?: string | null;
44426
+ exact_timestamp?: number | null;
44427
+ id?: string;
44428
+ invoice_date?: string | null;
44429
+ invoice_number?: string | null;
44430
+ order_number?: string | null;
44431
+ paid_at?: string | null;
44432
+ payment_status?: string;
44433
+ raw?: import("../integrations/supabase/types").Json | null;
44434
+ receivable_synced_at?: string | null;
44435
+ status_code?: number | null;
44436
+ updated_at?: string;
44437
+ };
44438
+ Update: {
44439
+ account_key?: string;
44440
+ amount_excl?: number | null;
44441
+ amount_incl?: number | null;
44442
+ amount_open?: number | null;
44443
+ created_at?: string;
44444
+ currency?: string | null;
44445
+ customer_code?: string | null;
44446
+ customer_exact_id?: string | null;
44447
+ customer_name?: string | null;
44448
+ description?: string | null;
44449
+ division_code?: number | null;
44450
+ due_date?: string | null;
44451
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44452
+ exact_id?: string;
44453
+ exact_modified?: string | null;
44454
+ exact_timestamp?: number | null;
44455
+ id?: string;
44456
+ invoice_date?: string | null;
44457
+ invoice_number?: string | null;
44458
+ order_number?: string | null;
44459
+ paid_at?: string | null;
44460
+ payment_status?: string;
44461
+ raw?: import("../integrations/supabase/types").Json | null;
44462
+ receivable_synced_at?: string | null;
44463
+ status_code?: number | null;
44464
+ updated_at?: string;
44465
+ };
44466
+ Relationships: [];
44467
+ };
44468
+ exact_auth_items: {
44469
+ Row: {
44470
+ account_key: string;
44471
+ barcode: string | null;
44472
+ code: string | null;
44473
+ cost_price: number | null;
44474
+ created_at: string;
44475
+ description: string | null;
44476
+ division_code: number | null;
44477
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44478
+ exact_id: string;
44479
+ exact_modified: string | null;
44480
+ exact_timestamp: number | null;
44481
+ gl_account_code: string | null;
44482
+ id: string;
44483
+ is_active: boolean;
44484
+ is_sales_item: boolean | null;
44485
+ item_type: string | null;
44486
+ raw: import("../integrations/supabase/types").Json | null;
44487
+ sales_price: number | null;
44488
+ unit: string | null;
44489
+ updated_at: string;
44490
+ vat_code: string | null;
44491
+ };
44492
+ Insert: {
44493
+ account_key?: string;
44494
+ barcode?: string | null;
44495
+ code?: string | null;
44496
+ cost_price?: number | null;
44497
+ created_at?: string;
44498
+ description?: string | null;
44499
+ division_code?: number | null;
44500
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44501
+ exact_id: string;
44502
+ exact_modified?: string | null;
44503
+ exact_timestamp?: number | null;
44504
+ gl_account_code?: string | null;
44505
+ id?: string;
44506
+ is_active?: boolean;
44507
+ is_sales_item?: boolean | null;
44508
+ item_type?: string | null;
44509
+ raw?: import("../integrations/supabase/types").Json | null;
44510
+ sales_price?: number | null;
44511
+ unit?: string | null;
44512
+ updated_at?: string;
44513
+ vat_code?: string | null;
44514
+ };
44515
+ Update: {
44516
+ account_key?: string;
44517
+ barcode?: string | null;
44518
+ code?: string | null;
44519
+ cost_price?: number | null;
44520
+ created_at?: string;
44521
+ description?: string | null;
44522
+ division_code?: number | null;
44523
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44524
+ exact_id?: string;
44525
+ exact_modified?: string | null;
44526
+ exact_timestamp?: number | null;
44527
+ gl_account_code?: string | null;
44528
+ id?: string;
44529
+ is_active?: boolean;
44530
+ is_sales_item?: boolean | null;
44531
+ item_type?: string | null;
44532
+ raw?: import("../integrations/supabase/types").Json | null;
44533
+ sales_price?: number | null;
44534
+ unit?: string | null;
44535
+ updated_at?: string;
44536
+ vat_code?: string | null;
44537
+ };
44538
+ Relationships: [];
44539
+ };
44540
+ exact_auth_sync_log: {
44541
+ Row: {
44542
+ account_key: string;
44543
+ calls_used: number;
44544
+ created_at: string;
44545
+ domain: string;
44546
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44547
+ error: string | null;
44548
+ finished_at: string | null;
44549
+ id: string;
44550
+ ok: boolean;
44551
+ records: number;
44552
+ started_at: string;
44553
+ };
44554
+ Insert: {
44555
+ account_key?: string;
44556
+ calls_used?: number;
44557
+ created_at?: string;
44558
+ domain: string;
44559
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44560
+ error?: string | null;
44561
+ finished_at?: string | null;
44562
+ id?: string;
44563
+ ok?: boolean;
44564
+ records?: number;
44565
+ started_at?: string;
44566
+ };
44567
+ Update: {
44568
+ account_key?: string;
44569
+ calls_used?: number;
44570
+ created_at?: string;
44571
+ domain?: string;
44572
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44573
+ error?: string | null;
44574
+ finished_at?: string | null;
44575
+ id?: string;
44576
+ ok?: boolean;
44577
+ records?: number;
44578
+ started_at?: string;
44579
+ };
44580
+ Relationships: [];
44581
+ };
44582
+ exact_auth_sync_state: {
44583
+ Row: {
44584
+ account_key: string;
44585
+ created_at: string;
44586
+ cursor_timestamp: number;
44587
+ division_code: number | null;
44588
+ domain: string;
44589
+ duration_ms: number | null;
44590
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44591
+ initial_sync_done: boolean;
44592
+ last_error: string | null;
44593
+ last_run_at: string | null;
44594
+ last_success_at: string | null;
44595
+ locked_at: string | null;
44596
+ needs_initial_sync: boolean;
44597
+ record_count: number;
44598
+ updated_at: string;
44599
+ };
44600
+ Insert: {
44601
+ account_key?: string;
44602
+ created_at?: string;
44603
+ cursor_timestamp?: number;
44604
+ division_code?: number | null;
44605
+ domain: string;
44606
+ duration_ms?: number | null;
44607
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44608
+ initial_sync_done?: boolean;
44609
+ last_error?: string | null;
44610
+ last_run_at?: string | null;
44611
+ last_success_at?: string | null;
44612
+ locked_at?: string | null;
44613
+ needs_initial_sync?: boolean;
44614
+ record_count?: number;
44615
+ updated_at?: string;
44616
+ };
44617
+ Update: {
44618
+ account_key?: string;
44619
+ created_at?: string;
44620
+ cursor_timestamp?: number;
44621
+ division_code?: number | null;
44622
+ domain?: string;
44623
+ duration_ms?: number | null;
44624
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44625
+ initial_sync_done?: boolean;
44626
+ last_error?: string | null;
44627
+ last_run_at?: string | null;
44628
+ last_success_at?: string | null;
44629
+ locked_at?: string | null;
44630
+ needs_initial_sync?: boolean;
44631
+ record_count?: number;
44632
+ updated_at?: string;
44633
+ };
44634
+ Relationships: [];
44635
+ };
43188
44636
  exact_bulk_operation_items: {
43189
44637
  Row: {
43190
44638
  attempts: number;
@@ -49685,6 +51133,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
49685
51133
  };
49686
51134
  offer_settings: {
49687
51135
  Row: {
51136
+ brand_name: string | null;
49688
51137
  button_color: string;
49689
51138
  created_at: string;
49690
51139
  default_countries: string[];
@@ -49706,6 +51155,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
49706
51155
  updated_at: string;
49707
51156
  };
49708
51157
  Insert: {
51158
+ brand_name?: string | null;
49709
51159
  button_color?: string;
49710
51160
  created_at?: string;
49711
51161
  default_countries?: string[];
@@ -49727,6 +51177,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
49727
51177
  updated_at?: string;
49728
51178
  };
49729
51179
  Update: {
51180
+ brand_name?: string | null;
49730
51181
  button_color?: string;
49731
51182
  created_at?: string;
49732
51183
  default_countries?: string[];
@@ -57577,6 +59028,21 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
57577
59028
  Args: never;
57578
59029
  Returns: string;
57579
59030
  };
59031
+ exact_auth_consume_calls: {
59032
+ Args: {
59033
+ _account_key: string;
59034
+ _calls?: number;
59035
+ _day_limit?: number;
59036
+ _division_code: number;
59037
+ _environment: string;
59038
+ _minute_limit?: number;
59039
+ };
59040
+ Returns: import("../integrations/supabase/types").Json;
59041
+ };
59042
+ exact_auth_prune_sync_log: {
59043
+ Args: never;
59044
+ Returns: undefined;
59045
+ };
57580
59046
  exact_decrypt: {
57581
59047
  Args: {
57582
59048
  cipher: string;
@@ -57786,6 +59252,10 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
57786
59252
  };
57787
59253
  Returns: number;
57788
59254
  };
59255
+ get_offer_branding: {
59256
+ Args: never;
59257
+ Returns: import("../integrations/supabase/types").Json;
59258
+ };
57789
59259
  get_offer_by_link_code: {
57790
59260
  Args: {
57791
59261
  p_code: string;
@@ -63012,6 +64482,474 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
63012
64482
  referencedColumns: ["id"];
63013
64483
  }];
63014
64484
  };
64485
+ exact_auth_call_budget: {
64486
+ Row: {
64487
+ account_key: string;
64488
+ day_count: number;
64489
+ day_date: string;
64490
+ division_code: number;
64491
+ environment: string;
64492
+ minute_count: number;
64493
+ minute_window: string;
64494
+ updated_at: string;
64495
+ };
64496
+ Insert: {
64497
+ account_key?: string;
64498
+ day_count?: number;
64499
+ day_date?: string;
64500
+ division_code?: number;
64501
+ environment: string;
64502
+ minute_count?: number;
64503
+ minute_window?: string;
64504
+ updated_at?: string;
64505
+ };
64506
+ Update: {
64507
+ account_key?: string;
64508
+ day_count?: number;
64509
+ day_date?: string;
64510
+ division_code?: number;
64511
+ environment?: string;
64512
+ minute_count?: number;
64513
+ minute_window?: string;
64514
+ updated_at?: string;
64515
+ };
64516
+ Relationships: [];
64517
+ };
64518
+ exact_auth_customers: {
64519
+ Row: {
64520
+ account_key: string;
64521
+ address_line1: string | null;
64522
+ chamber_of_commerce: string | null;
64523
+ city: string | null;
64524
+ code: string | null;
64525
+ country: string | null;
64526
+ created_at: string;
64527
+ currency: string | null;
64528
+ division_code: number | null;
64529
+ email: string | null;
64530
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64531
+ exact_id: string;
64532
+ exact_modified: string | null;
64533
+ exact_timestamp: number | null;
64534
+ id: string;
64535
+ is_active: boolean;
64536
+ name: string | null;
64537
+ phone: string | null;
64538
+ postcode: string | null;
64539
+ raw: import("../integrations/supabase/types").Json | null;
64540
+ status: string | null;
64541
+ updated_at: string;
64542
+ vat_number: string | null;
64543
+ website: string | null;
64544
+ };
64545
+ Insert: {
64546
+ account_key?: string;
64547
+ address_line1?: string | null;
64548
+ chamber_of_commerce?: string | null;
64549
+ city?: string | null;
64550
+ code?: string | null;
64551
+ country?: string | null;
64552
+ created_at?: string;
64553
+ currency?: string | null;
64554
+ division_code?: number | null;
64555
+ email?: string | null;
64556
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64557
+ exact_id: string;
64558
+ exact_modified?: string | null;
64559
+ exact_timestamp?: number | null;
64560
+ id?: string;
64561
+ is_active?: boolean;
64562
+ name?: string | null;
64563
+ phone?: string | null;
64564
+ postcode?: string | null;
64565
+ raw?: import("../integrations/supabase/types").Json | null;
64566
+ status?: string | null;
64567
+ updated_at?: string;
64568
+ vat_number?: string | null;
64569
+ website?: string | null;
64570
+ };
64571
+ Update: {
64572
+ account_key?: string;
64573
+ address_line1?: string | null;
64574
+ chamber_of_commerce?: string | null;
64575
+ city?: string | null;
64576
+ code?: string | null;
64577
+ country?: string | null;
64578
+ created_at?: string;
64579
+ currency?: string | null;
64580
+ division_code?: number | null;
64581
+ email?: string | null;
64582
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64583
+ exact_id?: string;
64584
+ exact_modified?: string | null;
64585
+ exact_timestamp?: number | null;
64586
+ id?: string;
64587
+ is_active?: boolean;
64588
+ name?: string | null;
64589
+ phone?: string | null;
64590
+ postcode?: string | null;
64591
+ raw?: import("../integrations/supabase/types").Json | null;
64592
+ status?: string | null;
64593
+ updated_at?: string;
64594
+ vat_number?: string | null;
64595
+ website?: string | null;
64596
+ };
64597
+ Relationships: [];
64598
+ };
64599
+ exact_auth_divisions: {
64600
+ Row: {
64601
+ account_key: string;
64602
+ company_name: string | null;
64603
+ created_at: string;
64604
+ division_code: number | null;
64605
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64606
+ id: string;
64607
+ last_synced_at: string | null;
64608
+ updated_at: string;
64609
+ };
64610
+ Insert: {
64611
+ account_key?: string;
64612
+ company_name?: string | null;
64613
+ created_at?: string;
64614
+ division_code?: number | null;
64615
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64616
+ id?: string;
64617
+ last_synced_at?: string | null;
64618
+ updated_at?: string;
64619
+ };
64620
+ Update: {
64621
+ account_key?: string;
64622
+ company_name?: string | null;
64623
+ created_at?: string;
64624
+ division_code?: number | null;
64625
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64626
+ id?: string;
64627
+ last_synced_at?: string | null;
64628
+ updated_at?: string;
64629
+ };
64630
+ Relationships: [];
64631
+ };
64632
+ exact_auth_invoice_lines: {
64633
+ Row: {
64634
+ account_key: string;
64635
+ amount_excl: number | null;
64636
+ created_at: string;
64637
+ description: string | null;
64638
+ discount: number | null;
64639
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64640
+ exact_id: string;
64641
+ exact_timestamp: number | null;
64642
+ id: string;
64643
+ invoice_exact_id: string;
64644
+ item_code: string | null;
64645
+ item_exact_id: string | null;
64646
+ line_number: number | null;
64647
+ quantity: number | null;
64648
+ raw: import("../integrations/supabase/types").Json | null;
64649
+ unit_price: number | null;
64650
+ updated_at: string;
64651
+ vat_amount: number | null;
64652
+ vat_code: string | null;
64653
+ };
64654
+ Insert: {
64655
+ account_key?: string;
64656
+ amount_excl?: number | null;
64657
+ created_at?: string;
64658
+ description?: string | null;
64659
+ discount?: number | null;
64660
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64661
+ exact_id: string;
64662
+ exact_timestamp?: number | null;
64663
+ id?: string;
64664
+ invoice_exact_id: string;
64665
+ item_code?: string | null;
64666
+ item_exact_id?: string | null;
64667
+ line_number?: number | null;
64668
+ quantity?: number | null;
64669
+ raw?: import("../integrations/supabase/types").Json | null;
64670
+ unit_price?: number | null;
64671
+ updated_at?: string;
64672
+ vat_amount?: number | null;
64673
+ vat_code?: string | null;
64674
+ };
64675
+ Update: {
64676
+ account_key?: string;
64677
+ amount_excl?: number | null;
64678
+ created_at?: string;
64679
+ description?: string | null;
64680
+ discount?: number | null;
64681
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64682
+ exact_id?: string;
64683
+ exact_timestamp?: number | null;
64684
+ id?: string;
64685
+ invoice_exact_id?: string;
64686
+ item_code?: string | null;
64687
+ item_exact_id?: string | null;
64688
+ line_number?: number | null;
64689
+ quantity?: number | null;
64690
+ raw?: import("../integrations/supabase/types").Json | null;
64691
+ unit_price?: number | null;
64692
+ updated_at?: string;
64693
+ vat_amount?: number | null;
64694
+ vat_code?: string | null;
64695
+ };
64696
+ Relationships: [];
64697
+ };
64698
+ exact_auth_invoices: {
64699
+ Row: {
64700
+ account_key: string;
64701
+ amount_excl: number | null;
64702
+ amount_incl: number | null;
64703
+ amount_open: number | null;
64704
+ created_at: string;
64705
+ currency: string | null;
64706
+ customer_code: string | null;
64707
+ customer_exact_id: string | null;
64708
+ customer_name: string | null;
64709
+ description: string | null;
64710
+ division_code: number | null;
64711
+ due_date: string | null;
64712
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64713
+ exact_id: string;
64714
+ exact_modified: string | null;
64715
+ exact_timestamp: number | null;
64716
+ id: string;
64717
+ invoice_date: string | null;
64718
+ invoice_number: string | null;
64719
+ order_number: string | null;
64720
+ paid_at: string | null;
64721
+ payment_status: string;
64722
+ raw: import("../integrations/supabase/types").Json | null;
64723
+ receivable_synced_at: string | null;
64724
+ status_code: number | null;
64725
+ updated_at: string;
64726
+ };
64727
+ Insert: {
64728
+ account_key?: string;
64729
+ amount_excl?: number | null;
64730
+ amount_incl?: number | null;
64731
+ amount_open?: number | null;
64732
+ created_at?: string;
64733
+ currency?: string | null;
64734
+ customer_code?: string | null;
64735
+ customer_exact_id?: string | null;
64736
+ customer_name?: string | null;
64737
+ description?: string | null;
64738
+ division_code?: number | null;
64739
+ due_date?: string | null;
64740
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64741
+ exact_id: string;
64742
+ exact_modified?: string | null;
64743
+ exact_timestamp?: number | null;
64744
+ id?: string;
64745
+ invoice_date?: string | null;
64746
+ invoice_number?: string | null;
64747
+ order_number?: string | null;
64748
+ paid_at?: string | null;
64749
+ payment_status?: string;
64750
+ raw?: import("../integrations/supabase/types").Json | null;
64751
+ receivable_synced_at?: string | null;
64752
+ status_code?: number | null;
64753
+ updated_at?: string;
64754
+ };
64755
+ Update: {
64756
+ account_key?: string;
64757
+ amount_excl?: number | null;
64758
+ amount_incl?: number | null;
64759
+ amount_open?: number | null;
64760
+ created_at?: string;
64761
+ currency?: string | null;
64762
+ customer_code?: string | null;
64763
+ customer_exact_id?: string | null;
64764
+ customer_name?: string | null;
64765
+ description?: string | null;
64766
+ division_code?: number | null;
64767
+ due_date?: string | null;
64768
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64769
+ exact_id?: string;
64770
+ exact_modified?: string | null;
64771
+ exact_timestamp?: number | null;
64772
+ id?: string;
64773
+ invoice_date?: string | null;
64774
+ invoice_number?: string | null;
64775
+ order_number?: string | null;
64776
+ paid_at?: string | null;
64777
+ payment_status?: string;
64778
+ raw?: import("../integrations/supabase/types").Json | null;
64779
+ receivable_synced_at?: string | null;
64780
+ status_code?: number | null;
64781
+ updated_at?: string;
64782
+ };
64783
+ Relationships: [];
64784
+ };
64785
+ exact_auth_items: {
64786
+ Row: {
64787
+ account_key: string;
64788
+ barcode: string | null;
64789
+ code: string | null;
64790
+ cost_price: number | null;
64791
+ created_at: string;
64792
+ description: string | null;
64793
+ division_code: number | null;
64794
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64795
+ exact_id: string;
64796
+ exact_modified: string | null;
64797
+ exact_timestamp: number | null;
64798
+ gl_account_code: string | null;
64799
+ id: string;
64800
+ is_active: boolean;
64801
+ is_sales_item: boolean | null;
64802
+ item_type: string | null;
64803
+ raw: import("../integrations/supabase/types").Json | null;
64804
+ sales_price: number | null;
64805
+ unit: string | null;
64806
+ updated_at: string;
64807
+ vat_code: string | null;
64808
+ };
64809
+ Insert: {
64810
+ account_key?: string;
64811
+ barcode?: string | null;
64812
+ code?: string | null;
64813
+ cost_price?: number | null;
64814
+ created_at?: string;
64815
+ description?: string | null;
64816
+ division_code?: number | null;
64817
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64818
+ exact_id: string;
64819
+ exact_modified?: string | null;
64820
+ exact_timestamp?: number | null;
64821
+ gl_account_code?: string | null;
64822
+ id?: string;
64823
+ is_active?: boolean;
64824
+ is_sales_item?: boolean | null;
64825
+ item_type?: string | null;
64826
+ raw?: import("../integrations/supabase/types").Json | null;
64827
+ sales_price?: number | null;
64828
+ unit?: string | null;
64829
+ updated_at?: string;
64830
+ vat_code?: string | null;
64831
+ };
64832
+ Update: {
64833
+ account_key?: string;
64834
+ barcode?: string | null;
64835
+ code?: string | null;
64836
+ cost_price?: number | null;
64837
+ created_at?: string;
64838
+ description?: string | null;
64839
+ division_code?: number | null;
64840
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64841
+ exact_id?: string;
64842
+ exact_modified?: string | null;
64843
+ exact_timestamp?: number | null;
64844
+ gl_account_code?: string | null;
64845
+ id?: string;
64846
+ is_active?: boolean;
64847
+ is_sales_item?: boolean | null;
64848
+ item_type?: string | null;
64849
+ raw?: import("../integrations/supabase/types").Json | null;
64850
+ sales_price?: number | null;
64851
+ unit?: string | null;
64852
+ updated_at?: string;
64853
+ vat_code?: string | null;
64854
+ };
64855
+ Relationships: [];
64856
+ };
64857
+ exact_auth_sync_log: {
64858
+ Row: {
64859
+ account_key: string;
64860
+ calls_used: number;
64861
+ created_at: string;
64862
+ domain: string;
64863
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64864
+ error: string | null;
64865
+ finished_at: string | null;
64866
+ id: string;
64867
+ ok: boolean;
64868
+ records: number;
64869
+ started_at: string;
64870
+ };
64871
+ Insert: {
64872
+ account_key?: string;
64873
+ calls_used?: number;
64874
+ created_at?: string;
64875
+ domain: string;
64876
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64877
+ error?: string | null;
64878
+ finished_at?: string | null;
64879
+ id?: string;
64880
+ ok?: boolean;
64881
+ records?: number;
64882
+ started_at?: string;
64883
+ };
64884
+ Update: {
64885
+ account_key?: string;
64886
+ calls_used?: number;
64887
+ created_at?: string;
64888
+ domain?: string;
64889
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64890
+ error?: string | null;
64891
+ finished_at?: string | null;
64892
+ id?: string;
64893
+ ok?: boolean;
64894
+ records?: number;
64895
+ started_at?: string;
64896
+ };
64897
+ Relationships: [];
64898
+ };
64899
+ exact_auth_sync_state: {
64900
+ Row: {
64901
+ account_key: string;
64902
+ created_at: string;
64903
+ cursor_timestamp: number;
64904
+ division_code: number | null;
64905
+ domain: string;
64906
+ duration_ms: number | null;
64907
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64908
+ initial_sync_done: boolean;
64909
+ last_error: string | null;
64910
+ last_run_at: string | null;
64911
+ last_success_at: string | null;
64912
+ locked_at: string | null;
64913
+ needs_initial_sync: boolean;
64914
+ record_count: number;
64915
+ updated_at: string;
64916
+ };
64917
+ Insert: {
64918
+ account_key?: string;
64919
+ created_at?: string;
64920
+ cursor_timestamp?: number;
64921
+ division_code?: number | null;
64922
+ domain: string;
64923
+ duration_ms?: number | null;
64924
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64925
+ initial_sync_done?: boolean;
64926
+ last_error?: string | null;
64927
+ last_run_at?: string | null;
64928
+ last_success_at?: string | null;
64929
+ locked_at?: string | null;
64930
+ needs_initial_sync?: boolean;
64931
+ record_count?: number;
64932
+ updated_at?: string;
64933
+ };
64934
+ Update: {
64935
+ account_key?: string;
64936
+ created_at?: string;
64937
+ cursor_timestamp?: number;
64938
+ division_code?: number | null;
64939
+ domain?: string;
64940
+ duration_ms?: number | null;
64941
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
64942
+ initial_sync_done?: boolean;
64943
+ last_error?: string | null;
64944
+ last_run_at?: string | null;
64945
+ last_success_at?: string | null;
64946
+ locked_at?: string | null;
64947
+ needs_initial_sync?: boolean;
64948
+ record_count?: number;
64949
+ updated_at?: string;
64950
+ };
64951
+ Relationships: [];
64952
+ };
63015
64953
  exact_bulk_operation_items: {
63016
64954
  Row: {
63017
64955
  attempts: number;
@@ -69512,6 +71450,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
69512
71450
  };
69513
71451
  offer_settings: {
69514
71452
  Row: {
71453
+ brand_name: string | null;
69515
71454
  button_color: string;
69516
71455
  created_at: string;
69517
71456
  default_countries: string[];
@@ -69533,6 +71472,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
69533
71472
  updated_at: string;
69534
71473
  };
69535
71474
  Insert: {
71475
+ brand_name?: string | null;
69536
71476
  button_color?: string;
69537
71477
  created_at?: string;
69538
71478
  default_countries?: string[];
@@ -69554,6 +71494,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
69554
71494
  updated_at?: string;
69555
71495
  };
69556
71496
  Update: {
71497
+ brand_name?: string | null;
69557
71498
  button_color?: string;
69558
71499
  created_at?: string;
69559
71500
  default_countries?: string[];
@@ -77404,6 +79345,21 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
77404
79345
  Args: never;
77405
79346
  Returns: string;
77406
79347
  };
79348
+ exact_auth_consume_calls: {
79349
+ Args: {
79350
+ _account_key: string;
79351
+ _calls?: number;
79352
+ _day_limit?: number;
79353
+ _division_code: number;
79354
+ _environment: string;
79355
+ _minute_limit?: number;
79356
+ };
79357
+ Returns: import("../integrations/supabase/types").Json;
79358
+ };
79359
+ exact_auth_prune_sync_log: {
79360
+ Args: never;
79361
+ Returns: undefined;
79362
+ };
77407
79363
  exact_decrypt: {
77408
79364
  Args: {
77409
79365
  cipher: string;
@@ -77613,6 +79569,10 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
77613
79569
  };
77614
79570
  Returns: number;
77615
79571
  };
79572
+ get_offer_branding: {
79573
+ Args: never;
79574
+ Returns: import("../integrations/supabase/types").Json;
79575
+ };
77616
79576
  get_offer_by_link_code: {
77617
79577
  Args: {
77618
79578
  p_code: string;