@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
|
@@ -1862,6 +1862,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
1862
1862
|
referencedColumns: ["id"];
|
|
1863
1863
|
}];
|
|
1864
1864
|
};
|
|
1865
|
+
customer_notes: {
|
|
1866
|
+
Row: {
|
|
1867
|
+
created_at: string;
|
|
1868
|
+
customer_id: string | null;
|
|
1869
|
+
group_key: string | null;
|
|
1870
|
+
id: string;
|
|
1871
|
+
notes: string | null;
|
|
1872
|
+
updated_at: string;
|
|
1873
|
+
};
|
|
1874
|
+
Insert: {
|
|
1875
|
+
created_at?: string;
|
|
1876
|
+
customer_id?: string | null;
|
|
1877
|
+
group_key?: string | null;
|
|
1878
|
+
id?: string;
|
|
1879
|
+
notes?: string | null;
|
|
1880
|
+
updated_at?: string;
|
|
1881
|
+
};
|
|
1882
|
+
Update: {
|
|
1883
|
+
created_at?: string;
|
|
1884
|
+
customer_id?: string | null;
|
|
1885
|
+
group_key?: string | null;
|
|
1886
|
+
id?: string;
|
|
1887
|
+
notes?: string | null;
|
|
1888
|
+
updated_at?: string;
|
|
1889
|
+
};
|
|
1890
|
+
Relationships: [{
|
|
1891
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1892
|
+
columns: ["customer_id"];
|
|
1893
|
+
isOneToOne: true;
|
|
1894
|
+
referencedRelation: "customers";
|
|
1895
|
+
referencedColumns: ["id"];
|
|
1896
|
+
}];
|
|
1897
|
+
};
|
|
1865
1898
|
customer_price_group_members: {
|
|
1866
1899
|
Row: {
|
|
1867
1900
|
created_at: string;
|
|
@@ -3506,6 +3539,474 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
3506
3539
|
referencedColumns: ["id"];
|
|
3507
3540
|
}];
|
|
3508
3541
|
};
|
|
3542
|
+
exact_auth_call_budget: {
|
|
3543
|
+
Row: {
|
|
3544
|
+
account_key: string;
|
|
3545
|
+
day_count: number;
|
|
3546
|
+
day_date: string;
|
|
3547
|
+
division_code: number;
|
|
3548
|
+
environment: string;
|
|
3549
|
+
minute_count: number;
|
|
3550
|
+
minute_window: string;
|
|
3551
|
+
updated_at: string;
|
|
3552
|
+
};
|
|
3553
|
+
Insert: {
|
|
3554
|
+
account_key?: string;
|
|
3555
|
+
day_count?: number;
|
|
3556
|
+
day_date?: string;
|
|
3557
|
+
division_code?: number;
|
|
3558
|
+
environment: string;
|
|
3559
|
+
minute_count?: number;
|
|
3560
|
+
minute_window?: string;
|
|
3561
|
+
updated_at?: string;
|
|
3562
|
+
};
|
|
3563
|
+
Update: {
|
|
3564
|
+
account_key?: string;
|
|
3565
|
+
day_count?: number;
|
|
3566
|
+
day_date?: string;
|
|
3567
|
+
division_code?: number;
|
|
3568
|
+
environment?: string;
|
|
3569
|
+
minute_count?: number;
|
|
3570
|
+
minute_window?: string;
|
|
3571
|
+
updated_at?: string;
|
|
3572
|
+
};
|
|
3573
|
+
Relationships: [];
|
|
3574
|
+
};
|
|
3575
|
+
exact_auth_customers: {
|
|
3576
|
+
Row: {
|
|
3577
|
+
account_key: string;
|
|
3578
|
+
address_line1: string | null;
|
|
3579
|
+
chamber_of_commerce: string | null;
|
|
3580
|
+
city: string | null;
|
|
3581
|
+
code: string | null;
|
|
3582
|
+
country: string | null;
|
|
3583
|
+
created_at: string;
|
|
3584
|
+
currency: string | null;
|
|
3585
|
+
division_code: number | null;
|
|
3586
|
+
email: string | null;
|
|
3587
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3588
|
+
exact_id: string;
|
|
3589
|
+
exact_modified: string | null;
|
|
3590
|
+
exact_timestamp: number | null;
|
|
3591
|
+
id: string;
|
|
3592
|
+
is_active: boolean;
|
|
3593
|
+
name: string | null;
|
|
3594
|
+
phone: string | null;
|
|
3595
|
+
postcode: string | null;
|
|
3596
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3597
|
+
status: string | null;
|
|
3598
|
+
updated_at: string;
|
|
3599
|
+
vat_number: string | null;
|
|
3600
|
+
website: string | null;
|
|
3601
|
+
};
|
|
3602
|
+
Insert: {
|
|
3603
|
+
account_key?: string;
|
|
3604
|
+
address_line1?: string | null;
|
|
3605
|
+
chamber_of_commerce?: string | null;
|
|
3606
|
+
city?: string | null;
|
|
3607
|
+
code?: string | null;
|
|
3608
|
+
country?: string | null;
|
|
3609
|
+
created_at?: string;
|
|
3610
|
+
currency?: string | null;
|
|
3611
|
+
division_code?: number | null;
|
|
3612
|
+
email?: string | null;
|
|
3613
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3614
|
+
exact_id: string;
|
|
3615
|
+
exact_modified?: string | null;
|
|
3616
|
+
exact_timestamp?: number | null;
|
|
3617
|
+
id?: string;
|
|
3618
|
+
is_active?: boolean;
|
|
3619
|
+
name?: string | null;
|
|
3620
|
+
phone?: string | null;
|
|
3621
|
+
postcode?: string | null;
|
|
3622
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3623
|
+
status?: string | null;
|
|
3624
|
+
updated_at?: string;
|
|
3625
|
+
vat_number?: string | null;
|
|
3626
|
+
website?: string | null;
|
|
3627
|
+
};
|
|
3628
|
+
Update: {
|
|
3629
|
+
account_key?: string;
|
|
3630
|
+
address_line1?: string | null;
|
|
3631
|
+
chamber_of_commerce?: string | null;
|
|
3632
|
+
city?: string | null;
|
|
3633
|
+
code?: string | null;
|
|
3634
|
+
country?: string | null;
|
|
3635
|
+
created_at?: string;
|
|
3636
|
+
currency?: string | null;
|
|
3637
|
+
division_code?: number | null;
|
|
3638
|
+
email?: string | null;
|
|
3639
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3640
|
+
exact_id?: string;
|
|
3641
|
+
exact_modified?: string | null;
|
|
3642
|
+
exact_timestamp?: number | null;
|
|
3643
|
+
id?: string;
|
|
3644
|
+
is_active?: boolean;
|
|
3645
|
+
name?: string | null;
|
|
3646
|
+
phone?: string | null;
|
|
3647
|
+
postcode?: string | null;
|
|
3648
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3649
|
+
status?: string | null;
|
|
3650
|
+
updated_at?: string;
|
|
3651
|
+
vat_number?: string | null;
|
|
3652
|
+
website?: string | null;
|
|
3653
|
+
};
|
|
3654
|
+
Relationships: [];
|
|
3655
|
+
};
|
|
3656
|
+
exact_auth_divisions: {
|
|
3657
|
+
Row: {
|
|
3658
|
+
account_key: string;
|
|
3659
|
+
company_name: string | null;
|
|
3660
|
+
created_at: string;
|
|
3661
|
+
division_code: number | null;
|
|
3662
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3663
|
+
id: string;
|
|
3664
|
+
last_synced_at: string | null;
|
|
3665
|
+
updated_at: string;
|
|
3666
|
+
};
|
|
3667
|
+
Insert: {
|
|
3668
|
+
account_key?: string;
|
|
3669
|
+
company_name?: string | null;
|
|
3670
|
+
created_at?: string;
|
|
3671
|
+
division_code?: number | null;
|
|
3672
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3673
|
+
id?: string;
|
|
3674
|
+
last_synced_at?: string | null;
|
|
3675
|
+
updated_at?: string;
|
|
3676
|
+
};
|
|
3677
|
+
Update: {
|
|
3678
|
+
account_key?: string;
|
|
3679
|
+
company_name?: string | null;
|
|
3680
|
+
created_at?: string;
|
|
3681
|
+
division_code?: number | null;
|
|
3682
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3683
|
+
id?: string;
|
|
3684
|
+
last_synced_at?: string | null;
|
|
3685
|
+
updated_at?: string;
|
|
3686
|
+
};
|
|
3687
|
+
Relationships: [];
|
|
3688
|
+
};
|
|
3689
|
+
exact_auth_invoice_lines: {
|
|
3690
|
+
Row: {
|
|
3691
|
+
account_key: string;
|
|
3692
|
+
amount_excl: number | null;
|
|
3693
|
+
created_at: string;
|
|
3694
|
+
description: string | null;
|
|
3695
|
+
discount: number | null;
|
|
3696
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3697
|
+
exact_id: string;
|
|
3698
|
+
exact_timestamp: number | null;
|
|
3699
|
+
id: string;
|
|
3700
|
+
invoice_exact_id: string;
|
|
3701
|
+
item_code: string | null;
|
|
3702
|
+
item_exact_id: string | null;
|
|
3703
|
+
line_number: number | null;
|
|
3704
|
+
quantity: number | null;
|
|
3705
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3706
|
+
unit_price: number | null;
|
|
3707
|
+
updated_at: string;
|
|
3708
|
+
vat_amount: number | null;
|
|
3709
|
+
vat_code: string | null;
|
|
3710
|
+
};
|
|
3711
|
+
Insert: {
|
|
3712
|
+
account_key?: string;
|
|
3713
|
+
amount_excl?: number | null;
|
|
3714
|
+
created_at?: string;
|
|
3715
|
+
description?: string | null;
|
|
3716
|
+
discount?: number | null;
|
|
3717
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3718
|
+
exact_id: string;
|
|
3719
|
+
exact_timestamp?: number | null;
|
|
3720
|
+
id?: string;
|
|
3721
|
+
invoice_exact_id: string;
|
|
3722
|
+
item_code?: string | null;
|
|
3723
|
+
item_exact_id?: string | null;
|
|
3724
|
+
line_number?: number | null;
|
|
3725
|
+
quantity?: number | null;
|
|
3726
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3727
|
+
unit_price?: number | null;
|
|
3728
|
+
updated_at?: string;
|
|
3729
|
+
vat_amount?: number | null;
|
|
3730
|
+
vat_code?: string | null;
|
|
3731
|
+
};
|
|
3732
|
+
Update: {
|
|
3733
|
+
account_key?: string;
|
|
3734
|
+
amount_excl?: number | null;
|
|
3735
|
+
created_at?: string;
|
|
3736
|
+
description?: string | null;
|
|
3737
|
+
discount?: number | null;
|
|
3738
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3739
|
+
exact_id?: string;
|
|
3740
|
+
exact_timestamp?: number | null;
|
|
3741
|
+
id?: string;
|
|
3742
|
+
invoice_exact_id?: string;
|
|
3743
|
+
item_code?: string | null;
|
|
3744
|
+
item_exact_id?: string | null;
|
|
3745
|
+
line_number?: number | null;
|
|
3746
|
+
quantity?: number | null;
|
|
3747
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3748
|
+
unit_price?: number | null;
|
|
3749
|
+
updated_at?: string;
|
|
3750
|
+
vat_amount?: number | null;
|
|
3751
|
+
vat_code?: string | null;
|
|
3752
|
+
};
|
|
3753
|
+
Relationships: [];
|
|
3754
|
+
};
|
|
3755
|
+
exact_auth_invoices: {
|
|
3756
|
+
Row: {
|
|
3757
|
+
account_key: string;
|
|
3758
|
+
amount_excl: number | null;
|
|
3759
|
+
amount_incl: number | null;
|
|
3760
|
+
amount_open: number | null;
|
|
3761
|
+
created_at: string;
|
|
3762
|
+
currency: string | null;
|
|
3763
|
+
customer_code: string | null;
|
|
3764
|
+
customer_exact_id: string | null;
|
|
3765
|
+
customer_name: string | null;
|
|
3766
|
+
description: string | null;
|
|
3767
|
+
division_code: number | null;
|
|
3768
|
+
due_date: string | null;
|
|
3769
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3770
|
+
exact_id: string;
|
|
3771
|
+
exact_modified: string | null;
|
|
3772
|
+
exact_timestamp: number | null;
|
|
3773
|
+
id: string;
|
|
3774
|
+
invoice_date: string | null;
|
|
3775
|
+
invoice_number: string | null;
|
|
3776
|
+
order_number: string | null;
|
|
3777
|
+
paid_at: string | null;
|
|
3778
|
+
payment_status: string;
|
|
3779
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3780
|
+
receivable_synced_at: string | null;
|
|
3781
|
+
status_code: number | null;
|
|
3782
|
+
updated_at: string;
|
|
3783
|
+
};
|
|
3784
|
+
Insert: {
|
|
3785
|
+
account_key?: string;
|
|
3786
|
+
amount_excl?: number | null;
|
|
3787
|
+
amount_incl?: number | null;
|
|
3788
|
+
amount_open?: number | null;
|
|
3789
|
+
created_at?: string;
|
|
3790
|
+
currency?: string | null;
|
|
3791
|
+
customer_code?: string | null;
|
|
3792
|
+
customer_exact_id?: string | null;
|
|
3793
|
+
customer_name?: string | null;
|
|
3794
|
+
description?: string | null;
|
|
3795
|
+
division_code?: number | null;
|
|
3796
|
+
due_date?: string | null;
|
|
3797
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3798
|
+
exact_id: string;
|
|
3799
|
+
exact_modified?: string | null;
|
|
3800
|
+
exact_timestamp?: number | null;
|
|
3801
|
+
id?: string;
|
|
3802
|
+
invoice_date?: string | null;
|
|
3803
|
+
invoice_number?: string | null;
|
|
3804
|
+
order_number?: string | null;
|
|
3805
|
+
paid_at?: string | null;
|
|
3806
|
+
payment_status?: string;
|
|
3807
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3808
|
+
receivable_synced_at?: string | null;
|
|
3809
|
+
status_code?: number | null;
|
|
3810
|
+
updated_at?: string;
|
|
3811
|
+
};
|
|
3812
|
+
Update: {
|
|
3813
|
+
account_key?: string;
|
|
3814
|
+
amount_excl?: number | null;
|
|
3815
|
+
amount_incl?: number | null;
|
|
3816
|
+
amount_open?: number | null;
|
|
3817
|
+
created_at?: string;
|
|
3818
|
+
currency?: string | null;
|
|
3819
|
+
customer_code?: string | null;
|
|
3820
|
+
customer_exact_id?: string | null;
|
|
3821
|
+
customer_name?: string | null;
|
|
3822
|
+
description?: string | null;
|
|
3823
|
+
division_code?: number | null;
|
|
3824
|
+
due_date?: string | null;
|
|
3825
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3826
|
+
exact_id?: string;
|
|
3827
|
+
exact_modified?: string | null;
|
|
3828
|
+
exact_timestamp?: number | null;
|
|
3829
|
+
id?: string;
|
|
3830
|
+
invoice_date?: string | null;
|
|
3831
|
+
invoice_number?: string | null;
|
|
3832
|
+
order_number?: string | null;
|
|
3833
|
+
paid_at?: string | null;
|
|
3834
|
+
payment_status?: string;
|
|
3835
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3836
|
+
receivable_synced_at?: string | null;
|
|
3837
|
+
status_code?: number | null;
|
|
3838
|
+
updated_at?: string;
|
|
3839
|
+
};
|
|
3840
|
+
Relationships: [];
|
|
3841
|
+
};
|
|
3842
|
+
exact_auth_items: {
|
|
3843
|
+
Row: {
|
|
3844
|
+
account_key: string;
|
|
3845
|
+
barcode: string | null;
|
|
3846
|
+
code: string | null;
|
|
3847
|
+
cost_price: number | null;
|
|
3848
|
+
created_at: string;
|
|
3849
|
+
description: string | null;
|
|
3850
|
+
division_code: number | null;
|
|
3851
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3852
|
+
exact_id: string;
|
|
3853
|
+
exact_modified: string | null;
|
|
3854
|
+
exact_timestamp: number | null;
|
|
3855
|
+
gl_account_code: string | null;
|
|
3856
|
+
id: string;
|
|
3857
|
+
is_active: boolean;
|
|
3858
|
+
is_sales_item: boolean | null;
|
|
3859
|
+
item_type: string | null;
|
|
3860
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3861
|
+
sales_price: number | null;
|
|
3862
|
+
unit: string | null;
|
|
3863
|
+
updated_at: string;
|
|
3864
|
+
vat_code: string | null;
|
|
3865
|
+
};
|
|
3866
|
+
Insert: {
|
|
3867
|
+
account_key?: string;
|
|
3868
|
+
barcode?: string | null;
|
|
3869
|
+
code?: string | null;
|
|
3870
|
+
cost_price?: number | null;
|
|
3871
|
+
created_at?: string;
|
|
3872
|
+
description?: string | null;
|
|
3873
|
+
division_code?: number | null;
|
|
3874
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3875
|
+
exact_id: string;
|
|
3876
|
+
exact_modified?: string | null;
|
|
3877
|
+
exact_timestamp?: number | null;
|
|
3878
|
+
gl_account_code?: string | null;
|
|
3879
|
+
id?: string;
|
|
3880
|
+
is_active?: boolean;
|
|
3881
|
+
is_sales_item?: boolean | null;
|
|
3882
|
+
item_type?: string | null;
|
|
3883
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3884
|
+
sales_price?: number | null;
|
|
3885
|
+
unit?: string | null;
|
|
3886
|
+
updated_at?: string;
|
|
3887
|
+
vat_code?: string | null;
|
|
3888
|
+
};
|
|
3889
|
+
Update: {
|
|
3890
|
+
account_key?: string;
|
|
3891
|
+
barcode?: string | null;
|
|
3892
|
+
code?: string | null;
|
|
3893
|
+
cost_price?: number | null;
|
|
3894
|
+
created_at?: string;
|
|
3895
|
+
description?: string | null;
|
|
3896
|
+
division_code?: number | null;
|
|
3897
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3898
|
+
exact_id?: string;
|
|
3899
|
+
exact_modified?: string | null;
|
|
3900
|
+
exact_timestamp?: number | null;
|
|
3901
|
+
gl_account_code?: string | null;
|
|
3902
|
+
id?: string;
|
|
3903
|
+
is_active?: boolean;
|
|
3904
|
+
is_sales_item?: boolean | null;
|
|
3905
|
+
item_type?: string | null;
|
|
3906
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3907
|
+
sales_price?: number | null;
|
|
3908
|
+
unit?: string | null;
|
|
3909
|
+
updated_at?: string;
|
|
3910
|
+
vat_code?: string | null;
|
|
3911
|
+
};
|
|
3912
|
+
Relationships: [];
|
|
3913
|
+
};
|
|
3914
|
+
exact_auth_sync_log: {
|
|
3915
|
+
Row: {
|
|
3916
|
+
account_key: string;
|
|
3917
|
+
calls_used: number;
|
|
3918
|
+
created_at: string;
|
|
3919
|
+
domain: string;
|
|
3920
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3921
|
+
error: string | null;
|
|
3922
|
+
finished_at: string | null;
|
|
3923
|
+
id: string;
|
|
3924
|
+
ok: boolean;
|
|
3925
|
+
records: number;
|
|
3926
|
+
started_at: string;
|
|
3927
|
+
};
|
|
3928
|
+
Insert: {
|
|
3929
|
+
account_key?: string;
|
|
3930
|
+
calls_used?: number;
|
|
3931
|
+
created_at?: string;
|
|
3932
|
+
domain: string;
|
|
3933
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3934
|
+
error?: string | null;
|
|
3935
|
+
finished_at?: string | null;
|
|
3936
|
+
id?: string;
|
|
3937
|
+
ok?: boolean;
|
|
3938
|
+
records?: number;
|
|
3939
|
+
started_at?: string;
|
|
3940
|
+
};
|
|
3941
|
+
Update: {
|
|
3942
|
+
account_key?: string;
|
|
3943
|
+
calls_used?: number;
|
|
3944
|
+
created_at?: string;
|
|
3945
|
+
domain?: string;
|
|
3946
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3947
|
+
error?: string | null;
|
|
3948
|
+
finished_at?: string | null;
|
|
3949
|
+
id?: string;
|
|
3950
|
+
ok?: boolean;
|
|
3951
|
+
records?: number;
|
|
3952
|
+
started_at?: string;
|
|
3953
|
+
};
|
|
3954
|
+
Relationships: [];
|
|
3955
|
+
};
|
|
3956
|
+
exact_auth_sync_state: {
|
|
3957
|
+
Row: {
|
|
3958
|
+
account_key: string;
|
|
3959
|
+
created_at: string;
|
|
3960
|
+
cursor_timestamp: number;
|
|
3961
|
+
division_code: number | null;
|
|
3962
|
+
domain: string;
|
|
3963
|
+
duration_ms: number | null;
|
|
3964
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3965
|
+
initial_sync_done: boolean;
|
|
3966
|
+
last_error: string | null;
|
|
3967
|
+
last_run_at: string | null;
|
|
3968
|
+
last_success_at: string | null;
|
|
3969
|
+
locked_at: string | null;
|
|
3970
|
+
needs_initial_sync: boolean;
|
|
3971
|
+
record_count: number;
|
|
3972
|
+
updated_at: string;
|
|
3973
|
+
};
|
|
3974
|
+
Insert: {
|
|
3975
|
+
account_key?: string;
|
|
3976
|
+
created_at?: string;
|
|
3977
|
+
cursor_timestamp?: number;
|
|
3978
|
+
division_code?: number | null;
|
|
3979
|
+
domain: string;
|
|
3980
|
+
duration_ms?: number | null;
|
|
3981
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3982
|
+
initial_sync_done?: boolean;
|
|
3983
|
+
last_error?: string | null;
|
|
3984
|
+
last_run_at?: string | null;
|
|
3985
|
+
last_success_at?: string | null;
|
|
3986
|
+
locked_at?: string | null;
|
|
3987
|
+
needs_initial_sync?: boolean;
|
|
3988
|
+
record_count?: number;
|
|
3989
|
+
updated_at?: string;
|
|
3990
|
+
};
|
|
3991
|
+
Update: {
|
|
3992
|
+
account_key?: string;
|
|
3993
|
+
created_at?: string;
|
|
3994
|
+
cursor_timestamp?: number;
|
|
3995
|
+
division_code?: number | null;
|
|
3996
|
+
domain?: string;
|
|
3997
|
+
duration_ms?: number | null;
|
|
3998
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3999
|
+
initial_sync_done?: boolean;
|
|
4000
|
+
last_error?: string | null;
|
|
4001
|
+
last_run_at?: string | null;
|
|
4002
|
+
last_success_at?: string | null;
|
|
4003
|
+
locked_at?: string | null;
|
|
4004
|
+
needs_initial_sync?: boolean;
|
|
4005
|
+
record_count?: number;
|
|
4006
|
+
updated_at?: string;
|
|
4007
|
+
};
|
|
4008
|
+
Relationships: [];
|
|
4009
|
+
};
|
|
3509
4010
|
exact_bulk_operation_items: {
|
|
3510
4011
|
Row: {
|
|
3511
4012
|
attempts: number;
|
|
@@ -8168,6 +8669,66 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8168
8669
|
};
|
|
8169
8670
|
Relationships: [];
|
|
8170
8671
|
};
|
|
8672
|
+
logistics_recalc_jobs: {
|
|
8673
|
+
Row: {
|
|
8674
|
+
carts_created: number;
|
|
8675
|
+
created_at: string;
|
|
8676
|
+
cursor: string | null;
|
|
8677
|
+
errors: import("../integrations/supabase/types").Json;
|
|
8678
|
+
failed: number;
|
|
8679
|
+
finished_at: string | null;
|
|
8680
|
+
id: string;
|
|
8681
|
+
last_tick_at: string | null;
|
|
8682
|
+
phase: string;
|
|
8683
|
+
processed: number;
|
|
8684
|
+
skipped_locked: number;
|
|
8685
|
+
started_by: string | null;
|
|
8686
|
+
status: string;
|
|
8687
|
+
steps: import("../integrations/supabase/types").Json;
|
|
8688
|
+
strategy_id: string | null;
|
|
8689
|
+
tasks_updated: number;
|
|
8690
|
+
updated_at: string;
|
|
8691
|
+
};
|
|
8692
|
+
Insert: {
|
|
8693
|
+
carts_created?: number;
|
|
8694
|
+
created_at?: string;
|
|
8695
|
+
cursor?: string | null;
|
|
8696
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8697
|
+
failed?: number;
|
|
8698
|
+
finished_at?: string | null;
|
|
8699
|
+
id?: string;
|
|
8700
|
+
last_tick_at?: string | null;
|
|
8701
|
+
phase?: string;
|
|
8702
|
+
processed?: number;
|
|
8703
|
+
skipped_locked?: number;
|
|
8704
|
+
started_by?: string | null;
|
|
8705
|
+
status?: string;
|
|
8706
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8707
|
+
strategy_id?: string | null;
|
|
8708
|
+
tasks_updated?: number;
|
|
8709
|
+
updated_at?: string;
|
|
8710
|
+
};
|
|
8711
|
+
Update: {
|
|
8712
|
+
carts_created?: number;
|
|
8713
|
+
created_at?: string;
|
|
8714
|
+
cursor?: string | null;
|
|
8715
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8716
|
+
failed?: number;
|
|
8717
|
+
finished_at?: string | null;
|
|
8718
|
+
id?: string;
|
|
8719
|
+
last_tick_at?: string | null;
|
|
8720
|
+
phase?: string;
|
|
8721
|
+
processed?: number;
|
|
8722
|
+
skipped_locked?: number;
|
|
8723
|
+
started_by?: string | null;
|
|
8724
|
+
status?: string;
|
|
8725
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8726
|
+
strategy_id?: string | null;
|
|
8727
|
+
tasks_updated?: number;
|
|
8728
|
+
updated_at?: string;
|
|
8729
|
+
};
|
|
8730
|
+
Relationships: [];
|
|
8731
|
+
};
|
|
8171
8732
|
logistics_reschedules: {
|
|
8172
8733
|
Row: {
|
|
8173
8734
|
created_at: string;
|
|
@@ -8530,6 +9091,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8530
9091
|
};
|
|
8531
9092
|
logistics_tasks: {
|
|
8532
9093
|
Row: {
|
|
9094
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9095
|
+
attempts: number;
|
|
8533
9096
|
buffer_ref: string | null;
|
|
8534
9097
|
claimed_at: string | null;
|
|
8535
9098
|
claimed_by: string | null;
|
|
@@ -8539,6 +9102,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8539
9102
|
due_at: string | null;
|
|
8540
9103
|
error: string | null;
|
|
8541
9104
|
id: string;
|
|
9105
|
+
last_error: string | null;
|
|
9106
|
+
next_attempt_at: string | null;
|
|
8542
9107
|
order_ref: string;
|
|
8543
9108
|
owner_module: string;
|
|
8544
9109
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -8559,6 +9124,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8559
9124
|
user_id: string;
|
|
8560
9125
|
};
|
|
8561
9126
|
Insert: {
|
|
9127
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9128
|
+
attempts?: number;
|
|
8562
9129
|
buffer_ref?: string | null;
|
|
8563
9130
|
claimed_at?: string | null;
|
|
8564
9131
|
claimed_by?: string | null;
|
|
@@ -8568,6 +9135,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8568
9135
|
due_at?: string | null;
|
|
8569
9136
|
error?: string | null;
|
|
8570
9137
|
id?: string;
|
|
9138
|
+
last_error?: string | null;
|
|
9139
|
+
next_attempt_at?: string | null;
|
|
8571
9140
|
order_ref: string;
|
|
8572
9141
|
owner_module: string;
|
|
8573
9142
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -8588,6 +9157,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8588
9157
|
user_id?: string;
|
|
8589
9158
|
};
|
|
8590
9159
|
Update: {
|
|
9160
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9161
|
+
attempts?: number;
|
|
8591
9162
|
buffer_ref?: string | null;
|
|
8592
9163
|
claimed_at?: string | null;
|
|
8593
9164
|
claimed_by?: string | null;
|
|
@@ -8597,6 +9168,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8597
9168
|
due_at?: string | null;
|
|
8598
9169
|
error?: string | null;
|
|
8599
9170
|
id?: string;
|
|
9171
|
+
last_error?: string | null;
|
|
9172
|
+
next_attempt_at?: string | null;
|
|
8600
9173
|
order_ref?: string;
|
|
8601
9174
|
owner_module?: string;
|
|
8602
9175
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9946,6 +10519,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9946
10519
|
};
|
|
9947
10520
|
offer_settings: {
|
|
9948
10521
|
Row: {
|
|
10522
|
+
brand_name: string | null;
|
|
9949
10523
|
button_color: string;
|
|
9950
10524
|
created_at: string;
|
|
9951
10525
|
default_countries: string[];
|
|
@@ -9967,6 +10541,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9967
10541
|
updated_at: string;
|
|
9968
10542
|
};
|
|
9969
10543
|
Insert: {
|
|
10544
|
+
brand_name?: string | null;
|
|
9970
10545
|
button_color?: string;
|
|
9971
10546
|
created_at?: string;
|
|
9972
10547
|
default_countries?: string[];
|
|
@@ -9988,6 +10563,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9988
10563
|
updated_at?: string;
|
|
9989
10564
|
};
|
|
9990
10565
|
Update: {
|
|
10566
|
+
brand_name?: string | null;
|
|
9991
10567
|
button_color?: string;
|
|
9992
10568
|
created_at?: string;
|
|
9993
10569
|
default_countries?: string[];
|
|
@@ -13397,6 +13973,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13397
13973
|
buffer_key: string | null;
|
|
13398
13974
|
created_at: string;
|
|
13399
13975
|
customer_names: string[];
|
|
13976
|
+
device_id: string | null;
|
|
13400
13977
|
geprint: boolean;
|
|
13401
13978
|
geprint_op: string | null;
|
|
13402
13979
|
id: string;
|
|
@@ -13406,6 +13983,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13406
13983
|
naar_pickstation: boolean;
|
|
13407
13984
|
naar_pickstation_op: string | null;
|
|
13408
13985
|
order_number: string | null;
|
|
13986
|
+
scanner_id: string | null;
|
|
13409
13987
|
scanner_key: string;
|
|
13410
13988
|
status: string;
|
|
13411
13989
|
totaal_producten: number;
|
|
@@ -13416,6 +13994,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13416
13994
|
buffer_key?: string | null;
|
|
13417
13995
|
created_at?: string;
|
|
13418
13996
|
customer_names?: string[];
|
|
13997
|
+
device_id?: string | null;
|
|
13419
13998
|
geprint?: boolean;
|
|
13420
13999
|
geprint_op?: string | null;
|
|
13421
14000
|
id?: string;
|
|
@@ -13425,6 +14004,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13425
14004
|
naar_pickstation?: boolean;
|
|
13426
14005
|
naar_pickstation_op?: string | null;
|
|
13427
14006
|
order_number?: string | null;
|
|
14007
|
+
scanner_id?: string | null;
|
|
13428
14008
|
scanner_key?: string;
|
|
13429
14009
|
status?: string;
|
|
13430
14010
|
totaal_producten?: number;
|
|
@@ -13435,6 +14015,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13435
14015
|
buffer_key?: string | null;
|
|
13436
14016
|
created_at?: string;
|
|
13437
14017
|
customer_names?: string[];
|
|
14018
|
+
device_id?: string | null;
|
|
13438
14019
|
geprint?: boolean;
|
|
13439
14020
|
geprint_op?: string | null;
|
|
13440
14021
|
id?: string;
|
|
@@ -13444,6 +14025,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13444
14025
|
naar_pickstation?: boolean;
|
|
13445
14026
|
naar_pickstation_op?: string | null;
|
|
13446
14027
|
order_number?: string | null;
|
|
14028
|
+
scanner_id?: string | null;
|
|
13447
14029
|
scanner_key?: string;
|
|
13448
14030
|
status?: string;
|
|
13449
14031
|
totaal_producten?: number;
|
|
@@ -13455,31 +14037,46 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13455
14037
|
Row: {
|
|
13456
14038
|
code: string;
|
|
13457
14039
|
created_at: string;
|
|
14040
|
+
device_id: string | null;
|
|
13458
14041
|
id: string;
|
|
13459
14042
|
kar_id: string | null;
|
|
14043
|
+
latency_ms: number | null;
|
|
14044
|
+
medewerker_naam: string | null;
|
|
13460
14045
|
message: string | null;
|
|
13461
14046
|
result: string;
|
|
14047
|
+
retry_count: number;
|
|
13462
14048
|
scanner_key: string;
|
|
14049
|
+
session_id: string | null;
|
|
13463
14050
|
user_id: string | null;
|
|
13464
14051
|
};
|
|
13465
14052
|
Insert: {
|
|
13466
14053
|
code: string;
|
|
13467
14054
|
created_at?: string;
|
|
14055
|
+
device_id?: string | null;
|
|
13468
14056
|
id?: string;
|
|
13469
14057
|
kar_id?: string | null;
|
|
14058
|
+
latency_ms?: number | null;
|
|
14059
|
+
medewerker_naam?: string | null;
|
|
13470
14060
|
message?: string | null;
|
|
13471
14061
|
result: string;
|
|
14062
|
+
retry_count?: number;
|
|
13472
14063
|
scanner_key?: string;
|
|
14064
|
+
session_id?: string | null;
|
|
13473
14065
|
user_id?: string | null;
|
|
13474
14066
|
};
|
|
13475
14067
|
Update: {
|
|
13476
14068
|
code?: string;
|
|
13477
14069
|
created_at?: string;
|
|
14070
|
+
device_id?: string | null;
|
|
13478
14071
|
id?: string;
|
|
13479
14072
|
kar_id?: string | null;
|
|
14073
|
+
latency_ms?: number | null;
|
|
14074
|
+
medewerker_naam?: string | null;
|
|
13480
14075
|
message?: string | null;
|
|
13481
14076
|
result?: string;
|
|
14077
|
+
retry_count?: number;
|
|
13482
14078
|
scanner_key?: string;
|
|
14079
|
+
session_id?: string | null;
|
|
13483
14080
|
user_id?: string | null;
|
|
13484
14081
|
};
|
|
13485
14082
|
Relationships: [];
|
|
@@ -13536,6 +14133,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13536
14133
|
printed_at: string;
|
|
13537
14134
|
status: string;
|
|
13538
14135
|
updated_at: string;
|
|
14136
|
+
vergrendeld_door: string | null;
|
|
14137
|
+
vergrendeld_sessie: string | null;
|
|
14138
|
+
vergrendeld_tot: string | null;
|
|
13539
14139
|
};
|
|
13540
14140
|
Insert: {
|
|
13541
14141
|
barcode: string;
|
|
@@ -13549,6 +14149,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13549
14149
|
printed_at?: string;
|
|
13550
14150
|
status?: string;
|
|
13551
14151
|
updated_at?: string;
|
|
14152
|
+
vergrendeld_door?: string | null;
|
|
14153
|
+
vergrendeld_sessie?: string | null;
|
|
14154
|
+
vergrendeld_tot?: string | null;
|
|
13552
14155
|
};
|
|
13553
14156
|
Update: {
|
|
13554
14157
|
barcode?: string;
|
|
@@ -13562,6 +14165,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13562
14165
|
printed_at?: string;
|
|
13563
14166
|
status?: string;
|
|
13564
14167
|
updated_at?: string;
|
|
14168
|
+
vergrendeld_door?: string | null;
|
|
14169
|
+
vergrendeld_sessie?: string | null;
|
|
14170
|
+
vergrendeld_tot?: string | null;
|
|
13565
14171
|
};
|
|
13566
14172
|
Relationships: [];
|
|
13567
14173
|
};
|
|
@@ -13570,31 +14176,40 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13570
14176
|
actief: boolean;
|
|
13571
14177
|
created_at: string;
|
|
13572
14178
|
id: string;
|
|
14179
|
+
max_producten_per_kar: number | null;
|
|
13573
14180
|
naam: string;
|
|
13574
14181
|
omschrijving: string | null;
|
|
14182
|
+
pincode: string | null;
|
|
13575
14183
|
slug: string;
|
|
13576
14184
|
type: string;
|
|
13577
14185
|
updated_at: string;
|
|
14186
|
+
vereist_medewerker: boolean;
|
|
13578
14187
|
};
|
|
13579
14188
|
Insert: {
|
|
13580
14189
|
actief?: boolean;
|
|
13581
14190
|
created_at?: string;
|
|
13582
14191
|
id?: string;
|
|
14192
|
+
max_producten_per_kar?: number | null;
|
|
13583
14193
|
naam: string;
|
|
13584
14194
|
omschrijving?: string | null;
|
|
14195
|
+
pincode?: string | null;
|
|
13585
14196
|
slug: string;
|
|
13586
14197
|
type?: string;
|
|
13587
14198
|
updated_at?: string;
|
|
14199
|
+
vereist_medewerker?: boolean;
|
|
13588
14200
|
};
|
|
13589
14201
|
Update: {
|
|
13590
14202
|
actief?: boolean;
|
|
13591
14203
|
created_at?: string;
|
|
13592
14204
|
id?: string;
|
|
14205
|
+
max_producten_per_kar?: number | null;
|
|
13593
14206
|
naam?: string;
|
|
13594
14207
|
omschrijving?: string | null;
|
|
14208
|
+
pincode?: string | null;
|
|
13595
14209
|
slug?: string;
|
|
13596
14210
|
type?: string;
|
|
13597
14211
|
updated_at?: string;
|
|
14212
|
+
vereist_medewerker?: boolean;
|
|
13598
14213
|
};
|
|
13599
14214
|
Relationships: [];
|
|
13600
14215
|
};
|
|
@@ -17559,6 +18174,54 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17559
18174
|
};
|
|
17560
18175
|
Returns: import("../integrations/supabase/types").Json;
|
|
17561
18176
|
};
|
|
18177
|
+
claim_logistics_tasks: {
|
|
18178
|
+
Args: {
|
|
18179
|
+
_limit?: number;
|
|
18180
|
+
_owner_module: string;
|
|
18181
|
+
_stale_minutes?: number;
|
|
18182
|
+
_task_type: string;
|
|
18183
|
+
_worker: string;
|
|
18184
|
+
};
|
|
18185
|
+
Returns: {
|
|
18186
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18187
|
+
attempts: number;
|
|
18188
|
+
buffer_ref: string | null;
|
|
18189
|
+
claimed_at: string | null;
|
|
18190
|
+
claimed_by: string | null;
|
|
18191
|
+
completed_at: string | null;
|
|
18192
|
+
created_at: string;
|
|
18193
|
+
depends_on: string[];
|
|
18194
|
+
due_at: string | null;
|
|
18195
|
+
error: string | null;
|
|
18196
|
+
id: string;
|
|
18197
|
+
last_error: string | null;
|
|
18198
|
+
next_attempt_at: string | null;
|
|
18199
|
+
order_ref: string;
|
|
18200
|
+
owner_module: string;
|
|
18201
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18202
|
+
plan_run_id: string | null;
|
|
18203
|
+
planned_end: string | null;
|
|
18204
|
+
planned_start: string | null;
|
|
18205
|
+
priority: number;
|
|
18206
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18207
|
+
rule_config_id: string | null;
|
|
18208
|
+
rule_version: number | null;
|
|
18209
|
+
sequence: number;
|
|
18210
|
+
shadow: boolean;
|
|
18211
|
+
started_at: string | null;
|
|
18212
|
+
status: string;
|
|
18213
|
+
strategy_id: string | null;
|
|
18214
|
+
task_type: string;
|
|
18215
|
+
updated_at: string;
|
|
18216
|
+
user_id: string;
|
|
18217
|
+
}[];
|
|
18218
|
+
SetofOptions: {
|
|
18219
|
+
from: "*";
|
|
18220
|
+
to: "logistics_tasks";
|
|
18221
|
+
isOneToOne: false;
|
|
18222
|
+
isSetofReturn: true;
|
|
18223
|
+
};
|
|
18224
|
+
};
|
|
17562
18225
|
claim_print_jobs: {
|
|
17563
18226
|
Args: {
|
|
17564
18227
|
_agent_id: string;
|
|
@@ -17799,6 +18462,21 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17799
18462
|
Args: never;
|
|
17800
18463
|
Returns: string;
|
|
17801
18464
|
};
|
|
18465
|
+
exact_auth_consume_calls: {
|
|
18466
|
+
Args: {
|
|
18467
|
+
_account_key: string;
|
|
18468
|
+
_calls?: number;
|
|
18469
|
+
_day_limit?: number;
|
|
18470
|
+
_division_code: number;
|
|
18471
|
+
_environment: string;
|
|
18472
|
+
_minute_limit?: number;
|
|
18473
|
+
};
|
|
18474
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18475
|
+
};
|
|
18476
|
+
exact_auth_prune_sync_log: {
|
|
18477
|
+
Args: never;
|
|
18478
|
+
Returns: undefined;
|
|
18479
|
+
};
|
|
17802
18480
|
exact_decrypt: {
|
|
17803
18481
|
Args: {
|
|
17804
18482
|
cipher: string;
|
|
@@ -18008,6 +18686,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18008
18686
|
};
|
|
18009
18687
|
Returns: number;
|
|
18010
18688
|
};
|
|
18689
|
+
get_offer_branding: {
|
|
18690
|
+
Args: never;
|
|
18691
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18692
|
+
};
|
|
18011
18693
|
get_offer_by_link_code: {
|
|
18012
18694
|
Args: {
|
|
18013
18695
|
p_code: string;
|
|
@@ -18179,6 +18861,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18179
18861
|
};
|
|
18180
18862
|
Returns: string;
|
|
18181
18863
|
};
|
|
18864
|
+
logistics_active_pick_workdays: {
|
|
18865
|
+
Args: never;
|
|
18866
|
+
Returns: string[];
|
|
18867
|
+
};
|
|
18182
18868
|
logistics_address_key: {
|
|
18183
18869
|
Args: {
|
|
18184
18870
|
p_location: string;
|
|
@@ -18295,6 +18981,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18295
18981
|
p_worker?: string;
|
|
18296
18982
|
};
|
|
18297
18983
|
Returns: {
|
|
18984
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18985
|
+
attempts: number;
|
|
18298
18986
|
buffer_ref: string | null;
|
|
18299
18987
|
claimed_at: string | null;
|
|
18300
18988
|
claimed_by: string | null;
|
|
@@ -18304,6 +18992,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18304
18992
|
due_at: string | null;
|
|
18305
18993
|
error: string | null;
|
|
18306
18994
|
id: string;
|
|
18995
|
+
last_error: string | null;
|
|
18996
|
+
next_attempt_at: string | null;
|
|
18307
18997
|
order_ref: string;
|
|
18308
18998
|
owner_module: string;
|
|
18309
18999
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18336,6 +19026,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18336
19026
|
p_worker?: string;
|
|
18337
19027
|
};
|
|
18338
19028
|
Returns: {
|
|
19029
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19030
|
+
attempts: number;
|
|
18339
19031
|
buffer_ref: string | null;
|
|
18340
19032
|
claimed_at: string | null;
|
|
18341
19033
|
claimed_by: string | null;
|
|
@@ -18345,6 +19037,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18345
19037
|
due_at: string | null;
|
|
18346
19038
|
error: string | null;
|
|
18347
19039
|
id: string;
|
|
19040
|
+
last_error: string | null;
|
|
19041
|
+
next_attempt_at: string | null;
|
|
18348
19042
|
order_ref: string;
|
|
18349
19043
|
owner_module: string;
|
|
18350
19044
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18377,6 +19071,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18377
19071
|
p_task_id: string;
|
|
18378
19072
|
};
|
|
18379
19073
|
Returns: {
|
|
19074
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19075
|
+
attempts: number;
|
|
18380
19076
|
buffer_ref: string | null;
|
|
18381
19077
|
claimed_at: string | null;
|
|
18382
19078
|
claimed_by: string | null;
|
|
@@ -18386,6 +19082,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18386
19082
|
due_at: string | null;
|
|
18387
19083
|
error: string | null;
|
|
18388
19084
|
id: string;
|
|
19085
|
+
last_error: string | null;
|
|
19086
|
+
next_attempt_at: string | null;
|
|
18389
19087
|
order_ref: string;
|
|
18390
19088
|
owner_module: string;
|
|
18391
19089
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18467,6 +19165,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18467
19165
|
p_task_id: string;
|
|
18468
19166
|
};
|
|
18469
19167
|
Returns: {
|
|
19168
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19169
|
+
attempts: number;
|
|
18470
19170
|
buffer_ref: string | null;
|
|
18471
19171
|
claimed_at: string | null;
|
|
18472
19172
|
claimed_by: string | null;
|
|
@@ -18476,6 +19176,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18476
19176
|
due_at: string | null;
|
|
18477
19177
|
error: string | null;
|
|
18478
19178
|
id: string;
|
|
19179
|
+
last_error: string | null;
|
|
19180
|
+
next_attempt_at: string | null;
|
|
18479
19181
|
order_ref: string;
|
|
18480
19182
|
owner_module: string;
|
|
18481
19183
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18502,12 +19204,30 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18502
19204
|
isSetofReturn: false;
|
|
18503
19205
|
};
|
|
18504
19206
|
};
|
|
19207
|
+
logistics_live_carriers: {
|
|
19208
|
+
Args: {
|
|
19209
|
+
p_order_ref: string;
|
|
19210
|
+
};
|
|
19211
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19212
|
+
};
|
|
19213
|
+
logistics_live_cart_count: {
|
|
19214
|
+
Args: {
|
|
19215
|
+
p_order_ref: string;
|
|
19216
|
+
};
|
|
19217
|
+
Returns: number;
|
|
19218
|
+
};
|
|
18505
19219
|
logistics_not_past: {
|
|
18506
19220
|
Args: {
|
|
18507
19221
|
p_ts: string;
|
|
18508
19222
|
};
|
|
18509
19223
|
Returns: string;
|
|
18510
19224
|
};
|
|
19225
|
+
logistics_order_cart_count: {
|
|
19226
|
+
Args: {
|
|
19227
|
+
p_order_ref: string;
|
|
19228
|
+
};
|
|
19229
|
+
Returns: number;
|
|
19230
|
+
};
|
|
18511
19231
|
logistics_order_pick_day: {
|
|
18512
19232
|
Args: {
|
|
18513
19233
|
p_order_ref: string;
|
|
@@ -18684,6 +19404,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18684
19404
|
};
|
|
18685
19405
|
Returns: import("../integrations/supabase/types").Json;
|
|
18686
19406
|
};
|
|
19407
|
+
logistics_shift_to_workday: {
|
|
19408
|
+
Args: {
|
|
19409
|
+
p_days: string[];
|
|
19410
|
+
p_ts: string;
|
|
19411
|
+
};
|
|
19412
|
+
Returns: string;
|
|
19413
|
+
};
|
|
18687
19414
|
logistics_supersede_stale_tasks: {
|
|
18688
19415
|
Args: {
|
|
18689
19416
|
p_keep: string[];
|
|
@@ -18969,6 +19696,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18969
19696
|
isSetofReturn: false;
|
|
18970
19697
|
};
|
|
18971
19698
|
};
|
|
19699
|
+
pick_current_pick_day: {
|
|
19700
|
+
Args: never;
|
|
19701
|
+
Returns: string;
|
|
19702
|
+
};
|
|
18972
19703
|
pick_document_layout_data: {
|
|
18973
19704
|
Args: {
|
|
18974
19705
|
_layout_id: string;
|
|
@@ -19200,10 +19931,68 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19200
19931
|
Args: never;
|
|
19201
19932
|
Returns: undefined;
|
|
19202
19933
|
};
|
|
19934
|
+
run_logistics_tasks_dispatch: {
|
|
19935
|
+
Args: never;
|
|
19936
|
+
Returns: undefined;
|
|
19937
|
+
};
|
|
19203
19938
|
run_twinfield_queue_tick: {
|
|
19204
19939
|
Args: never;
|
|
19205
19940
|
Returns: undefined;
|
|
19206
19941
|
};
|
|
19942
|
+
scan_cancel_kar: {
|
|
19943
|
+
Args: {
|
|
19944
|
+
p_kar_id: string;
|
|
19945
|
+
};
|
|
19946
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19947
|
+
};
|
|
19948
|
+
scan_dashboard_stats: {
|
|
19949
|
+
Args: {
|
|
19950
|
+
p_dagen?: number;
|
|
19951
|
+
};
|
|
19952
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19953
|
+
};
|
|
19954
|
+
scan_finish_kar: {
|
|
19955
|
+
Args: {
|
|
19956
|
+
p_kar_id: string;
|
|
19957
|
+
};
|
|
19958
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19959
|
+
};
|
|
19960
|
+
scan_register_item: {
|
|
19961
|
+
Args: {
|
|
19962
|
+
p_kar_id: string;
|
|
19963
|
+
p_pakbon_item_id: string;
|
|
19964
|
+
p_scanned_by?: string;
|
|
19965
|
+
};
|
|
19966
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19967
|
+
};
|
|
19968
|
+
scan_release_expired_locks: {
|
|
19969
|
+
Args: never;
|
|
19970
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19971
|
+
};
|
|
19972
|
+
scan_remove_item: {
|
|
19973
|
+
Args: {
|
|
19974
|
+
p_kar_item_id: string;
|
|
19975
|
+
};
|
|
19976
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19977
|
+
};
|
|
19978
|
+
scan_start_kar: {
|
|
19979
|
+
Args: {
|
|
19980
|
+
p_medewerker_id?: string;
|
|
19981
|
+
p_medewerker_naam?: string;
|
|
19982
|
+
p_pakbon_ids: string[];
|
|
19983
|
+
p_scanner_key?: string;
|
|
19984
|
+
};
|
|
19985
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19986
|
+
} | {
|
|
19987
|
+
Args: {
|
|
19988
|
+
p_medewerker_id?: string;
|
|
19989
|
+
p_medewerker_naam?: string;
|
|
19990
|
+
p_pakbon_ids: string[];
|
|
19991
|
+
p_scanner_key?: string;
|
|
19992
|
+
p_sessie?: string;
|
|
19993
|
+
};
|
|
19994
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19995
|
+
};
|
|
19207
19996
|
schedule_floriday_additional_services_sync: {
|
|
19208
19997
|
Args: {
|
|
19209
19998
|
p_apikey: string;
|
|
@@ -21462,6 +22251,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21462
22251
|
referencedColumns: ["id"];
|
|
21463
22252
|
}];
|
|
21464
22253
|
};
|
|
22254
|
+
customer_notes: {
|
|
22255
|
+
Row: {
|
|
22256
|
+
created_at: string;
|
|
22257
|
+
customer_id: string | null;
|
|
22258
|
+
group_key: string | null;
|
|
22259
|
+
id: string;
|
|
22260
|
+
notes: string | null;
|
|
22261
|
+
updated_at: string;
|
|
22262
|
+
};
|
|
22263
|
+
Insert: {
|
|
22264
|
+
created_at?: string;
|
|
22265
|
+
customer_id?: string | null;
|
|
22266
|
+
group_key?: string | null;
|
|
22267
|
+
id?: string;
|
|
22268
|
+
notes?: string | null;
|
|
22269
|
+
updated_at?: string;
|
|
22270
|
+
};
|
|
22271
|
+
Update: {
|
|
22272
|
+
created_at?: string;
|
|
22273
|
+
customer_id?: string | null;
|
|
22274
|
+
group_key?: string | null;
|
|
22275
|
+
id?: string;
|
|
22276
|
+
notes?: string | null;
|
|
22277
|
+
updated_at?: string;
|
|
22278
|
+
};
|
|
22279
|
+
Relationships: [{
|
|
22280
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
22281
|
+
columns: ["customer_id"];
|
|
22282
|
+
isOneToOne: true;
|
|
22283
|
+
referencedRelation: "customers";
|
|
22284
|
+
referencedColumns: ["id"];
|
|
22285
|
+
}];
|
|
22286
|
+
};
|
|
21465
22287
|
customer_price_group_members: {
|
|
21466
22288
|
Row: {
|
|
21467
22289
|
created_at: string;
|
|
@@ -23106,6 +23928,474 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
23106
23928
|
referencedColumns: ["id"];
|
|
23107
23929
|
}];
|
|
23108
23930
|
};
|
|
23931
|
+
exact_auth_call_budget: {
|
|
23932
|
+
Row: {
|
|
23933
|
+
account_key: string;
|
|
23934
|
+
day_count: number;
|
|
23935
|
+
day_date: string;
|
|
23936
|
+
division_code: number;
|
|
23937
|
+
environment: string;
|
|
23938
|
+
minute_count: number;
|
|
23939
|
+
minute_window: string;
|
|
23940
|
+
updated_at: string;
|
|
23941
|
+
};
|
|
23942
|
+
Insert: {
|
|
23943
|
+
account_key?: string;
|
|
23944
|
+
day_count?: number;
|
|
23945
|
+
day_date?: string;
|
|
23946
|
+
division_code?: number;
|
|
23947
|
+
environment: string;
|
|
23948
|
+
minute_count?: number;
|
|
23949
|
+
minute_window?: string;
|
|
23950
|
+
updated_at?: string;
|
|
23951
|
+
};
|
|
23952
|
+
Update: {
|
|
23953
|
+
account_key?: string;
|
|
23954
|
+
day_count?: number;
|
|
23955
|
+
day_date?: string;
|
|
23956
|
+
division_code?: number;
|
|
23957
|
+
environment?: string;
|
|
23958
|
+
minute_count?: number;
|
|
23959
|
+
minute_window?: string;
|
|
23960
|
+
updated_at?: string;
|
|
23961
|
+
};
|
|
23962
|
+
Relationships: [];
|
|
23963
|
+
};
|
|
23964
|
+
exact_auth_customers: {
|
|
23965
|
+
Row: {
|
|
23966
|
+
account_key: string;
|
|
23967
|
+
address_line1: string | null;
|
|
23968
|
+
chamber_of_commerce: string | null;
|
|
23969
|
+
city: string | null;
|
|
23970
|
+
code: string | null;
|
|
23971
|
+
country: string | null;
|
|
23972
|
+
created_at: string;
|
|
23973
|
+
currency: string | null;
|
|
23974
|
+
division_code: number | null;
|
|
23975
|
+
email: string | null;
|
|
23976
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23977
|
+
exact_id: string;
|
|
23978
|
+
exact_modified: string | null;
|
|
23979
|
+
exact_timestamp: number | null;
|
|
23980
|
+
id: string;
|
|
23981
|
+
is_active: boolean;
|
|
23982
|
+
name: string | null;
|
|
23983
|
+
phone: string | null;
|
|
23984
|
+
postcode: string | null;
|
|
23985
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
23986
|
+
status: string | null;
|
|
23987
|
+
updated_at: string;
|
|
23988
|
+
vat_number: string | null;
|
|
23989
|
+
website: string | null;
|
|
23990
|
+
};
|
|
23991
|
+
Insert: {
|
|
23992
|
+
account_key?: string;
|
|
23993
|
+
address_line1?: string | null;
|
|
23994
|
+
chamber_of_commerce?: string | null;
|
|
23995
|
+
city?: string | null;
|
|
23996
|
+
code?: string | null;
|
|
23997
|
+
country?: string | null;
|
|
23998
|
+
created_at?: string;
|
|
23999
|
+
currency?: string | null;
|
|
24000
|
+
division_code?: number | null;
|
|
24001
|
+
email?: string | null;
|
|
24002
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24003
|
+
exact_id: string;
|
|
24004
|
+
exact_modified?: string | null;
|
|
24005
|
+
exact_timestamp?: number | null;
|
|
24006
|
+
id?: string;
|
|
24007
|
+
is_active?: boolean;
|
|
24008
|
+
name?: string | null;
|
|
24009
|
+
phone?: string | null;
|
|
24010
|
+
postcode?: string | null;
|
|
24011
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24012
|
+
status?: string | null;
|
|
24013
|
+
updated_at?: string;
|
|
24014
|
+
vat_number?: string | null;
|
|
24015
|
+
website?: string | null;
|
|
24016
|
+
};
|
|
24017
|
+
Update: {
|
|
24018
|
+
account_key?: string;
|
|
24019
|
+
address_line1?: string | null;
|
|
24020
|
+
chamber_of_commerce?: string | null;
|
|
24021
|
+
city?: string | null;
|
|
24022
|
+
code?: string | null;
|
|
24023
|
+
country?: string | null;
|
|
24024
|
+
created_at?: string;
|
|
24025
|
+
currency?: string | null;
|
|
24026
|
+
division_code?: number | null;
|
|
24027
|
+
email?: string | null;
|
|
24028
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24029
|
+
exact_id?: string;
|
|
24030
|
+
exact_modified?: string | null;
|
|
24031
|
+
exact_timestamp?: number | null;
|
|
24032
|
+
id?: string;
|
|
24033
|
+
is_active?: boolean;
|
|
24034
|
+
name?: string | null;
|
|
24035
|
+
phone?: string | null;
|
|
24036
|
+
postcode?: string | null;
|
|
24037
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24038
|
+
status?: string | null;
|
|
24039
|
+
updated_at?: string;
|
|
24040
|
+
vat_number?: string | null;
|
|
24041
|
+
website?: string | null;
|
|
24042
|
+
};
|
|
24043
|
+
Relationships: [];
|
|
24044
|
+
};
|
|
24045
|
+
exact_auth_divisions: {
|
|
24046
|
+
Row: {
|
|
24047
|
+
account_key: string;
|
|
24048
|
+
company_name: string | null;
|
|
24049
|
+
created_at: string;
|
|
24050
|
+
division_code: number | null;
|
|
24051
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24052
|
+
id: string;
|
|
24053
|
+
last_synced_at: string | null;
|
|
24054
|
+
updated_at: string;
|
|
24055
|
+
};
|
|
24056
|
+
Insert: {
|
|
24057
|
+
account_key?: string;
|
|
24058
|
+
company_name?: string | null;
|
|
24059
|
+
created_at?: string;
|
|
24060
|
+
division_code?: number | null;
|
|
24061
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24062
|
+
id?: string;
|
|
24063
|
+
last_synced_at?: string | null;
|
|
24064
|
+
updated_at?: string;
|
|
24065
|
+
};
|
|
24066
|
+
Update: {
|
|
24067
|
+
account_key?: string;
|
|
24068
|
+
company_name?: string | null;
|
|
24069
|
+
created_at?: string;
|
|
24070
|
+
division_code?: number | null;
|
|
24071
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24072
|
+
id?: string;
|
|
24073
|
+
last_synced_at?: string | null;
|
|
24074
|
+
updated_at?: string;
|
|
24075
|
+
};
|
|
24076
|
+
Relationships: [];
|
|
24077
|
+
};
|
|
24078
|
+
exact_auth_invoice_lines: {
|
|
24079
|
+
Row: {
|
|
24080
|
+
account_key: string;
|
|
24081
|
+
amount_excl: number | null;
|
|
24082
|
+
created_at: string;
|
|
24083
|
+
description: string | null;
|
|
24084
|
+
discount: number | null;
|
|
24085
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24086
|
+
exact_id: string;
|
|
24087
|
+
exact_timestamp: number | null;
|
|
24088
|
+
id: string;
|
|
24089
|
+
invoice_exact_id: string;
|
|
24090
|
+
item_code: string | null;
|
|
24091
|
+
item_exact_id: string | null;
|
|
24092
|
+
line_number: number | null;
|
|
24093
|
+
quantity: number | null;
|
|
24094
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24095
|
+
unit_price: number | null;
|
|
24096
|
+
updated_at: string;
|
|
24097
|
+
vat_amount: number | null;
|
|
24098
|
+
vat_code: string | null;
|
|
24099
|
+
};
|
|
24100
|
+
Insert: {
|
|
24101
|
+
account_key?: string;
|
|
24102
|
+
amount_excl?: number | null;
|
|
24103
|
+
created_at?: string;
|
|
24104
|
+
description?: string | null;
|
|
24105
|
+
discount?: number | null;
|
|
24106
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24107
|
+
exact_id: string;
|
|
24108
|
+
exact_timestamp?: number | null;
|
|
24109
|
+
id?: string;
|
|
24110
|
+
invoice_exact_id: string;
|
|
24111
|
+
item_code?: string | null;
|
|
24112
|
+
item_exact_id?: string | null;
|
|
24113
|
+
line_number?: number | null;
|
|
24114
|
+
quantity?: number | null;
|
|
24115
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24116
|
+
unit_price?: number | null;
|
|
24117
|
+
updated_at?: string;
|
|
24118
|
+
vat_amount?: number | null;
|
|
24119
|
+
vat_code?: string | null;
|
|
24120
|
+
};
|
|
24121
|
+
Update: {
|
|
24122
|
+
account_key?: string;
|
|
24123
|
+
amount_excl?: number | null;
|
|
24124
|
+
created_at?: string;
|
|
24125
|
+
description?: string | null;
|
|
24126
|
+
discount?: number | null;
|
|
24127
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24128
|
+
exact_id?: string;
|
|
24129
|
+
exact_timestamp?: number | null;
|
|
24130
|
+
id?: string;
|
|
24131
|
+
invoice_exact_id?: string;
|
|
24132
|
+
item_code?: string | null;
|
|
24133
|
+
item_exact_id?: string | null;
|
|
24134
|
+
line_number?: number | null;
|
|
24135
|
+
quantity?: number | null;
|
|
24136
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24137
|
+
unit_price?: number | null;
|
|
24138
|
+
updated_at?: string;
|
|
24139
|
+
vat_amount?: number | null;
|
|
24140
|
+
vat_code?: string | null;
|
|
24141
|
+
};
|
|
24142
|
+
Relationships: [];
|
|
24143
|
+
};
|
|
24144
|
+
exact_auth_invoices: {
|
|
24145
|
+
Row: {
|
|
24146
|
+
account_key: string;
|
|
24147
|
+
amount_excl: number | null;
|
|
24148
|
+
amount_incl: number | null;
|
|
24149
|
+
amount_open: number | null;
|
|
24150
|
+
created_at: string;
|
|
24151
|
+
currency: string | null;
|
|
24152
|
+
customer_code: string | null;
|
|
24153
|
+
customer_exact_id: string | null;
|
|
24154
|
+
customer_name: string | null;
|
|
24155
|
+
description: string | null;
|
|
24156
|
+
division_code: number | null;
|
|
24157
|
+
due_date: string | null;
|
|
24158
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24159
|
+
exact_id: string;
|
|
24160
|
+
exact_modified: string | null;
|
|
24161
|
+
exact_timestamp: number | null;
|
|
24162
|
+
id: string;
|
|
24163
|
+
invoice_date: string | null;
|
|
24164
|
+
invoice_number: string | null;
|
|
24165
|
+
order_number: string | null;
|
|
24166
|
+
paid_at: string | null;
|
|
24167
|
+
payment_status: string;
|
|
24168
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24169
|
+
receivable_synced_at: string | null;
|
|
24170
|
+
status_code: number | null;
|
|
24171
|
+
updated_at: string;
|
|
24172
|
+
};
|
|
24173
|
+
Insert: {
|
|
24174
|
+
account_key?: string;
|
|
24175
|
+
amount_excl?: number | null;
|
|
24176
|
+
amount_incl?: number | null;
|
|
24177
|
+
amount_open?: number | null;
|
|
24178
|
+
created_at?: string;
|
|
24179
|
+
currency?: string | null;
|
|
24180
|
+
customer_code?: string | null;
|
|
24181
|
+
customer_exact_id?: string | null;
|
|
24182
|
+
customer_name?: string | null;
|
|
24183
|
+
description?: string | null;
|
|
24184
|
+
division_code?: number | null;
|
|
24185
|
+
due_date?: string | null;
|
|
24186
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24187
|
+
exact_id: string;
|
|
24188
|
+
exact_modified?: string | null;
|
|
24189
|
+
exact_timestamp?: number | null;
|
|
24190
|
+
id?: string;
|
|
24191
|
+
invoice_date?: string | null;
|
|
24192
|
+
invoice_number?: string | null;
|
|
24193
|
+
order_number?: string | null;
|
|
24194
|
+
paid_at?: string | null;
|
|
24195
|
+
payment_status?: string;
|
|
24196
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24197
|
+
receivable_synced_at?: string | null;
|
|
24198
|
+
status_code?: number | null;
|
|
24199
|
+
updated_at?: string;
|
|
24200
|
+
};
|
|
24201
|
+
Update: {
|
|
24202
|
+
account_key?: string;
|
|
24203
|
+
amount_excl?: number | null;
|
|
24204
|
+
amount_incl?: number | null;
|
|
24205
|
+
amount_open?: number | null;
|
|
24206
|
+
created_at?: string;
|
|
24207
|
+
currency?: string | null;
|
|
24208
|
+
customer_code?: string | null;
|
|
24209
|
+
customer_exact_id?: string | null;
|
|
24210
|
+
customer_name?: string | null;
|
|
24211
|
+
description?: string | null;
|
|
24212
|
+
division_code?: number | null;
|
|
24213
|
+
due_date?: string | null;
|
|
24214
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24215
|
+
exact_id?: string;
|
|
24216
|
+
exact_modified?: string | null;
|
|
24217
|
+
exact_timestamp?: number | null;
|
|
24218
|
+
id?: string;
|
|
24219
|
+
invoice_date?: string | null;
|
|
24220
|
+
invoice_number?: string | null;
|
|
24221
|
+
order_number?: string | null;
|
|
24222
|
+
paid_at?: string | null;
|
|
24223
|
+
payment_status?: string;
|
|
24224
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24225
|
+
receivable_synced_at?: string | null;
|
|
24226
|
+
status_code?: number | null;
|
|
24227
|
+
updated_at?: string;
|
|
24228
|
+
};
|
|
24229
|
+
Relationships: [];
|
|
24230
|
+
};
|
|
24231
|
+
exact_auth_items: {
|
|
24232
|
+
Row: {
|
|
24233
|
+
account_key: string;
|
|
24234
|
+
barcode: string | null;
|
|
24235
|
+
code: string | null;
|
|
24236
|
+
cost_price: number | null;
|
|
24237
|
+
created_at: string;
|
|
24238
|
+
description: string | null;
|
|
24239
|
+
division_code: number | null;
|
|
24240
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24241
|
+
exact_id: string;
|
|
24242
|
+
exact_modified: string | null;
|
|
24243
|
+
exact_timestamp: number | null;
|
|
24244
|
+
gl_account_code: string | null;
|
|
24245
|
+
id: string;
|
|
24246
|
+
is_active: boolean;
|
|
24247
|
+
is_sales_item: boolean | null;
|
|
24248
|
+
item_type: string | null;
|
|
24249
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24250
|
+
sales_price: number | null;
|
|
24251
|
+
unit: string | null;
|
|
24252
|
+
updated_at: string;
|
|
24253
|
+
vat_code: string | null;
|
|
24254
|
+
};
|
|
24255
|
+
Insert: {
|
|
24256
|
+
account_key?: string;
|
|
24257
|
+
barcode?: string | null;
|
|
24258
|
+
code?: string | null;
|
|
24259
|
+
cost_price?: number | null;
|
|
24260
|
+
created_at?: string;
|
|
24261
|
+
description?: string | null;
|
|
24262
|
+
division_code?: number | null;
|
|
24263
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24264
|
+
exact_id: string;
|
|
24265
|
+
exact_modified?: string | null;
|
|
24266
|
+
exact_timestamp?: number | null;
|
|
24267
|
+
gl_account_code?: string | null;
|
|
24268
|
+
id?: string;
|
|
24269
|
+
is_active?: boolean;
|
|
24270
|
+
is_sales_item?: boolean | null;
|
|
24271
|
+
item_type?: string | null;
|
|
24272
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24273
|
+
sales_price?: number | null;
|
|
24274
|
+
unit?: string | null;
|
|
24275
|
+
updated_at?: string;
|
|
24276
|
+
vat_code?: string | null;
|
|
24277
|
+
};
|
|
24278
|
+
Update: {
|
|
24279
|
+
account_key?: string;
|
|
24280
|
+
barcode?: string | null;
|
|
24281
|
+
code?: string | null;
|
|
24282
|
+
cost_price?: number | null;
|
|
24283
|
+
created_at?: string;
|
|
24284
|
+
description?: string | null;
|
|
24285
|
+
division_code?: number | null;
|
|
24286
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24287
|
+
exact_id?: string;
|
|
24288
|
+
exact_modified?: string | null;
|
|
24289
|
+
exact_timestamp?: number | null;
|
|
24290
|
+
gl_account_code?: string | null;
|
|
24291
|
+
id?: string;
|
|
24292
|
+
is_active?: boolean;
|
|
24293
|
+
is_sales_item?: boolean | null;
|
|
24294
|
+
item_type?: string | null;
|
|
24295
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24296
|
+
sales_price?: number | null;
|
|
24297
|
+
unit?: string | null;
|
|
24298
|
+
updated_at?: string;
|
|
24299
|
+
vat_code?: string | null;
|
|
24300
|
+
};
|
|
24301
|
+
Relationships: [];
|
|
24302
|
+
};
|
|
24303
|
+
exact_auth_sync_log: {
|
|
24304
|
+
Row: {
|
|
24305
|
+
account_key: string;
|
|
24306
|
+
calls_used: number;
|
|
24307
|
+
created_at: string;
|
|
24308
|
+
domain: string;
|
|
24309
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24310
|
+
error: string | null;
|
|
24311
|
+
finished_at: string | null;
|
|
24312
|
+
id: string;
|
|
24313
|
+
ok: boolean;
|
|
24314
|
+
records: number;
|
|
24315
|
+
started_at: string;
|
|
24316
|
+
};
|
|
24317
|
+
Insert: {
|
|
24318
|
+
account_key?: string;
|
|
24319
|
+
calls_used?: number;
|
|
24320
|
+
created_at?: string;
|
|
24321
|
+
domain: string;
|
|
24322
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24323
|
+
error?: string | null;
|
|
24324
|
+
finished_at?: string | null;
|
|
24325
|
+
id?: string;
|
|
24326
|
+
ok?: boolean;
|
|
24327
|
+
records?: number;
|
|
24328
|
+
started_at?: string;
|
|
24329
|
+
};
|
|
24330
|
+
Update: {
|
|
24331
|
+
account_key?: string;
|
|
24332
|
+
calls_used?: number;
|
|
24333
|
+
created_at?: string;
|
|
24334
|
+
domain?: string;
|
|
24335
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24336
|
+
error?: string | null;
|
|
24337
|
+
finished_at?: string | null;
|
|
24338
|
+
id?: string;
|
|
24339
|
+
ok?: boolean;
|
|
24340
|
+
records?: number;
|
|
24341
|
+
started_at?: string;
|
|
24342
|
+
};
|
|
24343
|
+
Relationships: [];
|
|
24344
|
+
};
|
|
24345
|
+
exact_auth_sync_state: {
|
|
24346
|
+
Row: {
|
|
24347
|
+
account_key: string;
|
|
24348
|
+
created_at: string;
|
|
24349
|
+
cursor_timestamp: number;
|
|
24350
|
+
division_code: number | null;
|
|
24351
|
+
domain: string;
|
|
24352
|
+
duration_ms: number | null;
|
|
24353
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24354
|
+
initial_sync_done: boolean;
|
|
24355
|
+
last_error: string | null;
|
|
24356
|
+
last_run_at: string | null;
|
|
24357
|
+
last_success_at: string | null;
|
|
24358
|
+
locked_at: string | null;
|
|
24359
|
+
needs_initial_sync: boolean;
|
|
24360
|
+
record_count: number;
|
|
24361
|
+
updated_at: string;
|
|
24362
|
+
};
|
|
24363
|
+
Insert: {
|
|
24364
|
+
account_key?: string;
|
|
24365
|
+
created_at?: string;
|
|
24366
|
+
cursor_timestamp?: number;
|
|
24367
|
+
division_code?: number | null;
|
|
24368
|
+
domain: string;
|
|
24369
|
+
duration_ms?: number | null;
|
|
24370
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24371
|
+
initial_sync_done?: boolean;
|
|
24372
|
+
last_error?: string | null;
|
|
24373
|
+
last_run_at?: string | null;
|
|
24374
|
+
last_success_at?: string | null;
|
|
24375
|
+
locked_at?: string | null;
|
|
24376
|
+
needs_initial_sync?: boolean;
|
|
24377
|
+
record_count?: number;
|
|
24378
|
+
updated_at?: string;
|
|
24379
|
+
};
|
|
24380
|
+
Update: {
|
|
24381
|
+
account_key?: string;
|
|
24382
|
+
created_at?: string;
|
|
24383
|
+
cursor_timestamp?: number;
|
|
24384
|
+
division_code?: number | null;
|
|
24385
|
+
domain?: string;
|
|
24386
|
+
duration_ms?: number | null;
|
|
24387
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24388
|
+
initial_sync_done?: boolean;
|
|
24389
|
+
last_error?: string | null;
|
|
24390
|
+
last_run_at?: string | null;
|
|
24391
|
+
last_success_at?: string | null;
|
|
24392
|
+
locked_at?: string | null;
|
|
24393
|
+
needs_initial_sync?: boolean;
|
|
24394
|
+
record_count?: number;
|
|
24395
|
+
updated_at?: string;
|
|
24396
|
+
};
|
|
24397
|
+
Relationships: [];
|
|
24398
|
+
};
|
|
23109
24399
|
exact_bulk_operation_items: {
|
|
23110
24400
|
Row: {
|
|
23111
24401
|
attempts: number;
|
|
@@ -27768,6 +29058,66 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
27768
29058
|
};
|
|
27769
29059
|
Relationships: [];
|
|
27770
29060
|
};
|
|
29061
|
+
logistics_recalc_jobs: {
|
|
29062
|
+
Row: {
|
|
29063
|
+
carts_created: number;
|
|
29064
|
+
created_at: string;
|
|
29065
|
+
cursor: string | null;
|
|
29066
|
+
errors: import("../integrations/supabase/types").Json;
|
|
29067
|
+
failed: number;
|
|
29068
|
+
finished_at: string | null;
|
|
29069
|
+
id: string;
|
|
29070
|
+
last_tick_at: string | null;
|
|
29071
|
+
phase: string;
|
|
29072
|
+
processed: number;
|
|
29073
|
+
skipped_locked: number;
|
|
29074
|
+
started_by: string | null;
|
|
29075
|
+
status: string;
|
|
29076
|
+
steps: import("../integrations/supabase/types").Json;
|
|
29077
|
+
strategy_id: string | null;
|
|
29078
|
+
tasks_updated: number;
|
|
29079
|
+
updated_at: string;
|
|
29080
|
+
};
|
|
29081
|
+
Insert: {
|
|
29082
|
+
carts_created?: number;
|
|
29083
|
+
created_at?: string;
|
|
29084
|
+
cursor?: string | null;
|
|
29085
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29086
|
+
failed?: number;
|
|
29087
|
+
finished_at?: string | null;
|
|
29088
|
+
id?: string;
|
|
29089
|
+
last_tick_at?: string | null;
|
|
29090
|
+
phase?: string;
|
|
29091
|
+
processed?: number;
|
|
29092
|
+
skipped_locked?: number;
|
|
29093
|
+
started_by?: string | null;
|
|
29094
|
+
status?: string;
|
|
29095
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29096
|
+
strategy_id?: string | null;
|
|
29097
|
+
tasks_updated?: number;
|
|
29098
|
+
updated_at?: string;
|
|
29099
|
+
};
|
|
29100
|
+
Update: {
|
|
29101
|
+
carts_created?: number;
|
|
29102
|
+
created_at?: string;
|
|
29103
|
+
cursor?: string | null;
|
|
29104
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29105
|
+
failed?: number;
|
|
29106
|
+
finished_at?: string | null;
|
|
29107
|
+
id?: string;
|
|
29108
|
+
last_tick_at?: string | null;
|
|
29109
|
+
phase?: string;
|
|
29110
|
+
processed?: number;
|
|
29111
|
+
skipped_locked?: number;
|
|
29112
|
+
started_by?: string | null;
|
|
29113
|
+
status?: string;
|
|
29114
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29115
|
+
strategy_id?: string | null;
|
|
29116
|
+
tasks_updated?: number;
|
|
29117
|
+
updated_at?: string;
|
|
29118
|
+
};
|
|
29119
|
+
Relationships: [];
|
|
29120
|
+
};
|
|
27771
29121
|
logistics_reschedules: {
|
|
27772
29122
|
Row: {
|
|
27773
29123
|
created_at: string;
|
|
@@ -28130,6 +29480,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28130
29480
|
};
|
|
28131
29481
|
logistics_tasks: {
|
|
28132
29482
|
Row: {
|
|
29483
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29484
|
+
attempts: number;
|
|
28133
29485
|
buffer_ref: string | null;
|
|
28134
29486
|
claimed_at: string | null;
|
|
28135
29487
|
claimed_by: string | null;
|
|
@@ -28139,6 +29491,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28139
29491
|
due_at: string | null;
|
|
28140
29492
|
error: string | null;
|
|
28141
29493
|
id: string;
|
|
29494
|
+
last_error: string | null;
|
|
29495
|
+
next_attempt_at: string | null;
|
|
28142
29496
|
order_ref: string;
|
|
28143
29497
|
owner_module: string;
|
|
28144
29498
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -28159,6 +29513,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28159
29513
|
user_id: string;
|
|
28160
29514
|
};
|
|
28161
29515
|
Insert: {
|
|
29516
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29517
|
+
attempts?: number;
|
|
28162
29518
|
buffer_ref?: string | null;
|
|
28163
29519
|
claimed_at?: string | null;
|
|
28164
29520
|
claimed_by?: string | null;
|
|
@@ -28168,6 +29524,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28168
29524
|
due_at?: string | null;
|
|
28169
29525
|
error?: string | null;
|
|
28170
29526
|
id?: string;
|
|
29527
|
+
last_error?: string | null;
|
|
29528
|
+
next_attempt_at?: string | null;
|
|
28171
29529
|
order_ref: string;
|
|
28172
29530
|
owner_module: string;
|
|
28173
29531
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28188,6 +29546,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28188
29546
|
user_id?: string;
|
|
28189
29547
|
};
|
|
28190
29548
|
Update: {
|
|
29549
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29550
|
+
attempts?: number;
|
|
28191
29551
|
buffer_ref?: string | null;
|
|
28192
29552
|
claimed_at?: string | null;
|
|
28193
29553
|
claimed_by?: string | null;
|
|
@@ -28197,6 +29557,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28197
29557
|
due_at?: string | null;
|
|
28198
29558
|
error?: string | null;
|
|
28199
29559
|
id?: string;
|
|
29560
|
+
last_error?: string | null;
|
|
29561
|
+
next_attempt_at?: string | null;
|
|
28200
29562
|
order_ref?: string;
|
|
28201
29563
|
owner_module?: string;
|
|
28202
29564
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29546,6 +30908,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29546
30908
|
};
|
|
29547
30909
|
offer_settings: {
|
|
29548
30910
|
Row: {
|
|
30911
|
+
brand_name: string | null;
|
|
29549
30912
|
button_color: string;
|
|
29550
30913
|
created_at: string;
|
|
29551
30914
|
default_countries: string[];
|
|
@@ -29567,6 +30930,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29567
30930
|
updated_at: string;
|
|
29568
30931
|
};
|
|
29569
30932
|
Insert: {
|
|
30933
|
+
brand_name?: string | null;
|
|
29570
30934
|
button_color?: string;
|
|
29571
30935
|
created_at?: string;
|
|
29572
30936
|
default_countries?: string[];
|
|
@@ -29588,6 +30952,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29588
30952
|
updated_at?: string;
|
|
29589
30953
|
};
|
|
29590
30954
|
Update: {
|
|
30955
|
+
brand_name?: string | null;
|
|
29591
30956
|
button_color?: string;
|
|
29592
30957
|
created_at?: string;
|
|
29593
30958
|
default_countries?: string[];
|
|
@@ -32997,6 +34362,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32997
34362
|
buffer_key: string | null;
|
|
32998
34363
|
created_at: string;
|
|
32999
34364
|
customer_names: string[];
|
|
34365
|
+
device_id: string | null;
|
|
33000
34366
|
geprint: boolean;
|
|
33001
34367
|
geprint_op: string | null;
|
|
33002
34368
|
id: string;
|
|
@@ -33006,6 +34372,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33006
34372
|
naar_pickstation: boolean;
|
|
33007
34373
|
naar_pickstation_op: string | null;
|
|
33008
34374
|
order_number: string | null;
|
|
34375
|
+
scanner_id: string | null;
|
|
33009
34376
|
scanner_key: string;
|
|
33010
34377
|
status: string;
|
|
33011
34378
|
totaal_producten: number;
|
|
@@ -33016,6 +34383,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33016
34383
|
buffer_key?: string | null;
|
|
33017
34384
|
created_at?: string;
|
|
33018
34385
|
customer_names?: string[];
|
|
34386
|
+
device_id?: string | null;
|
|
33019
34387
|
geprint?: boolean;
|
|
33020
34388
|
geprint_op?: string | null;
|
|
33021
34389
|
id?: string;
|
|
@@ -33025,6 +34393,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33025
34393
|
naar_pickstation?: boolean;
|
|
33026
34394
|
naar_pickstation_op?: string | null;
|
|
33027
34395
|
order_number?: string | null;
|
|
34396
|
+
scanner_id?: string | null;
|
|
33028
34397
|
scanner_key?: string;
|
|
33029
34398
|
status?: string;
|
|
33030
34399
|
totaal_producten?: number;
|
|
@@ -33035,6 +34404,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33035
34404
|
buffer_key?: string | null;
|
|
33036
34405
|
created_at?: string;
|
|
33037
34406
|
customer_names?: string[];
|
|
34407
|
+
device_id?: string | null;
|
|
33038
34408
|
geprint?: boolean;
|
|
33039
34409
|
geprint_op?: string | null;
|
|
33040
34410
|
id?: string;
|
|
@@ -33044,6 +34414,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33044
34414
|
naar_pickstation?: boolean;
|
|
33045
34415
|
naar_pickstation_op?: string | null;
|
|
33046
34416
|
order_number?: string | null;
|
|
34417
|
+
scanner_id?: string | null;
|
|
33047
34418
|
scanner_key?: string;
|
|
33048
34419
|
status?: string;
|
|
33049
34420
|
totaal_producten?: number;
|
|
@@ -33055,31 +34426,46 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33055
34426
|
Row: {
|
|
33056
34427
|
code: string;
|
|
33057
34428
|
created_at: string;
|
|
34429
|
+
device_id: string | null;
|
|
33058
34430
|
id: string;
|
|
33059
34431
|
kar_id: string | null;
|
|
34432
|
+
latency_ms: number | null;
|
|
34433
|
+
medewerker_naam: string | null;
|
|
33060
34434
|
message: string | null;
|
|
33061
34435
|
result: string;
|
|
34436
|
+
retry_count: number;
|
|
33062
34437
|
scanner_key: string;
|
|
34438
|
+
session_id: string | null;
|
|
33063
34439
|
user_id: string | null;
|
|
33064
34440
|
};
|
|
33065
34441
|
Insert: {
|
|
33066
34442
|
code: string;
|
|
33067
34443
|
created_at?: string;
|
|
34444
|
+
device_id?: string | null;
|
|
33068
34445
|
id?: string;
|
|
33069
34446
|
kar_id?: string | null;
|
|
34447
|
+
latency_ms?: number | null;
|
|
34448
|
+
medewerker_naam?: string | null;
|
|
33070
34449
|
message?: string | null;
|
|
33071
34450
|
result: string;
|
|
34451
|
+
retry_count?: number;
|
|
33072
34452
|
scanner_key?: string;
|
|
34453
|
+
session_id?: string | null;
|
|
33073
34454
|
user_id?: string | null;
|
|
33074
34455
|
};
|
|
33075
34456
|
Update: {
|
|
33076
34457
|
code?: string;
|
|
33077
34458
|
created_at?: string;
|
|
34459
|
+
device_id?: string | null;
|
|
33078
34460
|
id?: string;
|
|
33079
34461
|
kar_id?: string | null;
|
|
34462
|
+
latency_ms?: number | null;
|
|
34463
|
+
medewerker_naam?: string | null;
|
|
33080
34464
|
message?: string | null;
|
|
33081
34465
|
result?: string;
|
|
34466
|
+
retry_count?: number;
|
|
33082
34467
|
scanner_key?: string;
|
|
34468
|
+
session_id?: string | null;
|
|
33083
34469
|
user_id?: string | null;
|
|
33084
34470
|
};
|
|
33085
34471
|
Relationships: [];
|
|
@@ -33136,6 +34522,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33136
34522
|
printed_at: string;
|
|
33137
34523
|
status: string;
|
|
33138
34524
|
updated_at: string;
|
|
34525
|
+
vergrendeld_door: string | null;
|
|
34526
|
+
vergrendeld_sessie: string | null;
|
|
34527
|
+
vergrendeld_tot: string | null;
|
|
33139
34528
|
};
|
|
33140
34529
|
Insert: {
|
|
33141
34530
|
barcode: string;
|
|
@@ -33149,6 +34538,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33149
34538
|
printed_at?: string;
|
|
33150
34539
|
status?: string;
|
|
33151
34540
|
updated_at?: string;
|
|
34541
|
+
vergrendeld_door?: string | null;
|
|
34542
|
+
vergrendeld_sessie?: string | null;
|
|
34543
|
+
vergrendeld_tot?: string | null;
|
|
33152
34544
|
};
|
|
33153
34545
|
Update: {
|
|
33154
34546
|
barcode?: string;
|
|
@@ -33162,6 +34554,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33162
34554
|
printed_at?: string;
|
|
33163
34555
|
status?: string;
|
|
33164
34556
|
updated_at?: string;
|
|
34557
|
+
vergrendeld_door?: string | null;
|
|
34558
|
+
vergrendeld_sessie?: string | null;
|
|
34559
|
+
vergrendeld_tot?: string | null;
|
|
33165
34560
|
};
|
|
33166
34561
|
Relationships: [];
|
|
33167
34562
|
};
|
|
@@ -33170,31 +34565,40 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33170
34565
|
actief: boolean;
|
|
33171
34566
|
created_at: string;
|
|
33172
34567
|
id: string;
|
|
34568
|
+
max_producten_per_kar: number | null;
|
|
33173
34569
|
naam: string;
|
|
33174
34570
|
omschrijving: string | null;
|
|
34571
|
+
pincode: string | null;
|
|
33175
34572
|
slug: string;
|
|
33176
34573
|
type: string;
|
|
33177
34574
|
updated_at: string;
|
|
34575
|
+
vereist_medewerker: boolean;
|
|
33178
34576
|
};
|
|
33179
34577
|
Insert: {
|
|
33180
34578
|
actief?: boolean;
|
|
33181
34579
|
created_at?: string;
|
|
33182
34580
|
id?: string;
|
|
34581
|
+
max_producten_per_kar?: number | null;
|
|
33183
34582
|
naam: string;
|
|
33184
34583
|
omschrijving?: string | null;
|
|
34584
|
+
pincode?: string | null;
|
|
33185
34585
|
slug: string;
|
|
33186
34586
|
type?: string;
|
|
33187
34587
|
updated_at?: string;
|
|
34588
|
+
vereist_medewerker?: boolean;
|
|
33188
34589
|
};
|
|
33189
34590
|
Update: {
|
|
33190
34591
|
actief?: boolean;
|
|
33191
34592
|
created_at?: string;
|
|
33192
34593
|
id?: string;
|
|
34594
|
+
max_producten_per_kar?: number | null;
|
|
33193
34595
|
naam?: string;
|
|
33194
34596
|
omschrijving?: string | null;
|
|
34597
|
+
pincode?: string | null;
|
|
33195
34598
|
slug?: string;
|
|
33196
34599
|
type?: string;
|
|
33197
34600
|
updated_at?: string;
|
|
34601
|
+
vereist_medewerker?: boolean;
|
|
33198
34602
|
};
|
|
33199
34603
|
Relationships: [];
|
|
33200
34604
|
};
|
|
@@ -37159,6 +38563,54 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37159
38563
|
};
|
|
37160
38564
|
Returns: import("../integrations/supabase/types").Json;
|
|
37161
38565
|
};
|
|
38566
|
+
claim_logistics_tasks: {
|
|
38567
|
+
Args: {
|
|
38568
|
+
_limit?: number;
|
|
38569
|
+
_owner_module: string;
|
|
38570
|
+
_stale_minutes?: number;
|
|
38571
|
+
_task_type: string;
|
|
38572
|
+
_worker: string;
|
|
38573
|
+
};
|
|
38574
|
+
Returns: {
|
|
38575
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38576
|
+
attempts: number;
|
|
38577
|
+
buffer_ref: string | null;
|
|
38578
|
+
claimed_at: string | null;
|
|
38579
|
+
claimed_by: string | null;
|
|
38580
|
+
completed_at: string | null;
|
|
38581
|
+
created_at: string;
|
|
38582
|
+
depends_on: string[];
|
|
38583
|
+
due_at: string | null;
|
|
38584
|
+
error: string | null;
|
|
38585
|
+
id: string;
|
|
38586
|
+
last_error: string | null;
|
|
38587
|
+
next_attempt_at: string | null;
|
|
38588
|
+
order_ref: string;
|
|
38589
|
+
owner_module: string;
|
|
38590
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38591
|
+
plan_run_id: string | null;
|
|
38592
|
+
planned_end: string | null;
|
|
38593
|
+
planned_start: string | null;
|
|
38594
|
+
priority: number;
|
|
38595
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38596
|
+
rule_config_id: string | null;
|
|
38597
|
+
rule_version: number | null;
|
|
38598
|
+
sequence: number;
|
|
38599
|
+
shadow: boolean;
|
|
38600
|
+
started_at: string | null;
|
|
38601
|
+
status: string;
|
|
38602
|
+
strategy_id: string | null;
|
|
38603
|
+
task_type: string;
|
|
38604
|
+
updated_at: string;
|
|
38605
|
+
user_id: string;
|
|
38606
|
+
}[];
|
|
38607
|
+
SetofOptions: {
|
|
38608
|
+
from: "*";
|
|
38609
|
+
to: "logistics_tasks";
|
|
38610
|
+
isOneToOne: false;
|
|
38611
|
+
isSetofReturn: true;
|
|
38612
|
+
};
|
|
38613
|
+
};
|
|
37162
38614
|
claim_print_jobs: {
|
|
37163
38615
|
Args: {
|
|
37164
38616
|
_agent_id: string;
|
|
@@ -37399,6 +38851,21 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37399
38851
|
Args: never;
|
|
37400
38852
|
Returns: string;
|
|
37401
38853
|
};
|
|
38854
|
+
exact_auth_consume_calls: {
|
|
38855
|
+
Args: {
|
|
38856
|
+
_account_key: string;
|
|
38857
|
+
_calls?: number;
|
|
38858
|
+
_day_limit?: number;
|
|
38859
|
+
_division_code: number;
|
|
38860
|
+
_environment: string;
|
|
38861
|
+
_minute_limit?: number;
|
|
38862
|
+
};
|
|
38863
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38864
|
+
};
|
|
38865
|
+
exact_auth_prune_sync_log: {
|
|
38866
|
+
Args: never;
|
|
38867
|
+
Returns: undefined;
|
|
38868
|
+
};
|
|
37402
38869
|
exact_decrypt: {
|
|
37403
38870
|
Args: {
|
|
37404
38871
|
cipher: string;
|
|
@@ -37608,6 +39075,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37608
39075
|
};
|
|
37609
39076
|
Returns: number;
|
|
37610
39077
|
};
|
|
39078
|
+
get_offer_branding: {
|
|
39079
|
+
Args: never;
|
|
39080
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39081
|
+
};
|
|
37611
39082
|
get_offer_by_link_code: {
|
|
37612
39083
|
Args: {
|
|
37613
39084
|
p_code: string;
|
|
@@ -37779,6 +39250,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37779
39250
|
};
|
|
37780
39251
|
Returns: string;
|
|
37781
39252
|
};
|
|
39253
|
+
logistics_active_pick_workdays: {
|
|
39254
|
+
Args: never;
|
|
39255
|
+
Returns: string[];
|
|
39256
|
+
};
|
|
37782
39257
|
logistics_address_key: {
|
|
37783
39258
|
Args: {
|
|
37784
39259
|
p_location: string;
|
|
@@ -37895,6 +39370,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37895
39370
|
p_worker?: string;
|
|
37896
39371
|
};
|
|
37897
39372
|
Returns: {
|
|
39373
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39374
|
+
attempts: number;
|
|
37898
39375
|
buffer_ref: string | null;
|
|
37899
39376
|
claimed_at: string | null;
|
|
37900
39377
|
claimed_by: string | null;
|
|
@@ -37904,6 +39381,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37904
39381
|
due_at: string | null;
|
|
37905
39382
|
error: string | null;
|
|
37906
39383
|
id: string;
|
|
39384
|
+
last_error: string | null;
|
|
39385
|
+
next_attempt_at: string | null;
|
|
37907
39386
|
order_ref: string;
|
|
37908
39387
|
owner_module: string;
|
|
37909
39388
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37936,6 +39415,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37936
39415
|
p_worker?: string;
|
|
37937
39416
|
};
|
|
37938
39417
|
Returns: {
|
|
39418
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39419
|
+
attempts: number;
|
|
37939
39420
|
buffer_ref: string | null;
|
|
37940
39421
|
claimed_at: string | null;
|
|
37941
39422
|
claimed_by: string | null;
|
|
@@ -37945,6 +39426,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37945
39426
|
due_at: string | null;
|
|
37946
39427
|
error: string | null;
|
|
37947
39428
|
id: string;
|
|
39429
|
+
last_error: string | null;
|
|
39430
|
+
next_attempt_at: string | null;
|
|
37948
39431
|
order_ref: string;
|
|
37949
39432
|
owner_module: string;
|
|
37950
39433
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37977,6 +39460,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37977
39460
|
p_task_id: string;
|
|
37978
39461
|
};
|
|
37979
39462
|
Returns: {
|
|
39463
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39464
|
+
attempts: number;
|
|
37980
39465
|
buffer_ref: string | null;
|
|
37981
39466
|
claimed_at: string | null;
|
|
37982
39467
|
claimed_by: string | null;
|
|
@@ -37986,6 +39471,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37986
39471
|
due_at: string | null;
|
|
37987
39472
|
error: string | null;
|
|
37988
39473
|
id: string;
|
|
39474
|
+
last_error: string | null;
|
|
39475
|
+
next_attempt_at: string | null;
|
|
37989
39476
|
order_ref: string;
|
|
37990
39477
|
owner_module: string;
|
|
37991
39478
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38067,6 +39554,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38067
39554
|
p_task_id: string;
|
|
38068
39555
|
};
|
|
38069
39556
|
Returns: {
|
|
39557
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39558
|
+
attempts: number;
|
|
38070
39559
|
buffer_ref: string | null;
|
|
38071
39560
|
claimed_at: string | null;
|
|
38072
39561
|
claimed_by: string | null;
|
|
@@ -38076,6 +39565,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38076
39565
|
due_at: string | null;
|
|
38077
39566
|
error: string | null;
|
|
38078
39567
|
id: string;
|
|
39568
|
+
last_error: string | null;
|
|
39569
|
+
next_attempt_at: string | null;
|
|
38079
39570
|
order_ref: string;
|
|
38080
39571
|
owner_module: string;
|
|
38081
39572
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38102,12 +39593,30 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38102
39593
|
isSetofReturn: false;
|
|
38103
39594
|
};
|
|
38104
39595
|
};
|
|
39596
|
+
logistics_live_carriers: {
|
|
39597
|
+
Args: {
|
|
39598
|
+
p_order_ref: string;
|
|
39599
|
+
};
|
|
39600
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39601
|
+
};
|
|
39602
|
+
logistics_live_cart_count: {
|
|
39603
|
+
Args: {
|
|
39604
|
+
p_order_ref: string;
|
|
39605
|
+
};
|
|
39606
|
+
Returns: number;
|
|
39607
|
+
};
|
|
38105
39608
|
logistics_not_past: {
|
|
38106
39609
|
Args: {
|
|
38107
39610
|
p_ts: string;
|
|
38108
39611
|
};
|
|
38109
39612
|
Returns: string;
|
|
38110
39613
|
};
|
|
39614
|
+
logistics_order_cart_count: {
|
|
39615
|
+
Args: {
|
|
39616
|
+
p_order_ref: string;
|
|
39617
|
+
};
|
|
39618
|
+
Returns: number;
|
|
39619
|
+
};
|
|
38111
39620
|
logistics_order_pick_day: {
|
|
38112
39621
|
Args: {
|
|
38113
39622
|
p_order_ref: string;
|
|
@@ -38284,6 +39793,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38284
39793
|
};
|
|
38285
39794
|
Returns: import("../integrations/supabase/types").Json;
|
|
38286
39795
|
};
|
|
39796
|
+
logistics_shift_to_workday: {
|
|
39797
|
+
Args: {
|
|
39798
|
+
p_days: string[];
|
|
39799
|
+
p_ts: string;
|
|
39800
|
+
};
|
|
39801
|
+
Returns: string;
|
|
39802
|
+
};
|
|
38287
39803
|
logistics_supersede_stale_tasks: {
|
|
38288
39804
|
Args: {
|
|
38289
39805
|
p_keep: string[];
|
|
@@ -38569,6 +40085,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38569
40085
|
isSetofReturn: false;
|
|
38570
40086
|
};
|
|
38571
40087
|
};
|
|
40088
|
+
pick_current_pick_day: {
|
|
40089
|
+
Args: never;
|
|
40090
|
+
Returns: string;
|
|
40091
|
+
};
|
|
38572
40092
|
pick_document_layout_data: {
|
|
38573
40093
|
Args: {
|
|
38574
40094
|
_layout_id: string;
|
|
@@ -38800,10 +40320,68 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38800
40320
|
Args: never;
|
|
38801
40321
|
Returns: undefined;
|
|
38802
40322
|
};
|
|
40323
|
+
run_logistics_tasks_dispatch: {
|
|
40324
|
+
Args: never;
|
|
40325
|
+
Returns: undefined;
|
|
40326
|
+
};
|
|
38803
40327
|
run_twinfield_queue_tick: {
|
|
38804
40328
|
Args: never;
|
|
38805
40329
|
Returns: undefined;
|
|
38806
40330
|
};
|
|
40331
|
+
scan_cancel_kar: {
|
|
40332
|
+
Args: {
|
|
40333
|
+
p_kar_id: string;
|
|
40334
|
+
};
|
|
40335
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40336
|
+
};
|
|
40337
|
+
scan_dashboard_stats: {
|
|
40338
|
+
Args: {
|
|
40339
|
+
p_dagen?: number;
|
|
40340
|
+
};
|
|
40341
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40342
|
+
};
|
|
40343
|
+
scan_finish_kar: {
|
|
40344
|
+
Args: {
|
|
40345
|
+
p_kar_id: string;
|
|
40346
|
+
};
|
|
40347
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40348
|
+
};
|
|
40349
|
+
scan_register_item: {
|
|
40350
|
+
Args: {
|
|
40351
|
+
p_kar_id: string;
|
|
40352
|
+
p_pakbon_item_id: string;
|
|
40353
|
+
p_scanned_by?: string;
|
|
40354
|
+
};
|
|
40355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40356
|
+
};
|
|
40357
|
+
scan_release_expired_locks: {
|
|
40358
|
+
Args: never;
|
|
40359
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40360
|
+
};
|
|
40361
|
+
scan_remove_item: {
|
|
40362
|
+
Args: {
|
|
40363
|
+
p_kar_item_id: string;
|
|
40364
|
+
};
|
|
40365
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40366
|
+
};
|
|
40367
|
+
scan_start_kar: {
|
|
40368
|
+
Args: {
|
|
40369
|
+
p_medewerker_id?: string;
|
|
40370
|
+
p_medewerker_naam?: string;
|
|
40371
|
+
p_pakbon_ids: string[];
|
|
40372
|
+
p_scanner_key?: string;
|
|
40373
|
+
};
|
|
40374
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40375
|
+
} | {
|
|
40376
|
+
Args: {
|
|
40377
|
+
p_medewerker_id?: string;
|
|
40378
|
+
p_medewerker_naam?: string;
|
|
40379
|
+
p_pakbon_ids: string[];
|
|
40380
|
+
p_scanner_key?: string;
|
|
40381
|
+
p_sessie?: string;
|
|
40382
|
+
};
|
|
40383
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40384
|
+
};
|
|
38807
40385
|
schedule_floriday_additional_services_sync: {
|
|
38808
40386
|
Args: {
|
|
38809
40387
|
p_apikey: string;
|