@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
@@ -3535,6 +3535,474 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
3535
3535
  referencedColumns: ["id"];
3536
3536
  }];
3537
3537
  };
3538
+ exact_auth_call_budget: {
3539
+ Row: {
3540
+ account_key: string;
3541
+ day_count: number;
3542
+ day_date: string;
3543
+ division_code: number;
3544
+ environment: string;
3545
+ minute_count: number;
3546
+ minute_window: string;
3547
+ updated_at: string;
3548
+ };
3549
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
3570
+ };
3571
+ exact_auth_customers: {
3572
+ Row: {
3573
+ account_key: string;
3574
+ address_line1: string | null;
3575
+ chamber_of_commerce: string | null;
3576
+ city: string | null;
3577
+ code: string | null;
3578
+ country: string | null;
3579
+ created_at: string;
3580
+ currency: string | null;
3581
+ division_code: number | null;
3582
+ email: string | null;
3583
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3584
+ exact_id: string;
3585
+ exact_modified: string | null;
3586
+ exact_timestamp: number | null;
3587
+ id: string;
3588
+ is_active: boolean;
3589
+ name: string | null;
3590
+ phone: string | null;
3591
+ postcode: string | null;
3592
+ raw: import("../../../integrations/supabase/types").Json | null;
3593
+ status: string | null;
3594
+ updated_at: string;
3595
+ vat_number: string | null;
3596
+ website: string | null;
3597
+ };
3598
+ Insert: {
3599
+ account_key?: string;
3600
+ address_line1?: string | null;
3601
+ chamber_of_commerce?: string | null;
3602
+ city?: string | null;
3603
+ code?: string | null;
3604
+ country?: string | null;
3605
+ created_at?: string;
3606
+ currency?: string | null;
3607
+ division_code?: number | null;
3608
+ email?: string | null;
3609
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3610
+ exact_id: string;
3611
+ exact_modified?: string | null;
3612
+ exact_timestamp?: number | null;
3613
+ id?: string;
3614
+ is_active?: boolean;
3615
+ name?: string | null;
3616
+ phone?: string | null;
3617
+ postcode?: string | null;
3618
+ raw?: import("../../../integrations/supabase/types").Json | null;
3619
+ status?: string | null;
3620
+ updated_at?: string;
3621
+ vat_number?: string | null;
3622
+ website?: string | null;
3623
+ };
3624
+ Update: {
3625
+ account_key?: string;
3626
+ address_line1?: string | null;
3627
+ chamber_of_commerce?: string | null;
3628
+ city?: string | null;
3629
+ code?: string | null;
3630
+ country?: string | null;
3631
+ created_at?: string;
3632
+ currency?: string | null;
3633
+ division_code?: number | null;
3634
+ email?: string | null;
3635
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3636
+ exact_id?: string;
3637
+ exact_modified?: string | null;
3638
+ exact_timestamp?: number | null;
3639
+ id?: string;
3640
+ is_active?: boolean;
3641
+ name?: string | null;
3642
+ phone?: string | null;
3643
+ postcode?: string | null;
3644
+ raw?: import("../../../integrations/supabase/types").Json | null;
3645
+ status?: string | null;
3646
+ updated_at?: string;
3647
+ vat_number?: string | null;
3648
+ website?: string | null;
3649
+ };
3650
+ Relationships: [];
3651
+ };
3652
+ exact_auth_divisions: {
3653
+ Row: {
3654
+ account_key: string;
3655
+ company_name: string | null;
3656
+ created_at: string;
3657
+ division_code: number | null;
3658
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3659
+ id: string;
3660
+ last_synced_at: string | null;
3661
+ updated_at: string;
3662
+ };
3663
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
3684
+ };
3685
+ exact_auth_invoice_lines: {
3686
+ Row: {
3687
+ account_key: string;
3688
+ amount_excl: number | null;
3689
+ created_at: string;
3690
+ description: string | null;
3691
+ discount: number | null;
3692
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3693
+ exact_id: string;
3694
+ exact_timestamp: number | null;
3695
+ id: string;
3696
+ invoice_exact_id: string;
3697
+ item_code: string | null;
3698
+ item_exact_id: string | null;
3699
+ line_number: number | null;
3700
+ quantity: number | null;
3701
+ raw: import("../../../integrations/supabase/types").Json | null;
3702
+ unit_price: number | null;
3703
+ updated_at: string;
3704
+ vat_amount: number | null;
3705
+ vat_code: string | null;
3706
+ };
3707
+ Insert: {
3708
+ account_key?: string;
3709
+ amount_excl?: number | null;
3710
+ created_at?: string;
3711
+ description?: string | null;
3712
+ discount?: number | null;
3713
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3714
+ exact_id: string;
3715
+ exact_timestamp?: number | null;
3716
+ id?: string;
3717
+ invoice_exact_id: string;
3718
+ item_code?: string | null;
3719
+ item_exact_id?: string | null;
3720
+ line_number?: number | null;
3721
+ quantity?: number | null;
3722
+ raw?: import("../../../integrations/supabase/types").Json | null;
3723
+ unit_price?: number | null;
3724
+ updated_at?: string;
3725
+ vat_amount?: number | null;
3726
+ vat_code?: string | null;
3727
+ };
3728
+ Update: {
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
+ Relationships: [];
3750
+ };
3751
+ exact_auth_invoices: {
3752
+ Row: {
3753
+ account_key: string;
3754
+ amount_excl: number | null;
3755
+ amount_incl: number | null;
3756
+ amount_open: number | null;
3757
+ created_at: string;
3758
+ currency: string | null;
3759
+ customer_code: string | null;
3760
+ customer_exact_id: string | null;
3761
+ customer_name: string | null;
3762
+ description: string | null;
3763
+ division_code: number | null;
3764
+ due_date: string | null;
3765
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3766
+ exact_id: string;
3767
+ exact_modified: string | null;
3768
+ exact_timestamp: number | null;
3769
+ id: string;
3770
+ invoice_date: string | null;
3771
+ invoice_number: string | null;
3772
+ order_number: string | null;
3773
+ paid_at: string | null;
3774
+ payment_status: string;
3775
+ raw: import("../../../integrations/supabase/types").Json | null;
3776
+ receivable_synced_at: string | null;
3777
+ status_code: number | null;
3778
+ updated_at: string;
3779
+ };
3780
+ Insert: {
3781
+ account_key?: string;
3782
+ amount_excl?: number | null;
3783
+ amount_incl?: number | null;
3784
+ amount_open?: number | null;
3785
+ created_at?: string;
3786
+ currency?: string | null;
3787
+ customer_code?: string | null;
3788
+ customer_exact_id?: string | null;
3789
+ customer_name?: string | null;
3790
+ description?: string | null;
3791
+ division_code?: number | null;
3792
+ due_date?: string | null;
3793
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3794
+ exact_id: string;
3795
+ exact_modified?: string | null;
3796
+ exact_timestamp?: number | null;
3797
+ id?: string;
3798
+ invoice_date?: string | null;
3799
+ invoice_number?: string | null;
3800
+ order_number?: string | null;
3801
+ paid_at?: string | null;
3802
+ payment_status?: string;
3803
+ raw?: import("../../../integrations/supabase/types").Json | null;
3804
+ receivable_synced_at?: string | null;
3805
+ status_code?: number | null;
3806
+ updated_at?: string;
3807
+ };
3808
+ Update: {
3809
+ account_key?: string;
3810
+ amount_excl?: number | null;
3811
+ amount_incl?: number | null;
3812
+ amount_open?: number | null;
3813
+ created_at?: string;
3814
+ currency?: string | null;
3815
+ customer_code?: string | null;
3816
+ customer_exact_id?: string | null;
3817
+ customer_name?: string | null;
3818
+ description?: string | null;
3819
+ division_code?: number | null;
3820
+ due_date?: string | null;
3821
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3822
+ exact_id?: string;
3823
+ exact_modified?: string | null;
3824
+ exact_timestamp?: number | null;
3825
+ id?: string;
3826
+ invoice_date?: string | null;
3827
+ invoice_number?: string | null;
3828
+ order_number?: string | null;
3829
+ paid_at?: string | null;
3830
+ payment_status?: string;
3831
+ raw?: import("../../../integrations/supabase/types").Json | null;
3832
+ receivable_synced_at?: string | null;
3833
+ status_code?: number | null;
3834
+ updated_at?: string;
3835
+ };
3836
+ Relationships: [];
3837
+ };
3838
+ exact_auth_items: {
3839
+ Row: {
3840
+ account_key: string;
3841
+ barcode: string | null;
3842
+ code: string | null;
3843
+ cost_price: number | null;
3844
+ created_at: string;
3845
+ description: string | null;
3846
+ division_code: number | null;
3847
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3848
+ exact_id: string;
3849
+ exact_modified: string | null;
3850
+ exact_timestamp: number | null;
3851
+ gl_account_code: string | null;
3852
+ id: string;
3853
+ is_active: boolean;
3854
+ is_sales_item: boolean | null;
3855
+ item_type: string | null;
3856
+ raw: import("../../../integrations/supabase/types").Json | null;
3857
+ sales_price: number | null;
3858
+ unit: string | null;
3859
+ updated_at: string;
3860
+ vat_code: string | null;
3861
+ };
3862
+ Insert: {
3863
+ account_key?: string;
3864
+ barcode?: string | null;
3865
+ code?: string | null;
3866
+ cost_price?: number | null;
3867
+ created_at?: string;
3868
+ description?: string | null;
3869
+ division_code?: number | null;
3870
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3871
+ exact_id: string;
3872
+ exact_modified?: string | null;
3873
+ exact_timestamp?: number | null;
3874
+ gl_account_code?: string | null;
3875
+ id?: string;
3876
+ is_active?: boolean;
3877
+ is_sales_item?: boolean | null;
3878
+ item_type?: string | null;
3879
+ raw?: import("../../../integrations/supabase/types").Json | null;
3880
+ sales_price?: number | null;
3881
+ unit?: string | null;
3882
+ updated_at?: string;
3883
+ vat_code?: string | null;
3884
+ };
3885
+ Update: {
3886
+ account_key?: string;
3887
+ barcode?: string | null;
3888
+ code?: string | null;
3889
+ cost_price?: number | null;
3890
+ created_at?: string;
3891
+ description?: string | null;
3892
+ division_code?: number | null;
3893
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3894
+ exact_id?: string;
3895
+ exact_modified?: string | null;
3896
+ exact_timestamp?: number | null;
3897
+ gl_account_code?: string | null;
3898
+ id?: string;
3899
+ is_active?: boolean;
3900
+ is_sales_item?: boolean | null;
3901
+ item_type?: string | null;
3902
+ raw?: import("../../../integrations/supabase/types").Json | null;
3903
+ sales_price?: number | null;
3904
+ unit?: string | null;
3905
+ updated_at?: string;
3906
+ vat_code?: string | null;
3907
+ };
3908
+ Relationships: [];
3909
+ };
3910
+ exact_auth_sync_log: {
3911
+ Row: {
3912
+ account_key: string;
3913
+ calls_used: number;
3914
+ created_at: string;
3915
+ domain: string;
3916
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3917
+ error: string | null;
3918
+ finished_at: string | null;
3919
+ id: string;
3920
+ ok: boolean;
3921
+ records: number;
3922
+ started_at: string;
3923
+ };
3924
+ Insert: {
3925
+ account_key?: string;
3926
+ calls_used?: number;
3927
+ created_at?: string;
3928
+ domain: string;
3929
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3930
+ error?: string | null;
3931
+ finished_at?: string | null;
3932
+ id?: string;
3933
+ ok?: boolean;
3934
+ records?: number;
3935
+ started_at?: string;
3936
+ };
3937
+ Update: {
3938
+ account_key?: string;
3939
+ calls_used?: number;
3940
+ created_at?: string;
3941
+ domain?: string;
3942
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3943
+ error?: string | null;
3944
+ finished_at?: string | null;
3945
+ id?: string;
3946
+ ok?: boolean;
3947
+ records?: number;
3948
+ started_at?: string;
3949
+ };
3950
+ Relationships: [];
3951
+ };
3952
+ exact_auth_sync_state: {
3953
+ Row: {
3954
+ account_key: string;
3955
+ created_at: string;
3956
+ cursor_timestamp: number;
3957
+ division_code: number | null;
3958
+ domain: string;
3959
+ duration_ms: number | null;
3960
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3961
+ initial_sync_done: boolean;
3962
+ last_error: string | null;
3963
+ last_run_at: string | null;
3964
+ last_success_at: string | null;
3965
+ locked_at: string | null;
3966
+ needs_initial_sync: boolean;
3967
+ record_count: number;
3968
+ updated_at: string;
3969
+ };
3970
+ Insert: {
3971
+ account_key?: string;
3972
+ created_at?: string;
3973
+ cursor_timestamp?: number;
3974
+ division_code?: number | null;
3975
+ domain: string;
3976
+ duration_ms?: number | null;
3977
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3978
+ initial_sync_done?: boolean;
3979
+ last_error?: string | null;
3980
+ last_run_at?: string | null;
3981
+ last_success_at?: string | null;
3982
+ locked_at?: string | null;
3983
+ needs_initial_sync?: boolean;
3984
+ record_count?: number;
3985
+ updated_at?: string;
3986
+ };
3987
+ Update: {
3988
+ account_key?: string;
3989
+ created_at?: string;
3990
+ cursor_timestamp?: number;
3991
+ division_code?: number | null;
3992
+ domain?: string;
3993
+ duration_ms?: number | null;
3994
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3995
+ initial_sync_done?: boolean;
3996
+ last_error?: string | null;
3997
+ last_run_at?: string | null;
3998
+ last_success_at?: string | null;
3999
+ locked_at?: string | null;
4000
+ needs_initial_sync?: boolean;
4001
+ record_count?: number;
4002
+ updated_at?: string;
4003
+ };
4004
+ Relationships: [];
4005
+ };
3538
4006
  exact_bulk_operation_items: {
3539
4007
  Row: {
3540
4008
  attempts: number;
@@ -10035,6 +10503,7 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
10035
10503
  };
10036
10504
  offer_settings: {
10037
10505
  Row: {
10506
+ brand_name: string | null;
10038
10507
  button_color: string;
10039
10508
  created_at: string;
10040
10509
  default_countries: string[];
@@ -10056,6 +10525,7 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
10056
10525
  updated_at: string;
10057
10526
  };
10058
10527
  Insert: {
10528
+ brand_name?: string | null;
10059
10529
  button_color?: string;
10060
10530
  created_at?: string;
10061
10531
  default_countries?: string[];
@@ -10077,6 +10547,7 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
10077
10547
  updated_at?: string;
10078
10548
  };
10079
10549
  Update: {
10550
+ brand_name?: string | null;
10080
10551
  button_color?: string;
10081
10552
  created_at?: string;
10082
10553
  default_countries?: string[];
@@ -17927,6 +18398,21 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
17927
18398
  Args: never;
17928
18399
  Returns: string;
17929
18400
  };
18401
+ exact_auth_consume_calls: {
18402
+ Args: {
18403
+ _account_key: string;
18404
+ _calls?: number;
18405
+ _day_limit?: number;
18406
+ _division_code: number;
18407
+ _environment: string;
18408
+ _minute_limit?: number;
18409
+ };
18410
+ Returns: import("../../../integrations/supabase/types").Json;
18411
+ };
18412
+ exact_auth_prune_sync_log: {
18413
+ Args: never;
18414
+ Returns: undefined;
18415
+ };
17930
18416
  exact_decrypt: {
17931
18417
  Args: {
17932
18418
  cipher: string;
@@ -18136,6 +18622,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
18136
18622
  };
18137
18623
  Returns: number;
18138
18624
  };
18625
+ get_offer_branding: {
18626
+ Args: never;
18627
+ Returns: import("../../../integrations/supabase/types").Json;
18628
+ };
18139
18629
  get_offer_by_link_code: {
18140
18630
  Args: {
18141
18631
  p_code: string;
@@ -23351,6 +23841,474 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
23351
23841
  referencedColumns: ["id"];
23352
23842
  }];
23353
23843
  };
23844
+ exact_auth_call_budget: {
23845
+ Row: {
23846
+ account_key: string;
23847
+ day_count: number;
23848
+ day_date: string;
23849
+ division_code: number;
23850
+ environment: string;
23851
+ minute_count: number;
23852
+ minute_window: string;
23853
+ updated_at: string;
23854
+ };
23855
+ Insert: {
23856
+ account_key?: string;
23857
+ day_count?: number;
23858
+ day_date?: string;
23859
+ division_code?: number;
23860
+ environment: string;
23861
+ minute_count?: number;
23862
+ minute_window?: string;
23863
+ updated_at?: string;
23864
+ };
23865
+ Update: {
23866
+ account_key?: string;
23867
+ day_count?: number;
23868
+ day_date?: string;
23869
+ division_code?: number;
23870
+ environment?: string;
23871
+ minute_count?: number;
23872
+ minute_window?: string;
23873
+ updated_at?: string;
23874
+ };
23875
+ Relationships: [];
23876
+ };
23877
+ exact_auth_customers: {
23878
+ Row: {
23879
+ account_key: string;
23880
+ address_line1: string | null;
23881
+ chamber_of_commerce: string | null;
23882
+ city: string | null;
23883
+ code: string | null;
23884
+ country: string | null;
23885
+ created_at: string;
23886
+ currency: string | null;
23887
+ division_code: number | null;
23888
+ email: string | null;
23889
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23890
+ exact_id: string;
23891
+ exact_modified: string | null;
23892
+ exact_timestamp: number | null;
23893
+ id: string;
23894
+ is_active: boolean;
23895
+ name: string | null;
23896
+ phone: string | null;
23897
+ postcode: string | null;
23898
+ raw: import("../../../integrations/supabase/types").Json | null;
23899
+ status: string | null;
23900
+ updated_at: string;
23901
+ vat_number: string | null;
23902
+ website: string | null;
23903
+ };
23904
+ Insert: {
23905
+ account_key?: string;
23906
+ address_line1?: string | null;
23907
+ chamber_of_commerce?: string | null;
23908
+ city?: string | null;
23909
+ code?: string | null;
23910
+ country?: string | null;
23911
+ created_at?: string;
23912
+ currency?: string | null;
23913
+ division_code?: number | null;
23914
+ email?: string | null;
23915
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23916
+ exact_id: string;
23917
+ exact_modified?: string | null;
23918
+ exact_timestamp?: number | null;
23919
+ id?: string;
23920
+ is_active?: boolean;
23921
+ name?: string | null;
23922
+ phone?: string | null;
23923
+ postcode?: string | null;
23924
+ raw?: import("../../../integrations/supabase/types").Json | null;
23925
+ status?: string | null;
23926
+ updated_at?: string;
23927
+ vat_number?: string | null;
23928
+ website?: string | null;
23929
+ };
23930
+ Update: {
23931
+ account_key?: string;
23932
+ address_line1?: string | null;
23933
+ chamber_of_commerce?: string | null;
23934
+ city?: string | null;
23935
+ code?: string | null;
23936
+ country?: string | null;
23937
+ created_at?: string;
23938
+ currency?: string | null;
23939
+ division_code?: number | null;
23940
+ email?: string | null;
23941
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23942
+ exact_id?: string;
23943
+ exact_modified?: string | null;
23944
+ exact_timestamp?: number | null;
23945
+ id?: string;
23946
+ is_active?: boolean;
23947
+ name?: string | null;
23948
+ phone?: string | null;
23949
+ postcode?: string | null;
23950
+ raw?: import("../../../integrations/supabase/types").Json | null;
23951
+ status?: string | null;
23952
+ updated_at?: string;
23953
+ vat_number?: string | null;
23954
+ website?: string | null;
23955
+ };
23956
+ Relationships: [];
23957
+ };
23958
+ exact_auth_divisions: {
23959
+ Row: {
23960
+ account_key: string;
23961
+ company_name: string | null;
23962
+ created_at: string;
23963
+ division_code: number | null;
23964
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23965
+ id: string;
23966
+ last_synced_at: string | null;
23967
+ updated_at: string;
23968
+ };
23969
+ Insert: {
23970
+ account_key?: string;
23971
+ company_name?: string | null;
23972
+ created_at?: string;
23973
+ division_code?: number | null;
23974
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23975
+ id?: string;
23976
+ last_synced_at?: string | null;
23977
+ updated_at?: string;
23978
+ };
23979
+ Update: {
23980
+ account_key?: string;
23981
+ company_name?: string | null;
23982
+ created_at?: string;
23983
+ division_code?: number | null;
23984
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23985
+ id?: string;
23986
+ last_synced_at?: string | null;
23987
+ updated_at?: string;
23988
+ };
23989
+ Relationships: [];
23990
+ };
23991
+ exact_auth_invoice_lines: {
23992
+ Row: {
23993
+ account_key: string;
23994
+ amount_excl: number | null;
23995
+ created_at: string;
23996
+ description: string | null;
23997
+ discount: number | null;
23998
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23999
+ exact_id: string;
24000
+ exact_timestamp: number | null;
24001
+ id: string;
24002
+ invoice_exact_id: string;
24003
+ item_code: string | null;
24004
+ item_exact_id: string | null;
24005
+ line_number: number | null;
24006
+ quantity: number | null;
24007
+ raw: import("../../../integrations/supabase/types").Json | null;
24008
+ unit_price: number | null;
24009
+ updated_at: string;
24010
+ vat_amount: number | null;
24011
+ vat_code: string | null;
24012
+ };
24013
+ Insert: {
24014
+ account_key?: string;
24015
+ amount_excl?: number | null;
24016
+ created_at?: string;
24017
+ description?: string | null;
24018
+ discount?: number | null;
24019
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24020
+ exact_id: string;
24021
+ exact_timestamp?: number | null;
24022
+ id?: string;
24023
+ invoice_exact_id: string;
24024
+ item_code?: string | null;
24025
+ item_exact_id?: string | null;
24026
+ line_number?: number | null;
24027
+ quantity?: number | null;
24028
+ raw?: import("../../../integrations/supabase/types").Json | null;
24029
+ unit_price?: number | null;
24030
+ updated_at?: string;
24031
+ vat_amount?: number | null;
24032
+ vat_code?: string | null;
24033
+ };
24034
+ Update: {
24035
+ account_key?: string;
24036
+ amount_excl?: number | null;
24037
+ created_at?: string;
24038
+ description?: string | null;
24039
+ discount?: number | null;
24040
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24041
+ exact_id?: string;
24042
+ exact_timestamp?: number | null;
24043
+ id?: string;
24044
+ invoice_exact_id?: string;
24045
+ item_code?: string | null;
24046
+ item_exact_id?: string | null;
24047
+ line_number?: number | null;
24048
+ quantity?: number | null;
24049
+ raw?: import("../../../integrations/supabase/types").Json | null;
24050
+ unit_price?: number | null;
24051
+ updated_at?: string;
24052
+ vat_amount?: number | null;
24053
+ vat_code?: string | null;
24054
+ };
24055
+ Relationships: [];
24056
+ };
24057
+ exact_auth_invoices: {
24058
+ Row: {
24059
+ account_key: string;
24060
+ amount_excl: number | null;
24061
+ amount_incl: number | null;
24062
+ amount_open: number | null;
24063
+ created_at: string;
24064
+ currency: string | null;
24065
+ customer_code: string | null;
24066
+ customer_exact_id: string | null;
24067
+ customer_name: string | null;
24068
+ description: string | null;
24069
+ division_code: number | null;
24070
+ due_date: string | null;
24071
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24072
+ exact_id: string;
24073
+ exact_modified: string | null;
24074
+ exact_timestamp: number | null;
24075
+ id: string;
24076
+ invoice_date: string | null;
24077
+ invoice_number: string | null;
24078
+ order_number: string | null;
24079
+ paid_at: string | null;
24080
+ payment_status: string;
24081
+ raw: import("../../../integrations/supabase/types").Json | null;
24082
+ receivable_synced_at: string | null;
24083
+ status_code: number | null;
24084
+ updated_at: string;
24085
+ };
24086
+ Insert: {
24087
+ account_key?: string;
24088
+ amount_excl?: number | null;
24089
+ amount_incl?: number | null;
24090
+ amount_open?: number | null;
24091
+ created_at?: string;
24092
+ currency?: string | null;
24093
+ customer_code?: string | null;
24094
+ customer_exact_id?: string | null;
24095
+ customer_name?: string | null;
24096
+ description?: string | null;
24097
+ division_code?: number | null;
24098
+ due_date?: string | null;
24099
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24100
+ exact_id: string;
24101
+ exact_modified?: string | null;
24102
+ exact_timestamp?: number | null;
24103
+ id?: string;
24104
+ invoice_date?: string | null;
24105
+ invoice_number?: string | null;
24106
+ order_number?: string | null;
24107
+ paid_at?: string | null;
24108
+ payment_status?: string;
24109
+ raw?: import("../../../integrations/supabase/types").Json | null;
24110
+ receivable_synced_at?: string | null;
24111
+ status_code?: number | null;
24112
+ updated_at?: string;
24113
+ };
24114
+ Update: {
24115
+ account_key?: string;
24116
+ amount_excl?: number | null;
24117
+ amount_incl?: number | null;
24118
+ amount_open?: number | null;
24119
+ created_at?: string;
24120
+ currency?: string | null;
24121
+ customer_code?: string | null;
24122
+ customer_exact_id?: string | null;
24123
+ customer_name?: string | null;
24124
+ description?: string | null;
24125
+ division_code?: number | null;
24126
+ due_date?: string | null;
24127
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24128
+ exact_id?: string;
24129
+ exact_modified?: string | null;
24130
+ exact_timestamp?: number | null;
24131
+ id?: string;
24132
+ invoice_date?: string | null;
24133
+ invoice_number?: string | null;
24134
+ order_number?: string | null;
24135
+ paid_at?: string | null;
24136
+ payment_status?: string;
24137
+ raw?: import("../../../integrations/supabase/types").Json | null;
24138
+ receivable_synced_at?: string | null;
24139
+ status_code?: number | null;
24140
+ updated_at?: string;
24141
+ };
24142
+ Relationships: [];
24143
+ };
24144
+ exact_auth_items: {
24145
+ Row: {
24146
+ account_key: string;
24147
+ barcode: string | null;
24148
+ code: string | null;
24149
+ cost_price: number | null;
24150
+ created_at: string;
24151
+ description: string | null;
24152
+ division_code: number | null;
24153
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24154
+ exact_id: string;
24155
+ exact_modified: string | null;
24156
+ exact_timestamp: number | null;
24157
+ gl_account_code: string | null;
24158
+ id: string;
24159
+ is_active: boolean;
24160
+ is_sales_item: boolean | null;
24161
+ item_type: string | null;
24162
+ raw: import("../../../integrations/supabase/types").Json | null;
24163
+ sales_price: number | null;
24164
+ unit: string | null;
24165
+ updated_at: string;
24166
+ vat_code: string | null;
24167
+ };
24168
+ Insert: {
24169
+ account_key?: string;
24170
+ barcode?: string | null;
24171
+ code?: string | null;
24172
+ cost_price?: number | null;
24173
+ created_at?: string;
24174
+ description?: string | null;
24175
+ division_code?: number | null;
24176
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24177
+ exact_id: string;
24178
+ exact_modified?: string | null;
24179
+ exact_timestamp?: number | null;
24180
+ gl_account_code?: string | null;
24181
+ id?: string;
24182
+ is_active?: boolean;
24183
+ is_sales_item?: boolean | null;
24184
+ item_type?: string | null;
24185
+ raw?: import("../../../integrations/supabase/types").Json | null;
24186
+ sales_price?: number | null;
24187
+ unit?: string | null;
24188
+ updated_at?: string;
24189
+ vat_code?: string | null;
24190
+ };
24191
+ Update: {
24192
+ account_key?: string;
24193
+ barcode?: string | null;
24194
+ code?: string | null;
24195
+ cost_price?: number | null;
24196
+ created_at?: string;
24197
+ description?: string | null;
24198
+ division_code?: number | null;
24199
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24200
+ exact_id?: string;
24201
+ exact_modified?: string | null;
24202
+ exact_timestamp?: number | null;
24203
+ gl_account_code?: string | null;
24204
+ id?: string;
24205
+ is_active?: boolean;
24206
+ is_sales_item?: boolean | null;
24207
+ item_type?: string | null;
24208
+ raw?: import("../../../integrations/supabase/types").Json | null;
24209
+ sales_price?: number | null;
24210
+ unit?: string | null;
24211
+ updated_at?: string;
24212
+ vat_code?: string | null;
24213
+ };
24214
+ Relationships: [];
24215
+ };
24216
+ exact_auth_sync_log: {
24217
+ Row: {
24218
+ account_key: string;
24219
+ calls_used: number;
24220
+ created_at: string;
24221
+ domain: string;
24222
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24223
+ error: string | null;
24224
+ finished_at: string | null;
24225
+ id: string;
24226
+ ok: boolean;
24227
+ records: number;
24228
+ started_at: string;
24229
+ };
24230
+ Insert: {
24231
+ account_key?: string;
24232
+ calls_used?: number;
24233
+ created_at?: string;
24234
+ domain: string;
24235
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24236
+ error?: string | null;
24237
+ finished_at?: string | null;
24238
+ id?: string;
24239
+ ok?: boolean;
24240
+ records?: number;
24241
+ started_at?: string;
24242
+ };
24243
+ Update: {
24244
+ account_key?: string;
24245
+ calls_used?: number;
24246
+ created_at?: string;
24247
+ domain?: string;
24248
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24249
+ error?: string | null;
24250
+ finished_at?: string | null;
24251
+ id?: string;
24252
+ ok?: boolean;
24253
+ records?: number;
24254
+ started_at?: string;
24255
+ };
24256
+ Relationships: [];
24257
+ };
24258
+ exact_auth_sync_state: {
24259
+ Row: {
24260
+ account_key: string;
24261
+ created_at: string;
24262
+ cursor_timestamp: number;
24263
+ division_code: number | null;
24264
+ domain: string;
24265
+ duration_ms: number | null;
24266
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24267
+ initial_sync_done: boolean;
24268
+ last_error: string | null;
24269
+ last_run_at: string | null;
24270
+ last_success_at: string | null;
24271
+ locked_at: string | null;
24272
+ needs_initial_sync: boolean;
24273
+ record_count: number;
24274
+ updated_at: string;
24275
+ };
24276
+ Insert: {
24277
+ account_key?: string;
24278
+ created_at?: string;
24279
+ cursor_timestamp?: number;
24280
+ division_code?: number | null;
24281
+ domain: string;
24282
+ duration_ms?: number | null;
24283
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24284
+ initial_sync_done?: boolean;
24285
+ last_error?: string | null;
24286
+ last_run_at?: string | null;
24287
+ last_success_at?: string | null;
24288
+ locked_at?: string | null;
24289
+ needs_initial_sync?: boolean;
24290
+ record_count?: number;
24291
+ updated_at?: string;
24292
+ };
24293
+ Update: {
24294
+ account_key?: string;
24295
+ created_at?: string;
24296
+ cursor_timestamp?: number;
24297
+ division_code?: number | null;
24298
+ domain?: string;
24299
+ duration_ms?: number | null;
24300
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24301
+ initial_sync_done?: boolean;
24302
+ last_error?: string | null;
24303
+ last_run_at?: string | null;
24304
+ last_success_at?: string | null;
24305
+ locked_at?: string | null;
24306
+ needs_initial_sync?: boolean;
24307
+ record_count?: number;
24308
+ updated_at?: string;
24309
+ };
24310
+ Relationships: [];
24311
+ };
23354
24312
  exact_bulk_operation_items: {
23355
24313
  Row: {
23356
24314
  attempts: number;
@@ -29851,6 +30809,7 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
29851
30809
  };
29852
30810
  offer_settings: {
29853
30811
  Row: {
30812
+ brand_name: string | null;
29854
30813
  button_color: string;
29855
30814
  created_at: string;
29856
30815
  default_countries: string[];
@@ -29872,6 +30831,7 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
29872
30831
  updated_at: string;
29873
30832
  };
29874
30833
  Insert: {
30834
+ brand_name?: string | null;
29875
30835
  button_color?: string;
29876
30836
  created_at?: string;
29877
30837
  default_countries?: string[];
@@ -29893,6 +30853,7 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
29893
30853
  updated_at?: string;
29894
30854
  };
29895
30855
  Update: {
30856
+ brand_name?: string | null;
29896
30857
  button_color?: string;
29897
30858
  created_at?: string;
29898
30859
  default_countries?: string[];
@@ -37743,6 +38704,21 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
37743
38704
  Args: never;
37744
38705
  Returns: string;
37745
38706
  };
38707
+ exact_auth_consume_calls: {
38708
+ Args: {
38709
+ _account_key: string;
38710
+ _calls?: number;
38711
+ _day_limit?: number;
38712
+ _division_code: number;
38713
+ _environment: string;
38714
+ _minute_limit?: number;
38715
+ };
38716
+ Returns: import("../../../integrations/supabase/types").Json;
38717
+ };
38718
+ exact_auth_prune_sync_log: {
38719
+ Args: never;
38720
+ Returns: undefined;
38721
+ };
37746
38722
  exact_decrypt: {
37747
38723
  Args: {
37748
38724
  cipher: string;
@@ -37952,6 +38928,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
37952
38928
  };
37953
38929
  Returns: number;
37954
38930
  };
38931
+ get_offer_branding: {
38932
+ Args: never;
38933
+ Returns: import("../../../integrations/supabase/types").Json;
38934
+ };
37955
38935
  get_offer_by_link_code: {
37956
38936
  Args: {
37957
38937
  p_code: string;
@@ -43169,6 +44149,474 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
43169
44149
  referencedColumns: ["id"];
43170
44150
  }];
43171
44151
  };
44152
+ exact_auth_call_budget: {
44153
+ Row: {
44154
+ account_key: string;
44155
+ day_count: number;
44156
+ day_date: string;
44157
+ division_code: number;
44158
+ environment: string;
44159
+ minute_count: number;
44160
+ minute_window: string;
44161
+ updated_at: string;
44162
+ };
44163
+ Insert: {
44164
+ account_key?: string;
44165
+ day_count?: number;
44166
+ day_date?: string;
44167
+ division_code?: number;
44168
+ environment: string;
44169
+ minute_count?: number;
44170
+ minute_window?: string;
44171
+ updated_at?: string;
44172
+ };
44173
+ Update: {
44174
+ account_key?: string;
44175
+ day_count?: number;
44176
+ day_date?: string;
44177
+ division_code?: number;
44178
+ environment?: string;
44179
+ minute_count?: number;
44180
+ minute_window?: string;
44181
+ updated_at?: string;
44182
+ };
44183
+ Relationships: [];
44184
+ };
44185
+ exact_auth_customers: {
44186
+ Row: {
44187
+ account_key: string;
44188
+ address_line1: string | null;
44189
+ chamber_of_commerce: string | null;
44190
+ city: string | null;
44191
+ code: string | null;
44192
+ country: string | null;
44193
+ created_at: string;
44194
+ currency: string | null;
44195
+ division_code: number | null;
44196
+ email: string | null;
44197
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44198
+ exact_id: string;
44199
+ exact_modified: string | null;
44200
+ exact_timestamp: number | null;
44201
+ id: string;
44202
+ is_active: boolean;
44203
+ name: string | null;
44204
+ phone: string | null;
44205
+ postcode: string | null;
44206
+ raw: import("../../../integrations/supabase/types").Json | null;
44207
+ status: string | null;
44208
+ updated_at: string;
44209
+ vat_number: string | null;
44210
+ website: string | null;
44211
+ };
44212
+ Insert: {
44213
+ account_key?: string;
44214
+ address_line1?: string | null;
44215
+ chamber_of_commerce?: string | null;
44216
+ city?: string | null;
44217
+ code?: string | null;
44218
+ country?: string | null;
44219
+ created_at?: string;
44220
+ currency?: string | null;
44221
+ division_code?: number | null;
44222
+ email?: string | null;
44223
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44224
+ exact_id: string;
44225
+ exact_modified?: string | null;
44226
+ exact_timestamp?: number | null;
44227
+ id?: string;
44228
+ is_active?: boolean;
44229
+ name?: string | null;
44230
+ phone?: string | null;
44231
+ postcode?: string | null;
44232
+ raw?: import("../../../integrations/supabase/types").Json | null;
44233
+ status?: string | null;
44234
+ updated_at?: string;
44235
+ vat_number?: string | null;
44236
+ website?: string | null;
44237
+ };
44238
+ Update: {
44239
+ account_key?: string;
44240
+ address_line1?: string | null;
44241
+ chamber_of_commerce?: string | null;
44242
+ city?: string | null;
44243
+ code?: string | null;
44244
+ country?: string | null;
44245
+ created_at?: string;
44246
+ currency?: string | null;
44247
+ division_code?: number | null;
44248
+ email?: string | null;
44249
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44250
+ exact_id?: string;
44251
+ exact_modified?: string | null;
44252
+ exact_timestamp?: number | null;
44253
+ id?: string;
44254
+ is_active?: boolean;
44255
+ name?: string | null;
44256
+ phone?: string | null;
44257
+ postcode?: string | null;
44258
+ raw?: import("../../../integrations/supabase/types").Json | null;
44259
+ status?: string | null;
44260
+ updated_at?: string;
44261
+ vat_number?: string | null;
44262
+ website?: string | null;
44263
+ };
44264
+ Relationships: [];
44265
+ };
44266
+ exact_auth_divisions: {
44267
+ Row: {
44268
+ account_key: string;
44269
+ company_name: string | null;
44270
+ created_at: string;
44271
+ division_code: number | null;
44272
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44273
+ id: string;
44274
+ last_synced_at: string | null;
44275
+ updated_at: string;
44276
+ };
44277
+ Insert: {
44278
+ account_key?: string;
44279
+ company_name?: string | null;
44280
+ created_at?: string;
44281
+ division_code?: number | null;
44282
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44283
+ id?: string;
44284
+ last_synced_at?: string | null;
44285
+ updated_at?: string;
44286
+ };
44287
+ Update: {
44288
+ account_key?: string;
44289
+ company_name?: string | null;
44290
+ created_at?: string;
44291
+ division_code?: number | null;
44292
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44293
+ id?: string;
44294
+ last_synced_at?: string | null;
44295
+ updated_at?: string;
44296
+ };
44297
+ Relationships: [];
44298
+ };
44299
+ exact_auth_invoice_lines: {
44300
+ Row: {
44301
+ account_key: string;
44302
+ amount_excl: number | null;
44303
+ created_at: string;
44304
+ description: string | null;
44305
+ discount: number | null;
44306
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44307
+ exact_id: string;
44308
+ exact_timestamp: number | null;
44309
+ id: string;
44310
+ invoice_exact_id: string;
44311
+ item_code: string | null;
44312
+ item_exact_id: string | null;
44313
+ line_number: number | null;
44314
+ quantity: number | null;
44315
+ raw: import("../../../integrations/supabase/types").Json | null;
44316
+ unit_price: number | null;
44317
+ updated_at: string;
44318
+ vat_amount: number | null;
44319
+ vat_code: string | null;
44320
+ };
44321
+ Insert: {
44322
+ account_key?: string;
44323
+ amount_excl?: number | null;
44324
+ created_at?: string;
44325
+ description?: string | null;
44326
+ discount?: number | null;
44327
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44328
+ exact_id: string;
44329
+ exact_timestamp?: number | null;
44330
+ id?: string;
44331
+ invoice_exact_id: string;
44332
+ item_code?: string | null;
44333
+ item_exact_id?: string | null;
44334
+ line_number?: number | null;
44335
+ quantity?: number | null;
44336
+ raw?: import("../../../integrations/supabase/types").Json | null;
44337
+ unit_price?: number | null;
44338
+ updated_at?: string;
44339
+ vat_amount?: number | null;
44340
+ vat_code?: string | null;
44341
+ };
44342
+ Update: {
44343
+ account_key?: string;
44344
+ amount_excl?: number | null;
44345
+ created_at?: string;
44346
+ description?: string | null;
44347
+ discount?: number | null;
44348
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44349
+ exact_id?: string;
44350
+ exact_timestamp?: number | null;
44351
+ id?: string;
44352
+ invoice_exact_id?: string;
44353
+ item_code?: string | null;
44354
+ item_exact_id?: string | null;
44355
+ line_number?: number | null;
44356
+ quantity?: number | null;
44357
+ raw?: import("../../../integrations/supabase/types").Json | null;
44358
+ unit_price?: number | null;
44359
+ updated_at?: string;
44360
+ vat_amount?: number | null;
44361
+ vat_code?: string | null;
44362
+ };
44363
+ Relationships: [];
44364
+ };
44365
+ exact_auth_invoices: {
44366
+ Row: {
44367
+ account_key: string;
44368
+ amount_excl: number | null;
44369
+ amount_incl: number | null;
44370
+ amount_open: number | null;
44371
+ created_at: string;
44372
+ currency: string | null;
44373
+ customer_code: string | null;
44374
+ customer_exact_id: string | null;
44375
+ customer_name: string | null;
44376
+ description: string | null;
44377
+ division_code: number | null;
44378
+ due_date: string | null;
44379
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44380
+ exact_id: string;
44381
+ exact_modified: string | null;
44382
+ exact_timestamp: number | null;
44383
+ id: string;
44384
+ invoice_date: string | null;
44385
+ invoice_number: string | null;
44386
+ order_number: string | null;
44387
+ paid_at: string | null;
44388
+ payment_status: string;
44389
+ raw: import("../../../integrations/supabase/types").Json | null;
44390
+ receivable_synced_at: string | null;
44391
+ status_code: number | null;
44392
+ updated_at: string;
44393
+ };
44394
+ Insert: {
44395
+ account_key?: string;
44396
+ amount_excl?: number | null;
44397
+ amount_incl?: number | null;
44398
+ amount_open?: number | null;
44399
+ created_at?: string;
44400
+ currency?: string | null;
44401
+ customer_code?: string | null;
44402
+ customer_exact_id?: string | null;
44403
+ customer_name?: string | null;
44404
+ description?: string | null;
44405
+ division_code?: number | null;
44406
+ due_date?: string | null;
44407
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44408
+ exact_id: string;
44409
+ exact_modified?: string | null;
44410
+ exact_timestamp?: number | null;
44411
+ id?: string;
44412
+ invoice_date?: string | null;
44413
+ invoice_number?: string | null;
44414
+ order_number?: string | null;
44415
+ paid_at?: string | null;
44416
+ payment_status?: string;
44417
+ raw?: import("../../../integrations/supabase/types").Json | null;
44418
+ receivable_synced_at?: string | null;
44419
+ status_code?: number | null;
44420
+ updated_at?: string;
44421
+ };
44422
+ Update: {
44423
+ account_key?: string;
44424
+ amount_excl?: number | null;
44425
+ amount_incl?: number | null;
44426
+ amount_open?: number | null;
44427
+ created_at?: string;
44428
+ currency?: string | null;
44429
+ customer_code?: string | null;
44430
+ customer_exact_id?: string | null;
44431
+ customer_name?: string | null;
44432
+ description?: string | null;
44433
+ division_code?: number | null;
44434
+ due_date?: string | null;
44435
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44436
+ exact_id?: string;
44437
+ exact_modified?: string | null;
44438
+ exact_timestamp?: number | null;
44439
+ id?: string;
44440
+ invoice_date?: string | null;
44441
+ invoice_number?: string | null;
44442
+ order_number?: string | null;
44443
+ paid_at?: string | null;
44444
+ payment_status?: string;
44445
+ raw?: import("../../../integrations/supabase/types").Json | null;
44446
+ receivable_synced_at?: string | null;
44447
+ status_code?: number | null;
44448
+ updated_at?: string;
44449
+ };
44450
+ Relationships: [];
44451
+ };
44452
+ exact_auth_items: {
44453
+ Row: {
44454
+ account_key: string;
44455
+ barcode: string | null;
44456
+ code: string | null;
44457
+ cost_price: number | null;
44458
+ created_at: string;
44459
+ description: string | null;
44460
+ division_code: number | null;
44461
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44462
+ exact_id: string;
44463
+ exact_modified: string | null;
44464
+ exact_timestamp: number | null;
44465
+ gl_account_code: string | null;
44466
+ id: string;
44467
+ is_active: boolean;
44468
+ is_sales_item: boolean | null;
44469
+ item_type: string | null;
44470
+ raw: import("../../../integrations/supabase/types").Json | null;
44471
+ sales_price: number | null;
44472
+ unit: string | null;
44473
+ updated_at: string;
44474
+ vat_code: string | null;
44475
+ };
44476
+ Insert: {
44477
+ account_key?: string;
44478
+ barcode?: string | null;
44479
+ code?: string | null;
44480
+ cost_price?: number | null;
44481
+ created_at?: string;
44482
+ description?: string | null;
44483
+ division_code?: number | null;
44484
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44485
+ exact_id: string;
44486
+ exact_modified?: string | null;
44487
+ exact_timestamp?: number | null;
44488
+ gl_account_code?: string | null;
44489
+ id?: string;
44490
+ is_active?: boolean;
44491
+ is_sales_item?: boolean | null;
44492
+ item_type?: string | null;
44493
+ raw?: import("../../../integrations/supabase/types").Json | null;
44494
+ sales_price?: number | null;
44495
+ unit?: string | null;
44496
+ updated_at?: string;
44497
+ vat_code?: string | null;
44498
+ };
44499
+ Update: {
44500
+ account_key?: string;
44501
+ barcode?: string | null;
44502
+ code?: string | null;
44503
+ cost_price?: number | null;
44504
+ created_at?: string;
44505
+ description?: string | null;
44506
+ division_code?: number | null;
44507
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44508
+ exact_id?: string;
44509
+ exact_modified?: string | null;
44510
+ exact_timestamp?: number | null;
44511
+ gl_account_code?: string | null;
44512
+ id?: string;
44513
+ is_active?: boolean;
44514
+ is_sales_item?: boolean | null;
44515
+ item_type?: string | null;
44516
+ raw?: import("../../../integrations/supabase/types").Json | null;
44517
+ sales_price?: number | null;
44518
+ unit?: string | null;
44519
+ updated_at?: string;
44520
+ vat_code?: string | null;
44521
+ };
44522
+ Relationships: [];
44523
+ };
44524
+ exact_auth_sync_log: {
44525
+ Row: {
44526
+ account_key: string;
44527
+ calls_used: number;
44528
+ created_at: string;
44529
+ domain: string;
44530
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44531
+ error: string | null;
44532
+ finished_at: string | null;
44533
+ id: string;
44534
+ ok: boolean;
44535
+ records: number;
44536
+ started_at: string;
44537
+ };
44538
+ Insert: {
44539
+ account_key?: string;
44540
+ calls_used?: number;
44541
+ created_at?: string;
44542
+ domain: string;
44543
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44544
+ error?: string | null;
44545
+ finished_at?: string | null;
44546
+ id?: string;
44547
+ ok?: boolean;
44548
+ records?: number;
44549
+ started_at?: string;
44550
+ };
44551
+ Update: {
44552
+ account_key?: string;
44553
+ calls_used?: number;
44554
+ created_at?: string;
44555
+ domain?: string;
44556
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44557
+ error?: string | null;
44558
+ finished_at?: string | null;
44559
+ id?: string;
44560
+ ok?: boolean;
44561
+ records?: number;
44562
+ started_at?: string;
44563
+ };
44564
+ Relationships: [];
44565
+ };
44566
+ exact_auth_sync_state: {
44567
+ Row: {
44568
+ account_key: string;
44569
+ created_at: string;
44570
+ cursor_timestamp: number;
44571
+ division_code: number | null;
44572
+ domain: string;
44573
+ duration_ms: number | null;
44574
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44575
+ initial_sync_done: boolean;
44576
+ last_error: string | null;
44577
+ last_run_at: string | null;
44578
+ last_success_at: string | null;
44579
+ locked_at: string | null;
44580
+ needs_initial_sync: boolean;
44581
+ record_count: number;
44582
+ updated_at: string;
44583
+ };
44584
+ Insert: {
44585
+ account_key?: string;
44586
+ created_at?: string;
44587
+ cursor_timestamp?: number;
44588
+ division_code?: number | null;
44589
+ domain: string;
44590
+ duration_ms?: number | null;
44591
+ environment: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44592
+ initial_sync_done?: boolean;
44593
+ last_error?: string | null;
44594
+ last_run_at?: string | null;
44595
+ last_success_at?: string | null;
44596
+ locked_at?: string | null;
44597
+ needs_initial_sync?: boolean;
44598
+ record_count?: number;
44599
+ updated_at?: string;
44600
+ };
44601
+ Update: {
44602
+ account_key?: string;
44603
+ created_at?: string;
44604
+ cursor_timestamp?: number;
44605
+ division_code?: number | null;
44606
+ domain?: string;
44607
+ duration_ms?: number | null;
44608
+ environment?: import("../../../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44609
+ initial_sync_done?: boolean;
44610
+ last_error?: string | null;
44611
+ last_run_at?: string | null;
44612
+ last_success_at?: string | null;
44613
+ locked_at?: string | null;
44614
+ needs_initial_sync?: boolean;
44615
+ record_count?: number;
44616
+ updated_at?: string;
44617
+ };
44618
+ Relationships: [];
44619
+ };
43172
44620
  exact_bulk_operation_items: {
43173
44621
  Row: {
43174
44622
  attempts: number;
@@ -49669,6 +51117,7 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
49669
51117
  };
49670
51118
  offer_settings: {
49671
51119
  Row: {
51120
+ brand_name: string | null;
49672
51121
  button_color: string;
49673
51122
  created_at: string;
49674
51123
  default_countries: string[];
@@ -49690,6 +51139,7 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
49690
51139
  updated_at: string;
49691
51140
  };
49692
51141
  Insert: {
51142
+ brand_name?: string | null;
49693
51143
  button_color?: string;
49694
51144
  created_at?: string;
49695
51145
  default_countries?: string[];
@@ -49711,6 +51161,7 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
49711
51161
  updated_at?: string;
49712
51162
  };
49713
51163
  Update: {
51164
+ brand_name?: string | null;
49714
51165
  button_color?: string;
49715
51166
  created_at?: string;
49716
51167
  default_countries?: string[];
@@ -57561,6 +59012,21 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
57561
59012
  Args: never;
57562
59013
  Returns: string;
57563
59014
  };
59015
+ exact_auth_consume_calls: {
59016
+ Args: {
59017
+ _account_key: string;
59018
+ _calls?: number;
59019
+ _day_limit?: number;
59020
+ _division_code: number;
59021
+ _environment: string;
59022
+ _minute_limit?: number;
59023
+ };
59024
+ Returns: import("../../../integrations/supabase/types").Json;
59025
+ };
59026
+ exact_auth_prune_sync_log: {
59027
+ Args: never;
59028
+ Returns: undefined;
59029
+ };
57564
59030
  exact_decrypt: {
57565
59031
  Args: {
57566
59032
  cipher: string;
@@ -57770,6 +59236,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
57770
59236
  };
57771
59237
  Returns: number;
57772
59238
  };
59239
+ get_offer_branding: {
59240
+ Args: never;
59241
+ Returns: import("../../../integrations/supabase/types").Json;
59242
+ };
57773
59243
  get_offer_by_link_code: {
57774
59244
  Args: {
57775
59245
  p_code: string;