@flowselections/floriday-verkoop-module 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +50 -87
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +849 -60
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +849 -60
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +849 -60
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +830 -39
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +849 -60
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +8679 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +2565 -198
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +11835 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +2565 -198
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +849 -60
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +849 -60
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +5523 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +4505 -560
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +849 -60
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +4511 -562
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1578 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +849 -60
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +2565 -198
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1578 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1578 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +3535 -379
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +20393 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -0
- package/dist-lib/lib/salesorders-list.functions.js +21 -0
- package/dist-lib/lib/salesorders-list.server.d.ts +28 -0
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -0
- package/dist-lib/lib/salesorders-list.server.js +713 -0
- package/dist-lib/lib/salesorders.functions.d.ts +4505 -560
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +849 -60
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts +24 -3
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +49 -594
- package/package.json +2 -2
|
@@ -1873,6 +1873,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
1873
1873
|
referencedColumns: ["id"];
|
|
1874
1874
|
}];
|
|
1875
1875
|
};
|
|
1876
|
+
customer_notes: {
|
|
1877
|
+
Row: {
|
|
1878
|
+
created_at: string;
|
|
1879
|
+
customer_id: string | null;
|
|
1880
|
+
group_key: string | null;
|
|
1881
|
+
id: string;
|
|
1882
|
+
notes: string | null;
|
|
1883
|
+
updated_at: string;
|
|
1884
|
+
};
|
|
1885
|
+
Insert: {
|
|
1886
|
+
created_at?: string;
|
|
1887
|
+
customer_id?: string | null;
|
|
1888
|
+
group_key?: string | null;
|
|
1889
|
+
id?: string;
|
|
1890
|
+
notes?: string | null;
|
|
1891
|
+
updated_at?: string;
|
|
1892
|
+
};
|
|
1893
|
+
Update: {
|
|
1894
|
+
created_at?: string;
|
|
1895
|
+
customer_id?: string | null;
|
|
1896
|
+
group_key?: string | null;
|
|
1897
|
+
id?: string;
|
|
1898
|
+
notes?: string | null;
|
|
1899
|
+
updated_at?: string;
|
|
1900
|
+
};
|
|
1901
|
+
Relationships: [{
|
|
1902
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1903
|
+
columns: ["customer_id"];
|
|
1904
|
+
isOneToOne: true;
|
|
1905
|
+
referencedRelation: "customers";
|
|
1906
|
+
referencedColumns: ["id"];
|
|
1907
|
+
}];
|
|
1908
|
+
};
|
|
1876
1909
|
customer_price_group_members: {
|
|
1877
1910
|
Row: {
|
|
1878
1911
|
created_at: string;
|
|
@@ -3517,6 +3550,474 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
3517
3550
|
referencedColumns: ["id"];
|
|
3518
3551
|
}];
|
|
3519
3552
|
};
|
|
3553
|
+
exact_auth_call_budget: {
|
|
3554
|
+
Row: {
|
|
3555
|
+
account_key: string;
|
|
3556
|
+
day_count: number;
|
|
3557
|
+
day_date: string;
|
|
3558
|
+
division_code: number;
|
|
3559
|
+
environment: string;
|
|
3560
|
+
minute_count: number;
|
|
3561
|
+
minute_window: string;
|
|
3562
|
+
updated_at: string;
|
|
3563
|
+
};
|
|
3564
|
+
Insert: {
|
|
3565
|
+
account_key?: string;
|
|
3566
|
+
day_count?: number;
|
|
3567
|
+
day_date?: string;
|
|
3568
|
+
division_code?: number;
|
|
3569
|
+
environment: string;
|
|
3570
|
+
minute_count?: number;
|
|
3571
|
+
minute_window?: string;
|
|
3572
|
+
updated_at?: string;
|
|
3573
|
+
};
|
|
3574
|
+
Update: {
|
|
3575
|
+
account_key?: string;
|
|
3576
|
+
day_count?: number;
|
|
3577
|
+
day_date?: string;
|
|
3578
|
+
division_code?: number;
|
|
3579
|
+
environment?: string;
|
|
3580
|
+
minute_count?: number;
|
|
3581
|
+
minute_window?: string;
|
|
3582
|
+
updated_at?: string;
|
|
3583
|
+
};
|
|
3584
|
+
Relationships: [];
|
|
3585
|
+
};
|
|
3586
|
+
exact_auth_customers: {
|
|
3587
|
+
Row: {
|
|
3588
|
+
account_key: string;
|
|
3589
|
+
address_line1: string | null;
|
|
3590
|
+
chamber_of_commerce: string | null;
|
|
3591
|
+
city: string | null;
|
|
3592
|
+
code: string | null;
|
|
3593
|
+
country: string | null;
|
|
3594
|
+
created_at: string;
|
|
3595
|
+
currency: string | null;
|
|
3596
|
+
division_code: number | null;
|
|
3597
|
+
email: string | null;
|
|
3598
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3599
|
+
exact_id: string;
|
|
3600
|
+
exact_modified: string | null;
|
|
3601
|
+
exact_timestamp: number | null;
|
|
3602
|
+
id: string;
|
|
3603
|
+
is_active: boolean;
|
|
3604
|
+
name: string | null;
|
|
3605
|
+
phone: string | null;
|
|
3606
|
+
postcode: string | null;
|
|
3607
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3608
|
+
status: string | null;
|
|
3609
|
+
updated_at: string;
|
|
3610
|
+
vat_number: string | null;
|
|
3611
|
+
website: string | null;
|
|
3612
|
+
};
|
|
3613
|
+
Insert: {
|
|
3614
|
+
account_key?: string;
|
|
3615
|
+
address_line1?: string | null;
|
|
3616
|
+
chamber_of_commerce?: string | null;
|
|
3617
|
+
city?: string | null;
|
|
3618
|
+
code?: string | null;
|
|
3619
|
+
country?: string | null;
|
|
3620
|
+
created_at?: string;
|
|
3621
|
+
currency?: string | null;
|
|
3622
|
+
division_code?: number | null;
|
|
3623
|
+
email?: string | null;
|
|
3624
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3625
|
+
exact_id: string;
|
|
3626
|
+
exact_modified?: string | null;
|
|
3627
|
+
exact_timestamp?: number | null;
|
|
3628
|
+
id?: string;
|
|
3629
|
+
is_active?: boolean;
|
|
3630
|
+
name?: string | null;
|
|
3631
|
+
phone?: string | null;
|
|
3632
|
+
postcode?: string | null;
|
|
3633
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3634
|
+
status?: string | null;
|
|
3635
|
+
updated_at?: string;
|
|
3636
|
+
vat_number?: string | null;
|
|
3637
|
+
website?: string | null;
|
|
3638
|
+
};
|
|
3639
|
+
Update: {
|
|
3640
|
+
account_key?: string;
|
|
3641
|
+
address_line1?: string | null;
|
|
3642
|
+
chamber_of_commerce?: string | null;
|
|
3643
|
+
city?: string | null;
|
|
3644
|
+
code?: string | null;
|
|
3645
|
+
country?: string | null;
|
|
3646
|
+
created_at?: string;
|
|
3647
|
+
currency?: string | null;
|
|
3648
|
+
division_code?: number | null;
|
|
3649
|
+
email?: string | null;
|
|
3650
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3651
|
+
exact_id?: string;
|
|
3652
|
+
exact_modified?: string | null;
|
|
3653
|
+
exact_timestamp?: number | null;
|
|
3654
|
+
id?: string;
|
|
3655
|
+
is_active?: boolean;
|
|
3656
|
+
name?: string | null;
|
|
3657
|
+
phone?: string | null;
|
|
3658
|
+
postcode?: string | null;
|
|
3659
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3660
|
+
status?: string | null;
|
|
3661
|
+
updated_at?: string;
|
|
3662
|
+
vat_number?: string | null;
|
|
3663
|
+
website?: string | null;
|
|
3664
|
+
};
|
|
3665
|
+
Relationships: [];
|
|
3666
|
+
};
|
|
3667
|
+
exact_auth_divisions: {
|
|
3668
|
+
Row: {
|
|
3669
|
+
account_key: string;
|
|
3670
|
+
company_name: string | null;
|
|
3671
|
+
created_at: string;
|
|
3672
|
+
division_code: number | null;
|
|
3673
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3674
|
+
id: string;
|
|
3675
|
+
last_synced_at: string | null;
|
|
3676
|
+
updated_at: string;
|
|
3677
|
+
};
|
|
3678
|
+
Insert: {
|
|
3679
|
+
account_key?: string;
|
|
3680
|
+
company_name?: string | null;
|
|
3681
|
+
created_at?: string;
|
|
3682
|
+
division_code?: number | null;
|
|
3683
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3684
|
+
id?: string;
|
|
3685
|
+
last_synced_at?: string | null;
|
|
3686
|
+
updated_at?: string;
|
|
3687
|
+
};
|
|
3688
|
+
Update: {
|
|
3689
|
+
account_key?: string;
|
|
3690
|
+
company_name?: string | null;
|
|
3691
|
+
created_at?: string;
|
|
3692
|
+
division_code?: number | null;
|
|
3693
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3694
|
+
id?: string;
|
|
3695
|
+
last_synced_at?: string | null;
|
|
3696
|
+
updated_at?: string;
|
|
3697
|
+
};
|
|
3698
|
+
Relationships: [];
|
|
3699
|
+
};
|
|
3700
|
+
exact_auth_invoice_lines: {
|
|
3701
|
+
Row: {
|
|
3702
|
+
account_key: string;
|
|
3703
|
+
amount_excl: number | null;
|
|
3704
|
+
created_at: string;
|
|
3705
|
+
description: string | null;
|
|
3706
|
+
discount: number | null;
|
|
3707
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3708
|
+
exact_id: string;
|
|
3709
|
+
exact_timestamp: number | null;
|
|
3710
|
+
id: string;
|
|
3711
|
+
invoice_exact_id: string;
|
|
3712
|
+
item_code: string | null;
|
|
3713
|
+
item_exact_id: string | null;
|
|
3714
|
+
line_number: number | null;
|
|
3715
|
+
quantity: number | null;
|
|
3716
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3717
|
+
unit_price: number | null;
|
|
3718
|
+
updated_at: string;
|
|
3719
|
+
vat_amount: number | null;
|
|
3720
|
+
vat_code: string | null;
|
|
3721
|
+
};
|
|
3722
|
+
Insert: {
|
|
3723
|
+
account_key?: string;
|
|
3724
|
+
amount_excl?: number | null;
|
|
3725
|
+
created_at?: string;
|
|
3726
|
+
description?: string | null;
|
|
3727
|
+
discount?: number | null;
|
|
3728
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3729
|
+
exact_id: string;
|
|
3730
|
+
exact_timestamp?: number | null;
|
|
3731
|
+
id?: string;
|
|
3732
|
+
invoice_exact_id: string;
|
|
3733
|
+
item_code?: string | null;
|
|
3734
|
+
item_exact_id?: string | null;
|
|
3735
|
+
line_number?: number | null;
|
|
3736
|
+
quantity?: number | null;
|
|
3737
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3738
|
+
unit_price?: number | null;
|
|
3739
|
+
updated_at?: string;
|
|
3740
|
+
vat_amount?: number | null;
|
|
3741
|
+
vat_code?: string | null;
|
|
3742
|
+
};
|
|
3743
|
+
Update: {
|
|
3744
|
+
account_key?: string;
|
|
3745
|
+
amount_excl?: number | null;
|
|
3746
|
+
created_at?: string;
|
|
3747
|
+
description?: string | null;
|
|
3748
|
+
discount?: number | null;
|
|
3749
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3750
|
+
exact_id?: string;
|
|
3751
|
+
exact_timestamp?: number | null;
|
|
3752
|
+
id?: string;
|
|
3753
|
+
invoice_exact_id?: string;
|
|
3754
|
+
item_code?: string | null;
|
|
3755
|
+
item_exact_id?: string | null;
|
|
3756
|
+
line_number?: number | null;
|
|
3757
|
+
quantity?: number | null;
|
|
3758
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3759
|
+
unit_price?: number | null;
|
|
3760
|
+
updated_at?: string;
|
|
3761
|
+
vat_amount?: number | null;
|
|
3762
|
+
vat_code?: string | null;
|
|
3763
|
+
};
|
|
3764
|
+
Relationships: [];
|
|
3765
|
+
};
|
|
3766
|
+
exact_auth_invoices: {
|
|
3767
|
+
Row: {
|
|
3768
|
+
account_key: string;
|
|
3769
|
+
amount_excl: number | null;
|
|
3770
|
+
amount_incl: number | null;
|
|
3771
|
+
amount_open: number | null;
|
|
3772
|
+
created_at: string;
|
|
3773
|
+
currency: string | null;
|
|
3774
|
+
customer_code: string | null;
|
|
3775
|
+
customer_exact_id: string | null;
|
|
3776
|
+
customer_name: string | null;
|
|
3777
|
+
description: string | null;
|
|
3778
|
+
division_code: number | null;
|
|
3779
|
+
due_date: string | null;
|
|
3780
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3781
|
+
exact_id: string;
|
|
3782
|
+
exact_modified: string | null;
|
|
3783
|
+
exact_timestamp: number | null;
|
|
3784
|
+
id: string;
|
|
3785
|
+
invoice_date: string | null;
|
|
3786
|
+
invoice_number: string | null;
|
|
3787
|
+
order_number: string | null;
|
|
3788
|
+
paid_at: string | null;
|
|
3789
|
+
payment_status: string;
|
|
3790
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3791
|
+
receivable_synced_at: string | null;
|
|
3792
|
+
status_code: number | null;
|
|
3793
|
+
updated_at: string;
|
|
3794
|
+
};
|
|
3795
|
+
Insert: {
|
|
3796
|
+
account_key?: string;
|
|
3797
|
+
amount_excl?: number | null;
|
|
3798
|
+
amount_incl?: number | null;
|
|
3799
|
+
amount_open?: number | null;
|
|
3800
|
+
created_at?: string;
|
|
3801
|
+
currency?: string | null;
|
|
3802
|
+
customer_code?: string | null;
|
|
3803
|
+
customer_exact_id?: string | null;
|
|
3804
|
+
customer_name?: string | null;
|
|
3805
|
+
description?: string | null;
|
|
3806
|
+
division_code?: number | null;
|
|
3807
|
+
due_date?: string | null;
|
|
3808
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3809
|
+
exact_id: string;
|
|
3810
|
+
exact_modified?: string | null;
|
|
3811
|
+
exact_timestamp?: number | null;
|
|
3812
|
+
id?: string;
|
|
3813
|
+
invoice_date?: string | null;
|
|
3814
|
+
invoice_number?: string | null;
|
|
3815
|
+
order_number?: string | null;
|
|
3816
|
+
paid_at?: string | null;
|
|
3817
|
+
payment_status?: string;
|
|
3818
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3819
|
+
receivable_synced_at?: string | null;
|
|
3820
|
+
status_code?: number | null;
|
|
3821
|
+
updated_at?: string;
|
|
3822
|
+
};
|
|
3823
|
+
Update: {
|
|
3824
|
+
account_key?: string;
|
|
3825
|
+
amount_excl?: number | null;
|
|
3826
|
+
amount_incl?: number | null;
|
|
3827
|
+
amount_open?: number | null;
|
|
3828
|
+
created_at?: string;
|
|
3829
|
+
currency?: string | null;
|
|
3830
|
+
customer_code?: string | null;
|
|
3831
|
+
customer_exact_id?: string | null;
|
|
3832
|
+
customer_name?: string | null;
|
|
3833
|
+
description?: string | null;
|
|
3834
|
+
division_code?: number | null;
|
|
3835
|
+
due_date?: string | null;
|
|
3836
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3837
|
+
exact_id?: string;
|
|
3838
|
+
exact_modified?: string | null;
|
|
3839
|
+
exact_timestamp?: number | null;
|
|
3840
|
+
id?: string;
|
|
3841
|
+
invoice_date?: string | null;
|
|
3842
|
+
invoice_number?: string | null;
|
|
3843
|
+
order_number?: string | null;
|
|
3844
|
+
paid_at?: string | null;
|
|
3845
|
+
payment_status?: string;
|
|
3846
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3847
|
+
receivable_synced_at?: string | null;
|
|
3848
|
+
status_code?: number | null;
|
|
3849
|
+
updated_at?: string;
|
|
3850
|
+
};
|
|
3851
|
+
Relationships: [];
|
|
3852
|
+
};
|
|
3853
|
+
exact_auth_items: {
|
|
3854
|
+
Row: {
|
|
3855
|
+
account_key: string;
|
|
3856
|
+
barcode: string | null;
|
|
3857
|
+
code: string | null;
|
|
3858
|
+
cost_price: number | null;
|
|
3859
|
+
created_at: string;
|
|
3860
|
+
description: string | null;
|
|
3861
|
+
division_code: number | null;
|
|
3862
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3863
|
+
exact_id: string;
|
|
3864
|
+
exact_modified: string | null;
|
|
3865
|
+
exact_timestamp: number | null;
|
|
3866
|
+
gl_account_code: string | null;
|
|
3867
|
+
id: string;
|
|
3868
|
+
is_active: boolean;
|
|
3869
|
+
is_sales_item: boolean | null;
|
|
3870
|
+
item_type: string | null;
|
|
3871
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3872
|
+
sales_price: number | null;
|
|
3873
|
+
unit: string | null;
|
|
3874
|
+
updated_at: string;
|
|
3875
|
+
vat_code: string | null;
|
|
3876
|
+
};
|
|
3877
|
+
Insert: {
|
|
3878
|
+
account_key?: string;
|
|
3879
|
+
barcode?: string | null;
|
|
3880
|
+
code?: string | null;
|
|
3881
|
+
cost_price?: number | null;
|
|
3882
|
+
created_at?: string;
|
|
3883
|
+
description?: string | null;
|
|
3884
|
+
division_code?: number | null;
|
|
3885
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3886
|
+
exact_id: string;
|
|
3887
|
+
exact_modified?: string | null;
|
|
3888
|
+
exact_timestamp?: number | null;
|
|
3889
|
+
gl_account_code?: string | null;
|
|
3890
|
+
id?: string;
|
|
3891
|
+
is_active?: boolean;
|
|
3892
|
+
is_sales_item?: boolean | null;
|
|
3893
|
+
item_type?: string | null;
|
|
3894
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3895
|
+
sales_price?: number | null;
|
|
3896
|
+
unit?: string | null;
|
|
3897
|
+
updated_at?: string;
|
|
3898
|
+
vat_code?: string | null;
|
|
3899
|
+
};
|
|
3900
|
+
Update: {
|
|
3901
|
+
account_key?: string;
|
|
3902
|
+
barcode?: string | null;
|
|
3903
|
+
code?: string | null;
|
|
3904
|
+
cost_price?: number | null;
|
|
3905
|
+
created_at?: string;
|
|
3906
|
+
description?: string | null;
|
|
3907
|
+
division_code?: number | null;
|
|
3908
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3909
|
+
exact_id?: string;
|
|
3910
|
+
exact_modified?: string | null;
|
|
3911
|
+
exact_timestamp?: number | null;
|
|
3912
|
+
gl_account_code?: string | null;
|
|
3913
|
+
id?: string;
|
|
3914
|
+
is_active?: boolean;
|
|
3915
|
+
is_sales_item?: boolean | null;
|
|
3916
|
+
item_type?: string | null;
|
|
3917
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3918
|
+
sales_price?: number | null;
|
|
3919
|
+
unit?: string | null;
|
|
3920
|
+
updated_at?: string;
|
|
3921
|
+
vat_code?: string | null;
|
|
3922
|
+
};
|
|
3923
|
+
Relationships: [];
|
|
3924
|
+
};
|
|
3925
|
+
exact_auth_sync_log: {
|
|
3926
|
+
Row: {
|
|
3927
|
+
account_key: string;
|
|
3928
|
+
calls_used: number;
|
|
3929
|
+
created_at: string;
|
|
3930
|
+
domain: string;
|
|
3931
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3932
|
+
error: string | null;
|
|
3933
|
+
finished_at: string | null;
|
|
3934
|
+
id: string;
|
|
3935
|
+
ok: boolean;
|
|
3936
|
+
records: number;
|
|
3937
|
+
started_at: string;
|
|
3938
|
+
};
|
|
3939
|
+
Insert: {
|
|
3940
|
+
account_key?: string;
|
|
3941
|
+
calls_used?: number;
|
|
3942
|
+
created_at?: string;
|
|
3943
|
+
domain: string;
|
|
3944
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3945
|
+
error?: string | null;
|
|
3946
|
+
finished_at?: string | null;
|
|
3947
|
+
id?: string;
|
|
3948
|
+
ok?: boolean;
|
|
3949
|
+
records?: number;
|
|
3950
|
+
started_at?: string;
|
|
3951
|
+
};
|
|
3952
|
+
Update: {
|
|
3953
|
+
account_key?: string;
|
|
3954
|
+
calls_used?: number;
|
|
3955
|
+
created_at?: string;
|
|
3956
|
+
domain?: string;
|
|
3957
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3958
|
+
error?: string | null;
|
|
3959
|
+
finished_at?: string | null;
|
|
3960
|
+
id?: string;
|
|
3961
|
+
ok?: boolean;
|
|
3962
|
+
records?: number;
|
|
3963
|
+
started_at?: string;
|
|
3964
|
+
};
|
|
3965
|
+
Relationships: [];
|
|
3966
|
+
};
|
|
3967
|
+
exact_auth_sync_state: {
|
|
3968
|
+
Row: {
|
|
3969
|
+
account_key: string;
|
|
3970
|
+
created_at: string;
|
|
3971
|
+
cursor_timestamp: number;
|
|
3972
|
+
division_code: number | null;
|
|
3973
|
+
domain: string;
|
|
3974
|
+
duration_ms: number | null;
|
|
3975
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3976
|
+
initial_sync_done: boolean;
|
|
3977
|
+
last_error: string | null;
|
|
3978
|
+
last_run_at: string | null;
|
|
3979
|
+
last_success_at: string | null;
|
|
3980
|
+
locked_at: string | null;
|
|
3981
|
+
needs_initial_sync: boolean;
|
|
3982
|
+
record_count: number;
|
|
3983
|
+
updated_at: string;
|
|
3984
|
+
};
|
|
3985
|
+
Insert: {
|
|
3986
|
+
account_key?: string;
|
|
3987
|
+
created_at?: string;
|
|
3988
|
+
cursor_timestamp?: number;
|
|
3989
|
+
division_code?: number | null;
|
|
3990
|
+
domain: string;
|
|
3991
|
+
duration_ms?: number | null;
|
|
3992
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3993
|
+
initial_sync_done?: boolean;
|
|
3994
|
+
last_error?: string | null;
|
|
3995
|
+
last_run_at?: string | null;
|
|
3996
|
+
last_success_at?: string | null;
|
|
3997
|
+
locked_at?: string | null;
|
|
3998
|
+
needs_initial_sync?: boolean;
|
|
3999
|
+
record_count?: number;
|
|
4000
|
+
updated_at?: string;
|
|
4001
|
+
};
|
|
4002
|
+
Update: {
|
|
4003
|
+
account_key?: string;
|
|
4004
|
+
created_at?: string;
|
|
4005
|
+
cursor_timestamp?: number;
|
|
4006
|
+
division_code?: number | null;
|
|
4007
|
+
domain?: string;
|
|
4008
|
+
duration_ms?: number | null;
|
|
4009
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
4010
|
+
initial_sync_done?: boolean;
|
|
4011
|
+
last_error?: string | null;
|
|
4012
|
+
last_run_at?: string | null;
|
|
4013
|
+
last_success_at?: string | null;
|
|
4014
|
+
locked_at?: string | null;
|
|
4015
|
+
needs_initial_sync?: boolean;
|
|
4016
|
+
record_count?: number;
|
|
4017
|
+
updated_at?: string;
|
|
4018
|
+
};
|
|
4019
|
+
Relationships: [];
|
|
4020
|
+
};
|
|
3520
4021
|
exact_bulk_operation_items: {
|
|
3521
4022
|
Row: {
|
|
3522
4023
|
attempts: number;
|
|
@@ -8179,6 +8680,66 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8179
8680
|
};
|
|
8180
8681
|
Relationships: [];
|
|
8181
8682
|
};
|
|
8683
|
+
logistics_recalc_jobs: {
|
|
8684
|
+
Row: {
|
|
8685
|
+
carts_created: number;
|
|
8686
|
+
created_at: string;
|
|
8687
|
+
cursor: string | null;
|
|
8688
|
+
errors: import("../integrations/supabase/types").Json;
|
|
8689
|
+
failed: number;
|
|
8690
|
+
finished_at: string | null;
|
|
8691
|
+
id: string;
|
|
8692
|
+
last_tick_at: string | null;
|
|
8693
|
+
phase: string;
|
|
8694
|
+
processed: number;
|
|
8695
|
+
skipped_locked: number;
|
|
8696
|
+
started_by: string | null;
|
|
8697
|
+
status: string;
|
|
8698
|
+
steps: import("../integrations/supabase/types").Json;
|
|
8699
|
+
strategy_id: string | null;
|
|
8700
|
+
tasks_updated: number;
|
|
8701
|
+
updated_at: string;
|
|
8702
|
+
};
|
|
8703
|
+
Insert: {
|
|
8704
|
+
carts_created?: number;
|
|
8705
|
+
created_at?: string;
|
|
8706
|
+
cursor?: string | null;
|
|
8707
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8708
|
+
failed?: number;
|
|
8709
|
+
finished_at?: string | null;
|
|
8710
|
+
id?: string;
|
|
8711
|
+
last_tick_at?: string | null;
|
|
8712
|
+
phase?: string;
|
|
8713
|
+
processed?: number;
|
|
8714
|
+
skipped_locked?: number;
|
|
8715
|
+
started_by?: string | null;
|
|
8716
|
+
status?: string;
|
|
8717
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8718
|
+
strategy_id?: string | null;
|
|
8719
|
+
tasks_updated?: number;
|
|
8720
|
+
updated_at?: string;
|
|
8721
|
+
};
|
|
8722
|
+
Update: {
|
|
8723
|
+
carts_created?: number;
|
|
8724
|
+
created_at?: string;
|
|
8725
|
+
cursor?: string | null;
|
|
8726
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8727
|
+
failed?: number;
|
|
8728
|
+
finished_at?: string | null;
|
|
8729
|
+
id?: string;
|
|
8730
|
+
last_tick_at?: string | null;
|
|
8731
|
+
phase?: string;
|
|
8732
|
+
processed?: number;
|
|
8733
|
+
skipped_locked?: number;
|
|
8734
|
+
started_by?: string | null;
|
|
8735
|
+
status?: string;
|
|
8736
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8737
|
+
strategy_id?: string | null;
|
|
8738
|
+
tasks_updated?: number;
|
|
8739
|
+
updated_at?: string;
|
|
8740
|
+
};
|
|
8741
|
+
Relationships: [];
|
|
8742
|
+
};
|
|
8182
8743
|
logistics_reschedules: {
|
|
8183
8744
|
Row: {
|
|
8184
8745
|
created_at: string;
|
|
@@ -8541,6 +9102,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8541
9102
|
};
|
|
8542
9103
|
logistics_tasks: {
|
|
8543
9104
|
Row: {
|
|
9105
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9106
|
+
attempts: number;
|
|
8544
9107
|
buffer_ref: string | null;
|
|
8545
9108
|
claimed_at: string | null;
|
|
8546
9109
|
claimed_by: string | null;
|
|
@@ -8550,6 +9113,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8550
9113
|
due_at: string | null;
|
|
8551
9114
|
error: string | null;
|
|
8552
9115
|
id: string;
|
|
9116
|
+
last_error: string | null;
|
|
9117
|
+
next_attempt_at: string | null;
|
|
8553
9118
|
order_ref: string;
|
|
8554
9119
|
owner_module: string;
|
|
8555
9120
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -8570,6 +9135,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8570
9135
|
user_id: string;
|
|
8571
9136
|
};
|
|
8572
9137
|
Insert: {
|
|
9138
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9139
|
+
attempts?: number;
|
|
8573
9140
|
buffer_ref?: string | null;
|
|
8574
9141
|
claimed_at?: string | null;
|
|
8575
9142
|
claimed_by?: string | null;
|
|
@@ -8579,6 +9146,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8579
9146
|
due_at?: string | null;
|
|
8580
9147
|
error?: string | null;
|
|
8581
9148
|
id?: string;
|
|
9149
|
+
last_error?: string | null;
|
|
9150
|
+
next_attempt_at?: string | null;
|
|
8582
9151
|
order_ref: string;
|
|
8583
9152
|
owner_module: string;
|
|
8584
9153
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -8599,6 +9168,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8599
9168
|
user_id?: string;
|
|
8600
9169
|
};
|
|
8601
9170
|
Update: {
|
|
9171
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9172
|
+
attempts?: number;
|
|
8602
9173
|
buffer_ref?: string | null;
|
|
8603
9174
|
claimed_at?: string | null;
|
|
8604
9175
|
claimed_by?: string | null;
|
|
@@ -8608,6 +9179,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
8608
9179
|
due_at?: string | null;
|
|
8609
9180
|
error?: string | null;
|
|
8610
9181
|
id?: string;
|
|
9182
|
+
last_error?: string | null;
|
|
9183
|
+
next_attempt_at?: string | null;
|
|
8611
9184
|
order_ref?: string;
|
|
8612
9185
|
owner_module?: string;
|
|
8613
9186
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9957,6 +10530,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
9957
10530
|
};
|
|
9958
10531
|
offer_settings: {
|
|
9959
10532
|
Row: {
|
|
10533
|
+
brand_name: string | null;
|
|
9960
10534
|
button_color: string;
|
|
9961
10535
|
created_at: string;
|
|
9962
10536
|
default_countries: string[];
|
|
@@ -9978,6 +10552,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
9978
10552
|
updated_at: string;
|
|
9979
10553
|
};
|
|
9980
10554
|
Insert: {
|
|
10555
|
+
brand_name?: string | null;
|
|
9981
10556
|
button_color?: string;
|
|
9982
10557
|
created_at?: string;
|
|
9983
10558
|
default_countries?: string[];
|
|
@@ -9999,6 +10574,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
9999
10574
|
updated_at?: string;
|
|
10000
10575
|
};
|
|
10001
10576
|
Update: {
|
|
10577
|
+
brand_name?: string | null;
|
|
10002
10578
|
button_color?: string;
|
|
10003
10579
|
created_at?: string;
|
|
10004
10580
|
default_countries?: string[];
|
|
@@ -13408,6 +13984,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13408
13984
|
buffer_key: string | null;
|
|
13409
13985
|
created_at: string;
|
|
13410
13986
|
customer_names: string[];
|
|
13987
|
+
device_id: string | null;
|
|
13411
13988
|
geprint: boolean;
|
|
13412
13989
|
geprint_op: string | null;
|
|
13413
13990
|
id: string;
|
|
@@ -13417,6 +13994,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13417
13994
|
naar_pickstation: boolean;
|
|
13418
13995
|
naar_pickstation_op: string | null;
|
|
13419
13996
|
order_number: string | null;
|
|
13997
|
+
scanner_id: string | null;
|
|
13420
13998
|
scanner_key: string;
|
|
13421
13999
|
status: string;
|
|
13422
14000
|
totaal_producten: number;
|
|
@@ -13427,6 +14005,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13427
14005
|
buffer_key?: string | null;
|
|
13428
14006
|
created_at?: string;
|
|
13429
14007
|
customer_names?: string[];
|
|
14008
|
+
device_id?: string | null;
|
|
13430
14009
|
geprint?: boolean;
|
|
13431
14010
|
geprint_op?: string | null;
|
|
13432
14011
|
id?: string;
|
|
@@ -13436,6 +14015,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13436
14015
|
naar_pickstation?: boolean;
|
|
13437
14016
|
naar_pickstation_op?: string | null;
|
|
13438
14017
|
order_number?: string | null;
|
|
14018
|
+
scanner_id?: string | null;
|
|
13439
14019
|
scanner_key?: string;
|
|
13440
14020
|
status?: string;
|
|
13441
14021
|
totaal_producten?: number;
|
|
@@ -13446,6 +14026,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13446
14026
|
buffer_key?: string | null;
|
|
13447
14027
|
created_at?: string;
|
|
13448
14028
|
customer_names?: string[];
|
|
14029
|
+
device_id?: string | null;
|
|
13449
14030
|
geprint?: boolean;
|
|
13450
14031
|
geprint_op?: string | null;
|
|
13451
14032
|
id?: string;
|
|
@@ -13455,6 +14036,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13455
14036
|
naar_pickstation?: boolean;
|
|
13456
14037
|
naar_pickstation_op?: string | null;
|
|
13457
14038
|
order_number?: string | null;
|
|
14039
|
+
scanner_id?: string | null;
|
|
13458
14040
|
scanner_key?: string;
|
|
13459
14041
|
status?: string;
|
|
13460
14042
|
totaal_producten?: number;
|
|
@@ -13466,31 +14048,46 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13466
14048
|
Row: {
|
|
13467
14049
|
code: string;
|
|
13468
14050
|
created_at: string;
|
|
14051
|
+
device_id: string | null;
|
|
13469
14052
|
id: string;
|
|
13470
14053
|
kar_id: string | null;
|
|
14054
|
+
latency_ms: number | null;
|
|
14055
|
+
medewerker_naam: string | null;
|
|
13471
14056
|
message: string | null;
|
|
13472
14057
|
result: string;
|
|
14058
|
+
retry_count: number;
|
|
13473
14059
|
scanner_key: string;
|
|
14060
|
+
session_id: string | null;
|
|
13474
14061
|
user_id: string | null;
|
|
13475
14062
|
};
|
|
13476
14063
|
Insert: {
|
|
13477
14064
|
code: string;
|
|
13478
14065
|
created_at?: string;
|
|
14066
|
+
device_id?: string | null;
|
|
13479
14067
|
id?: string;
|
|
13480
14068
|
kar_id?: string | null;
|
|
14069
|
+
latency_ms?: number | null;
|
|
14070
|
+
medewerker_naam?: string | null;
|
|
13481
14071
|
message?: string | null;
|
|
13482
14072
|
result: string;
|
|
14073
|
+
retry_count?: number;
|
|
13483
14074
|
scanner_key?: string;
|
|
14075
|
+
session_id?: string | null;
|
|
13484
14076
|
user_id?: string | null;
|
|
13485
14077
|
};
|
|
13486
14078
|
Update: {
|
|
13487
14079
|
code?: string;
|
|
13488
14080
|
created_at?: string;
|
|
14081
|
+
device_id?: string | null;
|
|
13489
14082
|
id?: string;
|
|
13490
14083
|
kar_id?: string | null;
|
|
14084
|
+
latency_ms?: number | null;
|
|
14085
|
+
medewerker_naam?: string | null;
|
|
13491
14086
|
message?: string | null;
|
|
13492
14087
|
result?: string;
|
|
14088
|
+
retry_count?: number;
|
|
13493
14089
|
scanner_key?: string;
|
|
14090
|
+
session_id?: string | null;
|
|
13494
14091
|
user_id?: string | null;
|
|
13495
14092
|
};
|
|
13496
14093
|
Relationships: [];
|
|
@@ -13547,6 +14144,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13547
14144
|
printed_at: string;
|
|
13548
14145
|
status: string;
|
|
13549
14146
|
updated_at: string;
|
|
14147
|
+
vergrendeld_door: string | null;
|
|
14148
|
+
vergrendeld_sessie: string | null;
|
|
14149
|
+
vergrendeld_tot: string | null;
|
|
13550
14150
|
};
|
|
13551
14151
|
Insert: {
|
|
13552
14152
|
barcode: string;
|
|
@@ -13560,6 +14160,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13560
14160
|
printed_at?: string;
|
|
13561
14161
|
status?: string;
|
|
13562
14162
|
updated_at?: string;
|
|
14163
|
+
vergrendeld_door?: string | null;
|
|
14164
|
+
vergrendeld_sessie?: string | null;
|
|
14165
|
+
vergrendeld_tot?: string | null;
|
|
13563
14166
|
};
|
|
13564
14167
|
Update: {
|
|
13565
14168
|
barcode?: string;
|
|
@@ -13573,6 +14176,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13573
14176
|
printed_at?: string;
|
|
13574
14177
|
status?: string;
|
|
13575
14178
|
updated_at?: string;
|
|
14179
|
+
vergrendeld_door?: string | null;
|
|
14180
|
+
vergrendeld_sessie?: string | null;
|
|
14181
|
+
vergrendeld_tot?: string | null;
|
|
13576
14182
|
};
|
|
13577
14183
|
Relationships: [];
|
|
13578
14184
|
};
|
|
@@ -13581,31 +14187,40 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13581
14187
|
actief: boolean;
|
|
13582
14188
|
created_at: string;
|
|
13583
14189
|
id: string;
|
|
14190
|
+
max_producten_per_kar: number | null;
|
|
13584
14191
|
naam: string;
|
|
13585
14192
|
omschrijving: string | null;
|
|
14193
|
+
pincode: string | null;
|
|
13586
14194
|
slug: string;
|
|
13587
14195
|
type: string;
|
|
13588
14196
|
updated_at: string;
|
|
14197
|
+
vereist_medewerker: boolean;
|
|
13589
14198
|
};
|
|
13590
14199
|
Insert: {
|
|
13591
14200
|
actief?: boolean;
|
|
13592
14201
|
created_at?: string;
|
|
13593
14202
|
id?: string;
|
|
14203
|
+
max_producten_per_kar?: number | null;
|
|
13594
14204
|
naam: string;
|
|
13595
14205
|
omschrijving?: string | null;
|
|
14206
|
+
pincode?: string | null;
|
|
13596
14207
|
slug: string;
|
|
13597
14208
|
type?: string;
|
|
13598
14209
|
updated_at?: string;
|
|
14210
|
+
vereist_medewerker?: boolean;
|
|
13599
14211
|
};
|
|
13600
14212
|
Update: {
|
|
13601
14213
|
actief?: boolean;
|
|
13602
14214
|
created_at?: string;
|
|
13603
14215
|
id?: string;
|
|
14216
|
+
max_producten_per_kar?: number | null;
|
|
13604
14217
|
naam?: string;
|
|
13605
14218
|
omschrijving?: string | null;
|
|
14219
|
+
pincode?: string | null;
|
|
13606
14220
|
slug?: string;
|
|
13607
14221
|
type?: string;
|
|
13608
14222
|
updated_at?: string;
|
|
14223
|
+
vereist_medewerker?: boolean;
|
|
13609
14224
|
};
|
|
13610
14225
|
Relationships: [];
|
|
13611
14226
|
};
|
|
@@ -17570,6 +18185,54 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
17570
18185
|
};
|
|
17571
18186
|
Returns: import("../integrations/supabase/types").Json;
|
|
17572
18187
|
};
|
|
18188
|
+
claim_logistics_tasks: {
|
|
18189
|
+
Args: {
|
|
18190
|
+
_limit?: number;
|
|
18191
|
+
_owner_module: string;
|
|
18192
|
+
_stale_minutes?: number;
|
|
18193
|
+
_task_type: string;
|
|
18194
|
+
_worker: string;
|
|
18195
|
+
};
|
|
18196
|
+
Returns: {
|
|
18197
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18198
|
+
attempts: number;
|
|
18199
|
+
buffer_ref: string | null;
|
|
18200
|
+
claimed_at: string | null;
|
|
18201
|
+
claimed_by: string | null;
|
|
18202
|
+
completed_at: string | null;
|
|
18203
|
+
created_at: string;
|
|
18204
|
+
depends_on: string[];
|
|
18205
|
+
due_at: string | null;
|
|
18206
|
+
error: string | null;
|
|
18207
|
+
id: string;
|
|
18208
|
+
last_error: string | null;
|
|
18209
|
+
next_attempt_at: string | null;
|
|
18210
|
+
order_ref: string;
|
|
18211
|
+
owner_module: string;
|
|
18212
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18213
|
+
plan_run_id: string | null;
|
|
18214
|
+
planned_end: string | null;
|
|
18215
|
+
planned_start: string | null;
|
|
18216
|
+
priority: number;
|
|
18217
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18218
|
+
rule_config_id: string | null;
|
|
18219
|
+
rule_version: number | null;
|
|
18220
|
+
sequence: number;
|
|
18221
|
+
shadow: boolean;
|
|
18222
|
+
started_at: string | null;
|
|
18223
|
+
status: string;
|
|
18224
|
+
strategy_id: string | null;
|
|
18225
|
+
task_type: string;
|
|
18226
|
+
updated_at: string;
|
|
18227
|
+
user_id: string;
|
|
18228
|
+
}[];
|
|
18229
|
+
SetofOptions: {
|
|
18230
|
+
from: "*";
|
|
18231
|
+
to: "logistics_tasks";
|
|
18232
|
+
isOneToOne: false;
|
|
18233
|
+
isSetofReturn: true;
|
|
18234
|
+
};
|
|
18235
|
+
};
|
|
17573
18236
|
claim_print_jobs: {
|
|
17574
18237
|
Args: {
|
|
17575
18238
|
_agent_id: string;
|
|
@@ -17810,6 +18473,21 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
17810
18473
|
Args: never;
|
|
17811
18474
|
Returns: string;
|
|
17812
18475
|
};
|
|
18476
|
+
exact_auth_consume_calls: {
|
|
18477
|
+
Args: {
|
|
18478
|
+
_account_key: string;
|
|
18479
|
+
_calls?: number;
|
|
18480
|
+
_day_limit?: number;
|
|
18481
|
+
_division_code: number;
|
|
18482
|
+
_environment: string;
|
|
18483
|
+
_minute_limit?: number;
|
|
18484
|
+
};
|
|
18485
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18486
|
+
};
|
|
18487
|
+
exact_auth_prune_sync_log: {
|
|
18488
|
+
Args: never;
|
|
18489
|
+
Returns: undefined;
|
|
18490
|
+
};
|
|
17813
18491
|
exact_decrypt: {
|
|
17814
18492
|
Args: {
|
|
17815
18493
|
cipher: string;
|
|
@@ -18019,6 +18697,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18019
18697
|
};
|
|
18020
18698
|
Returns: number;
|
|
18021
18699
|
};
|
|
18700
|
+
get_offer_branding: {
|
|
18701
|
+
Args: never;
|
|
18702
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18703
|
+
};
|
|
18022
18704
|
get_offer_by_link_code: {
|
|
18023
18705
|
Args: {
|
|
18024
18706
|
p_code: string;
|
|
@@ -18190,6 +18872,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18190
18872
|
};
|
|
18191
18873
|
Returns: string;
|
|
18192
18874
|
};
|
|
18875
|
+
logistics_active_pick_workdays: {
|
|
18876
|
+
Args: never;
|
|
18877
|
+
Returns: string[];
|
|
18878
|
+
};
|
|
18193
18879
|
logistics_address_key: {
|
|
18194
18880
|
Args: {
|
|
18195
18881
|
p_location: string;
|
|
@@ -18306,6 +18992,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18306
18992
|
p_worker?: string;
|
|
18307
18993
|
};
|
|
18308
18994
|
Returns: {
|
|
18995
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18996
|
+
attempts: number;
|
|
18309
18997
|
buffer_ref: string | null;
|
|
18310
18998
|
claimed_at: string | null;
|
|
18311
18999
|
claimed_by: string | null;
|
|
@@ -18315,6 +19003,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18315
19003
|
due_at: string | null;
|
|
18316
19004
|
error: string | null;
|
|
18317
19005
|
id: string;
|
|
19006
|
+
last_error: string | null;
|
|
19007
|
+
next_attempt_at: string | null;
|
|
18318
19008
|
order_ref: string;
|
|
18319
19009
|
owner_module: string;
|
|
18320
19010
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18347,6 +19037,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18347
19037
|
p_worker?: string;
|
|
18348
19038
|
};
|
|
18349
19039
|
Returns: {
|
|
19040
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19041
|
+
attempts: number;
|
|
18350
19042
|
buffer_ref: string | null;
|
|
18351
19043
|
claimed_at: string | null;
|
|
18352
19044
|
claimed_by: string | null;
|
|
@@ -18356,6 +19048,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18356
19048
|
due_at: string | null;
|
|
18357
19049
|
error: string | null;
|
|
18358
19050
|
id: string;
|
|
19051
|
+
last_error: string | null;
|
|
19052
|
+
next_attempt_at: string | null;
|
|
18359
19053
|
order_ref: string;
|
|
18360
19054
|
owner_module: string;
|
|
18361
19055
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18388,6 +19082,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18388
19082
|
p_task_id: string;
|
|
18389
19083
|
};
|
|
18390
19084
|
Returns: {
|
|
19085
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19086
|
+
attempts: number;
|
|
18391
19087
|
buffer_ref: string | null;
|
|
18392
19088
|
claimed_at: string | null;
|
|
18393
19089
|
claimed_by: string | null;
|
|
@@ -18397,6 +19093,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18397
19093
|
due_at: string | null;
|
|
18398
19094
|
error: string | null;
|
|
18399
19095
|
id: string;
|
|
19096
|
+
last_error: string | null;
|
|
19097
|
+
next_attempt_at: string | null;
|
|
18400
19098
|
order_ref: string;
|
|
18401
19099
|
owner_module: string;
|
|
18402
19100
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18478,6 +19176,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18478
19176
|
p_task_id: string;
|
|
18479
19177
|
};
|
|
18480
19178
|
Returns: {
|
|
19179
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19180
|
+
attempts: number;
|
|
18481
19181
|
buffer_ref: string | null;
|
|
18482
19182
|
claimed_at: string | null;
|
|
18483
19183
|
claimed_by: string | null;
|
|
@@ -18487,6 +19187,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18487
19187
|
due_at: string | null;
|
|
18488
19188
|
error: string | null;
|
|
18489
19189
|
id: string;
|
|
19190
|
+
last_error: string | null;
|
|
19191
|
+
next_attempt_at: string | null;
|
|
18490
19192
|
order_ref: string;
|
|
18491
19193
|
owner_module: string;
|
|
18492
19194
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18513,12 +19215,30 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18513
19215
|
isSetofReturn: false;
|
|
18514
19216
|
};
|
|
18515
19217
|
};
|
|
19218
|
+
logistics_live_carriers: {
|
|
19219
|
+
Args: {
|
|
19220
|
+
p_order_ref: string;
|
|
19221
|
+
};
|
|
19222
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19223
|
+
};
|
|
19224
|
+
logistics_live_cart_count: {
|
|
19225
|
+
Args: {
|
|
19226
|
+
p_order_ref: string;
|
|
19227
|
+
};
|
|
19228
|
+
Returns: number;
|
|
19229
|
+
};
|
|
18516
19230
|
logistics_not_past: {
|
|
18517
19231
|
Args: {
|
|
18518
19232
|
p_ts: string;
|
|
18519
19233
|
};
|
|
18520
19234
|
Returns: string;
|
|
18521
19235
|
};
|
|
19236
|
+
logistics_order_cart_count: {
|
|
19237
|
+
Args: {
|
|
19238
|
+
p_order_ref: string;
|
|
19239
|
+
};
|
|
19240
|
+
Returns: number;
|
|
19241
|
+
};
|
|
18522
19242
|
logistics_order_pick_day: {
|
|
18523
19243
|
Args: {
|
|
18524
19244
|
p_order_ref: string;
|
|
@@ -18695,6 +19415,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18695
19415
|
};
|
|
18696
19416
|
Returns: import("../integrations/supabase/types").Json;
|
|
18697
19417
|
};
|
|
19418
|
+
logistics_shift_to_workday: {
|
|
19419
|
+
Args: {
|
|
19420
|
+
p_days: string[];
|
|
19421
|
+
p_ts: string;
|
|
19422
|
+
};
|
|
19423
|
+
Returns: string;
|
|
19424
|
+
};
|
|
18698
19425
|
logistics_supersede_stale_tasks: {
|
|
18699
19426
|
Args: {
|
|
18700
19427
|
p_keep: string[];
|
|
@@ -18980,6 +19707,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
18980
19707
|
isSetofReturn: false;
|
|
18981
19708
|
};
|
|
18982
19709
|
};
|
|
19710
|
+
pick_current_pick_day: {
|
|
19711
|
+
Args: never;
|
|
19712
|
+
Returns: string;
|
|
19713
|
+
};
|
|
18983
19714
|
pick_document_layout_data: {
|
|
18984
19715
|
Args: {
|
|
18985
19716
|
_layout_id: string;
|
|
@@ -19211,10 +19942,68 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
19211
19942
|
Args: never;
|
|
19212
19943
|
Returns: undefined;
|
|
19213
19944
|
};
|
|
19945
|
+
run_logistics_tasks_dispatch: {
|
|
19946
|
+
Args: never;
|
|
19947
|
+
Returns: undefined;
|
|
19948
|
+
};
|
|
19214
19949
|
run_twinfield_queue_tick: {
|
|
19215
19950
|
Args: never;
|
|
19216
19951
|
Returns: undefined;
|
|
19217
19952
|
};
|
|
19953
|
+
scan_cancel_kar: {
|
|
19954
|
+
Args: {
|
|
19955
|
+
p_kar_id: string;
|
|
19956
|
+
};
|
|
19957
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19958
|
+
};
|
|
19959
|
+
scan_dashboard_stats: {
|
|
19960
|
+
Args: {
|
|
19961
|
+
p_dagen?: number;
|
|
19962
|
+
};
|
|
19963
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19964
|
+
};
|
|
19965
|
+
scan_finish_kar: {
|
|
19966
|
+
Args: {
|
|
19967
|
+
p_kar_id: string;
|
|
19968
|
+
};
|
|
19969
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19970
|
+
};
|
|
19971
|
+
scan_register_item: {
|
|
19972
|
+
Args: {
|
|
19973
|
+
p_kar_id: string;
|
|
19974
|
+
p_pakbon_item_id: string;
|
|
19975
|
+
p_scanned_by?: string;
|
|
19976
|
+
};
|
|
19977
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19978
|
+
};
|
|
19979
|
+
scan_release_expired_locks: {
|
|
19980
|
+
Args: never;
|
|
19981
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19982
|
+
};
|
|
19983
|
+
scan_remove_item: {
|
|
19984
|
+
Args: {
|
|
19985
|
+
p_kar_item_id: string;
|
|
19986
|
+
};
|
|
19987
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19988
|
+
};
|
|
19989
|
+
scan_start_kar: {
|
|
19990
|
+
Args: {
|
|
19991
|
+
p_medewerker_id?: string;
|
|
19992
|
+
p_medewerker_naam?: string;
|
|
19993
|
+
p_pakbon_ids: string[];
|
|
19994
|
+
p_scanner_key?: string;
|
|
19995
|
+
};
|
|
19996
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19997
|
+
} | {
|
|
19998
|
+
Args: {
|
|
19999
|
+
p_medewerker_id?: string;
|
|
20000
|
+
p_medewerker_naam?: string;
|
|
20001
|
+
p_pakbon_ids: string[];
|
|
20002
|
+
p_scanner_key?: string;
|
|
20003
|
+
p_sessie?: string;
|
|
20004
|
+
};
|
|
20005
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20006
|
+
};
|
|
19218
20007
|
schedule_floriday_additional_services_sync: {
|
|
19219
20008
|
Args: {
|
|
19220
20009
|
p_apikey: string;
|
|
@@ -21470,6 +22259,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
21470
22259
|
referencedColumns: ["id"];
|
|
21471
22260
|
}];
|
|
21472
22261
|
};
|
|
22262
|
+
customer_notes: {
|
|
22263
|
+
Row: {
|
|
22264
|
+
created_at: string;
|
|
22265
|
+
customer_id: string | null;
|
|
22266
|
+
group_key: string | null;
|
|
22267
|
+
id: string;
|
|
22268
|
+
notes: string | null;
|
|
22269
|
+
updated_at: string;
|
|
22270
|
+
};
|
|
22271
|
+
Insert: {
|
|
22272
|
+
created_at?: string;
|
|
22273
|
+
customer_id?: string | null;
|
|
22274
|
+
group_key?: string | null;
|
|
22275
|
+
id?: string;
|
|
22276
|
+
notes?: string | null;
|
|
22277
|
+
updated_at?: string;
|
|
22278
|
+
};
|
|
22279
|
+
Update: {
|
|
22280
|
+
created_at?: string;
|
|
22281
|
+
customer_id?: string | null;
|
|
22282
|
+
group_key?: string | null;
|
|
22283
|
+
id?: string;
|
|
22284
|
+
notes?: string | null;
|
|
22285
|
+
updated_at?: string;
|
|
22286
|
+
};
|
|
22287
|
+
Relationships: [{
|
|
22288
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
22289
|
+
columns: ["customer_id"];
|
|
22290
|
+
isOneToOne: true;
|
|
22291
|
+
referencedRelation: "customers";
|
|
22292
|
+
referencedColumns: ["id"];
|
|
22293
|
+
}];
|
|
22294
|
+
};
|
|
21473
22295
|
customer_price_group_members: {
|
|
21474
22296
|
Row: {
|
|
21475
22297
|
created_at: string;
|
|
@@ -23114,6 +23936,474 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
23114
23936
|
referencedColumns: ["id"];
|
|
23115
23937
|
}];
|
|
23116
23938
|
};
|
|
23939
|
+
exact_auth_call_budget: {
|
|
23940
|
+
Row: {
|
|
23941
|
+
account_key: string;
|
|
23942
|
+
day_count: number;
|
|
23943
|
+
day_date: string;
|
|
23944
|
+
division_code: number;
|
|
23945
|
+
environment: string;
|
|
23946
|
+
minute_count: number;
|
|
23947
|
+
minute_window: string;
|
|
23948
|
+
updated_at: string;
|
|
23949
|
+
};
|
|
23950
|
+
Insert: {
|
|
23951
|
+
account_key?: string;
|
|
23952
|
+
day_count?: number;
|
|
23953
|
+
day_date?: string;
|
|
23954
|
+
division_code?: number;
|
|
23955
|
+
environment: string;
|
|
23956
|
+
minute_count?: number;
|
|
23957
|
+
minute_window?: string;
|
|
23958
|
+
updated_at?: string;
|
|
23959
|
+
};
|
|
23960
|
+
Update: {
|
|
23961
|
+
account_key?: string;
|
|
23962
|
+
day_count?: number;
|
|
23963
|
+
day_date?: string;
|
|
23964
|
+
division_code?: number;
|
|
23965
|
+
environment?: string;
|
|
23966
|
+
minute_count?: number;
|
|
23967
|
+
minute_window?: string;
|
|
23968
|
+
updated_at?: string;
|
|
23969
|
+
};
|
|
23970
|
+
Relationships: [];
|
|
23971
|
+
};
|
|
23972
|
+
exact_auth_customers: {
|
|
23973
|
+
Row: {
|
|
23974
|
+
account_key: string;
|
|
23975
|
+
address_line1: string | null;
|
|
23976
|
+
chamber_of_commerce: string | null;
|
|
23977
|
+
city: string | null;
|
|
23978
|
+
code: string | null;
|
|
23979
|
+
country: string | null;
|
|
23980
|
+
created_at: string;
|
|
23981
|
+
currency: string | null;
|
|
23982
|
+
division_code: number | null;
|
|
23983
|
+
email: string | null;
|
|
23984
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23985
|
+
exact_id: string;
|
|
23986
|
+
exact_modified: string | null;
|
|
23987
|
+
exact_timestamp: number | null;
|
|
23988
|
+
id: string;
|
|
23989
|
+
is_active: boolean;
|
|
23990
|
+
name: string | null;
|
|
23991
|
+
phone: string | null;
|
|
23992
|
+
postcode: string | null;
|
|
23993
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
23994
|
+
status: string | null;
|
|
23995
|
+
updated_at: string;
|
|
23996
|
+
vat_number: string | null;
|
|
23997
|
+
website: string | null;
|
|
23998
|
+
};
|
|
23999
|
+
Insert: {
|
|
24000
|
+
account_key?: string;
|
|
24001
|
+
address_line1?: string | null;
|
|
24002
|
+
chamber_of_commerce?: string | null;
|
|
24003
|
+
city?: string | null;
|
|
24004
|
+
code?: string | null;
|
|
24005
|
+
country?: string | null;
|
|
24006
|
+
created_at?: string;
|
|
24007
|
+
currency?: string | null;
|
|
24008
|
+
division_code?: number | null;
|
|
24009
|
+
email?: string | null;
|
|
24010
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24011
|
+
exact_id: string;
|
|
24012
|
+
exact_modified?: string | null;
|
|
24013
|
+
exact_timestamp?: number | null;
|
|
24014
|
+
id?: string;
|
|
24015
|
+
is_active?: boolean;
|
|
24016
|
+
name?: string | null;
|
|
24017
|
+
phone?: string | null;
|
|
24018
|
+
postcode?: string | null;
|
|
24019
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24020
|
+
status?: string | null;
|
|
24021
|
+
updated_at?: string;
|
|
24022
|
+
vat_number?: string | null;
|
|
24023
|
+
website?: string | null;
|
|
24024
|
+
};
|
|
24025
|
+
Update: {
|
|
24026
|
+
account_key?: string;
|
|
24027
|
+
address_line1?: string | null;
|
|
24028
|
+
chamber_of_commerce?: string | null;
|
|
24029
|
+
city?: string | null;
|
|
24030
|
+
code?: string | null;
|
|
24031
|
+
country?: string | null;
|
|
24032
|
+
created_at?: string;
|
|
24033
|
+
currency?: string | null;
|
|
24034
|
+
division_code?: number | null;
|
|
24035
|
+
email?: string | null;
|
|
24036
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24037
|
+
exact_id?: string;
|
|
24038
|
+
exact_modified?: string | null;
|
|
24039
|
+
exact_timestamp?: number | null;
|
|
24040
|
+
id?: string;
|
|
24041
|
+
is_active?: boolean;
|
|
24042
|
+
name?: string | null;
|
|
24043
|
+
phone?: string | null;
|
|
24044
|
+
postcode?: string | null;
|
|
24045
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24046
|
+
status?: string | null;
|
|
24047
|
+
updated_at?: string;
|
|
24048
|
+
vat_number?: string | null;
|
|
24049
|
+
website?: string | null;
|
|
24050
|
+
};
|
|
24051
|
+
Relationships: [];
|
|
24052
|
+
};
|
|
24053
|
+
exact_auth_divisions: {
|
|
24054
|
+
Row: {
|
|
24055
|
+
account_key: string;
|
|
24056
|
+
company_name: string | null;
|
|
24057
|
+
created_at: string;
|
|
24058
|
+
division_code: number | null;
|
|
24059
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24060
|
+
id: string;
|
|
24061
|
+
last_synced_at: string | null;
|
|
24062
|
+
updated_at: string;
|
|
24063
|
+
};
|
|
24064
|
+
Insert: {
|
|
24065
|
+
account_key?: string;
|
|
24066
|
+
company_name?: string | null;
|
|
24067
|
+
created_at?: string;
|
|
24068
|
+
division_code?: number | null;
|
|
24069
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24070
|
+
id?: string;
|
|
24071
|
+
last_synced_at?: string | null;
|
|
24072
|
+
updated_at?: string;
|
|
24073
|
+
};
|
|
24074
|
+
Update: {
|
|
24075
|
+
account_key?: string;
|
|
24076
|
+
company_name?: string | null;
|
|
24077
|
+
created_at?: string;
|
|
24078
|
+
division_code?: number | null;
|
|
24079
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24080
|
+
id?: string;
|
|
24081
|
+
last_synced_at?: string | null;
|
|
24082
|
+
updated_at?: string;
|
|
24083
|
+
};
|
|
24084
|
+
Relationships: [];
|
|
24085
|
+
};
|
|
24086
|
+
exact_auth_invoice_lines: {
|
|
24087
|
+
Row: {
|
|
24088
|
+
account_key: string;
|
|
24089
|
+
amount_excl: number | null;
|
|
24090
|
+
created_at: string;
|
|
24091
|
+
description: string | null;
|
|
24092
|
+
discount: number | null;
|
|
24093
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24094
|
+
exact_id: string;
|
|
24095
|
+
exact_timestamp: number | null;
|
|
24096
|
+
id: string;
|
|
24097
|
+
invoice_exact_id: string;
|
|
24098
|
+
item_code: string | null;
|
|
24099
|
+
item_exact_id: string | null;
|
|
24100
|
+
line_number: number | null;
|
|
24101
|
+
quantity: number | null;
|
|
24102
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24103
|
+
unit_price: number | null;
|
|
24104
|
+
updated_at: string;
|
|
24105
|
+
vat_amount: number | null;
|
|
24106
|
+
vat_code: string | null;
|
|
24107
|
+
};
|
|
24108
|
+
Insert: {
|
|
24109
|
+
account_key?: string;
|
|
24110
|
+
amount_excl?: number | null;
|
|
24111
|
+
created_at?: string;
|
|
24112
|
+
description?: string | null;
|
|
24113
|
+
discount?: number | null;
|
|
24114
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24115
|
+
exact_id: string;
|
|
24116
|
+
exact_timestamp?: number | null;
|
|
24117
|
+
id?: string;
|
|
24118
|
+
invoice_exact_id: string;
|
|
24119
|
+
item_code?: string | null;
|
|
24120
|
+
item_exact_id?: string | null;
|
|
24121
|
+
line_number?: number | null;
|
|
24122
|
+
quantity?: number | null;
|
|
24123
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24124
|
+
unit_price?: number | null;
|
|
24125
|
+
updated_at?: string;
|
|
24126
|
+
vat_amount?: number | null;
|
|
24127
|
+
vat_code?: string | null;
|
|
24128
|
+
};
|
|
24129
|
+
Update: {
|
|
24130
|
+
account_key?: string;
|
|
24131
|
+
amount_excl?: number | null;
|
|
24132
|
+
created_at?: string;
|
|
24133
|
+
description?: string | null;
|
|
24134
|
+
discount?: number | null;
|
|
24135
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24136
|
+
exact_id?: string;
|
|
24137
|
+
exact_timestamp?: number | null;
|
|
24138
|
+
id?: string;
|
|
24139
|
+
invoice_exact_id?: string;
|
|
24140
|
+
item_code?: string | null;
|
|
24141
|
+
item_exact_id?: string | null;
|
|
24142
|
+
line_number?: number | null;
|
|
24143
|
+
quantity?: number | null;
|
|
24144
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24145
|
+
unit_price?: number | null;
|
|
24146
|
+
updated_at?: string;
|
|
24147
|
+
vat_amount?: number | null;
|
|
24148
|
+
vat_code?: string | null;
|
|
24149
|
+
};
|
|
24150
|
+
Relationships: [];
|
|
24151
|
+
};
|
|
24152
|
+
exact_auth_invoices: {
|
|
24153
|
+
Row: {
|
|
24154
|
+
account_key: string;
|
|
24155
|
+
amount_excl: number | null;
|
|
24156
|
+
amount_incl: number | null;
|
|
24157
|
+
amount_open: number | null;
|
|
24158
|
+
created_at: string;
|
|
24159
|
+
currency: string | null;
|
|
24160
|
+
customer_code: string | null;
|
|
24161
|
+
customer_exact_id: string | null;
|
|
24162
|
+
customer_name: string | null;
|
|
24163
|
+
description: string | null;
|
|
24164
|
+
division_code: number | null;
|
|
24165
|
+
due_date: string | null;
|
|
24166
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24167
|
+
exact_id: string;
|
|
24168
|
+
exact_modified: string | null;
|
|
24169
|
+
exact_timestamp: number | null;
|
|
24170
|
+
id: string;
|
|
24171
|
+
invoice_date: string | null;
|
|
24172
|
+
invoice_number: string | null;
|
|
24173
|
+
order_number: string | null;
|
|
24174
|
+
paid_at: string | null;
|
|
24175
|
+
payment_status: string;
|
|
24176
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24177
|
+
receivable_synced_at: string | null;
|
|
24178
|
+
status_code: number | null;
|
|
24179
|
+
updated_at: string;
|
|
24180
|
+
};
|
|
24181
|
+
Insert: {
|
|
24182
|
+
account_key?: string;
|
|
24183
|
+
amount_excl?: number | null;
|
|
24184
|
+
amount_incl?: number | null;
|
|
24185
|
+
amount_open?: number | null;
|
|
24186
|
+
created_at?: string;
|
|
24187
|
+
currency?: string | null;
|
|
24188
|
+
customer_code?: string | null;
|
|
24189
|
+
customer_exact_id?: string | null;
|
|
24190
|
+
customer_name?: string | null;
|
|
24191
|
+
description?: string | null;
|
|
24192
|
+
division_code?: number | null;
|
|
24193
|
+
due_date?: string | null;
|
|
24194
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24195
|
+
exact_id: string;
|
|
24196
|
+
exact_modified?: string | null;
|
|
24197
|
+
exact_timestamp?: number | null;
|
|
24198
|
+
id?: string;
|
|
24199
|
+
invoice_date?: string | null;
|
|
24200
|
+
invoice_number?: string | null;
|
|
24201
|
+
order_number?: string | null;
|
|
24202
|
+
paid_at?: string | null;
|
|
24203
|
+
payment_status?: string;
|
|
24204
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24205
|
+
receivable_synced_at?: string | null;
|
|
24206
|
+
status_code?: number | null;
|
|
24207
|
+
updated_at?: string;
|
|
24208
|
+
};
|
|
24209
|
+
Update: {
|
|
24210
|
+
account_key?: string;
|
|
24211
|
+
amount_excl?: number | null;
|
|
24212
|
+
amount_incl?: number | null;
|
|
24213
|
+
amount_open?: number | null;
|
|
24214
|
+
created_at?: string;
|
|
24215
|
+
currency?: string | null;
|
|
24216
|
+
customer_code?: string | null;
|
|
24217
|
+
customer_exact_id?: string | null;
|
|
24218
|
+
customer_name?: string | null;
|
|
24219
|
+
description?: string | null;
|
|
24220
|
+
division_code?: number | null;
|
|
24221
|
+
due_date?: string | null;
|
|
24222
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24223
|
+
exact_id?: string;
|
|
24224
|
+
exact_modified?: string | null;
|
|
24225
|
+
exact_timestamp?: number | null;
|
|
24226
|
+
id?: string;
|
|
24227
|
+
invoice_date?: string | null;
|
|
24228
|
+
invoice_number?: string | null;
|
|
24229
|
+
order_number?: string | null;
|
|
24230
|
+
paid_at?: string | null;
|
|
24231
|
+
payment_status?: string;
|
|
24232
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24233
|
+
receivable_synced_at?: string | null;
|
|
24234
|
+
status_code?: number | null;
|
|
24235
|
+
updated_at?: string;
|
|
24236
|
+
};
|
|
24237
|
+
Relationships: [];
|
|
24238
|
+
};
|
|
24239
|
+
exact_auth_items: {
|
|
24240
|
+
Row: {
|
|
24241
|
+
account_key: string;
|
|
24242
|
+
barcode: string | null;
|
|
24243
|
+
code: string | null;
|
|
24244
|
+
cost_price: number | null;
|
|
24245
|
+
created_at: string;
|
|
24246
|
+
description: string | null;
|
|
24247
|
+
division_code: number | null;
|
|
24248
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24249
|
+
exact_id: string;
|
|
24250
|
+
exact_modified: string | null;
|
|
24251
|
+
exact_timestamp: number | null;
|
|
24252
|
+
gl_account_code: string | null;
|
|
24253
|
+
id: string;
|
|
24254
|
+
is_active: boolean;
|
|
24255
|
+
is_sales_item: boolean | null;
|
|
24256
|
+
item_type: string | null;
|
|
24257
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24258
|
+
sales_price: number | null;
|
|
24259
|
+
unit: string | null;
|
|
24260
|
+
updated_at: string;
|
|
24261
|
+
vat_code: string | null;
|
|
24262
|
+
};
|
|
24263
|
+
Insert: {
|
|
24264
|
+
account_key?: string;
|
|
24265
|
+
barcode?: string | null;
|
|
24266
|
+
code?: string | null;
|
|
24267
|
+
cost_price?: number | null;
|
|
24268
|
+
created_at?: string;
|
|
24269
|
+
description?: string | null;
|
|
24270
|
+
division_code?: number | null;
|
|
24271
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24272
|
+
exact_id: string;
|
|
24273
|
+
exact_modified?: string | null;
|
|
24274
|
+
exact_timestamp?: number | null;
|
|
24275
|
+
gl_account_code?: string | null;
|
|
24276
|
+
id?: string;
|
|
24277
|
+
is_active?: boolean;
|
|
24278
|
+
is_sales_item?: boolean | null;
|
|
24279
|
+
item_type?: string | null;
|
|
24280
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24281
|
+
sales_price?: number | null;
|
|
24282
|
+
unit?: string | null;
|
|
24283
|
+
updated_at?: string;
|
|
24284
|
+
vat_code?: string | null;
|
|
24285
|
+
};
|
|
24286
|
+
Update: {
|
|
24287
|
+
account_key?: string;
|
|
24288
|
+
barcode?: string | null;
|
|
24289
|
+
code?: string | null;
|
|
24290
|
+
cost_price?: number | null;
|
|
24291
|
+
created_at?: string;
|
|
24292
|
+
description?: string | null;
|
|
24293
|
+
division_code?: number | null;
|
|
24294
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24295
|
+
exact_id?: string;
|
|
24296
|
+
exact_modified?: string | null;
|
|
24297
|
+
exact_timestamp?: number | null;
|
|
24298
|
+
gl_account_code?: string | null;
|
|
24299
|
+
id?: string;
|
|
24300
|
+
is_active?: boolean;
|
|
24301
|
+
is_sales_item?: boolean | null;
|
|
24302
|
+
item_type?: string | null;
|
|
24303
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24304
|
+
sales_price?: number | null;
|
|
24305
|
+
unit?: string | null;
|
|
24306
|
+
updated_at?: string;
|
|
24307
|
+
vat_code?: string | null;
|
|
24308
|
+
};
|
|
24309
|
+
Relationships: [];
|
|
24310
|
+
};
|
|
24311
|
+
exact_auth_sync_log: {
|
|
24312
|
+
Row: {
|
|
24313
|
+
account_key: string;
|
|
24314
|
+
calls_used: number;
|
|
24315
|
+
created_at: string;
|
|
24316
|
+
domain: string;
|
|
24317
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24318
|
+
error: string | null;
|
|
24319
|
+
finished_at: string | null;
|
|
24320
|
+
id: string;
|
|
24321
|
+
ok: boolean;
|
|
24322
|
+
records: number;
|
|
24323
|
+
started_at: string;
|
|
24324
|
+
};
|
|
24325
|
+
Insert: {
|
|
24326
|
+
account_key?: string;
|
|
24327
|
+
calls_used?: number;
|
|
24328
|
+
created_at?: string;
|
|
24329
|
+
domain: string;
|
|
24330
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24331
|
+
error?: string | null;
|
|
24332
|
+
finished_at?: string | null;
|
|
24333
|
+
id?: string;
|
|
24334
|
+
ok?: boolean;
|
|
24335
|
+
records?: number;
|
|
24336
|
+
started_at?: string;
|
|
24337
|
+
};
|
|
24338
|
+
Update: {
|
|
24339
|
+
account_key?: string;
|
|
24340
|
+
calls_used?: number;
|
|
24341
|
+
created_at?: string;
|
|
24342
|
+
domain?: string;
|
|
24343
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24344
|
+
error?: string | null;
|
|
24345
|
+
finished_at?: string | null;
|
|
24346
|
+
id?: string;
|
|
24347
|
+
ok?: boolean;
|
|
24348
|
+
records?: number;
|
|
24349
|
+
started_at?: string;
|
|
24350
|
+
};
|
|
24351
|
+
Relationships: [];
|
|
24352
|
+
};
|
|
24353
|
+
exact_auth_sync_state: {
|
|
24354
|
+
Row: {
|
|
24355
|
+
account_key: string;
|
|
24356
|
+
created_at: string;
|
|
24357
|
+
cursor_timestamp: number;
|
|
24358
|
+
division_code: number | null;
|
|
24359
|
+
domain: string;
|
|
24360
|
+
duration_ms: number | null;
|
|
24361
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24362
|
+
initial_sync_done: boolean;
|
|
24363
|
+
last_error: string | null;
|
|
24364
|
+
last_run_at: string | null;
|
|
24365
|
+
last_success_at: string | null;
|
|
24366
|
+
locked_at: string | null;
|
|
24367
|
+
needs_initial_sync: boolean;
|
|
24368
|
+
record_count: number;
|
|
24369
|
+
updated_at: string;
|
|
24370
|
+
};
|
|
24371
|
+
Insert: {
|
|
24372
|
+
account_key?: string;
|
|
24373
|
+
created_at?: string;
|
|
24374
|
+
cursor_timestamp?: number;
|
|
24375
|
+
division_code?: number | null;
|
|
24376
|
+
domain: string;
|
|
24377
|
+
duration_ms?: number | null;
|
|
24378
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24379
|
+
initial_sync_done?: boolean;
|
|
24380
|
+
last_error?: string | null;
|
|
24381
|
+
last_run_at?: string | null;
|
|
24382
|
+
last_success_at?: string | null;
|
|
24383
|
+
locked_at?: string | null;
|
|
24384
|
+
needs_initial_sync?: boolean;
|
|
24385
|
+
record_count?: number;
|
|
24386
|
+
updated_at?: string;
|
|
24387
|
+
};
|
|
24388
|
+
Update: {
|
|
24389
|
+
account_key?: string;
|
|
24390
|
+
created_at?: string;
|
|
24391
|
+
cursor_timestamp?: number;
|
|
24392
|
+
division_code?: number | null;
|
|
24393
|
+
domain?: string;
|
|
24394
|
+
duration_ms?: number | null;
|
|
24395
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24396
|
+
initial_sync_done?: boolean;
|
|
24397
|
+
last_error?: string | null;
|
|
24398
|
+
last_run_at?: string | null;
|
|
24399
|
+
last_success_at?: string | null;
|
|
24400
|
+
locked_at?: string | null;
|
|
24401
|
+
needs_initial_sync?: boolean;
|
|
24402
|
+
record_count?: number;
|
|
24403
|
+
updated_at?: string;
|
|
24404
|
+
};
|
|
24405
|
+
Relationships: [];
|
|
24406
|
+
};
|
|
23117
24407
|
exact_bulk_operation_items: {
|
|
23118
24408
|
Row: {
|
|
23119
24409
|
attempts: number;
|
|
@@ -27776,6 +29066,66 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
27776
29066
|
};
|
|
27777
29067
|
Relationships: [];
|
|
27778
29068
|
};
|
|
29069
|
+
logistics_recalc_jobs: {
|
|
29070
|
+
Row: {
|
|
29071
|
+
carts_created: number;
|
|
29072
|
+
created_at: string;
|
|
29073
|
+
cursor: string | null;
|
|
29074
|
+
errors: import("../integrations/supabase/types").Json;
|
|
29075
|
+
failed: number;
|
|
29076
|
+
finished_at: string | null;
|
|
29077
|
+
id: string;
|
|
29078
|
+
last_tick_at: string | null;
|
|
29079
|
+
phase: string;
|
|
29080
|
+
processed: number;
|
|
29081
|
+
skipped_locked: number;
|
|
29082
|
+
started_by: string | null;
|
|
29083
|
+
status: string;
|
|
29084
|
+
steps: import("../integrations/supabase/types").Json;
|
|
29085
|
+
strategy_id: string | null;
|
|
29086
|
+
tasks_updated: number;
|
|
29087
|
+
updated_at: string;
|
|
29088
|
+
};
|
|
29089
|
+
Insert: {
|
|
29090
|
+
carts_created?: number;
|
|
29091
|
+
created_at?: string;
|
|
29092
|
+
cursor?: string | null;
|
|
29093
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29094
|
+
failed?: number;
|
|
29095
|
+
finished_at?: string | null;
|
|
29096
|
+
id?: string;
|
|
29097
|
+
last_tick_at?: string | null;
|
|
29098
|
+
phase?: string;
|
|
29099
|
+
processed?: number;
|
|
29100
|
+
skipped_locked?: number;
|
|
29101
|
+
started_by?: string | null;
|
|
29102
|
+
status?: string;
|
|
29103
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29104
|
+
strategy_id?: string | null;
|
|
29105
|
+
tasks_updated?: number;
|
|
29106
|
+
updated_at?: string;
|
|
29107
|
+
};
|
|
29108
|
+
Update: {
|
|
29109
|
+
carts_created?: number;
|
|
29110
|
+
created_at?: string;
|
|
29111
|
+
cursor?: string | null;
|
|
29112
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29113
|
+
failed?: number;
|
|
29114
|
+
finished_at?: string | null;
|
|
29115
|
+
id?: string;
|
|
29116
|
+
last_tick_at?: string | null;
|
|
29117
|
+
phase?: string;
|
|
29118
|
+
processed?: number;
|
|
29119
|
+
skipped_locked?: number;
|
|
29120
|
+
started_by?: string | null;
|
|
29121
|
+
status?: string;
|
|
29122
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29123
|
+
strategy_id?: string | null;
|
|
29124
|
+
tasks_updated?: number;
|
|
29125
|
+
updated_at?: string;
|
|
29126
|
+
};
|
|
29127
|
+
Relationships: [];
|
|
29128
|
+
};
|
|
27779
29129
|
logistics_reschedules: {
|
|
27780
29130
|
Row: {
|
|
27781
29131
|
created_at: string;
|
|
@@ -28138,6 +29488,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
28138
29488
|
};
|
|
28139
29489
|
logistics_tasks: {
|
|
28140
29490
|
Row: {
|
|
29491
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29492
|
+
attempts: number;
|
|
28141
29493
|
buffer_ref: string | null;
|
|
28142
29494
|
claimed_at: string | null;
|
|
28143
29495
|
claimed_by: string | null;
|
|
@@ -28147,6 +29499,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
28147
29499
|
due_at: string | null;
|
|
28148
29500
|
error: string | null;
|
|
28149
29501
|
id: string;
|
|
29502
|
+
last_error: string | null;
|
|
29503
|
+
next_attempt_at: string | null;
|
|
28150
29504
|
order_ref: string;
|
|
28151
29505
|
owner_module: string;
|
|
28152
29506
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -28167,6 +29521,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
28167
29521
|
user_id: string;
|
|
28168
29522
|
};
|
|
28169
29523
|
Insert: {
|
|
29524
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29525
|
+
attempts?: number;
|
|
28170
29526
|
buffer_ref?: string | null;
|
|
28171
29527
|
claimed_at?: string | null;
|
|
28172
29528
|
claimed_by?: string | null;
|
|
@@ -28176,6 +29532,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
28176
29532
|
due_at?: string | null;
|
|
28177
29533
|
error?: string | null;
|
|
28178
29534
|
id?: string;
|
|
29535
|
+
last_error?: string | null;
|
|
29536
|
+
next_attempt_at?: string | null;
|
|
28179
29537
|
order_ref: string;
|
|
28180
29538
|
owner_module: string;
|
|
28181
29539
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28196,6 +29554,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
28196
29554
|
user_id?: string;
|
|
28197
29555
|
};
|
|
28198
29556
|
Update: {
|
|
29557
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29558
|
+
attempts?: number;
|
|
28199
29559
|
buffer_ref?: string | null;
|
|
28200
29560
|
claimed_at?: string | null;
|
|
28201
29561
|
claimed_by?: string | null;
|
|
@@ -28205,6 +29565,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
28205
29565
|
due_at?: string | null;
|
|
28206
29566
|
error?: string | null;
|
|
28207
29567
|
id?: string;
|
|
29568
|
+
last_error?: string | null;
|
|
29569
|
+
next_attempt_at?: string | null;
|
|
28208
29570
|
order_ref?: string;
|
|
28209
29571
|
owner_module?: string;
|
|
28210
29572
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29554,6 +30916,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29554
30916
|
};
|
|
29555
30917
|
offer_settings: {
|
|
29556
30918
|
Row: {
|
|
30919
|
+
brand_name: string | null;
|
|
29557
30920
|
button_color: string;
|
|
29558
30921
|
created_at: string;
|
|
29559
30922
|
default_countries: string[];
|
|
@@ -29575,6 +30938,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29575
30938
|
updated_at: string;
|
|
29576
30939
|
};
|
|
29577
30940
|
Insert: {
|
|
30941
|
+
brand_name?: string | null;
|
|
29578
30942
|
button_color?: string;
|
|
29579
30943
|
created_at?: string;
|
|
29580
30944
|
default_countries?: string[];
|
|
@@ -29596,6 +30960,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29596
30960
|
updated_at?: string;
|
|
29597
30961
|
};
|
|
29598
30962
|
Update: {
|
|
30963
|
+
brand_name?: string | null;
|
|
29599
30964
|
button_color?: string;
|
|
29600
30965
|
created_at?: string;
|
|
29601
30966
|
default_countries?: string[];
|
|
@@ -33005,6 +34370,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33005
34370
|
buffer_key: string | null;
|
|
33006
34371
|
created_at: string;
|
|
33007
34372
|
customer_names: string[];
|
|
34373
|
+
device_id: string | null;
|
|
33008
34374
|
geprint: boolean;
|
|
33009
34375
|
geprint_op: string | null;
|
|
33010
34376
|
id: string;
|
|
@@ -33014,6 +34380,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33014
34380
|
naar_pickstation: boolean;
|
|
33015
34381
|
naar_pickstation_op: string | null;
|
|
33016
34382
|
order_number: string | null;
|
|
34383
|
+
scanner_id: string | null;
|
|
33017
34384
|
scanner_key: string;
|
|
33018
34385
|
status: string;
|
|
33019
34386
|
totaal_producten: number;
|
|
@@ -33024,6 +34391,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33024
34391
|
buffer_key?: string | null;
|
|
33025
34392
|
created_at?: string;
|
|
33026
34393
|
customer_names?: string[];
|
|
34394
|
+
device_id?: string | null;
|
|
33027
34395
|
geprint?: boolean;
|
|
33028
34396
|
geprint_op?: string | null;
|
|
33029
34397
|
id?: string;
|
|
@@ -33033,6 +34401,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33033
34401
|
naar_pickstation?: boolean;
|
|
33034
34402
|
naar_pickstation_op?: string | null;
|
|
33035
34403
|
order_number?: string | null;
|
|
34404
|
+
scanner_id?: string | null;
|
|
33036
34405
|
scanner_key?: string;
|
|
33037
34406
|
status?: string;
|
|
33038
34407
|
totaal_producten?: number;
|
|
@@ -33043,6 +34412,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33043
34412
|
buffer_key?: string | null;
|
|
33044
34413
|
created_at?: string;
|
|
33045
34414
|
customer_names?: string[];
|
|
34415
|
+
device_id?: string | null;
|
|
33046
34416
|
geprint?: boolean;
|
|
33047
34417
|
geprint_op?: string | null;
|
|
33048
34418
|
id?: string;
|
|
@@ -33052,6 +34422,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33052
34422
|
naar_pickstation?: boolean;
|
|
33053
34423
|
naar_pickstation_op?: string | null;
|
|
33054
34424
|
order_number?: string | null;
|
|
34425
|
+
scanner_id?: string | null;
|
|
33055
34426
|
scanner_key?: string;
|
|
33056
34427
|
status?: string;
|
|
33057
34428
|
totaal_producten?: number;
|
|
@@ -33063,31 +34434,46 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33063
34434
|
Row: {
|
|
33064
34435
|
code: string;
|
|
33065
34436
|
created_at: string;
|
|
34437
|
+
device_id: string | null;
|
|
33066
34438
|
id: string;
|
|
33067
34439
|
kar_id: string | null;
|
|
34440
|
+
latency_ms: number | null;
|
|
34441
|
+
medewerker_naam: string | null;
|
|
33068
34442
|
message: string | null;
|
|
33069
34443
|
result: string;
|
|
34444
|
+
retry_count: number;
|
|
33070
34445
|
scanner_key: string;
|
|
34446
|
+
session_id: string | null;
|
|
33071
34447
|
user_id: string | null;
|
|
33072
34448
|
};
|
|
33073
34449
|
Insert: {
|
|
33074
34450
|
code: string;
|
|
33075
34451
|
created_at?: string;
|
|
34452
|
+
device_id?: string | null;
|
|
33076
34453
|
id?: string;
|
|
33077
34454
|
kar_id?: string | null;
|
|
34455
|
+
latency_ms?: number | null;
|
|
34456
|
+
medewerker_naam?: string | null;
|
|
33078
34457
|
message?: string | null;
|
|
33079
34458
|
result: string;
|
|
34459
|
+
retry_count?: number;
|
|
33080
34460
|
scanner_key?: string;
|
|
34461
|
+
session_id?: string | null;
|
|
33081
34462
|
user_id?: string | null;
|
|
33082
34463
|
};
|
|
33083
34464
|
Update: {
|
|
33084
34465
|
code?: string;
|
|
33085
34466
|
created_at?: string;
|
|
34467
|
+
device_id?: string | null;
|
|
33086
34468
|
id?: string;
|
|
33087
34469
|
kar_id?: string | null;
|
|
34470
|
+
latency_ms?: number | null;
|
|
34471
|
+
medewerker_naam?: string | null;
|
|
33088
34472
|
message?: string | null;
|
|
33089
34473
|
result?: string;
|
|
34474
|
+
retry_count?: number;
|
|
33090
34475
|
scanner_key?: string;
|
|
34476
|
+
session_id?: string | null;
|
|
33091
34477
|
user_id?: string | null;
|
|
33092
34478
|
};
|
|
33093
34479
|
Relationships: [];
|
|
@@ -33144,6 +34530,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33144
34530
|
printed_at: string;
|
|
33145
34531
|
status: string;
|
|
33146
34532
|
updated_at: string;
|
|
34533
|
+
vergrendeld_door: string | null;
|
|
34534
|
+
vergrendeld_sessie: string | null;
|
|
34535
|
+
vergrendeld_tot: string | null;
|
|
33147
34536
|
};
|
|
33148
34537
|
Insert: {
|
|
33149
34538
|
barcode: string;
|
|
@@ -33157,6 +34546,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33157
34546
|
printed_at?: string;
|
|
33158
34547
|
status?: string;
|
|
33159
34548
|
updated_at?: string;
|
|
34549
|
+
vergrendeld_door?: string | null;
|
|
34550
|
+
vergrendeld_sessie?: string | null;
|
|
34551
|
+
vergrendeld_tot?: string | null;
|
|
33160
34552
|
};
|
|
33161
34553
|
Update: {
|
|
33162
34554
|
barcode?: string;
|
|
@@ -33170,6 +34562,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33170
34562
|
printed_at?: string;
|
|
33171
34563
|
status?: string;
|
|
33172
34564
|
updated_at?: string;
|
|
34565
|
+
vergrendeld_door?: string | null;
|
|
34566
|
+
vergrendeld_sessie?: string | null;
|
|
34567
|
+
vergrendeld_tot?: string | null;
|
|
33173
34568
|
};
|
|
33174
34569
|
Relationships: [];
|
|
33175
34570
|
};
|
|
@@ -33178,31 +34573,40 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
33178
34573
|
actief: boolean;
|
|
33179
34574
|
created_at: string;
|
|
33180
34575
|
id: string;
|
|
34576
|
+
max_producten_per_kar: number | null;
|
|
33181
34577
|
naam: string;
|
|
33182
34578
|
omschrijving: string | null;
|
|
34579
|
+
pincode: string | null;
|
|
33183
34580
|
slug: string;
|
|
33184
34581
|
type: string;
|
|
33185
34582
|
updated_at: string;
|
|
34583
|
+
vereist_medewerker: boolean;
|
|
33186
34584
|
};
|
|
33187
34585
|
Insert: {
|
|
33188
34586
|
actief?: boolean;
|
|
33189
34587
|
created_at?: string;
|
|
33190
34588
|
id?: string;
|
|
34589
|
+
max_producten_per_kar?: number | null;
|
|
33191
34590
|
naam: string;
|
|
33192
34591
|
omschrijving?: string | null;
|
|
34592
|
+
pincode?: string | null;
|
|
33193
34593
|
slug: string;
|
|
33194
34594
|
type?: string;
|
|
33195
34595
|
updated_at?: string;
|
|
34596
|
+
vereist_medewerker?: boolean;
|
|
33196
34597
|
};
|
|
33197
34598
|
Update: {
|
|
33198
34599
|
actief?: boolean;
|
|
33199
34600
|
created_at?: string;
|
|
33200
34601
|
id?: string;
|
|
34602
|
+
max_producten_per_kar?: number | null;
|
|
33201
34603
|
naam?: string;
|
|
33202
34604
|
omschrijving?: string | null;
|
|
34605
|
+
pincode?: string | null;
|
|
33203
34606
|
slug?: string;
|
|
33204
34607
|
type?: string;
|
|
33205
34608
|
updated_at?: string;
|
|
34609
|
+
vereist_medewerker?: boolean;
|
|
33206
34610
|
};
|
|
33207
34611
|
Relationships: [];
|
|
33208
34612
|
};
|
|
@@ -37167,6 +38571,54 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37167
38571
|
};
|
|
37168
38572
|
Returns: import("../integrations/supabase/types").Json;
|
|
37169
38573
|
};
|
|
38574
|
+
claim_logistics_tasks: {
|
|
38575
|
+
Args: {
|
|
38576
|
+
_limit?: number;
|
|
38577
|
+
_owner_module: string;
|
|
38578
|
+
_stale_minutes?: number;
|
|
38579
|
+
_task_type: string;
|
|
38580
|
+
_worker: string;
|
|
38581
|
+
};
|
|
38582
|
+
Returns: {
|
|
38583
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38584
|
+
attempts: number;
|
|
38585
|
+
buffer_ref: string | null;
|
|
38586
|
+
claimed_at: string | null;
|
|
38587
|
+
claimed_by: string | null;
|
|
38588
|
+
completed_at: string | null;
|
|
38589
|
+
created_at: string;
|
|
38590
|
+
depends_on: string[];
|
|
38591
|
+
due_at: string | null;
|
|
38592
|
+
error: string | null;
|
|
38593
|
+
id: string;
|
|
38594
|
+
last_error: string | null;
|
|
38595
|
+
next_attempt_at: string | null;
|
|
38596
|
+
order_ref: string;
|
|
38597
|
+
owner_module: string;
|
|
38598
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38599
|
+
plan_run_id: string | null;
|
|
38600
|
+
planned_end: string | null;
|
|
38601
|
+
planned_start: string | null;
|
|
38602
|
+
priority: number;
|
|
38603
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38604
|
+
rule_config_id: string | null;
|
|
38605
|
+
rule_version: number | null;
|
|
38606
|
+
sequence: number;
|
|
38607
|
+
shadow: boolean;
|
|
38608
|
+
started_at: string | null;
|
|
38609
|
+
status: string;
|
|
38610
|
+
strategy_id: string | null;
|
|
38611
|
+
task_type: string;
|
|
38612
|
+
updated_at: string;
|
|
38613
|
+
user_id: string;
|
|
38614
|
+
}[];
|
|
38615
|
+
SetofOptions: {
|
|
38616
|
+
from: "*";
|
|
38617
|
+
to: "logistics_tasks";
|
|
38618
|
+
isOneToOne: false;
|
|
38619
|
+
isSetofReturn: true;
|
|
38620
|
+
};
|
|
38621
|
+
};
|
|
37170
38622
|
claim_print_jobs: {
|
|
37171
38623
|
Args: {
|
|
37172
38624
|
_agent_id: string;
|
|
@@ -37407,6 +38859,21 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37407
38859
|
Args: never;
|
|
37408
38860
|
Returns: string;
|
|
37409
38861
|
};
|
|
38862
|
+
exact_auth_consume_calls: {
|
|
38863
|
+
Args: {
|
|
38864
|
+
_account_key: string;
|
|
38865
|
+
_calls?: number;
|
|
38866
|
+
_day_limit?: number;
|
|
38867
|
+
_division_code: number;
|
|
38868
|
+
_environment: string;
|
|
38869
|
+
_minute_limit?: number;
|
|
38870
|
+
};
|
|
38871
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38872
|
+
};
|
|
38873
|
+
exact_auth_prune_sync_log: {
|
|
38874
|
+
Args: never;
|
|
38875
|
+
Returns: undefined;
|
|
38876
|
+
};
|
|
37410
38877
|
exact_decrypt: {
|
|
37411
38878
|
Args: {
|
|
37412
38879
|
cipher: string;
|
|
@@ -37616,6 +39083,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37616
39083
|
};
|
|
37617
39084
|
Returns: number;
|
|
37618
39085
|
};
|
|
39086
|
+
get_offer_branding: {
|
|
39087
|
+
Args: never;
|
|
39088
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39089
|
+
};
|
|
37619
39090
|
get_offer_by_link_code: {
|
|
37620
39091
|
Args: {
|
|
37621
39092
|
p_code: string;
|
|
@@ -37787,6 +39258,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37787
39258
|
};
|
|
37788
39259
|
Returns: string;
|
|
37789
39260
|
};
|
|
39261
|
+
logistics_active_pick_workdays: {
|
|
39262
|
+
Args: never;
|
|
39263
|
+
Returns: string[];
|
|
39264
|
+
};
|
|
37790
39265
|
logistics_address_key: {
|
|
37791
39266
|
Args: {
|
|
37792
39267
|
p_location: string;
|
|
@@ -37903,6 +39378,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37903
39378
|
p_worker?: string;
|
|
37904
39379
|
};
|
|
37905
39380
|
Returns: {
|
|
39381
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39382
|
+
attempts: number;
|
|
37906
39383
|
buffer_ref: string | null;
|
|
37907
39384
|
claimed_at: string | null;
|
|
37908
39385
|
claimed_by: string | null;
|
|
@@ -37912,6 +39389,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37912
39389
|
due_at: string | null;
|
|
37913
39390
|
error: string | null;
|
|
37914
39391
|
id: string;
|
|
39392
|
+
last_error: string | null;
|
|
39393
|
+
next_attempt_at: string | null;
|
|
37915
39394
|
order_ref: string;
|
|
37916
39395
|
owner_module: string;
|
|
37917
39396
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37944,6 +39423,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37944
39423
|
p_worker?: string;
|
|
37945
39424
|
};
|
|
37946
39425
|
Returns: {
|
|
39426
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39427
|
+
attempts: number;
|
|
37947
39428
|
buffer_ref: string | null;
|
|
37948
39429
|
claimed_at: string | null;
|
|
37949
39430
|
claimed_by: string | null;
|
|
@@ -37953,6 +39434,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37953
39434
|
due_at: string | null;
|
|
37954
39435
|
error: string | null;
|
|
37955
39436
|
id: string;
|
|
39437
|
+
last_error: string | null;
|
|
39438
|
+
next_attempt_at: string | null;
|
|
37956
39439
|
order_ref: string;
|
|
37957
39440
|
owner_module: string;
|
|
37958
39441
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37985,6 +39468,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37985
39468
|
p_task_id: string;
|
|
37986
39469
|
};
|
|
37987
39470
|
Returns: {
|
|
39471
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39472
|
+
attempts: number;
|
|
37988
39473
|
buffer_ref: string | null;
|
|
37989
39474
|
claimed_at: string | null;
|
|
37990
39475
|
claimed_by: string | null;
|
|
@@ -37994,6 +39479,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37994
39479
|
due_at: string | null;
|
|
37995
39480
|
error: string | null;
|
|
37996
39481
|
id: string;
|
|
39482
|
+
last_error: string | null;
|
|
39483
|
+
next_attempt_at: string | null;
|
|
37997
39484
|
order_ref: string;
|
|
37998
39485
|
owner_module: string;
|
|
37999
39486
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38075,6 +39562,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
38075
39562
|
p_task_id: string;
|
|
38076
39563
|
};
|
|
38077
39564
|
Returns: {
|
|
39565
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39566
|
+
attempts: number;
|
|
38078
39567
|
buffer_ref: string | null;
|
|
38079
39568
|
claimed_at: string | null;
|
|
38080
39569
|
claimed_by: string | null;
|
|
@@ -38084,6 +39573,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
38084
39573
|
due_at: string | null;
|
|
38085
39574
|
error: string | null;
|
|
38086
39575
|
id: string;
|
|
39576
|
+
last_error: string | null;
|
|
39577
|
+
next_attempt_at: string | null;
|
|
38087
39578
|
order_ref: string;
|
|
38088
39579
|
owner_module: string;
|
|
38089
39580
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38110,12 +39601,30 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
38110
39601
|
isSetofReturn: false;
|
|
38111
39602
|
};
|
|
38112
39603
|
};
|
|
39604
|
+
logistics_live_carriers: {
|
|
39605
|
+
Args: {
|
|
39606
|
+
p_order_ref: string;
|
|
39607
|
+
};
|
|
39608
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39609
|
+
};
|
|
39610
|
+
logistics_live_cart_count: {
|
|
39611
|
+
Args: {
|
|
39612
|
+
p_order_ref: string;
|
|
39613
|
+
};
|
|
39614
|
+
Returns: number;
|
|
39615
|
+
};
|
|
38113
39616
|
logistics_not_past: {
|
|
38114
39617
|
Args: {
|
|
38115
39618
|
p_ts: string;
|
|
38116
39619
|
};
|
|
38117
39620
|
Returns: string;
|
|
38118
39621
|
};
|
|
39622
|
+
logistics_order_cart_count: {
|
|
39623
|
+
Args: {
|
|
39624
|
+
p_order_ref: string;
|
|
39625
|
+
};
|
|
39626
|
+
Returns: number;
|
|
39627
|
+
};
|
|
38119
39628
|
logistics_order_pick_day: {
|
|
38120
39629
|
Args: {
|
|
38121
39630
|
p_order_ref: string;
|
|
@@ -38292,6 +39801,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
38292
39801
|
};
|
|
38293
39802
|
Returns: import("../integrations/supabase/types").Json;
|
|
38294
39803
|
};
|
|
39804
|
+
logistics_shift_to_workday: {
|
|
39805
|
+
Args: {
|
|
39806
|
+
p_days: string[];
|
|
39807
|
+
p_ts: string;
|
|
39808
|
+
};
|
|
39809
|
+
Returns: string;
|
|
39810
|
+
};
|
|
38295
39811
|
logistics_supersede_stale_tasks: {
|
|
38296
39812
|
Args: {
|
|
38297
39813
|
p_keep: string[];
|
|
@@ -38577,6 +40093,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
38577
40093
|
isSetofReturn: false;
|
|
38578
40094
|
};
|
|
38579
40095
|
};
|
|
40096
|
+
pick_current_pick_day: {
|
|
40097
|
+
Args: never;
|
|
40098
|
+
Returns: string;
|
|
40099
|
+
};
|
|
38580
40100
|
pick_document_layout_data: {
|
|
38581
40101
|
Args: {
|
|
38582
40102
|
_layout_id: string;
|
|
@@ -38808,10 +40328,68 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
38808
40328
|
Args: never;
|
|
38809
40329
|
Returns: undefined;
|
|
38810
40330
|
};
|
|
40331
|
+
run_logistics_tasks_dispatch: {
|
|
40332
|
+
Args: never;
|
|
40333
|
+
Returns: undefined;
|
|
40334
|
+
};
|
|
38811
40335
|
run_twinfield_queue_tick: {
|
|
38812
40336
|
Args: never;
|
|
38813
40337
|
Returns: undefined;
|
|
38814
40338
|
};
|
|
40339
|
+
scan_cancel_kar: {
|
|
40340
|
+
Args: {
|
|
40341
|
+
p_kar_id: string;
|
|
40342
|
+
};
|
|
40343
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40344
|
+
};
|
|
40345
|
+
scan_dashboard_stats: {
|
|
40346
|
+
Args: {
|
|
40347
|
+
p_dagen?: number;
|
|
40348
|
+
};
|
|
40349
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40350
|
+
};
|
|
40351
|
+
scan_finish_kar: {
|
|
40352
|
+
Args: {
|
|
40353
|
+
p_kar_id: string;
|
|
40354
|
+
};
|
|
40355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40356
|
+
};
|
|
40357
|
+
scan_register_item: {
|
|
40358
|
+
Args: {
|
|
40359
|
+
p_kar_id: string;
|
|
40360
|
+
p_pakbon_item_id: string;
|
|
40361
|
+
p_scanned_by?: string;
|
|
40362
|
+
};
|
|
40363
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40364
|
+
};
|
|
40365
|
+
scan_release_expired_locks: {
|
|
40366
|
+
Args: never;
|
|
40367
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40368
|
+
};
|
|
40369
|
+
scan_remove_item: {
|
|
40370
|
+
Args: {
|
|
40371
|
+
p_kar_item_id: string;
|
|
40372
|
+
};
|
|
40373
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40374
|
+
};
|
|
40375
|
+
scan_start_kar: {
|
|
40376
|
+
Args: {
|
|
40377
|
+
p_medewerker_id?: string;
|
|
40378
|
+
p_medewerker_naam?: string;
|
|
40379
|
+
p_pakbon_ids: string[];
|
|
40380
|
+
p_scanner_key?: string;
|
|
40381
|
+
};
|
|
40382
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40383
|
+
} | {
|
|
40384
|
+
Args: {
|
|
40385
|
+
p_medewerker_id?: string;
|
|
40386
|
+
p_medewerker_naam?: string;
|
|
40387
|
+
p_pakbon_ids: string[];
|
|
40388
|
+
p_scanner_key?: string;
|
|
40389
|
+
p_sessie?: string;
|
|
40390
|
+
};
|
|
40391
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40392
|
+
};
|
|
38815
40393
|
schedule_floriday_additional_services_sync: {
|
|
38816
40394
|
Args: {
|
|
38817
40395
|
p_apikey: string;
|
|
@@ -41068,6 +42646,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
41068
42646
|
referencedColumns: ["id"];
|
|
41069
42647
|
}];
|
|
41070
42648
|
};
|
|
42649
|
+
customer_notes: {
|
|
42650
|
+
Row: {
|
|
42651
|
+
created_at: string;
|
|
42652
|
+
customer_id: string | null;
|
|
42653
|
+
group_key: string | null;
|
|
42654
|
+
id: string;
|
|
42655
|
+
notes: string | null;
|
|
42656
|
+
updated_at: string;
|
|
42657
|
+
};
|
|
42658
|
+
Insert: {
|
|
42659
|
+
created_at?: string;
|
|
42660
|
+
customer_id?: string | null;
|
|
42661
|
+
group_key?: string | null;
|
|
42662
|
+
id?: string;
|
|
42663
|
+
notes?: string | null;
|
|
42664
|
+
updated_at?: string;
|
|
42665
|
+
};
|
|
42666
|
+
Update: {
|
|
42667
|
+
created_at?: string;
|
|
42668
|
+
customer_id?: string | null;
|
|
42669
|
+
group_key?: string | null;
|
|
42670
|
+
id?: string;
|
|
42671
|
+
notes?: string | null;
|
|
42672
|
+
updated_at?: string;
|
|
42673
|
+
};
|
|
42674
|
+
Relationships: [{
|
|
42675
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
42676
|
+
columns: ["customer_id"];
|
|
42677
|
+
isOneToOne: true;
|
|
42678
|
+
referencedRelation: "customers";
|
|
42679
|
+
referencedColumns: ["id"];
|
|
42680
|
+
}];
|
|
42681
|
+
};
|
|
41071
42682
|
customer_price_group_members: {
|
|
41072
42683
|
Row: {
|
|
41073
42684
|
created_at: string;
|
|
@@ -42466,251 +44077,719 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
42466
44077
|
connection_id?: string;
|
|
42467
44078
|
error_message?: string | null;
|
|
42468
44079
|
id?: string;
|
|
42469
|
-
refreshed_at?: string;
|
|
42470
|
-
success?: boolean;
|
|
42471
|
-
trigger_source?: string;
|
|
44080
|
+
refreshed_at?: string;
|
|
44081
|
+
success?: boolean;
|
|
44082
|
+
trigger_source?: string;
|
|
44083
|
+
};
|
|
44084
|
+
Relationships: [{
|
|
44085
|
+
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
44086
|
+
columns: ["connection_id"];
|
|
44087
|
+
isOneToOne: false;
|
|
44088
|
+
referencedRelation: "email_auth_connections";
|
|
44089
|
+
referencedColumns: ["id"];
|
|
44090
|
+
}, {
|
|
44091
|
+
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
44092
|
+
columns: ["connection_id"];
|
|
44093
|
+
isOneToOne: false;
|
|
44094
|
+
referencedRelation: "email_auth_connections_safe";
|
|
44095
|
+
referencedColumns: ["id"];
|
|
44096
|
+
}];
|
|
44097
|
+
};
|
|
44098
|
+
email_auth_watch_folders: {
|
|
44099
|
+
Row: {
|
|
44100
|
+
connection_id: string;
|
|
44101
|
+
created_at: string;
|
|
44102
|
+
folder_id: string;
|
|
44103
|
+
folder_name: string | null;
|
|
44104
|
+
gmail_history_id: string | null;
|
|
44105
|
+
graph_subscription_expires_at: string | null;
|
|
44106
|
+
graph_subscription_id: string | null;
|
|
44107
|
+
id: string;
|
|
44108
|
+
imap_last_uid: number | null;
|
|
44109
|
+
imap_uid_validity: number | null;
|
|
44110
|
+
mailbox: string;
|
|
44111
|
+
provider: string;
|
|
44112
|
+
updated_at: string;
|
|
44113
|
+
webhook_last_error: string | null;
|
|
44114
|
+
webhook_status: string | null;
|
|
44115
|
+
};
|
|
44116
|
+
Insert: {
|
|
44117
|
+
connection_id: string;
|
|
44118
|
+
created_at?: string;
|
|
44119
|
+
folder_id: string;
|
|
44120
|
+
folder_name?: string | null;
|
|
44121
|
+
gmail_history_id?: string | null;
|
|
44122
|
+
graph_subscription_expires_at?: string | null;
|
|
44123
|
+
graph_subscription_id?: string | null;
|
|
44124
|
+
id?: string;
|
|
44125
|
+
imap_last_uid?: number | null;
|
|
44126
|
+
imap_uid_validity?: number | null;
|
|
44127
|
+
mailbox?: string;
|
|
44128
|
+
provider: string;
|
|
44129
|
+
updated_at?: string;
|
|
44130
|
+
webhook_last_error?: string | null;
|
|
44131
|
+
webhook_status?: string | null;
|
|
44132
|
+
};
|
|
44133
|
+
Update: {
|
|
44134
|
+
connection_id?: string;
|
|
44135
|
+
created_at?: string;
|
|
44136
|
+
folder_id?: string;
|
|
44137
|
+
folder_name?: string | null;
|
|
44138
|
+
gmail_history_id?: string | null;
|
|
44139
|
+
graph_subscription_expires_at?: string | null;
|
|
44140
|
+
graph_subscription_id?: string | null;
|
|
44141
|
+
id?: string;
|
|
44142
|
+
imap_last_uid?: number | null;
|
|
44143
|
+
imap_uid_validity?: number | null;
|
|
44144
|
+
mailbox?: string;
|
|
44145
|
+
provider?: string;
|
|
44146
|
+
updated_at?: string;
|
|
44147
|
+
webhook_last_error?: string | null;
|
|
44148
|
+
webhook_status?: string | null;
|
|
44149
|
+
};
|
|
44150
|
+
Relationships: [{
|
|
44151
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
44152
|
+
columns: ["connection_id"];
|
|
44153
|
+
isOneToOne: false;
|
|
44154
|
+
referencedRelation: "email_auth_connections";
|
|
44155
|
+
referencedColumns: ["id"];
|
|
44156
|
+
}, {
|
|
44157
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
44158
|
+
columns: ["connection_id"];
|
|
44159
|
+
isOneToOne: false;
|
|
44160
|
+
referencedRelation: "email_auth_connections_safe";
|
|
44161
|
+
referencedColumns: ["id"];
|
|
44162
|
+
}];
|
|
44163
|
+
};
|
|
44164
|
+
email_auth_webhook_log: {
|
|
44165
|
+
Row: {
|
|
44166
|
+
body_sample: string | null;
|
|
44167
|
+
connection_id: string | null;
|
|
44168
|
+
created_at: string;
|
|
44169
|
+
error_message: string | null;
|
|
44170
|
+
headers_sample: import("../integrations/supabase/types").Json | null;
|
|
44171
|
+
id: string;
|
|
44172
|
+
notification_count: number | null;
|
|
44173
|
+
provider: string | null;
|
|
44174
|
+
source: string | null;
|
|
44175
|
+
status: string;
|
|
44176
|
+
subscription_id: string | null;
|
|
44177
|
+
};
|
|
44178
|
+
Insert: {
|
|
44179
|
+
body_sample?: string | null;
|
|
44180
|
+
connection_id?: string | null;
|
|
44181
|
+
created_at?: string;
|
|
44182
|
+
error_message?: string | null;
|
|
44183
|
+
headers_sample?: import("../integrations/supabase/types").Json | null;
|
|
44184
|
+
id?: string;
|
|
44185
|
+
notification_count?: number | null;
|
|
44186
|
+
provider?: string | null;
|
|
44187
|
+
source?: string | null;
|
|
44188
|
+
status: string;
|
|
44189
|
+
subscription_id?: string | null;
|
|
44190
|
+
};
|
|
44191
|
+
Update: {
|
|
44192
|
+
body_sample?: string | null;
|
|
44193
|
+
connection_id?: string | null;
|
|
44194
|
+
created_at?: string;
|
|
44195
|
+
error_message?: string | null;
|
|
44196
|
+
headers_sample?: import("../integrations/supabase/types").Json | null;
|
|
44197
|
+
id?: string;
|
|
44198
|
+
notification_count?: number | null;
|
|
44199
|
+
provider?: string | null;
|
|
44200
|
+
source?: string | null;
|
|
44201
|
+
status?: string;
|
|
44202
|
+
subscription_id?: string | null;
|
|
44203
|
+
};
|
|
44204
|
+
Relationships: [{
|
|
44205
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
44206
|
+
columns: ["connection_id"];
|
|
44207
|
+
isOneToOne: false;
|
|
44208
|
+
referencedRelation: "email_auth_connections";
|
|
44209
|
+
referencedColumns: ["id"];
|
|
44210
|
+
}, {
|
|
44211
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
44212
|
+
columns: ["connection_id"];
|
|
44213
|
+
isOneToOne: false;
|
|
44214
|
+
referencedRelation: "email_auth_connections_safe";
|
|
44215
|
+
referencedColumns: ["id"];
|
|
44216
|
+
}];
|
|
44217
|
+
};
|
|
44218
|
+
exact_account_analytics_cache: {
|
|
44219
|
+
Row: {
|
|
44220
|
+
account_id: string;
|
|
44221
|
+
account_name: string | null;
|
|
44222
|
+
avg_payment_days: number | null;
|
|
44223
|
+
computed_at: string;
|
|
44224
|
+
connection_id: string;
|
|
44225
|
+
expires_at: string | null;
|
|
44226
|
+
id: string;
|
|
44227
|
+
invoice_count: number | null;
|
|
44228
|
+
last_invoice_date: string | null;
|
|
44229
|
+
last_payment_date: string | null;
|
|
44230
|
+
open_balance: number | null;
|
|
44231
|
+
overdue_balance: number | null;
|
|
44232
|
+
total_revenue: number | null;
|
|
44233
|
+
};
|
|
44234
|
+
Insert: {
|
|
44235
|
+
account_id: string;
|
|
44236
|
+
account_name?: string | null;
|
|
44237
|
+
avg_payment_days?: number | null;
|
|
44238
|
+
computed_at?: string;
|
|
44239
|
+
connection_id: string;
|
|
44240
|
+
expires_at?: string | null;
|
|
44241
|
+
id?: string;
|
|
44242
|
+
invoice_count?: number | null;
|
|
44243
|
+
last_invoice_date?: string | null;
|
|
44244
|
+
last_payment_date?: string | null;
|
|
44245
|
+
open_balance?: number | null;
|
|
44246
|
+
overdue_balance?: number | null;
|
|
44247
|
+
total_revenue?: number | null;
|
|
44248
|
+
};
|
|
44249
|
+
Update: {
|
|
44250
|
+
account_id?: string;
|
|
44251
|
+
account_name?: string | null;
|
|
44252
|
+
avg_payment_days?: number | null;
|
|
44253
|
+
computed_at?: string;
|
|
44254
|
+
connection_id?: string;
|
|
44255
|
+
expires_at?: string | null;
|
|
44256
|
+
id?: string;
|
|
44257
|
+
invoice_count?: number | null;
|
|
44258
|
+
last_invoice_date?: string | null;
|
|
44259
|
+
last_payment_date?: string | null;
|
|
44260
|
+
open_balance?: number | null;
|
|
44261
|
+
overdue_balance?: number | null;
|
|
44262
|
+
total_revenue?: number | null;
|
|
44263
|
+
};
|
|
44264
|
+
Relationships: [{
|
|
44265
|
+
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
44266
|
+
columns: ["connection_id"];
|
|
44267
|
+
isOneToOne: false;
|
|
44268
|
+
referencedRelation: "exact_connections";
|
|
44269
|
+
referencedColumns: ["id"];
|
|
44270
|
+
}];
|
|
44271
|
+
};
|
|
44272
|
+
exact_analytics_cache: {
|
|
44273
|
+
Row: {
|
|
44274
|
+
analytics_type: string;
|
|
44275
|
+
avg_payment_days: number | null;
|
|
44276
|
+
computed_at: string;
|
|
44277
|
+
connection_id: string;
|
|
44278
|
+
data_raw: import("../integrations/supabase/types").Json | null;
|
|
44279
|
+
expires_at: string | null;
|
|
44280
|
+
id: string;
|
|
44281
|
+
open_count: number | null;
|
|
44282
|
+
overdue_amount: number | null;
|
|
44283
|
+
paid_this_month: number | null;
|
|
44284
|
+
period_key: string;
|
|
44285
|
+
total_invoiced: number | null;
|
|
44286
|
+
total_open: number | null;
|
|
44287
|
+
};
|
|
44288
|
+
Insert: {
|
|
44289
|
+
analytics_type: string;
|
|
44290
|
+
avg_payment_days?: number | null;
|
|
44291
|
+
computed_at?: string;
|
|
44292
|
+
connection_id: string;
|
|
44293
|
+
data_raw?: import("../integrations/supabase/types").Json | null;
|
|
44294
|
+
expires_at?: string | null;
|
|
44295
|
+
id?: string;
|
|
44296
|
+
open_count?: number | null;
|
|
44297
|
+
overdue_amount?: number | null;
|
|
44298
|
+
paid_this_month?: number | null;
|
|
44299
|
+
period_key: string;
|
|
44300
|
+
total_invoiced?: number | null;
|
|
44301
|
+
total_open?: number | null;
|
|
44302
|
+
};
|
|
44303
|
+
Update: {
|
|
44304
|
+
analytics_type?: string;
|
|
44305
|
+
avg_payment_days?: number | null;
|
|
44306
|
+
computed_at?: string;
|
|
44307
|
+
connection_id?: string;
|
|
44308
|
+
data_raw?: import("../integrations/supabase/types").Json | null;
|
|
44309
|
+
expires_at?: string | null;
|
|
44310
|
+
id?: string;
|
|
44311
|
+
open_count?: number | null;
|
|
44312
|
+
overdue_amount?: number | null;
|
|
44313
|
+
paid_this_month?: number | null;
|
|
44314
|
+
period_key?: string;
|
|
44315
|
+
total_invoiced?: number | null;
|
|
44316
|
+
total_open?: number | null;
|
|
44317
|
+
};
|
|
44318
|
+
Relationships: [{
|
|
44319
|
+
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
44320
|
+
columns: ["connection_id"];
|
|
44321
|
+
isOneToOne: false;
|
|
44322
|
+
referencedRelation: "exact_connections";
|
|
44323
|
+
referencedColumns: ["id"];
|
|
44324
|
+
}];
|
|
44325
|
+
};
|
|
44326
|
+
exact_auth_call_budget: {
|
|
44327
|
+
Row: {
|
|
44328
|
+
account_key: string;
|
|
44329
|
+
day_count: number;
|
|
44330
|
+
day_date: string;
|
|
44331
|
+
division_code: number;
|
|
44332
|
+
environment: string;
|
|
44333
|
+
minute_count: number;
|
|
44334
|
+
minute_window: string;
|
|
44335
|
+
updated_at: string;
|
|
44336
|
+
};
|
|
44337
|
+
Insert: {
|
|
44338
|
+
account_key?: string;
|
|
44339
|
+
day_count?: number;
|
|
44340
|
+
day_date?: string;
|
|
44341
|
+
division_code?: number;
|
|
44342
|
+
environment: string;
|
|
44343
|
+
minute_count?: number;
|
|
44344
|
+
minute_window?: string;
|
|
44345
|
+
updated_at?: string;
|
|
44346
|
+
};
|
|
44347
|
+
Update: {
|
|
44348
|
+
account_key?: string;
|
|
44349
|
+
day_count?: number;
|
|
44350
|
+
day_date?: string;
|
|
44351
|
+
division_code?: number;
|
|
44352
|
+
environment?: string;
|
|
44353
|
+
minute_count?: number;
|
|
44354
|
+
minute_window?: string;
|
|
44355
|
+
updated_at?: string;
|
|
44356
|
+
};
|
|
44357
|
+
Relationships: [];
|
|
44358
|
+
};
|
|
44359
|
+
exact_auth_customers: {
|
|
44360
|
+
Row: {
|
|
44361
|
+
account_key: string;
|
|
44362
|
+
address_line1: string | null;
|
|
44363
|
+
chamber_of_commerce: string | null;
|
|
44364
|
+
city: string | null;
|
|
44365
|
+
code: string | null;
|
|
44366
|
+
country: string | null;
|
|
44367
|
+
created_at: string;
|
|
44368
|
+
currency: string | null;
|
|
44369
|
+
division_code: number | null;
|
|
44370
|
+
email: string | null;
|
|
44371
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44372
|
+
exact_id: string;
|
|
44373
|
+
exact_modified: string | null;
|
|
44374
|
+
exact_timestamp: number | null;
|
|
44375
|
+
id: string;
|
|
44376
|
+
is_active: boolean;
|
|
44377
|
+
name: string | null;
|
|
44378
|
+
phone: string | null;
|
|
44379
|
+
postcode: string | null;
|
|
44380
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44381
|
+
status: string | null;
|
|
44382
|
+
updated_at: string;
|
|
44383
|
+
vat_number: string | null;
|
|
44384
|
+
website: string | null;
|
|
44385
|
+
};
|
|
44386
|
+
Insert: {
|
|
44387
|
+
account_key?: string;
|
|
44388
|
+
address_line1?: string | null;
|
|
44389
|
+
chamber_of_commerce?: string | null;
|
|
44390
|
+
city?: string | null;
|
|
44391
|
+
code?: string | null;
|
|
44392
|
+
country?: string | null;
|
|
44393
|
+
created_at?: string;
|
|
44394
|
+
currency?: string | null;
|
|
44395
|
+
division_code?: number | null;
|
|
44396
|
+
email?: string | null;
|
|
44397
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44398
|
+
exact_id: string;
|
|
44399
|
+
exact_modified?: string | null;
|
|
44400
|
+
exact_timestamp?: number | null;
|
|
44401
|
+
id?: string;
|
|
44402
|
+
is_active?: boolean;
|
|
44403
|
+
name?: string | null;
|
|
44404
|
+
phone?: string | null;
|
|
44405
|
+
postcode?: string | null;
|
|
44406
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44407
|
+
status?: string | null;
|
|
44408
|
+
updated_at?: string;
|
|
44409
|
+
vat_number?: string | null;
|
|
44410
|
+
website?: string | null;
|
|
44411
|
+
};
|
|
44412
|
+
Update: {
|
|
44413
|
+
account_key?: string;
|
|
44414
|
+
address_line1?: string | null;
|
|
44415
|
+
chamber_of_commerce?: string | null;
|
|
44416
|
+
city?: string | null;
|
|
44417
|
+
code?: string | null;
|
|
44418
|
+
country?: string | null;
|
|
44419
|
+
created_at?: string;
|
|
44420
|
+
currency?: string | null;
|
|
44421
|
+
division_code?: number | null;
|
|
44422
|
+
email?: string | null;
|
|
44423
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44424
|
+
exact_id?: string;
|
|
44425
|
+
exact_modified?: string | null;
|
|
44426
|
+
exact_timestamp?: number | null;
|
|
44427
|
+
id?: string;
|
|
44428
|
+
is_active?: boolean;
|
|
44429
|
+
name?: string | null;
|
|
44430
|
+
phone?: string | null;
|
|
44431
|
+
postcode?: string | null;
|
|
44432
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44433
|
+
status?: string | null;
|
|
44434
|
+
updated_at?: string;
|
|
44435
|
+
vat_number?: string | null;
|
|
44436
|
+
website?: string | null;
|
|
44437
|
+
};
|
|
44438
|
+
Relationships: [];
|
|
44439
|
+
};
|
|
44440
|
+
exact_auth_divisions: {
|
|
44441
|
+
Row: {
|
|
44442
|
+
account_key: string;
|
|
44443
|
+
company_name: string | null;
|
|
44444
|
+
created_at: string;
|
|
44445
|
+
division_code: number | null;
|
|
44446
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44447
|
+
id: string;
|
|
44448
|
+
last_synced_at: string | null;
|
|
44449
|
+
updated_at: string;
|
|
44450
|
+
};
|
|
44451
|
+
Insert: {
|
|
44452
|
+
account_key?: string;
|
|
44453
|
+
company_name?: string | null;
|
|
44454
|
+
created_at?: string;
|
|
44455
|
+
division_code?: number | null;
|
|
44456
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44457
|
+
id?: string;
|
|
44458
|
+
last_synced_at?: string | null;
|
|
44459
|
+
updated_at?: string;
|
|
44460
|
+
};
|
|
44461
|
+
Update: {
|
|
44462
|
+
account_key?: string;
|
|
44463
|
+
company_name?: string | null;
|
|
44464
|
+
created_at?: string;
|
|
44465
|
+
division_code?: number | null;
|
|
44466
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44467
|
+
id?: string;
|
|
44468
|
+
last_synced_at?: string | null;
|
|
44469
|
+
updated_at?: string;
|
|
44470
|
+
};
|
|
44471
|
+
Relationships: [];
|
|
44472
|
+
};
|
|
44473
|
+
exact_auth_invoice_lines: {
|
|
44474
|
+
Row: {
|
|
44475
|
+
account_key: string;
|
|
44476
|
+
amount_excl: number | null;
|
|
44477
|
+
created_at: string;
|
|
44478
|
+
description: string | null;
|
|
44479
|
+
discount: number | null;
|
|
44480
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44481
|
+
exact_id: string;
|
|
44482
|
+
exact_timestamp: number | null;
|
|
44483
|
+
id: string;
|
|
44484
|
+
invoice_exact_id: string;
|
|
44485
|
+
item_code: string | null;
|
|
44486
|
+
item_exact_id: string | null;
|
|
44487
|
+
line_number: number | null;
|
|
44488
|
+
quantity: number | null;
|
|
44489
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44490
|
+
unit_price: number | null;
|
|
44491
|
+
updated_at: string;
|
|
44492
|
+
vat_amount: number | null;
|
|
44493
|
+
vat_code: string | null;
|
|
44494
|
+
};
|
|
44495
|
+
Insert: {
|
|
44496
|
+
account_key?: string;
|
|
44497
|
+
amount_excl?: number | null;
|
|
44498
|
+
created_at?: string;
|
|
44499
|
+
description?: string | null;
|
|
44500
|
+
discount?: number | null;
|
|
44501
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44502
|
+
exact_id: string;
|
|
44503
|
+
exact_timestamp?: number | null;
|
|
44504
|
+
id?: string;
|
|
44505
|
+
invoice_exact_id: string;
|
|
44506
|
+
item_code?: string | null;
|
|
44507
|
+
item_exact_id?: string | null;
|
|
44508
|
+
line_number?: number | null;
|
|
44509
|
+
quantity?: number | null;
|
|
44510
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44511
|
+
unit_price?: number | null;
|
|
44512
|
+
updated_at?: string;
|
|
44513
|
+
vat_amount?: number | null;
|
|
44514
|
+
vat_code?: string | null;
|
|
44515
|
+
};
|
|
44516
|
+
Update: {
|
|
44517
|
+
account_key?: string;
|
|
44518
|
+
amount_excl?: number | null;
|
|
44519
|
+
created_at?: string;
|
|
44520
|
+
description?: string | null;
|
|
44521
|
+
discount?: number | null;
|
|
44522
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44523
|
+
exact_id?: string;
|
|
44524
|
+
exact_timestamp?: number | null;
|
|
44525
|
+
id?: string;
|
|
44526
|
+
invoice_exact_id?: string;
|
|
44527
|
+
item_code?: string | null;
|
|
44528
|
+
item_exact_id?: string | null;
|
|
44529
|
+
line_number?: number | null;
|
|
44530
|
+
quantity?: number | null;
|
|
44531
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44532
|
+
unit_price?: number | null;
|
|
44533
|
+
updated_at?: string;
|
|
44534
|
+
vat_amount?: number | null;
|
|
44535
|
+
vat_code?: string | null;
|
|
42472
44536
|
};
|
|
42473
|
-
Relationships: [
|
|
42474
|
-
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
42475
|
-
columns: ["connection_id"];
|
|
42476
|
-
isOneToOne: false;
|
|
42477
|
-
referencedRelation: "email_auth_connections";
|
|
42478
|
-
referencedColumns: ["id"];
|
|
42479
|
-
}, {
|
|
42480
|
-
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
42481
|
-
columns: ["connection_id"];
|
|
42482
|
-
isOneToOne: false;
|
|
42483
|
-
referencedRelation: "email_auth_connections_safe";
|
|
42484
|
-
referencedColumns: ["id"];
|
|
42485
|
-
}];
|
|
44537
|
+
Relationships: [];
|
|
42486
44538
|
};
|
|
42487
|
-
|
|
44539
|
+
exact_auth_invoices: {
|
|
42488
44540
|
Row: {
|
|
42489
|
-
|
|
44541
|
+
account_key: string;
|
|
44542
|
+
amount_excl: number | null;
|
|
44543
|
+
amount_incl: number | null;
|
|
44544
|
+
amount_open: number | null;
|
|
42490
44545
|
created_at: string;
|
|
42491
|
-
|
|
42492
|
-
|
|
42493
|
-
|
|
42494
|
-
|
|
42495
|
-
|
|
44546
|
+
currency: string | null;
|
|
44547
|
+
customer_code: string | null;
|
|
44548
|
+
customer_exact_id: string | null;
|
|
44549
|
+
customer_name: string | null;
|
|
44550
|
+
description: string | null;
|
|
44551
|
+
division_code: number | null;
|
|
44552
|
+
due_date: string | null;
|
|
44553
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44554
|
+
exact_id: string;
|
|
44555
|
+
exact_modified: string | null;
|
|
44556
|
+
exact_timestamp: number | null;
|
|
42496
44557
|
id: string;
|
|
42497
|
-
|
|
42498
|
-
|
|
42499
|
-
|
|
42500
|
-
|
|
44558
|
+
invoice_date: string | null;
|
|
44559
|
+
invoice_number: string | null;
|
|
44560
|
+
order_number: string | null;
|
|
44561
|
+
paid_at: string | null;
|
|
44562
|
+
payment_status: string;
|
|
44563
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44564
|
+
receivable_synced_at: string | null;
|
|
44565
|
+
status_code: number | null;
|
|
42501
44566
|
updated_at: string;
|
|
42502
|
-
webhook_last_error: string | null;
|
|
42503
|
-
webhook_status: string | null;
|
|
42504
44567
|
};
|
|
42505
44568
|
Insert: {
|
|
42506
|
-
|
|
44569
|
+
account_key?: string;
|
|
44570
|
+
amount_excl?: number | null;
|
|
44571
|
+
amount_incl?: number | null;
|
|
44572
|
+
amount_open?: number | null;
|
|
42507
44573
|
created_at?: string;
|
|
42508
|
-
|
|
42509
|
-
|
|
42510
|
-
|
|
42511
|
-
|
|
42512
|
-
|
|
44574
|
+
currency?: string | null;
|
|
44575
|
+
customer_code?: string | null;
|
|
44576
|
+
customer_exact_id?: string | null;
|
|
44577
|
+
customer_name?: string | null;
|
|
44578
|
+
description?: string | null;
|
|
44579
|
+
division_code?: number | null;
|
|
44580
|
+
due_date?: string | null;
|
|
44581
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44582
|
+
exact_id: string;
|
|
44583
|
+
exact_modified?: string | null;
|
|
44584
|
+
exact_timestamp?: number | null;
|
|
42513
44585
|
id?: string;
|
|
42514
|
-
|
|
42515
|
-
|
|
42516
|
-
|
|
42517
|
-
|
|
44586
|
+
invoice_date?: string | null;
|
|
44587
|
+
invoice_number?: string | null;
|
|
44588
|
+
order_number?: string | null;
|
|
44589
|
+
paid_at?: string | null;
|
|
44590
|
+
payment_status?: string;
|
|
44591
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44592
|
+
receivable_synced_at?: string | null;
|
|
44593
|
+
status_code?: number | null;
|
|
42518
44594
|
updated_at?: string;
|
|
42519
|
-
webhook_last_error?: string | null;
|
|
42520
|
-
webhook_status?: string | null;
|
|
42521
44595
|
};
|
|
42522
44596
|
Update: {
|
|
42523
|
-
|
|
44597
|
+
account_key?: string;
|
|
44598
|
+
amount_excl?: number | null;
|
|
44599
|
+
amount_incl?: number | null;
|
|
44600
|
+
amount_open?: number | null;
|
|
42524
44601
|
created_at?: string;
|
|
42525
|
-
|
|
42526
|
-
|
|
42527
|
-
|
|
42528
|
-
|
|
42529
|
-
|
|
44602
|
+
currency?: string | null;
|
|
44603
|
+
customer_code?: string | null;
|
|
44604
|
+
customer_exact_id?: string | null;
|
|
44605
|
+
customer_name?: string | null;
|
|
44606
|
+
description?: string | null;
|
|
44607
|
+
division_code?: number | null;
|
|
44608
|
+
due_date?: string | null;
|
|
44609
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44610
|
+
exact_id?: string;
|
|
44611
|
+
exact_modified?: string | null;
|
|
44612
|
+
exact_timestamp?: number | null;
|
|
42530
44613
|
id?: string;
|
|
42531
|
-
|
|
42532
|
-
|
|
42533
|
-
|
|
42534
|
-
|
|
44614
|
+
invoice_date?: string | null;
|
|
44615
|
+
invoice_number?: string | null;
|
|
44616
|
+
order_number?: string | null;
|
|
44617
|
+
paid_at?: string | null;
|
|
44618
|
+
payment_status?: string;
|
|
44619
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44620
|
+
receivable_synced_at?: string | null;
|
|
44621
|
+
status_code?: number | null;
|
|
42535
44622
|
updated_at?: string;
|
|
42536
|
-
webhook_last_error?: string | null;
|
|
42537
|
-
webhook_status?: string | null;
|
|
42538
44623
|
};
|
|
42539
|
-
Relationships: [
|
|
42540
|
-
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
42541
|
-
columns: ["connection_id"];
|
|
42542
|
-
isOneToOne: false;
|
|
42543
|
-
referencedRelation: "email_auth_connections";
|
|
42544
|
-
referencedColumns: ["id"];
|
|
42545
|
-
}, {
|
|
42546
|
-
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
42547
|
-
columns: ["connection_id"];
|
|
42548
|
-
isOneToOne: false;
|
|
42549
|
-
referencedRelation: "email_auth_connections_safe";
|
|
42550
|
-
referencedColumns: ["id"];
|
|
42551
|
-
}];
|
|
44624
|
+
Relationships: [];
|
|
42552
44625
|
};
|
|
42553
|
-
|
|
44626
|
+
exact_auth_items: {
|
|
42554
44627
|
Row: {
|
|
42555
|
-
|
|
42556
|
-
|
|
44628
|
+
account_key: string;
|
|
44629
|
+
barcode: string | null;
|
|
44630
|
+
code: string | null;
|
|
44631
|
+
cost_price: number | null;
|
|
42557
44632
|
created_at: string;
|
|
42558
|
-
|
|
42559
|
-
|
|
44633
|
+
description: string | null;
|
|
44634
|
+
division_code: number | null;
|
|
44635
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44636
|
+
exact_id: string;
|
|
44637
|
+
exact_modified: string | null;
|
|
44638
|
+
exact_timestamp: number | null;
|
|
44639
|
+
gl_account_code: string | null;
|
|
42560
44640
|
id: string;
|
|
42561
|
-
|
|
42562
|
-
|
|
42563
|
-
|
|
42564
|
-
|
|
42565
|
-
|
|
44641
|
+
is_active: boolean;
|
|
44642
|
+
is_sales_item: boolean | null;
|
|
44643
|
+
item_type: string | null;
|
|
44644
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44645
|
+
sales_price: number | null;
|
|
44646
|
+
unit: string | null;
|
|
44647
|
+
updated_at: string;
|
|
44648
|
+
vat_code: string | null;
|
|
42566
44649
|
};
|
|
42567
44650
|
Insert: {
|
|
42568
|
-
|
|
42569
|
-
|
|
44651
|
+
account_key?: string;
|
|
44652
|
+
barcode?: string | null;
|
|
44653
|
+
code?: string | null;
|
|
44654
|
+
cost_price?: number | null;
|
|
42570
44655
|
created_at?: string;
|
|
42571
|
-
|
|
42572
|
-
|
|
44656
|
+
description?: string | null;
|
|
44657
|
+
division_code?: number | null;
|
|
44658
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44659
|
+
exact_id: string;
|
|
44660
|
+
exact_modified?: string | null;
|
|
44661
|
+
exact_timestamp?: number | null;
|
|
44662
|
+
gl_account_code?: string | null;
|
|
42573
44663
|
id?: string;
|
|
42574
|
-
|
|
42575
|
-
|
|
42576
|
-
|
|
42577
|
-
|
|
42578
|
-
|
|
44664
|
+
is_active?: boolean;
|
|
44665
|
+
is_sales_item?: boolean | null;
|
|
44666
|
+
item_type?: string | null;
|
|
44667
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44668
|
+
sales_price?: number | null;
|
|
44669
|
+
unit?: string | null;
|
|
44670
|
+
updated_at?: string;
|
|
44671
|
+
vat_code?: string | null;
|
|
42579
44672
|
};
|
|
42580
44673
|
Update: {
|
|
42581
|
-
|
|
42582
|
-
|
|
44674
|
+
account_key?: string;
|
|
44675
|
+
barcode?: string | null;
|
|
44676
|
+
code?: string | null;
|
|
44677
|
+
cost_price?: number | null;
|
|
42583
44678
|
created_at?: string;
|
|
42584
|
-
|
|
42585
|
-
|
|
44679
|
+
description?: string | null;
|
|
44680
|
+
division_code?: number | null;
|
|
44681
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44682
|
+
exact_id?: string;
|
|
44683
|
+
exact_modified?: string | null;
|
|
44684
|
+
exact_timestamp?: number | null;
|
|
44685
|
+
gl_account_code?: string | null;
|
|
42586
44686
|
id?: string;
|
|
42587
|
-
|
|
42588
|
-
|
|
42589
|
-
|
|
42590
|
-
|
|
42591
|
-
|
|
44687
|
+
is_active?: boolean;
|
|
44688
|
+
is_sales_item?: boolean | null;
|
|
44689
|
+
item_type?: string | null;
|
|
44690
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44691
|
+
sales_price?: number | null;
|
|
44692
|
+
unit?: string | null;
|
|
44693
|
+
updated_at?: string;
|
|
44694
|
+
vat_code?: string | null;
|
|
42592
44695
|
};
|
|
42593
|
-
Relationships: [
|
|
42594
|
-
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
42595
|
-
columns: ["connection_id"];
|
|
42596
|
-
isOneToOne: false;
|
|
42597
|
-
referencedRelation: "email_auth_connections";
|
|
42598
|
-
referencedColumns: ["id"];
|
|
42599
|
-
}, {
|
|
42600
|
-
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
42601
|
-
columns: ["connection_id"];
|
|
42602
|
-
isOneToOne: false;
|
|
42603
|
-
referencedRelation: "email_auth_connections_safe";
|
|
42604
|
-
referencedColumns: ["id"];
|
|
42605
|
-
}];
|
|
44696
|
+
Relationships: [];
|
|
42606
44697
|
};
|
|
42607
|
-
|
|
44698
|
+
exact_auth_sync_log: {
|
|
42608
44699
|
Row: {
|
|
42609
|
-
|
|
42610
|
-
|
|
42611
|
-
|
|
42612
|
-
|
|
42613
|
-
|
|
42614
|
-
|
|
44700
|
+
account_key: string;
|
|
44701
|
+
calls_used: number;
|
|
44702
|
+
created_at: string;
|
|
44703
|
+
domain: string;
|
|
44704
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44705
|
+
error: string | null;
|
|
44706
|
+
finished_at: string | null;
|
|
42615
44707
|
id: string;
|
|
42616
|
-
|
|
42617
|
-
|
|
42618
|
-
|
|
42619
|
-
open_balance: number | null;
|
|
42620
|
-
overdue_balance: number | null;
|
|
42621
|
-
total_revenue: number | null;
|
|
44708
|
+
ok: boolean;
|
|
44709
|
+
records: number;
|
|
44710
|
+
started_at: string;
|
|
42622
44711
|
};
|
|
42623
44712
|
Insert: {
|
|
42624
|
-
|
|
42625
|
-
|
|
42626
|
-
|
|
42627
|
-
|
|
42628
|
-
|
|
42629
|
-
|
|
44713
|
+
account_key?: string;
|
|
44714
|
+
calls_used?: number;
|
|
44715
|
+
created_at?: string;
|
|
44716
|
+
domain: string;
|
|
44717
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44718
|
+
error?: string | null;
|
|
44719
|
+
finished_at?: string | null;
|
|
42630
44720
|
id?: string;
|
|
42631
|
-
|
|
42632
|
-
|
|
42633
|
-
|
|
42634
|
-
open_balance?: number | null;
|
|
42635
|
-
overdue_balance?: number | null;
|
|
42636
|
-
total_revenue?: number | null;
|
|
44721
|
+
ok?: boolean;
|
|
44722
|
+
records?: number;
|
|
44723
|
+
started_at?: string;
|
|
42637
44724
|
};
|
|
42638
44725
|
Update: {
|
|
42639
|
-
|
|
42640
|
-
|
|
42641
|
-
|
|
42642
|
-
|
|
42643
|
-
|
|
42644
|
-
|
|
44726
|
+
account_key?: string;
|
|
44727
|
+
calls_used?: number;
|
|
44728
|
+
created_at?: string;
|
|
44729
|
+
domain?: string;
|
|
44730
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44731
|
+
error?: string | null;
|
|
44732
|
+
finished_at?: string | null;
|
|
42645
44733
|
id?: string;
|
|
42646
|
-
|
|
42647
|
-
|
|
42648
|
-
|
|
42649
|
-
open_balance?: number | null;
|
|
42650
|
-
overdue_balance?: number | null;
|
|
42651
|
-
total_revenue?: number | null;
|
|
44734
|
+
ok?: boolean;
|
|
44735
|
+
records?: number;
|
|
44736
|
+
started_at?: string;
|
|
42652
44737
|
};
|
|
42653
|
-
Relationships: [
|
|
42654
|
-
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
42655
|
-
columns: ["connection_id"];
|
|
42656
|
-
isOneToOne: false;
|
|
42657
|
-
referencedRelation: "exact_connections";
|
|
42658
|
-
referencedColumns: ["id"];
|
|
42659
|
-
}];
|
|
44738
|
+
Relationships: [];
|
|
42660
44739
|
};
|
|
42661
|
-
|
|
44740
|
+
exact_auth_sync_state: {
|
|
42662
44741
|
Row: {
|
|
42663
|
-
|
|
42664
|
-
|
|
42665
|
-
|
|
42666
|
-
|
|
42667
|
-
|
|
42668
|
-
|
|
42669
|
-
|
|
42670
|
-
|
|
42671
|
-
|
|
42672
|
-
|
|
42673
|
-
|
|
42674
|
-
|
|
42675
|
-
|
|
44742
|
+
account_key: string;
|
|
44743
|
+
created_at: string;
|
|
44744
|
+
cursor_timestamp: number;
|
|
44745
|
+
division_code: number | null;
|
|
44746
|
+
domain: string;
|
|
44747
|
+
duration_ms: number | null;
|
|
44748
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44749
|
+
initial_sync_done: boolean;
|
|
44750
|
+
last_error: string | null;
|
|
44751
|
+
last_run_at: string | null;
|
|
44752
|
+
last_success_at: string | null;
|
|
44753
|
+
locked_at: string | null;
|
|
44754
|
+
needs_initial_sync: boolean;
|
|
44755
|
+
record_count: number;
|
|
44756
|
+
updated_at: string;
|
|
42676
44757
|
};
|
|
42677
44758
|
Insert: {
|
|
42678
|
-
|
|
42679
|
-
|
|
42680
|
-
|
|
42681
|
-
|
|
42682
|
-
|
|
42683
|
-
|
|
42684
|
-
|
|
42685
|
-
|
|
42686
|
-
|
|
42687
|
-
|
|
42688
|
-
|
|
42689
|
-
|
|
42690
|
-
|
|
44759
|
+
account_key?: string;
|
|
44760
|
+
created_at?: string;
|
|
44761
|
+
cursor_timestamp?: number;
|
|
44762
|
+
division_code?: number | null;
|
|
44763
|
+
domain: string;
|
|
44764
|
+
duration_ms?: number | null;
|
|
44765
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44766
|
+
initial_sync_done?: boolean;
|
|
44767
|
+
last_error?: string | null;
|
|
44768
|
+
last_run_at?: string | null;
|
|
44769
|
+
last_success_at?: string | null;
|
|
44770
|
+
locked_at?: string | null;
|
|
44771
|
+
needs_initial_sync?: boolean;
|
|
44772
|
+
record_count?: number;
|
|
44773
|
+
updated_at?: string;
|
|
42691
44774
|
};
|
|
42692
44775
|
Update: {
|
|
42693
|
-
|
|
42694
|
-
|
|
42695
|
-
|
|
42696
|
-
|
|
42697
|
-
|
|
42698
|
-
|
|
42699
|
-
|
|
42700
|
-
|
|
42701
|
-
|
|
42702
|
-
|
|
42703
|
-
|
|
42704
|
-
|
|
42705
|
-
|
|
44776
|
+
account_key?: string;
|
|
44777
|
+
created_at?: string;
|
|
44778
|
+
cursor_timestamp?: number;
|
|
44779
|
+
division_code?: number | null;
|
|
44780
|
+
domain?: string;
|
|
44781
|
+
duration_ms?: number | null;
|
|
44782
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44783
|
+
initial_sync_done?: boolean;
|
|
44784
|
+
last_error?: string | null;
|
|
44785
|
+
last_run_at?: string | null;
|
|
44786
|
+
last_success_at?: string | null;
|
|
44787
|
+
locked_at?: string | null;
|
|
44788
|
+
needs_initial_sync?: boolean;
|
|
44789
|
+
record_count?: number;
|
|
44790
|
+
updated_at?: string;
|
|
42706
44791
|
};
|
|
42707
|
-
Relationships: [
|
|
42708
|
-
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
42709
|
-
columns: ["connection_id"];
|
|
42710
|
-
isOneToOne: false;
|
|
42711
|
-
referencedRelation: "exact_connections";
|
|
42712
|
-
referencedColumns: ["id"];
|
|
42713
|
-
}];
|
|
44792
|
+
Relationships: [];
|
|
42714
44793
|
};
|
|
42715
44794
|
exact_bulk_operation_items: {
|
|
42716
44795
|
Row: {
|
|
@@ -47374,6 +49453,66 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47374
49453
|
};
|
|
47375
49454
|
Relationships: [];
|
|
47376
49455
|
};
|
|
49456
|
+
logistics_recalc_jobs: {
|
|
49457
|
+
Row: {
|
|
49458
|
+
carts_created: number;
|
|
49459
|
+
created_at: string;
|
|
49460
|
+
cursor: string | null;
|
|
49461
|
+
errors: import("../integrations/supabase/types").Json;
|
|
49462
|
+
failed: number;
|
|
49463
|
+
finished_at: string | null;
|
|
49464
|
+
id: string;
|
|
49465
|
+
last_tick_at: string | null;
|
|
49466
|
+
phase: string;
|
|
49467
|
+
processed: number;
|
|
49468
|
+
skipped_locked: number;
|
|
49469
|
+
started_by: string | null;
|
|
49470
|
+
status: string;
|
|
49471
|
+
steps: import("../integrations/supabase/types").Json;
|
|
49472
|
+
strategy_id: string | null;
|
|
49473
|
+
tasks_updated: number;
|
|
49474
|
+
updated_at: string;
|
|
49475
|
+
};
|
|
49476
|
+
Insert: {
|
|
49477
|
+
carts_created?: number;
|
|
49478
|
+
created_at?: string;
|
|
49479
|
+
cursor?: string | null;
|
|
49480
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
49481
|
+
failed?: number;
|
|
49482
|
+
finished_at?: string | null;
|
|
49483
|
+
id?: string;
|
|
49484
|
+
last_tick_at?: string | null;
|
|
49485
|
+
phase?: string;
|
|
49486
|
+
processed?: number;
|
|
49487
|
+
skipped_locked?: number;
|
|
49488
|
+
started_by?: string | null;
|
|
49489
|
+
status?: string;
|
|
49490
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
49491
|
+
strategy_id?: string | null;
|
|
49492
|
+
tasks_updated?: number;
|
|
49493
|
+
updated_at?: string;
|
|
49494
|
+
};
|
|
49495
|
+
Update: {
|
|
49496
|
+
carts_created?: number;
|
|
49497
|
+
created_at?: string;
|
|
49498
|
+
cursor?: string | null;
|
|
49499
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
49500
|
+
failed?: number;
|
|
49501
|
+
finished_at?: string | null;
|
|
49502
|
+
id?: string;
|
|
49503
|
+
last_tick_at?: string | null;
|
|
49504
|
+
phase?: string;
|
|
49505
|
+
processed?: number;
|
|
49506
|
+
skipped_locked?: number;
|
|
49507
|
+
started_by?: string | null;
|
|
49508
|
+
status?: string;
|
|
49509
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
49510
|
+
strategy_id?: string | null;
|
|
49511
|
+
tasks_updated?: number;
|
|
49512
|
+
updated_at?: string;
|
|
49513
|
+
};
|
|
49514
|
+
Relationships: [];
|
|
49515
|
+
};
|
|
47377
49516
|
logistics_reschedules: {
|
|
47378
49517
|
Row: {
|
|
47379
49518
|
created_at: string;
|
|
@@ -47736,6 +49875,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47736
49875
|
};
|
|
47737
49876
|
logistics_tasks: {
|
|
47738
49877
|
Row: {
|
|
49878
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
49879
|
+
attempts: number;
|
|
47739
49880
|
buffer_ref: string | null;
|
|
47740
49881
|
claimed_at: string | null;
|
|
47741
49882
|
claimed_by: string | null;
|
|
@@ -47745,6 +49886,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47745
49886
|
due_at: string | null;
|
|
47746
49887
|
error: string | null;
|
|
47747
49888
|
id: string;
|
|
49889
|
+
last_error: string | null;
|
|
49890
|
+
next_attempt_at: string | null;
|
|
47748
49891
|
order_ref: string;
|
|
47749
49892
|
owner_module: string;
|
|
47750
49893
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -47765,6 +49908,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47765
49908
|
user_id: string;
|
|
47766
49909
|
};
|
|
47767
49910
|
Insert: {
|
|
49911
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
49912
|
+
attempts?: number;
|
|
47768
49913
|
buffer_ref?: string | null;
|
|
47769
49914
|
claimed_at?: string | null;
|
|
47770
49915
|
claimed_by?: string | null;
|
|
@@ -47774,6 +49919,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47774
49919
|
due_at?: string | null;
|
|
47775
49920
|
error?: string | null;
|
|
47776
49921
|
id?: string;
|
|
49922
|
+
last_error?: string | null;
|
|
49923
|
+
next_attempt_at?: string | null;
|
|
47777
49924
|
order_ref: string;
|
|
47778
49925
|
owner_module: string;
|
|
47779
49926
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -47794,6 +49941,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47794
49941
|
user_id?: string;
|
|
47795
49942
|
};
|
|
47796
49943
|
Update: {
|
|
49944
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
49945
|
+
attempts?: number;
|
|
47797
49946
|
buffer_ref?: string | null;
|
|
47798
49947
|
claimed_at?: string | null;
|
|
47799
49948
|
claimed_by?: string | null;
|
|
@@ -47803,6 +49952,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
47803
49952
|
due_at?: string | null;
|
|
47804
49953
|
error?: string | null;
|
|
47805
49954
|
id?: string;
|
|
49955
|
+
last_error?: string | null;
|
|
49956
|
+
next_attempt_at?: string | null;
|
|
47806
49957
|
order_ref?: string;
|
|
47807
49958
|
owner_module?: string;
|
|
47808
49959
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49152,6 +51303,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
49152
51303
|
};
|
|
49153
51304
|
offer_settings: {
|
|
49154
51305
|
Row: {
|
|
51306
|
+
brand_name: string | null;
|
|
49155
51307
|
button_color: string;
|
|
49156
51308
|
created_at: string;
|
|
49157
51309
|
default_countries: string[];
|
|
@@ -49173,6 +51325,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
49173
51325
|
updated_at: string;
|
|
49174
51326
|
};
|
|
49175
51327
|
Insert: {
|
|
51328
|
+
brand_name?: string | null;
|
|
49176
51329
|
button_color?: string;
|
|
49177
51330
|
created_at?: string;
|
|
49178
51331
|
default_countries?: string[];
|
|
@@ -49194,6 +51347,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
49194
51347
|
updated_at?: string;
|
|
49195
51348
|
};
|
|
49196
51349
|
Update: {
|
|
51350
|
+
brand_name?: string | null;
|
|
49197
51351
|
button_color?: string;
|
|
49198
51352
|
created_at?: string;
|
|
49199
51353
|
default_countries?: string[];
|
|
@@ -52603,6 +54757,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52603
54757
|
buffer_key: string | null;
|
|
52604
54758
|
created_at: string;
|
|
52605
54759
|
customer_names: string[];
|
|
54760
|
+
device_id: string | null;
|
|
52606
54761
|
geprint: boolean;
|
|
52607
54762
|
geprint_op: string | null;
|
|
52608
54763
|
id: string;
|
|
@@ -52612,6 +54767,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52612
54767
|
naar_pickstation: boolean;
|
|
52613
54768
|
naar_pickstation_op: string | null;
|
|
52614
54769
|
order_number: string | null;
|
|
54770
|
+
scanner_id: string | null;
|
|
52615
54771
|
scanner_key: string;
|
|
52616
54772
|
status: string;
|
|
52617
54773
|
totaal_producten: number;
|
|
@@ -52622,6 +54778,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52622
54778
|
buffer_key?: string | null;
|
|
52623
54779
|
created_at?: string;
|
|
52624
54780
|
customer_names?: string[];
|
|
54781
|
+
device_id?: string | null;
|
|
52625
54782
|
geprint?: boolean;
|
|
52626
54783
|
geprint_op?: string | null;
|
|
52627
54784
|
id?: string;
|
|
@@ -52631,6 +54788,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52631
54788
|
naar_pickstation?: boolean;
|
|
52632
54789
|
naar_pickstation_op?: string | null;
|
|
52633
54790
|
order_number?: string | null;
|
|
54791
|
+
scanner_id?: string | null;
|
|
52634
54792
|
scanner_key?: string;
|
|
52635
54793
|
status?: string;
|
|
52636
54794
|
totaal_producten?: number;
|
|
@@ -52641,6 +54799,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52641
54799
|
buffer_key?: string | null;
|
|
52642
54800
|
created_at?: string;
|
|
52643
54801
|
customer_names?: string[];
|
|
54802
|
+
device_id?: string | null;
|
|
52644
54803
|
geprint?: boolean;
|
|
52645
54804
|
geprint_op?: string | null;
|
|
52646
54805
|
id?: string;
|
|
@@ -52650,6 +54809,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52650
54809
|
naar_pickstation?: boolean;
|
|
52651
54810
|
naar_pickstation_op?: string | null;
|
|
52652
54811
|
order_number?: string | null;
|
|
54812
|
+
scanner_id?: string | null;
|
|
52653
54813
|
scanner_key?: string;
|
|
52654
54814
|
status?: string;
|
|
52655
54815
|
totaal_producten?: number;
|
|
@@ -52661,31 +54821,46 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52661
54821
|
Row: {
|
|
52662
54822
|
code: string;
|
|
52663
54823
|
created_at: string;
|
|
54824
|
+
device_id: string | null;
|
|
52664
54825
|
id: string;
|
|
52665
54826
|
kar_id: string | null;
|
|
54827
|
+
latency_ms: number | null;
|
|
54828
|
+
medewerker_naam: string | null;
|
|
52666
54829
|
message: string | null;
|
|
52667
54830
|
result: string;
|
|
54831
|
+
retry_count: number;
|
|
52668
54832
|
scanner_key: string;
|
|
54833
|
+
session_id: string | null;
|
|
52669
54834
|
user_id: string | null;
|
|
52670
54835
|
};
|
|
52671
54836
|
Insert: {
|
|
52672
54837
|
code: string;
|
|
52673
54838
|
created_at?: string;
|
|
54839
|
+
device_id?: string | null;
|
|
52674
54840
|
id?: string;
|
|
52675
54841
|
kar_id?: string | null;
|
|
54842
|
+
latency_ms?: number | null;
|
|
54843
|
+
medewerker_naam?: string | null;
|
|
52676
54844
|
message?: string | null;
|
|
52677
54845
|
result: string;
|
|
54846
|
+
retry_count?: number;
|
|
52678
54847
|
scanner_key?: string;
|
|
54848
|
+
session_id?: string | null;
|
|
52679
54849
|
user_id?: string | null;
|
|
52680
54850
|
};
|
|
52681
54851
|
Update: {
|
|
52682
54852
|
code?: string;
|
|
52683
54853
|
created_at?: string;
|
|
54854
|
+
device_id?: string | null;
|
|
52684
54855
|
id?: string;
|
|
52685
54856
|
kar_id?: string | null;
|
|
54857
|
+
latency_ms?: number | null;
|
|
54858
|
+
medewerker_naam?: string | null;
|
|
52686
54859
|
message?: string | null;
|
|
52687
54860
|
result?: string;
|
|
54861
|
+
retry_count?: number;
|
|
52688
54862
|
scanner_key?: string;
|
|
54863
|
+
session_id?: string | null;
|
|
52689
54864
|
user_id?: string | null;
|
|
52690
54865
|
};
|
|
52691
54866
|
Relationships: [];
|
|
@@ -52742,6 +54917,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52742
54917
|
printed_at: string;
|
|
52743
54918
|
status: string;
|
|
52744
54919
|
updated_at: string;
|
|
54920
|
+
vergrendeld_door: string | null;
|
|
54921
|
+
vergrendeld_sessie: string | null;
|
|
54922
|
+
vergrendeld_tot: string | null;
|
|
52745
54923
|
};
|
|
52746
54924
|
Insert: {
|
|
52747
54925
|
barcode: string;
|
|
@@ -52755,6 +54933,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52755
54933
|
printed_at?: string;
|
|
52756
54934
|
status?: string;
|
|
52757
54935
|
updated_at?: string;
|
|
54936
|
+
vergrendeld_door?: string | null;
|
|
54937
|
+
vergrendeld_sessie?: string | null;
|
|
54938
|
+
vergrendeld_tot?: string | null;
|
|
52758
54939
|
};
|
|
52759
54940
|
Update: {
|
|
52760
54941
|
barcode?: string;
|
|
@@ -52768,6 +54949,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52768
54949
|
printed_at?: string;
|
|
52769
54950
|
status?: string;
|
|
52770
54951
|
updated_at?: string;
|
|
54952
|
+
vergrendeld_door?: string | null;
|
|
54953
|
+
vergrendeld_sessie?: string | null;
|
|
54954
|
+
vergrendeld_tot?: string | null;
|
|
52771
54955
|
};
|
|
52772
54956
|
Relationships: [];
|
|
52773
54957
|
};
|
|
@@ -52776,31 +54960,40 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52776
54960
|
actief: boolean;
|
|
52777
54961
|
created_at: string;
|
|
52778
54962
|
id: string;
|
|
54963
|
+
max_producten_per_kar: number | null;
|
|
52779
54964
|
naam: string;
|
|
52780
54965
|
omschrijving: string | null;
|
|
54966
|
+
pincode: string | null;
|
|
52781
54967
|
slug: string;
|
|
52782
54968
|
type: string;
|
|
52783
54969
|
updated_at: string;
|
|
54970
|
+
vereist_medewerker: boolean;
|
|
52784
54971
|
};
|
|
52785
54972
|
Insert: {
|
|
52786
54973
|
actief?: boolean;
|
|
52787
54974
|
created_at?: string;
|
|
52788
54975
|
id?: string;
|
|
54976
|
+
max_producten_per_kar?: number | null;
|
|
52789
54977
|
naam: string;
|
|
52790
54978
|
omschrijving?: string | null;
|
|
54979
|
+
pincode?: string | null;
|
|
52791
54980
|
slug: string;
|
|
52792
54981
|
type?: string;
|
|
52793
54982
|
updated_at?: string;
|
|
54983
|
+
vereist_medewerker?: boolean;
|
|
52794
54984
|
};
|
|
52795
54985
|
Update: {
|
|
52796
54986
|
actief?: boolean;
|
|
52797
54987
|
created_at?: string;
|
|
52798
54988
|
id?: string;
|
|
54989
|
+
max_producten_per_kar?: number | null;
|
|
52799
54990
|
naam?: string;
|
|
52800
54991
|
omschrijving?: string | null;
|
|
54992
|
+
pincode?: string | null;
|
|
52801
54993
|
slug?: string;
|
|
52802
54994
|
type?: string;
|
|
52803
54995
|
updated_at?: string;
|
|
54996
|
+
vereist_medewerker?: boolean;
|
|
52804
54997
|
};
|
|
52805
54998
|
Relationships: [];
|
|
52806
54999
|
};
|
|
@@ -56765,6 +58958,54 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
56765
58958
|
};
|
|
56766
58959
|
Returns: import("../integrations/supabase/types").Json;
|
|
56767
58960
|
};
|
|
58961
|
+
claim_logistics_tasks: {
|
|
58962
|
+
Args: {
|
|
58963
|
+
_limit?: number;
|
|
58964
|
+
_owner_module: string;
|
|
58965
|
+
_stale_minutes?: number;
|
|
58966
|
+
_task_type: string;
|
|
58967
|
+
_worker: string;
|
|
58968
|
+
};
|
|
58969
|
+
Returns: {
|
|
58970
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
58971
|
+
attempts: number;
|
|
58972
|
+
buffer_ref: string | null;
|
|
58973
|
+
claimed_at: string | null;
|
|
58974
|
+
claimed_by: string | null;
|
|
58975
|
+
completed_at: string | null;
|
|
58976
|
+
created_at: string;
|
|
58977
|
+
depends_on: string[];
|
|
58978
|
+
due_at: string | null;
|
|
58979
|
+
error: string | null;
|
|
58980
|
+
id: string;
|
|
58981
|
+
last_error: string | null;
|
|
58982
|
+
next_attempt_at: string | null;
|
|
58983
|
+
order_ref: string;
|
|
58984
|
+
owner_module: string;
|
|
58985
|
+
payload: import("../integrations/supabase/types").Json;
|
|
58986
|
+
plan_run_id: string | null;
|
|
58987
|
+
planned_end: string | null;
|
|
58988
|
+
planned_start: string | null;
|
|
58989
|
+
priority: number;
|
|
58990
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
58991
|
+
rule_config_id: string | null;
|
|
58992
|
+
rule_version: number | null;
|
|
58993
|
+
sequence: number;
|
|
58994
|
+
shadow: boolean;
|
|
58995
|
+
started_at: string | null;
|
|
58996
|
+
status: string;
|
|
58997
|
+
strategy_id: string | null;
|
|
58998
|
+
task_type: string;
|
|
58999
|
+
updated_at: string;
|
|
59000
|
+
user_id: string;
|
|
59001
|
+
}[];
|
|
59002
|
+
SetofOptions: {
|
|
59003
|
+
from: "*";
|
|
59004
|
+
to: "logistics_tasks";
|
|
59005
|
+
isOneToOne: false;
|
|
59006
|
+
isSetofReturn: true;
|
|
59007
|
+
};
|
|
59008
|
+
};
|
|
56768
59009
|
claim_print_jobs: {
|
|
56769
59010
|
Args: {
|
|
56770
59011
|
_agent_id: string;
|
|
@@ -57005,6 +59246,21 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57005
59246
|
Args: never;
|
|
57006
59247
|
Returns: string;
|
|
57007
59248
|
};
|
|
59249
|
+
exact_auth_consume_calls: {
|
|
59250
|
+
Args: {
|
|
59251
|
+
_account_key: string;
|
|
59252
|
+
_calls?: number;
|
|
59253
|
+
_day_limit?: number;
|
|
59254
|
+
_division_code: number;
|
|
59255
|
+
_environment: string;
|
|
59256
|
+
_minute_limit?: number;
|
|
59257
|
+
};
|
|
59258
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59259
|
+
};
|
|
59260
|
+
exact_auth_prune_sync_log: {
|
|
59261
|
+
Args: never;
|
|
59262
|
+
Returns: undefined;
|
|
59263
|
+
};
|
|
57008
59264
|
exact_decrypt: {
|
|
57009
59265
|
Args: {
|
|
57010
59266
|
cipher: string;
|
|
@@ -57214,6 +59470,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57214
59470
|
};
|
|
57215
59471
|
Returns: number;
|
|
57216
59472
|
};
|
|
59473
|
+
get_offer_branding: {
|
|
59474
|
+
Args: never;
|
|
59475
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59476
|
+
};
|
|
57217
59477
|
get_offer_by_link_code: {
|
|
57218
59478
|
Args: {
|
|
57219
59479
|
p_code: string;
|
|
@@ -57385,6 +59645,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57385
59645
|
};
|
|
57386
59646
|
Returns: string;
|
|
57387
59647
|
};
|
|
59648
|
+
logistics_active_pick_workdays: {
|
|
59649
|
+
Args: never;
|
|
59650
|
+
Returns: string[];
|
|
59651
|
+
};
|
|
57388
59652
|
logistics_address_key: {
|
|
57389
59653
|
Args: {
|
|
57390
59654
|
p_location: string;
|
|
@@ -57501,6 +59765,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57501
59765
|
p_worker?: string;
|
|
57502
59766
|
};
|
|
57503
59767
|
Returns: {
|
|
59768
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59769
|
+
attempts: number;
|
|
57504
59770
|
buffer_ref: string | null;
|
|
57505
59771
|
claimed_at: string | null;
|
|
57506
59772
|
claimed_by: string | null;
|
|
@@ -57510,6 +59776,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57510
59776
|
due_at: string | null;
|
|
57511
59777
|
error: string | null;
|
|
57512
59778
|
id: string;
|
|
59779
|
+
last_error: string | null;
|
|
59780
|
+
next_attempt_at: string | null;
|
|
57513
59781
|
order_ref: string;
|
|
57514
59782
|
owner_module: string;
|
|
57515
59783
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57542,6 +59810,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57542
59810
|
p_worker?: string;
|
|
57543
59811
|
};
|
|
57544
59812
|
Returns: {
|
|
59813
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59814
|
+
attempts: number;
|
|
57545
59815
|
buffer_ref: string | null;
|
|
57546
59816
|
claimed_at: string | null;
|
|
57547
59817
|
claimed_by: string | null;
|
|
@@ -57551,6 +59821,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57551
59821
|
due_at: string | null;
|
|
57552
59822
|
error: string | null;
|
|
57553
59823
|
id: string;
|
|
59824
|
+
last_error: string | null;
|
|
59825
|
+
next_attempt_at: string | null;
|
|
57554
59826
|
order_ref: string;
|
|
57555
59827
|
owner_module: string;
|
|
57556
59828
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57583,6 +59855,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57583
59855
|
p_task_id: string;
|
|
57584
59856
|
};
|
|
57585
59857
|
Returns: {
|
|
59858
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59859
|
+
attempts: number;
|
|
57586
59860
|
buffer_ref: string | null;
|
|
57587
59861
|
claimed_at: string | null;
|
|
57588
59862
|
claimed_by: string | null;
|
|
@@ -57592,6 +59866,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57592
59866
|
due_at: string | null;
|
|
57593
59867
|
error: string | null;
|
|
57594
59868
|
id: string;
|
|
59869
|
+
last_error: string | null;
|
|
59870
|
+
next_attempt_at: string | null;
|
|
57595
59871
|
order_ref: string;
|
|
57596
59872
|
owner_module: string;
|
|
57597
59873
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57673,6 +59949,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57673
59949
|
p_task_id: string;
|
|
57674
59950
|
};
|
|
57675
59951
|
Returns: {
|
|
59952
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59953
|
+
attempts: number;
|
|
57676
59954
|
buffer_ref: string | null;
|
|
57677
59955
|
claimed_at: string | null;
|
|
57678
59956
|
claimed_by: string | null;
|
|
@@ -57682,6 +59960,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57682
59960
|
due_at: string | null;
|
|
57683
59961
|
error: string | null;
|
|
57684
59962
|
id: string;
|
|
59963
|
+
last_error: string | null;
|
|
59964
|
+
next_attempt_at: string | null;
|
|
57685
59965
|
order_ref: string;
|
|
57686
59966
|
owner_module: string;
|
|
57687
59967
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57708,12 +59988,30 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57708
59988
|
isSetofReturn: false;
|
|
57709
59989
|
};
|
|
57710
59990
|
};
|
|
59991
|
+
logistics_live_carriers: {
|
|
59992
|
+
Args: {
|
|
59993
|
+
p_order_ref: string;
|
|
59994
|
+
};
|
|
59995
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59996
|
+
};
|
|
59997
|
+
logistics_live_cart_count: {
|
|
59998
|
+
Args: {
|
|
59999
|
+
p_order_ref: string;
|
|
60000
|
+
};
|
|
60001
|
+
Returns: number;
|
|
60002
|
+
};
|
|
57711
60003
|
logistics_not_past: {
|
|
57712
60004
|
Args: {
|
|
57713
60005
|
p_ts: string;
|
|
57714
60006
|
};
|
|
57715
60007
|
Returns: string;
|
|
57716
60008
|
};
|
|
60009
|
+
logistics_order_cart_count: {
|
|
60010
|
+
Args: {
|
|
60011
|
+
p_order_ref: string;
|
|
60012
|
+
};
|
|
60013
|
+
Returns: number;
|
|
60014
|
+
};
|
|
57717
60015
|
logistics_order_pick_day: {
|
|
57718
60016
|
Args: {
|
|
57719
60017
|
p_order_ref: string;
|
|
@@ -57890,6 +60188,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
57890
60188
|
};
|
|
57891
60189
|
Returns: import("../integrations/supabase/types").Json;
|
|
57892
60190
|
};
|
|
60191
|
+
logistics_shift_to_workday: {
|
|
60192
|
+
Args: {
|
|
60193
|
+
p_days: string[];
|
|
60194
|
+
p_ts: string;
|
|
60195
|
+
};
|
|
60196
|
+
Returns: string;
|
|
60197
|
+
};
|
|
57893
60198
|
logistics_supersede_stale_tasks: {
|
|
57894
60199
|
Args: {
|
|
57895
60200
|
p_keep: string[];
|
|
@@ -58175,6 +60480,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
58175
60480
|
isSetofReturn: false;
|
|
58176
60481
|
};
|
|
58177
60482
|
};
|
|
60483
|
+
pick_current_pick_day: {
|
|
60484
|
+
Args: never;
|
|
60485
|
+
Returns: string;
|
|
60486
|
+
};
|
|
58178
60487
|
pick_document_layout_data: {
|
|
58179
60488
|
Args: {
|
|
58180
60489
|
_layout_id: string;
|
|
@@ -58406,10 +60715,68 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
58406
60715
|
Args: never;
|
|
58407
60716
|
Returns: undefined;
|
|
58408
60717
|
};
|
|
60718
|
+
run_logistics_tasks_dispatch: {
|
|
60719
|
+
Args: never;
|
|
60720
|
+
Returns: undefined;
|
|
60721
|
+
};
|
|
58409
60722
|
run_twinfield_queue_tick: {
|
|
58410
60723
|
Args: never;
|
|
58411
60724
|
Returns: undefined;
|
|
58412
60725
|
};
|
|
60726
|
+
scan_cancel_kar: {
|
|
60727
|
+
Args: {
|
|
60728
|
+
p_kar_id: string;
|
|
60729
|
+
};
|
|
60730
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60731
|
+
};
|
|
60732
|
+
scan_dashboard_stats: {
|
|
60733
|
+
Args: {
|
|
60734
|
+
p_dagen?: number;
|
|
60735
|
+
};
|
|
60736
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60737
|
+
};
|
|
60738
|
+
scan_finish_kar: {
|
|
60739
|
+
Args: {
|
|
60740
|
+
p_kar_id: string;
|
|
60741
|
+
};
|
|
60742
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60743
|
+
};
|
|
60744
|
+
scan_register_item: {
|
|
60745
|
+
Args: {
|
|
60746
|
+
p_kar_id: string;
|
|
60747
|
+
p_pakbon_item_id: string;
|
|
60748
|
+
p_scanned_by?: string;
|
|
60749
|
+
};
|
|
60750
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60751
|
+
};
|
|
60752
|
+
scan_release_expired_locks: {
|
|
60753
|
+
Args: never;
|
|
60754
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60755
|
+
};
|
|
60756
|
+
scan_remove_item: {
|
|
60757
|
+
Args: {
|
|
60758
|
+
p_kar_item_id: string;
|
|
60759
|
+
};
|
|
60760
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60761
|
+
};
|
|
60762
|
+
scan_start_kar: {
|
|
60763
|
+
Args: {
|
|
60764
|
+
p_medewerker_id?: string;
|
|
60765
|
+
p_medewerker_naam?: string;
|
|
60766
|
+
p_pakbon_ids: string[];
|
|
60767
|
+
p_scanner_key?: string;
|
|
60768
|
+
};
|
|
60769
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60770
|
+
} | {
|
|
60771
|
+
Args: {
|
|
60772
|
+
p_medewerker_id?: string;
|
|
60773
|
+
p_medewerker_naam?: string;
|
|
60774
|
+
p_pakbon_ids: string[];
|
|
60775
|
+
p_scanner_key?: string;
|
|
60776
|
+
p_sessie?: string;
|
|
60777
|
+
};
|
|
60778
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60779
|
+
};
|
|
58413
60780
|
schedule_floriday_additional_services_sync: {
|
|
58414
60781
|
Args: {
|
|
58415
60782
|
p_apikey: string;
|