@flowselections/logistiek-engine 1.0.1 → 1.0.3
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/README.md +24 -24
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +516 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +516 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +516 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +518 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +1548 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/index.d.ts +2 -0
- package/dist-lib/lib/handlers/index.d.ts.map +1 -0
- package/dist-lib/lib/handlers/index.js +4 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts +2 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -0
- package/dist-lib/lib/handlers/logistics-tick.server.js +53 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +2585 -45
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +1032 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +516 -0
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +911 -911
- package/package.json +19 -4
|
@@ -71,15 +71,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
71
71
|
};
|
|
72
72
|
Insert: {
|
|
73
73
|
account_email?: string | null;
|
|
74
|
-
created_at
|
|
75
|
-
/**
|
|
76
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
77
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
78
|
-
*/
|
|
79
|
-
? /**
|
|
80
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
81
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
82
|
-
*/: string;
|
|
74
|
+
created_at?: string;
|
|
83
75
|
id?: string;
|
|
84
76
|
last_error?: string | null;
|
|
85
77
|
last_synced_at?: string | null;
|
|
@@ -1866,6 +1858,39 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
1866
1858
|
referencedColumns: ["id"];
|
|
1867
1859
|
}];
|
|
1868
1860
|
};
|
|
1861
|
+
customer_notes: {
|
|
1862
|
+
Row: {
|
|
1863
|
+
created_at: string;
|
|
1864
|
+
customer_id: string | null;
|
|
1865
|
+
group_key: string | null;
|
|
1866
|
+
id: string;
|
|
1867
|
+
notes: string | null;
|
|
1868
|
+
updated_at: string;
|
|
1869
|
+
};
|
|
1870
|
+
Insert: {
|
|
1871
|
+
created_at?: string;
|
|
1872
|
+
customer_id?: string | null;
|
|
1873
|
+
group_key?: string | null;
|
|
1874
|
+
id?: string;
|
|
1875
|
+
notes?: string | null;
|
|
1876
|
+
updated_at?: string;
|
|
1877
|
+
};
|
|
1878
|
+
Update: {
|
|
1879
|
+
created_at?: string;
|
|
1880
|
+
customer_id?: string | null;
|
|
1881
|
+
group_key?: string | null;
|
|
1882
|
+
id?: string;
|
|
1883
|
+
notes?: string | null;
|
|
1884
|
+
updated_at?: string;
|
|
1885
|
+
};
|
|
1886
|
+
Relationships: [{
|
|
1887
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1888
|
+
columns: ["customer_id"];
|
|
1889
|
+
isOneToOne: true;
|
|
1890
|
+
referencedRelation: "customers";
|
|
1891
|
+
referencedColumns: ["id"];
|
|
1892
|
+
}];
|
|
1893
|
+
};
|
|
1869
1894
|
customer_price_group_members: {
|
|
1870
1895
|
Row: {
|
|
1871
1896
|
created_at: string;
|
|
@@ -3510,6 +3535,474 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
3510
3535
|
referencedColumns: ["id"];
|
|
3511
3536
|
}];
|
|
3512
3537
|
};
|
|
3538
|
+
exact_auth_call_budget: {
|
|
3539
|
+
Row: {
|
|
3540
|
+
account_key: string;
|
|
3541
|
+
day_count: number;
|
|
3542
|
+
day_date: string;
|
|
3543
|
+
division_code: number;
|
|
3544
|
+
environment: string;
|
|
3545
|
+
minute_count: number;
|
|
3546
|
+
minute_window: string;
|
|
3547
|
+
updated_at: string;
|
|
3548
|
+
};
|
|
3549
|
+
Insert: {
|
|
3550
|
+
account_key?: string;
|
|
3551
|
+
day_count?: number;
|
|
3552
|
+
day_date?: string;
|
|
3553
|
+
division_code?: number;
|
|
3554
|
+
environment: string;
|
|
3555
|
+
minute_count?: number;
|
|
3556
|
+
minute_window?: string;
|
|
3557
|
+
updated_at?: string;
|
|
3558
|
+
};
|
|
3559
|
+
Update: {
|
|
3560
|
+
account_key?: string;
|
|
3561
|
+
day_count?: number;
|
|
3562
|
+
day_date?: string;
|
|
3563
|
+
division_code?: number;
|
|
3564
|
+
environment?: string;
|
|
3565
|
+
minute_count?: number;
|
|
3566
|
+
minute_window?: string;
|
|
3567
|
+
updated_at?: string;
|
|
3568
|
+
};
|
|
3569
|
+
Relationships: [];
|
|
3570
|
+
};
|
|
3571
|
+
exact_auth_customers: {
|
|
3572
|
+
Row: {
|
|
3573
|
+
account_key: string;
|
|
3574
|
+
address_line1: string | null;
|
|
3575
|
+
chamber_of_commerce: string | null;
|
|
3576
|
+
city: string | null;
|
|
3577
|
+
code: string | null;
|
|
3578
|
+
country: string | null;
|
|
3579
|
+
created_at: string;
|
|
3580
|
+
currency: string | null;
|
|
3581
|
+
division_code: number | null;
|
|
3582
|
+
email: string | null;
|
|
3583
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3584
|
+
exact_id: string;
|
|
3585
|
+
exact_modified: string | null;
|
|
3586
|
+
exact_timestamp: number | null;
|
|
3587
|
+
id: string;
|
|
3588
|
+
is_active: boolean;
|
|
3589
|
+
name: string | null;
|
|
3590
|
+
phone: string | null;
|
|
3591
|
+
postcode: string | null;
|
|
3592
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3593
|
+
status: string | null;
|
|
3594
|
+
updated_at: string;
|
|
3595
|
+
vat_number: string | null;
|
|
3596
|
+
website: string | null;
|
|
3597
|
+
};
|
|
3598
|
+
Insert: {
|
|
3599
|
+
account_key?: string;
|
|
3600
|
+
address_line1?: string | null;
|
|
3601
|
+
chamber_of_commerce?: string | null;
|
|
3602
|
+
city?: string | null;
|
|
3603
|
+
code?: string | null;
|
|
3604
|
+
country?: string | null;
|
|
3605
|
+
created_at?: string;
|
|
3606
|
+
currency?: string | null;
|
|
3607
|
+
division_code?: number | null;
|
|
3608
|
+
email?: string | null;
|
|
3609
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3610
|
+
exact_id: string;
|
|
3611
|
+
exact_modified?: string | null;
|
|
3612
|
+
exact_timestamp?: number | null;
|
|
3613
|
+
id?: string;
|
|
3614
|
+
is_active?: boolean;
|
|
3615
|
+
name?: string | null;
|
|
3616
|
+
phone?: string | null;
|
|
3617
|
+
postcode?: string | null;
|
|
3618
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3619
|
+
status?: string | null;
|
|
3620
|
+
updated_at?: string;
|
|
3621
|
+
vat_number?: string | null;
|
|
3622
|
+
website?: string | null;
|
|
3623
|
+
};
|
|
3624
|
+
Update: {
|
|
3625
|
+
account_key?: string;
|
|
3626
|
+
address_line1?: string | null;
|
|
3627
|
+
chamber_of_commerce?: string | null;
|
|
3628
|
+
city?: string | null;
|
|
3629
|
+
code?: string | null;
|
|
3630
|
+
country?: string | null;
|
|
3631
|
+
created_at?: string;
|
|
3632
|
+
currency?: string | null;
|
|
3633
|
+
division_code?: number | null;
|
|
3634
|
+
email?: string | null;
|
|
3635
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3636
|
+
exact_id?: string;
|
|
3637
|
+
exact_modified?: string | null;
|
|
3638
|
+
exact_timestamp?: number | null;
|
|
3639
|
+
id?: string;
|
|
3640
|
+
is_active?: boolean;
|
|
3641
|
+
name?: string | null;
|
|
3642
|
+
phone?: string | null;
|
|
3643
|
+
postcode?: string | null;
|
|
3644
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3645
|
+
status?: string | null;
|
|
3646
|
+
updated_at?: string;
|
|
3647
|
+
vat_number?: string | null;
|
|
3648
|
+
website?: string | null;
|
|
3649
|
+
};
|
|
3650
|
+
Relationships: [];
|
|
3651
|
+
};
|
|
3652
|
+
exact_auth_divisions: {
|
|
3653
|
+
Row: {
|
|
3654
|
+
account_key: string;
|
|
3655
|
+
company_name: string | null;
|
|
3656
|
+
created_at: string;
|
|
3657
|
+
division_code: number | null;
|
|
3658
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3659
|
+
id: string;
|
|
3660
|
+
last_synced_at: string | null;
|
|
3661
|
+
updated_at: string;
|
|
3662
|
+
};
|
|
3663
|
+
Insert: {
|
|
3664
|
+
account_key?: string;
|
|
3665
|
+
company_name?: string | null;
|
|
3666
|
+
created_at?: string;
|
|
3667
|
+
division_code?: number | null;
|
|
3668
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3669
|
+
id?: string;
|
|
3670
|
+
last_synced_at?: string | null;
|
|
3671
|
+
updated_at?: string;
|
|
3672
|
+
};
|
|
3673
|
+
Update: {
|
|
3674
|
+
account_key?: string;
|
|
3675
|
+
company_name?: string | null;
|
|
3676
|
+
created_at?: string;
|
|
3677
|
+
division_code?: number | null;
|
|
3678
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3679
|
+
id?: string;
|
|
3680
|
+
last_synced_at?: string | null;
|
|
3681
|
+
updated_at?: string;
|
|
3682
|
+
};
|
|
3683
|
+
Relationships: [];
|
|
3684
|
+
};
|
|
3685
|
+
exact_auth_invoice_lines: {
|
|
3686
|
+
Row: {
|
|
3687
|
+
account_key: string;
|
|
3688
|
+
amount_excl: number | null;
|
|
3689
|
+
created_at: string;
|
|
3690
|
+
description: string | null;
|
|
3691
|
+
discount: number | null;
|
|
3692
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3693
|
+
exact_id: string;
|
|
3694
|
+
exact_timestamp: number | null;
|
|
3695
|
+
id: string;
|
|
3696
|
+
invoice_exact_id: string;
|
|
3697
|
+
item_code: string | null;
|
|
3698
|
+
item_exact_id: string | null;
|
|
3699
|
+
line_number: number | null;
|
|
3700
|
+
quantity: number | null;
|
|
3701
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3702
|
+
unit_price: number | null;
|
|
3703
|
+
updated_at: string;
|
|
3704
|
+
vat_amount: number | null;
|
|
3705
|
+
vat_code: string | null;
|
|
3706
|
+
};
|
|
3707
|
+
Insert: {
|
|
3708
|
+
account_key?: string;
|
|
3709
|
+
amount_excl?: number | null;
|
|
3710
|
+
created_at?: string;
|
|
3711
|
+
description?: string | null;
|
|
3712
|
+
discount?: number | null;
|
|
3713
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3714
|
+
exact_id: string;
|
|
3715
|
+
exact_timestamp?: number | null;
|
|
3716
|
+
id?: string;
|
|
3717
|
+
invoice_exact_id: string;
|
|
3718
|
+
item_code?: string | null;
|
|
3719
|
+
item_exact_id?: string | null;
|
|
3720
|
+
line_number?: number | null;
|
|
3721
|
+
quantity?: number | null;
|
|
3722
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3723
|
+
unit_price?: number | null;
|
|
3724
|
+
updated_at?: string;
|
|
3725
|
+
vat_amount?: number | null;
|
|
3726
|
+
vat_code?: string | null;
|
|
3727
|
+
};
|
|
3728
|
+
Update: {
|
|
3729
|
+
account_key?: string;
|
|
3730
|
+
amount_excl?: number | null;
|
|
3731
|
+
created_at?: string;
|
|
3732
|
+
description?: string | null;
|
|
3733
|
+
discount?: number | null;
|
|
3734
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3735
|
+
exact_id?: string;
|
|
3736
|
+
exact_timestamp?: number | null;
|
|
3737
|
+
id?: string;
|
|
3738
|
+
invoice_exact_id?: string;
|
|
3739
|
+
item_code?: string | null;
|
|
3740
|
+
item_exact_id?: string | null;
|
|
3741
|
+
line_number?: number | null;
|
|
3742
|
+
quantity?: number | null;
|
|
3743
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3744
|
+
unit_price?: number | null;
|
|
3745
|
+
updated_at?: string;
|
|
3746
|
+
vat_amount?: number | null;
|
|
3747
|
+
vat_code?: string | null;
|
|
3748
|
+
};
|
|
3749
|
+
Relationships: [];
|
|
3750
|
+
};
|
|
3751
|
+
exact_auth_invoices: {
|
|
3752
|
+
Row: {
|
|
3753
|
+
account_key: string;
|
|
3754
|
+
amount_excl: number | null;
|
|
3755
|
+
amount_incl: number | null;
|
|
3756
|
+
amount_open: number | null;
|
|
3757
|
+
created_at: string;
|
|
3758
|
+
currency: string | null;
|
|
3759
|
+
customer_code: string | null;
|
|
3760
|
+
customer_exact_id: string | null;
|
|
3761
|
+
customer_name: string | null;
|
|
3762
|
+
description: string | null;
|
|
3763
|
+
division_code: number | null;
|
|
3764
|
+
due_date: string | null;
|
|
3765
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3766
|
+
exact_id: string;
|
|
3767
|
+
exact_modified: string | null;
|
|
3768
|
+
exact_timestamp: number | null;
|
|
3769
|
+
id: string;
|
|
3770
|
+
invoice_date: string | null;
|
|
3771
|
+
invoice_number: string | null;
|
|
3772
|
+
order_number: string | null;
|
|
3773
|
+
paid_at: string | null;
|
|
3774
|
+
payment_status: string;
|
|
3775
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3776
|
+
receivable_synced_at: string | null;
|
|
3777
|
+
status_code: number | null;
|
|
3778
|
+
updated_at: string;
|
|
3779
|
+
};
|
|
3780
|
+
Insert: {
|
|
3781
|
+
account_key?: string;
|
|
3782
|
+
amount_excl?: number | null;
|
|
3783
|
+
amount_incl?: number | null;
|
|
3784
|
+
amount_open?: number | null;
|
|
3785
|
+
created_at?: string;
|
|
3786
|
+
currency?: string | null;
|
|
3787
|
+
customer_code?: string | null;
|
|
3788
|
+
customer_exact_id?: string | null;
|
|
3789
|
+
customer_name?: string | null;
|
|
3790
|
+
description?: string | null;
|
|
3791
|
+
division_code?: number | null;
|
|
3792
|
+
due_date?: string | null;
|
|
3793
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3794
|
+
exact_id: string;
|
|
3795
|
+
exact_modified?: string | null;
|
|
3796
|
+
exact_timestamp?: number | null;
|
|
3797
|
+
id?: string;
|
|
3798
|
+
invoice_date?: string | null;
|
|
3799
|
+
invoice_number?: string | null;
|
|
3800
|
+
order_number?: string | null;
|
|
3801
|
+
paid_at?: string | null;
|
|
3802
|
+
payment_status?: string;
|
|
3803
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3804
|
+
receivable_synced_at?: string | null;
|
|
3805
|
+
status_code?: number | null;
|
|
3806
|
+
updated_at?: string;
|
|
3807
|
+
};
|
|
3808
|
+
Update: {
|
|
3809
|
+
account_key?: string;
|
|
3810
|
+
amount_excl?: number | null;
|
|
3811
|
+
amount_incl?: number | null;
|
|
3812
|
+
amount_open?: number | null;
|
|
3813
|
+
created_at?: string;
|
|
3814
|
+
currency?: string | null;
|
|
3815
|
+
customer_code?: string | null;
|
|
3816
|
+
customer_exact_id?: string | null;
|
|
3817
|
+
customer_name?: string | null;
|
|
3818
|
+
description?: string | null;
|
|
3819
|
+
division_code?: number | null;
|
|
3820
|
+
due_date?: string | null;
|
|
3821
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3822
|
+
exact_id?: string;
|
|
3823
|
+
exact_modified?: string | null;
|
|
3824
|
+
exact_timestamp?: number | null;
|
|
3825
|
+
id?: string;
|
|
3826
|
+
invoice_date?: string | null;
|
|
3827
|
+
invoice_number?: string | null;
|
|
3828
|
+
order_number?: string | null;
|
|
3829
|
+
paid_at?: string | null;
|
|
3830
|
+
payment_status?: string;
|
|
3831
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3832
|
+
receivable_synced_at?: string | null;
|
|
3833
|
+
status_code?: number | null;
|
|
3834
|
+
updated_at?: string;
|
|
3835
|
+
};
|
|
3836
|
+
Relationships: [];
|
|
3837
|
+
};
|
|
3838
|
+
exact_auth_items: {
|
|
3839
|
+
Row: {
|
|
3840
|
+
account_key: string;
|
|
3841
|
+
barcode: string | null;
|
|
3842
|
+
code: string | null;
|
|
3843
|
+
cost_price: number | null;
|
|
3844
|
+
created_at: string;
|
|
3845
|
+
description: string | null;
|
|
3846
|
+
division_code: number | null;
|
|
3847
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3848
|
+
exact_id: string;
|
|
3849
|
+
exact_modified: string | null;
|
|
3850
|
+
exact_timestamp: number | null;
|
|
3851
|
+
gl_account_code: string | null;
|
|
3852
|
+
id: string;
|
|
3853
|
+
is_active: boolean;
|
|
3854
|
+
is_sales_item: boolean | null;
|
|
3855
|
+
item_type: string | null;
|
|
3856
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3857
|
+
sales_price: number | null;
|
|
3858
|
+
unit: string | null;
|
|
3859
|
+
updated_at: string;
|
|
3860
|
+
vat_code: string | null;
|
|
3861
|
+
};
|
|
3862
|
+
Insert: {
|
|
3863
|
+
account_key?: string;
|
|
3864
|
+
barcode?: string | null;
|
|
3865
|
+
code?: string | null;
|
|
3866
|
+
cost_price?: number | null;
|
|
3867
|
+
created_at?: string;
|
|
3868
|
+
description?: string | null;
|
|
3869
|
+
division_code?: number | null;
|
|
3870
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3871
|
+
exact_id: string;
|
|
3872
|
+
exact_modified?: string | null;
|
|
3873
|
+
exact_timestamp?: number | null;
|
|
3874
|
+
gl_account_code?: string | null;
|
|
3875
|
+
id?: string;
|
|
3876
|
+
is_active?: boolean;
|
|
3877
|
+
is_sales_item?: boolean | null;
|
|
3878
|
+
item_type?: string | null;
|
|
3879
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3880
|
+
sales_price?: number | null;
|
|
3881
|
+
unit?: string | null;
|
|
3882
|
+
updated_at?: string;
|
|
3883
|
+
vat_code?: string | null;
|
|
3884
|
+
};
|
|
3885
|
+
Update: {
|
|
3886
|
+
account_key?: string;
|
|
3887
|
+
barcode?: string | null;
|
|
3888
|
+
code?: string | null;
|
|
3889
|
+
cost_price?: number | null;
|
|
3890
|
+
created_at?: string;
|
|
3891
|
+
description?: string | null;
|
|
3892
|
+
division_code?: number | null;
|
|
3893
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3894
|
+
exact_id?: string;
|
|
3895
|
+
exact_modified?: string | null;
|
|
3896
|
+
exact_timestamp?: number | null;
|
|
3897
|
+
gl_account_code?: string | null;
|
|
3898
|
+
id?: string;
|
|
3899
|
+
is_active?: boolean;
|
|
3900
|
+
is_sales_item?: boolean | null;
|
|
3901
|
+
item_type?: string | null;
|
|
3902
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3903
|
+
sales_price?: number | null;
|
|
3904
|
+
unit?: string | null;
|
|
3905
|
+
updated_at?: string;
|
|
3906
|
+
vat_code?: string | null;
|
|
3907
|
+
};
|
|
3908
|
+
Relationships: [];
|
|
3909
|
+
};
|
|
3910
|
+
exact_auth_sync_log: {
|
|
3911
|
+
Row: {
|
|
3912
|
+
account_key: string;
|
|
3913
|
+
calls_used: number;
|
|
3914
|
+
created_at: string;
|
|
3915
|
+
domain: string;
|
|
3916
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3917
|
+
error: string | null;
|
|
3918
|
+
finished_at: string | null;
|
|
3919
|
+
id: string;
|
|
3920
|
+
ok: boolean;
|
|
3921
|
+
records: number;
|
|
3922
|
+
started_at: string;
|
|
3923
|
+
};
|
|
3924
|
+
Insert: {
|
|
3925
|
+
account_key?: string;
|
|
3926
|
+
calls_used?: number;
|
|
3927
|
+
created_at?: string;
|
|
3928
|
+
domain: string;
|
|
3929
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3930
|
+
error?: string | null;
|
|
3931
|
+
finished_at?: string | null;
|
|
3932
|
+
id?: string;
|
|
3933
|
+
ok?: boolean;
|
|
3934
|
+
records?: number;
|
|
3935
|
+
started_at?: string;
|
|
3936
|
+
};
|
|
3937
|
+
Update: {
|
|
3938
|
+
account_key?: string;
|
|
3939
|
+
calls_used?: number;
|
|
3940
|
+
created_at?: string;
|
|
3941
|
+
domain?: string;
|
|
3942
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3943
|
+
error?: string | null;
|
|
3944
|
+
finished_at?: string | null;
|
|
3945
|
+
id?: string;
|
|
3946
|
+
ok?: boolean;
|
|
3947
|
+
records?: number;
|
|
3948
|
+
started_at?: string;
|
|
3949
|
+
};
|
|
3950
|
+
Relationships: [];
|
|
3951
|
+
};
|
|
3952
|
+
exact_auth_sync_state: {
|
|
3953
|
+
Row: {
|
|
3954
|
+
account_key: string;
|
|
3955
|
+
created_at: string;
|
|
3956
|
+
cursor_timestamp: number;
|
|
3957
|
+
division_code: number | null;
|
|
3958
|
+
domain: string;
|
|
3959
|
+
duration_ms: number | null;
|
|
3960
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3961
|
+
initial_sync_done: boolean;
|
|
3962
|
+
last_error: string | null;
|
|
3963
|
+
last_run_at: string | null;
|
|
3964
|
+
last_success_at: string | null;
|
|
3965
|
+
locked_at: string | null;
|
|
3966
|
+
needs_initial_sync: boolean;
|
|
3967
|
+
record_count: number;
|
|
3968
|
+
updated_at: string;
|
|
3969
|
+
};
|
|
3970
|
+
Insert: {
|
|
3971
|
+
account_key?: string;
|
|
3972
|
+
created_at?: string;
|
|
3973
|
+
cursor_timestamp?: number;
|
|
3974
|
+
division_code?: number | null;
|
|
3975
|
+
domain: string;
|
|
3976
|
+
duration_ms?: number | null;
|
|
3977
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3978
|
+
initial_sync_done?: boolean;
|
|
3979
|
+
last_error?: string | null;
|
|
3980
|
+
last_run_at?: string | null;
|
|
3981
|
+
last_success_at?: string | null;
|
|
3982
|
+
locked_at?: string | null;
|
|
3983
|
+
needs_initial_sync?: boolean;
|
|
3984
|
+
record_count?: number;
|
|
3985
|
+
updated_at?: string;
|
|
3986
|
+
};
|
|
3987
|
+
Update: {
|
|
3988
|
+
account_key?: string;
|
|
3989
|
+
created_at?: string;
|
|
3990
|
+
cursor_timestamp?: number;
|
|
3991
|
+
division_code?: number | null;
|
|
3992
|
+
domain?: string;
|
|
3993
|
+
duration_ms?: number | null;
|
|
3994
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3995
|
+
initial_sync_done?: boolean;
|
|
3996
|
+
last_error?: string | null;
|
|
3997
|
+
last_run_at?: string | null;
|
|
3998
|
+
last_success_at?: string | null;
|
|
3999
|
+
locked_at?: string | null;
|
|
4000
|
+
needs_initial_sync?: boolean;
|
|
4001
|
+
record_count?: number;
|
|
4002
|
+
updated_at?: string;
|
|
4003
|
+
};
|
|
4004
|
+
Relationships: [];
|
|
4005
|
+
};
|
|
3513
4006
|
exact_bulk_operation_items: {
|
|
3514
4007
|
Row: {
|
|
3515
4008
|
attempts: number;
|
|
@@ -17902,6 +18395,21 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
17902
18395
|
Args: never;
|
|
17903
18396
|
Returns: string;
|
|
17904
18397
|
};
|
|
18398
|
+
exact_auth_consume_calls: {
|
|
18399
|
+
Args: {
|
|
18400
|
+
_account_key: string;
|
|
18401
|
+
_calls?: number;
|
|
18402
|
+
_day_limit?: number;
|
|
18403
|
+
_division_code: number;
|
|
18404
|
+
_environment: string;
|
|
18405
|
+
_minute_limit?: number;
|
|
18406
|
+
};
|
|
18407
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18408
|
+
};
|
|
18409
|
+
exact_auth_prune_sync_log: {
|
|
18410
|
+
Args: never;
|
|
18411
|
+
Returns: undefined;
|
|
18412
|
+
};
|
|
17905
18413
|
exact_decrypt: {
|
|
17906
18414
|
Args: {
|
|
17907
18415
|
cipher: string;
|
|
@@ -19866,15 +20374,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
19866
20374
|
};
|
|
19867
20375
|
Insert: {
|
|
19868
20376
|
account_email?: string | null;
|
|
19869
|
-
created_at
|
|
19870
|
-
/**
|
|
19871
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
19872
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
19873
|
-
*/
|
|
19874
|
-
? /**
|
|
19875
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
19876
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
19877
|
-
*/: string;
|
|
20377
|
+
created_at?: string;
|
|
19878
20378
|
id?: string;
|
|
19879
20379
|
last_error?: string | null;
|
|
19880
20380
|
last_synced_at?: string | null;
|
|
@@ -21661,6 +22161,39 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
21661
22161
|
referencedColumns: ["id"];
|
|
21662
22162
|
}];
|
|
21663
22163
|
};
|
|
22164
|
+
customer_notes: {
|
|
22165
|
+
Row: {
|
|
22166
|
+
created_at: string;
|
|
22167
|
+
customer_id: string | null;
|
|
22168
|
+
group_key: string | null;
|
|
22169
|
+
id: string;
|
|
22170
|
+
notes: string | null;
|
|
22171
|
+
updated_at: string;
|
|
22172
|
+
};
|
|
22173
|
+
Insert: {
|
|
22174
|
+
created_at?: string;
|
|
22175
|
+
customer_id?: string | null;
|
|
22176
|
+
group_key?: string | null;
|
|
22177
|
+
id?: string;
|
|
22178
|
+
notes?: string | null;
|
|
22179
|
+
updated_at?: string;
|
|
22180
|
+
};
|
|
22181
|
+
Update: {
|
|
22182
|
+
created_at?: string;
|
|
22183
|
+
customer_id?: string | null;
|
|
22184
|
+
group_key?: string | null;
|
|
22185
|
+
id?: string;
|
|
22186
|
+
notes?: string | null;
|
|
22187
|
+
updated_at?: string;
|
|
22188
|
+
};
|
|
22189
|
+
Relationships: [{
|
|
22190
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
22191
|
+
columns: ["customer_id"];
|
|
22192
|
+
isOneToOne: true;
|
|
22193
|
+
referencedRelation: "customers";
|
|
22194
|
+
referencedColumns: ["id"];
|
|
22195
|
+
}];
|
|
22196
|
+
};
|
|
21664
22197
|
customer_price_group_members: {
|
|
21665
22198
|
Row: {
|
|
21666
22199
|
created_at: string;
|
|
@@ -23305,6 +23838,474 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
23305
23838
|
referencedColumns: ["id"];
|
|
23306
23839
|
}];
|
|
23307
23840
|
};
|
|
23841
|
+
exact_auth_call_budget: {
|
|
23842
|
+
Row: {
|
|
23843
|
+
account_key: string;
|
|
23844
|
+
day_count: number;
|
|
23845
|
+
day_date: string;
|
|
23846
|
+
division_code: number;
|
|
23847
|
+
environment: string;
|
|
23848
|
+
minute_count: number;
|
|
23849
|
+
minute_window: string;
|
|
23850
|
+
updated_at: string;
|
|
23851
|
+
};
|
|
23852
|
+
Insert: {
|
|
23853
|
+
account_key?: string;
|
|
23854
|
+
day_count?: number;
|
|
23855
|
+
day_date?: string;
|
|
23856
|
+
division_code?: number;
|
|
23857
|
+
environment: string;
|
|
23858
|
+
minute_count?: number;
|
|
23859
|
+
minute_window?: string;
|
|
23860
|
+
updated_at?: string;
|
|
23861
|
+
};
|
|
23862
|
+
Update: {
|
|
23863
|
+
account_key?: string;
|
|
23864
|
+
day_count?: number;
|
|
23865
|
+
day_date?: string;
|
|
23866
|
+
division_code?: number;
|
|
23867
|
+
environment?: string;
|
|
23868
|
+
minute_count?: number;
|
|
23869
|
+
minute_window?: string;
|
|
23870
|
+
updated_at?: string;
|
|
23871
|
+
};
|
|
23872
|
+
Relationships: [];
|
|
23873
|
+
};
|
|
23874
|
+
exact_auth_customers: {
|
|
23875
|
+
Row: {
|
|
23876
|
+
account_key: string;
|
|
23877
|
+
address_line1: string | null;
|
|
23878
|
+
chamber_of_commerce: string | null;
|
|
23879
|
+
city: string | null;
|
|
23880
|
+
code: string | null;
|
|
23881
|
+
country: string | null;
|
|
23882
|
+
created_at: string;
|
|
23883
|
+
currency: string | null;
|
|
23884
|
+
division_code: number | null;
|
|
23885
|
+
email: string | null;
|
|
23886
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23887
|
+
exact_id: string;
|
|
23888
|
+
exact_modified: string | null;
|
|
23889
|
+
exact_timestamp: number | null;
|
|
23890
|
+
id: string;
|
|
23891
|
+
is_active: boolean;
|
|
23892
|
+
name: string | null;
|
|
23893
|
+
phone: string | null;
|
|
23894
|
+
postcode: string | null;
|
|
23895
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
23896
|
+
status: string | null;
|
|
23897
|
+
updated_at: string;
|
|
23898
|
+
vat_number: string | null;
|
|
23899
|
+
website: string | null;
|
|
23900
|
+
};
|
|
23901
|
+
Insert: {
|
|
23902
|
+
account_key?: string;
|
|
23903
|
+
address_line1?: string | null;
|
|
23904
|
+
chamber_of_commerce?: string | null;
|
|
23905
|
+
city?: string | null;
|
|
23906
|
+
code?: string | null;
|
|
23907
|
+
country?: string | null;
|
|
23908
|
+
created_at?: string;
|
|
23909
|
+
currency?: string | null;
|
|
23910
|
+
division_code?: number | null;
|
|
23911
|
+
email?: string | null;
|
|
23912
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23913
|
+
exact_id: string;
|
|
23914
|
+
exact_modified?: string | null;
|
|
23915
|
+
exact_timestamp?: number | null;
|
|
23916
|
+
id?: string;
|
|
23917
|
+
is_active?: boolean;
|
|
23918
|
+
name?: string | null;
|
|
23919
|
+
phone?: string | null;
|
|
23920
|
+
postcode?: string | null;
|
|
23921
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
23922
|
+
status?: string | null;
|
|
23923
|
+
updated_at?: string;
|
|
23924
|
+
vat_number?: string | null;
|
|
23925
|
+
website?: string | null;
|
|
23926
|
+
};
|
|
23927
|
+
Update: {
|
|
23928
|
+
account_key?: string;
|
|
23929
|
+
address_line1?: string | null;
|
|
23930
|
+
chamber_of_commerce?: string | null;
|
|
23931
|
+
city?: string | null;
|
|
23932
|
+
code?: string | null;
|
|
23933
|
+
country?: string | null;
|
|
23934
|
+
created_at?: string;
|
|
23935
|
+
currency?: string | null;
|
|
23936
|
+
division_code?: number | null;
|
|
23937
|
+
email?: string | null;
|
|
23938
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23939
|
+
exact_id?: string;
|
|
23940
|
+
exact_modified?: string | null;
|
|
23941
|
+
exact_timestamp?: number | null;
|
|
23942
|
+
id?: string;
|
|
23943
|
+
is_active?: boolean;
|
|
23944
|
+
name?: string | null;
|
|
23945
|
+
phone?: string | null;
|
|
23946
|
+
postcode?: string | null;
|
|
23947
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
23948
|
+
status?: string | null;
|
|
23949
|
+
updated_at?: string;
|
|
23950
|
+
vat_number?: string | null;
|
|
23951
|
+
website?: string | null;
|
|
23952
|
+
};
|
|
23953
|
+
Relationships: [];
|
|
23954
|
+
};
|
|
23955
|
+
exact_auth_divisions: {
|
|
23956
|
+
Row: {
|
|
23957
|
+
account_key: string;
|
|
23958
|
+
company_name: string | null;
|
|
23959
|
+
created_at: string;
|
|
23960
|
+
division_code: number | null;
|
|
23961
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23962
|
+
id: string;
|
|
23963
|
+
last_synced_at: string | null;
|
|
23964
|
+
updated_at: string;
|
|
23965
|
+
};
|
|
23966
|
+
Insert: {
|
|
23967
|
+
account_key?: string;
|
|
23968
|
+
company_name?: string | null;
|
|
23969
|
+
created_at?: string;
|
|
23970
|
+
division_code?: number | null;
|
|
23971
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23972
|
+
id?: string;
|
|
23973
|
+
last_synced_at?: string | null;
|
|
23974
|
+
updated_at?: string;
|
|
23975
|
+
};
|
|
23976
|
+
Update: {
|
|
23977
|
+
account_key?: string;
|
|
23978
|
+
company_name?: string | null;
|
|
23979
|
+
created_at?: string;
|
|
23980
|
+
division_code?: number | null;
|
|
23981
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23982
|
+
id?: string;
|
|
23983
|
+
last_synced_at?: string | null;
|
|
23984
|
+
updated_at?: string;
|
|
23985
|
+
};
|
|
23986
|
+
Relationships: [];
|
|
23987
|
+
};
|
|
23988
|
+
exact_auth_invoice_lines: {
|
|
23989
|
+
Row: {
|
|
23990
|
+
account_key: string;
|
|
23991
|
+
amount_excl: number | null;
|
|
23992
|
+
created_at: string;
|
|
23993
|
+
description: string | null;
|
|
23994
|
+
discount: number | null;
|
|
23995
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23996
|
+
exact_id: string;
|
|
23997
|
+
exact_timestamp: number | null;
|
|
23998
|
+
id: string;
|
|
23999
|
+
invoice_exact_id: string;
|
|
24000
|
+
item_code: string | null;
|
|
24001
|
+
item_exact_id: string | null;
|
|
24002
|
+
line_number: number | null;
|
|
24003
|
+
quantity: number | null;
|
|
24004
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24005
|
+
unit_price: number | null;
|
|
24006
|
+
updated_at: string;
|
|
24007
|
+
vat_amount: number | null;
|
|
24008
|
+
vat_code: string | null;
|
|
24009
|
+
};
|
|
24010
|
+
Insert: {
|
|
24011
|
+
account_key?: string;
|
|
24012
|
+
amount_excl?: number | null;
|
|
24013
|
+
created_at?: string;
|
|
24014
|
+
description?: string | null;
|
|
24015
|
+
discount?: number | null;
|
|
24016
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24017
|
+
exact_id: string;
|
|
24018
|
+
exact_timestamp?: number | null;
|
|
24019
|
+
id?: string;
|
|
24020
|
+
invoice_exact_id: string;
|
|
24021
|
+
item_code?: string | null;
|
|
24022
|
+
item_exact_id?: string | null;
|
|
24023
|
+
line_number?: number | null;
|
|
24024
|
+
quantity?: number | null;
|
|
24025
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24026
|
+
unit_price?: number | null;
|
|
24027
|
+
updated_at?: string;
|
|
24028
|
+
vat_amount?: number | null;
|
|
24029
|
+
vat_code?: string | null;
|
|
24030
|
+
};
|
|
24031
|
+
Update: {
|
|
24032
|
+
account_key?: string;
|
|
24033
|
+
amount_excl?: number | null;
|
|
24034
|
+
created_at?: string;
|
|
24035
|
+
description?: string | null;
|
|
24036
|
+
discount?: number | null;
|
|
24037
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24038
|
+
exact_id?: string;
|
|
24039
|
+
exact_timestamp?: number | null;
|
|
24040
|
+
id?: string;
|
|
24041
|
+
invoice_exact_id?: string;
|
|
24042
|
+
item_code?: string | null;
|
|
24043
|
+
item_exact_id?: string | null;
|
|
24044
|
+
line_number?: number | null;
|
|
24045
|
+
quantity?: number | null;
|
|
24046
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24047
|
+
unit_price?: number | null;
|
|
24048
|
+
updated_at?: string;
|
|
24049
|
+
vat_amount?: number | null;
|
|
24050
|
+
vat_code?: string | null;
|
|
24051
|
+
};
|
|
24052
|
+
Relationships: [];
|
|
24053
|
+
};
|
|
24054
|
+
exact_auth_invoices: {
|
|
24055
|
+
Row: {
|
|
24056
|
+
account_key: string;
|
|
24057
|
+
amount_excl: number | null;
|
|
24058
|
+
amount_incl: number | null;
|
|
24059
|
+
amount_open: number | null;
|
|
24060
|
+
created_at: string;
|
|
24061
|
+
currency: string | null;
|
|
24062
|
+
customer_code: string | null;
|
|
24063
|
+
customer_exact_id: string | null;
|
|
24064
|
+
customer_name: string | null;
|
|
24065
|
+
description: string | null;
|
|
24066
|
+
division_code: number | null;
|
|
24067
|
+
due_date: string | null;
|
|
24068
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24069
|
+
exact_id: string;
|
|
24070
|
+
exact_modified: string | null;
|
|
24071
|
+
exact_timestamp: number | null;
|
|
24072
|
+
id: string;
|
|
24073
|
+
invoice_date: string | null;
|
|
24074
|
+
invoice_number: string | null;
|
|
24075
|
+
order_number: string | null;
|
|
24076
|
+
paid_at: string | null;
|
|
24077
|
+
payment_status: string;
|
|
24078
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24079
|
+
receivable_synced_at: string | null;
|
|
24080
|
+
status_code: number | null;
|
|
24081
|
+
updated_at: string;
|
|
24082
|
+
};
|
|
24083
|
+
Insert: {
|
|
24084
|
+
account_key?: string;
|
|
24085
|
+
amount_excl?: number | null;
|
|
24086
|
+
amount_incl?: number | null;
|
|
24087
|
+
amount_open?: number | null;
|
|
24088
|
+
created_at?: string;
|
|
24089
|
+
currency?: string | null;
|
|
24090
|
+
customer_code?: string | null;
|
|
24091
|
+
customer_exact_id?: string | null;
|
|
24092
|
+
customer_name?: string | null;
|
|
24093
|
+
description?: string | null;
|
|
24094
|
+
division_code?: number | null;
|
|
24095
|
+
due_date?: string | null;
|
|
24096
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24097
|
+
exact_id: string;
|
|
24098
|
+
exact_modified?: string | null;
|
|
24099
|
+
exact_timestamp?: number | null;
|
|
24100
|
+
id?: string;
|
|
24101
|
+
invoice_date?: string | null;
|
|
24102
|
+
invoice_number?: string | null;
|
|
24103
|
+
order_number?: string | null;
|
|
24104
|
+
paid_at?: string | null;
|
|
24105
|
+
payment_status?: string;
|
|
24106
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24107
|
+
receivable_synced_at?: string | null;
|
|
24108
|
+
status_code?: number | null;
|
|
24109
|
+
updated_at?: string;
|
|
24110
|
+
};
|
|
24111
|
+
Update: {
|
|
24112
|
+
account_key?: string;
|
|
24113
|
+
amount_excl?: number | null;
|
|
24114
|
+
amount_incl?: number | null;
|
|
24115
|
+
amount_open?: number | null;
|
|
24116
|
+
created_at?: string;
|
|
24117
|
+
currency?: string | null;
|
|
24118
|
+
customer_code?: string | null;
|
|
24119
|
+
customer_exact_id?: string | null;
|
|
24120
|
+
customer_name?: string | null;
|
|
24121
|
+
description?: string | null;
|
|
24122
|
+
division_code?: number | null;
|
|
24123
|
+
due_date?: string | null;
|
|
24124
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24125
|
+
exact_id?: string;
|
|
24126
|
+
exact_modified?: string | null;
|
|
24127
|
+
exact_timestamp?: number | null;
|
|
24128
|
+
id?: string;
|
|
24129
|
+
invoice_date?: string | null;
|
|
24130
|
+
invoice_number?: string | null;
|
|
24131
|
+
order_number?: string | null;
|
|
24132
|
+
paid_at?: string | null;
|
|
24133
|
+
payment_status?: string;
|
|
24134
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24135
|
+
receivable_synced_at?: string | null;
|
|
24136
|
+
status_code?: number | null;
|
|
24137
|
+
updated_at?: string;
|
|
24138
|
+
};
|
|
24139
|
+
Relationships: [];
|
|
24140
|
+
};
|
|
24141
|
+
exact_auth_items: {
|
|
24142
|
+
Row: {
|
|
24143
|
+
account_key: string;
|
|
24144
|
+
barcode: string | null;
|
|
24145
|
+
code: string | null;
|
|
24146
|
+
cost_price: number | null;
|
|
24147
|
+
created_at: string;
|
|
24148
|
+
description: string | null;
|
|
24149
|
+
division_code: number | null;
|
|
24150
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24151
|
+
exact_id: string;
|
|
24152
|
+
exact_modified: string | null;
|
|
24153
|
+
exact_timestamp: number | null;
|
|
24154
|
+
gl_account_code: string | null;
|
|
24155
|
+
id: string;
|
|
24156
|
+
is_active: boolean;
|
|
24157
|
+
is_sales_item: boolean | null;
|
|
24158
|
+
item_type: string | null;
|
|
24159
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24160
|
+
sales_price: number | null;
|
|
24161
|
+
unit: string | null;
|
|
24162
|
+
updated_at: string;
|
|
24163
|
+
vat_code: string | null;
|
|
24164
|
+
};
|
|
24165
|
+
Insert: {
|
|
24166
|
+
account_key?: string;
|
|
24167
|
+
barcode?: string | null;
|
|
24168
|
+
code?: string | null;
|
|
24169
|
+
cost_price?: number | null;
|
|
24170
|
+
created_at?: string;
|
|
24171
|
+
description?: string | null;
|
|
24172
|
+
division_code?: number | null;
|
|
24173
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24174
|
+
exact_id: string;
|
|
24175
|
+
exact_modified?: string | null;
|
|
24176
|
+
exact_timestamp?: number | null;
|
|
24177
|
+
gl_account_code?: string | null;
|
|
24178
|
+
id?: string;
|
|
24179
|
+
is_active?: boolean;
|
|
24180
|
+
is_sales_item?: boolean | null;
|
|
24181
|
+
item_type?: string | null;
|
|
24182
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24183
|
+
sales_price?: number | null;
|
|
24184
|
+
unit?: string | null;
|
|
24185
|
+
updated_at?: string;
|
|
24186
|
+
vat_code?: string | null;
|
|
24187
|
+
};
|
|
24188
|
+
Update: {
|
|
24189
|
+
account_key?: string;
|
|
24190
|
+
barcode?: string | null;
|
|
24191
|
+
code?: string | null;
|
|
24192
|
+
cost_price?: number | null;
|
|
24193
|
+
created_at?: string;
|
|
24194
|
+
description?: string | null;
|
|
24195
|
+
division_code?: number | null;
|
|
24196
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24197
|
+
exact_id?: string;
|
|
24198
|
+
exact_modified?: string | null;
|
|
24199
|
+
exact_timestamp?: number | null;
|
|
24200
|
+
gl_account_code?: string | null;
|
|
24201
|
+
id?: string;
|
|
24202
|
+
is_active?: boolean;
|
|
24203
|
+
is_sales_item?: boolean | null;
|
|
24204
|
+
item_type?: string | null;
|
|
24205
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24206
|
+
sales_price?: number | null;
|
|
24207
|
+
unit?: string | null;
|
|
24208
|
+
updated_at?: string;
|
|
24209
|
+
vat_code?: string | null;
|
|
24210
|
+
};
|
|
24211
|
+
Relationships: [];
|
|
24212
|
+
};
|
|
24213
|
+
exact_auth_sync_log: {
|
|
24214
|
+
Row: {
|
|
24215
|
+
account_key: string;
|
|
24216
|
+
calls_used: number;
|
|
24217
|
+
created_at: string;
|
|
24218
|
+
domain: string;
|
|
24219
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24220
|
+
error: string | null;
|
|
24221
|
+
finished_at: string | null;
|
|
24222
|
+
id: string;
|
|
24223
|
+
ok: boolean;
|
|
24224
|
+
records: number;
|
|
24225
|
+
started_at: string;
|
|
24226
|
+
};
|
|
24227
|
+
Insert: {
|
|
24228
|
+
account_key?: string;
|
|
24229
|
+
calls_used?: number;
|
|
24230
|
+
created_at?: string;
|
|
24231
|
+
domain: string;
|
|
24232
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24233
|
+
error?: string | null;
|
|
24234
|
+
finished_at?: string | null;
|
|
24235
|
+
id?: string;
|
|
24236
|
+
ok?: boolean;
|
|
24237
|
+
records?: number;
|
|
24238
|
+
started_at?: string;
|
|
24239
|
+
};
|
|
24240
|
+
Update: {
|
|
24241
|
+
account_key?: string;
|
|
24242
|
+
calls_used?: number;
|
|
24243
|
+
created_at?: string;
|
|
24244
|
+
domain?: string;
|
|
24245
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24246
|
+
error?: string | null;
|
|
24247
|
+
finished_at?: string | null;
|
|
24248
|
+
id?: string;
|
|
24249
|
+
ok?: boolean;
|
|
24250
|
+
records?: number;
|
|
24251
|
+
started_at?: string;
|
|
24252
|
+
};
|
|
24253
|
+
Relationships: [];
|
|
24254
|
+
};
|
|
24255
|
+
exact_auth_sync_state: {
|
|
24256
|
+
Row: {
|
|
24257
|
+
account_key: string;
|
|
24258
|
+
created_at: string;
|
|
24259
|
+
cursor_timestamp: number;
|
|
24260
|
+
division_code: number | null;
|
|
24261
|
+
domain: string;
|
|
24262
|
+
duration_ms: number | null;
|
|
24263
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24264
|
+
initial_sync_done: boolean;
|
|
24265
|
+
last_error: string | null;
|
|
24266
|
+
last_run_at: string | null;
|
|
24267
|
+
last_success_at: string | null;
|
|
24268
|
+
locked_at: string | null;
|
|
24269
|
+
needs_initial_sync: boolean;
|
|
24270
|
+
record_count: number;
|
|
24271
|
+
updated_at: string;
|
|
24272
|
+
};
|
|
24273
|
+
Insert: {
|
|
24274
|
+
account_key?: string;
|
|
24275
|
+
created_at?: string;
|
|
24276
|
+
cursor_timestamp?: number;
|
|
24277
|
+
division_code?: number | null;
|
|
24278
|
+
domain: string;
|
|
24279
|
+
duration_ms?: number | null;
|
|
24280
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24281
|
+
initial_sync_done?: boolean;
|
|
24282
|
+
last_error?: string | null;
|
|
24283
|
+
last_run_at?: string | null;
|
|
24284
|
+
last_success_at?: string | null;
|
|
24285
|
+
locked_at?: string | null;
|
|
24286
|
+
needs_initial_sync?: boolean;
|
|
24287
|
+
record_count?: number;
|
|
24288
|
+
updated_at?: string;
|
|
24289
|
+
};
|
|
24290
|
+
Update: {
|
|
24291
|
+
account_key?: string;
|
|
24292
|
+
created_at?: string;
|
|
24293
|
+
cursor_timestamp?: number;
|
|
24294
|
+
division_code?: number | null;
|
|
24295
|
+
domain?: string;
|
|
24296
|
+
duration_ms?: number | null;
|
|
24297
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24298
|
+
initial_sync_done?: boolean;
|
|
24299
|
+
last_error?: string | null;
|
|
24300
|
+
last_run_at?: string | null;
|
|
24301
|
+
last_success_at?: string | null;
|
|
24302
|
+
locked_at?: string | null;
|
|
24303
|
+
needs_initial_sync?: boolean;
|
|
24304
|
+
record_count?: number;
|
|
24305
|
+
updated_at?: string;
|
|
24306
|
+
};
|
|
24307
|
+
Relationships: [];
|
|
24308
|
+
};
|
|
23308
24309
|
exact_bulk_operation_items: {
|
|
23309
24310
|
Row: {
|
|
23310
24311
|
attempts: number;
|
|
@@ -37697,6 +38698,21 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
37697
38698
|
Args: never;
|
|
37698
38699
|
Returns: string;
|
|
37699
38700
|
};
|
|
38701
|
+
exact_auth_consume_calls: {
|
|
38702
|
+
Args: {
|
|
38703
|
+
_account_key: string;
|
|
38704
|
+
_calls?: number;
|
|
38705
|
+
_day_limit?: number;
|
|
38706
|
+
_division_code: number;
|
|
38707
|
+
_environment: string;
|
|
38708
|
+
_minute_limit?: number;
|
|
38709
|
+
};
|
|
38710
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38711
|
+
};
|
|
38712
|
+
exact_auth_prune_sync_log: {
|
|
38713
|
+
Args: never;
|
|
38714
|
+
Returns: undefined;
|
|
38715
|
+
};
|
|
37700
38716
|
exact_decrypt: {
|
|
37701
38717
|
Args: {
|
|
37702
38718
|
cipher: string;
|
|
@@ -39665,15 +40681,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
39665
40681
|
};
|
|
39666
40682
|
Insert: {
|
|
39667
40683
|
account_email?: string | null;
|
|
39668
|
-
created_at
|
|
39669
|
-
/**
|
|
39670
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
39671
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
39672
|
-
*/
|
|
39673
|
-
? /**
|
|
39674
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
39675
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
39676
|
-
*/: string;
|
|
40684
|
+
created_at?: string;
|
|
39677
40685
|
id?: string;
|
|
39678
40686
|
last_error?: string | null;
|
|
39679
40687
|
last_synced_at?: string | null;
|
|
@@ -41460,6 +42468,39 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
41460
42468
|
referencedColumns: ["id"];
|
|
41461
42469
|
}];
|
|
41462
42470
|
};
|
|
42471
|
+
customer_notes: {
|
|
42472
|
+
Row: {
|
|
42473
|
+
created_at: string;
|
|
42474
|
+
customer_id: string | null;
|
|
42475
|
+
group_key: string | null;
|
|
42476
|
+
id: string;
|
|
42477
|
+
notes: string | null;
|
|
42478
|
+
updated_at: string;
|
|
42479
|
+
};
|
|
42480
|
+
Insert: {
|
|
42481
|
+
created_at?: string;
|
|
42482
|
+
customer_id?: string | null;
|
|
42483
|
+
group_key?: string | null;
|
|
42484
|
+
id?: string;
|
|
42485
|
+
notes?: string | null;
|
|
42486
|
+
updated_at?: string;
|
|
42487
|
+
};
|
|
42488
|
+
Update: {
|
|
42489
|
+
created_at?: string;
|
|
42490
|
+
customer_id?: string | null;
|
|
42491
|
+
group_key?: string | null;
|
|
42492
|
+
id?: string;
|
|
42493
|
+
notes?: string | null;
|
|
42494
|
+
updated_at?: string;
|
|
42495
|
+
};
|
|
42496
|
+
Relationships: [{
|
|
42497
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
42498
|
+
columns: ["customer_id"];
|
|
42499
|
+
isOneToOne: true;
|
|
42500
|
+
referencedRelation: "customers";
|
|
42501
|
+
referencedColumns: ["id"];
|
|
42502
|
+
}];
|
|
42503
|
+
};
|
|
41463
42504
|
customer_price_group_members: {
|
|
41464
42505
|
Row: {
|
|
41465
42506
|
created_at: string;
|
|
@@ -43104,6 +44145,474 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
43104
44145
|
referencedColumns: ["id"];
|
|
43105
44146
|
}];
|
|
43106
44147
|
};
|
|
44148
|
+
exact_auth_call_budget: {
|
|
44149
|
+
Row: {
|
|
44150
|
+
account_key: string;
|
|
44151
|
+
day_count: number;
|
|
44152
|
+
day_date: string;
|
|
44153
|
+
division_code: number;
|
|
44154
|
+
environment: string;
|
|
44155
|
+
minute_count: number;
|
|
44156
|
+
minute_window: string;
|
|
44157
|
+
updated_at: string;
|
|
44158
|
+
};
|
|
44159
|
+
Insert: {
|
|
44160
|
+
account_key?: string;
|
|
44161
|
+
day_count?: number;
|
|
44162
|
+
day_date?: string;
|
|
44163
|
+
division_code?: number;
|
|
44164
|
+
environment: string;
|
|
44165
|
+
minute_count?: number;
|
|
44166
|
+
minute_window?: string;
|
|
44167
|
+
updated_at?: string;
|
|
44168
|
+
};
|
|
44169
|
+
Update: {
|
|
44170
|
+
account_key?: string;
|
|
44171
|
+
day_count?: number;
|
|
44172
|
+
day_date?: string;
|
|
44173
|
+
division_code?: number;
|
|
44174
|
+
environment?: string;
|
|
44175
|
+
minute_count?: number;
|
|
44176
|
+
minute_window?: string;
|
|
44177
|
+
updated_at?: string;
|
|
44178
|
+
};
|
|
44179
|
+
Relationships: [];
|
|
44180
|
+
};
|
|
44181
|
+
exact_auth_customers: {
|
|
44182
|
+
Row: {
|
|
44183
|
+
account_key: string;
|
|
44184
|
+
address_line1: string | null;
|
|
44185
|
+
chamber_of_commerce: string | null;
|
|
44186
|
+
city: string | null;
|
|
44187
|
+
code: string | null;
|
|
44188
|
+
country: string | null;
|
|
44189
|
+
created_at: string;
|
|
44190
|
+
currency: string | null;
|
|
44191
|
+
division_code: number | null;
|
|
44192
|
+
email: string | null;
|
|
44193
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44194
|
+
exact_id: string;
|
|
44195
|
+
exact_modified: string | null;
|
|
44196
|
+
exact_timestamp: number | null;
|
|
44197
|
+
id: string;
|
|
44198
|
+
is_active: boolean;
|
|
44199
|
+
name: string | null;
|
|
44200
|
+
phone: string | null;
|
|
44201
|
+
postcode: string | null;
|
|
44202
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44203
|
+
status: string | null;
|
|
44204
|
+
updated_at: string;
|
|
44205
|
+
vat_number: string | null;
|
|
44206
|
+
website: string | null;
|
|
44207
|
+
};
|
|
44208
|
+
Insert: {
|
|
44209
|
+
account_key?: string;
|
|
44210
|
+
address_line1?: string | null;
|
|
44211
|
+
chamber_of_commerce?: string | null;
|
|
44212
|
+
city?: string | null;
|
|
44213
|
+
code?: string | null;
|
|
44214
|
+
country?: string | null;
|
|
44215
|
+
created_at?: string;
|
|
44216
|
+
currency?: string | null;
|
|
44217
|
+
division_code?: number | null;
|
|
44218
|
+
email?: string | null;
|
|
44219
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44220
|
+
exact_id: string;
|
|
44221
|
+
exact_modified?: string | null;
|
|
44222
|
+
exact_timestamp?: number | null;
|
|
44223
|
+
id?: string;
|
|
44224
|
+
is_active?: boolean;
|
|
44225
|
+
name?: string | null;
|
|
44226
|
+
phone?: string | null;
|
|
44227
|
+
postcode?: string | null;
|
|
44228
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44229
|
+
status?: string | null;
|
|
44230
|
+
updated_at?: string;
|
|
44231
|
+
vat_number?: string | null;
|
|
44232
|
+
website?: string | null;
|
|
44233
|
+
};
|
|
44234
|
+
Update: {
|
|
44235
|
+
account_key?: string;
|
|
44236
|
+
address_line1?: string | null;
|
|
44237
|
+
chamber_of_commerce?: string | null;
|
|
44238
|
+
city?: string | null;
|
|
44239
|
+
code?: string | null;
|
|
44240
|
+
country?: string | null;
|
|
44241
|
+
created_at?: string;
|
|
44242
|
+
currency?: string | null;
|
|
44243
|
+
division_code?: number | null;
|
|
44244
|
+
email?: string | null;
|
|
44245
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44246
|
+
exact_id?: string;
|
|
44247
|
+
exact_modified?: string | null;
|
|
44248
|
+
exact_timestamp?: number | null;
|
|
44249
|
+
id?: string;
|
|
44250
|
+
is_active?: boolean;
|
|
44251
|
+
name?: string | null;
|
|
44252
|
+
phone?: string | null;
|
|
44253
|
+
postcode?: string | null;
|
|
44254
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44255
|
+
status?: string | null;
|
|
44256
|
+
updated_at?: string;
|
|
44257
|
+
vat_number?: string | null;
|
|
44258
|
+
website?: string | null;
|
|
44259
|
+
};
|
|
44260
|
+
Relationships: [];
|
|
44261
|
+
};
|
|
44262
|
+
exact_auth_divisions: {
|
|
44263
|
+
Row: {
|
|
44264
|
+
account_key: string;
|
|
44265
|
+
company_name: string | null;
|
|
44266
|
+
created_at: string;
|
|
44267
|
+
division_code: number | null;
|
|
44268
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44269
|
+
id: string;
|
|
44270
|
+
last_synced_at: string | null;
|
|
44271
|
+
updated_at: string;
|
|
44272
|
+
};
|
|
44273
|
+
Insert: {
|
|
44274
|
+
account_key?: string;
|
|
44275
|
+
company_name?: string | null;
|
|
44276
|
+
created_at?: string;
|
|
44277
|
+
division_code?: number | null;
|
|
44278
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44279
|
+
id?: string;
|
|
44280
|
+
last_synced_at?: string | null;
|
|
44281
|
+
updated_at?: string;
|
|
44282
|
+
};
|
|
44283
|
+
Update: {
|
|
44284
|
+
account_key?: string;
|
|
44285
|
+
company_name?: string | null;
|
|
44286
|
+
created_at?: string;
|
|
44287
|
+
division_code?: number | null;
|
|
44288
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44289
|
+
id?: string;
|
|
44290
|
+
last_synced_at?: string | null;
|
|
44291
|
+
updated_at?: string;
|
|
44292
|
+
};
|
|
44293
|
+
Relationships: [];
|
|
44294
|
+
};
|
|
44295
|
+
exact_auth_invoice_lines: {
|
|
44296
|
+
Row: {
|
|
44297
|
+
account_key: string;
|
|
44298
|
+
amount_excl: number | null;
|
|
44299
|
+
created_at: string;
|
|
44300
|
+
description: string | null;
|
|
44301
|
+
discount: number | null;
|
|
44302
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44303
|
+
exact_id: string;
|
|
44304
|
+
exact_timestamp: number | null;
|
|
44305
|
+
id: string;
|
|
44306
|
+
invoice_exact_id: string;
|
|
44307
|
+
item_code: string | null;
|
|
44308
|
+
item_exact_id: string | null;
|
|
44309
|
+
line_number: number | null;
|
|
44310
|
+
quantity: number | null;
|
|
44311
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44312
|
+
unit_price: number | null;
|
|
44313
|
+
updated_at: string;
|
|
44314
|
+
vat_amount: number | null;
|
|
44315
|
+
vat_code: string | null;
|
|
44316
|
+
};
|
|
44317
|
+
Insert: {
|
|
44318
|
+
account_key?: string;
|
|
44319
|
+
amount_excl?: number | null;
|
|
44320
|
+
created_at?: string;
|
|
44321
|
+
description?: string | null;
|
|
44322
|
+
discount?: number | null;
|
|
44323
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44324
|
+
exact_id: string;
|
|
44325
|
+
exact_timestamp?: number | null;
|
|
44326
|
+
id?: string;
|
|
44327
|
+
invoice_exact_id: string;
|
|
44328
|
+
item_code?: string | null;
|
|
44329
|
+
item_exact_id?: string | null;
|
|
44330
|
+
line_number?: number | null;
|
|
44331
|
+
quantity?: number | null;
|
|
44332
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44333
|
+
unit_price?: number | null;
|
|
44334
|
+
updated_at?: string;
|
|
44335
|
+
vat_amount?: number | null;
|
|
44336
|
+
vat_code?: string | null;
|
|
44337
|
+
};
|
|
44338
|
+
Update: {
|
|
44339
|
+
account_key?: string;
|
|
44340
|
+
amount_excl?: number | null;
|
|
44341
|
+
created_at?: string;
|
|
44342
|
+
description?: string | null;
|
|
44343
|
+
discount?: number | null;
|
|
44344
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44345
|
+
exact_id?: string;
|
|
44346
|
+
exact_timestamp?: number | null;
|
|
44347
|
+
id?: string;
|
|
44348
|
+
invoice_exact_id?: string;
|
|
44349
|
+
item_code?: string | null;
|
|
44350
|
+
item_exact_id?: string | null;
|
|
44351
|
+
line_number?: number | null;
|
|
44352
|
+
quantity?: number | null;
|
|
44353
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44354
|
+
unit_price?: number | null;
|
|
44355
|
+
updated_at?: string;
|
|
44356
|
+
vat_amount?: number | null;
|
|
44357
|
+
vat_code?: string | null;
|
|
44358
|
+
};
|
|
44359
|
+
Relationships: [];
|
|
44360
|
+
};
|
|
44361
|
+
exact_auth_invoices: {
|
|
44362
|
+
Row: {
|
|
44363
|
+
account_key: string;
|
|
44364
|
+
amount_excl: number | null;
|
|
44365
|
+
amount_incl: number | null;
|
|
44366
|
+
amount_open: number | null;
|
|
44367
|
+
created_at: string;
|
|
44368
|
+
currency: string | null;
|
|
44369
|
+
customer_code: string | null;
|
|
44370
|
+
customer_exact_id: string | null;
|
|
44371
|
+
customer_name: string | null;
|
|
44372
|
+
description: string | null;
|
|
44373
|
+
division_code: number | null;
|
|
44374
|
+
due_date: string | null;
|
|
44375
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44376
|
+
exact_id: string;
|
|
44377
|
+
exact_modified: string | null;
|
|
44378
|
+
exact_timestamp: number | null;
|
|
44379
|
+
id: string;
|
|
44380
|
+
invoice_date: string | null;
|
|
44381
|
+
invoice_number: string | null;
|
|
44382
|
+
order_number: string | null;
|
|
44383
|
+
paid_at: string | null;
|
|
44384
|
+
payment_status: string;
|
|
44385
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44386
|
+
receivable_synced_at: string | null;
|
|
44387
|
+
status_code: number | null;
|
|
44388
|
+
updated_at: string;
|
|
44389
|
+
};
|
|
44390
|
+
Insert: {
|
|
44391
|
+
account_key?: string;
|
|
44392
|
+
amount_excl?: number | null;
|
|
44393
|
+
amount_incl?: number | null;
|
|
44394
|
+
amount_open?: number | null;
|
|
44395
|
+
created_at?: string;
|
|
44396
|
+
currency?: string | null;
|
|
44397
|
+
customer_code?: string | null;
|
|
44398
|
+
customer_exact_id?: string | null;
|
|
44399
|
+
customer_name?: string | null;
|
|
44400
|
+
description?: string | null;
|
|
44401
|
+
division_code?: number | null;
|
|
44402
|
+
due_date?: string | null;
|
|
44403
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44404
|
+
exact_id: string;
|
|
44405
|
+
exact_modified?: string | null;
|
|
44406
|
+
exact_timestamp?: number | null;
|
|
44407
|
+
id?: string;
|
|
44408
|
+
invoice_date?: string | null;
|
|
44409
|
+
invoice_number?: string | null;
|
|
44410
|
+
order_number?: string | null;
|
|
44411
|
+
paid_at?: string | null;
|
|
44412
|
+
payment_status?: string;
|
|
44413
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44414
|
+
receivable_synced_at?: string | null;
|
|
44415
|
+
status_code?: number | null;
|
|
44416
|
+
updated_at?: string;
|
|
44417
|
+
};
|
|
44418
|
+
Update: {
|
|
44419
|
+
account_key?: string;
|
|
44420
|
+
amount_excl?: number | null;
|
|
44421
|
+
amount_incl?: number | null;
|
|
44422
|
+
amount_open?: number | null;
|
|
44423
|
+
created_at?: string;
|
|
44424
|
+
currency?: string | null;
|
|
44425
|
+
customer_code?: string | null;
|
|
44426
|
+
customer_exact_id?: string | null;
|
|
44427
|
+
customer_name?: string | null;
|
|
44428
|
+
description?: string | null;
|
|
44429
|
+
division_code?: number | null;
|
|
44430
|
+
due_date?: string | null;
|
|
44431
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44432
|
+
exact_id?: string;
|
|
44433
|
+
exact_modified?: string | null;
|
|
44434
|
+
exact_timestamp?: number | null;
|
|
44435
|
+
id?: string;
|
|
44436
|
+
invoice_date?: string | null;
|
|
44437
|
+
invoice_number?: string | null;
|
|
44438
|
+
order_number?: string | null;
|
|
44439
|
+
paid_at?: string | null;
|
|
44440
|
+
payment_status?: string;
|
|
44441
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44442
|
+
receivable_synced_at?: string | null;
|
|
44443
|
+
status_code?: number | null;
|
|
44444
|
+
updated_at?: string;
|
|
44445
|
+
};
|
|
44446
|
+
Relationships: [];
|
|
44447
|
+
};
|
|
44448
|
+
exact_auth_items: {
|
|
44449
|
+
Row: {
|
|
44450
|
+
account_key: string;
|
|
44451
|
+
barcode: string | null;
|
|
44452
|
+
code: string | null;
|
|
44453
|
+
cost_price: number | null;
|
|
44454
|
+
created_at: string;
|
|
44455
|
+
description: string | null;
|
|
44456
|
+
division_code: number | null;
|
|
44457
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44458
|
+
exact_id: string;
|
|
44459
|
+
exact_modified: string | null;
|
|
44460
|
+
exact_timestamp: number | null;
|
|
44461
|
+
gl_account_code: string | null;
|
|
44462
|
+
id: string;
|
|
44463
|
+
is_active: boolean;
|
|
44464
|
+
is_sales_item: boolean | null;
|
|
44465
|
+
item_type: string | null;
|
|
44466
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44467
|
+
sales_price: number | null;
|
|
44468
|
+
unit: string | null;
|
|
44469
|
+
updated_at: string;
|
|
44470
|
+
vat_code: string | null;
|
|
44471
|
+
};
|
|
44472
|
+
Insert: {
|
|
44473
|
+
account_key?: string;
|
|
44474
|
+
barcode?: string | null;
|
|
44475
|
+
code?: string | null;
|
|
44476
|
+
cost_price?: number | null;
|
|
44477
|
+
created_at?: string;
|
|
44478
|
+
description?: string | null;
|
|
44479
|
+
division_code?: number | null;
|
|
44480
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44481
|
+
exact_id: string;
|
|
44482
|
+
exact_modified?: string | null;
|
|
44483
|
+
exact_timestamp?: number | null;
|
|
44484
|
+
gl_account_code?: string | null;
|
|
44485
|
+
id?: string;
|
|
44486
|
+
is_active?: boolean;
|
|
44487
|
+
is_sales_item?: boolean | null;
|
|
44488
|
+
item_type?: string | null;
|
|
44489
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44490
|
+
sales_price?: number | null;
|
|
44491
|
+
unit?: string | null;
|
|
44492
|
+
updated_at?: string;
|
|
44493
|
+
vat_code?: string | null;
|
|
44494
|
+
};
|
|
44495
|
+
Update: {
|
|
44496
|
+
account_key?: string;
|
|
44497
|
+
barcode?: string | null;
|
|
44498
|
+
code?: string | null;
|
|
44499
|
+
cost_price?: number | null;
|
|
44500
|
+
created_at?: string;
|
|
44501
|
+
description?: string | null;
|
|
44502
|
+
division_code?: number | null;
|
|
44503
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44504
|
+
exact_id?: string;
|
|
44505
|
+
exact_modified?: string | null;
|
|
44506
|
+
exact_timestamp?: number | null;
|
|
44507
|
+
gl_account_code?: string | null;
|
|
44508
|
+
id?: string;
|
|
44509
|
+
is_active?: boolean;
|
|
44510
|
+
is_sales_item?: boolean | null;
|
|
44511
|
+
item_type?: string | null;
|
|
44512
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44513
|
+
sales_price?: number | null;
|
|
44514
|
+
unit?: string | null;
|
|
44515
|
+
updated_at?: string;
|
|
44516
|
+
vat_code?: string | null;
|
|
44517
|
+
};
|
|
44518
|
+
Relationships: [];
|
|
44519
|
+
};
|
|
44520
|
+
exact_auth_sync_log: {
|
|
44521
|
+
Row: {
|
|
44522
|
+
account_key: string;
|
|
44523
|
+
calls_used: number;
|
|
44524
|
+
created_at: string;
|
|
44525
|
+
domain: string;
|
|
44526
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44527
|
+
error: string | null;
|
|
44528
|
+
finished_at: string | null;
|
|
44529
|
+
id: string;
|
|
44530
|
+
ok: boolean;
|
|
44531
|
+
records: number;
|
|
44532
|
+
started_at: string;
|
|
44533
|
+
};
|
|
44534
|
+
Insert: {
|
|
44535
|
+
account_key?: string;
|
|
44536
|
+
calls_used?: number;
|
|
44537
|
+
created_at?: string;
|
|
44538
|
+
domain: string;
|
|
44539
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44540
|
+
error?: string | null;
|
|
44541
|
+
finished_at?: string | null;
|
|
44542
|
+
id?: string;
|
|
44543
|
+
ok?: boolean;
|
|
44544
|
+
records?: number;
|
|
44545
|
+
started_at?: string;
|
|
44546
|
+
};
|
|
44547
|
+
Update: {
|
|
44548
|
+
account_key?: string;
|
|
44549
|
+
calls_used?: number;
|
|
44550
|
+
created_at?: string;
|
|
44551
|
+
domain?: string;
|
|
44552
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44553
|
+
error?: string | null;
|
|
44554
|
+
finished_at?: string | null;
|
|
44555
|
+
id?: string;
|
|
44556
|
+
ok?: boolean;
|
|
44557
|
+
records?: number;
|
|
44558
|
+
started_at?: string;
|
|
44559
|
+
};
|
|
44560
|
+
Relationships: [];
|
|
44561
|
+
};
|
|
44562
|
+
exact_auth_sync_state: {
|
|
44563
|
+
Row: {
|
|
44564
|
+
account_key: string;
|
|
44565
|
+
created_at: string;
|
|
44566
|
+
cursor_timestamp: number;
|
|
44567
|
+
division_code: number | null;
|
|
44568
|
+
domain: string;
|
|
44569
|
+
duration_ms: number | null;
|
|
44570
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44571
|
+
initial_sync_done: boolean;
|
|
44572
|
+
last_error: string | null;
|
|
44573
|
+
last_run_at: string | null;
|
|
44574
|
+
last_success_at: string | null;
|
|
44575
|
+
locked_at: string | null;
|
|
44576
|
+
needs_initial_sync: boolean;
|
|
44577
|
+
record_count: number;
|
|
44578
|
+
updated_at: string;
|
|
44579
|
+
};
|
|
44580
|
+
Insert: {
|
|
44581
|
+
account_key?: string;
|
|
44582
|
+
created_at?: string;
|
|
44583
|
+
cursor_timestamp?: number;
|
|
44584
|
+
division_code?: number | null;
|
|
44585
|
+
domain: string;
|
|
44586
|
+
duration_ms?: number | null;
|
|
44587
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44588
|
+
initial_sync_done?: boolean;
|
|
44589
|
+
last_error?: string | null;
|
|
44590
|
+
last_run_at?: string | null;
|
|
44591
|
+
last_success_at?: string | null;
|
|
44592
|
+
locked_at?: string | null;
|
|
44593
|
+
needs_initial_sync?: boolean;
|
|
44594
|
+
record_count?: number;
|
|
44595
|
+
updated_at?: string;
|
|
44596
|
+
};
|
|
44597
|
+
Update: {
|
|
44598
|
+
account_key?: string;
|
|
44599
|
+
created_at?: string;
|
|
44600
|
+
cursor_timestamp?: number;
|
|
44601
|
+
division_code?: number | null;
|
|
44602
|
+
domain?: string;
|
|
44603
|
+
duration_ms?: number | null;
|
|
44604
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44605
|
+
initial_sync_done?: boolean;
|
|
44606
|
+
last_error?: string | null;
|
|
44607
|
+
last_run_at?: string | null;
|
|
44608
|
+
last_success_at?: string | null;
|
|
44609
|
+
locked_at?: string | null;
|
|
44610
|
+
needs_initial_sync?: boolean;
|
|
44611
|
+
record_count?: number;
|
|
44612
|
+
updated_at?: string;
|
|
44613
|
+
};
|
|
44614
|
+
Relationships: [];
|
|
44615
|
+
};
|
|
43107
44616
|
exact_bulk_operation_items: {
|
|
43108
44617
|
Row: {
|
|
43109
44618
|
attempts: number;
|
|
@@ -57496,6 +59005,21 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
57496
59005
|
Args: never;
|
|
57497
59006
|
Returns: string;
|
|
57498
59007
|
};
|
|
59008
|
+
exact_auth_consume_calls: {
|
|
59009
|
+
Args: {
|
|
59010
|
+
_account_key: string;
|
|
59011
|
+
_calls?: number;
|
|
59012
|
+
_day_limit?: number;
|
|
59013
|
+
_division_code: number;
|
|
59014
|
+
_environment: string;
|
|
59015
|
+
_minute_limit?: number;
|
|
59016
|
+
};
|
|
59017
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59018
|
+
};
|
|
59019
|
+
exact_auth_prune_sync_log: {
|
|
59020
|
+
Args: never;
|
|
59021
|
+
Returns: undefined;
|
|
59022
|
+
};
|
|
57499
59023
|
exact_decrypt: {
|
|
57500
59024
|
Args: {
|
|
57501
59025
|
cipher: string;
|
|
@@ -59464,15 +60988,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
59464
60988
|
};
|
|
59465
60989
|
Insert: {
|
|
59466
60990
|
account_email?: string | null;
|
|
59467
|
-
created_at
|
|
59468
|
-
/**
|
|
59469
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
59470
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
59471
|
-
*/
|
|
59472
|
-
? /**
|
|
59473
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
59474
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
59475
|
-
*/: string;
|
|
60991
|
+
created_at?: string;
|
|
59476
60992
|
id?: string;
|
|
59477
60993
|
last_error?: string | null;
|
|
59478
60994
|
last_synced_at?: string | null;
|
|
@@ -61259,6 +62775,39 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
61259
62775
|
referencedColumns: ["id"];
|
|
61260
62776
|
}];
|
|
61261
62777
|
};
|
|
62778
|
+
customer_notes: {
|
|
62779
|
+
Row: {
|
|
62780
|
+
created_at: string;
|
|
62781
|
+
customer_id: string | null;
|
|
62782
|
+
group_key: string | null;
|
|
62783
|
+
id: string;
|
|
62784
|
+
notes: string | null;
|
|
62785
|
+
updated_at: string;
|
|
62786
|
+
};
|
|
62787
|
+
Insert: {
|
|
62788
|
+
created_at?: string;
|
|
62789
|
+
customer_id?: string | null;
|
|
62790
|
+
group_key?: string | null;
|
|
62791
|
+
id?: string;
|
|
62792
|
+
notes?: string | null;
|
|
62793
|
+
updated_at?: string;
|
|
62794
|
+
};
|
|
62795
|
+
Update: {
|
|
62796
|
+
created_at?: string;
|
|
62797
|
+
customer_id?: string | null;
|
|
62798
|
+
group_key?: string | null;
|
|
62799
|
+
id?: string;
|
|
62800
|
+
notes?: string | null;
|
|
62801
|
+
updated_at?: string;
|
|
62802
|
+
};
|
|
62803
|
+
Relationships: [{
|
|
62804
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
62805
|
+
columns: ["customer_id"];
|
|
62806
|
+
isOneToOne: true;
|
|
62807
|
+
referencedRelation: "customers";
|
|
62808
|
+
referencedColumns: ["id"];
|
|
62809
|
+
}];
|
|
62810
|
+
};
|
|
61262
62811
|
customer_price_group_members: {
|
|
61263
62812
|
Row: {
|
|
61264
62813
|
created_at: string;
|
|
@@ -62903,6 +64452,474 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
62903
64452
|
referencedColumns: ["id"];
|
|
62904
64453
|
}];
|
|
62905
64454
|
};
|
|
64455
|
+
exact_auth_call_budget: {
|
|
64456
|
+
Row: {
|
|
64457
|
+
account_key: string;
|
|
64458
|
+
day_count: number;
|
|
64459
|
+
day_date: string;
|
|
64460
|
+
division_code: number;
|
|
64461
|
+
environment: string;
|
|
64462
|
+
minute_count: number;
|
|
64463
|
+
minute_window: string;
|
|
64464
|
+
updated_at: string;
|
|
64465
|
+
};
|
|
64466
|
+
Insert: {
|
|
64467
|
+
account_key?: string;
|
|
64468
|
+
day_count?: number;
|
|
64469
|
+
day_date?: string;
|
|
64470
|
+
division_code?: number;
|
|
64471
|
+
environment: string;
|
|
64472
|
+
minute_count?: number;
|
|
64473
|
+
minute_window?: string;
|
|
64474
|
+
updated_at?: string;
|
|
64475
|
+
};
|
|
64476
|
+
Update: {
|
|
64477
|
+
account_key?: string;
|
|
64478
|
+
day_count?: number;
|
|
64479
|
+
day_date?: string;
|
|
64480
|
+
division_code?: number;
|
|
64481
|
+
environment?: string;
|
|
64482
|
+
minute_count?: number;
|
|
64483
|
+
minute_window?: string;
|
|
64484
|
+
updated_at?: string;
|
|
64485
|
+
};
|
|
64486
|
+
Relationships: [];
|
|
64487
|
+
};
|
|
64488
|
+
exact_auth_customers: {
|
|
64489
|
+
Row: {
|
|
64490
|
+
account_key: string;
|
|
64491
|
+
address_line1: string | null;
|
|
64492
|
+
chamber_of_commerce: string | null;
|
|
64493
|
+
city: string | null;
|
|
64494
|
+
code: string | null;
|
|
64495
|
+
country: string | null;
|
|
64496
|
+
created_at: string;
|
|
64497
|
+
currency: string | null;
|
|
64498
|
+
division_code: number | null;
|
|
64499
|
+
email: string | null;
|
|
64500
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64501
|
+
exact_id: string;
|
|
64502
|
+
exact_modified: string | null;
|
|
64503
|
+
exact_timestamp: number | null;
|
|
64504
|
+
id: string;
|
|
64505
|
+
is_active: boolean;
|
|
64506
|
+
name: string | null;
|
|
64507
|
+
phone: string | null;
|
|
64508
|
+
postcode: string | null;
|
|
64509
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64510
|
+
status: string | null;
|
|
64511
|
+
updated_at: string;
|
|
64512
|
+
vat_number: string | null;
|
|
64513
|
+
website: string | null;
|
|
64514
|
+
};
|
|
64515
|
+
Insert: {
|
|
64516
|
+
account_key?: string;
|
|
64517
|
+
address_line1?: string | null;
|
|
64518
|
+
chamber_of_commerce?: string | null;
|
|
64519
|
+
city?: string | null;
|
|
64520
|
+
code?: string | null;
|
|
64521
|
+
country?: string | null;
|
|
64522
|
+
created_at?: string;
|
|
64523
|
+
currency?: string | null;
|
|
64524
|
+
division_code?: number | null;
|
|
64525
|
+
email?: string | null;
|
|
64526
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64527
|
+
exact_id: string;
|
|
64528
|
+
exact_modified?: string | null;
|
|
64529
|
+
exact_timestamp?: number | null;
|
|
64530
|
+
id?: string;
|
|
64531
|
+
is_active?: boolean;
|
|
64532
|
+
name?: string | null;
|
|
64533
|
+
phone?: string | null;
|
|
64534
|
+
postcode?: string | null;
|
|
64535
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64536
|
+
status?: string | null;
|
|
64537
|
+
updated_at?: string;
|
|
64538
|
+
vat_number?: string | null;
|
|
64539
|
+
website?: string | null;
|
|
64540
|
+
};
|
|
64541
|
+
Update: {
|
|
64542
|
+
account_key?: string;
|
|
64543
|
+
address_line1?: string | null;
|
|
64544
|
+
chamber_of_commerce?: string | null;
|
|
64545
|
+
city?: string | null;
|
|
64546
|
+
code?: string | null;
|
|
64547
|
+
country?: string | null;
|
|
64548
|
+
created_at?: string;
|
|
64549
|
+
currency?: string | null;
|
|
64550
|
+
division_code?: number | null;
|
|
64551
|
+
email?: string | null;
|
|
64552
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64553
|
+
exact_id?: string;
|
|
64554
|
+
exact_modified?: string | null;
|
|
64555
|
+
exact_timestamp?: number | null;
|
|
64556
|
+
id?: string;
|
|
64557
|
+
is_active?: boolean;
|
|
64558
|
+
name?: string | null;
|
|
64559
|
+
phone?: string | null;
|
|
64560
|
+
postcode?: string | null;
|
|
64561
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64562
|
+
status?: string | null;
|
|
64563
|
+
updated_at?: string;
|
|
64564
|
+
vat_number?: string | null;
|
|
64565
|
+
website?: string | null;
|
|
64566
|
+
};
|
|
64567
|
+
Relationships: [];
|
|
64568
|
+
};
|
|
64569
|
+
exact_auth_divisions: {
|
|
64570
|
+
Row: {
|
|
64571
|
+
account_key: string;
|
|
64572
|
+
company_name: string | null;
|
|
64573
|
+
created_at: string;
|
|
64574
|
+
division_code: number | null;
|
|
64575
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64576
|
+
id: string;
|
|
64577
|
+
last_synced_at: string | null;
|
|
64578
|
+
updated_at: string;
|
|
64579
|
+
};
|
|
64580
|
+
Insert: {
|
|
64581
|
+
account_key?: string;
|
|
64582
|
+
company_name?: string | null;
|
|
64583
|
+
created_at?: string;
|
|
64584
|
+
division_code?: number | null;
|
|
64585
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64586
|
+
id?: string;
|
|
64587
|
+
last_synced_at?: string | null;
|
|
64588
|
+
updated_at?: string;
|
|
64589
|
+
};
|
|
64590
|
+
Update: {
|
|
64591
|
+
account_key?: string;
|
|
64592
|
+
company_name?: string | null;
|
|
64593
|
+
created_at?: string;
|
|
64594
|
+
division_code?: number | null;
|
|
64595
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64596
|
+
id?: string;
|
|
64597
|
+
last_synced_at?: string | null;
|
|
64598
|
+
updated_at?: string;
|
|
64599
|
+
};
|
|
64600
|
+
Relationships: [];
|
|
64601
|
+
};
|
|
64602
|
+
exact_auth_invoice_lines: {
|
|
64603
|
+
Row: {
|
|
64604
|
+
account_key: string;
|
|
64605
|
+
amount_excl: number | null;
|
|
64606
|
+
created_at: string;
|
|
64607
|
+
description: string | null;
|
|
64608
|
+
discount: number | null;
|
|
64609
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64610
|
+
exact_id: string;
|
|
64611
|
+
exact_timestamp: number | null;
|
|
64612
|
+
id: string;
|
|
64613
|
+
invoice_exact_id: string;
|
|
64614
|
+
item_code: string | null;
|
|
64615
|
+
item_exact_id: string | null;
|
|
64616
|
+
line_number: number | null;
|
|
64617
|
+
quantity: number | null;
|
|
64618
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64619
|
+
unit_price: number | null;
|
|
64620
|
+
updated_at: string;
|
|
64621
|
+
vat_amount: number | null;
|
|
64622
|
+
vat_code: string | null;
|
|
64623
|
+
};
|
|
64624
|
+
Insert: {
|
|
64625
|
+
account_key?: string;
|
|
64626
|
+
amount_excl?: number | null;
|
|
64627
|
+
created_at?: string;
|
|
64628
|
+
description?: string | null;
|
|
64629
|
+
discount?: number | null;
|
|
64630
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64631
|
+
exact_id: string;
|
|
64632
|
+
exact_timestamp?: number | null;
|
|
64633
|
+
id?: string;
|
|
64634
|
+
invoice_exact_id: string;
|
|
64635
|
+
item_code?: string | null;
|
|
64636
|
+
item_exact_id?: string | null;
|
|
64637
|
+
line_number?: number | null;
|
|
64638
|
+
quantity?: number | null;
|
|
64639
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64640
|
+
unit_price?: number | null;
|
|
64641
|
+
updated_at?: string;
|
|
64642
|
+
vat_amount?: number | null;
|
|
64643
|
+
vat_code?: string | null;
|
|
64644
|
+
};
|
|
64645
|
+
Update: {
|
|
64646
|
+
account_key?: string;
|
|
64647
|
+
amount_excl?: number | null;
|
|
64648
|
+
created_at?: string;
|
|
64649
|
+
description?: string | null;
|
|
64650
|
+
discount?: number | null;
|
|
64651
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64652
|
+
exact_id?: string;
|
|
64653
|
+
exact_timestamp?: number | null;
|
|
64654
|
+
id?: string;
|
|
64655
|
+
invoice_exact_id?: string;
|
|
64656
|
+
item_code?: string | null;
|
|
64657
|
+
item_exact_id?: string | null;
|
|
64658
|
+
line_number?: number | null;
|
|
64659
|
+
quantity?: number | null;
|
|
64660
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64661
|
+
unit_price?: number | null;
|
|
64662
|
+
updated_at?: string;
|
|
64663
|
+
vat_amount?: number | null;
|
|
64664
|
+
vat_code?: string | null;
|
|
64665
|
+
};
|
|
64666
|
+
Relationships: [];
|
|
64667
|
+
};
|
|
64668
|
+
exact_auth_invoices: {
|
|
64669
|
+
Row: {
|
|
64670
|
+
account_key: string;
|
|
64671
|
+
amount_excl: number | null;
|
|
64672
|
+
amount_incl: number | null;
|
|
64673
|
+
amount_open: number | null;
|
|
64674
|
+
created_at: string;
|
|
64675
|
+
currency: string | null;
|
|
64676
|
+
customer_code: string | null;
|
|
64677
|
+
customer_exact_id: string | null;
|
|
64678
|
+
customer_name: string | null;
|
|
64679
|
+
description: string | null;
|
|
64680
|
+
division_code: number | null;
|
|
64681
|
+
due_date: string | null;
|
|
64682
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64683
|
+
exact_id: string;
|
|
64684
|
+
exact_modified: string | null;
|
|
64685
|
+
exact_timestamp: number | null;
|
|
64686
|
+
id: string;
|
|
64687
|
+
invoice_date: string | null;
|
|
64688
|
+
invoice_number: string | null;
|
|
64689
|
+
order_number: string | null;
|
|
64690
|
+
paid_at: string | null;
|
|
64691
|
+
payment_status: string;
|
|
64692
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64693
|
+
receivable_synced_at: string | null;
|
|
64694
|
+
status_code: number | null;
|
|
64695
|
+
updated_at: string;
|
|
64696
|
+
};
|
|
64697
|
+
Insert: {
|
|
64698
|
+
account_key?: string;
|
|
64699
|
+
amount_excl?: number | null;
|
|
64700
|
+
amount_incl?: number | null;
|
|
64701
|
+
amount_open?: number | null;
|
|
64702
|
+
created_at?: string;
|
|
64703
|
+
currency?: string | null;
|
|
64704
|
+
customer_code?: string | null;
|
|
64705
|
+
customer_exact_id?: string | null;
|
|
64706
|
+
customer_name?: string | null;
|
|
64707
|
+
description?: string | null;
|
|
64708
|
+
division_code?: number | null;
|
|
64709
|
+
due_date?: string | null;
|
|
64710
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64711
|
+
exact_id: string;
|
|
64712
|
+
exact_modified?: string | null;
|
|
64713
|
+
exact_timestamp?: number | null;
|
|
64714
|
+
id?: string;
|
|
64715
|
+
invoice_date?: string | null;
|
|
64716
|
+
invoice_number?: string | null;
|
|
64717
|
+
order_number?: string | null;
|
|
64718
|
+
paid_at?: string | null;
|
|
64719
|
+
payment_status?: string;
|
|
64720
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64721
|
+
receivable_synced_at?: string | null;
|
|
64722
|
+
status_code?: number | null;
|
|
64723
|
+
updated_at?: string;
|
|
64724
|
+
};
|
|
64725
|
+
Update: {
|
|
64726
|
+
account_key?: string;
|
|
64727
|
+
amount_excl?: number | null;
|
|
64728
|
+
amount_incl?: number | null;
|
|
64729
|
+
amount_open?: number | null;
|
|
64730
|
+
created_at?: string;
|
|
64731
|
+
currency?: string | null;
|
|
64732
|
+
customer_code?: string | null;
|
|
64733
|
+
customer_exact_id?: string | null;
|
|
64734
|
+
customer_name?: string | null;
|
|
64735
|
+
description?: string | null;
|
|
64736
|
+
division_code?: number | null;
|
|
64737
|
+
due_date?: string | null;
|
|
64738
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64739
|
+
exact_id?: string;
|
|
64740
|
+
exact_modified?: string | null;
|
|
64741
|
+
exact_timestamp?: number | null;
|
|
64742
|
+
id?: string;
|
|
64743
|
+
invoice_date?: string | null;
|
|
64744
|
+
invoice_number?: string | null;
|
|
64745
|
+
order_number?: string | null;
|
|
64746
|
+
paid_at?: string | null;
|
|
64747
|
+
payment_status?: string;
|
|
64748
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64749
|
+
receivable_synced_at?: string | null;
|
|
64750
|
+
status_code?: number | null;
|
|
64751
|
+
updated_at?: string;
|
|
64752
|
+
};
|
|
64753
|
+
Relationships: [];
|
|
64754
|
+
};
|
|
64755
|
+
exact_auth_items: {
|
|
64756
|
+
Row: {
|
|
64757
|
+
account_key: string;
|
|
64758
|
+
barcode: string | null;
|
|
64759
|
+
code: string | null;
|
|
64760
|
+
cost_price: number | null;
|
|
64761
|
+
created_at: string;
|
|
64762
|
+
description: string | null;
|
|
64763
|
+
division_code: number | null;
|
|
64764
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64765
|
+
exact_id: string;
|
|
64766
|
+
exact_modified: string | null;
|
|
64767
|
+
exact_timestamp: number | null;
|
|
64768
|
+
gl_account_code: string | null;
|
|
64769
|
+
id: string;
|
|
64770
|
+
is_active: boolean;
|
|
64771
|
+
is_sales_item: boolean | null;
|
|
64772
|
+
item_type: string | null;
|
|
64773
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
64774
|
+
sales_price: number | null;
|
|
64775
|
+
unit: string | null;
|
|
64776
|
+
updated_at: string;
|
|
64777
|
+
vat_code: string | null;
|
|
64778
|
+
};
|
|
64779
|
+
Insert: {
|
|
64780
|
+
account_key?: string;
|
|
64781
|
+
barcode?: string | null;
|
|
64782
|
+
code?: string | null;
|
|
64783
|
+
cost_price?: number | null;
|
|
64784
|
+
created_at?: string;
|
|
64785
|
+
description?: string | null;
|
|
64786
|
+
division_code?: number | null;
|
|
64787
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64788
|
+
exact_id: string;
|
|
64789
|
+
exact_modified?: string | null;
|
|
64790
|
+
exact_timestamp?: number | null;
|
|
64791
|
+
gl_account_code?: string | null;
|
|
64792
|
+
id?: string;
|
|
64793
|
+
is_active?: boolean;
|
|
64794
|
+
is_sales_item?: boolean | null;
|
|
64795
|
+
item_type?: string | null;
|
|
64796
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64797
|
+
sales_price?: number | null;
|
|
64798
|
+
unit?: string | null;
|
|
64799
|
+
updated_at?: string;
|
|
64800
|
+
vat_code?: string | null;
|
|
64801
|
+
};
|
|
64802
|
+
Update: {
|
|
64803
|
+
account_key?: string;
|
|
64804
|
+
barcode?: string | null;
|
|
64805
|
+
code?: string | null;
|
|
64806
|
+
cost_price?: number | null;
|
|
64807
|
+
created_at?: string;
|
|
64808
|
+
description?: string | null;
|
|
64809
|
+
division_code?: number | null;
|
|
64810
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64811
|
+
exact_id?: string;
|
|
64812
|
+
exact_modified?: string | null;
|
|
64813
|
+
exact_timestamp?: number | null;
|
|
64814
|
+
gl_account_code?: string | null;
|
|
64815
|
+
id?: string;
|
|
64816
|
+
is_active?: boolean;
|
|
64817
|
+
is_sales_item?: boolean | null;
|
|
64818
|
+
item_type?: string | null;
|
|
64819
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
64820
|
+
sales_price?: number | null;
|
|
64821
|
+
unit?: string | null;
|
|
64822
|
+
updated_at?: string;
|
|
64823
|
+
vat_code?: string | null;
|
|
64824
|
+
};
|
|
64825
|
+
Relationships: [];
|
|
64826
|
+
};
|
|
64827
|
+
exact_auth_sync_log: {
|
|
64828
|
+
Row: {
|
|
64829
|
+
account_key: string;
|
|
64830
|
+
calls_used: number;
|
|
64831
|
+
created_at: string;
|
|
64832
|
+
domain: string;
|
|
64833
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64834
|
+
error: string | null;
|
|
64835
|
+
finished_at: string | null;
|
|
64836
|
+
id: string;
|
|
64837
|
+
ok: boolean;
|
|
64838
|
+
records: number;
|
|
64839
|
+
started_at: string;
|
|
64840
|
+
};
|
|
64841
|
+
Insert: {
|
|
64842
|
+
account_key?: string;
|
|
64843
|
+
calls_used?: number;
|
|
64844
|
+
created_at?: string;
|
|
64845
|
+
domain: string;
|
|
64846
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64847
|
+
error?: string | null;
|
|
64848
|
+
finished_at?: string | null;
|
|
64849
|
+
id?: string;
|
|
64850
|
+
ok?: boolean;
|
|
64851
|
+
records?: number;
|
|
64852
|
+
started_at?: string;
|
|
64853
|
+
};
|
|
64854
|
+
Update: {
|
|
64855
|
+
account_key?: string;
|
|
64856
|
+
calls_used?: number;
|
|
64857
|
+
created_at?: string;
|
|
64858
|
+
domain?: string;
|
|
64859
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64860
|
+
error?: string | null;
|
|
64861
|
+
finished_at?: string | null;
|
|
64862
|
+
id?: string;
|
|
64863
|
+
ok?: boolean;
|
|
64864
|
+
records?: number;
|
|
64865
|
+
started_at?: string;
|
|
64866
|
+
};
|
|
64867
|
+
Relationships: [];
|
|
64868
|
+
};
|
|
64869
|
+
exact_auth_sync_state: {
|
|
64870
|
+
Row: {
|
|
64871
|
+
account_key: string;
|
|
64872
|
+
created_at: string;
|
|
64873
|
+
cursor_timestamp: number;
|
|
64874
|
+
division_code: number | null;
|
|
64875
|
+
domain: string;
|
|
64876
|
+
duration_ms: number | null;
|
|
64877
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64878
|
+
initial_sync_done: boolean;
|
|
64879
|
+
last_error: string | null;
|
|
64880
|
+
last_run_at: string | null;
|
|
64881
|
+
last_success_at: string | null;
|
|
64882
|
+
locked_at: string | null;
|
|
64883
|
+
needs_initial_sync: boolean;
|
|
64884
|
+
record_count: number;
|
|
64885
|
+
updated_at: string;
|
|
64886
|
+
};
|
|
64887
|
+
Insert: {
|
|
64888
|
+
account_key?: string;
|
|
64889
|
+
created_at?: string;
|
|
64890
|
+
cursor_timestamp?: number;
|
|
64891
|
+
division_code?: number | null;
|
|
64892
|
+
domain: string;
|
|
64893
|
+
duration_ms?: number | null;
|
|
64894
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64895
|
+
initial_sync_done?: boolean;
|
|
64896
|
+
last_error?: string | null;
|
|
64897
|
+
last_run_at?: string | null;
|
|
64898
|
+
last_success_at?: string | null;
|
|
64899
|
+
locked_at?: string | null;
|
|
64900
|
+
needs_initial_sync?: boolean;
|
|
64901
|
+
record_count?: number;
|
|
64902
|
+
updated_at?: string;
|
|
64903
|
+
};
|
|
64904
|
+
Update: {
|
|
64905
|
+
account_key?: string;
|
|
64906
|
+
created_at?: string;
|
|
64907
|
+
cursor_timestamp?: number;
|
|
64908
|
+
division_code?: number | null;
|
|
64909
|
+
domain?: string;
|
|
64910
|
+
duration_ms?: number | null;
|
|
64911
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
64912
|
+
initial_sync_done?: boolean;
|
|
64913
|
+
last_error?: string | null;
|
|
64914
|
+
last_run_at?: string | null;
|
|
64915
|
+
last_success_at?: string | null;
|
|
64916
|
+
locked_at?: string | null;
|
|
64917
|
+
needs_initial_sync?: boolean;
|
|
64918
|
+
record_count?: number;
|
|
64919
|
+
updated_at?: string;
|
|
64920
|
+
};
|
|
64921
|
+
Relationships: [];
|
|
64922
|
+
};
|
|
62906
64923
|
exact_bulk_operation_items: {
|
|
62907
64924
|
Row: {
|
|
62908
64925
|
attempts: number;
|
|
@@ -77295,6 +79312,21 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
77295
79312
|
Args: never;
|
|
77296
79313
|
Returns: string;
|
|
77297
79314
|
};
|
|
79315
|
+
exact_auth_consume_calls: {
|
|
79316
|
+
Args: {
|
|
79317
|
+
_account_key: string;
|
|
79318
|
+
_calls?: number;
|
|
79319
|
+
_day_limit?: number;
|
|
79320
|
+
_division_code: number;
|
|
79321
|
+
_environment: string;
|
|
79322
|
+
_minute_limit?: number;
|
|
79323
|
+
};
|
|
79324
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79325
|
+
};
|
|
79326
|
+
exact_auth_prune_sync_log: {
|
|
79327
|
+
Args: never;
|
|
79328
|
+
Returns: undefined;
|
|
79329
|
+
};
|
|
77298
79330
|
exact_decrypt: {
|
|
77299
79331
|
Args: {
|
|
77300
79332
|
cipher: string;
|
|
@@ -79261,15 +81293,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
79261
81293
|
};
|
|
79262
81294
|
Insert: {
|
|
79263
81295
|
account_email?: string | null;
|
|
79264
|
-
created_at
|
|
79265
|
-
/**
|
|
79266
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
79267
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
79268
|
-
*/
|
|
79269
|
-
? /**
|
|
79270
|
-
* Zet voor orders zonder takenketen alsnog een melding klaar, zodat de Engine
|
|
79271
|
-
* de volledige keten (inclusief load.compose) aanmaakt.
|
|
79272
|
-
*/: string;
|
|
81296
|
+
created_at?: string;
|
|
79273
81297
|
id?: string;
|
|
79274
81298
|
last_error?: string | null;
|
|
79275
81299
|
last_synced_at?: string | null;
|
|
@@ -81056,6 +83080,39 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
81056
83080
|
referencedColumns: ["id"];
|
|
81057
83081
|
}];
|
|
81058
83082
|
};
|
|
83083
|
+
customer_notes: {
|
|
83084
|
+
Row: {
|
|
83085
|
+
created_at: string;
|
|
83086
|
+
customer_id: string | null;
|
|
83087
|
+
group_key: string | null;
|
|
83088
|
+
id: string;
|
|
83089
|
+
notes: string | null;
|
|
83090
|
+
updated_at: string;
|
|
83091
|
+
};
|
|
83092
|
+
Insert: {
|
|
83093
|
+
created_at?: string;
|
|
83094
|
+
customer_id?: string | null;
|
|
83095
|
+
group_key?: string | null;
|
|
83096
|
+
id?: string;
|
|
83097
|
+
notes?: string | null;
|
|
83098
|
+
updated_at?: string;
|
|
83099
|
+
};
|
|
83100
|
+
Update: {
|
|
83101
|
+
created_at?: string;
|
|
83102
|
+
customer_id?: string | null;
|
|
83103
|
+
group_key?: string | null;
|
|
83104
|
+
id?: string;
|
|
83105
|
+
notes?: string | null;
|
|
83106
|
+
updated_at?: string;
|
|
83107
|
+
};
|
|
83108
|
+
Relationships: [{
|
|
83109
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
83110
|
+
columns: ["customer_id"];
|
|
83111
|
+
isOneToOne: true;
|
|
83112
|
+
referencedRelation: "customers";
|
|
83113
|
+
referencedColumns: ["id"];
|
|
83114
|
+
}];
|
|
83115
|
+
};
|
|
81059
83116
|
customer_price_group_members: {
|
|
81060
83117
|
Row: {
|
|
81061
83118
|
created_at: string;
|
|
@@ -82700,6 +84757,474 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
82700
84757
|
referencedColumns: ["id"];
|
|
82701
84758
|
}];
|
|
82702
84759
|
};
|
|
84760
|
+
exact_auth_call_budget: {
|
|
84761
|
+
Row: {
|
|
84762
|
+
account_key: string;
|
|
84763
|
+
day_count: number;
|
|
84764
|
+
day_date: string;
|
|
84765
|
+
division_code: number;
|
|
84766
|
+
environment: string;
|
|
84767
|
+
minute_count: number;
|
|
84768
|
+
minute_window: string;
|
|
84769
|
+
updated_at: string;
|
|
84770
|
+
};
|
|
84771
|
+
Insert: {
|
|
84772
|
+
account_key?: string;
|
|
84773
|
+
day_count?: number;
|
|
84774
|
+
day_date?: string;
|
|
84775
|
+
division_code?: number;
|
|
84776
|
+
environment: string;
|
|
84777
|
+
minute_count?: number;
|
|
84778
|
+
minute_window?: string;
|
|
84779
|
+
updated_at?: string;
|
|
84780
|
+
};
|
|
84781
|
+
Update: {
|
|
84782
|
+
account_key?: string;
|
|
84783
|
+
day_count?: number;
|
|
84784
|
+
day_date?: string;
|
|
84785
|
+
division_code?: number;
|
|
84786
|
+
environment?: string;
|
|
84787
|
+
minute_count?: number;
|
|
84788
|
+
minute_window?: string;
|
|
84789
|
+
updated_at?: string;
|
|
84790
|
+
};
|
|
84791
|
+
Relationships: [];
|
|
84792
|
+
};
|
|
84793
|
+
exact_auth_customers: {
|
|
84794
|
+
Row: {
|
|
84795
|
+
account_key: string;
|
|
84796
|
+
address_line1: string | null;
|
|
84797
|
+
chamber_of_commerce: string | null;
|
|
84798
|
+
city: string | null;
|
|
84799
|
+
code: string | null;
|
|
84800
|
+
country: string | null;
|
|
84801
|
+
created_at: string;
|
|
84802
|
+
currency: string | null;
|
|
84803
|
+
division_code: number | null;
|
|
84804
|
+
email: string | null;
|
|
84805
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84806
|
+
exact_id: string;
|
|
84807
|
+
exact_modified: string | null;
|
|
84808
|
+
exact_timestamp: number | null;
|
|
84809
|
+
id: string;
|
|
84810
|
+
is_active: boolean;
|
|
84811
|
+
name: string | null;
|
|
84812
|
+
phone: string | null;
|
|
84813
|
+
postcode: string | null;
|
|
84814
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
84815
|
+
status: string | null;
|
|
84816
|
+
updated_at: string;
|
|
84817
|
+
vat_number: string | null;
|
|
84818
|
+
website: string | null;
|
|
84819
|
+
};
|
|
84820
|
+
Insert: {
|
|
84821
|
+
account_key?: string;
|
|
84822
|
+
address_line1?: string | null;
|
|
84823
|
+
chamber_of_commerce?: string | null;
|
|
84824
|
+
city?: string | null;
|
|
84825
|
+
code?: string | null;
|
|
84826
|
+
country?: string | null;
|
|
84827
|
+
created_at?: string;
|
|
84828
|
+
currency?: string | null;
|
|
84829
|
+
division_code?: number | null;
|
|
84830
|
+
email?: string | null;
|
|
84831
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84832
|
+
exact_id: string;
|
|
84833
|
+
exact_modified?: string | null;
|
|
84834
|
+
exact_timestamp?: number | null;
|
|
84835
|
+
id?: string;
|
|
84836
|
+
is_active?: boolean;
|
|
84837
|
+
name?: string | null;
|
|
84838
|
+
phone?: string | null;
|
|
84839
|
+
postcode?: string | null;
|
|
84840
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
84841
|
+
status?: string | null;
|
|
84842
|
+
updated_at?: string;
|
|
84843
|
+
vat_number?: string | null;
|
|
84844
|
+
website?: string | null;
|
|
84845
|
+
};
|
|
84846
|
+
Update: {
|
|
84847
|
+
account_key?: string;
|
|
84848
|
+
address_line1?: string | null;
|
|
84849
|
+
chamber_of_commerce?: string | null;
|
|
84850
|
+
city?: string | null;
|
|
84851
|
+
code?: string | null;
|
|
84852
|
+
country?: string | null;
|
|
84853
|
+
created_at?: string;
|
|
84854
|
+
currency?: string | null;
|
|
84855
|
+
division_code?: number | null;
|
|
84856
|
+
email?: string | null;
|
|
84857
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84858
|
+
exact_id?: string;
|
|
84859
|
+
exact_modified?: string | null;
|
|
84860
|
+
exact_timestamp?: number | null;
|
|
84861
|
+
id?: string;
|
|
84862
|
+
is_active?: boolean;
|
|
84863
|
+
name?: string | null;
|
|
84864
|
+
phone?: string | null;
|
|
84865
|
+
postcode?: string | null;
|
|
84866
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
84867
|
+
status?: string | null;
|
|
84868
|
+
updated_at?: string;
|
|
84869
|
+
vat_number?: string | null;
|
|
84870
|
+
website?: string | null;
|
|
84871
|
+
};
|
|
84872
|
+
Relationships: [];
|
|
84873
|
+
};
|
|
84874
|
+
exact_auth_divisions: {
|
|
84875
|
+
Row: {
|
|
84876
|
+
account_key: string;
|
|
84877
|
+
company_name: string | null;
|
|
84878
|
+
created_at: string;
|
|
84879
|
+
division_code: number | null;
|
|
84880
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84881
|
+
id: string;
|
|
84882
|
+
last_synced_at: string | null;
|
|
84883
|
+
updated_at: string;
|
|
84884
|
+
};
|
|
84885
|
+
Insert: {
|
|
84886
|
+
account_key?: string;
|
|
84887
|
+
company_name?: string | null;
|
|
84888
|
+
created_at?: string;
|
|
84889
|
+
division_code?: number | null;
|
|
84890
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84891
|
+
id?: string;
|
|
84892
|
+
last_synced_at?: string | null;
|
|
84893
|
+
updated_at?: string;
|
|
84894
|
+
};
|
|
84895
|
+
Update: {
|
|
84896
|
+
account_key?: string;
|
|
84897
|
+
company_name?: string | null;
|
|
84898
|
+
created_at?: string;
|
|
84899
|
+
division_code?: number | null;
|
|
84900
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84901
|
+
id?: string;
|
|
84902
|
+
last_synced_at?: string | null;
|
|
84903
|
+
updated_at?: string;
|
|
84904
|
+
};
|
|
84905
|
+
Relationships: [];
|
|
84906
|
+
};
|
|
84907
|
+
exact_auth_invoice_lines: {
|
|
84908
|
+
Row: {
|
|
84909
|
+
account_key: string;
|
|
84910
|
+
amount_excl: number | null;
|
|
84911
|
+
created_at: string;
|
|
84912
|
+
description: string | null;
|
|
84913
|
+
discount: number | null;
|
|
84914
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84915
|
+
exact_id: string;
|
|
84916
|
+
exact_timestamp: number | null;
|
|
84917
|
+
id: string;
|
|
84918
|
+
invoice_exact_id: string;
|
|
84919
|
+
item_code: string | null;
|
|
84920
|
+
item_exact_id: string | null;
|
|
84921
|
+
line_number: number | null;
|
|
84922
|
+
quantity: number | null;
|
|
84923
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
84924
|
+
unit_price: number | null;
|
|
84925
|
+
updated_at: string;
|
|
84926
|
+
vat_amount: number | null;
|
|
84927
|
+
vat_code: string | null;
|
|
84928
|
+
};
|
|
84929
|
+
Insert: {
|
|
84930
|
+
account_key?: string;
|
|
84931
|
+
amount_excl?: number | null;
|
|
84932
|
+
created_at?: string;
|
|
84933
|
+
description?: string | null;
|
|
84934
|
+
discount?: number | null;
|
|
84935
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84936
|
+
exact_id: string;
|
|
84937
|
+
exact_timestamp?: number | null;
|
|
84938
|
+
id?: string;
|
|
84939
|
+
invoice_exact_id: string;
|
|
84940
|
+
item_code?: string | null;
|
|
84941
|
+
item_exact_id?: string | null;
|
|
84942
|
+
line_number?: number | null;
|
|
84943
|
+
quantity?: number | null;
|
|
84944
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
84945
|
+
unit_price?: number | null;
|
|
84946
|
+
updated_at?: string;
|
|
84947
|
+
vat_amount?: number | null;
|
|
84948
|
+
vat_code?: string | null;
|
|
84949
|
+
};
|
|
84950
|
+
Update: {
|
|
84951
|
+
account_key?: string;
|
|
84952
|
+
amount_excl?: number | null;
|
|
84953
|
+
created_at?: string;
|
|
84954
|
+
description?: string | null;
|
|
84955
|
+
discount?: number | null;
|
|
84956
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84957
|
+
exact_id?: string;
|
|
84958
|
+
exact_timestamp?: number | null;
|
|
84959
|
+
id?: string;
|
|
84960
|
+
invoice_exact_id?: string;
|
|
84961
|
+
item_code?: string | null;
|
|
84962
|
+
item_exact_id?: string | null;
|
|
84963
|
+
line_number?: number | null;
|
|
84964
|
+
quantity?: number | null;
|
|
84965
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
84966
|
+
unit_price?: number | null;
|
|
84967
|
+
updated_at?: string;
|
|
84968
|
+
vat_amount?: number | null;
|
|
84969
|
+
vat_code?: string | null;
|
|
84970
|
+
};
|
|
84971
|
+
Relationships: [];
|
|
84972
|
+
};
|
|
84973
|
+
exact_auth_invoices: {
|
|
84974
|
+
Row: {
|
|
84975
|
+
account_key: string;
|
|
84976
|
+
amount_excl: number | null;
|
|
84977
|
+
amount_incl: number | null;
|
|
84978
|
+
amount_open: number | null;
|
|
84979
|
+
created_at: string;
|
|
84980
|
+
currency: string | null;
|
|
84981
|
+
customer_code: string | null;
|
|
84982
|
+
customer_exact_id: string | null;
|
|
84983
|
+
customer_name: string | null;
|
|
84984
|
+
description: string | null;
|
|
84985
|
+
division_code: number | null;
|
|
84986
|
+
due_date: string | null;
|
|
84987
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
84988
|
+
exact_id: string;
|
|
84989
|
+
exact_modified: string | null;
|
|
84990
|
+
exact_timestamp: number | null;
|
|
84991
|
+
id: string;
|
|
84992
|
+
invoice_date: string | null;
|
|
84993
|
+
invoice_number: string | null;
|
|
84994
|
+
order_number: string | null;
|
|
84995
|
+
paid_at: string | null;
|
|
84996
|
+
payment_status: string;
|
|
84997
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
84998
|
+
receivable_synced_at: string | null;
|
|
84999
|
+
status_code: number | null;
|
|
85000
|
+
updated_at: string;
|
|
85001
|
+
};
|
|
85002
|
+
Insert: {
|
|
85003
|
+
account_key?: string;
|
|
85004
|
+
amount_excl?: number | null;
|
|
85005
|
+
amount_incl?: number | null;
|
|
85006
|
+
amount_open?: number | null;
|
|
85007
|
+
created_at?: string;
|
|
85008
|
+
currency?: string | null;
|
|
85009
|
+
customer_code?: string | null;
|
|
85010
|
+
customer_exact_id?: string | null;
|
|
85011
|
+
customer_name?: string | null;
|
|
85012
|
+
description?: string | null;
|
|
85013
|
+
division_code?: number | null;
|
|
85014
|
+
due_date?: string | null;
|
|
85015
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85016
|
+
exact_id: string;
|
|
85017
|
+
exact_modified?: string | null;
|
|
85018
|
+
exact_timestamp?: number | null;
|
|
85019
|
+
id?: string;
|
|
85020
|
+
invoice_date?: string | null;
|
|
85021
|
+
invoice_number?: string | null;
|
|
85022
|
+
order_number?: string | null;
|
|
85023
|
+
paid_at?: string | null;
|
|
85024
|
+
payment_status?: string;
|
|
85025
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
85026
|
+
receivable_synced_at?: string | null;
|
|
85027
|
+
status_code?: number | null;
|
|
85028
|
+
updated_at?: string;
|
|
85029
|
+
};
|
|
85030
|
+
Update: {
|
|
85031
|
+
account_key?: string;
|
|
85032
|
+
amount_excl?: number | null;
|
|
85033
|
+
amount_incl?: number | null;
|
|
85034
|
+
amount_open?: number | null;
|
|
85035
|
+
created_at?: string;
|
|
85036
|
+
currency?: string | null;
|
|
85037
|
+
customer_code?: string | null;
|
|
85038
|
+
customer_exact_id?: string | null;
|
|
85039
|
+
customer_name?: string | null;
|
|
85040
|
+
description?: string | null;
|
|
85041
|
+
division_code?: number | null;
|
|
85042
|
+
due_date?: string | null;
|
|
85043
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85044
|
+
exact_id?: string;
|
|
85045
|
+
exact_modified?: string | null;
|
|
85046
|
+
exact_timestamp?: number | null;
|
|
85047
|
+
id?: string;
|
|
85048
|
+
invoice_date?: string | null;
|
|
85049
|
+
invoice_number?: string | null;
|
|
85050
|
+
order_number?: string | null;
|
|
85051
|
+
paid_at?: string | null;
|
|
85052
|
+
payment_status?: string;
|
|
85053
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
85054
|
+
receivable_synced_at?: string | null;
|
|
85055
|
+
status_code?: number | null;
|
|
85056
|
+
updated_at?: string;
|
|
85057
|
+
};
|
|
85058
|
+
Relationships: [];
|
|
85059
|
+
};
|
|
85060
|
+
exact_auth_items: {
|
|
85061
|
+
Row: {
|
|
85062
|
+
account_key: string;
|
|
85063
|
+
barcode: string | null;
|
|
85064
|
+
code: string | null;
|
|
85065
|
+
cost_price: number | null;
|
|
85066
|
+
created_at: string;
|
|
85067
|
+
description: string | null;
|
|
85068
|
+
division_code: number | null;
|
|
85069
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85070
|
+
exact_id: string;
|
|
85071
|
+
exact_modified: string | null;
|
|
85072
|
+
exact_timestamp: number | null;
|
|
85073
|
+
gl_account_code: string | null;
|
|
85074
|
+
id: string;
|
|
85075
|
+
is_active: boolean;
|
|
85076
|
+
is_sales_item: boolean | null;
|
|
85077
|
+
item_type: string | null;
|
|
85078
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
85079
|
+
sales_price: number | null;
|
|
85080
|
+
unit: string | null;
|
|
85081
|
+
updated_at: string;
|
|
85082
|
+
vat_code: string | null;
|
|
85083
|
+
};
|
|
85084
|
+
Insert: {
|
|
85085
|
+
account_key?: string;
|
|
85086
|
+
barcode?: string | null;
|
|
85087
|
+
code?: string | null;
|
|
85088
|
+
cost_price?: number | null;
|
|
85089
|
+
created_at?: string;
|
|
85090
|
+
description?: string | null;
|
|
85091
|
+
division_code?: number | null;
|
|
85092
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85093
|
+
exact_id: string;
|
|
85094
|
+
exact_modified?: string | null;
|
|
85095
|
+
exact_timestamp?: number | null;
|
|
85096
|
+
gl_account_code?: string | null;
|
|
85097
|
+
id?: string;
|
|
85098
|
+
is_active?: boolean;
|
|
85099
|
+
is_sales_item?: boolean | null;
|
|
85100
|
+
item_type?: string | null;
|
|
85101
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
85102
|
+
sales_price?: number | null;
|
|
85103
|
+
unit?: string | null;
|
|
85104
|
+
updated_at?: string;
|
|
85105
|
+
vat_code?: string | null;
|
|
85106
|
+
};
|
|
85107
|
+
Update: {
|
|
85108
|
+
account_key?: string;
|
|
85109
|
+
barcode?: string | null;
|
|
85110
|
+
code?: string | null;
|
|
85111
|
+
cost_price?: number | null;
|
|
85112
|
+
created_at?: string;
|
|
85113
|
+
description?: string | null;
|
|
85114
|
+
division_code?: number | null;
|
|
85115
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85116
|
+
exact_id?: string;
|
|
85117
|
+
exact_modified?: string | null;
|
|
85118
|
+
exact_timestamp?: number | null;
|
|
85119
|
+
gl_account_code?: string | null;
|
|
85120
|
+
id?: string;
|
|
85121
|
+
is_active?: boolean;
|
|
85122
|
+
is_sales_item?: boolean | null;
|
|
85123
|
+
item_type?: string | null;
|
|
85124
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
85125
|
+
sales_price?: number | null;
|
|
85126
|
+
unit?: string | null;
|
|
85127
|
+
updated_at?: string;
|
|
85128
|
+
vat_code?: string | null;
|
|
85129
|
+
};
|
|
85130
|
+
Relationships: [];
|
|
85131
|
+
};
|
|
85132
|
+
exact_auth_sync_log: {
|
|
85133
|
+
Row: {
|
|
85134
|
+
account_key: string;
|
|
85135
|
+
calls_used: number;
|
|
85136
|
+
created_at: string;
|
|
85137
|
+
domain: string;
|
|
85138
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85139
|
+
error: string | null;
|
|
85140
|
+
finished_at: string | null;
|
|
85141
|
+
id: string;
|
|
85142
|
+
ok: boolean;
|
|
85143
|
+
records: number;
|
|
85144
|
+
started_at: string;
|
|
85145
|
+
};
|
|
85146
|
+
Insert: {
|
|
85147
|
+
account_key?: string;
|
|
85148
|
+
calls_used?: number;
|
|
85149
|
+
created_at?: string;
|
|
85150
|
+
domain: string;
|
|
85151
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85152
|
+
error?: string | null;
|
|
85153
|
+
finished_at?: string | null;
|
|
85154
|
+
id?: string;
|
|
85155
|
+
ok?: boolean;
|
|
85156
|
+
records?: number;
|
|
85157
|
+
started_at?: string;
|
|
85158
|
+
};
|
|
85159
|
+
Update: {
|
|
85160
|
+
account_key?: string;
|
|
85161
|
+
calls_used?: number;
|
|
85162
|
+
created_at?: string;
|
|
85163
|
+
domain?: string;
|
|
85164
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85165
|
+
error?: string | null;
|
|
85166
|
+
finished_at?: string | null;
|
|
85167
|
+
id?: string;
|
|
85168
|
+
ok?: boolean;
|
|
85169
|
+
records?: number;
|
|
85170
|
+
started_at?: string;
|
|
85171
|
+
};
|
|
85172
|
+
Relationships: [];
|
|
85173
|
+
};
|
|
85174
|
+
exact_auth_sync_state: {
|
|
85175
|
+
Row: {
|
|
85176
|
+
account_key: string;
|
|
85177
|
+
created_at: string;
|
|
85178
|
+
cursor_timestamp: number;
|
|
85179
|
+
division_code: number | null;
|
|
85180
|
+
domain: string;
|
|
85181
|
+
duration_ms: number | null;
|
|
85182
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85183
|
+
initial_sync_done: boolean;
|
|
85184
|
+
last_error: string | null;
|
|
85185
|
+
last_run_at: string | null;
|
|
85186
|
+
last_success_at: string | null;
|
|
85187
|
+
locked_at: string | null;
|
|
85188
|
+
needs_initial_sync: boolean;
|
|
85189
|
+
record_count: number;
|
|
85190
|
+
updated_at: string;
|
|
85191
|
+
};
|
|
85192
|
+
Insert: {
|
|
85193
|
+
account_key?: string;
|
|
85194
|
+
created_at?: string;
|
|
85195
|
+
cursor_timestamp?: number;
|
|
85196
|
+
division_code?: number | null;
|
|
85197
|
+
domain: string;
|
|
85198
|
+
duration_ms?: number | null;
|
|
85199
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85200
|
+
initial_sync_done?: boolean;
|
|
85201
|
+
last_error?: string | null;
|
|
85202
|
+
last_run_at?: string | null;
|
|
85203
|
+
last_success_at?: string | null;
|
|
85204
|
+
locked_at?: string | null;
|
|
85205
|
+
needs_initial_sync?: boolean;
|
|
85206
|
+
record_count?: number;
|
|
85207
|
+
updated_at?: string;
|
|
85208
|
+
};
|
|
85209
|
+
Update: {
|
|
85210
|
+
account_key?: string;
|
|
85211
|
+
created_at?: string;
|
|
85212
|
+
cursor_timestamp?: number;
|
|
85213
|
+
division_code?: number | null;
|
|
85214
|
+
domain?: string;
|
|
85215
|
+
duration_ms?: number | null;
|
|
85216
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
85217
|
+
initial_sync_done?: boolean;
|
|
85218
|
+
last_error?: string | null;
|
|
85219
|
+
last_run_at?: string | null;
|
|
85220
|
+
last_success_at?: string | null;
|
|
85221
|
+
locked_at?: string | null;
|
|
85222
|
+
needs_initial_sync?: boolean;
|
|
85223
|
+
record_count?: number;
|
|
85224
|
+
updated_at?: string;
|
|
85225
|
+
};
|
|
85226
|
+
Relationships: [];
|
|
85227
|
+
};
|
|
82703
85228
|
exact_bulk_operation_items: {
|
|
82704
85229
|
Row: {
|
|
82705
85230
|
attempts: number;
|
|
@@ -97092,6 +99617,21 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
97092
99617
|
Args: never;
|
|
97093
99618
|
Returns: string;
|
|
97094
99619
|
};
|
|
99620
|
+
exact_auth_consume_calls: {
|
|
99621
|
+
Args: {
|
|
99622
|
+
_account_key: string;
|
|
99623
|
+
_calls?: number;
|
|
99624
|
+
_day_limit?: number;
|
|
99625
|
+
_division_code: number;
|
|
99626
|
+
_environment: string;
|
|
99627
|
+
_minute_limit?: number;
|
|
99628
|
+
};
|
|
99629
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
99630
|
+
};
|
|
99631
|
+
exact_auth_prune_sync_log: {
|
|
99632
|
+
Args: never;
|
|
99633
|
+
Returns: undefined;
|
|
99634
|
+
};
|
|
97095
99635
|
exact_decrypt: {
|
|
97096
99636
|
Args: {
|
|
97097
99637
|
cipher: string;
|