@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
|
@@ -1859,6 +1859,39 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
1859
1859
|
referencedColumns: ["id"];
|
|
1860
1860
|
}];
|
|
1861
1861
|
};
|
|
1862
|
+
customer_notes: {
|
|
1863
|
+
Row: {
|
|
1864
|
+
created_at: string;
|
|
1865
|
+
customer_id: string | null;
|
|
1866
|
+
group_key: string | null;
|
|
1867
|
+
id: string;
|
|
1868
|
+
notes: string | null;
|
|
1869
|
+
updated_at: string;
|
|
1870
|
+
};
|
|
1871
|
+
Insert: {
|
|
1872
|
+
created_at?: string;
|
|
1873
|
+
customer_id?: string | null;
|
|
1874
|
+
group_key?: string | null;
|
|
1875
|
+
id?: string;
|
|
1876
|
+
notes?: string | null;
|
|
1877
|
+
updated_at?: string;
|
|
1878
|
+
};
|
|
1879
|
+
Update: {
|
|
1880
|
+
created_at?: string;
|
|
1881
|
+
customer_id?: string | null;
|
|
1882
|
+
group_key?: string | null;
|
|
1883
|
+
id?: string;
|
|
1884
|
+
notes?: string | null;
|
|
1885
|
+
updated_at?: string;
|
|
1886
|
+
};
|
|
1887
|
+
Relationships: [{
|
|
1888
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1889
|
+
columns: ["customer_id"];
|
|
1890
|
+
isOneToOne: true;
|
|
1891
|
+
referencedRelation: "customers";
|
|
1892
|
+
referencedColumns: ["id"];
|
|
1893
|
+
}];
|
|
1894
|
+
};
|
|
1862
1895
|
customer_price_group_members: {
|
|
1863
1896
|
Row: {
|
|
1864
1897
|
created_at: string;
|
|
@@ -3503,6 +3536,474 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
3503
3536
|
referencedColumns: ["id"];
|
|
3504
3537
|
}];
|
|
3505
3538
|
};
|
|
3539
|
+
exact_auth_call_budget: {
|
|
3540
|
+
Row: {
|
|
3541
|
+
account_key: string;
|
|
3542
|
+
day_count: number;
|
|
3543
|
+
day_date: string;
|
|
3544
|
+
division_code: number;
|
|
3545
|
+
environment: string;
|
|
3546
|
+
minute_count: number;
|
|
3547
|
+
minute_window: string;
|
|
3548
|
+
updated_at: string;
|
|
3549
|
+
};
|
|
3550
|
+
Insert: {
|
|
3551
|
+
account_key?: string;
|
|
3552
|
+
day_count?: number;
|
|
3553
|
+
day_date?: string;
|
|
3554
|
+
division_code?: number;
|
|
3555
|
+
environment: string;
|
|
3556
|
+
minute_count?: number;
|
|
3557
|
+
minute_window?: string;
|
|
3558
|
+
updated_at?: string;
|
|
3559
|
+
};
|
|
3560
|
+
Update: {
|
|
3561
|
+
account_key?: string;
|
|
3562
|
+
day_count?: number;
|
|
3563
|
+
day_date?: string;
|
|
3564
|
+
division_code?: number;
|
|
3565
|
+
environment?: string;
|
|
3566
|
+
minute_count?: number;
|
|
3567
|
+
minute_window?: string;
|
|
3568
|
+
updated_at?: string;
|
|
3569
|
+
};
|
|
3570
|
+
Relationships: [];
|
|
3571
|
+
};
|
|
3572
|
+
exact_auth_customers: {
|
|
3573
|
+
Row: {
|
|
3574
|
+
account_key: string;
|
|
3575
|
+
address_line1: string | null;
|
|
3576
|
+
chamber_of_commerce: string | null;
|
|
3577
|
+
city: string | null;
|
|
3578
|
+
code: string | null;
|
|
3579
|
+
country: string | null;
|
|
3580
|
+
created_at: string;
|
|
3581
|
+
currency: string | null;
|
|
3582
|
+
division_code: number | null;
|
|
3583
|
+
email: string | null;
|
|
3584
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3585
|
+
exact_id: string;
|
|
3586
|
+
exact_modified: string | null;
|
|
3587
|
+
exact_timestamp: number | null;
|
|
3588
|
+
id: string;
|
|
3589
|
+
is_active: boolean;
|
|
3590
|
+
name: string | null;
|
|
3591
|
+
phone: string | null;
|
|
3592
|
+
postcode: string | null;
|
|
3593
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3594
|
+
status: string | null;
|
|
3595
|
+
updated_at: string;
|
|
3596
|
+
vat_number: string | null;
|
|
3597
|
+
website: string | null;
|
|
3598
|
+
};
|
|
3599
|
+
Insert: {
|
|
3600
|
+
account_key?: string;
|
|
3601
|
+
address_line1?: string | null;
|
|
3602
|
+
chamber_of_commerce?: string | null;
|
|
3603
|
+
city?: string | null;
|
|
3604
|
+
code?: string | null;
|
|
3605
|
+
country?: string | null;
|
|
3606
|
+
created_at?: string;
|
|
3607
|
+
currency?: string | null;
|
|
3608
|
+
division_code?: number | null;
|
|
3609
|
+
email?: string | null;
|
|
3610
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3611
|
+
exact_id: string;
|
|
3612
|
+
exact_modified?: string | null;
|
|
3613
|
+
exact_timestamp?: number | null;
|
|
3614
|
+
id?: string;
|
|
3615
|
+
is_active?: boolean;
|
|
3616
|
+
name?: string | null;
|
|
3617
|
+
phone?: string | null;
|
|
3618
|
+
postcode?: string | null;
|
|
3619
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3620
|
+
status?: string | null;
|
|
3621
|
+
updated_at?: string;
|
|
3622
|
+
vat_number?: string | null;
|
|
3623
|
+
website?: string | null;
|
|
3624
|
+
};
|
|
3625
|
+
Update: {
|
|
3626
|
+
account_key?: string;
|
|
3627
|
+
address_line1?: string | null;
|
|
3628
|
+
chamber_of_commerce?: string | null;
|
|
3629
|
+
city?: string | null;
|
|
3630
|
+
code?: string | null;
|
|
3631
|
+
country?: string | null;
|
|
3632
|
+
created_at?: string;
|
|
3633
|
+
currency?: string | null;
|
|
3634
|
+
division_code?: number | null;
|
|
3635
|
+
email?: string | null;
|
|
3636
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3637
|
+
exact_id?: string;
|
|
3638
|
+
exact_modified?: string | null;
|
|
3639
|
+
exact_timestamp?: number | null;
|
|
3640
|
+
id?: string;
|
|
3641
|
+
is_active?: boolean;
|
|
3642
|
+
name?: string | null;
|
|
3643
|
+
phone?: string | null;
|
|
3644
|
+
postcode?: string | null;
|
|
3645
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3646
|
+
status?: string | null;
|
|
3647
|
+
updated_at?: string;
|
|
3648
|
+
vat_number?: string | null;
|
|
3649
|
+
website?: string | null;
|
|
3650
|
+
};
|
|
3651
|
+
Relationships: [];
|
|
3652
|
+
};
|
|
3653
|
+
exact_auth_divisions: {
|
|
3654
|
+
Row: {
|
|
3655
|
+
account_key: string;
|
|
3656
|
+
company_name: string | null;
|
|
3657
|
+
created_at: string;
|
|
3658
|
+
division_code: number | null;
|
|
3659
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3660
|
+
id: string;
|
|
3661
|
+
last_synced_at: string | null;
|
|
3662
|
+
updated_at: string;
|
|
3663
|
+
};
|
|
3664
|
+
Insert: {
|
|
3665
|
+
account_key?: string;
|
|
3666
|
+
company_name?: string | null;
|
|
3667
|
+
created_at?: string;
|
|
3668
|
+
division_code?: number | null;
|
|
3669
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3670
|
+
id?: string;
|
|
3671
|
+
last_synced_at?: string | null;
|
|
3672
|
+
updated_at?: string;
|
|
3673
|
+
};
|
|
3674
|
+
Update: {
|
|
3675
|
+
account_key?: string;
|
|
3676
|
+
company_name?: string | null;
|
|
3677
|
+
created_at?: string;
|
|
3678
|
+
division_code?: number | null;
|
|
3679
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3680
|
+
id?: string;
|
|
3681
|
+
last_synced_at?: string | null;
|
|
3682
|
+
updated_at?: string;
|
|
3683
|
+
};
|
|
3684
|
+
Relationships: [];
|
|
3685
|
+
};
|
|
3686
|
+
exact_auth_invoice_lines: {
|
|
3687
|
+
Row: {
|
|
3688
|
+
account_key: string;
|
|
3689
|
+
amount_excl: number | null;
|
|
3690
|
+
created_at: string;
|
|
3691
|
+
description: string | null;
|
|
3692
|
+
discount: number | null;
|
|
3693
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3694
|
+
exact_id: string;
|
|
3695
|
+
exact_timestamp: number | null;
|
|
3696
|
+
id: string;
|
|
3697
|
+
invoice_exact_id: string;
|
|
3698
|
+
item_code: string | null;
|
|
3699
|
+
item_exact_id: string | null;
|
|
3700
|
+
line_number: number | null;
|
|
3701
|
+
quantity: number | null;
|
|
3702
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3703
|
+
unit_price: number | null;
|
|
3704
|
+
updated_at: string;
|
|
3705
|
+
vat_amount: number | null;
|
|
3706
|
+
vat_code: string | null;
|
|
3707
|
+
};
|
|
3708
|
+
Insert: {
|
|
3709
|
+
account_key?: string;
|
|
3710
|
+
amount_excl?: number | null;
|
|
3711
|
+
created_at?: string;
|
|
3712
|
+
description?: string | null;
|
|
3713
|
+
discount?: number | null;
|
|
3714
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3715
|
+
exact_id: string;
|
|
3716
|
+
exact_timestamp?: number | null;
|
|
3717
|
+
id?: string;
|
|
3718
|
+
invoice_exact_id: string;
|
|
3719
|
+
item_code?: string | null;
|
|
3720
|
+
item_exact_id?: string | null;
|
|
3721
|
+
line_number?: number | null;
|
|
3722
|
+
quantity?: number | null;
|
|
3723
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3724
|
+
unit_price?: number | null;
|
|
3725
|
+
updated_at?: string;
|
|
3726
|
+
vat_amount?: number | null;
|
|
3727
|
+
vat_code?: string | null;
|
|
3728
|
+
};
|
|
3729
|
+
Update: {
|
|
3730
|
+
account_key?: string;
|
|
3731
|
+
amount_excl?: number | null;
|
|
3732
|
+
created_at?: string;
|
|
3733
|
+
description?: string | null;
|
|
3734
|
+
discount?: number | null;
|
|
3735
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3736
|
+
exact_id?: string;
|
|
3737
|
+
exact_timestamp?: number | null;
|
|
3738
|
+
id?: string;
|
|
3739
|
+
invoice_exact_id?: string;
|
|
3740
|
+
item_code?: string | null;
|
|
3741
|
+
item_exact_id?: string | null;
|
|
3742
|
+
line_number?: number | null;
|
|
3743
|
+
quantity?: number | null;
|
|
3744
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3745
|
+
unit_price?: number | null;
|
|
3746
|
+
updated_at?: string;
|
|
3747
|
+
vat_amount?: number | null;
|
|
3748
|
+
vat_code?: string | null;
|
|
3749
|
+
};
|
|
3750
|
+
Relationships: [];
|
|
3751
|
+
};
|
|
3752
|
+
exact_auth_invoices: {
|
|
3753
|
+
Row: {
|
|
3754
|
+
account_key: string;
|
|
3755
|
+
amount_excl: number | null;
|
|
3756
|
+
amount_incl: number | null;
|
|
3757
|
+
amount_open: number | null;
|
|
3758
|
+
created_at: string;
|
|
3759
|
+
currency: string | null;
|
|
3760
|
+
customer_code: string | null;
|
|
3761
|
+
customer_exact_id: string | null;
|
|
3762
|
+
customer_name: string | null;
|
|
3763
|
+
description: string | null;
|
|
3764
|
+
division_code: number | null;
|
|
3765
|
+
due_date: string | null;
|
|
3766
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3767
|
+
exact_id: string;
|
|
3768
|
+
exact_modified: string | null;
|
|
3769
|
+
exact_timestamp: number | null;
|
|
3770
|
+
id: string;
|
|
3771
|
+
invoice_date: string | null;
|
|
3772
|
+
invoice_number: string | null;
|
|
3773
|
+
order_number: string | null;
|
|
3774
|
+
paid_at: string | null;
|
|
3775
|
+
payment_status: string;
|
|
3776
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3777
|
+
receivable_synced_at: string | null;
|
|
3778
|
+
status_code: number | null;
|
|
3779
|
+
updated_at: string;
|
|
3780
|
+
};
|
|
3781
|
+
Insert: {
|
|
3782
|
+
account_key?: string;
|
|
3783
|
+
amount_excl?: number | null;
|
|
3784
|
+
amount_incl?: number | null;
|
|
3785
|
+
amount_open?: number | null;
|
|
3786
|
+
created_at?: string;
|
|
3787
|
+
currency?: string | null;
|
|
3788
|
+
customer_code?: string | null;
|
|
3789
|
+
customer_exact_id?: string | null;
|
|
3790
|
+
customer_name?: string | null;
|
|
3791
|
+
description?: string | null;
|
|
3792
|
+
division_code?: number | null;
|
|
3793
|
+
due_date?: string | null;
|
|
3794
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3795
|
+
exact_id: string;
|
|
3796
|
+
exact_modified?: string | null;
|
|
3797
|
+
exact_timestamp?: number | null;
|
|
3798
|
+
id?: string;
|
|
3799
|
+
invoice_date?: string | null;
|
|
3800
|
+
invoice_number?: string | null;
|
|
3801
|
+
order_number?: string | null;
|
|
3802
|
+
paid_at?: string | null;
|
|
3803
|
+
payment_status?: string;
|
|
3804
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3805
|
+
receivable_synced_at?: string | null;
|
|
3806
|
+
status_code?: number | null;
|
|
3807
|
+
updated_at?: string;
|
|
3808
|
+
};
|
|
3809
|
+
Update: {
|
|
3810
|
+
account_key?: string;
|
|
3811
|
+
amount_excl?: number | null;
|
|
3812
|
+
amount_incl?: number | null;
|
|
3813
|
+
amount_open?: number | null;
|
|
3814
|
+
created_at?: string;
|
|
3815
|
+
currency?: string | null;
|
|
3816
|
+
customer_code?: string | null;
|
|
3817
|
+
customer_exact_id?: string | null;
|
|
3818
|
+
customer_name?: string | null;
|
|
3819
|
+
description?: string | null;
|
|
3820
|
+
division_code?: number | null;
|
|
3821
|
+
due_date?: string | null;
|
|
3822
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3823
|
+
exact_id?: string;
|
|
3824
|
+
exact_modified?: string | null;
|
|
3825
|
+
exact_timestamp?: number | null;
|
|
3826
|
+
id?: string;
|
|
3827
|
+
invoice_date?: string | null;
|
|
3828
|
+
invoice_number?: string | null;
|
|
3829
|
+
order_number?: string | null;
|
|
3830
|
+
paid_at?: string | null;
|
|
3831
|
+
payment_status?: string;
|
|
3832
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3833
|
+
receivable_synced_at?: string | null;
|
|
3834
|
+
status_code?: number | null;
|
|
3835
|
+
updated_at?: string;
|
|
3836
|
+
};
|
|
3837
|
+
Relationships: [];
|
|
3838
|
+
};
|
|
3839
|
+
exact_auth_items: {
|
|
3840
|
+
Row: {
|
|
3841
|
+
account_key: string;
|
|
3842
|
+
barcode: string | null;
|
|
3843
|
+
code: string | null;
|
|
3844
|
+
cost_price: number | null;
|
|
3845
|
+
created_at: string;
|
|
3846
|
+
description: string | null;
|
|
3847
|
+
division_code: number | null;
|
|
3848
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3849
|
+
exact_id: string;
|
|
3850
|
+
exact_modified: string | null;
|
|
3851
|
+
exact_timestamp: number | null;
|
|
3852
|
+
gl_account_code: string | null;
|
|
3853
|
+
id: string;
|
|
3854
|
+
is_active: boolean;
|
|
3855
|
+
is_sales_item: boolean | null;
|
|
3856
|
+
item_type: string | null;
|
|
3857
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3858
|
+
sales_price: number | null;
|
|
3859
|
+
unit: string | null;
|
|
3860
|
+
updated_at: string;
|
|
3861
|
+
vat_code: string | null;
|
|
3862
|
+
};
|
|
3863
|
+
Insert: {
|
|
3864
|
+
account_key?: string;
|
|
3865
|
+
barcode?: string | null;
|
|
3866
|
+
code?: string | null;
|
|
3867
|
+
cost_price?: number | null;
|
|
3868
|
+
created_at?: string;
|
|
3869
|
+
description?: string | null;
|
|
3870
|
+
division_code?: number | null;
|
|
3871
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3872
|
+
exact_id: string;
|
|
3873
|
+
exact_modified?: string | null;
|
|
3874
|
+
exact_timestamp?: number | null;
|
|
3875
|
+
gl_account_code?: string | null;
|
|
3876
|
+
id?: string;
|
|
3877
|
+
is_active?: boolean;
|
|
3878
|
+
is_sales_item?: boolean | null;
|
|
3879
|
+
item_type?: string | null;
|
|
3880
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3881
|
+
sales_price?: number | null;
|
|
3882
|
+
unit?: string | null;
|
|
3883
|
+
updated_at?: string;
|
|
3884
|
+
vat_code?: string | null;
|
|
3885
|
+
};
|
|
3886
|
+
Update: {
|
|
3887
|
+
account_key?: string;
|
|
3888
|
+
barcode?: string | null;
|
|
3889
|
+
code?: string | null;
|
|
3890
|
+
cost_price?: number | null;
|
|
3891
|
+
created_at?: string;
|
|
3892
|
+
description?: string | null;
|
|
3893
|
+
division_code?: number | null;
|
|
3894
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3895
|
+
exact_id?: string;
|
|
3896
|
+
exact_modified?: string | null;
|
|
3897
|
+
exact_timestamp?: number | null;
|
|
3898
|
+
gl_account_code?: string | null;
|
|
3899
|
+
id?: string;
|
|
3900
|
+
is_active?: boolean;
|
|
3901
|
+
is_sales_item?: boolean | null;
|
|
3902
|
+
item_type?: string | null;
|
|
3903
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3904
|
+
sales_price?: number | null;
|
|
3905
|
+
unit?: string | null;
|
|
3906
|
+
updated_at?: string;
|
|
3907
|
+
vat_code?: string | null;
|
|
3908
|
+
};
|
|
3909
|
+
Relationships: [];
|
|
3910
|
+
};
|
|
3911
|
+
exact_auth_sync_log: {
|
|
3912
|
+
Row: {
|
|
3913
|
+
account_key: string;
|
|
3914
|
+
calls_used: number;
|
|
3915
|
+
created_at: string;
|
|
3916
|
+
domain: string;
|
|
3917
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3918
|
+
error: string | null;
|
|
3919
|
+
finished_at: string | null;
|
|
3920
|
+
id: string;
|
|
3921
|
+
ok: boolean;
|
|
3922
|
+
records: number;
|
|
3923
|
+
started_at: string;
|
|
3924
|
+
};
|
|
3925
|
+
Insert: {
|
|
3926
|
+
account_key?: string;
|
|
3927
|
+
calls_used?: number;
|
|
3928
|
+
created_at?: string;
|
|
3929
|
+
domain: string;
|
|
3930
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3931
|
+
error?: string | null;
|
|
3932
|
+
finished_at?: string | null;
|
|
3933
|
+
id?: string;
|
|
3934
|
+
ok?: boolean;
|
|
3935
|
+
records?: number;
|
|
3936
|
+
started_at?: string;
|
|
3937
|
+
};
|
|
3938
|
+
Update: {
|
|
3939
|
+
account_key?: string;
|
|
3940
|
+
calls_used?: number;
|
|
3941
|
+
created_at?: string;
|
|
3942
|
+
domain?: string;
|
|
3943
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3944
|
+
error?: string | null;
|
|
3945
|
+
finished_at?: string | null;
|
|
3946
|
+
id?: string;
|
|
3947
|
+
ok?: boolean;
|
|
3948
|
+
records?: number;
|
|
3949
|
+
started_at?: string;
|
|
3950
|
+
};
|
|
3951
|
+
Relationships: [];
|
|
3952
|
+
};
|
|
3953
|
+
exact_auth_sync_state: {
|
|
3954
|
+
Row: {
|
|
3955
|
+
account_key: string;
|
|
3956
|
+
created_at: string;
|
|
3957
|
+
cursor_timestamp: number;
|
|
3958
|
+
division_code: number | null;
|
|
3959
|
+
domain: string;
|
|
3960
|
+
duration_ms: number | null;
|
|
3961
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3962
|
+
initial_sync_done: boolean;
|
|
3963
|
+
last_error: string | null;
|
|
3964
|
+
last_run_at: string | null;
|
|
3965
|
+
last_success_at: string | null;
|
|
3966
|
+
locked_at: string | null;
|
|
3967
|
+
needs_initial_sync: boolean;
|
|
3968
|
+
record_count: number;
|
|
3969
|
+
updated_at: string;
|
|
3970
|
+
};
|
|
3971
|
+
Insert: {
|
|
3972
|
+
account_key?: string;
|
|
3973
|
+
created_at?: string;
|
|
3974
|
+
cursor_timestamp?: number;
|
|
3975
|
+
division_code?: number | null;
|
|
3976
|
+
domain: string;
|
|
3977
|
+
duration_ms?: number | null;
|
|
3978
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3979
|
+
initial_sync_done?: boolean;
|
|
3980
|
+
last_error?: string | null;
|
|
3981
|
+
last_run_at?: string | null;
|
|
3982
|
+
last_success_at?: string | null;
|
|
3983
|
+
locked_at?: string | null;
|
|
3984
|
+
needs_initial_sync?: boolean;
|
|
3985
|
+
record_count?: number;
|
|
3986
|
+
updated_at?: string;
|
|
3987
|
+
};
|
|
3988
|
+
Update: {
|
|
3989
|
+
account_key?: string;
|
|
3990
|
+
created_at?: string;
|
|
3991
|
+
cursor_timestamp?: number;
|
|
3992
|
+
division_code?: number | null;
|
|
3993
|
+
domain?: string;
|
|
3994
|
+
duration_ms?: number | null;
|
|
3995
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3996
|
+
initial_sync_done?: boolean;
|
|
3997
|
+
last_error?: string | null;
|
|
3998
|
+
last_run_at?: string | null;
|
|
3999
|
+
last_success_at?: string | null;
|
|
4000
|
+
locked_at?: string | null;
|
|
4001
|
+
needs_initial_sync?: boolean;
|
|
4002
|
+
record_count?: number;
|
|
4003
|
+
updated_at?: string;
|
|
4004
|
+
};
|
|
4005
|
+
Relationships: [];
|
|
4006
|
+
};
|
|
3506
4007
|
exact_bulk_operation_items: {
|
|
3507
4008
|
Row: {
|
|
3508
4009
|
attempts: number;
|
|
@@ -8165,6 +8666,66 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8165
8666
|
};
|
|
8166
8667
|
Relationships: [];
|
|
8167
8668
|
};
|
|
8669
|
+
logistics_recalc_jobs: {
|
|
8670
|
+
Row: {
|
|
8671
|
+
carts_created: number;
|
|
8672
|
+
created_at: string;
|
|
8673
|
+
cursor: string | null;
|
|
8674
|
+
errors: import("../integrations/supabase/types").Json;
|
|
8675
|
+
failed: number;
|
|
8676
|
+
finished_at: string | null;
|
|
8677
|
+
id: string;
|
|
8678
|
+
last_tick_at: string | null;
|
|
8679
|
+
phase: string;
|
|
8680
|
+
processed: number;
|
|
8681
|
+
skipped_locked: number;
|
|
8682
|
+
started_by: string | null;
|
|
8683
|
+
status: string;
|
|
8684
|
+
steps: import("../integrations/supabase/types").Json;
|
|
8685
|
+
strategy_id: string | null;
|
|
8686
|
+
tasks_updated: number;
|
|
8687
|
+
updated_at: string;
|
|
8688
|
+
};
|
|
8689
|
+
Insert: {
|
|
8690
|
+
carts_created?: number;
|
|
8691
|
+
created_at?: string;
|
|
8692
|
+
cursor?: string | null;
|
|
8693
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8694
|
+
failed?: number;
|
|
8695
|
+
finished_at?: string | null;
|
|
8696
|
+
id?: string;
|
|
8697
|
+
last_tick_at?: string | null;
|
|
8698
|
+
phase?: string;
|
|
8699
|
+
processed?: number;
|
|
8700
|
+
skipped_locked?: number;
|
|
8701
|
+
started_by?: string | null;
|
|
8702
|
+
status?: string;
|
|
8703
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8704
|
+
strategy_id?: string | null;
|
|
8705
|
+
tasks_updated?: number;
|
|
8706
|
+
updated_at?: string;
|
|
8707
|
+
};
|
|
8708
|
+
Update: {
|
|
8709
|
+
carts_created?: number;
|
|
8710
|
+
created_at?: string;
|
|
8711
|
+
cursor?: string | null;
|
|
8712
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8713
|
+
failed?: number;
|
|
8714
|
+
finished_at?: string | null;
|
|
8715
|
+
id?: string;
|
|
8716
|
+
last_tick_at?: string | null;
|
|
8717
|
+
phase?: string;
|
|
8718
|
+
processed?: number;
|
|
8719
|
+
skipped_locked?: number;
|
|
8720
|
+
started_by?: string | null;
|
|
8721
|
+
status?: string;
|
|
8722
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8723
|
+
strategy_id?: string | null;
|
|
8724
|
+
tasks_updated?: number;
|
|
8725
|
+
updated_at?: string;
|
|
8726
|
+
};
|
|
8727
|
+
Relationships: [];
|
|
8728
|
+
};
|
|
8168
8729
|
logistics_reschedules: {
|
|
8169
8730
|
Row: {
|
|
8170
8731
|
created_at: string;
|
|
@@ -8527,6 +9088,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8527
9088
|
};
|
|
8528
9089
|
logistics_tasks: {
|
|
8529
9090
|
Row: {
|
|
9091
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9092
|
+
attempts: number;
|
|
8530
9093
|
buffer_ref: string | null;
|
|
8531
9094
|
claimed_at: string | null;
|
|
8532
9095
|
claimed_by: string | null;
|
|
@@ -8536,6 +9099,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8536
9099
|
due_at: string | null;
|
|
8537
9100
|
error: string | null;
|
|
8538
9101
|
id: string;
|
|
9102
|
+
last_error: string | null;
|
|
9103
|
+
next_attempt_at: string | null;
|
|
8539
9104
|
order_ref: string;
|
|
8540
9105
|
owner_module: string;
|
|
8541
9106
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -8556,6 +9121,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8556
9121
|
user_id: string;
|
|
8557
9122
|
};
|
|
8558
9123
|
Insert: {
|
|
9124
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9125
|
+
attempts?: number;
|
|
8559
9126
|
buffer_ref?: string | null;
|
|
8560
9127
|
claimed_at?: string | null;
|
|
8561
9128
|
claimed_by?: string | null;
|
|
@@ -8565,6 +9132,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8565
9132
|
due_at?: string | null;
|
|
8566
9133
|
error?: string | null;
|
|
8567
9134
|
id?: string;
|
|
9135
|
+
last_error?: string | null;
|
|
9136
|
+
next_attempt_at?: string | null;
|
|
8568
9137
|
order_ref: string;
|
|
8569
9138
|
owner_module: string;
|
|
8570
9139
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -8585,6 +9154,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8585
9154
|
user_id?: string;
|
|
8586
9155
|
};
|
|
8587
9156
|
Update: {
|
|
9157
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9158
|
+
attempts?: number;
|
|
8588
9159
|
buffer_ref?: string | null;
|
|
8589
9160
|
claimed_at?: string | null;
|
|
8590
9161
|
claimed_by?: string | null;
|
|
@@ -8594,6 +9165,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8594
9165
|
due_at?: string | null;
|
|
8595
9166
|
error?: string | null;
|
|
8596
9167
|
id?: string;
|
|
9168
|
+
last_error?: string | null;
|
|
9169
|
+
next_attempt_at?: string | null;
|
|
8597
9170
|
order_ref?: string;
|
|
8598
9171
|
owner_module?: string;
|
|
8599
9172
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9943,6 +10516,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9943
10516
|
};
|
|
9944
10517
|
offer_settings: {
|
|
9945
10518
|
Row: {
|
|
10519
|
+
brand_name: string | null;
|
|
9946
10520
|
button_color: string;
|
|
9947
10521
|
created_at: string;
|
|
9948
10522
|
default_countries: string[];
|
|
@@ -9964,6 +10538,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9964
10538
|
updated_at: string;
|
|
9965
10539
|
};
|
|
9966
10540
|
Insert: {
|
|
10541
|
+
brand_name?: string | null;
|
|
9967
10542
|
button_color?: string;
|
|
9968
10543
|
created_at?: string;
|
|
9969
10544
|
default_countries?: string[];
|
|
@@ -9985,6 +10560,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9985
10560
|
updated_at?: string;
|
|
9986
10561
|
};
|
|
9987
10562
|
Update: {
|
|
10563
|
+
brand_name?: string | null;
|
|
9988
10564
|
button_color?: string;
|
|
9989
10565
|
created_at?: string;
|
|
9990
10566
|
default_countries?: string[];
|
|
@@ -13394,6 +13970,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13394
13970
|
buffer_key: string | null;
|
|
13395
13971
|
created_at: string;
|
|
13396
13972
|
customer_names: string[];
|
|
13973
|
+
device_id: string | null;
|
|
13397
13974
|
geprint: boolean;
|
|
13398
13975
|
geprint_op: string | null;
|
|
13399
13976
|
id: string;
|
|
@@ -13403,6 +13980,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13403
13980
|
naar_pickstation: boolean;
|
|
13404
13981
|
naar_pickstation_op: string | null;
|
|
13405
13982
|
order_number: string | null;
|
|
13983
|
+
scanner_id: string | null;
|
|
13406
13984
|
scanner_key: string;
|
|
13407
13985
|
status: string;
|
|
13408
13986
|
totaal_producten: number;
|
|
@@ -13413,6 +13991,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13413
13991
|
buffer_key?: string | null;
|
|
13414
13992
|
created_at?: string;
|
|
13415
13993
|
customer_names?: string[];
|
|
13994
|
+
device_id?: string | null;
|
|
13416
13995
|
geprint?: boolean;
|
|
13417
13996
|
geprint_op?: string | null;
|
|
13418
13997
|
id?: string;
|
|
@@ -13422,6 +14001,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13422
14001
|
naar_pickstation?: boolean;
|
|
13423
14002
|
naar_pickstation_op?: string | null;
|
|
13424
14003
|
order_number?: string | null;
|
|
14004
|
+
scanner_id?: string | null;
|
|
13425
14005
|
scanner_key?: string;
|
|
13426
14006
|
status?: string;
|
|
13427
14007
|
totaal_producten?: number;
|
|
@@ -13432,6 +14012,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13432
14012
|
buffer_key?: string | null;
|
|
13433
14013
|
created_at?: string;
|
|
13434
14014
|
customer_names?: string[];
|
|
14015
|
+
device_id?: string | null;
|
|
13435
14016
|
geprint?: boolean;
|
|
13436
14017
|
geprint_op?: string | null;
|
|
13437
14018
|
id?: string;
|
|
@@ -13441,6 +14022,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13441
14022
|
naar_pickstation?: boolean;
|
|
13442
14023
|
naar_pickstation_op?: string | null;
|
|
13443
14024
|
order_number?: string | null;
|
|
14025
|
+
scanner_id?: string | null;
|
|
13444
14026
|
scanner_key?: string;
|
|
13445
14027
|
status?: string;
|
|
13446
14028
|
totaal_producten?: number;
|
|
@@ -13452,31 +14034,46 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13452
14034
|
Row: {
|
|
13453
14035
|
code: string;
|
|
13454
14036
|
created_at: string;
|
|
14037
|
+
device_id: string | null;
|
|
13455
14038
|
id: string;
|
|
13456
14039
|
kar_id: string | null;
|
|
14040
|
+
latency_ms: number | null;
|
|
14041
|
+
medewerker_naam: string | null;
|
|
13457
14042
|
message: string | null;
|
|
13458
14043
|
result: string;
|
|
14044
|
+
retry_count: number;
|
|
13459
14045
|
scanner_key: string;
|
|
14046
|
+
session_id: string | null;
|
|
13460
14047
|
user_id: string | null;
|
|
13461
14048
|
};
|
|
13462
14049
|
Insert: {
|
|
13463
14050
|
code: string;
|
|
13464
14051
|
created_at?: string;
|
|
14052
|
+
device_id?: string | null;
|
|
13465
14053
|
id?: string;
|
|
13466
14054
|
kar_id?: string | null;
|
|
14055
|
+
latency_ms?: number | null;
|
|
14056
|
+
medewerker_naam?: string | null;
|
|
13467
14057
|
message?: string | null;
|
|
13468
14058
|
result: string;
|
|
14059
|
+
retry_count?: number;
|
|
13469
14060
|
scanner_key?: string;
|
|
14061
|
+
session_id?: string | null;
|
|
13470
14062
|
user_id?: string | null;
|
|
13471
14063
|
};
|
|
13472
14064
|
Update: {
|
|
13473
14065
|
code?: string;
|
|
13474
14066
|
created_at?: string;
|
|
14067
|
+
device_id?: string | null;
|
|
13475
14068
|
id?: string;
|
|
13476
14069
|
kar_id?: string | null;
|
|
14070
|
+
latency_ms?: number | null;
|
|
14071
|
+
medewerker_naam?: string | null;
|
|
13477
14072
|
message?: string | null;
|
|
13478
14073
|
result?: string;
|
|
14074
|
+
retry_count?: number;
|
|
13479
14075
|
scanner_key?: string;
|
|
14076
|
+
session_id?: string | null;
|
|
13480
14077
|
user_id?: string | null;
|
|
13481
14078
|
};
|
|
13482
14079
|
Relationships: [];
|
|
@@ -13533,6 +14130,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13533
14130
|
printed_at: string;
|
|
13534
14131
|
status: string;
|
|
13535
14132
|
updated_at: string;
|
|
14133
|
+
vergrendeld_door: string | null;
|
|
14134
|
+
vergrendeld_sessie: string | null;
|
|
14135
|
+
vergrendeld_tot: string | null;
|
|
13536
14136
|
};
|
|
13537
14137
|
Insert: {
|
|
13538
14138
|
barcode: string;
|
|
@@ -13546,6 +14146,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13546
14146
|
printed_at?: string;
|
|
13547
14147
|
status?: string;
|
|
13548
14148
|
updated_at?: string;
|
|
14149
|
+
vergrendeld_door?: string | null;
|
|
14150
|
+
vergrendeld_sessie?: string | null;
|
|
14151
|
+
vergrendeld_tot?: string | null;
|
|
13549
14152
|
};
|
|
13550
14153
|
Update: {
|
|
13551
14154
|
barcode?: string;
|
|
@@ -13559,6 +14162,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13559
14162
|
printed_at?: string;
|
|
13560
14163
|
status?: string;
|
|
13561
14164
|
updated_at?: string;
|
|
14165
|
+
vergrendeld_door?: string | null;
|
|
14166
|
+
vergrendeld_sessie?: string | null;
|
|
14167
|
+
vergrendeld_tot?: string | null;
|
|
13562
14168
|
};
|
|
13563
14169
|
Relationships: [];
|
|
13564
14170
|
};
|
|
@@ -13567,31 +14173,40 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13567
14173
|
actief: boolean;
|
|
13568
14174
|
created_at: string;
|
|
13569
14175
|
id: string;
|
|
14176
|
+
max_producten_per_kar: number | null;
|
|
13570
14177
|
naam: string;
|
|
13571
14178
|
omschrijving: string | null;
|
|
14179
|
+
pincode: string | null;
|
|
13572
14180
|
slug: string;
|
|
13573
14181
|
type: string;
|
|
13574
14182
|
updated_at: string;
|
|
14183
|
+
vereist_medewerker: boolean;
|
|
13575
14184
|
};
|
|
13576
14185
|
Insert: {
|
|
13577
14186
|
actief?: boolean;
|
|
13578
14187
|
created_at?: string;
|
|
13579
14188
|
id?: string;
|
|
14189
|
+
max_producten_per_kar?: number | null;
|
|
13580
14190
|
naam: string;
|
|
13581
14191
|
omschrijving?: string | null;
|
|
14192
|
+
pincode?: string | null;
|
|
13582
14193
|
slug: string;
|
|
13583
14194
|
type?: string;
|
|
13584
14195
|
updated_at?: string;
|
|
14196
|
+
vereist_medewerker?: boolean;
|
|
13585
14197
|
};
|
|
13586
14198
|
Update: {
|
|
13587
14199
|
actief?: boolean;
|
|
13588
14200
|
created_at?: string;
|
|
13589
14201
|
id?: string;
|
|
14202
|
+
max_producten_per_kar?: number | null;
|
|
13590
14203
|
naam?: string;
|
|
13591
14204
|
omschrijving?: string | null;
|
|
14205
|
+
pincode?: string | null;
|
|
13592
14206
|
slug?: string;
|
|
13593
14207
|
type?: string;
|
|
13594
14208
|
updated_at?: string;
|
|
14209
|
+
vereist_medewerker?: boolean;
|
|
13595
14210
|
};
|
|
13596
14211
|
Relationships: [];
|
|
13597
14212
|
};
|
|
@@ -17556,6 +18171,54 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
17556
18171
|
};
|
|
17557
18172
|
Returns: import("../integrations/supabase/types").Json;
|
|
17558
18173
|
};
|
|
18174
|
+
claim_logistics_tasks: {
|
|
18175
|
+
Args: {
|
|
18176
|
+
_limit?: number;
|
|
18177
|
+
_owner_module: string;
|
|
18178
|
+
_stale_minutes?: number;
|
|
18179
|
+
_task_type: string;
|
|
18180
|
+
_worker: string;
|
|
18181
|
+
};
|
|
18182
|
+
Returns: {
|
|
18183
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18184
|
+
attempts: number;
|
|
18185
|
+
buffer_ref: string | null;
|
|
18186
|
+
claimed_at: string | null;
|
|
18187
|
+
claimed_by: string | null;
|
|
18188
|
+
completed_at: string | null;
|
|
18189
|
+
created_at: string;
|
|
18190
|
+
depends_on: string[];
|
|
18191
|
+
due_at: string | null;
|
|
18192
|
+
error: string | null;
|
|
18193
|
+
id: string;
|
|
18194
|
+
last_error: string | null;
|
|
18195
|
+
next_attempt_at: string | null;
|
|
18196
|
+
order_ref: string;
|
|
18197
|
+
owner_module: string;
|
|
18198
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18199
|
+
plan_run_id: string | null;
|
|
18200
|
+
planned_end: string | null;
|
|
18201
|
+
planned_start: string | null;
|
|
18202
|
+
priority: number;
|
|
18203
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18204
|
+
rule_config_id: string | null;
|
|
18205
|
+
rule_version: number | null;
|
|
18206
|
+
sequence: number;
|
|
18207
|
+
shadow: boolean;
|
|
18208
|
+
started_at: string | null;
|
|
18209
|
+
status: string;
|
|
18210
|
+
strategy_id: string | null;
|
|
18211
|
+
task_type: string;
|
|
18212
|
+
updated_at: string;
|
|
18213
|
+
user_id: string;
|
|
18214
|
+
}[];
|
|
18215
|
+
SetofOptions: {
|
|
18216
|
+
from: "*";
|
|
18217
|
+
to: "logistics_tasks";
|
|
18218
|
+
isOneToOne: false;
|
|
18219
|
+
isSetofReturn: true;
|
|
18220
|
+
};
|
|
18221
|
+
};
|
|
17559
18222
|
claim_print_jobs: {
|
|
17560
18223
|
Args: {
|
|
17561
18224
|
_agent_id: string;
|
|
@@ -17796,6 +18459,21 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
17796
18459
|
Args: never;
|
|
17797
18460
|
Returns: string;
|
|
17798
18461
|
};
|
|
18462
|
+
exact_auth_consume_calls: {
|
|
18463
|
+
Args: {
|
|
18464
|
+
_account_key: string;
|
|
18465
|
+
_calls?: number;
|
|
18466
|
+
_day_limit?: number;
|
|
18467
|
+
_division_code: number;
|
|
18468
|
+
_environment: string;
|
|
18469
|
+
_minute_limit?: number;
|
|
18470
|
+
};
|
|
18471
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18472
|
+
};
|
|
18473
|
+
exact_auth_prune_sync_log: {
|
|
18474
|
+
Args: never;
|
|
18475
|
+
Returns: undefined;
|
|
18476
|
+
};
|
|
17799
18477
|
exact_decrypt: {
|
|
17800
18478
|
Args: {
|
|
17801
18479
|
cipher: string;
|
|
@@ -18005,6 +18683,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18005
18683
|
};
|
|
18006
18684
|
Returns: number;
|
|
18007
18685
|
};
|
|
18686
|
+
get_offer_branding: {
|
|
18687
|
+
Args: never;
|
|
18688
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18689
|
+
};
|
|
18008
18690
|
get_offer_by_link_code: {
|
|
18009
18691
|
Args: {
|
|
18010
18692
|
p_code: string;
|
|
@@ -18176,6 +18858,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18176
18858
|
};
|
|
18177
18859
|
Returns: string;
|
|
18178
18860
|
};
|
|
18861
|
+
logistics_active_pick_workdays: {
|
|
18862
|
+
Args: never;
|
|
18863
|
+
Returns: string[];
|
|
18864
|
+
};
|
|
18179
18865
|
logistics_address_key: {
|
|
18180
18866
|
Args: {
|
|
18181
18867
|
p_location: string;
|
|
@@ -18292,6 +18978,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18292
18978
|
p_worker?: string;
|
|
18293
18979
|
};
|
|
18294
18980
|
Returns: {
|
|
18981
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18982
|
+
attempts: number;
|
|
18295
18983
|
buffer_ref: string | null;
|
|
18296
18984
|
claimed_at: string | null;
|
|
18297
18985
|
claimed_by: string | null;
|
|
@@ -18301,6 +18989,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18301
18989
|
due_at: string | null;
|
|
18302
18990
|
error: string | null;
|
|
18303
18991
|
id: string;
|
|
18992
|
+
last_error: string | null;
|
|
18993
|
+
next_attempt_at: string | null;
|
|
18304
18994
|
order_ref: string;
|
|
18305
18995
|
owner_module: string;
|
|
18306
18996
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18333,6 +19023,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18333
19023
|
p_worker?: string;
|
|
18334
19024
|
};
|
|
18335
19025
|
Returns: {
|
|
19026
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19027
|
+
attempts: number;
|
|
18336
19028
|
buffer_ref: string | null;
|
|
18337
19029
|
claimed_at: string | null;
|
|
18338
19030
|
claimed_by: string | null;
|
|
@@ -18342,6 +19034,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18342
19034
|
due_at: string | null;
|
|
18343
19035
|
error: string | null;
|
|
18344
19036
|
id: string;
|
|
19037
|
+
last_error: string | null;
|
|
19038
|
+
next_attempt_at: string | null;
|
|
18345
19039
|
order_ref: string;
|
|
18346
19040
|
owner_module: string;
|
|
18347
19041
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18374,6 +19068,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18374
19068
|
p_task_id: string;
|
|
18375
19069
|
};
|
|
18376
19070
|
Returns: {
|
|
19071
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19072
|
+
attempts: number;
|
|
18377
19073
|
buffer_ref: string | null;
|
|
18378
19074
|
claimed_at: string | null;
|
|
18379
19075
|
claimed_by: string | null;
|
|
@@ -18383,6 +19079,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18383
19079
|
due_at: string | null;
|
|
18384
19080
|
error: string | null;
|
|
18385
19081
|
id: string;
|
|
19082
|
+
last_error: string | null;
|
|
19083
|
+
next_attempt_at: string | null;
|
|
18386
19084
|
order_ref: string;
|
|
18387
19085
|
owner_module: string;
|
|
18388
19086
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18464,6 +19162,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18464
19162
|
p_task_id: string;
|
|
18465
19163
|
};
|
|
18466
19164
|
Returns: {
|
|
19165
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19166
|
+
attempts: number;
|
|
18467
19167
|
buffer_ref: string | null;
|
|
18468
19168
|
claimed_at: string | null;
|
|
18469
19169
|
claimed_by: string | null;
|
|
@@ -18473,6 +19173,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18473
19173
|
due_at: string | null;
|
|
18474
19174
|
error: string | null;
|
|
18475
19175
|
id: string;
|
|
19176
|
+
last_error: string | null;
|
|
19177
|
+
next_attempt_at: string | null;
|
|
18476
19178
|
order_ref: string;
|
|
18477
19179
|
owner_module: string;
|
|
18478
19180
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18499,12 +19201,30 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18499
19201
|
isSetofReturn: false;
|
|
18500
19202
|
};
|
|
18501
19203
|
};
|
|
19204
|
+
logistics_live_carriers: {
|
|
19205
|
+
Args: {
|
|
19206
|
+
p_order_ref: string;
|
|
19207
|
+
};
|
|
19208
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19209
|
+
};
|
|
19210
|
+
logistics_live_cart_count: {
|
|
19211
|
+
Args: {
|
|
19212
|
+
p_order_ref: string;
|
|
19213
|
+
};
|
|
19214
|
+
Returns: number;
|
|
19215
|
+
};
|
|
18502
19216
|
logistics_not_past: {
|
|
18503
19217
|
Args: {
|
|
18504
19218
|
p_ts: string;
|
|
18505
19219
|
};
|
|
18506
19220
|
Returns: string;
|
|
18507
19221
|
};
|
|
19222
|
+
logistics_order_cart_count: {
|
|
19223
|
+
Args: {
|
|
19224
|
+
p_order_ref: string;
|
|
19225
|
+
};
|
|
19226
|
+
Returns: number;
|
|
19227
|
+
};
|
|
18508
19228
|
logistics_order_pick_day: {
|
|
18509
19229
|
Args: {
|
|
18510
19230
|
p_order_ref: string;
|
|
@@ -18681,6 +19401,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18681
19401
|
};
|
|
18682
19402
|
Returns: import("../integrations/supabase/types").Json;
|
|
18683
19403
|
};
|
|
19404
|
+
logistics_shift_to_workday: {
|
|
19405
|
+
Args: {
|
|
19406
|
+
p_days: string[];
|
|
19407
|
+
p_ts: string;
|
|
19408
|
+
};
|
|
19409
|
+
Returns: string;
|
|
19410
|
+
};
|
|
18684
19411
|
logistics_supersede_stale_tasks: {
|
|
18685
19412
|
Args: {
|
|
18686
19413
|
p_keep: string[];
|
|
@@ -18966,6 +19693,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18966
19693
|
isSetofReturn: false;
|
|
18967
19694
|
};
|
|
18968
19695
|
};
|
|
19696
|
+
pick_current_pick_day: {
|
|
19697
|
+
Args: never;
|
|
19698
|
+
Returns: string;
|
|
19699
|
+
};
|
|
18969
19700
|
pick_document_layout_data: {
|
|
18970
19701
|
Args: {
|
|
18971
19702
|
_layout_id: string;
|
|
@@ -19197,10 +19928,68 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19197
19928
|
Args: never;
|
|
19198
19929
|
Returns: undefined;
|
|
19199
19930
|
};
|
|
19931
|
+
run_logistics_tasks_dispatch: {
|
|
19932
|
+
Args: never;
|
|
19933
|
+
Returns: undefined;
|
|
19934
|
+
};
|
|
19200
19935
|
run_twinfield_queue_tick: {
|
|
19201
19936
|
Args: never;
|
|
19202
19937
|
Returns: undefined;
|
|
19203
19938
|
};
|
|
19939
|
+
scan_cancel_kar: {
|
|
19940
|
+
Args: {
|
|
19941
|
+
p_kar_id: string;
|
|
19942
|
+
};
|
|
19943
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19944
|
+
};
|
|
19945
|
+
scan_dashboard_stats: {
|
|
19946
|
+
Args: {
|
|
19947
|
+
p_dagen?: number;
|
|
19948
|
+
};
|
|
19949
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19950
|
+
};
|
|
19951
|
+
scan_finish_kar: {
|
|
19952
|
+
Args: {
|
|
19953
|
+
p_kar_id: string;
|
|
19954
|
+
};
|
|
19955
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19956
|
+
};
|
|
19957
|
+
scan_register_item: {
|
|
19958
|
+
Args: {
|
|
19959
|
+
p_kar_id: string;
|
|
19960
|
+
p_pakbon_item_id: string;
|
|
19961
|
+
p_scanned_by?: string;
|
|
19962
|
+
};
|
|
19963
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19964
|
+
};
|
|
19965
|
+
scan_release_expired_locks: {
|
|
19966
|
+
Args: never;
|
|
19967
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19968
|
+
};
|
|
19969
|
+
scan_remove_item: {
|
|
19970
|
+
Args: {
|
|
19971
|
+
p_kar_item_id: string;
|
|
19972
|
+
};
|
|
19973
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19974
|
+
};
|
|
19975
|
+
scan_start_kar: {
|
|
19976
|
+
Args: {
|
|
19977
|
+
p_medewerker_id?: string;
|
|
19978
|
+
p_medewerker_naam?: string;
|
|
19979
|
+
p_pakbon_ids: string[];
|
|
19980
|
+
p_scanner_key?: string;
|
|
19981
|
+
};
|
|
19982
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19983
|
+
} | {
|
|
19984
|
+
Args: {
|
|
19985
|
+
p_medewerker_id?: string;
|
|
19986
|
+
p_medewerker_naam?: string;
|
|
19987
|
+
p_pakbon_ids: string[];
|
|
19988
|
+
p_scanner_key?: string;
|
|
19989
|
+
p_sessie?: string;
|
|
19990
|
+
};
|
|
19991
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19992
|
+
};
|
|
19204
19993
|
schedule_floriday_additional_services_sync: {
|
|
19205
19994
|
Args: {
|
|
19206
19995
|
p_apikey: string;
|
|
@@ -21459,6 +22248,39 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
21459
22248
|
referencedColumns: ["id"];
|
|
21460
22249
|
}];
|
|
21461
22250
|
};
|
|
22251
|
+
customer_notes: {
|
|
22252
|
+
Row: {
|
|
22253
|
+
created_at: string;
|
|
22254
|
+
customer_id: string | null;
|
|
22255
|
+
group_key: string | null;
|
|
22256
|
+
id: string;
|
|
22257
|
+
notes: string | null;
|
|
22258
|
+
updated_at: string;
|
|
22259
|
+
};
|
|
22260
|
+
Insert: {
|
|
22261
|
+
created_at?: string;
|
|
22262
|
+
customer_id?: string | null;
|
|
22263
|
+
group_key?: string | null;
|
|
22264
|
+
id?: string;
|
|
22265
|
+
notes?: string | null;
|
|
22266
|
+
updated_at?: string;
|
|
22267
|
+
};
|
|
22268
|
+
Update: {
|
|
22269
|
+
created_at?: string;
|
|
22270
|
+
customer_id?: string | null;
|
|
22271
|
+
group_key?: string | null;
|
|
22272
|
+
id?: string;
|
|
22273
|
+
notes?: string | null;
|
|
22274
|
+
updated_at?: string;
|
|
22275
|
+
};
|
|
22276
|
+
Relationships: [{
|
|
22277
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
22278
|
+
columns: ["customer_id"];
|
|
22279
|
+
isOneToOne: true;
|
|
22280
|
+
referencedRelation: "customers";
|
|
22281
|
+
referencedColumns: ["id"];
|
|
22282
|
+
}];
|
|
22283
|
+
};
|
|
21462
22284
|
customer_price_group_members: {
|
|
21463
22285
|
Row: {
|
|
21464
22286
|
created_at: string;
|
|
@@ -23103,6 +23925,474 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
23103
23925
|
referencedColumns: ["id"];
|
|
23104
23926
|
}];
|
|
23105
23927
|
};
|
|
23928
|
+
exact_auth_call_budget: {
|
|
23929
|
+
Row: {
|
|
23930
|
+
account_key: string;
|
|
23931
|
+
day_count: number;
|
|
23932
|
+
day_date: string;
|
|
23933
|
+
division_code: number;
|
|
23934
|
+
environment: string;
|
|
23935
|
+
minute_count: number;
|
|
23936
|
+
minute_window: string;
|
|
23937
|
+
updated_at: string;
|
|
23938
|
+
};
|
|
23939
|
+
Insert: {
|
|
23940
|
+
account_key?: string;
|
|
23941
|
+
day_count?: number;
|
|
23942
|
+
day_date?: string;
|
|
23943
|
+
division_code?: number;
|
|
23944
|
+
environment: string;
|
|
23945
|
+
minute_count?: number;
|
|
23946
|
+
minute_window?: string;
|
|
23947
|
+
updated_at?: string;
|
|
23948
|
+
};
|
|
23949
|
+
Update: {
|
|
23950
|
+
account_key?: string;
|
|
23951
|
+
day_count?: number;
|
|
23952
|
+
day_date?: string;
|
|
23953
|
+
division_code?: number;
|
|
23954
|
+
environment?: string;
|
|
23955
|
+
minute_count?: number;
|
|
23956
|
+
minute_window?: string;
|
|
23957
|
+
updated_at?: string;
|
|
23958
|
+
};
|
|
23959
|
+
Relationships: [];
|
|
23960
|
+
};
|
|
23961
|
+
exact_auth_customers: {
|
|
23962
|
+
Row: {
|
|
23963
|
+
account_key: string;
|
|
23964
|
+
address_line1: string | null;
|
|
23965
|
+
chamber_of_commerce: string | null;
|
|
23966
|
+
city: string | null;
|
|
23967
|
+
code: string | null;
|
|
23968
|
+
country: string | null;
|
|
23969
|
+
created_at: string;
|
|
23970
|
+
currency: string | null;
|
|
23971
|
+
division_code: number | null;
|
|
23972
|
+
email: string | null;
|
|
23973
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23974
|
+
exact_id: string;
|
|
23975
|
+
exact_modified: string | null;
|
|
23976
|
+
exact_timestamp: number | null;
|
|
23977
|
+
id: string;
|
|
23978
|
+
is_active: boolean;
|
|
23979
|
+
name: string | null;
|
|
23980
|
+
phone: string | null;
|
|
23981
|
+
postcode: string | null;
|
|
23982
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
23983
|
+
status: string | null;
|
|
23984
|
+
updated_at: string;
|
|
23985
|
+
vat_number: string | null;
|
|
23986
|
+
website: string | null;
|
|
23987
|
+
};
|
|
23988
|
+
Insert: {
|
|
23989
|
+
account_key?: string;
|
|
23990
|
+
address_line1?: string | null;
|
|
23991
|
+
chamber_of_commerce?: string | null;
|
|
23992
|
+
city?: string | null;
|
|
23993
|
+
code?: string | null;
|
|
23994
|
+
country?: string | null;
|
|
23995
|
+
created_at?: string;
|
|
23996
|
+
currency?: string | null;
|
|
23997
|
+
division_code?: number | null;
|
|
23998
|
+
email?: string | null;
|
|
23999
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24000
|
+
exact_id: string;
|
|
24001
|
+
exact_modified?: string | null;
|
|
24002
|
+
exact_timestamp?: number | null;
|
|
24003
|
+
id?: string;
|
|
24004
|
+
is_active?: boolean;
|
|
24005
|
+
name?: string | null;
|
|
24006
|
+
phone?: string | null;
|
|
24007
|
+
postcode?: string | null;
|
|
24008
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24009
|
+
status?: string | null;
|
|
24010
|
+
updated_at?: string;
|
|
24011
|
+
vat_number?: string | null;
|
|
24012
|
+
website?: string | null;
|
|
24013
|
+
};
|
|
24014
|
+
Update: {
|
|
24015
|
+
account_key?: string;
|
|
24016
|
+
address_line1?: string | null;
|
|
24017
|
+
chamber_of_commerce?: string | null;
|
|
24018
|
+
city?: string | null;
|
|
24019
|
+
code?: string | null;
|
|
24020
|
+
country?: string | null;
|
|
24021
|
+
created_at?: string;
|
|
24022
|
+
currency?: string | null;
|
|
24023
|
+
division_code?: number | null;
|
|
24024
|
+
email?: string | null;
|
|
24025
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24026
|
+
exact_id?: string;
|
|
24027
|
+
exact_modified?: string | null;
|
|
24028
|
+
exact_timestamp?: number | null;
|
|
24029
|
+
id?: string;
|
|
24030
|
+
is_active?: boolean;
|
|
24031
|
+
name?: string | null;
|
|
24032
|
+
phone?: string | null;
|
|
24033
|
+
postcode?: string | null;
|
|
24034
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24035
|
+
status?: string | null;
|
|
24036
|
+
updated_at?: string;
|
|
24037
|
+
vat_number?: string | null;
|
|
24038
|
+
website?: string | null;
|
|
24039
|
+
};
|
|
24040
|
+
Relationships: [];
|
|
24041
|
+
};
|
|
24042
|
+
exact_auth_divisions: {
|
|
24043
|
+
Row: {
|
|
24044
|
+
account_key: string;
|
|
24045
|
+
company_name: string | null;
|
|
24046
|
+
created_at: string;
|
|
24047
|
+
division_code: number | null;
|
|
24048
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24049
|
+
id: string;
|
|
24050
|
+
last_synced_at: string | null;
|
|
24051
|
+
updated_at: string;
|
|
24052
|
+
};
|
|
24053
|
+
Insert: {
|
|
24054
|
+
account_key?: string;
|
|
24055
|
+
company_name?: string | null;
|
|
24056
|
+
created_at?: string;
|
|
24057
|
+
division_code?: number | null;
|
|
24058
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24059
|
+
id?: string;
|
|
24060
|
+
last_synced_at?: string | null;
|
|
24061
|
+
updated_at?: string;
|
|
24062
|
+
};
|
|
24063
|
+
Update: {
|
|
24064
|
+
account_key?: string;
|
|
24065
|
+
company_name?: string | null;
|
|
24066
|
+
created_at?: string;
|
|
24067
|
+
division_code?: number | null;
|
|
24068
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24069
|
+
id?: string;
|
|
24070
|
+
last_synced_at?: string | null;
|
|
24071
|
+
updated_at?: string;
|
|
24072
|
+
};
|
|
24073
|
+
Relationships: [];
|
|
24074
|
+
};
|
|
24075
|
+
exact_auth_invoice_lines: {
|
|
24076
|
+
Row: {
|
|
24077
|
+
account_key: string;
|
|
24078
|
+
amount_excl: number | null;
|
|
24079
|
+
created_at: string;
|
|
24080
|
+
description: string | null;
|
|
24081
|
+
discount: number | null;
|
|
24082
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24083
|
+
exact_id: string;
|
|
24084
|
+
exact_timestamp: number | null;
|
|
24085
|
+
id: string;
|
|
24086
|
+
invoice_exact_id: string;
|
|
24087
|
+
item_code: string | null;
|
|
24088
|
+
item_exact_id: string | null;
|
|
24089
|
+
line_number: number | null;
|
|
24090
|
+
quantity: number | null;
|
|
24091
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24092
|
+
unit_price: number | null;
|
|
24093
|
+
updated_at: string;
|
|
24094
|
+
vat_amount: number | null;
|
|
24095
|
+
vat_code: string | null;
|
|
24096
|
+
};
|
|
24097
|
+
Insert: {
|
|
24098
|
+
account_key?: string;
|
|
24099
|
+
amount_excl?: number | null;
|
|
24100
|
+
created_at?: string;
|
|
24101
|
+
description?: string | null;
|
|
24102
|
+
discount?: number | null;
|
|
24103
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24104
|
+
exact_id: string;
|
|
24105
|
+
exact_timestamp?: number | null;
|
|
24106
|
+
id?: string;
|
|
24107
|
+
invoice_exact_id: string;
|
|
24108
|
+
item_code?: string | null;
|
|
24109
|
+
item_exact_id?: string | null;
|
|
24110
|
+
line_number?: number | null;
|
|
24111
|
+
quantity?: number | null;
|
|
24112
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24113
|
+
unit_price?: number | null;
|
|
24114
|
+
updated_at?: string;
|
|
24115
|
+
vat_amount?: number | null;
|
|
24116
|
+
vat_code?: string | null;
|
|
24117
|
+
};
|
|
24118
|
+
Update: {
|
|
24119
|
+
account_key?: string;
|
|
24120
|
+
amount_excl?: number | null;
|
|
24121
|
+
created_at?: string;
|
|
24122
|
+
description?: string | null;
|
|
24123
|
+
discount?: number | null;
|
|
24124
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24125
|
+
exact_id?: string;
|
|
24126
|
+
exact_timestamp?: number | null;
|
|
24127
|
+
id?: string;
|
|
24128
|
+
invoice_exact_id?: string;
|
|
24129
|
+
item_code?: string | null;
|
|
24130
|
+
item_exact_id?: string | null;
|
|
24131
|
+
line_number?: number | null;
|
|
24132
|
+
quantity?: number | null;
|
|
24133
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24134
|
+
unit_price?: number | null;
|
|
24135
|
+
updated_at?: string;
|
|
24136
|
+
vat_amount?: number | null;
|
|
24137
|
+
vat_code?: string | null;
|
|
24138
|
+
};
|
|
24139
|
+
Relationships: [];
|
|
24140
|
+
};
|
|
24141
|
+
exact_auth_invoices: {
|
|
24142
|
+
Row: {
|
|
24143
|
+
account_key: string;
|
|
24144
|
+
amount_excl: number | null;
|
|
24145
|
+
amount_incl: number | null;
|
|
24146
|
+
amount_open: number | null;
|
|
24147
|
+
created_at: string;
|
|
24148
|
+
currency: string | null;
|
|
24149
|
+
customer_code: string | null;
|
|
24150
|
+
customer_exact_id: string | null;
|
|
24151
|
+
customer_name: string | null;
|
|
24152
|
+
description: string | null;
|
|
24153
|
+
division_code: number | null;
|
|
24154
|
+
due_date: string | null;
|
|
24155
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24156
|
+
exact_id: string;
|
|
24157
|
+
exact_modified: string | null;
|
|
24158
|
+
exact_timestamp: number | null;
|
|
24159
|
+
id: string;
|
|
24160
|
+
invoice_date: string | null;
|
|
24161
|
+
invoice_number: string | null;
|
|
24162
|
+
order_number: string | null;
|
|
24163
|
+
paid_at: string | null;
|
|
24164
|
+
payment_status: string;
|
|
24165
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24166
|
+
receivable_synced_at: string | null;
|
|
24167
|
+
status_code: number | null;
|
|
24168
|
+
updated_at: string;
|
|
24169
|
+
};
|
|
24170
|
+
Insert: {
|
|
24171
|
+
account_key?: string;
|
|
24172
|
+
amount_excl?: number | null;
|
|
24173
|
+
amount_incl?: number | null;
|
|
24174
|
+
amount_open?: number | null;
|
|
24175
|
+
created_at?: string;
|
|
24176
|
+
currency?: string | null;
|
|
24177
|
+
customer_code?: string | null;
|
|
24178
|
+
customer_exact_id?: string | null;
|
|
24179
|
+
customer_name?: string | null;
|
|
24180
|
+
description?: string | null;
|
|
24181
|
+
division_code?: number | null;
|
|
24182
|
+
due_date?: string | null;
|
|
24183
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24184
|
+
exact_id: string;
|
|
24185
|
+
exact_modified?: string | null;
|
|
24186
|
+
exact_timestamp?: number | null;
|
|
24187
|
+
id?: string;
|
|
24188
|
+
invoice_date?: string | null;
|
|
24189
|
+
invoice_number?: string | null;
|
|
24190
|
+
order_number?: string | null;
|
|
24191
|
+
paid_at?: string | null;
|
|
24192
|
+
payment_status?: string;
|
|
24193
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24194
|
+
receivable_synced_at?: string | null;
|
|
24195
|
+
status_code?: number | null;
|
|
24196
|
+
updated_at?: string;
|
|
24197
|
+
};
|
|
24198
|
+
Update: {
|
|
24199
|
+
account_key?: string;
|
|
24200
|
+
amount_excl?: number | null;
|
|
24201
|
+
amount_incl?: number | null;
|
|
24202
|
+
amount_open?: number | null;
|
|
24203
|
+
created_at?: string;
|
|
24204
|
+
currency?: string | null;
|
|
24205
|
+
customer_code?: string | null;
|
|
24206
|
+
customer_exact_id?: string | null;
|
|
24207
|
+
customer_name?: string | null;
|
|
24208
|
+
description?: string | null;
|
|
24209
|
+
division_code?: number | null;
|
|
24210
|
+
due_date?: string | null;
|
|
24211
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24212
|
+
exact_id?: string;
|
|
24213
|
+
exact_modified?: string | null;
|
|
24214
|
+
exact_timestamp?: number | null;
|
|
24215
|
+
id?: string;
|
|
24216
|
+
invoice_date?: string | null;
|
|
24217
|
+
invoice_number?: string | null;
|
|
24218
|
+
order_number?: string | null;
|
|
24219
|
+
paid_at?: string | null;
|
|
24220
|
+
payment_status?: string;
|
|
24221
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24222
|
+
receivable_synced_at?: string | null;
|
|
24223
|
+
status_code?: number | null;
|
|
24224
|
+
updated_at?: string;
|
|
24225
|
+
};
|
|
24226
|
+
Relationships: [];
|
|
24227
|
+
};
|
|
24228
|
+
exact_auth_items: {
|
|
24229
|
+
Row: {
|
|
24230
|
+
account_key: string;
|
|
24231
|
+
barcode: string | null;
|
|
24232
|
+
code: string | null;
|
|
24233
|
+
cost_price: number | null;
|
|
24234
|
+
created_at: string;
|
|
24235
|
+
description: string | null;
|
|
24236
|
+
division_code: number | null;
|
|
24237
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24238
|
+
exact_id: string;
|
|
24239
|
+
exact_modified: string | null;
|
|
24240
|
+
exact_timestamp: number | null;
|
|
24241
|
+
gl_account_code: string | null;
|
|
24242
|
+
id: string;
|
|
24243
|
+
is_active: boolean;
|
|
24244
|
+
is_sales_item: boolean | null;
|
|
24245
|
+
item_type: string | null;
|
|
24246
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24247
|
+
sales_price: number | null;
|
|
24248
|
+
unit: string | null;
|
|
24249
|
+
updated_at: string;
|
|
24250
|
+
vat_code: string | null;
|
|
24251
|
+
};
|
|
24252
|
+
Insert: {
|
|
24253
|
+
account_key?: string;
|
|
24254
|
+
barcode?: string | null;
|
|
24255
|
+
code?: string | null;
|
|
24256
|
+
cost_price?: number | null;
|
|
24257
|
+
created_at?: string;
|
|
24258
|
+
description?: string | null;
|
|
24259
|
+
division_code?: number | null;
|
|
24260
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24261
|
+
exact_id: string;
|
|
24262
|
+
exact_modified?: string | null;
|
|
24263
|
+
exact_timestamp?: number | null;
|
|
24264
|
+
gl_account_code?: string | null;
|
|
24265
|
+
id?: string;
|
|
24266
|
+
is_active?: boolean;
|
|
24267
|
+
is_sales_item?: boolean | null;
|
|
24268
|
+
item_type?: string | null;
|
|
24269
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24270
|
+
sales_price?: number | null;
|
|
24271
|
+
unit?: string | null;
|
|
24272
|
+
updated_at?: string;
|
|
24273
|
+
vat_code?: string | null;
|
|
24274
|
+
};
|
|
24275
|
+
Update: {
|
|
24276
|
+
account_key?: string;
|
|
24277
|
+
barcode?: string | null;
|
|
24278
|
+
code?: string | null;
|
|
24279
|
+
cost_price?: number | null;
|
|
24280
|
+
created_at?: string;
|
|
24281
|
+
description?: string | null;
|
|
24282
|
+
division_code?: number | null;
|
|
24283
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24284
|
+
exact_id?: string;
|
|
24285
|
+
exact_modified?: string | null;
|
|
24286
|
+
exact_timestamp?: number | null;
|
|
24287
|
+
gl_account_code?: string | null;
|
|
24288
|
+
id?: string;
|
|
24289
|
+
is_active?: boolean;
|
|
24290
|
+
is_sales_item?: boolean | null;
|
|
24291
|
+
item_type?: string | null;
|
|
24292
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24293
|
+
sales_price?: number | null;
|
|
24294
|
+
unit?: string | null;
|
|
24295
|
+
updated_at?: string;
|
|
24296
|
+
vat_code?: string | null;
|
|
24297
|
+
};
|
|
24298
|
+
Relationships: [];
|
|
24299
|
+
};
|
|
24300
|
+
exact_auth_sync_log: {
|
|
24301
|
+
Row: {
|
|
24302
|
+
account_key: string;
|
|
24303
|
+
calls_used: number;
|
|
24304
|
+
created_at: string;
|
|
24305
|
+
domain: string;
|
|
24306
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24307
|
+
error: string | null;
|
|
24308
|
+
finished_at: string | null;
|
|
24309
|
+
id: string;
|
|
24310
|
+
ok: boolean;
|
|
24311
|
+
records: number;
|
|
24312
|
+
started_at: string;
|
|
24313
|
+
};
|
|
24314
|
+
Insert: {
|
|
24315
|
+
account_key?: string;
|
|
24316
|
+
calls_used?: number;
|
|
24317
|
+
created_at?: string;
|
|
24318
|
+
domain: string;
|
|
24319
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24320
|
+
error?: string | null;
|
|
24321
|
+
finished_at?: string | null;
|
|
24322
|
+
id?: string;
|
|
24323
|
+
ok?: boolean;
|
|
24324
|
+
records?: number;
|
|
24325
|
+
started_at?: string;
|
|
24326
|
+
};
|
|
24327
|
+
Update: {
|
|
24328
|
+
account_key?: string;
|
|
24329
|
+
calls_used?: number;
|
|
24330
|
+
created_at?: string;
|
|
24331
|
+
domain?: string;
|
|
24332
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24333
|
+
error?: string | null;
|
|
24334
|
+
finished_at?: string | null;
|
|
24335
|
+
id?: string;
|
|
24336
|
+
ok?: boolean;
|
|
24337
|
+
records?: number;
|
|
24338
|
+
started_at?: string;
|
|
24339
|
+
};
|
|
24340
|
+
Relationships: [];
|
|
24341
|
+
};
|
|
24342
|
+
exact_auth_sync_state: {
|
|
24343
|
+
Row: {
|
|
24344
|
+
account_key: string;
|
|
24345
|
+
created_at: string;
|
|
24346
|
+
cursor_timestamp: number;
|
|
24347
|
+
division_code: number | null;
|
|
24348
|
+
domain: string;
|
|
24349
|
+
duration_ms: number | null;
|
|
24350
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24351
|
+
initial_sync_done: boolean;
|
|
24352
|
+
last_error: string | null;
|
|
24353
|
+
last_run_at: string | null;
|
|
24354
|
+
last_success_at: string | null;
|
|
24355
|
+
locked_at: string | null;
|
|
24356
|
+
needs_initial_sync: boolean;
|
|
24357
|
+
record_count: number;
|
|
24358
|
+
updated_at: string;
|
|
24359
|
+
};
|
|
24360
|
+
Insert: {
|
|
24361
|
+
account_key?: string;
|
|
24362
|
+
created_at?: string;
|
|
24363
|
+
cursor_timestamp?: number;
|
|
24364
|
+
division_code?: number | null;
|
|
24365
|
+
domain: string;
|
|
24366
|
+
duration_ms?: number | null;
|
|
24367
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24368
|
+
initial_sync_done?: boolean;
|
|
24369
|
+
last_error?: string | null;
|
|
24370
|
+
last_run_at?: string | null;
|
|
24371
|
+
last_success_at?: string | null;
|
|
24372
|
+
locked_at?: string | null;
|
|
24373
|
+
needs_initial_sync?: boolean;
|
|
24374
|
+
record_count?: number;
|
|
24375
|
+
updated_at?: string;
|
|
24376
|
+
};
|
|
24377
|
+
Update: {
|
|
24378
|
+
account_key?: string;
|
|
24379
|
+
created_at?: string;
|
|
24380
|
+
cursor_timestamp?: number;
|
|
24381
|
+
division_code?: number | null;
|
|
24382
|
+
domain?: string;
|
|
24383
|
+
duration_ms?: number | null;
|
|
24384
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24385
|
+
initial_sync_done?: boolean;
|
|
24386
|
+
last_error?: string | null;
|
|
24387
|
+
last_run_at?: string | null;
|
|
24388
|
+
last_success_at?: string | null;
|
|
24389
|
+
locked_at?: string | null;
|
|
24390
|
+
needs_initial_sync?: boolean;
|
|
24391
|
+
record_count?: number;
|
|
24392
|
+
updated_at?: string;
|
|
24393
|
+
};
|
|
24394
|
+
Relationships: [];
|
|
24395
|
+
};
|
|
23106
24396
|
exact_bulk_operation_items: {
|
|
23107
24397
|
Row: {
|
|
23108
24398
|
attempts: number;
|
|
@@ -27765,6 +29055,66 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
27765
29055
|
};
|
|
27766
29056
|
Relationships: [];
|
|
27767
29057
|
};
|
|
29058
|
+
logistics_recalc_jobs: {
|
|
29059
|
+
Row: {
|
|
29060
|
+
carts_created: number;
|
|
29061
|
+
created_at: string;
|
|
29062
|
+
cursor: string | null;
|
|
29063
|
+
errors: import("../integrations/supabase/types").Json;
|
|
29064
|
+
failed: number;
|
|
29065
|
+
finished_at: string | null;
|
|
29066
|
+
id: string;
|
|
29067
|
+
last_tick_at: string | null;
|
|
29068
|
+
phase: string;
|
|
29069
|
+
processed: number;
|
|
29070
|
+
skipped_locked: number;
|
|
29071
|
+
started_by: string | null;
|
|
29072
|
+
status: string;
|
|
29073
|
+
steps: import("../integrations/supabase/types").Json;
|
|
29074
|
+
strategy_id: string | null;
|
|
29075
|
+
tasks_updated: number;
|
|
29076
|
+
updated_at: string;
|
|
29077
|
+
};
|
|
29078
|
+
Insert: {
|
|
29079
|
+
carts_created?: number;
|
|
29080
|
+
created_at?: string;
|
|
29081
|
+
cursor?: string | null;
|
|
29082
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29083
|
+
failed?: number;
|
|
29084
|
+
finished_at?: string | null;
|
|
29085
|
+
id?: string;
|
|
29086
|
+
last_tick_at?: string | null;
|
|
29087
|
+
phase?: string;
|
|
29088
|
+
processed?: number;
|
|
29089
|
+
skipped_locked?: number;
|
|
29090
|
+
started_by?: string | null;
|
|
29091
|
+
status?: string;
|
|
29092
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29093
|
+
strategy_id?: string | null;
|
|
29094
|
+
tasks_updated?: number;
|
|
29095
|
+
updated_at?: string;
|
|
29096
|
+
};
|
|
29097
|
+
Update: {
|
|
29098
|
+
carts_created?: number;
|
|
29099
|
+
created_at?: string;
|
|
29100
|
+
cursor?: string | null;
|
|
29101
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29102
|
+
failed?: number;
|
|
29103
|
+
finished_at?: string | null;
|
|
29104
|
+
id?: string;
|
|
29105
|
+
last_tick_at?: string | null;
|
|
29106
|
+
phase?: string;
|
|
29107
|
+
processed?: number;
|
|
29108
|
+
skipped_locked?: number;
|
|
29109
|
+
started_by?: string | null;
|
|
29110
|
+
status?: string;
|
|
29111
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29112
|
+
strategy_id?: string | null;
|
|
29113
|
+
tasks_updated?: number;
|
|
29114
|
+
updated_at?: string;
|
|
29115
|
+
};
|
|
29116
|
+
Relationships: [];
|
|
29117
|
+
};
|
|
27768
29118
|
logistics_reschedules: {
|
|
27769
29119
|
Row: {
|
|
27770
29120
|
created_at: string;
|
|
@@ -28127,6 +29477,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28127
29477
|
};
|
|
28128
29478
|
logistics_tasks: {
|
|
28129
29479
|
Row: {
|
|
29480
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29481
|
+
attempts: number;
|
|
28130
29482
|
buffer_ref: string | null;
|
|
28131
29483
|
claimed_at: string | null;
|
|
28132
29484
|
claimed_by: string | null;
|
|
@@ -28136,6 +29488,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28136
29488
|
due_at: string | null;
|
|
28137
29489
|
error: string | null;
|
|
28138
29490
|
id: string;
|
|
29491
|
+
last_error: string | null;
|
|
29492
|
+
next_attempt_at: string | null;
|
|
28139
29493
|
order_ref: string;
|
|
28140
29494
|
owner_module: string;
|
|
28141
29495
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -28156,6 +29510,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28156
29510
|
user_id: string;
|
|
28157
29511
|
};
|
|
28158
29512
|
Insert: {
|
|
29513
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29514
|
+
attempts?: number;
|
|
28159
29515
|
buffer_ref?: string | null;
|
|
28160
29516
|
claimed_at?: string | null;
|
|
28161
29517
|
claimed_by?: string | null;
|
|
@@ -28165,6 +29521,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28165
29521
|
due_at?: string | null;
|
|
28166
29522
|
error?: string | null;
|
|
28167
29523
|
id?: string;
|
|
29524
|
+
last_error?: string | null;
|
|
29525
|
+
next_attempt_at?: string | null;
|
|
28168
29526
|
order_ref: string;
|
|
28169
29527
|
owner_module: string;
|
|
28170
29528
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28185,6 +29543,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28185
29543
|
user_id?: string;
|
|
28186
29544
|
};
|
|
28187
29545
|
Update: {
|
|
29546
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29547
|
+
attempts?: number;
|
|
28188
29548
|
buffer_ref?: string | null;
|
|
28189
29549
|
claimed_at?: string | null;
|
|
28190
29550
|
claimed_by?: string | null;
|
|
@@ -28194,6 +29554,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28194
29554
|
due_at?: string | null;
|
|
28195
29555
|
error?: string | null;
|
|
28196
29556
|
id?: string;
|
|
29557
|
+
last_error?: string | null;
|
|
29558
|
+
next_attempt_at?: string | null;
|
|
28197
29559
|
order_ref?: string;
|
|
28198
29560
|
owner_module?: string;
|
|
28199
29561
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29543,6 +30905,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29543
30905
|
};
|
|
29544
30906
|
offer_settings: {
|
|
29545
30907
|
Row: {
|
|
30908
|
+
brand_name: string | null;
|
|
29546
30909
|
button_color: string;
|
|
29547
30910
|
created_at: string;
|
|
29548
30911
|
default_countries: string[];
|
|
@@ -29564,6 +30927,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29564
30927
|
updated_at: string;
|
|
29565
30928
|
};
|
|
29566
30929
|
Insert: {
|
|
30930
|
+
brand_name?: string | null;
|
|
29567
30931
|
button_color?: string;
|
|
29568
30932
|
created_at?: string;
|
|
29569
30933
|
default_countries?: string[];
|
|
@@ -29585,6 +30949,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29585
30949
|
updated_at?: string;
|
|
29586
30950
|
};
|
|
29587
30951
|
Update: {
|
|
30952
|
+
brand_name?: string | null;
|
|
29588
30953
|
button_color?: string;
|
|
29589
30954
|
created_at?: string;
|
|
29590
30955
|
default_countries?: string[];
|
|
@@ -32994,6 +34359,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32994
34359
|
buffer_key: string | null;
|
|
32995
34360
|
created_at: string;
|
|
32996
34361
|
customer_names: string[];
|
|
34362
|
+
device_id: string | null;
|
|
32997
34363
|
geprint: boolean;
|
|
32998
34364
|
geprint_op: string | null;
|
|
32999
34365
|
id: string;
|
|
@@ -33003,6 +34369,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33003
34369
|
naar_pickstation: boolean;
|
|
33004
34370
|
naar_pickstation_op: string | null;
|
|
33005
34371
|
order_number: string | null;
|
|
34372
|
+
scanner_id: string | null;
|
|
33006
34373
|
scanner_key: string;
|
|
33007
34374
|
status: string;
|
|
33008
34375
|
totaal_producten: number;
|
|
@@ -33013,6 +34380,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33013
34380
|
buffer_key?: string | null;
|
|
33014
34381
|
created_at?: string;
|
|
33015
34382
|
customer_names?: string[];
|
|
34383
|
+
device_id?: string | null;
|
|
33016
34384
|
geprint?: boolean;
|
|
33017
34385
|
geprint_op?: string | null;
|
|
33018
34386
|
id?: string;
|
|
@@ -33022,6 +34390,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33022
34390
|
naar_pickstation?: boolean;
|
|
33023
34391
|
naar_pickstation_op?: string | null;
|
|
33024
34392
|
order_number?: string | null;
|
|
34393
|
+
scanner_id?: string | null;
|
|
33025
34394
|
scanner_key?: string;
|
|
33026
34395
|
status?: string;
|
|
33027
34396
|
totaal_producten?: number;
|
|
@@ -33032,6 +34401,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33032
34401
|
buffer_key?: string | null;
|
|
33033
34402
|
created_at?: string;
|
|
33034
34403
|
customer_names?: string[];
|
|
34404
|
+
device_id?: string | null;
|
|
33035
34405
|
geprint?: boolean;
|
|
33036
34406
|
geprint_op?: string | null;
|
|
33037
34407
|
id?: string;
|
|
@@ -33041,6 +34411,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33041
34411
|
naar_pickstation?: boolean;
|
|
33042
34412
|
naar_pickstation_op?: string | null;
|
|
33043
34413
|
order_number?: string | null;
|
|
34414
|
+
scanner_id?: string | null;
|
|
33044
34415
|
scanner_key?: string;
|
|
33045
34416
|
status?: string;
|
|
33046
34417
|
totaal_producten?: number;
|
|
@@ -33052,31 +34423,46 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33052
34423
|
Row: {
|
|
33053
34424
|
code: string;
|
|
33054
34425
|
created_at: string;
|
|
34426
|
+
device_id: string | null;
|
|
33055
34427
|
id: string;
|
|
33056
34428
|
kar_id: string | null;
|
|
34429
|
+
latency_ms: number | null;
|
|
34430
|
+
medewerker_naam: string | null;
|
|
33057
34431
|
message: string | null;
|
|
33058
34432
|
result: string;
|
|
34433
|
+
retry_count: number;
|
|
33059
34434
|
scanner_key: string;
|
|
34435
|
+
session_id: string | null;
|
|
33060
34436
|
user_id: string | null;
|
|
33061
34437
|
};
|
|
33062
34438
|
Insert: {
|
|
33063
34439
|
code: string;
|
|
33064
34440
|
created_at?: string;
|
|
34441
|
+
device_id?: string | null;
|
|
33065
34442
|
id?: string;
|
|
33066
34443
|
kar_id?: string | null;
|
|
34444
|
+
latency_ms?: number | null;
|
|
34445
|
+
medewerker_naam?: string | null;
|
|
33067
34446
|
message?: string | null;
|
|
33068
34447
|
result: string;
|
|
34448
|
+
retry_count?: number;
|
|
33069
34449
|
scanner_key?: string;
|
|
34450
|
+
session_id?: string | null;
|
|
33070
34451
|
user_id?: string | null;
|
|
33071
34452
|
};
|
|
33072
34453
|
Update: {
|
|
33073
34454
|
code?: string;
|
|
33074
34455
|
created_at?: string;
|
|
34456
|
+
device_id?: string | null;
|
|
33075
34457
|
id?: string;
|
|
33076
34458
|
kar_id?: string | null;
|
|
34459
|
+
latency_ms?: number | null;
|
|
34460
|
+
medewerker_naam?: string | null;
|
|
33077
34461
|
message?: string | null;
|
|
33078
34462
|
result?: string;
|
|
34463
|
+
retry_count?: number;
|
|
33079
34464
|
scanner_key?: string;
|
|
34465
|
+
session_id?: string | null;
|
|
33080
34466
|
user_id?: string | null;
|
|
33081
34467
|
};
|
|
33082
34468
|
Relationships: [];
|
|
@@ -33133,6 +34519,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33133
34519
|
printed_at: string;
|
|
33134
34520
|
status: string;
|
|
33135
34521
|
updated_at: string;
|
|
34522
|
+
vergrendeld_door: string | null;
|
|
34523
|
+
vergrendeld_sessie: string | null;
|
|
34524
|
+
vergrendeld_tot: string | null;
|
|
33136
34525
|
};
|
|
33137
34526
|
Insert: {
|
|
33138
34527
|
barcode: string;
|
|
@@ -33146,6 +34535,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33146
34535
|
printed_at?: string;
|
|
33147
34536
|
status?: string;
|
|
33148
34537
|
updated_at?: string;
|
|
34538
|
+
vergrendeld_door?: string | null;
|
|
34539
|
+
vergrendeld_sessie?: string | null;
|
|
34540
|
+
vergrendeld_tot?: string | null;
|
|
33149
34541
|
};
|
|
33150
34542
|
Update: {
|
|
33151
34543
|
barcode?: string;
|
|
@@ -33159,6 +34551,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33159
34551
|
printed_at?: string;
|
|
33160
34552
|
status?: string;
|
|
33161
34553
|
updated_at?: string;
|
|
34554
|
+
vergrendeld_door?: string | null;
|
|
34555
|
+
vergrendeld_sessie?: string | null;
|
|
34556
|
+
vergrendeld_tot?: string | null;
|
|
33162
34557
|
};
|
|
33163
34558
|
Relationships: [];
|
|
33164
34559
|
};
|
|
@@ -33167,31 +34562,40 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33167
34562
|
actief: boolean;
|
|
33168
34563
|
created_at: string;
|
|
33169
34564
|
id: string;
|
|
34565
|
+
max_producten_per_kar: number | null;
|
|
33170
34566
|
naam: string;
|
|
33171
34567
|
omschrijving: string | null;
|
|
34568
|
+
pincode: string | null;
|
|
33172
34569
|
slug: string;
|
|
33173
34570
|
type: string;
|
|
33174
34571
|
updated_at: string;
|
|
34572
|
+
vereist_medewerker: boolean;
|
|
33175
34573
|
};
|
|
33176
34574
|
Insert: {
|
|
33177
34575
|
actief?: boolean;
|
|
33178
34576
|
created_at?: string;
|
|
33179
34577
|
id?: string;
|
|
34578
|
+
max_producten_per_kar?: number | null;
|
|
33180
34579
|
naam: string;
|
|
33181
34580
|
omschrijving?: string | null;
|
|
34581
|
+
pincode?: string | null;
|
|
33182
34582
|
slug: string;
|
|
33183
34583
|
type?: string;
|
|
33184
34584
|
updated_at?: string;
|
|
34585
|
+
vereist_medewerker?: boolean;
|
|
33185
34586
|
};
|
|
33186
34587
|
Update: {
|
|
33187
34588
|
actief?: boolean;
|
|
33188
34589
|
created_at?: string;
|
|
33189
34590
|
id?: string;
|
|
34591
|
+
max_producten_per_kar?: number | null;
|
|
33190
34592
|
naam?: string;
|
|
33191
34593
|
omschrijving?: string | null;
|
|
34594
|
+
pincode?: string | null;
|
|
33192
34595
|
slug?: string;
|
|
33193
34596
|
type?: string;
|
|
33194
34597
|
updated_at?: string;
|
|
34598
|
+
vereist_medewerker?: boolean;
|
|
33195
34599
|
};
|
|
33196
34600
|
Relationships: [];
|
|
33197
34601
|
};
|
|
@@ -37156,6 +38560,54 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37156
38560
|
};
|
|
37157
38561
|
Returns: import("../integrations/supabase/types").Json;
|
|
37158
38562
|
};
|
|
38563
|
+
claim_logistics_tasks: {
|
|
38564
|
+
Args: {
|
|
38565
|
+
_limit?: number;
|
|
38566
|
+
_owner_module: string;
|
|
38567
|
+
_stale_minutes?: number;
|
|
38568
|
+
_task_type: string;
|
|
38569
|
+
_worker: string;
|
|
38570
|
+
};
|
|
38571
|
+
Returns: {
|
|
38572
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38573
|
+
attempts: number;
|
|
38574
|
+
buffer_ref: string | null;
|
|
38575
|
+
claimed_at: string | null;
|
|
38576
|
+
claimed_by: string | null;
|
|
38577
|
+
completed_at: string | null;
|
|
38578
|
+
created_at: string;
|
|
38579
|
+
depends_on: string[];
|
|
38580
|
+
due_at: string | null;
|
|
38581
|
+
error: string | null;
|
|
38582
|
+
id: string;
|
|
38583
|
+
last_error: string | null;
|
|
38584
|
+
next_attempt_at: string | null;
|
|
38585
|
+
order_ref: string;
|
|
38586
|
+
owner_module: string;
|
|
38587
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38588
|
+
plan_run_id: string | null;
|
|
38589
|
+
planned_end: string | null;
|
|
38590
|
+
planned_start: string | null;
|
|
38591
|
+
priority: number;
|
|
38592
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38593
|
+
rule_config_id: string | null;
|
|
38594
|
+
rule_version: number | null;
|
|
38595
|
+
sequence: number;
|
|
38596
|
+
shadow: boolean;
|
|
38597
|
+
started_at: string | null;
|
|
38598
|
+
status: string;
|
|
38599
|
+
strategy_id: string | null;
|
|
38600
|
+
task_type: string;
|
|
38601
|
+
updated_at: string;
|
|
38602
|
+
user_id: string;
|
|
38603
|
+
}[];
|
|
38604
|
+
SetofOptions: {
|
|
38605
|
+
from: "*";
|
|
38606
|
+
to: "logistics_tasks";
|
|
38607
|
+
isOneToOne: false;
|
|
38608
|
+
isSetofReturn: true;
|
|
38609
|
+
};
|
|
38610
|
+
};
|
|
37159
38611
|
claim_print_jobs: {
|
|
37160
38612
|
Args: {
|
|
37161
38613
|
_agent_id: string;
|
|
@@ -37396,6 +38848,21 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37396
38848
|
Args: never;
|
|
37397
38849
|
Returns: string;
|
|
37398
38850
|
};
|
|
38851
|
+
exact_auth_consume_calls: {
|
|
38852
|
+
Args: {
|
|
38853
|
+
_account_key: string;
|
|
38854
|
+
_calls?: number;
|
|
38855
|
+
_day_limit?: number;
|
|
38856
|
+
_division_code: number;
|
|
38857
|
+
_environment: string;
|
|
38858
|
+
_minute_limit?: number;
|
|
38859
|
+
};
|
|
38860
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38861
|
+
};
|
|
38862
|
+
exact_auth_prune_sync_log: {
|
|
38863
|
+
Args: never;
|
|
38864
|
+
Returns: undefined;
|
|
38865
|
+
};
|
|
37399
38866
|
exact_decrypt: {
|
|
37400
38867
|
Args: {
|
|
37401
38868
|
cipher: string;
|
|
@@ -37605,6 +39072,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37605
39072
|
};
|
|
37606
39073
|
Returns: number;
|
|
37607
39074
|
};
|
|
39075
|
+
get_offer_branding: {
|
|
39076
|
+
Args: never;
|
|
39077
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39078
|
+
};
|
|
37608
39079
|
get_offer_by_link_code: {
|
|
37609
39080
|
Args: {
|
|
37610
39081
|
p_code: string;
|
|
@@ -37776,6 +39247,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37776
39247
|
};
|
|
37777
39248
|
Returns: string;
|
|
37778
39249
|
};
|
|
39250
|
+
logistics_active_pick_workdays: {
|
|
39251
|
+
Args: never;
|
|
39252
|
+
Returns: string[];
|
|
39253
|
+
};
|
|
37779
39254
|
logistics_address_key: {
|
|
37780
39255
|
Args: {
|
|
37781
39256
|
p_location: string;
|
|
@@ -37892,6 +39367,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37892
39367
|
p_worker?: string;
|
|
37893
39368
|
};
|
|
37894
39369
|
Returns: {
|
|
39370
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39371
|
+
attempts: number;
|
|
37895
39372
|
buffer_ref: string | null;
|
|
37896
39373
|
claimed_at: string | null;
|
|
37897
39374
|
claimed_by: string | null;
|
|
@@ -37901,6 +39378,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37901
39378
|
due_at: string | null;
|
|
37902
39379
|
error: string | null;
|
|
37903
39380
|
id: string;
|
|
39381
|
+
last_error: string | null;
|
|
39382
|
+
next_attempt_at: string | null;
|
|
37904
39383
|
order_ref: string;
|
|
37905
39384
|
owner_module: string;
|
|
37906
39385
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37933,6 +39412,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37933
39412
|
p_worker?: string;
|
|
37934
39413
|
};
|
|
37935
39414
|
Returns: {
|
|
39415
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39416
|
+
attempts: number;
|
|
37936
39417
|
buffer_ref: string | null;
|
|
37937
39418
|
claimed_at: string | null;
|
|
37938
39419
|
claimed_by: string | null;
|
|
@@ -37942,6 +39423,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37942
39423
|
due_at: string | null;
|
|
37943
39424
|
error: string | null;
|
|
37944
39425
|
id: string;
|
|
39426
|
+
last_error: string | null;
|
|
39427
|
+
next_attempt_at: string | null;
|
|
37945
39428
|
order_ref: string;
|
|
37946
39429
|
owner_module: string;
|
|
37947
39430
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37974,6 +39457,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37974
39457
|
p_task_id: string;
|
|
37975
39458
|
};
|
|
37976
39459
|
Returns: {
|
|
39460
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39461
|
+
attempts: number;
|
|
37977
39462
|
buffer_ref: string | null;
|
|
37978
39463
|
claimed_at: string | null;
|
|
37979
39464
|
claimed_by: string | null;
|
|
@@ -37983,6 +39468,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37983
39468
|
due_at: string | null;
|
|
37984
39469
|
error: string | null;
|
|
37985
39470
|
id: string;
|
|
39471
|
+
last_error: string | null;
|
|
39472
|
+
next_attempt_at: string | null;
|
|
37986
39473
|
order_ref: string;
|
|
37987
39474
|
owner_module: string;
|
|
37988
39475
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38064,6 +39551,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38064
39551
|
p_task_id: string;
|
|
38065
39552
|
};
|
|
38066
39553
|
Returns: {
|
|
39554
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39555
|
+
attempts: number;
|
|
38067
39556
|
buffer_ref: string | null;
|
|
38068
39557
|
claimed_at: string | null;
|
|
38069
39558
|
claimed_by: string | null;
|
|
@@ -38073,6 +39562,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38073
39562
|
due_at: string | null;
|
|
38074
39563
|
error: string | null;
|
|
38075
39564
|
id: string;
|
|
39565
|
+
last_error: string | null;
|
|
39566
|
+
next_attempt_at: string | null;
|
|
38076
39567
|
order_ref: string;
|
|
38077
39568
|
owner_module: string;
|
|
38078
39569
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38099,12 +39590,30 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38099
39590
|
isSetofReturn: false;
|
|
38100
39591
|
};
|
|
38101
39592
|
};
|
|
39593
|
+
logistics_live_carriers: {
|
|
39594
|
+
Args: {
|
|
39595
|
+
p_order_ref: string;
|
|
39596
|
+
};
|
|
39597
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39598
|
+
};
|
|
39599
|
+
logistics_live_cart_count: {
|
|
39600
|
+
Args: {
|
|
39601
|
+
p_order_ref: string;
|
|
39602
|
+
};
|
|
39603
|
+
Returns: number;
|
|
39604
|
+
};
|
|
38102
39605
|
logistics_not_past: {
|
|
38103
39606
|
Args: {
|
|
38104
39607
|
p_ts: string;
|
|
38105
39608
|
};
|
|
38106
39609
|
Returns: string;
|
|
38107
39610
|
};
|
|
39611
|
+
logistics_order_cart_count: {
|
|
39612
|
+
Args: {
|
|
39613
|
+
p_order_ref: string;
|
|
39614
|
+
};
|
|
39615
|
+
Returns: number;
|
|
39616
|
+
};
|
|
38108
39617
|
logistics_order_pick_day: {
|
|
38109
39618
|
Args: {
|
|
38110
39619
|
p_order_ref: string;
|
|
@@ -38281,6 +39790,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38281
39790
|
};
|
|
38282
39791
|
Returns: import("../integrations/supabase/types").Json;
|
|
38283
39792
|
};
|
|
39793
|
+
logistics_shift_to_workday: {
|
|
39794
|
+
Args: {
|
|
39795
|
+
p_days: string[];
|
|
39796
|
+
p_ts: string;
|
|
39797
|
+
};
|
|
39798
|
+
Returns: string;
|
|
39799
|
+
};
|
|
38284
39800
|
logistics_supersede_stale_tasks: {
|
|
38285
39801
|
Args: {
|
|
38286
39802
|
p_keep: string[];
|
|
@@ -38566,6 +40082,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38566
40082
|
isSetofReturn: false;
|
|
38567
40083
|
};
|
|
38568
40084
|
};
|
|
40085
|
+
pick_current_pick_day: {
|
|
40086
|
+
Args: never;
|
|
40087
|
+
Returns: string;
|
|
40088
|
+
};
|
|
38569
40089
|
pick_document_layout_data: {
|
|
38570
40090
|
Args: {
|
|
38571
40091
|
_layout_id: string;
|
|
@@ -38797,10 +40317,68 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38797
40317
|
Args: never;
|
|
38798
40318
|
Returns: undefined;
|
|
38799
40319
|
};
|
|
40320
|
+
run_logistics_tasks_dispatch: {
|
|
40321
|
+
Args: never;
|
|
40322
|
+
Returns: undefined;
|
|
40323
|
+
};
|
|
38800
40324
|
run_twinfield_queue_tick: {
|
|
38801
40325
|
Args: never;
|
|
38802
40326
|
Returns: undefined;
|
|
38803
40327
|
};
|
|
40328
|
+
scan_cancel_kar: {
|
|
40329
|
+
Args: {
|
|
40330
|
+
p_kar_id: string;
|
|
40331
|
+
};
|
|
40332
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40333
|
+
};
|
|
40334
|
+
scan_dashboard_stats: {
|
|
40335
|
+
Args: {
|
|
40336
|
+
p_dagen?: number;
|
|
40337
|
+
};
|
|
40338
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40339
|
+
};
|
|
40340
|
+
scan_finish_kar: {
|
|
40341
|
+
Args: {
|
|
40342
|
+
p_kar_id: string;
|
|
40343
|
+
};
|
|
40344
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40345
|
+
};
|
|
40346
|
+
scan_register_item: {
|
|
40347
|
+
Args: {
|
|
40348
|
+
p_kar_id: string;
|
|
40349
|
+
p_pakbon_item_id: string;
|
|
40350
|
+
p_scanned_by?: string;
|
|
40351
|
+
};
|
|
40352
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40353
|
+
};
|
|
40354
|
+
scan_release_expired_locks: {
|
|
40355
|
+
Args: never;
|
|
40356
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40357
|
+
};
|
|
40358
|
+
scan_remove_item: {
|
|
40359
|
+
Args: {
|
|
40360
|
+
p_kar_item_id: string;
|
|
40361
|
+
};
|
|
40362
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40363
|
+
};
|
|
40364
|
+
scan_start_kar: {
|
|
40365
|
+
Args: {
|
|
40366
|
+
p_medewerker_id?: string;
|
|
40367
|
+
p_medewerker_naam?: string;
|
|
40368
|
+
p_pakbon_ids: string[];
|
|
40369
|
+
p_scanner_key?: string;
|
|
40370
|
+
};
|
|
40371
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40372
|
+
} | {
|
|
40373
|
+
Args: {
|
|
40374
|
+
p_medewerker_id?: string;
|
|
40375
|
+
p_medewerker_naam?: string;
|
|
40376
|
+
p_pakbon_ids: string[];
|
|
40377
|
+
p_scanner_key?: string;
|
|
40378
|
+
p_sessie?: string;
|
|
40379
|
+
};
|
|
40380
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40381
|
+
};
|
|
38804
40382
|
schedule_floriday_additional_services_sync: {
|
|
38805
40383
|
Args: {
|
|
38806
40384
|
p_apikey: string;
|