@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.
- package/dist-lib/components/klanten/BewerkKlant.d.ts +6 -1
- package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/BewerkKlant.js +9 -5
- package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/DeliveryLocationsTab.js +2 -1
- package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -2
- package/dist-lib/components/klanten/ImportKlanten.d.ts.map +1 -1
- package/dist-lib/components/klanten/ImportKlanten.js +2 -1
- package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts +12 -0
- package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/KlantBewerkenDialog.js +27 -0
- package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantDetail.js +5 -3
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +102 -16
- package/dist-lib/components/klanten/LocalDiscountFormDialog.d.ts.map +1 -1
- package/dist-lib/components/klanten/LocalDiscountFormDialog.js +2 -1
- package/dist-lib/components/klanten/LocalDiscountsTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/LocalDiscountsTab.js +2 -1
- package/dist-lib/components/klanten/LogisticsStrategyCard.d.ts.map +1 -1
- package/dist-lib/components/klanten/LogisticsStrategyCard.js +2 -1
- package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/NieuweKlant.js +2 -1
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts +7 -1
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +16 -8
- package/dist-lib/components/klanten/RouteError.d.ts +6 -0
- package/dist-lib/components/klanten/RouteError.d.ts.map +1 -0
- package/dist-lib/components/klanten/RouteError.js +13 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +490 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +490 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +490 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +490 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1470 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +1470 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +490 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-notes.functions.d.ts +980 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +20327 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -0
- package/dist-lib/lib/customer-revenue.functions.js +124 -0
- package/dist-lib/lib/customers.functions.d.ts +4410 -0
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.js +39 -35
- package/dist-lib/lib/delivery-locations.functions.d.ts +1960 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/errors.d.ts +7 -0
- package/dist-lib/lib/errors.d.ts.map +1 -0
- package/dist-lib/lib/errors.js +36 -0
- package/dist-lib/lib/external-customers.functions.d.ts +1961 -1
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.js +28 -12
- package/dist-lib/lib/floriday-assortment.functions.d.ts +490 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +980 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +490 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +3430 -0
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +490 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +1960 -0
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +490 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +3430 -0
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +490 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +980 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +490 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -3589,6 +3589,474 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
3589
3589
|
referencedColumns: ["id"];
|
|
3590
3590
|
}];
|
|
3591
3591
|
};
|
|
3592
|
+
exact_auth_call_budget: {
|
|
3593
|
+
Row: {
|
|
3594
|
+
account_key: string;
|
|
3595
|
+
day_count: number;
|
|
3596
|
+
day_date: string;
|
|
3597
|
+
division_code: number;
|
|
3598
|
+
environment: string;
|
|
3599
|
+
minute_count: number;
|
|
3600
|
+
minute_window: string;
|
|
3601
|
+
updated_at: string;
|
|
3602
|
+
};
|
|
3603
|
+
Insert: {
|
|
3604
|
+
account_key?: string;
|
|
3605
|
+
day_count?: number;
|
|
3606
|
+
day_date?: string;
|
|
3607
|
+
division_code?: number;
|
|
3608
|
+
environment: string;
|
|
3609
|
+
minute_count?: number;
|
|
3610
|
+
minute_window?: string;
|
|
3611
|
+
updated_at?: string;
|
|
3612
|
+
};
|
|
3613
|
+
Update: {
|
|
3614
|
+
account_key?: string;
|
|
3615
|
+
day_count?: number;
|
|
3616
|
+
day_date?: string;
|
|
3617
|
+
division_code?: number;
|
|
3618
|
+
environment?: string;
|
|
3619
|
+
minute_count?: number;
|
|
3620
|
+
minute_window?: string;
|
|
3621
|
+
updated_at?: string;
|
|
3622
|
+
};
|
|
3623
|
+
Relationships: [];
|
|
3624
|
+
};
|
|
3625
|
+
exact_auth_customers: {
|
|
3626
|
+
Row: {
|
|
3627
|
+
account_key: string;
|
|
3628
|
+
address_line1: string | null;
|
|
3629
|
+
chamber_of_commerce: string | null;
|
|
3630
|
+
city: string | null;
|
|
3631
|
+
code: string | null;
|
|
3632
|
+
country: string | null;
|
|
3633
|
+
created_at: string;
|
|
3634
|
+
currency: string | null;
|
|
3635
|
+
division_code: number | null;
|
|
3636
|
+
email: string | null;
|
|
3637
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3638
|
+
exact_id: string;
|
|
3639
|
+
exact_modified: string | null;
|
|
3640
|
+
exact_timestamp: number | null;
|
|
3641
|
+
id: string;
|
|
3642
|
+
is_active: boolean;
|
|
3643
|
+
name: string | null;
|
|
3644
|
+
phone: string | null;
|
|
3645
|
+
postcode: string | null;
|
|
3646
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3647
|
+
status: string | null;
|
|
3648
|
+
updated_at: string;
|
|
3649
|
+
vat_number: string | null;
|
|
3650
|
+
website: string | null;
|
|
3651
|
+
};
|
|
3652
|
+
Insert: {
|
|
3653
|
+
account_key?: string;
|
|
3654
|
+
address_line1?: string | null;
|
|
3655
|
+
chamber_of_commerce?: string | null;
|
|
3656
|
+
city?: string | null;
|
|
3657
|
+
code?: string | null;
|
|
3658
|
+
country?: string | null;
|
|
3659
|
+
created_at?: string;
|
|
3660
|
+
currency?: string | null;
|
|
3661
|
+
division_code?: number | null;
|
|
3662
|
+
email?: string | null;
|
|
3663
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3664
|
+
exact_id: string;
|
|
3665
|
+
exact_modified?: string | null;
|
|
3666
|
+
exact_timestamp?: number | null;
|
|
3667
|
+
id?: string;
|
|
3668
|
+
is_active?: boolean;
|
|
3669
|
+
name?: string | null;
|
|
3670
|
+
phone?: string | null;
|
|
3671
|
+
postcode?: string | null;
|
|
3672
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3673
|
+
status?: string | null;
|
|
3674
|
+
updated_at?: string;
|
|
3675
|
+
vat_number?: string | null;
|
|
3676
|
+
website?: string | null;
|
|
3677
|
+
};
|
|
3678
|
+
Update: {
|
|
3679
|
+
account_key?: string;
|
|
3680
|
+
address_line1?: string | null;
|
|
3681
|
+
chamber_of_commerce?: string | null;
|
|
3682
|
+
city?: string | null;
|
|
3683
|
+
code?: string | null;
|
|
3684
|
+
country?: string | null;
|
|
3685
|
+
created_at?: string;
|
|
3686
|
+
currency?: string | null;
|
|
3687
|
+
division_code?: number | null;
|
|
3688
|
+
email?: string | null;
|
|
3689
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3690
|
+
exact_id?: string;
|
|
3691
|
+
exact_modified?: string | null;
|
|
3692
|
+
exact_timestamp?: number | null;
|
|
3693
|
+
id?: string;
|
|
3694
|
+
is_active?: boolean;
|
|
3695
|
+
name?: string | null;
|
|
3696
|
+
phone?: string | null;
|
|
3697
|
+
postcode?: string | null;
|
|
3698
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3699
|
+
status?: string | null;
|
|
3700
|
+
updated_at?: string;
|
|
3701
|
+
vat_number?: string | null;
|
|
3702
|
+
website?: string | null;
|
|
3703
|
+
};
|
|
3704
|
+
Relationships: [];
|
|
3705
|
+
};
|
|
3706
|
+
exact_auth_divisions: {
|
|
3707
|
+
Row: {
|
|
3708
|
+
account_key: string;
|
|
3709
|
+
company_name: string | null;
|
|
3710
|
+
created_at: string;
|
|
3711
|
+
division_code: number | null;
|
|
3712
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3713
|
+
id: string;
|
|
3714
|
+
last_synced_at: string | null;
|
|
3715
|
+
updated_at: string;
|
|
3716
|
+
};
|
|
3717
|
+
Insert: {
|
|
3718
|
+
account_key?: string;
|
|
3719
|
+
company_name?: string | null;
|
|
3720
|
+
created_at?: string;
|
|
3721
|
+
division_code?: number | null;
|
|
3722
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3723
|
+
id?: string;
|
|
3724
|
+
last_synced_at?: string | null;
|
|
3725
|
+
updated_at?: string;
|
|
3726
|
+
};
|
|
3727
|
+
Update: {
|
|
3728
|
+
account_key?: string;
|
|
3729
|
+
company_name?: string | null;
|
|
3730
|
+
created_at?: string;
|
|
3731
|
+
division_code?: number | null;
|
|
3732
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3733
|
+
id?: string;
|
|
3734
|
+
last_synced_at?: string | null;
|
|
3735
|
+
updated_at?: string;
|
|
3736
|
+
};
|
|
3737
|
+
Relationships: [];
|
|
3738
|
+
};
|
|
3739
|
+
exact_auth_invoice_lines: {
|
|
3740
|
+
Row: {
|
|
3741
|
+
account_key: string;
|
|
3742
|
+
amount_excl: number | null;
|
|
3743
|
+
created_at: string;
|
|
3744
|
+
description: string | null;
|
|
3745
|
+
discount: number | null;
|
|
3746
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3747
|
+
exact_id: string;
|
|
3748
|
+
exact_timestamp: number | null;
|
|
3749
|
+
id: string;
|
|
3750
|
+
invoice_exact_id: string;
|
|
3751
|
+
item_code: string | null;
|
|
3752
|
+
item_exact_id: string | null;
|
|
3753
|
+
line_number: number | null;
|
|
3754
|
+
quantity: number | null;
|
|
3755
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3756
|
+
unit_price: number | null;
|
|
3757
|
+
updated_at: string;
|
|
3758
|
+
vat_amount: number | null;
|
|
3759
|
+
vat_code: string | null;
|
|
3760
|
+
};
|
|
3761
|
+
Insert: {
|
|
3762
|
+
account_key?: string;
|
|
3763
|
+
amount_excl?: number | null;
|
|
3764
|
+
created_at?: string;
|
|
3765
|
+
description?: string | null;
|
|
3766
|
+
discount?: number | null;
|
|
3767
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3768
|
+
exact_id: string;
|
|
3769
|
+
exact_timestamp?: number | null;
|
|
3770
|
+
id?: string;
|
|
3771
|
+
invoice_exact_id: string;
|
|
3772
|
+
item_code?: string | null;
|
|
3773
|
+
item_exact_id?: string | null;
|
|
3774
|
+
line_number?: number | null;
|
|
3775
|
+
quantity?: number | null;
|
|
3776
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3777
|
+
unit_price?: number | null;
|
|
3778
|
+
updated_at?: string;
|
|
3779
|
+
vat_amount?: number | null;
|
|
3780
|
+
vat_code?: string | null;
|
|
3781
|
+
};
|
|
3782
|
+
Update: {
|
|
3783
|
+
account_key?: string;
|
|
3784
|
+
amount_excl?: number | null;
|
|
3785
|
+
created_at?: string;
|
|
3786
|
+
description?: string | null;
|
|
3787
|
+
discount?: number | null;
|
|
3788
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3789
|
+
exact_id?: string;
|
|
3790
|
+
exact_timestamp?: number | null;
|
|
3791
|
+
id?: string;
|
|
3792
|
+
invoice_exact_id?: string;
|
|
3793
|
+
item_code?: string | null;
|
|
3794
|
+
item_exact_id?: string | null;
|
|
3795
|
+
line_number?: number | null;
|
|
3796
|
+
quantity?: number | null;
|
|
3797
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3798
|
+
unit_price?: number | null;
|
|
3799
|
+
updated_at?: string;
|
|
3800
|
+
vat_amount?: number | null;
|
|
3801
|
+
vat_code?: string | null;
|
|
3802
|
+
};
|
|
3803
|
+
Relationships: [];
|
|
3804
|
+
};
|
|
3805
|
+
exact_auth_invoices: {
|
|
3806
|
+
Row: {
|
|
3807
|
+
account_key: string;
|
|
3808
|
+
amount_excl: number | null;
|
|
3809
|
+
amount_incl: number | null;
|
|
3810
|
+
amount_open: number | null;
|
|
3811
|
+
created_at: string;
|
|
3812
|
+
currency: string | null;
|
|
3813
|
+
customer_code: string | null;
|
|
3814
|
+
customer_exact_id: string | null;
|
|
3815
|
+
customer_name: string | null;
|
|
3816
|
+
description: string | null;
|
|
3817
|
+
division_code: number | null;
|
|
3818
|
+
due_date: string | null;
|
|
3819
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3820
|
+
exact_id: string;
|
|
3821
|
+
exact_modified: string | null;
|
|
3822
|
+
exact_timestamp: number | null;
|
|
3823
|
+
id: string;
|
|
3824
|
+
invoice_date: string | null;
|
|
3825
|
+
invoice_number: string | null;
|
|
3826
|
+
order_number: string | null;
|
|
3827
|
+
paid_at: string | null;
|
|
3828
|
+
payment_status: string;
|
|
3829
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3830
|
+
receivable_synced_at: string | null;
|
|
3831
|
+
status_code: number | null;
|
|
3832
|
+
updated_at: string;
|
|
3833
|
+
};
|
|
3834
|
+
Insert: {
|
|
3835
|
+
account_key?: string;
|
|
3836
|
+
amount_excl?: number | null;
|
|
3837
|
+
amount_incl?: number | null;
|
|
3838
|
+
amount_open?: number | null;
|
|
3839
|
+
created_at?: string;
|
|
3840
|
+
currency?: string | null;
|
|
3841
|
+
customer_code?: string | null;
|
|
3842
|
+
customer_exact_id?: string | null;
|
|
3843
|
+
customer_name?: string | null;
|
|
3844
|
+
description?: string | null;
|
|
3845
|
+
division_code?: number | null;
|
|
3846
|
+
due_date?: string | 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
|
+
id?: string;
|
|
3852
|
+
invoice_date?: string | null;
|
|
3853
|
+
invoice_number?: string | null;
|
|
3854
|
+
order_number?: string | null;
|
|
3855
|
+
paid_at?: string | null;
|
|
3856
|
+
payment_status?: string;
|
|
3857
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3858
|
+
receivable_synced_at?: string | null;
|
|
3859
|
+
status_code?: number | null;
|
|
3860
|
+
updated_at?: string;
|
|
3861
|
+
};
|
|
3862
|
+
Update: {
|
|
3863
|
+
account_key?: string;
|
|
3864
|
+
amount_excl?: number | null;
|
|
3865
|
+
amount_incl?: number | null;
|
|
3866
|
+
amount_open?: number | null;
|
|
3867
|
+
created_at?: string;
|
|
3868
|
+
currency?: string | null;
|
|
3869
|
+
customer_code?: string | null;
|
|
3870
|
+
customer_exact_id?: string | null;
|
|
3871
|
+
customer_name?: string | null;
|
|
3872
|
+
description?: string | null;
|
|
3873
|
+
division_code?: number | null;
|
|
3874
|
+
due_date?: string | null;
|
|
3875
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3876
|
+
exact_id?: string;
|
|
3877
|
+
exact_modified?: string | null;
|
|
3878
|
+
exact_timestamp?: number | null;
|
|
3879
|
+
id?: string;
|
|
3880
|
+
invoice_date?: string | null;
|
|
3881
|
+
invoice_number?: string | null;
|
|
3882
|
+
order_number?: string | null;
|
|
3883
|
+
paid_at?: string | null;
|
|
3884
|
+
payment_status?: string;
|
|
3885
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3886
|
+
receivable_synced_at?: string | null;
|
|
3887
|
+
status_code?: number | null;
|
|
3888
|
+
updated_at?: string;
|
|
3889
|
+
};
|
|
3890
|
+
Relationships: [];
|
|
3891
|
+
};
|
|
3892
|
+
exact_auth_items: {
|
|
3893
|
+
Row: {
|
|
3894
|
+
account_key: string;
|
|
3895
|
+
barcode: string | null;
|
|
3896
|
+
code: string | null;
|
|
3897
|
+
cost_price: number | null;
|
|
3898
|
+
created_at: string;
|
|
3899
|
+
description: string | null;
|
|
3900
|
+
division_code: number | null;
|
|
3901
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3902
|
+
exact_id: string;
|
|
3903
|
+
exact_modified: string | null;
|
|
3904
|
+
exact_timestamp: number | null;
|
|
3905
|
+
gl_account_code: string | null;
|
|
3906
|
+
id: string;
|
|
3907
|
+
is_active: boolean;
|
|
3908
|
+
is_sales_item: boolean | null;
|
|
3909
|
+
item_type: string | null;
|
|
3910
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3911
|
+
sales_price: number | null;
|
|
3912
|
+
unit: string | null;
|
|
3913
|
+
updated_at: string;
|
|
3914
|
+
vat_code: string | null;
|
|
3915
|
+
};
|
|
3916
|
+
Insert: {
|
|
3917
|
+
account_key?: string;
|
|
3918
|
+
barcode?: string | null;
|
|
3919
|
+
code?: string | null;
|
|
3920
|
+
cost_price?: number | null;
|
|
3921
|
+
created_at?: string;
|
|
3922
|
+
description?: string | null;
|
|
3923
|
+
division_code?: number | null;
|
|
3924
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3925
|
+
exact_id: string;
|
|
3926
|
+
exact_modified?: string | null;
|
|
3927
|
+
exact_timestamp?: number | null;
|
|
3928
|
+
gl_account_code?: string | null;
|
|
3929
|
+
id?: string;
|
|
3930
|
+
is_active?: boolean;
|
|
3931
|
+
is_sales_item?: boolean | null;
|
|
3932
|
+
item_type?: string | null;
|
|
3933
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3934
|
+
sales_price?: number | null;
|
|
3935
|
+
unit?: string | null;
|
|
3936
|
+
updated_at?: string;
|
|
3937
|
+
vat_code?: string | null;
|
|
3938
|
+
};
|
|
3939
|
+
Update: {
|
|
3940
|
+
account_key?: string;
|
|
3941
|
+
barcode?: string | null;
|
|
3942
|
+
code?: string | null;
|
|
3943
|
+
cost_price?: number | null;
|
|
3944
|
+
created_at?: string;
|
|
3945
|
+
description?: string | null;
|
|
3946
|
+
division_code?: number | null;
|
|
3947
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3948
|
+
exact_id?: string;
|
|
3949
|
+
exact_modified?: string | null;
|
|
3950
|
+
exact_timestamp?: number | null;
|
|
3951
|
+
gl_account_code?: string | null;
|
|
3952
|
+
id?: string;
|
|
3953
|
+
is_active?: boolean;
|
|
3954
|
+
is_sales_item?: boolean | null;
|
|
3955
|
+
item_type?: string | null;
|
|
3956
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3957
|
+
sales_price?: number | null;
|
|
3958
|
+
unit?: string | null;
|
|
3959
|
+
updated_at?: string;
|
|
3960
|
+
vat_code?: string | null;
|
|
3961
|
+
};
|
|
3962
|
+
Relationships: [];
|
|
3963
|
+
};
|
|
3964
|
+
exact_auth_sync_log: {
|
|
3965
|
+
Row: {
|
|
3966
|
+
account_key: string;
|
|
3967
|
+
calls_used: number;
|
|
3968
|
+
created_at: string;
|
|
3969
|
+
domain: string;
|
|
3970
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3971
|
+
error: string | null;
|
|
3972
|
+
finished_at: string | null;
|
|
3973
|
+
id: string;
|
|
3974
|
+
ok: boolean;
|
|
3975
|
+
records: number;
|
|
3976
|
+
started_at: string;
|
|
3977
|
+
};
|
|
3978
|
+
Insert: {
|
|
3979
|
+
account_key?: string;
|
|
3980
|
+
calls_used?: number;
|
|
3981
|
+
created_at?: string;
|
|
3982
|
+
domain: string;
|
|
3983
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3984
|
+
error?: string | null;
|
|
3985
|
+
finished_at?: string | null;
|
|
3986
|
+
id?: string;
|
|
3987
|
+
ok?: boolean;
|
|
3988
|
+
records?: number;
|
|
3989
|
+
started_at?: string;
|
|
3990
|
+
};
|
|
3991
|
+
Update: {
|
|
3992
|
+
account_key?: string;
|
|
3993
|
+
calls_used?: number;
|
|
3994
|
+
created_at?: string;
|
|
3995
|
+
domain?: string;
|
|
3996
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3997
|
+
error?: string | null;
|
|
3998
|
+
finished_at?: string | null;
|
|
3999
|
+
id?: string;
|
|
4000
|
+
ok?: boolean;
|
|
4001
|
+
records?: number;
|
|
4002
|
+
started_at?: string;
|
|
4003
|
+
};
|
|
4004
|
+
Relationships: [];
|
|
4005
|
+
};
|
|
4006
|
+
exact_auth_sync_state: {
|
|
4007
|
+
Row: {
|
|
4008
|
+
account_key: string;
|
|
4009
|
+
created_at: string;
|
|
4010
|
+
cursor_timestamp: number;
|
|
4011
|
+
division_code: number | null;
|
|
4012
|
+
domain: string;
|
|
4013
|
+
duration_ms: number | null;
|
|
4014
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
4015
|
+
initial_sync_done: boolean;
|
|
4016
|
+
last_error: string | null;
|
|
4017
|
+
last_run_at: string | null;
|
|
4018
|
+
last_success_at: string | null;
|
|
4019
|
+
locked_at: string | null;
|
|
4020
|
+
needs_initial_sync: boolean;
|
|
4021
|
+
record_count: number;
|
|
4022
|
+
updated_at: string;
|
|
4023
|
+
};
|
|
4024
|
+
Insert: {
|
|
4025
|
+
account_key?: string;
|
|
4026
|
+
created_at?: string;
|
|
4027
|
+
cursor_timestamp?: number;
|
|
4028
|
+
division_code?: number | null;
|
|
4029
|
+
domain: string;
|
|
4030
|
+
duration_ms?: number | null;
|
|
4031
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
4032
|
+
initial_sync_done?: boolean;
|
|
4033
|
+
last_error?: string | null;
|
|
4034
|
+
last_run_at?: string | null;
|
|
4035
|
+
last_success_at?: string | null;
|
|
4036
|
+
locked_at?: string | null;
|
|
4037
|
+
needs_initial_sync?: boolean;
|
|
4038
|
+
record_count?: number;
|
|
4039
|
+
updated_at?: string;
|
|
4040
|
+
};
|
|
4041
|
+
Update: {
|
|
4042
|
+
account_key?: string;
|
|
4043
|
+
created_at?: string;
|
|
4044
|
+
cursor_timestamp?: number;
|
|
4045
|
+
division_code?: number | null;
|
|
4046
|
+
domain?: string;
|
|
4047
|
+
duration_ms?: number | null;
|
|
4048
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
4049
|
+
initial_sync_done?: boolean;
|
|
4050
|
+
last_error?: string | null;
|
|
4051
|
+
last_run_at?: string | null;
|
|
4052
|
+
last_success_at?: string | null;
|
|
4053
|
+
locked_at?: string | null;
|
|
4054
|
+
needs_initial_sync?: boolean;
|
|
4055
|
+
record_count?: number;
|
|
4056
|
+
updated_at?: string;
|
|
4057
|
+
};
|
|
4058
|
+
Relationships: [];
|
|
4059
|
+
};
|
|
3592
4060
|
exact_bulk_operation_items: {
|
|
3593
4061
|
Row: {
|
|
3594
4062
|
attempts: number;
|
|
@@ -10089,6 +10557,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
10089
10557
|
};
|
|
10090
10558
|
offer_settings: {
|
|
10091
10559
|
Row: {
|
|
10560
|
+
brand_name: string | null;
|
|
10092
10561
|
button_color: string;
|
|
10093
10562
|
created_at: string;
|
|
10094
10563
|
default_countries: string[];
|
|
@@ -10110,6 +10579,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
10110
10579
|
updated_at: string;
|
|
10111
10580
|
};
|
|
10112
10581
|
Insert: {
|
|
10582
|
+
brand_name?: string | null;
|
|
10113
10583
|
button_color?: string;
|
|
10114
10584
|
created_at?: string;
|
|
10115
10585
|
default_countries?: string[];
|
|
@@ -10131,6 +10601,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
10131
10601
|
updated_at?: string;
|
|
10132
10602
|
};
|
|
10133
10603
|
Update: {
|
|
10604
|
+
brand_name?: string | null;
|
|
10134
10605
|
button_color?: string;
|
|
10135
10606
|
created_at?: string;
|
|
10136
10607
|
default_countries?: string[];
|
|
@@ -17981,6 +18452,21 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
17981
18452
|
Args: never;
|
|
17982
18453
|
Returns: string;
|
|
17983
18454
|
};
|
|
18455
|
+
exact_auth_consume_calls: {
|
|
18456
|
+
Args: {
|
|
18457
|
+
_account_key: string;
|
|
18458
|
+
_calls?: number;
|
|
18459
|
+
_day_limit?: number;
|
|
18460
|
+
_division_code: number;
|
|
18461
|
+
_environment: string;
|
|
18462
|
+
_minute_limit?: number;
|
|
18463
|
+
};
|
|
18464
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18465
|
+
};
|
|
18466
|
+
exact_auth_prune_sync_log: {
|
|
18467
|
+
Args: never;
|
|
18468
|
+
Returns: undefined;
|
|
18469
|
+
};
|
|
17984
18470
|
exact_decrypt: {
|
|
17985
18471
|
Args: {
|
|
17986
18472
|
cipher: string;
|
|
@@ -18190,6 +18676,10 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
18190
18676
|
};
|
|
18191
18677
|
Returns: number;
|
|
18192
18678
|
};
|
|
18679
|
+
get_offer_branding: {
|
|
18680
|
+
Args: never;
|
|
18681
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18682
|
+
};
|
|
18193
18683
|
get_offer_by_link_code: {
|
|
18194
18684
|
Args: {
|
|
18195
18685
|
p_code: string;
|
|
@@ -23403,6 +23893,474 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
23403
23893
|
referencedColumns: ["id"];
|
|
23404
23894
|
}];
|
|
23405
23895
|
};
|
|
23896
|
+
exact_auth_call_budget: {
|
|
23897
|
+
Row: {
|
|
23898
|
+
account_key: string;
|
|
23899
|
+
day_count: number;
|
|
23900
|
+
day_date: string;
|
|
23901
|
+
division_code: number;
|
|
23902
|
+
environment: string;
|
|
23903
|
+
minute_count: number;
|
|
23904
|
+
minute_window: string;
|
|
23905
|
+
updated_at: string;
|
|
23906
|
+
};
|
|
23907
|
+
Insert: {
|
|
23908
|
+
account_key?: string;
|
|
23909
|
+
day_count?: number;
|
|
23910
|
+
day_date?: string;
|
|
23911
|
+
division_code?: number;
|
|
23912
|
+
environment: string;
|
|
23913
|
+
minute_count?: number;
|
|
23914
|
+
minute_window?: string;
|
|
23915
|
+
updated_at?: string;
|
|
23916
|
+
};
|
|
23917
|
+
Update: {
|
|
23918
|
+
account_key?: string;
|
|
23919
|
+
day_count?: number;
|
|
23920
|
+
day_date?: string;
|
|
23921
|
+
division_code?: number;
|
|
23922
|
+
environment?: string;
|
|
23923
|
+
minute_count?: number;
|
|
23924
|
+
minute_window?: string;
|
|
23925
|
+
updated_at?: string;
|
|
23926
|
+
};
|
|
23927
|
+
Relationships: [];
|
|
23928
|
+
};
|
|
23929
|
+
exact_auth_customers: {
|
|
23930
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
23957
|
+
account_key?: string;
|
|
23958
|
+
address_line1?: string | null;
|
|
23959
|
+
chamber_of_commerce?: string | null;
|
|
23960
|
+
city?: string | null;
|
|
23961
|
+
code?: string | null;
|
|
23962
|
+
country?: string | null;
|
|
23963
|
+
created_at?: string;
|
|
23964
|
+
currency?: string | null;
|
|
23965
|
+
division_code?: number | null;
|
|
23966
|
+
email?: string | null;
|
|
23967
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23968
|
+
exact_id: string;
|
|
23969
|
+
exact_modified?: string | null;
|
|
23970
|
+
exact_timestamp?: number | null;
|
|
23971
|
+
id?: string;
|
|
23972
|
+
is_active?: boolean;
|
|
23973
|
+
name?: string | null;
|
|
23974
|
+
phone?: string | null;
|
|
23975
|
+
postcode?: string | null;
|
|
23976
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
23977
|
+
status?: string | null;
|
|
23978
|
+
updated_at?: string;
|
|
23979
|
+
vat_number?: string | null;
|
|
23980
|
+
website?: string | null;
|
|
23981
|
+
};
|
|
23982
|
+
Update: {
|
|
23983
|
+
account_key?: string;
|
|
23984
|
+
address_line1?: string | null;
|
|
23985
|
+
chamber_of_commerce?: string | null;
|
|
23986
|
+
city?: string | null;
|
|
23987
|
+
code?: string | null;
|
|
23988
|
+
country?: string | null;
|
|
23989
|
+
created_at?: string;
|
|
23990
|
+
currency?: string | null;
|
|
23991
|
+
division_code?: number | null;
|
|
23992
|
+
email?: string | null;
|
|
23993
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23994
|
+
exact_id?: string;
|
|
23995
|
+
exact_modified?: string | null;
|
|
23996
|
+
exact_timestamp?: number | null;
|
|
23997
|
+
id?: string;
|
|
23998
|
+
is_active?: boolean;
|
|
23999
|
+
name?: string | null;
|
|
24000
|
+
phone?: string | null;
|
|
24001
|
+
postcode?: string | null;
|
|
24002
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24003
|
+
status?: string | null;
|
|
24004
|
+
updated_at?: string;
|
|
24005
|
+
vat_number?: string | null;
|
|
24006
|
+
website?: string | null;
|
|
24007
|
+
};
|
|
24008
|
+
Relationships: [];
|
|
24009
|
+
};
|
|
24010
|
+
exact_auth_divisions: {
|
|
24011
|
+
Row: {
|
|
24012
|
+
account_key: string;
|
|
24013
|
+
company_name: string | null;
|
|
24014
|
+
created_at: string;
|
|
24015
|
+
division_code: number | null;
|
|
24016
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24017
|
+
id: string;
|
|
24018
|
+
last_synced_at: string | null;
|
|
24019
|
+
updated_at: string;
|
|
24020
|
+
};
|
|
24021
|
+
Insert: {
|
|
24022
|
+
account_key?: string;
|
|
24023
|
+
company_name?: string | null;
|
|
24024
|
+
created_at?: string;
|
|
24025
|
+
division_code?: number | null;
|
|
24026
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24027
|
+
id?: string;
|
|
24028
|
+
last_synced_at?: string | null;
|
|
24029
|
+
updated_at?: string;
|
|
24030
|
+
};
|
|
24031
|
+
Update: {
|
|
24032
|
+
account_key?: string;
|
|
24033
|
+
company_name?: string | null;
|
|
24034
|
+
created_at?: string;
|
|
24035
|
+
division_code?: number | null;
|
|
24036
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24037
|
+
id?: string;
|
|
24038
|
+
last_synced_at?: string | null;
|
|
24039
|
+
updated_at?: string;
|
|
24040
|
+
};
|
|
24041
|
+
Relationships: [];
|
|
24042
|
+
};
|
|
24043
|
+
exact_auth_invoice_lines: {
|
|
24044
|
+
Row: {
|
|
24045
|
+
account_key: string;
|
|
24046
|
+
amount_excl: number | null;
|
|
24047
|
+
created_at: string;
|
|
24048
|
+
description: string | null;
|
|
24049
|
+
discount: number | null;
|
|
24050
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24051
|
+
exact_id: string;
|
|
24052
|
+
exact_timestamp: number | null;
|
|
24053
|
+
id: string;
|
|
24054
|
+
invoice_exact_id: string;
|
|
24055
|
+
item_code: string | null;
|
|
24056
|
+
item_exact_id: string | null;
|
|
24057
|
+
line_number: number | null;
|
|
24058
|
+
quantity: number | null;
|
|
24059
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24060
|
+
unit_price: number | null;
|
|
24061
|
+
updated_at: string;
|
|
24062
|
+
vat_amount: number | null;
|
|
24063
|
+
vat_code: string | null;
|
|
24064
|
+
};
|
|
24065
|
+
Insert: {
|
|
24066
|
+
account_key?: string;
|
|
24067
|
+
amount_excl?: number | null;
|
|
24068
|
+
created_at?: string;
|
|
24069
|
+
description?: string | null;
|
|
24070
|
+
discount?: number | null;
|
|
24071
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24072
|
+
exact_id: string;
|
|
24073
|
+
exact_timestamp?: number | null;
|
|
24074
|
+
id?: string;
|
|
24075
|
+
invoice_exact_id: string;
|
|
24076
|
+
item_code?: string | null;
|
|
24077
|
+
item_exact_id?: string | null;
|
|
24078
|
+
line_number?: number | null;
|
|
24079
|
+
quantity?: number | null;
|
|
24080
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24081
|
+
unit_price?: number | null;
|
|
24082
|
+
updated_at?: string;
|
|
24083
|
+
vat_amount?: number | null;
|
|
24084
|
+
vat_code?: string | null;
|
|
24085
|
+
};
|
|
24086
|
+
Update: {
|
|
24087
|
+
account_key?: string;
|
|
24088
|
+
amount_excl?: number | null;
|
|
24089
|
+
created_at?: string;
|
|
24090
|
+
description?: string | null;
|
|
24091
|
+
discount?: number | null;
|
|
24092
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24093
|
+
exact_id?: string;
|
|
24094
|
+
exact_timestamp?: number | null;
|
|
24095
|
+
id?: string;
|
|
24096
|
+
invoice_exact_id?: string;
|
|
24097
|
+
item_code?: string | null;
|
|
24098
|
+
item_exact_id?: string | null;
|
|
24099
|
+
line_number?: number | null;
|
|
24100
|
+
quantity?: number | null;
|
|
24101
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24102
|
+
unit_price?: number | null;
|
|
24103
|
+
updated_at?: string;
|
|
24104
|
+
vat_amount?: number | null;
|
|
24105
|
+
vat_code?: string | null;
|
|
24106
|
+
};
|
|
24107
|
+
Relationships: [];
|
|
24108
|
+
};
|
|
24109
|
+
exact_auth_invoices: {
|
|
24110
|
+
Row: {
|
|
24111
|
+
account_key: string;
|
|
24112
|
+
amount_excl: number | null;
|
|
24113
|
+
amount_incl: number | null;
|
|
24114
|
+
amount_open: number | null;
|
|
24115
|
+
created_at: string;
|
|
24116
|
+
currency: string | null;
|
|
24117
|
+
customer_code: string | null;
|
|
24118
|
+
customer_exact_id: string | null;
|
|
24119
|
+
customer_name: string | null;
|
|
24120
|
+
description: string | null;
|
|
24121
|
+
division_code: number | null;
|
|
24122
|
+
due_date: string | null;
|
|
24123
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24124
|
+
exact_id: string;
|
|
24125
|
+
exact_modified: string | null;
|
|
24126
|
+
exact_timestamp: number | null;
|
|
24127
|
+
id: string;
|
|
24128
|
+
invoice_date: string | null;
|
|
24129
|
+
invoice_number: string | null;
|
|
24130
|
+
order_number: string | null;
|
|
24131
|
+
paid_at: string | null;
|
|
24132
|
+
payment_status: string;
|
|
24133
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24134
|
+
receivable_synced_at: string | null;
|
|
24135
|
+
status_code: number | null;
|
|
24136
|
+
updated_at: string;
|
|
24137
|
+
};
|
|
24138
|
+
Insert: {
|
|
24139
|
+
account_key?: string;
|
|
24140
|
+
amount_excl?: number | null;
|
|
24141
|
+
amount_incl?: number | null;
|
|
24142
|
+
amount_open?: number | null;
|
|
24143
|
+
created_at?: string;
|
|
24144
|
+
currency?: string | null;
|
|
24145
|
+
customer_code?: string | null;
|
|
24146
|
+
customer_exact_id?: string | null;
|
|
24147
|
+
customer_name?: string | null;
|
|
24148
|
+
description?: string | null;
|
|
24149
|
+
division_code?: number | null;
|
|
24150
|
+
due_date?: string | null;
|
|
24151
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24152
|
+
exact_id: string;
|
|
24153
|
+
exact_modified?: string | null;
|
|
24154
|
+
exact_timestamp?: number | null;
|
|
24155
|
+
id?: string;
|
|
24156
|
+
invoice_date?: string | null;
|
|
24157
|
+
invoice_number?: string | null;
|
|
24158
|
+
order_number?: string | null;
|
|
24159
|
+
paid_at?: string | null;
|
|
24160
|
+
payment_status?: string;
|
|
24161
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24162
|
+
receivable_synced_at?: string | null;
|
|
24163
|
+
status_code?: number | null;
|
|
24164
|
+
updated_at?: string;
|
|
24165
|
+
};
|
|
24166
|
+
Update: {
|
|
24167
|
+
account_key?: string;
|
|
24168
|
+
amount_excl?: number | null;
|
|
24169
|
+
amount_incl?: number | null;
|
|
24170
|
+
amount_open?: number | null;
|
|
24171
|
+
created_at?: string;
|
|
24172
|
+
currency?: string | null;
|
|
24173
|
+
customer_code?: string | null;
|
|
24174
|
+
customer_exact_id?: string | null;
|
|
24175
|
+
customer_name?: string | null;
|
|
24176
|
+
description?: string | null;
|
|
24177
|
+
division_code?: number | null;
|
|
24178
|
+
due_date?: string | null;
|
|
24179
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24180
|
+
exact_id?: string;
|
|
24181
|
+
exact_modified?: string | null;
|
|
24182
|
+
exact_timestamp?: number | null;
|
|
24183
|
+
id?: string;
|
|
24184
|
+
invoice_date?: string | null;
|
|
24185
|
+
invoice_number?: string | null;
|
|
24186
|
+
order_number?: string | null;
|
|
24187
|
+
paid_at?: string | null;
|
|
24188
|
+
payment_status?: string;
|
|
24189
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24190
|
+
receivable_synced_at?: string | null;
|
|
24191
|
+
status_code?: number | null;
|
|
24192
|
+
updated_at?: string;
|
|
24193
|
+
};
|
|
24194
|
+
Relationships: [];
|
|
24195
|
+
};
|
|
24196
|
+
exact_auth_items: {
|
|
24197
|
+
Row: {
|
|
24198
|
+
account_key: string;
|
|
24199
|
+
barcode: string | null;
|
|
24200
|
+
code: string | null;
|
|
24201
|
+
cost_price: number | null;
|
|
24202
|
+
created_at: string;
|
|
24203
|
+
description: string | null;
|
|
24204
|
+
division_code: number | null;
|
|
24205
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24206
|
+
exact_id: string;
|
|
24207
|
+
exact_modified: string | null;
|
|
24208
|
+
exact_timestamp: number | null;
|
|
24209
|
+
gl_account_code: string | null;
|
|
24210
|
+
id: string;
|
|
24211
|
+
is_active: boolean;
|
|
24212
|
+
is_sales_item: boolean | null;
|
|
24213
|
+
item_type: string | null;
|
|
24214
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24215
|
+
sales_price: number | null;
|
|
24216
|
+
unit: string | null;
|
|
24217
|
+
updated_at: string;
|
|
24218
|
+
vat_code: string | null;
|
|
24219
|
+
};
|
|
24220
|
+
Insert: {
|
|
24221
|
+
account_key?: string;
|
|
24222
|
+
barcode?: string | null;
|
|
24223
|
+
code?: string | null;
|
|
24224
|
+
cost_price?: number | null;
|
|
24225
|
+
created_at?: string;
|
|
24226
|
+
description?: string | null;
|
|
24227
|
+
division_code?: number | null;
|
|
24228
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24229
|
+
exact_id: string;
|
|
24230
|
+
exact_modified?: string | null;
|
|
24231
|
+
exact_timestamp?: number | null;
|
|
24232
|
+
gl_account_code?: string | null;
|
|
24233
|
+
id?: string;
|
|
24234
|
+
is_active?: boolean;
|
|
24235
|
+
is_sales_item?: boolean | null;
|
|
24236
|
+
item_type?: string | null;
|
|
24237
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24238
|
+
sales_price?: number | null;
|
|
24239
|
+
unit?: string | null;
|
|
24240
|
+
updated_at?: string;
|
|
24241
|
+
vat_code?: string | null;
|
|
24242
|
+
};
|
|
24243
|
+
Update: {
|
|
24244
|
+
account_key?: string;
|
|
24245
|
+
barcode?: string | null;
|
|
24246
|
+
code?: string | null;
|
|
24247
|
+
cost_price?: number | null;
|
|
24248
|
+
created_at?: string;
|
|
24249
|
+
description?: string | null;
|
|
24250
|
+
division_code?: number | null;
|
|
24251
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24252
|
+
exact_id?: string;
|
|
24253
|
+
exact_modified?: string | null;
|
|
24254
|
+
exact_timestamp?: number | null;
|
|
24255
|
+
gl_account_code?: string | null;
|
|
24256
|
+
id?: string;
|
|
24257
|
+
is_active?: boolean;
|
|
24258
|
+
is_sales_item?: boolean | null;
|
|
24259
|
+
item_type?: string | null;
|
|
24260
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24261
|
+
sales_price?: number | null;
|
|
24262
|
+
unit?: string | null;
|
|
24263
|
+
updated_at?: string;
|
|
24264
|
+
vat_code?: string | null;
|
|
24265
|
+
};
|
|
24266
|
+
Relationships: [];
|
|
24267
|
+
};
|
|
24268
|
+
exact_auth_sync_log: {
|
|
24269
|
+
Row: {
|
|
24270
|
+
account_key: string;
|
|
24271
|
+
calls_used: number;
|
|
24272
|
+
created_at: string;
|
|
24273
|
+
domain: string;
|
|
24274
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24275
|
+
error: string | null;
|
|
24276
|
+
finished_at: string | null;
|
|
24277
|
+
id: string;
|
|
24278
|
+
ok: boolean;
|
|
24279
|
+
records: number;
|
|
24280
|
+
started_at: string;
|
|
24281
|
+
};
|
|
24282
|
+
Insert: {
|
|
24283
|
+
account_key?: string;
|
|
24284
|
+
calls_used?: number;
|
|
24285
|
+
created_at?: string;
|
|
24286
|
+
domain: string;
|
|
24287
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24288
|
+
error?: string | null;
|
|
24289
|
+
finished_at?: string | null;
|
|
24290
|
+
id?: string;
|
|
24291
|
+
ok?: boolean;
|
|
24292
|
+
records?: number;
|
|
24293
|
+
started_at?: string;
|
|
24294
|
+
};
|
|
24295
|
+
Update: {
|
|
24296
|
+
account_key?: string;
|
|
24297
|
+
calls_used?: number;
|
|
24298
|
+
created_at?: string;
|
|
24299
|
+
domain?: string;
|
|
24300
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24301
|
+
error?: string | null;
|
|
24302
|
+
finished_at?: string | null;
|
|
24303
|
+
id?: string;
|
|
24304
|
+
ok?: boolean;
|
|
24305
|
+
records?: number;
|
|
24306
|
+
started_at?: string;
|
|
24307
|
+
};
|
|
24308
|
+
Relationships: [];
|
|
24309
|
+
};
|
|
24310
|
+
exact_auth_sync_state: {
|
|
24311
|
+
Row: {
|
|
24312
|
+
account_key: string;
|
|
24313
|
+
created_at: string;
|
|
24314
|
+
cursor_timestamp: number;
|
|
24315
|
+
division_code: number | null;
|
|
24316
|
+
domain: string;
|
|
24317
|
+
duration_ms: number | null;
|
|
24318
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24319
|
+
initial_sync_done: boolean;
|
|
24320
|
+
last_error: string | null;
|
|
24321
|
+
last_run_at: string | null;
|
|
24322
|
+
last_success_at: string | null;
|
|
24323
|
+
locked_at: string | null;
|
|
24324
|
+
needs_initial_sync: boolean;
|
|
24325
|
+
record_count: number;
|
|
24326
|
+
updated_at: string;
|
|
24327
|
+
};
|
|
24328
|
+
Insert: {
|
|
24329
|
+
account_key?: string;
|
|
24330
|
+
created_at?: string;
|
|
24331
|
+
cursor_timestamp?: number;
|
|
24332
|
+
division_code?: number | null;
|
|
24333
|
+
domain: string;
|
|
24334
|
+
duration_ms?: number | null;
|
|
24335
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24336
|
+
initial_sync_done?: boolean;
|
|
24337
|
+
last_error?: string | null;
|
|
24338
|
+
last_run_at?: string | null;
|
|
24339
|
+
last_success_at?: string | null;
|
|
24340
|
+
locked_at?: string | null;
|
|
24341
|
+
needs_initial_sync?: boolean;
|
|
24342
|
+
record_count?: number;
|
|
24343
|
+
updated_at?: string;
|
|
24344
|
+
};
|
|
24345
|
+
Update: {
|
|
24346
|
+
account_key?: string;
|
|
24347
|
+
created_at?: string;
|
|
24348
|
+
cursor_timestamp?: number;
|
|
24349
|
+
division_code?: number | null;
|
|
24350
|
+
domain?: string;
|
|
24351
|
+
duration_ms?: number | null;
|
|
24352
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24353
|
+
initial_sync_done?: boolean;
|
|
24354
|
+
last_error?: string | null;
|
|
24355
|
+
last_run_at?: string | null;
|
|
24356
|
+
last_success_at?: string | null;
|
|
24357
|
+
locked_at?: string | null;
|
|
24358
|
+
needs_initial_sync?: boolean;
|
|
24359
|
+
record_count?: number;
|
|
24360
|
+
updated_at?: string;
|
|
24361
|
+
};
|
|
24362
|
+
Relationships: [];
|
|
24363
|
+
};
|
|
23406
24364
|
exact_bulk_operation_items: {
|
|
23407
24365
|
Row: {
|
|
23408
24366
|
attempts: number;
|
|
@@ -29903,6 +30861,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
29903
30861
|
};
|
|
29904
30862
|
offer_settings: {
|
|
29905
30863
|
Row: {
|
|
30864
|
+
brand_name: string | null;
|
|
29906
30865
|
button_color: string;
|
|
29907
30866
|
created_at: string;
|
|
29908
30867
|
default_countries: string[];
|
|
@@ -29924,6 +30883,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
29924
30883
|
updated_at: string;
|
|
29925
30884
|
};
|
|
29926
30885
|
Insert: {
|
|
30886
|
+
brand_name?: string | null;
|
|
29927
30887
|
button_color?: string;
|
|
29928
30888
|
created_at?: string;
|
|
29929
30889
|
default_countries?: string[];
|
|
@@ -29945,6 +30905,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
29945
30905
|
updated_at?: string;
|
|
29946
30906
|
};
|
|
29947
30907
|
Update: {
|
|
30908
|
+
brand_name?: string | null;
|
|
29948
30909
|
button_color?: string;
|
|
29949
30910
|
created_at?: string;
|
|
29950
30911
|
default_countries?: string[];
|
|
@@ -37795,6 +38756,21 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
37795
38756
|
Args: never;
|
|
37796
38757
|
Returns: string;
|
|
37797
38758
|
};
|
|
38759
|
+
exact_auth_consume_calls: {
|
|
38760
|
+
Args: {
|
|
38761
|
+
_account_key: string;
|
|
38762
|
+
_calls?: number;
|
|
38763
|
+
_day_limit?: number;
|
|
38764
|
+
_division_code: number;
|
|
38765
|
+
_environment: string;
|
|
38766
|
+
_minute_limit?: number;
|
|
38767
|
+
};
|
|
38768
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38769
|
+
};
|
|
38770
|
+
exact_auth_prune_sync_log: {
|
|
38771
|
+
Args: never;
|
|
38772
|
+
Returns: undefined;
|
|
38773
|
+
};
|
|
37798
38774
|
exact_decrypt: {
|
|
37799
38775
|
Args: {
|
|
37800
38776
|
cipher: string;
|
|
@@ -38004,6 +38980,10 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38004
38980
|
};
|
|
38005
38981
|
Returns: number;
|
|
38006
38982
|
};
|
|
38983
|
+
get_offer_branding: {
|
|
38984
|
+
Args: never;
|
|
38985
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38986
|
+
};
|
|
38007
38987
|
get_offer_by_link_code: {
|
|
38008
38988
|
Args: {
|
|
38009
38989
|
p_code: string;
|
|
@@ -39680,8 +40660,8 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
39680
40660
|
}, undefined, undefined, undefined>], (input: unknown) => {
|
|
39681
40661
|
search: string;
|
|
39682
40662
|
status: "active" | "all";
|
|
39683
|
-
limit: number;
|
|
39684
40663
|
providers?: string[] | undefined;
|
|
40664
|
+
limit?: number | undefined;
|
|
39685
40665
|
}, Promise<{
|
|
39686
40666
|
customers: GroupedCustomer[];
|
|
39687
40667
|
providers: ExternalProvider[];
|
|
@@ -43224,6 +44204,474 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
43224
44204
|
referencedColumns: ["id"];
|
|
43225
44205
|
}];
|
|
43226
44206
|
};
|
|
44207
|
+
exact_auth_call_budget: {
|
|
44208
|
+
Row: {
|
|
44209
|
+
account_key: string;
|
|
44210
|
+
day_count: number;
|
|
44211
|
+
day_date: string;
|
|
44212
|
+
division_code: number;
|
|
44213
|
+
environment: string;
|
|
44214
|
+
minute_count: number;
|
|
44215
|
+
minute_window: string;
|
|
44216
|
+
updated_at: string;
|
|
44217
|
+
};
|
|
44218
|
+
Insert: {
|
|
44219
|
+
account_key?: string;
|
|
44220
|
+
day_count?: number;
|
|
44221
|
+
day_date?: string;
|
|
44222
|
+
division_code?: number;
|
|
44223
|
+
environment: string;
|
|
44224
|
+
minute_count?: number;
|
|
44225
|
+
minute_window?: string;
|
|
44226
|
+
updated_at?: string;
|
|
44227
|
+
};
|
|
44228
|
+
Update: {
|
|
44229
|
+
account_key?: string;
|
|
44230
|
+
day_count?: number;
|
|
44231
|
+
day_date?: string;
|
|
44232
|
+
division_code?: number;
|
|
44233
|
+
environment?: string;
|
|
44234
|
+
minute_count?: number;
|
|
44235
|
+
minute_window?: string;
|
|
44236
|
+
updated_at?: string;
|
|
44237
|
+
};
|
|
44238
|
+
Relationships: [];
|
|
44239
|
+
};
|
|
44240
|
+
exact_auth_customers: {
|
|
44241
|
+
Row: {
|
|
44242
|
+
account_key: string;
|
|
44243
|
+
address_line1: string | null;
|
|
44244
|
+
chamber_of_commerce: string | null;
|
|
44245
|
+
city: string | null;
|
|
44246
|
+
code: string | null;
|
|
44247
|
+
country: string | null;
|
|
44248
|
+
created_at: string;
|
|
44249
|
+
currency: string | null;
|
|
44250
|
+
division_code: number | null;
|
|
44251
|
+
email: string | null;
|
|
44252
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44253
|
+
exact_id: string;
|
|
44254
|
+
exact_modified: string | null;
|
|
44255
|
+
exact_timestamp: number | null;
|
|
44256
|
+
id: string;
|
|
44257
|
+
is_active: boolean;
|
|
44258
|
+
name: string | null;
|
|
44259
|
+
phone: string | null;
|
|
44260
|
+
postcode: string | null;
|
|
44261
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44262
|
+
status: string | null;
|
|
44263
|
+
updated_at: string;
|
|
44264
|
+
vat_number: string | null;
|
|
44265
|
+
website: string | null;
|
|
44266
|
+
};
|
|
44267
|
+
Insert: {
|
|
44268
|
+
account_key?: string;
|
|
44269
|
+
address_line1?: string | null;
|
|
44270
|
+
chamber_of_commerce?: string | null;
|
|
44271
|
+
city?: string | null;
|
|
44272
|
+
code?: string | null;
|
|
44273
|
+
country?: string | null;
|
|
44274
|
+
created_at?: string;
|
|
44275
|
+
currency?: string | null;
|
|
44276
|
+
division_code?: number | null;
|
|
44277
|
+
email?: string | null;
|
|
44278
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44279
|
+
exact_id: string;
|
|
44280
|
+
exact_modified?: string | null;
|
|
44281
|
+
exact_timestamp?: number | null;
|
|
44282
|
+
id?: string;
|
|
44283
|
+
is_active?: boolean;
|
|
44284
|
+
name?: string | null;
|
|
44285
|
+
phone?: string | null;
|
|
44286
|
+
postcode?: string | null;
|
|
44287
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44288
|
+
status?: string | null;
|
|
44289
|
+
updated_at?: string;
|
|
44290
|
+
vat_number?: string | null;
|
|
44291
|
+
website?: string | null;
|
|
44292
|
+
};
|
|
44293
|
+
Update: {
|
|
44294
|
+
account_key?: string;
|
|
44295
|
+
address_line1?: string | null;
|
|
44296
|
+
chamber_of_commerce?: string | null;
|
|
44297
|
+
city?: string | null;
|
|
44298
|
+
code?: string | null;
|
|
44299
|
+
country?: string | null;
|
|
44300
|
+
created_at?: string;
|
|
44301
|
+
currency?: string | null;
|
|
44302
|
+
division_code?: number | null;
|
|
44303
|
+
email?: string | null;
|
|
44304
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44305
|
+
exact_id?: string;
|
|
44306
|
+
exact_modified?: string | null;
|
|
44307
|
+
exact_timestamp?: number | null;
|
|
44308
|
+
id?: string;
|
|
44309
|
+
is_active?: boolean;
|
|
44310
|
+
name?: string | null;
|
|
44311
|
+
phone?: string | null;
|
|
44312
|
+
postcode?: string | null;
|
|
44313
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44314
|
+
status?: string | null;
|
|
44315
|
+
updated_at?: string;
|
|
44316
|
+
vat_number?: string | null;
|
|
44317
|
+
website?: string | null;
|
|
44318
|
+
};
|
|
44319
|
+
Relationships: [];
|
|
44320
|
+
};
|
|
44321
|
+
exact_auth_divisions: {
|
|
44322
|
+
Row: {
|
|
44323
|
+
account_key: string;
|
|
44324
|
+
company_name: string | null;
|
|
44325
|
+
created_at: string;
|
|
44326
|
+
division_code: number | null;
|
|
44327
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44328
|
+
id: string;
|
|
44329
|
+
last_synced_at: string | null;
|
|
44330
|
+
updated_at: string;
|
|
44331
|
+
};
|
|
44332
|
+
Insert: {
|
|
44333
|
+
account_key?: string;
|
|
44334
|
+
company_name?: string | null;
|
|
44335
|
+
created_at?: string;
|
|
44336
|
+
division_code?: number | null;
|
|
44337
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44338
|
+
id?: string;
|
|
44339
|
+
last_synced_at?: string | null;
|
|
44340
|
+
updated_at?: string;
|
|
44341
|
+
};
|
|
44342
|
+
Update: {
|
|
44343
|
+
account_key?: string;
|
|
44344
|
+
company_name?: string | null;
|
|
44345
|
+
created_at?: string;
|
|
44346
|
+
division_code?: number | null;
|
|
44347
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44348
|
+
id?: string;
|
|
44349
|
+
last_synced_at?: string | null;
|
|
44350
|
+
updated_at?: string;
|
|
44351
|
+
};
|
|
44352
|
+
Relationships: [];
|
|
44353
|
+
};
|
|
44354
|
+
exact_auth_invoice_lines: {
|
|
44355
|
+
Row: {
|
|
44356
|
+
account_key: string;
|
|
44357
|
+
amount_excl: number | null;
|
|
44358
|
+
created_at: string;
|
|
44359
|
+
description: string | null;
|
|
44360
|
+
discount: number | null;
|
|
44361
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44362
|
+
exact_id: string;
|
|
44363
|
+
exact_timestamp: number | null;
|
|
44364
|
+
id: string;
|
|
44365
|
+
invoice_exact_id: string;
|
|
44366
|
+
item_code: string | null;
|
|
44367
|
+
item_exact_id: string | null;
|
|
44368
|
+
line_number: number | null;
|
|
44369
|
+
quantity: number | null;
|
|
44370
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44371
|
+
unit_price: number | null;
|
|
44372
|
+
updated_at: string;
|
|
44373
|
+
vat_amount: number | null;
|
|
44374
|
+
vat_code: string | null;
|
|
44375
|
+
};
|
|
44376
|
+
Insert: {
|
|
44377
|
+
account_key?: string;
|
|
44378
|
+
amount_excl?: number | null;
|
|
44379
|
+
created_at?: string;
|
|
44380
|
+
description?: string | null;
|
|
44381
|
+
discount?: number | null;
|
|
44382
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44383
|
+
exact_id: string;
|
|
44384
|
+
exact_timestamp?: number | null;
|
|
44385
|
+
id?: string;
|
|
44386
|
+
invoice_exact_id: string;
|
|
44387
|
+
item_code?: string | null;
|
|
44388
|
+
item_exact_id?: string | null;
|
|
44389
|
+
line_number?: number | null;
|
|
44390
|
+
quantity?: number | null;
|
|
44391
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44392
|
+
unit_price?: number | null;
|
|
44393
|
+
updated_at?: string;
|
|
44394
|
+
vat_amount?: number | null;
|
|
44395
|
+
vat_code?: string | null;
|
|
44396
|
+
};
|
|
44397
|
+
Update: {
|
|
44398
|
+
account_key?: string;
|
|
44399
|
+
amount_excl?: number | null;
|
|
44400
|
+
created_at?: string;
|
|
44401
|
+
description?: string | null;
|
|
44402
|
+
discount?: number | null;
|
|
44403
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44404
|
+
exact_id?: string;
|
|
44405
|
+
exact_timestamp?: number | null;
|
|
44406
|
+
id?: string;
|
|
44407
|
+
invoice_exact_id?: string;
|
|
44408
|
+
item_code?: string | null;
|
|
44409
|
+
item_exact_id?: string | null;
|
|
44410
|
+
line_number?: number | null;
|
|
44411
|
+
quantity?: number | null;
|
|
44412
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44413
|
+
unit_price?: number | null;
|
|
44414
|
+
updated_at?: string;
|
|
44415
|
+
vat_amount?: number | null;
|
|
44416
|
+
vat_code?: string | null;
|
|
44417
|
+
};
|
|
44418
|
+
Relationships: [];
|
|
44419
|
+
};
|
|
44420
|
+
exact_auth_invoices: {
|
|
44421
|
+
Row: {
|
|
44422
|
+
account_key: string;
|
|
44423
|
+
amount_excl: number | null;
|
|
44424
|
+
amount_incl: number | null;
|
|
44425
|
+
amount_open: number | null;
|
|
44426
|
+
created_at: string;
|
|
44427
|
+
currency: string | null;
|
|
44428
|
+
customer_code: string | null;
|
|
44429
|
+
customer_exact_id: string | null;
|
|
44430
|
+
customer_name: string | null;
|
|
44431
|
+
description: string | null;
|
|
44432
|
+
division_code: number | null;
|
|
44433
|
+
due_date: string | null;
|
|
44434
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44435
|
+
exact_id: string;
|
|
44436
|
+
exact_modified: string | null;
|
|
44437
|
+
exact_timestamp: number | null;
|
|
44438
|
+
id: string;
|
|
44439
|
+
invoice_date: string | null;
|
|
44440
|
+
invoice_number: string | null;
|
|
44441
|
+
order_number: string | null;
|
|
44442
|
+
paid_at: string | null;
|
|
44443
|
+
payment_status: string;
|
|
44444
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44445
|
+
receivable_synced_at: string | null;
|
|
44446
|
+
status_code: number | null;
|
|
44447
|
+
updated_at: string;
|
|
44448
|
+
};
|
|
44449
|
+
Insert: {
|
|
44450
|
+
account_key?: string;
|
|
44451
|
+
amount_excl?: number | null;
|
|
44452
|
+
amount_incl?: number | null;
|
|
44453
|
+
amount_open?: number | null;
|
|
44454
|
+
created_at?: string;
|
|
44455
|
+
currency?: string | null;
|
|
44456
|
+
customer_code?: string | null;
|
|
44457
|
+
customer_exact_id?: string | null;
|
|
44458
|
+
customer_name?: string | null;
|
|
44459
|
+
description?: string | null;
|
|
44460
|
+
division_code?: number | null;
|
|
44461
|
+
due_date?: string | null;
|
|
44462
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44463
|
+
exact_id: string;
|
|
44464
|
+
exact_modified?: string | null;
|
|
44465
|
+
exact_timestamp?: number | null;
|
|
44466
|
+
id?: string;
|
|
44467
|
+
invoice_date?: string | null;
|
|
44468
|
+
invoice_number?: string | null;
|
|
44469
|
+
order_number?: string | null;
|
|
44470
|
+
paid_at?: string | null;
|
|
44471
|
+
payment_status?: string;
|
|
44472
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44473
|
+
receivable_synced_at?: string | null;
|
|
44474
|
+
status_code?: number | null;
|
|
44475
|
+
updated_at?: string;
|
|
44476
|
+
};
|
|
44477
|
+
Update: {
|
|
44478
|
+
account_key?: string;
|
|
44479
|
+
amount_excl?: number | null;
|
|
44480
|
+
amount_incl?: number | null;
|
|
44481
|
+
amount_open?: number | null;
|
|
44482
|
+
created_at?: string;
|
|
44483
|
+
currency?: string | null;
|
|
44484
|
+
customer_code?: string | null;
|
|
44485
|
+
customer_exact_id?: string | null;
|
|
44486
|
+
customer_name?: string | null;
|
|
44487
|
+
description?: string | null;
|
|
44488
|
+
division_code?: number | null;
|
|
44489
|
+
due_date?: string | null;
|
|
44490
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44491
|
+
exact_id?: string;
|
|
44492
|
+
exact_modified?: string | null;
|
|
44493
|
+
exact_timestamp?: number | null;
|
|
44494
|
+
id?: string;
|
|
44495
|
+
invoice_date?: string | null;
|
|
44496
|
+
invoice_number?: string | null;
|
|
44497
|
+
order_number?: string | null;
|
|
44498
|
+
paid_at?: string | null;
|
|
44499
|
+
payment_status?: string;
|
|
44500
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44501
|
+
receivable_synced_at?: string | null;
|
|
44502
|
+
status_code?: number | null;
|
|
44503
|
+
updated_at?: string;
|
|
44504
|
+
};
|
|
44505
|
+
Relationships: [];
|
|
44506
|
+
};
|
|
44507
|
+
exact_auth_items: {
|
|
44508
|
+
Row: {
|
|
44509
|
+
account_key: string;
|
|
44510
|
+
barcode: string | null;
|
|
44511
|
+
code: string | null;
|
|
44512
|
+
cost_price: number | null;
|
|
44513
|
+
created_at: string;
|
|
44514
|
+
description: string | null;
|
|
44515
|
+
division_code: number | null;
|
|
44516
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44517
|
+
exact_id: string;
|
|
44518
|
+
exact_modified: string | null;
|
|
44519
|
+
exact_timestamp: number | null;
|
|
44520
|
+
gl_account_code: string | null;
|
|
44521
|
+
id: string;
|
|
44522
|
+
is_active: boolean;
|
|
44523
|
+
is_sales_item: boolean | null;
|
|
44524
|
+
item_type: string | null;
|
|
44525
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44526
|
+
sales_price: number | null;
|
|
44527
|
+
unit: string | null;
|
|
44528
|
+
updated_at: string;
|
|
44529
|
+
vat_code: string | null;
|
|
44530
|
+
};
|
|
44531
|
+
Insert: {
|
|
44532
|
+
account_key?: string;
|
|
44533
|
+
barcode?: string | null;
|
|
44534
|
+
code?: string | null;
|
|
44535
|
+
cost_price?: number | null;
|
|
44536
|
+
created_at?: string;
|
|
44537
|
+
description?: string | null;
|
|
44538
|
+
division_code?: number | null;
|
|
44539
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44540
|
+
exact_id: string;
|
|
44541
|
+
exact_modified?: string | null;
|
|
44542
|
+
exact_timestamp?: number | null;
|
|
44543
|
+
gl_account_code?: string | null;
|
|
44544
|
+
id?: string;
|
|
44545
|
+
is_active?: boolean;
|
|
44546
|
+
is_sales_item?: boolean | null;
|
|
44547
|
+
item_type?: string | null;
|
|
44548
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44549
|
+
sales_price?: number | null;
|
|
44550
|
+
unit?: string | null;
|
|
44551
|
+
updated_at?: string;
|
|
44552
|
+
vat_code?: string | null;
|
|
44553
|
+
};
|
|
44554
|
+
Update: {
|
|
44555
|
+
account_key?: string;
|
|
44556
|
+
barcode?: string | null;
|
|
44557
|
+
code?: string | null;
|
|
44558
|
+
cost_price?: number | null;
|
|
44559
|
+
created_at?: string;
|
|
44560
|
+
description?: string | null;
|
|
44561
|
+
division_code?: number | null;
|
|
44562
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44563
|
+
exact_id?: string;
|
|
44564
|
+
exact_modified?: string | null;
|
|
44565
|
+
exact_timestamp?: number | null;
|
|
44566
|
+
gl_account_code?: string | null;
|
|
44567
|
+
id?: string;
|
|
44568
|
+
is_active?: boolean;
|
|
44569
|
+
is_sales_item?: boolean | null;
|
|
44570
|
+
item_type?: string | null;
|
|
44571
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44572
|
+
sales_price?: number | null;
|
|
44573
|
+
unit?: string | null;
|
|
44574
|
+
updated_at?: string;
|
|
44575
|
+
vat_code?: string | null;
|
|
44576
|
+
};
|
|
44577
|
+
Relationships: [];
|
|
44578
|
+
};
|
|
44579
|
+
exact_auth_sync_log: {
|
|
44580
|
+
Row: {
|
|
44581
|
+
account_key: string;
|
|
44582
|
+
calls_used: number;
|
|
44583
|
+
created_at: string;
|
|
44584
|
+
domain: string;
|
|
44585
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44586
|
+
error: string | null;
|
|
44587
|
+
finished_at: string | null;
|
|
44588
|
+
id: string;
|
|
44589
|
+
ok: boolean;
|
|
44590
|
+
records: number;
|
|
44591
|
+
started_at: string;
|
|
44592
|
+
};
|
|
44593
|
+
Insert: {
|
|
44594
|
+
account_key?: string;
|
|
44595
|
+
calls_used?: number;
|
|
44596
|
+
created_at?: string;
|
|
44597
|
+
domain: string;
|
|
44598
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44599
|
+
error?: string | null;
|
|
44600
|
+
finished_at?: string | null;
|
|
44601
|
+
id?: string;
|
|
44602
|
+
ok?: boolean;
|
|
44603
|
+
records?: number;
|
|
44604
|
+
started_at?: string;
|
|
44605
|
+
};
|
|
44606
|
+
Update: {
|
|
44607
|
+
account_key?: string;
|
|
44608
|
+
calls_used?: number;
|
|
44609
|
+
created_at?: string;
|
|
44610
|
+
domain?: string;
|
|
44611
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44612
|
+
error?: string | null;
|
|
44613
|
+
finished_at?: string | null;
|
|
44614
|
+
id?: string;
|
|
44615
|
+
ok?: boolean;
|
|
44616
|
+
records?: number;
|
|
44617
|
+
started_at?: string;
|
|
44618
|
+
};
|
|
44619
|
+
Relationships: [];
|
|
44620
|
+
};
|
|
44621
|
+
exact_auth_sync_state: {
|
|
44622
|
+
Row: {
|
|
44623
|
+
account_key: string;
|
|
44624
|
+
created_at: string;
|
|
44625
|
+
cursor_timestamp: number;
|
|
44626
|
+
division_code: number | null;
|
|
44627
|
+
domain: string;
|
|
44628
|
+
duration_ms: number | null;
|
|
44629
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44630
|
+
initial_sync_done: boolean;
|
|
44631
|
+
last_error: string | null;
|
|
44632
|
+
last_run_at: string | null;
|
|
44633
|
+
last_success_at: string | null;
|
|
44634
|
+
locked_at: string | null;
|
|
44635
|
+
needs_initial_sync: boolean;
|
|
44636
|
+
record_count: number;
|
|
44637
|
+
updated_at: string;
|
|
44638
|
+
};
|
|
44639
|
+
Insert: {
|
|
44640
|
+
account_key?: string;
|
|
44641
|
+
created_at?: string;
|
|
44642
|
+
cursor_timestamp?: number;
|
|
44643
|
+
division_code?: number | null;
|
|
44644
|
+
domain: string;
|
|
44645
|
+
duration_ms?: number | null;
|
|
44646
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44647
|
+
initial_sync_done?: boolean;
|
|
44648
|
+
last_error?: string | null;
|
|
44649
|
+
last_run_at?: string | null;
|
|
44650
|
+
last_success_at?: string | null;
|
|
44651
|
+
locked_at?: string | null;
|
|
44652
|
+
needs_initial_sync?: boolean;
|
|
44653
|
+
record_count?: number;
|
|
44654
|
+
updated_at?: string;
|
|
44655
|
+
};
|
|
44656
|
+
Update: {
|
|
44657
|
+
account_key?: string;
|
|
44658
|
+
created_at?: string;
|
|
44659
|
+
cursor_timestamp?: number;
|
|
44660
|
+
division_code?: number | null;
|
|
44661
|
+
domain?: string;
|
|
44662
|
+
duration_ms?: number | null;
|
|
44663
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44664
|
+
initial_sync_done?: boolean;
|
|
44665
|
+
last_error?: string | null;
|
|
44666
|
+
last_run_at?: string | null;
|
|
44667
|
+
last_success_at?: string | null;
|
|
44668
|
+
locked_at?: string | null;
|
|
44669
|
+
needs_initial_sync?: boolean;
|
|
44670
|
+
record_count?: number;
|
|
44671
|
+
updated_at?: string;
|
|
44672
|
+
};
|
|
44673
|
+
Relationships: [];
|
|
44674
|
+
};
|
|
43227
44675
|
exact_bulk_operation_items: {
|
|
43228
44676
|
Row: {
|
|
43229
44677
|
attempts: number;
|
|
@@ -49724,6 +51172,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
49724
51172
|
};
|
|
49725
51173
|
offer_settings: {
|
|
49726
51174
|
Row: {
|
|
51175
|
+
brand_name: string | null;
|
|
49727
51176
|
button_color: string;
|
|
49728
51177
|
created_at: string;
|
|
49729
51178
|
default_countries: string[];
|
|
@@ -49745,6 +51194,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
49745
51194
|
updated_at: string;
|
|
49746
51195
|
};
|
|
49747
51196
|
Insert: {
|
|
51197
|
+
brand_name?: string | null;
|
|
49748
51198
|
button_color?: string;
|
|
49749
51199
|
created_at?: string;
|
|
49750
51200
|
default_countries?: string[];
|
|
@@ -49766,6 +51216,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
49766
51216
|
updated_at?: string;
|
|
49767
51217
|
};
|
|
49768
51218
|
Update: {
|
|
51219
|
+
brand_name?: string | null;
|
|
49769
51220
|
button_color?: string;
|
|
49770
51221
|
created_at?: string;
|
|
49771
51222
|
default_countries?: string[];
|
|
@@ -57616,6 +59067,21 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
57616
59067
|
Args: never;
|
|
57617
59068
|
Returns: string;
|
|
57618
59069
|
};
|
|
59070
|
+
exact_auth_consume_calls: {
|
|
59071
|
+
Args: {
|
|
59072
|
+
_account_key: string;
|
|
59073
|
+
_calls?: number;
|
|
59074
|
+
_day_limit?: number;
|
|
59075
|
+
_division_code: number;
|
|
59076
|
+
_environment: string;
|
|
59077
|
+
_minute_limit?: number;
|
|
59078
|
+
};
|
|
59079
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59080
|
+
};
|
|
59081
|
+
exact_auth_prune_sync_log: {
|
|
59082
|
+
Args: never;
|
|
59083
|
+
Returns: undefined;
|
|
59084
|
+
};
|
|
57619
59085
|
exact_decrypt: {
|
|
57620
59086
|
Args: {
|
|
57621
59087
|
cipher: string;
|
|
@@ -57825,6 +59291,10 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
57825
59291
|
};
|
|
57826
59292
|
Returns: number;
|
|
57827
59293
|
};
|
|
59294
|
+
get_offer_branding: {
|
|
59295
|
+
Args: never;
|
|
59296
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59297
|
+
};
|
|
57828
59298
|
get_offer_by_link_code: {
|
|
57829
59299
|
Args: {
|
|
57830
59300
|
p_code: string;
|
|
@@ -63043,6 +64513,474 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
63043
64513
|
referencedColumns: ["id"];
|
|
63044
64514
|
}];
|
|
63045
64515
|
};
|
|
64516
|
+
exact_auth_call_budget: {
|
|
64517
|
+
Row: {
|
|
64518
|
+
account_key: string;
|
|
64519
|
+
day_count: number;
|
|
64520
|
+
day_date: string;
|
|
64521
|
+
division_code: number;
|
|
64522
|
+
environment: string;
|
|
64523
|
+
minute_count: number;
|
|
64524
|
+
minute_window: string;
|
|
64525
|
+
updated_at: string;
|
|
64526
|
+
};
|
|
64527
|
+
Insert: {
|
|
64528
|
+
account_key?: string;
|
|
64529
|
+
day_count?: number;
|
|
64530
|
+
day_date?: string;
|
|
64531
|
+
division_code?: number;
|
|
64532
|
+
environment: string;
|
|
64533
|
+
minute_count?: number;
|
|
64534
|
+
minute_window?: string;
|
|
64535
|
+
updated_at?: string;
|
|
64536
|
+
};
|
|
64537
|
+
Update: {
|
|
64538
|
+
account_key?: string;
|
|
64539
|
+
day_count?: number;
|
|
64540
|
+
day_date?: string;
|
|
64541
|
+
division_code?: number;
|
|
64542
|
+
environment?: string;
|
|
64543
|
+
minute_count?: number;
|
|
64544
|
+
minute_window?: string;
|
|
64545
|
+
updated_at?: string;
|
|
64546
|
+
};
|
|
64547
|
+
Relationships: [];
|
|
64548
|
+
};
|
|
64549
|
+
exact_auth_customers: {
|
|
64550
|
+
Row: {
|
|
64551
|
+
account_key: string;
|
|
64552
|
+
address_line1: string | null;
|
|
64553
|
+
chamber_of_commerce: string | null;
|
|
64554
|
+
city: string | null;
|
|
64555
|
+
code: string | null;
|
|
64556
|
+
country: string | null;
|
|
64557
|
+
created_at: string;
|
|
64558
|
+
currency: string | null;
|
|
64559
|
+
division_code: number | null;
|
|
64560
|
+
email: string | null;
|
|
64561
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64562
|
+
exact_id: string;
|
|
64563
|
+
exact_modified: string | null;
|
|
64564
|
+
exact_timestamp: number | null;
|
|
64565
|
+
id: string;
|
|
64566
|
+
is_active: boolean;
|
|
64567
|
+
name: string | null;
|
|
64568
|
+
phone: string | null;
|
|
64569
|
+
postcode: string | null;
|
|
64570
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64571
|
+
status: string | null;
|
|
64572
|
+
updated_at: string;
|
|
64573
|
+
vat_number: string | null;
|
|
64574
|
+
website: string | null;
|
|
64575
|
+
};
|
|
64576
|
+
Insert: {
|
|
64577
|
+
account_key?: string;
|
|
64578
|
+
address_line1?: string | null;
|
|
64579
|
+
chamber_of_commerce?: string | null;
|
|
64580
|
+
city?: string | null;
|
|
64581
|
+
code?: string | null;
|
|
64582
|
+
country?: string | null;
|
|
64583
|
+
created_at?: string;
|
|
64584
|
+
currency?: string | null;
|
|
64585
|
+
division_code?: number | null;
|
|
64586
|
+
email?: string | null;
|
|
64587
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64588
|
+
exact_id: string;
|
|
64589
|
+
exact_modified?: string | null;
|
|
64590
|
+
exact_timestamp?: number | null;
|
|
64591
|
+
id?: string;
|
|
64592
|
+
is_active?: boolean;
|
|
64593
|
+
name?: string | null;
|
|
64594
|
+
phone?: string | null;
|
|
64595
|
+
postcode?: string | null;
|
|
64596
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64597
|
+
status?: string | null;
|
|
64598
|
+
updated_at?: string;
|
|
64599
|
+
vat_number?: string | null;
|
|
64600
|
+
website?: string | null;
|
|
64601
|
+
};
|
|
64602
|
+
Update: {
|
|
64603
|
+
account_key?: string;
|
|
64604
|
+
address_line1?: string | null;
|
|
64605
|
+
chamber_of_commerce?: string | null;
|
|
64606
|
+
city?: string | null;
|
|
64607
|
+
code?: string | null;
|
|
64608
|
+
country?: string | null;
|
|
64609
|
+
created_at?: string;
|
|
64610
|
+
currency?: string | null;
|
|
64611
|
+
division_code?: number | null;
|
|
64612
|
+
email?: string | null;
|
|
64613
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64614
|
+
exact_id?: string;
|
|
64615
|
+
exact_modified?: string | null;
|
|
64616
|
+
exact_timestamp?: number | null;
|
|
64617
|
+
id?: string;
|
|
64618
|
+
is_active?: boolean;
|
|
64619
|
+
name?: string | null;
|
|
64620
|
+
phone?: string | null;
|
|
64621
|
+
postcode?: string | null;
|
|
64622
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64623
|
+
status?: string | null;
|
|
64624
|
+
updated_at?: string;
|
|
64625
|
+
vat_number?: string | null;
|
|
64626
|
+
website?: string | null;
|
|
64627
|
+
};
|
|
64628
|
+
Relationships: [];
|
|
64629
|
+
};
|
|
64630
|
+
exact_auth_divisions: {
|
|
64631
|
+
Row: {
|
|
64632
|
+
account_key: string;
|
|
64633
|
+
company_name: string | null;
|
|
64634
|
+
created_at: string;
|
|
64635
|
+
division_code: number | null;
|
|
64636
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64637
|
+
id: string;
|
|
64638
|
+
last_synced_at: string | null;
|
|
64639
|
+
updated_at: string;
|
|
64640
|
+
};
|
|
64641
|
+
Insert: {
|
|
64642
|
+
account_key?: string;
|
|
64643
|
+
company_name?: string | null;
|
|
64644
|
+
created_at?: string;
|
|
64645
|
+
division_code?: number | null;
|
|
64646
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64647
|
+
id?: string;
|
|
64648
|
+
last_synced_at?: string | null;
|
|
64649
|
+
updated_at?: string;
|
|
64650
|
+
};
|
|
64651
|
+
Update: {
|
|
64652
|
+
account_key?: string;
|
|
64653
|
+
company_name?: string | null;
|
|
64654
|
+
created_at?: string;
|
|
64655
|
+
division_code?: number | null;
|
|
64656
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64657
|
+
id?: string;
|
|
64658
|
+
last_synced_at?: string | null;
|
|
64659
|
+
updated_at?: string;
|
|
64660
|
+
};
|
|
64661
|
+
Relationships: [];
|
|
64662
|
+
};
|
|
64663
|
+
exact_auth_invoice_lines: {
|
|
64664
|
+
Row: {
|
|
64665
|
+
account_key: string;
|
|
64666
|
+
amount_excl: number | null;
|
|
64667
|
+
created_at: string;
|
|
64668
|
+
description: string | null;
|
|
64669
|
+
discount: number | null;
|
|
64670
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64671
|
+
exact_id: string;
|
|
64672
|
+
exact_timestamp: number | null;
|
|
64673
|
+
id: string;
|
|
64674
|
+
invoice_exact_id: string;
|
|
64675
|
+
item_code: string | null;
|
|
64676
|
+
item_exact_id: string | null;
|
|
64677
|
+
line_number: number | null;
|
|
64678
|
+
quantity: number | null;
|
|
64679
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64680
|
+
unit_price: number | null;
|
|
64681
|
+
updated_at: string;
|
|
64682
|
+
vat_amount: number | null;
|
|
64683
|
+
vat_code: string | null;
|
|
64684
|
+
};
|
|
64685
|
+
Insert: {
|
|
64686
|
+
account_key?: string;
|
|
64687
|
+
amount_excl?: number | null;
|
|
64688
|
+
created_at?: string;
|
|
64689
|
+
description?: string | null;
|
|
64690
|
+
discount?: number | null;
|
|
64691
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64692
|
+
exact_id: string;
|
|
64693
|
+
exact_timestamp?: number | null;
|
|
64694
|
+
id?: string;
|
|
64695
|
+
invoice_exact_id: string;
|
|
64696
|
+
item_code?: string | null;
|
|
64697
|
+
item_exact_id?: string | null;
|
|
64698
|
+
line_number?: number | null;
|
|
64699
|
+
quantity?: number | null;
|
|
64700
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64701
|
+
unit_price?: number | null;
|
|
64702
|
+
updated_at?: string;
|
|
64703
|
+
vat_amount?: number | null;
|
|
64704
|
+
vat_code?: string | null;
|
|
64705
|
+
};
|
|
64706
|
+
Update: {
|
|
64707
|
+
account_key?: string;
|
|
64708
|
+
amount_excl?: number | null;
|
|
64709
|
+
created_at?: string;
|
|
64710
|
+
description?: string | null;
|
|
64711
|
+
discount?: number | null;
|
|
64712
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64713
|
+
exact_id?: string;
|
|
64714
|
+
exact_timestamp?: number | null;
|
|
64715
|
+
id?: string;
|
|
64716
|
+
invoice_exact_id?: string;
|
|
64717
|
+
item_code?: string | null;
|
|
64718
|
+
item_exact_id?: string | null;
|
|
64719
|
+
line_number?: number | null;
|
|
64720
|
+
quantity?: number | null;
|
|
64721
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64722
|
+
unit_price?: number | null;
|
|
64723
|
+
updated_at?: string;
|
|
64724
|
+
vat_amount?: number | null;
|
|
64725
|
+
vat_code?: string | null;
|
|
64726
|
+
};
|
|
64727
|
+
Relationships: [];
|
|
64728
|
+
};
|
|
64729
|
+
exact_auth_invoices: {
|
|
64730
|
+
Row: {
|
|
64731
|
+
account_key: string;
|
|
64732
|
+
amount_excl: number | null;
|
|
64733
|
+
amount_incl: number | null;
|
|
64734
|
+
amount_open: number | null;
|
|
64735
|
+
created_at: string;
|
|
64736
|
+
currency: string | null;
|
|
64737
|
+
customer_code: string | null;
|
|
64738
|
+
customer_exact_id: string | null;
|
|
64739
|
+
customer_name: string | null;
|
|
64740
|
+
description: string | null;
|
|
64741
|
+
division_code: number | null;
|
|
64742
|
+
due_date: string | null;
|
|
64743
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64744
|
+
exact_id: string;
|
|
64745
|
+
exact_modified: string | null;
|
|
64746
|
+
exact_timestamp: number | null;
|
|
64747
|
+
id: string;
|
|
64748
|
+
invoice_date: string | null;
|
|
64749
|
+
invoice_number: string | null;
|
|
64750
|
+
order_number: string | null;
|
|
64751
|
+
paid_at: string | null;
|
|
64752
|
+
payment_status: string;
|
|
64753
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64754
|
+
receivable_synced_at: string | null;
|
|
64755
|
+
status_code: number | null;
|
|
64756
|
+
updated_at: string;
|
|
64757
|
+
};
|
|
64758
|
+
Insert: {
|
|
64759
|
+
account_key?: string;
|
|
64760
|
+
amount_excl?: number | null;
|
|
64761
|
+
amount_incl?: number | null;
|
|
64762
|
+
amount_open?: number | null;
|
|
64763
|
+
created_at?: string;
|
|
64764
|
+
currency?: string | null;
|
|
64765
|
+
customer_code?: string | null;
|
|
64766
|
+
customer_exact_id?: string | null;
|
|
64767
|
+
customer_name?: string | null;
|
|
64768
|
+
description?: string | null;
|
|
64769
|
+
division_code?: number | null;
|
|
64770
|
+
due_date?: string | null;
|
|
64771
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64772
|
+
exact_id: string;
|
|
64773
|
+
exact_modified?: string | null;
|
|
64774
|
+
exact_timestamp?: number | null;
|
|
64775
|
+
id?: string;
|
|
64776
|
+
invoice_date?: string | null;
|
|
64777
|
+
invoice_number?: string | null;
|
|
64778
|
+
order_number?: string | null;
|
|
64779
|
+
paid_at?: string | null;
|
|
64780
|
+
payment_status?: string;
|
|
64781
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64782
|
+
receivable_synced_at?: string | null;
|
|
64783
|
+
status_code?: number | null;
|
|
64784
|
+
updated_at?: string;
|
|
64785
|
+
};
|
|
64786
|
+
Update: {
|
|
64787
|
+
account_key?: string;
|
|
64788
|
+
amount_excl?: number | null;
|
|
64789
|
+
amount_incl?: number | null;
|
|
64790
|
+
amount_open?: number | null;
|
|
64791
|
+
created_at?: string;
|
|
64792
|
+
currency?: string | null;
|
|
64793
|
+
customer_code?: string | null;
|
|
64794
|
+
customer_exact_id?: string | null;
|
|
64795
|
+
customer_name?: string | null;
|
|
64796
|
+
description?: string | null;
|
|
64797
|
+
division_code?: number | null;
|
|
64798
|
+
due_date?: string | null;
|
|
64799
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64800
|
+
exact_id?: string;
|
|
64801
|
+
exact_modified?: string | null;
|
|
64802
|
+
exact_timestamp?: number | null;
|
|
64803
|
+
id?: string;
|
|
64804
|
+
invoice_date?: string | null;
|
|
64805
|
+
invoice_number?: string | null;
|
|
64806
|
+
order_number?: string | null;
|
|
64807
|
+
paid_at?: string | null;
|
|
64808
|
+
payment_status?: string;
|
|
64809
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64810
|
+
receivable_synced_at?: string | null;
|
|
64811
|
+
status_code?: number | null;
|
|
64812
|
+
updated_at?: string;
|
|
64813
|
+
};
|
|
64814
|
+
Relationships: [];
|
|
64815
|
+
};
|
|
64816
|
+
exact_auth_items: {
|
|
64817
|
+
Row: {
|
|
64818
|
+
account_key: string;
|
|
64819
|
+
barcode: string | null;
|
|
64820
|
+
code: string | null;
|
|
64821
|
+
cost_price: number | null;
|
|
64822
|
+
created_at: string;
|
|
64823
|
+
description: string | null;
|
|
64824
|
+
division_code: number | null;
|
|
64825
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64826
|
+
exact_id: string;
|
|
64827
|
+
exact_modified: string | null;
|
|
64828
|
+
exact_timestamp: number | null;
|
|
64829
|
+
gl_account_code: string | null;
|
|
64830
|
+
id: string;
|
|
64831
|
+
is_active: boolean;
|
|
64832
|
+
is_sales_item: boolean | null;
|
|
64833
|
+
item_type: string | null;
|
|
64834
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64835
|
+
sales_price: number | null;
|
|
64836
|
+
unit: string | null;
|
|
64837
|
+
updated_at: string;
|
|
64838
|
+
vat_code: string | null;
|
|
64839
|
+
};
|
|
64840
|
+
Insert: {
|
|
64841
|
+
account_key?: string;
|
|
64842
|
+
barcode?: string | null;
|
|
64843
|
+
code?: string | null;
|
|
64844
|
+
cost_price?: number | null;
|
|
64845
|
+
created_at?: string;
|
|
64846
|
+
description?: string | null;
|
|
64847
|
+
division_code?: number | null;
|
|
64848
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64849
|
+
exact_id: string;
|
|
64850
|
+
exact_modified?: string | null;
|
|
64851
|
+
exact_timestamp?: number | null;
|
|
64852
|
+
gl_account_code?: string | null;
|
|
64853
|
+
id?: string;
|
|
64854
|
+
is_active?: boolean;
|
|
64855
|
+
is_sales_item?: boolean | null;
|
|
64856
|
+
item_type?: string | null;
|
|
64857
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64858
|
+
sales_price?: number | null;
|
|
64859
|
+
unit?: string | null;
|
|
64860
|
+
updated_at?: string;
|
|
64861
|
+
vat_code?: string | null;
|
|
64862
|
+
};
|
|
64863
|
+
Update: {
|
|
64864
|
+
account_key?: string;
|
|
64865
|
+
barcode?: string | null;
|
|
64866
|
+
code?: string | null;
|
|
64867
|
+
cost_price?: number | null;
|
|
64868
|
+
created_at?: string;
|
|
64869
|
+
description?: string | null;
|
|
64870
|
+
division_code?: number | null;
|
|
64871
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64872
|
+
exact_id?: string;
|
|
64873
|
+
exact_modified?: string | null;
|
|
64874
|
+
exact_timestamp?: number | null;
|
|
64875
|
+
gl_account_code?: string | null;
|
|
64876
|
+
id?: string;
|
|
64877
|
+
is_active?: boolean;
|
|
64878
|
+
is_sales_item?: boolean | null;
|
|
64879
|
+
item_type?: string | null;
|
|
64880
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64881
|
+
sales_price?: number | null;
|
|
64882
|
+
unit?: string | null;
|
|
64883
|
+
updated_at?: string;
|
|
64884
|
+
vat_code?: string | null;
|
|
64885
|
+
};
|
|
64886
|
+
Relationships: [];
|
|
64887
|
+
};
|
|
64888
|
+
exact_auth_sync_log: {
|
|
64889
|
+
Row: {
|
|
64890
|
+
account_key: string;
|
|
64891
|
+
calls_used: number;
|
|
64892
|
+
created_at: string;
|
|
64893
|
+
domain: string;
|
|
64894
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64895
|
+
error: string | null;
|
|
64896
|
+
finished_at: string | null;
|
|
64897
|
+
id: string;
|
|
64898
|
+
ok: boolean;
|
|
64899
|
+
records: number;
|
|
64900
|
+
started_at: string;
|
|
64901
|
+
};
|
|
64902
|
+
Insert: {
|
|
64903
|
+
account_key?: string;
|
|
64904
|
+
calls_used?: number;
|
|
64905
|
+
created_at?: string;
|
|
64906
|
+
domain: string;
|
|
64907
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64908
|
+
error?: string | null;
|
|
64909
|
+
finished_at?: string | null;
|
|
64910
|
+
id?: string;
|
|
64911
|
+
ok?: boolean;
|
|
64912
|
+
records?: number;
|
|
64913
|
+
started_at?: string;
|
|
64914
|
+
};
|
|
64915
|
+
Update: {
|
|
64916
|
+
account_key?: string;
|
|
64917
|
+
calls_used?: number;
|
|
64918
|
+
created_at?: string;
|
|
64919
|
+
domain?: string;
|
|
64920
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64921
|
+
error?: string | null;
|
|
64922
|
+
finished_at?: string | null;
|
|
64923
|
+
id?: string;
|
|
64924
|
+
ok?: boolean;
|
|
64925
|
+
records?: number;
|
|
64926
|
+
started_at?: string;
|
|
64927
|
+
};
|
|
64928
|
+
Relationships: [];
|
|
64929
|
+
};
|
|
64930
|
+
exact_auth_sync_state: {
|
|
64931
|
+
Row: {
|
|
64932
|
+
account_key: string;
|
|
64933
|
+
created_at: string;
|
|
64934
|
+
cursor_timestamp: number;
|
|
64935
|
+
division_code: number | null;
|
|
64936
|
+
domain: string;
|
|
64937
|
+
duration_ms: number | null;
|
|
64938
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64939
|
+
initial_sync_done: boolean;
|
|
64940
|
+
last_error: string | null;
|
|
64941
|
+
last_run_at: string | null;
|
|
64942
|
+
last_success_at: string | null;
|
|
64943
|
+
locked_at: string | null;
|
|
64944
|
+
needs_initial_sync: boolean;
|
|
64945
|
+
record_count: number;
|
|
64946
|
+
updated_at: string;
|
|
64947
|
+
};
|
|
64948
|
+
Insert: {
|
|
64949
|
+
account_key?: string;
|
|
64950
|
+
created_at?: string;
|
|
64951
|
+
cursor_timestamp?: number;
|
|
64952
|
+
division_code?: number | null;
|
|
64953
|
+
domain: string;
|
|
64954
|
+
duration_ms?: number | null;
|
|
64955
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64956
|
+
initial_sync_done?: boolean;
|
|
64957
|
+
last_error?: string | null;
|
|
64958
|
+
last_run_at?: string | null;
|
|
64959
|
+
last_success_at?: string | null;
|
|
64960
|
+
locked_at?: string | null;
|
|
64961
|
+
needs_initial_sync?: boolean;
|
|
64962
|
+
record_count?: number;
|
|
64963
|
+
updated_at?: string;
|
|
64964
|
+
};
|
|
64965
|
+
Update: {
|
|
64966
|
+
account_key?: string;
|
|
64967
|
+
created_at?: string;
|
|
64968
|
+
cursor_timestamp?: number;
|
|
64969
|
+
division_code?: number | null;
|
|
64970
|
+
domain?: string;
|
|
64971
|
+
duration_ms?: number | null;
|
|
64972
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64973
|
+
initial_sync_done?: boolean;
|
|
64974
|
+
last_error?: string | null;
|
|
64975
|
+
last_run_at?: string | null;
|
|
64976
|
+
last_success_at?: string | null;
|
|
64977
|
+
locked_at?: string | null;
|
|
64978
|
+
needs_initial_sync?: boolean;
|
|
64979
|
+
record_count?: number;
|
|
64980
|
+
updated_at?: string;
|
|
64981
|
+
};
|
|
64982
|
+
Relationships: [];
|
|
64983
|
+
};
|
|
63046
64984
|
exact_bulk_operation_items: {
|
|
63047
64985
|
Row: {
|
|
63048
64986
|
attempts: number;
|
|
@@ -69543,6 +71481,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
69543
71481
|
};
|
|
69544
71482
|
offer_settings: {
|
|
69545
71483
|
Row: {
|
|
71484
|
+
brand_name: string | null;
|
|
69546
71485
|
button_color: string;
|
|
69547
71486
|
created_at: string;
|
|
69548
71487
|
default_countries: string[];
|
|
@@ -69564,6 +71503,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
69564
71503
|
updated_at: string;
|
|
69565
71504
|
};
|
|
69566
71505
|
Insert: {
|
|
71506
|
+
brand_name?: string | null;
|
|
69567
71507
|
button_color?: string;
|
|
69568
71508
|
created_at?: string;
|
|
69569
71509
|
default_countries?: string[];
|
|
@@ -69585,6 +71525,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
69585
71525
|
updated_at?: string;
|
|
69586
71526
|
};
|
|
69587
71527
|
Update: {
|
|
71528
|
+
brand_name?: string | null;
|
|
69588
71529
|
button_color?: string;
|
|
69589
71530
|
created_at?: string;
|
|
69590
71531
|
default_countries?: string[];
|
|
@@ -77435,6 +79376,21 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
77435
79376
|
Args: never;
|
|
77436
79377
|
Returns: string;
|
|
77437
79378
|
};
|
|
79379
|
+
exact_auth_consume_calls: {
|
|
79380
|
+
Args: {
|
|
79381
|
+
_account_key: string;
|
|
79382
|
+
_calls?: number;
|
|
79383
|
+
_day_limit?: number;
|
|
79384
|
+
_division_code: number;
|
|
79385
|
+
_environment: string;
|
|
79386
|
+
_minute_limit?: number;
|
|
79387
|
+
};
|
|
79388
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79389
|
+
};
|
|
79390
|
+
exact_auth_prune_sync_log: {
|
|
79391
|
+
Args: never;
|
|
79392
|
+
Returns: undefined;
|
|
79393
|
+
};
|
|
77438
79394
|
exact_decrypt: {
|
|
77439
79395
|
Args: {
|
|
77440
79396
|
cipher: string;
|
|
@@ -77644,6 +79600,10 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
77644
79600
|
};
|
|
77645
79601
|
Returns: number;
|
|
77646
79602
|
};
|
|
79603
|
+
get_offer_branding: {
|
|
79604
|
+
Args: never;
|
|
79605
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79606
|
+
};
|
|
77647
79607
|
get_offer_by_link_code: {
|
|
77648
79608
|
Args: {
|
|
77649
79609
|
p_code: string;
|