@flowselections/floriday-klanten-module 1.0.28 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist-lib/components/klanten/BewerkKlant.d.ts +6 -1
  2. package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
  3. package/dist-lib/components/klanten/BewerkKlant.js +9 -5
  4. package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts.map +1 -1
  5. package/dist-lib/components/klanten/DeliveryLocationsTab.js +2 -1
  6. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
  7. package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -2
  8. package/dist-lib/components/klanten/ImportKlanten.d.ts.map +1 -1
  9. package/dist-lib/components/klanten/ImportKlanten.js +2 -1
  10. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts +12 -0
  11. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts.map +1 -0
  12. package/dist-lib/components/klanten/KlantBewerkenDialog.js +27 -0
  13. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  14. package/dist-lib/components/klanten/KlantDetail.js +5 -3
  15. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  16. package/dist-lib/components/klanten/KlantenOverzicht.js +102 -16
  17. package/dist-lib/components/klanten/LocalDiscountFormDialog.d.ts.map +1 -1
  18. package/dist-lib/components/klanten/LocalDiscountFormDialog.js +2 -1
  19. package/dist-lib/components/klanten/LocalDiscountsTab.d.ts.map +1 -1
  20. package/dist-lib/components/klanten/LocalDiscountsTab.js +2 -1
  21. package/dist-lib/components/klanten/LogisticsStrategyCard.d.ts.map +1 -1
  22. package/dist-lib/components/klanten/LogisticsStrategyCard.js +2 -1
  23. package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -1
  24. package/dist-lib/components/klanten/NieuweKlant.js +2 -1
  25. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts +7 -1
  26. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts.map +1 -1
  27. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +16 -8
  28. package/dist-lib/components/klanten/RouteError.d.ts +6 -0
  29. package/dist-lib/components/klanten/RouteError.d.ts.map +1 -0
  30. package/dist-lib/components/klanten/RouteError.js +13 -0
  31. package/dist-lib/index.d.ts +1 -0
  32. package/dist-lib/index.d.ts.map +1 -1
  33. package/dist-lib/index.js +1 -0
  34. package/dist-lib/integrations/supabase/auth-middleware.d.ts +490 -0
  35. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  36. package/dist-lib/integrations/supabase/client.d.ts +490 -0
  37. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  38. package/dist-lib/integrations/supabase/client.server.d.ts +490 -0
  39. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  40. package/dist-lib/integrations/supabase/types.d.ts +490 -0
  41. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  42. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1470 -0
  43. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/accounting.functions.d.ts +1470 -0
  45. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/customer-analytics.functions.d.ts +490 -0
  47. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/customer-notes.functions.d.ts +980 -0
  49. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/customer-revenue.functions.d.ts +20327 -0
  51. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -0
  52. package/dist-lib/lib/customer-revenue.functions.js +124 -0
  53. package/dist-lib/lib/customers.functions.d.ts +4410 -0
  54. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/customers.functions.js +39 -35
  56. package/dist-lib/lib/delivery-locations.functions.d.ts +1960 -0
  57. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/errors.d.ts +7 -0
  59. package/dist-lib/lib/errors.d.ts.map +1 -0
  60. package/dist-lib/lib/errors.js +36 -0
  61. package/dist-lib/lib/external-customers.functions.d.ts +1961 -1
  62. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/external-customers.functions.js +28 -12
  64. package/dist-lib/lib/floriday-assortment.functions.d.ts +490 -0
  65. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  66. package/dist-lib/lib/floriday-discounts.functions.d.ts +980 -0
  67. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/floriday-trade-items.functions.d.ts +490 -0
  69. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/local-discounts.functions.d.ts +3430 -0
  71. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  72. package/dist-lib/lib/logistics-events.functions.d.ts +490 -0
  73. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/logistics-strategy.functions.d.ts +1960 -0
  75. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/overdue-invoices.functions.d.ts +490 -0
  77. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  78. package/dist-lib/lib/price-groups-local.functions.d.ts +3430 -0
  79. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  80. package/dist-lib/lib/price-groups.functions.d.ts +490 -0
  81. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  82. package/dist-lib/lib/twinfield-adopt.functions.d.ts +980 -0
  83. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/twinfield-ledger.functions.d.ts +490 -0
  85. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  86. package/package.json +2 -2
@@ -3536,6 +3536,474 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
3536
3536
  referencedColumns: ["id"];
3537
3537
  }];
3538
3538
  };
3539
+ exact_auth_call_budget: {
3540
+ Row: {
3541
+ account_key: string;
3542
+ day_count: number;
3543
+ day_date: string;
3544
+ division_code: number;
3545
+ environment: string;
3546
+ minute_count: number;
3547
+ minute_window: string;
3548
+ updated_at: string;
3549
+ };
3550
+ Insert: {
3551
+ account_key?: string;
3552
+ day_count?: number;
3553
+ day_date?: string;
3554
+ division_code?: number;
3555
+ environment: string;
3556
+ minute_count?: number;
3557
+ minute_window?: string;
3558
+ updated_at?: string;
3559
+ };
3560
+ Update: {
3561
+ account_key?: string;
3562
+ day_count?: number;
3563
+ day_date?: string;
3564
+ division_code?: number;
3565
+ environment?: string;
3566
+ minute_count?: number;
3567
+ minute_window?: string;
3568
+ updated_at?: string;
3569
+ };
3570
+ Relationships: [];
3571
+ };
3572
+ exact_auth_customers: {
3573
+ Row: {
3574
+ account_key: string;
3575
+ address_line1: string | null;
3576
+ chamber_of_commerce: string | null;
3577
+ city: string | null;
3578
+ code: string | null;
3579
+ country: string | null;
3580
+ created_at: string;
3581
+ currency: string | null;
3582
+ division_code: number | null;
3583
+ email: string | null;
3584
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3585
+ exact_id: string;
3586
+ exact_modified: string | null;
3587
+ exact_timestamp: number | null;
3588
+ id: string;
3589
+ is_active: boolean;
3590
+ name: string | null;
3591
+ phone: string | null;
3592
+ postcode: string | null;
3593
+ raw: import("../integrations/supabase/types").Json | null;
3594
+ status: string | null;
3595
+ updated_at: string;
3596
+ vat_number: string | null;
3597
+ website: string | null;
3598
+ };
3599
+ Insert: {
3600
+ account_key?: string;
3601
+ address_line1?: string | null;
3602
+ chamber_of_commerce?: string | null;
3603
+ city?: string | null;
3604
+ code?: string | null;
3605
+ country?: string | null;
3606
+ created_at?: string;
3607
+ currency?: string | null;
3608
+ division_code?: number | null;
3609
+ email?: string | null;
3610
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3611
+ exact_id: string;
3612
+ exact_modified?: string | null;
3613
+ exact_timestamp?: number | null;
3614
+ id?: string;
3615
+ is_active?: boolean;
3616
+ name?: string | null;
3617
+ phone?: string | null;
3618
+ postcode?: string | null;
3619
+ raw?: import("../integrations/supabase/types").Json | null;
3620
+ status?: string | null;
3621
+ updated_at?: string;
3622
+ vat_number?: string | null;
3623
+ website?: string | null;
3624
+ };
3625
+ Update: {
3626
+ account_key?: string;
3627
+ address_line1?: string | null;
3628
+ chamber_of_commerce?: string | null;
3629
+ city?: string | null;
3630
+ code?: string | null;
3631
+ country?: string | null;
3632
+ created_at?: string;
3633
+ currency?: string | null;
3634
+ division_code?: number | null;
3635
+ email?: string | null;
3636
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3637
+ exact_id?: string;
3638
+ exact_modified?: string | null;
3639
+ exact_timestamp?: number | null;
3640
+ id?: string;
3641
+ is_active?: boolean;
3642
+ name?: string | null;
3643
+ phone?: string | null;
3644
+ postcode?: string | null;
3645
+ raw?: import("../integrations/supabase/types").Json | null;
3646
+ status?: string | null;
3647
+ updated_at?: string;
3648
+ vat_number?: string | null;
3649
+ website?: string | null;
3650
+ };
3651
+ Relationships: [];
3652
+ };
3653
+ exact_auth_divisions: {
3654
+ Row: {
3655
+ account_key: string;
3656
+ company_name: string | null;
3657
+ created_at: string;
3658
+ division_code: number | null;
3659
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3660
+ id: string;
3661
+ last_synced_at: string | null;
3662
+ updated_at: string;
3663
+ };
3664
+ Insert: {
3665
+ account_key?: string;
3666
+ company_name?: string | null;
3667
+ created_at?: string;
3668
+ division_code?: number | null;
3669
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3670
+ id?: string;
3671
+ last_synced_at?: string | null;
3672
+ updated_at?: string;
3673
+ };
3674
+ Update: {
3675
+ account_key?: string;
3676
+ company_name?: string | null;
3677
+ created_at?: string;
3678
+ division_code?: number | null;
3679
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3680
+ id?: string;
3681
+ last_synced_at?: string | null;
3682
+ updated_at?: string;
3683
+ };
3684
+ Relationships: [];
3685
+ };
3686
+ exact_auth_invoice_lines: {
3687
+ Row: {
3688
+ account_key: string;
3689
+ amount_excl: number | null;
3690
+ created_at: string;
3691
+ description: string | null;
3692
+ discount: number | null;
3693
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3694
+ exact_id: string;
3695
+ exact_timestamp: number | null;
3696
+ id: string;
3697
+ invoice_exact_id: string;
3698
+ item_code: string | null;
3699
+ item_exact_id: string | null;
3700
+ line_number: number | null;
3701
+ quantity: number | null;
3702
+ raw: import("../integrations/supabase/types").Json | null;
3703
+ unit_price: number | null;
3704
+ updated_at: string;
3705
+ vat_amount: number | null;
3706
+ vat_code: string | null;
3707
+ };
3708
+ Insert: {
3709
+ account_key?: string;
3710
+ amount_excl?: number | null;
3711
+ created_at?: string;
3712
+ description?: string | null;
3713
+ discount?: number | null;
3714
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3715
+ exact_id: string;
3716
+ exact_timestamp?: number | null;
3717
+ id?: string;
3718
+ invoice_exact_id: string;
3719
+ item_code?: string | null;
3720
+ item_exact_id?: string | null;
3721
+ line_number?: number | null;
3722
+ quantity?: number | null;
3723
+ raw?: import("../integrations/supabase/types").Json | null;
3724
+ unit_price?: number | null;
3725
+ updated_at?: string;
3726
+ vat_amount?: number | null;
3727
+ vat_code?: string | null;
3728
+ };
3729
+ Update: {
3730
+ account_key?: string;
3731
+ amount_excl?: number | null;
3732
+ created_at?: string;
3733
+ description?: string | null;
3734
+ discount?: number | null;
3735
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3736
+ exact_id?: string;
3737
+ exact_timestamp?: number | null;
3738
+ id?: string;
3739
+ invoice_exact_id?: string;
3740
+ item_code?: string | null;
3741
+ item_exact_id?: string | null;
3742
+ line_number?: number | null;
3743
+ quantity?: number | null;
3744
+ raw?: import("../integrations/supabase/types").Json | null;
3745
+ unit_price?: number | null;
3746
+ updated_at?: string;
3747
+ vat_amount?: number | null;
3748
+ vat_code?: string | null;
3749
+ };
3750
+ Relationships: [];
3751
+ };
3752
+ exact_auth_invoices: {
3753
+ Row: {
3754
+ account_key: string;
3755
+ amount_excl: number | null;
3756
+ amount_incl: number | null;
3757
+ amount_open: number | null;
3758
+ created_at: string;
3759
+ currency: string | null;
3760
+ customer_code: string | null;
3761
+ customer_exact_id: string | null;
3762
+ customer_name: string | null;
3763
+ description: string | null;
3764
+ division_code: number | null;
3765
+ due_date: string | null;
3766
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3767
+ exact_id: string;
3768
+ exact_modified: string | null;
3769
+ exact_timestamp: number | null;
3770
+ id: string;
3771
+ invoice_date: string | null;
3772
+ invoice_number: string | null;
3773
+ order_number: string | null;
3774
+ paid_at: string | null;
3775
+ payment_status: string;
3776
+ raw: import("../integrations/supabase/types").Json | null;
3777
+ receivable_synced_at: string | null;
3778
+ status_code: number | null;
3779
+ updated_at: string;
3780
+ };
3781
+ Insert: {
3782
+ account_key?: string;
3783
+ amount_excl?: number | null;
3784
+ amount_incl?: number | null;
3785
+ amount_open?: number | null;
3786
+ created_at?: string;
3787
+ currency?: string | null;
3788
+ customer_code?: string | null;
3789
+ customer_exact_id?: string | null;
3790
+ customer_name?: string | null;
3791
+ description?: string | null;
3792
+ division_code?: number | null;
3793
+ due_date?: string | null;
3794
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3795
+ exact_id: string;
3796
+ exact_modified?: string | null;
3797
+ exact_timestamp?: number | null;
3798
+ id?: string;
3799
+ invoice_date?: string | null;
3800
+ invoice_number?: string | null;
3801
+ order_number?: string | null;
3802
+ paid_at?: string | null;
3803
+ payment_status?: string;
3804
+ raw?: import("../integrations/supabase/types").Json | null;
3805
+ receivable_synced_at?: string | null;
3806
+ status_code?: number | null;
3807
+ updated_at?: string;
3808
+ };
3809
+ Update: {
3810
+ account_key?: string;
3811
+ amount_excl?: number | null;
3812
+ amount_incl?: number | null;
3813
+ amount_open?: number | null;
3814
+ created_at?: string;
3815
+ currency?: string | null;
3816
+ customer_code?: string | null;
3817
+ customer_exact_id?: string | null;
3818
+ customer_name?: string | null;
3819
+ description?: string | null;
3820
+ division_code?: number | null;
3821
+ due_date?: string | null;
3822
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3823
+ exact_id?: string;
3824
+ exact_modified?: string | null;
3825
+ exact_timestamp?: number | null;
3826
+ id?: string;
3827
+ invoice_date?: string | null;
3828
+ invoice_number?: string | null;
3829
+ order_number?: string | null;
3830
+ paid_at?: string | null;
3831
+ payment_status?: string;
3832
+ raw?: import("../integrations/supabase/types").Json | null;
3833
+ receivable_synced_at?: string | null;
3834
+ status_code?: number | null;
3835
+ updated_at?: string;
3836
+ };
3837
+ Relationships: [];
3838
+ };
3839
+ exact_auth_items: {
3840
+ Row: {
3841
+ account_key: string;
3842
+ barcode: string | null;
3843
+ code: string | null;
3844
+ cost_price: number | null;
3845
+ created_at: string;
3846
+ description: string | null;
3847
+ division_code: number | null;
3848
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3849
+ exact_id: string;
3850
+ exact_modified: string | null;
3851
+ exact_timestamp: number | null;
3852
+ gl_account_code: string | null;
3853
+ id: string;
3854
+ is_active: boolean;
3855
+ is_sales_item: boolean | null;
3856
+ item_type: string | null;
3857
+ raw: import("../integrations/supabase/types").Json | null;
3858
+ sales_price: number | null;
3859
+ unit: string | null;
3860
+ updated_at: string;
3861
+ vat_code: string | null;
3862
+ };
3863
+ Insert: {
3864
+ account_key?: string;
3865
+ barcode?: string | null;
3866
+ code?: string | null;
3867
+ cost_price?: number | null;
3868
+ created_at?: string;
3869
+ description?: string | null;
3870
+ division_code?: number | null;
3871
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3872
+ exact_id: string;
3873
+ exact_modified?: string | null;
3874
+ exact_timestamp?: number | null;
3875
+ gl_account_code?: string | null;
3876
+ id?: string;
3877
+ is_active?: boolean;
3878
+ is_sales_item?: boolean | null;
3879
+ item_type?: string | null;
3880
+ raw?: import("../integrations/supabase/types").Json | null;
3881
+ sales_price?: number | null;
3882
+ unit?: string | null;
3883
+ updated_at?: string;
3884
+ vat_code?: string | null;
3885
+ };
3886
+ Update: {
3887
+ account_key?: string;
3888
+ barcode?: string | null;
3889
+ code?: string | null;
3890
+ cost_price?: number | null;
3891
+ created_at?: string;
3892
+ description?: string | null;
3893
+ division_code?: number | null;
3894
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3895
+ exact_id?: string;
3896
+ exact_modified?: string | null;
3897
+ exact_timestamp?: number | null;
3898
+ gl_account_code?: string | null;
3899
+ id?: string;
3900
+ is_active?: boolean;
3901
+ is_sales_item?: boolean | null;
3902
+ item_type?: string | null;
3903
+ raw?: import("../integrations/supabase/types").Json | null;
3904
+ sales_price?: number | null;
3905
+ unit?: string | null;
3906
+ updated_at?: string;
3907
+ vat_code?: string | null;
3908
+ };
3909
+ Relationships: [];
3910
+ };
3911
+ exact_auth_sync_log: {
3912
+ Row: {
3913
+ account_key: string;
3914
+ calls_used: number;
3915
+ created_at: string;
3916
+ domain: string;
3917
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3918
+ error: string | null;
3919
+ finished_at: string | null;
3920
+ id: string;
3921
+ ok: boolean;
3922
+ records: number;
3923
+ started_at: string;
3924
+ };
3925
+ Insert: {
3926
+ account_key?: string;
3927
+ calls_used?: number;
3928
+ created_at?: string;
3929
+ domain: string;
3930
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3931
+ error?: string | null;
3932
+ finished_at?: string | null;
3933
+ id?: string;
3934
+ ok?: boolean;
3935
+ records?: number;
3936
+ started_at?: string;
3937
+ };
3938
+ Update: {
3939
+ account_key?: string;
3940
+ calls_used?: number;
3941
+ created_at?: string;
3942
+ domain?: string;
3943
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3944
+ error?: string | null;
3945
+ finished_at?: string | null;
3946
+ id?: string;
3947
+ ok?: boolean;
3948
+ records?: number;
3949
+ started_at?: string;
3950
+ };
3951
+ Relationships: [];
3952
+ };
3953
+ exact_auth_sync_state: {
3954
+ Row: {
3955
+ account_key: string;
3956
+ created_at: string;
3957
+ cursor_timestamp: number;
3958
+ division_code: number | null;
3959
+ domain: string;
3960
+ duration_ms: number | null;
3961
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3962
+ initial_sync_done: boolean;
3963
+ last_error: string | null;
3964
+ last_run_at: string | null;
3965
+ last_success_at: string | null;
3966
+ locked_at: string | null;
3967
+ needs_initial_sync: boolean;
3968
+ record_count: number;
3969
+ updated_at: string;
3970
+ };
3971
+ Insert: {
3972
+ account_key?: string;
3973
+ created_at?: string;
3974
+ cursor_timestamp?: number;
3975
+ division_code?: number | null;
3976
+ domain: string;
3977
+ duration_ms?: number | null;
3978
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3979
+ initial_sync_done?: boolean;
3980
+ last_error?: string | null;
3981
+ last_run_at?: string | null;
3982
+ last_success_at?: string | null;
3983
+ locked_at?: string | null;
3984
+ needs_initial_sync?: boolean;
3985
+ record_count?: number;
3986
+ updated_at?: string;
3987
+ };
3988
+ Update: {
3989
+ account_key?: string;
3990
+ created_at?: string;
3991
+ cursor_timestamp?: number;
3992
+ division_code?: number | null;
3993
+ domain?: string;
3994
+ duration_ms?: number | null;
3995
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3996
+ initial_sync_done?: boolean;
3997
+ last_error?: string | null;
3998
+ last_run_at?: string | null;
3999
+ last_success_at?: string | null;
4000
+ locked_at?: string | null;
4001
+ needs_initial_sync?: boolean;
4002
+ record_count?: number;
4003
+ updated_at?: string;
4004
+ };
4005
+ Relationships: [];
4006
+ };
3539
4007
  exact_bulk_operation_items: {
3540
4008
  Row: {
3541
4009
  attempts: number;
@@ -10036,6 +10504,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
10036
10504
  };
10037
10505
  offer_settings: {
10038
10506
  Row: {
10507
+ brand_name: string | null;
10039
10508
  button_color: string;
10040
10509
  created_at: string;
10041
10510
  default_countries: string[];
@@ -10057,6 +10526,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
10057
10526
  updated_at: string;
10058
10527
  };
10059
10528
  Insert: {
10529
+ brand_name?: string | null;
10060
10530
  button_color?: string;
10061
10531
  created_at?: string;
10062
10532
  default_countries?: string[];
@@ -10078,6 +10548,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
10078
10548
  updated_at?: string;
10079
10549
  };
10080
10550
  Update: {
10551
+ brand_name?: string | null;
10081
10552
  button_color?: string;
10082
10553
  created_at?: string;
10083
10554
  default_countries?: string[];
@@ -17928,6 +18399,21 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
17928
18399
  Args: never;
17929
18400
  Returns: string;
17930
18401
  };
18402
+ exact_auth_consume_calls: {
18403
+ Args: {
18404
+ _account_key: string;
18405
+ _calls?: number;
18406
+ _day_limit?: number;
18407
+ _division_code: number;
18408
+ _environment: string;
18409
+ _minute_limit?: number;
18410
+ };
18411
+ Returns: import("../integrations/supabase/types").Json;
18412
+ };
18413
+ exact_auth_prune_sync_log: {
18414
+ Args: never;
18415
+ Returns: undefined;
18416
+ };
17931
18417
  exact_decrypt: {
17932
18418
  Args: {
17933
18419
  cipher: string;
@@ -18137,6 +18623,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
18137
18623
  };
18138
18624
  Returns: number;
18139
18625
  };
18626
+ get_offer_branding: {
18627
+ Args: never;
18628
+ Returns: import("../integrations/supabase/types").Json;
18629
+ };
18140
18630
  get_offer_by_link_code: {
18141
18631
  Args: {
18142
18632
  p_code: string;
@@ -23350,6 +23840,474 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
23350
23840
  referencedColumns: ["id"];
23351
23841
  }];
23352
23842
  };
23843
+ exact_auth_call_budget: {
23844
+ Row: {
23845
+ account_key: string;
23846
+ day_count: number;
23847
+ day_date: string;
23848
+ division_code: number;
23849
+ environment: string;
23850
+ minute_count: number;
23851
+ minute_window: string;
23852
+ updated_at: string;
23853
+ };
23854
+ Insert: {
23855
+ account_key?: string;
23856
+ day_count?: number;
23857
+ day_date?: string;
23858
+ division_code?: number;
23859
+ environment: string;
23860
+ minute_count?: number;
23861
+ minute_window?: string;
23862
+ updated_at?: string;
23863
+ };
23864
+ Update: {
23865
+ account_key?: string;
23866
+ day_count?: number;
23867
+ day_date?: string;
23868
+ division_code?: number;
23869
+ environment?: string;
23870
+ minute_count?: number;
23871
+ minute_window?: string;
23872
+ updated_at?: string;
23873
+ };
23874
+ Relationships: [];
23875
+ };
23876
+ exact_auth_customers: {
23877
+ Row: {
23878
+ account_key: string;
23879
+ address_line1: string | null;
23880
+ chamber_of_commerce: string | null;
23881
+ city: string | null;
23882
+ code: string | null;
23883
+ country: string | null;
23884
+ created_at: string;
23885
+ currency: string | null;
23886
+ division_code: number | null;
23887
+ email: string | null;
23888
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23889
+ exact_id: string;
23890
+ exact_modified: string | null;
23891
+ exact_timestamp: number | null;
23892
+ id: string;
23893
+ is_active: boolean;
23894
+ name: string | null;
23895
+ phone: string | null;
23896
+ postcode: string | null;
23897
+ raw: import("../integrations/supabase/types").Json | null;
23898
+ status: string | null;
23899
+ updated_at: string;
23900
+ vat_number: string | null;
23901
+ website: string | null;
23902
+ };
23903
+ Insert: {
23904
+ account_key?: string;
23905
+ address_line1?: string | null;
23906
+ chamber_of_commerce?: string | null;
23907
+ city?: string | null;
23908
+ code?: string | null;
23909
+ country?: string | null;
23910
+ created_at?: string;
23911
+ currency?: string | null;
23912
+ division_code?: number | null;
23913
+ email?: string | null;
23914
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23915
+ exact_id: string;
23916
+ exact_modified?: string | null;
23917
+ exact_timestamp?: number | null;
23918
+ id?: string;
23919
+ is_active?: boolean;
23920
+ name?: string | null;
23921
+ phone?: string | null;
23922
+ postcode?: string | null;
23923
+ raw?: import("../integrations/supabase/types").Json | null;
23924
+ status?: string | null;
23925
+ updated_at?: string;
23926
+ vat_number?: string | null;
23927
+ website?: string | null;
23928
+ };
23929
+ Update: {
23930
+ account_key?: string;
23931
+ address_line1?: string | null;
23932
+ chamber_of_commerce?: string | null;
23933
+ city?: string | null;
23934
+ code?: string | null;
23935
+ country?: string | null;
23936
+ created_at?: string;
23937
+ currency?: string | null;
23938
+ division_code?: number | null;
23939
+ email?: string | null;
23940
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23941
+ exact_id?: string;
23942
+ exact_modified?: string | null;
23943
+ exact_timestamp?: number | null;
23944
+ id?: string;
23945
+ is_active?: boolean;
23946
+ name?: string | null;
23947
+ phone?: string | null;
23948
+ postcode?: string | null;
23949
+ raw?: import("../integrations/supabase/types").Json | null;
23950
+ status?: string | null;
23951
+ updated_at?: string;
23952
+ vat_number?: string | null;
23953
+ website?: string | null;
23954
+ };
23955
+ Relationships: [];
23956
+ };
23957
+ exact_auth_divisions: {
23958
+ Row: {
23959
+ account_key: string;
23960
+ company_name: string | null;
23961
+ created_at: string;
23962
+ division_code: number | null;
23963
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23964
+ id: string;
23965
+ last_synced_at: string | null;
23966
+ updated_at: string;
23967
+ };
23968
+ Insert: {
23969
+ account_key?: string;
23970
+ company_name?: string | null;
23971
+ created_at?: string;
23972
+ division_code?: number | null;
23973
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23974
+ id?: string;
23975
+ last_synced_at?: string | null;
23976
+ updated_at?: string;
23977
+ };
23978
+ Update: {
23979
+ account_key?: string;
23980
+ company_name?: string | null;
23981
+ created_at?: string;
23982
+ division_code?: number | null;
23983
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23984
+ id?: string;
23985
+ last_synced_at?: string | null;
23986
+ updated_at?: string;
23987
+ };
23988
+ Relationships: [];
23989
+ };
23990
+ exact_auth_invoice_lines: {
23991
+ Row: {
23992
+ account_key: string;
23993
+ amount_excl: number | null;
23994
+ created_at: string;
23995
+ description: string | null;
23996
+ discount: number | null;
23997
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
23998
+ exact_id: string;
23999
+ exact_timestamp: number | null;
24000
+ id: string;
24001
+ invoice_exact_id: string;
24002
+ item_code: string | null;
24003
+ item_exact_id: string | null;
24004
+ line_number: number | null;
24005
+ quantity: number | null;
24006
+ raw: import("../integrations/supabase/types").Json | null;
24007
+ unit_price: number | null;
24008
+ updated_at: string;
24009
+ vat_amount: number | null;
24010
+ vat_code: string | null;
24011
+ };
24012
+ Insert: {
24013
+ account_key?: string;
24014
+ amount_excl?: number | null;
24015
+ created_at?: string;
24016
+ description?: string | null;
24017
+ discount?: number | null;
24018
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24019
+ exact_id: string;
24020
+ exact_timestamp?: number | null;
24021
+ id?: string;
24022
+ invoice_exact_id: string;
24023
+ item_code?: string | null;
24024
+ item_exact_id?: string | null;
24025
+ line_number?: number | null;
24026
+ quantity?: number | null;
24027
+ raw?: import("../integrations/supabase/types").Json | null;
24028
+ unit_price?: number | null;
24029
+ updated_at?: string;
24030
+ vat_amount?: number | null;
24031
+ vat_code?: string | null;
24032
+ };
24033
+ Update: {
24034
+ account_key?: string;
24035
+ amount_excl?: number | null;
24036
+ created_at?: string;
24037
+ description?: string | null;
24038
+ discount?: number | null;
24039
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24040
+ exact_id?: string;
24041
+ exact_timestamp?: number | null;
24042
+ id?: string;
24043
+ invoice_exact_id?: string;
24044
+ item_code?: string | null;
24045
+ item_exact_id?: string | null;
24046
+ line_number?: number | null;
24047
+ quantity?: number | null;
24048
+ raw?: import("../integrations/supabase/types").Json | null;
24049
+ unit_price?: number | null;
24050
+ updated_at?: string;
24051
+ vat_amount?: number | null;
24052
+ vat_code?: string | null;
24053
+ };
24054
+ Relationships: [];
24055
+ };
24056
+ exact_auth_invoices: {
24057
+ Row: {
24058
+ account_key: string;
24059
+ amount_excl: number | null;
24060
+ amount_incl: number | null;
24061
+ amount_open: number | null;
24062
+ created_at: string;
24063
+ currency: string | null;
24064
+ customer_code: string | null;
24065
+ customer_exact_id: string | null;
24066
+ customer_name: string | null;
24067
+ description: string | null;
24068
+ division_code: number | null;
24069
+ due_date: string | null;
24070
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24071
+ exact_id: string;
24072
+ exact_modified: string | null;
24073
+ exact_timestamp: number | null;
24074
+ id: string;
24075
+ invoice_date: string | null;
24076
+ invoice_number: string | null;
24077
+ order_number: string | null;
24078
+ paid_at: string | null;
24079
+ payment_status: string;
24080
+ raw: import("../integrations/supabase/types").Json | null;
24081
+ receivable_synced_at: string | null;
24082
+ status_code: number | null;
24083
+ updated_at: string;
24084
+ };
24085
+ Insert: {
24086
+ account_key?: string;
24087
+ amount_excl?: number | null;
24088
+ amount_incl?: number | null;
24089
+ amount_open?: number | null;
24090
+ created_at?: string;
24091
+ currency?: string | null;
24092
+ customer_code?: string | null;
24093
+ customer_exact_id?: string | null;
24094
+ customer_name?: string | null;
24095
+ description?: string | null;
24096
+ division_code?: number | null;
24097
+ due_date?: string | null;
24098
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24099
+ exact_id: string;
24100
+ exact_modified?: string | null;
24101
+ exact_timestamp?: number | null;
24102
+ id?: string;
24103
+ invoice_date?: string | null;
24104
+ invoice_number?: string | null;
24105
+ order_number?: string | null;
24106
+ paid_at?: string | null;
24107
+ payment_status?: string;
24108
+ raw?: import("../integrations/supabase/types").Json | null;
24109
+ receivable_synced_at?: string | null;
24110
+ status_code?: number | null;
24111
+ updated_at?: string;
24112
+ };
24113
+ Update: {
24114
+ account_key?: string;
24115
+ amount_excl?: number | null;
24116
+ amount_incl?: number | null;
24117
+ amount_open?: number | null;
24118
+ created_at?: string;
24119
+ currency?: string | null;
24120
+ customer_code?: string | null;
24121
+ customer_exact_id?: string | null;
24122
+ customer_name?: string | null;
24123
+ description?: string | null;
24124
+ division_code?: number | null;
24125
+ due_date?: string | null;
24126
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24127
+ exact_id?: string;
24128
+ exact_modified?: string | null;
24129
+ exact_timestamp?: number | null;
24130
+ id?: string;
24131
+ invoice_date?: string | null;
24132
+ invoice_number?: string | null;
24133
+ order_number?: string | null;
24134
+ paid_at?: string | null;
24135
+ payment_status?: string;
24136
+ raw?: import("../integrations/supabase/types").Json | null;
24137
+ receivable_synced_at?: string | null;
24138
+ status_code?: number | null;
24139
+ updated_at?: string;
24140
+ };
24141
+ Relationships: [];
24142
+ };
24143
+ exact_auth_items: {
24144
+ Row: {
24145
+ account_key: string;
24146
+ barcode: string | null;
24147
+ code: string | null;
24148
+ cost_price: number | null;
24149
+ created_at: string;
24150
+ description: string | null;
24151
+ division_code: number | null;
24152
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24153
+ exact_id: string;
24154
+ exact_modified: string | null;
24155
+ exact_timestamp: number | null;
24156
+ gl_account_code: string | null;
24157
+ id: string;
24158
+ is_active: boolean;
24159
+ is_sales_item: boolean | null;
24160
+ item_type: string | null;
24161
+ raw: import("../integrations/supabase/types").Json | null;
24162
+ sales_price: number | null;
24163
+ unit: string | null;
24164
+ updated_at: string;
24165
+ vat_code: string | null;
24166
+ };
24167
+ Insert: {
24168
+ account_key?: string;
24169
+ barcode?: string | null;
24170
+ code?: string | null;
24171
+ cost_price?: number | null;
24172
+ created_at?: string;
24173
+ description?: string | null;
24174
+ division_code?: number | null;
24175
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24176
+ exact_id: string;
24177
+ exact_modified?: string | null;
24178
+ exact_timestamp?: number | null;
24179
+ gl_account_code?: string | null;
24180
+ id?: string;
24181
+ is_active?: boolean;
24182
+ is_sales_item?: boolean | null;
24183
+ item_type?: string | null;
24184
+ raw?: import("../integrations/supabase/types").Json | null;
24185
+ sales_price?: number | null;
24186
+ unit?: string | null;
24187
+ updated_at?: string;
24188
+ vat_code?: string | null;
24189
+ };
24190
+ Update: {
24191
+ account_key?: string;
24192
+ barcode?: string | null;
24193
+ code?: string | null;
24194
+ cost_price?: number | null;
24195
+ created_at?: string;
24196
+ description?: string | null;
24197
+ division_code?: number | null;
24198
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24199
+ exact_id?: string;
24200
+ exact_modified?: string | null;
24201
+ exact_timestamp?: number | null;
24202
+ gl_account_code?: string | null;
24203
+ id?: string;
24204
+ is_active?: boolean;
24205
+ is_sales_item?: boolean | null;
24206
+ item_type?: string | null;
24207
+ raw?: import("../integrations/supabase/types").Json | null;
24208
+ sales_price?: number | null;
24209
+ unit?: string | null;
24210
+ updated_at?: string;
24211
+ vat_code?: string | null;
24212
+ };
24213
+ Relationships: [];
24214
+ };
24215
+ exact_auth_sync_log: {
24216
+ Row: {
24217
+ account_key: string;
24218
+ calls_used: number;
24219
+ created_at: string;
24220
+ domain: string;
24221
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24222
+ error: string | null;
24223
+ finished_at: string | null;
24224
+ id: string;
24225
+ ok: boolean;
24226
+ records: number;
24227
+ started_at: string;
24228
+ };
24229
+ Insert: {
24230
+ account_key?: string;
24231
+ calls_used?: number;
24232
+ created_at?: string;
24233
+ domain: string;
24234
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24235
+ error?: string | null;
24236
+ finished_at?: string | null;
24237
+ id?: string;
24238
+ ok?: boolean;
24239
+ records?: number;
24240
+ started_at?: string;
24241
+ };
24242
+ Update: {
24243
+ account_key?: string;
24244
+ calls_used?: number;
24245
+ created_at?: string;
24246
+ domain?: string;
24247
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24248
+ error?: string | null;
24249
+ finished_at?: string | null;
24250
+ id?: string;
24251
+ ok?: boolean;
24252
+ records?: number;
24253
+ started_at?: string;
24254
+ };
24255
+ Relationships: [];
24256
+ };
24257
+ exact_auth_sync_state: {
24258
+ Row: {
24259
+ account_key: string;
24260
+ created_at: string;
24261
+ cursor_timestamp: number;
24262
+ division_code: number | null;
24263
+ domain: string;
24264
+ duration_ms: number | null;
24265
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24266
+ initial_sync_done: boolean;
24267
+ last_error: string | null;
24268
+ last_run_at: string | null;
24269
+ last_success_at: string | null;
24270
+ locked_at: string | null;
24271
+ needs_initial_sync: boolean;
24272
+ record_count: number;
24273
+ updated_at: string;
24274
+ };
24275
+ Insert: {
24276
+ account_key?: string;
24277
+ created_at?: string;
24278
+ cursor_timestamp?: number;
24279
+ division_code?: number | null;
24280
+ domain: string;
24281
+ duration_ms?: number | null;
24282
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24283
+ initial_sync_done?: boolean;
24284
+ last_error?: string | null;
24285
+ last_run_at?: string | null;
24286
+ last_success_at?: string | null;
24287
+ locked_at?: string | null;
24288
+ needs_initial_sync?: boolean;
24289
+ record_count?: number;
24290
+ updated_at?: string;
24291
+ };
24292
+ Update: {
24293
+ account_key?: string;
24294
+ created_at?: string;
24295
+ cursor_timestamp?: number;
24296
+ division_code?: number | null;
24297
+ domain?: string;
24298
+ duration_ms?: number | null;
24299
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24300
+ initial_sync_done?: boolean;
24301
+ last_error?: string | null;
24302
+ last_run_at?: string | null;
24303
+ last_success_at?: string | null;
24304
+ locked_at?: string | null;
24305
+ needs_initial_sync?: boolean;
24306
+ record_count?: number;
24307
+ updated_at?: string;
24308
+ };
24309
+ Relationships: [];
24310
+ };
23353
24311
  exact_bulk_operation_items: {
23354
24312
  Row: {
23355
24313
  attempts: number;
@@ -29850,6 +30808,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
29850
30808
  };
29851
30809
  offer_settings: {
29852
30810
  Row: {
30811
+ brand_name: string | null;
29853
30812
  button_color: string;
29854
30813
  created_at: string;
29855
30814
  default_countries: string[];
@@ -29871,6 +30830,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
29871
30830
  updated_at: string;
29872
30831
  };
29873
30832
  Insert: {
30833
+ brand_name?: string | null;
29874
30834
  button_color?: string;
29875
30835
  created_at?: string;
29876
30836
  default_countries?: string[];
@@ -29892,6 +30852,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
29892
30852
  updated_at?: string;
29893
30853
  };
29894
30854
  Update: {
30855
+ brand_name?: string | null;
29895
30856
  button_color?: string;
29896
30857
  created_at?: string;
29897
30858
  default_countries?: string[];
@@ -37742,6 +38703,21 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
37742
38703
  Args: never;
37743
38704
  Returns: string;
37744
38705
  };
38706
+ exact_auth_consume_calls: {
38707
+ Args: {
38708
+ _account_key: string;
38709
+ _calls?: number;
38710
+ _day_limit?: number;
38711
+ _division_code: number;
38712
+ _environment: string;
38713
+ _minute_limit?: number;
38714
+ };
38715
+ Returns: import("../integrations/supabase/types").Json;
38716
+ };
38717
+ exact_auth_prune_sync_log: {
38718
+ Args: never;
38719
+ Returns: undefined;
38720
+ };
37745
38721
  exact_decrypt: {
37746
38722
  Args: {
37747
38723
  cipher: string;
@@ -37951,6 +38927,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
37951
38927
  };
37952
38928
  Returns: number;
37953
38929
  };
38930
+ get_offer_branding: {
38931
+ Args: never;
38932
+ Returns: import("../integrations/supabase/types").Json;
38933
+ };
37954
38934
  get_offer_by_link_code: {
37955
38935
  Args: {
37956
38936
  p_code: string;
@@ -43164,6 +44144,474 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
43164
44144
  referencedColumns: ["id"];
43165
44145
  }];
43166
44146
  };
44147
+ exact_auth_call_budget: {
44148
+ Row: {
44149
+ account_key: string;
44150
+ day_count: number;
44151
+ day_date: string;
44152
+ division_code: number;
44153
+ environment: string;
44154
+ minute_count: number;
44155
+ minute_window: string;
44156
+ updated_at: string;
44157
+ };
44158
+ Insert: {
44159
+ account_key?: string;
44160
+ day_count?: number;
44161
+ day_date?: string;
44162
+ division_code?: number;
44163
+ environment: string;
44164
+ minute_count?: number;
44165
+ minute_window?: string;
44166
+ updated_at?: string;
44167
+ };
44168
+ Update: {
44169
+ account_key?: string;
44170
+ day_count?: number;
44171
+ day_date?: string;
44172
+ division_code?: number;
44173
+ environment?: string;
44174
+ minute_count?: number;
44175
+ minute_window?: string;
44176
+ updated_at?: string;
44177
+ };
44178
+ Relationships: [];
44179
+ };
44180
+ exact_auth_customers: {
44181
+ Row: {
44182
+ account_key: string;
44183
+ address_line1: string | null;
44184
+ chamber_of_commerce: string | null;
44185
+ city: string | null;
44186
+ code: string | null;
44187
+ country: string | null;
44188
+ created_at: string;
44189
+ currency: string | null;
44190
+ division_code: number | null;
44191
+ email: string | null;
44192
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44193
+ exact_id: string;
44194
+ exact_modified: string | null;
44195
+ exact_timestamp: number | null;
44196
+ id: string;
44197
+ is_active: boolean;
44198
+ name: string | null;
44199
+ phone: string | null;
44200
+ postcode: string | null;
44201
+ raw: import("../integrations/supabase/types").Json | null;
44202
+ status: string | null;
44203
+ updated_at: string;
44204
+ vat_number: string | null;
44205
+ website: string | null;
44206
+ };
44207
+ Insert: {
44208
+ account_key?: string;
44209
+ address_line1?: string | null;
44210
+ chamber_of_commerce?: string | null;
44211
+ city?: string | null;
44212
+ code?: string | null;
44213
+ country?: string | null;
44214
+ created_at?: string;
44215
+ currency?: string | null;
44216
+ division_code?: number | null;
44217
+ email?: string | null;
44218
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44219
+ exact_id: string;
44220
+ exact_modified?: string | null;
44221
+ exact_timestamp?: number | null;
44222
+ id?: string;
44223
+ is_active?: boolean;
44224
+ name?: string | null;
44225
+ phone?: string | null;
44226
+ postcode?: string | null;
44227
+ raw?: import("../integrations/supabase/types").Json | null;
44228
+ status?: string | null;
44229
+ updated_at?: string;
44230
+ vat_number?: string | null;
44231
+ website?: string | null;
44232
+ };
44233
+ Update: {
44234
+ account_key?: string;
44235
+ address_line1?: string | null;
44236
+ chamber_of_commerce?: string | null;
44237
+ city?: string | null;
44238
+ code?: string | null;
44239
+ country?: string | null;
44240
+ created_at?: string;
44241
+ currency?: string | null;
44242
+ division_code?: number | null;
44243
+ email?: string | null;
44244
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44245
+ exact_id?: string;
44246
+ exact_modified?: string | null;
44247
+ exact_timestamp?: number | null;
44248
+ id?: string;
44249
+ is_active?: boolean;
44250
+ name?: string | null;
44251
+ phone?: string | null;
44252
+ postcode?: string | null;
44253
+ raw?: import("../integrations/supabase/types").Json | null;
44254
+ status?: string | null;
44255
+ updated_at?: string;
44256
+ vat_number?: string | null;
44257
+ website?: string | null;
44258
+ };
44259
+ Relationships: [];
44260
+ };
44261
+ exact_auth_divisions: {
44262
+ Row: {
44263
+ account_key: string;
44264
+ company_name: string | null;
44265
+ created_at: string;
44266
+ division_code: number | null;
44267
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44268
+ id: string;
44269
+ last_synced_at: string | null;
44270
+ updated_at: string;
44271
+ };
44272
+ Insert: {
44273
+ account_key?: string;
44274
+ company_name?: string | null;
44275
+ created_at?: string;
44276
+ division_code?: number | null;
44277
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44278
+ id?: string;
44279
+ last_synced_at?: string | null;
44280
+ updated_at?: string;
44281
+ };
44282
+ Update: {
44283
+ account_key?: string;
44284
+ company_name?: string | null;
44285
+ created_at?: string;
44286
+ division_code?: number | null;
44287
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44288
+ id?: string;
44289
+ last_synced_at?: string | null;
44290
+ updated_at?: string;
44291
+ };
44292
+ Relationships: [];
44293
+ };
44294
+ exact_auth_invoice_lines: {
44295
+ Row: {
44296
+ account_key: string;
44297
+ amount_excl: number | null;
44298
+ created_at: string;
44299
+ description: string | null;
44300
+ discount: number | null;
44301
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44302
+ exact_id: string;
44303
+ exact_timestamp: number | null;
44304
+ id: string;
44305
+ invoice_exact_id: string;
44306
+ item_code: string | null;
44307
+ item_exact_id: string | null;
44308
+ line_number: number | null;
44309
+ quantity: number | null;
44310
+ raw: import("../integrations/supabase/types").Json | null;
44311
+ unit_price: number | null;
44312
+ updated_at: string;
44313
+ vat_amount: number | null;
44314
+ vat_code: string | null;
44315
+ };
44316
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
44359
+ };
44360
+ exact_auth_invoices: {
44361
+ Row: {
44362
+ account_key: string;
44363
+ amount_excl: number | null;
44364
+ amount_incl: number | null;
44365
+ amount_open: number | null;
44366
+ created_at: string;
44367
+ currency: string | null;
44368
+ customer_code: string | null;
44369
+ customer_exact_id: string | null;
44370
+ customer_name: string | null;
44371
+ description: string | null;
44372
+ division_code: number | null;
44373
+ due_date: string | null;
44374
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44375
+ exact_id: string;
44376
+ exact_modified: string | null;
44377
+ exact_timestamp: number | null;
44378
+ id: string;
44379
+ invoice_date: string | null;
44380
+ invoice_number: string | null;
44381
+ order_number: string | null;
44382
+ paid_at: string | null;
44383
+ payment_status: string;
44384
+ raw: import("../integrations/supabase/types").Json | null;
44385
+ receivable_synced_at: string | null;
44386
+ status_code: number | null;
44387
+ updated_at: string;
44388
+ };
44389
+ Insert: {
44390
+ account_key?: string;
44391
+ amount_excl?: number | null;
44392
+ amount_incl?: number | null;
44393
+ amount_open?: number | null;
44394
+ created_at?: string;
44395
+ currency?: string | null;
44396
+ customer_code?: string | null;
44397
+ customer_exact_id?: string | null;
44398
+ customer_name?: string | null;
44399
+ description?: string | null;
44400
+ division_code?: number | null;
44401
+ due_date?: string | null;
44402
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44403
+ exact_id: string;
44404
+ exact_modified?: string | null;
44405
+ exact_timestamp?: number | null;
44406
+ id?: string;
44407
+ invoice_date?: string | null;
44408
+ invoice_number?: string | null;
44409
+ order_number?: string | null;
44410
+ paid_at?: string | null;
44411
+ payment_status?: string;
44412
+ raw?: import("../integrations/supabase/types").Json | null;
44413
+ receivable_synced_at?: string | null;
44414
+ status_code?: number | null;
44415
+ updated_at?: string;
44416
+ };
44417
+ Update: {
44418
+ account_key?: string;
44419
+ amount_excl?: number | null;
44420
+ amount_incl?: number | null;
44421
+ amount_open?: number | null;
44422
+ created_at?: string;
44423
+ currency?: string | null;
44424
+ customer_code?: string | null;
44425
+ customer_exact_id?: string | null;
44426
+ customer_name?: string | null;
44427
+ description?: string | null;
44428
+ division_code?: number | null;
44429
+ due_date?: string | null;
44430
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44431
+ exact_id?: string;
44432
+ exact_modified?: string | null;
44433
+ exact_timestamp?: number | null;
44434
+ id?: string;
44435
+ invoice_date?: string | null;
44436
+ invoice_number?: string | null;
44437
+ order_number?: string | null;
44438
+ paid_at?: string | null;
44439
+ payment_status?: string;
44440
+ raw?: import("../integrations/supabase/types").Json | null;
44441
+ receivable_synced_at?: string | null;
44442
+ status_code?: number | null;
44443
+ updated_at?: string;
44444
+ };
44445
+ Relationships: [];
44446
+ };
44447
+ exact_auth_items: {
44448
+ Row: {
44449
+ account_key: string;
44450
+ barcode: string | null;
44451
+ code: string | null;
44452
+ cost_price: number | null;
44453
+ created_at: string;
44454
+ description: string | null;
44455
+ division_code: number | null;
44456
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44457
+ exact_id: string;
44458
+ exact_modified: string | null;
44459
+ exact_timestamp: number | null;
44460
+ gl_account_code: string | null;
44461
+ id: string;
44462
+ is_active: boolean;
44463
+ is_sales_item: boolean | null;
44464
+ item_type: string | null;
44465
+ raw: import("../integrations/supabase/types").Json | null;
44466
+ sales_price: number | null;
44467
+ unit: string | null;
44468
+ updated_at: string;
44469
+ vat_code: string | null;
44470
+ };
44471
+ Insert: {
44472
+ account_key?: string;
44473
+ barcode?: string | null;
44474
+ code?: string | null;
44475
+ cost_price?: number | null;
44476
+ created_at?: string;
44477
+ description?: string | null;
44478
+ division_code?: number | null;
44479
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44480
+ exact_id: string;
44481
+ exact_modified?: string | null;
44482
+ exact_timestamp?: number | null;
44483
+ gl_account_code?: string | null;
44484
+ id?: string;
44485
+ is_active?: boolean;
44486
+ is_sales_item?: boolean | null;
44487
+ item_type?: string | null;
44488
+ raw?: import("../integrations/supabase/types").Json | null;
44489
+ sales_price?: number | null;
44490
+ unit?: string | null;
44491
+ updated_at?: string;
44492
+ vat_code?: string | null;
44493
+ };
44494
+ Update: {
44495
+ account_key?: string;
44496
+ barcode?: string | null;
44497
+ code?: string | null;
44498
+ cost_price?: number | null;
44499
+ created_at?: string;
44500
+ description?: string | null;
44501
+ division_code?: number | null;
44502
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44503
+ exact_id?: string;
44504
+ exact_modified?: string | null;
44505
+ exact_timestamp?: number | null;
44506
+ gl_account_code?: string | null;
44507
+ id?: string;
44508
+ is_active?: boolean;
44509
+ is_sales_item?: boolean | null;
44510
+ item_type?: string | null;
44511
+ raw?: import("../integrations/supabase/types").Json | null;
44512
+ sales_price?: number | null;
44513
+ unit?: string | null;
44514
+ updated_at?: string;
44515
+ vat_code?: string | null;
44516
+ };
44517
+ Relationships: [];
44518
+ };
44519
+ exact_auth_sync_log: {
44520
+ Row: {
44521
+ account_key: string;
44522
+ calls_used: number;
44523
+ created_at: string;
44524
+ domain: string;
44525
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44526
+ error: string | null;
44527
+ finished_at: string | null;
44528
+ id: string;
44529
+ ok: boolean;
44530
+ records: number;
44531
+ started_at: string;
44532
+ };
44533
+ Insert: {
44534
+ account_key?: string;
44535
+ calls_used?: number;
44536
+ created_at?: string;
44537
+ domain: string;
44538
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44539
+ error?: string | null;
44540
+ finished_at?: string | null;
44541
+ id?: string;
44542
+ ok?: boolean;
44543
+ records?: number;
44544
+ started_at?: string;
44545
+ };
44546
+ Update: {
44547
+ account_key?: string;
44548
+ calls_used?: number;
44549
+ created_at?: string;
44550
+ domain?: string;
44551
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44552
+ error?: string | null;
44553
+ finished_at?: string | null;
44554
+ id?: string;
44555
+ ok?: boolean;
44556
+ records?: number;
44557
+ started_at?: string;
44558
+ };
44559
+ Relationships: [];
44560
+ };
44561
+ exact_auth_sync_state: {
44562
+ Row: {
44563
+ account_key: string;
44564
+ created_at: string;
44565
+ cursor_timestamp: number;
44566
+ division_code: number | null;
44567
+ domain: string;
44568
+ duration_ms: number | null;
44569
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44570
+ initial_sync_done: boolean;
44571
+ last_error: string | null;
44572
+ last_run_at: string | null;
44573
+ last_success_at: string | null;
44574
+ locked_at: string | null;
44575
+ needs_initial_sync: boolean;
44576
+ record_count: number;
44577
+ updated_at: string;
44578
+ };
44579
+ Insert: {
44580
+ account_key?: string;
44581
+ created_at?: string;
44582
+ cursor_timestamp?: number;
44583
+ division_code?: number | null;
44584
+ domain: string;
44585
+ duration_ms?: number | null;
44586
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44587
+ initial_sync_done?: boolean;
44588
+ last_error?: string | null;
44589
+ last_run_at?: string | null;
44590
+ last_success_at?: string | null;
44591
+ locked_at?: string | null;
44592
+ needs_initial_sync?: boolean;
44593
+ record_count?: number;
44594
+ updated_at?: string;
44595
+ };
44596
+ Update: {
44597
+ account_key?: string;
44598
+ created_at?: string;
44599
+ cursor_timestamp?: number;
44600
+ division_code?: number | null;
44601
+ domain?: string;
44602
+ duration_ms?: number | null;
44603
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
44604
+ initial_sync_done?: boolean;
44605
+ last_error?: string | null;
44606
+ last_run_at?: string | null;
44607
+ last_success_at?: string | null;
44608
+ locked_at?: string | null;
44609
+ needs_initial_sync?: boolean;
44610
+ record_count?: number;
44611
+ updated_at?: string;
44612
+ };
44613
+ Relationships: [];
44614
+ };
43167
44615
  exact_bulk_operation_items: {
43168
44616
  Row: {
43169
44617
  attempts: number;
@@ -49664,6 +51112,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
49664
51112
  };
49665
51113
  offer_settings: {
49666
51114
  Row: {
51115
+ brand_name: string | null;
49667
51116
  button_color: string;
49668
51117
  created_at: string;
49669
51118
  default_countries: string[];
@@ -49685,6 +51134,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
49685
51134
  updated_at: string;
49686
51135
  };
49687
51136
  Insert: {
51137
+ brand_name?: string | null;
49688
51138
  button_color?: string;
49689
51139
  created_at?: string;
49690
51140
  default_countries?: string[];
@@ -49706,6 +51156,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
49706
51156
  updated_at?: string;
49707
51157
  };
49708
51158
  Update: {
51159
+ brand_name?: string | null;
49709
51160
  button_color?: string;
49710
51161
  created_at?: string;
49711
51162
  default_countries?: string[];
@@ -57556,6 +59007,21 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
57556
59007
  Args: never;
57557
59008
  Returns: string;
57558
59009
  };
59010
+ exact_auth_consume_calls: {
59011
+ Args: {
59012
+ _account_key: string;
59013
+ _calls?: number;
59014
+ _day_limit?: number;
59015
+ _division_code: number;
59016
+ _environment: string;
59017
+ _minute_limit?: number;
59018
+ };
59019
+ Returns: import("../integrations/supabase/types").Json;
59020
+ };
59021
+ exact_auth_prune_sync_log: {
59022
+ Args: never;
59023
+ Returns: undefined;
59024
+ };
57559
59025
  exact_decrypt: {
57560
59026
  Args: {
57561
59027
  cipher: string;
@@ -57765,6 +59231,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
57765
59231
  };
57766
59232
  Returns: number;
57767
59233
  };
59234
+ get_offer_branding: {
59235
+ Args: never;
59236
+ Returns: import("../integrations/supabase/types").Json;
59237
+ };
57768
59238
  get_offer_by_link_code: {
57769
59239
  Args: {
57770
59240
  p_code: string;