@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
|
@@ -1858,6 +1858,39 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
1858
1858
|
referencedColumns: ["id"];
|
|
1859
1859
|
}];
|
|
1860
1860
|
};
|
|
1861
|
+
customer_notes: {
|
|
1862
|
+
Row: {
|
|
1863
|
+
created_at: string;
|
|
1864
|
+
customer_id: string | null;
|
|
1865
|
+
group_key: string | null;
|
|
1866
|
+
id: string;
|
|
1867
|
+
notes: string | null;
|
|
1868
|
+
updated_at: string;
|
|
1869
|
+
};
|
|
1870
|
+
Insert: {
|
|
1871
|
+
created_at?: string;
|
|
1872
|
+
customer_id?: string | null;
|
|
1873
|
+
group_key?: string | null;
|
|
1874
|
+
id?: string;
|
|
1875
|
+
notes?: string | null;
|
|
1876
|
+
updated_at?: string;
|
|
1877
|
+
};
|
|
1878
|
+
Update: {
|
|
1879
|
+
created_at?: string;
|
|
1880
|
+
customer_id?: string | null;
|
|
1881
|
+
group_key?: string | null;
|
|
1882
|
+
id?: string;
|
|
1883
|
+
notes?: string | null;
|
|
1884
|
+
updated_at?: string;
|
|
1885
|
+
};
|
|
1886
|
+
Relationships: [{
|
|
1887
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1888
|
+
columns: ["customer_id"];
|
|
1889
|
+
isOneToOne: true;
|
|
1890
|
+
referencedRelation: "customers";
|
|
1891
|
+
referencedColumns: ["id"];
|
|
1892
|
+
}];
|
|
1893
|
+
};
|
|
1861
1894
|
customer_price_group_members: {
|
|
1862
1895
|
Row: {
|
|
1863
1896
|
created_at: string;
|
|
@@ -3502,6 +3535,474 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
3502
3535
|
referencedColumns: ["id"];
|
|
3503
3536
|
}];
|
|
3504
3537
|
};
|
|
3538
|
+
exact_auth_call_budget: {
|
|
3539
|
+
Row: {
|
|
3540
|
+
account_key: string;
|
|
3541
|
+
day_count: number;
|
|
3542
|
+
day_date: string;
|
|
3543
|
+
division_code: number;
|
|
3544
|
+
environment: string;
|
|
3545
|
+
minute_count: number;
|
|
3546
|
+
minute_window: string;
|
|
3547
|
+
updated_at: string;
|
|
3548
|
+
};
|
|
3549
|
+
Insert: {
|
|
3550
|
+
account_key?: string;
|
|
3551
|
+
day_count?: number;
|
|
3552
|
+
day_date?: string;
|
|
3553
|
+
division_code?: number;
|
|
3554
|
+
environment: string;
|
|
3555
|
+
minute_count?: number;
|
|
3556
|
+
minute_window?: string;
|
|
3557
|
+
updated_at?: string;
|
|
3558
|
+
};
|
|
3559
|
+
Update: {
|
|
3560
|
+
account_key?: string;
|
|
3561
|
+
day_count?: number;
|
|
3562
|
+
day_date?: string;
|
|
3563
|
+
division_code?: number;
|
|
3564
|
+
environment?: string;
|
|
3565
|
+
minute_count?: number;
|
|
3566
|
+
minute_window?: string;
|
|
3567
|
+
updated_at?: string;
|
|
3568
|
+
};
|
|
3569
|
+
Relationships: [];
|
|
3570
|
+
};
|
|
3571
|
+
exact_auth_customers: {
|
|
3572
|
+
Row: {
|
|
3573
|
+
account_key: string;
|
|
3574
|
+
address_line1: string | null;
|
|
3575
|
+
chamber_of_commerce: string | null;
|
|
3576
|
+
city: string | null;
|
|
3577
|
+
code: string | null;
|
|
3578
|
+
country: string | null;
|
|
3579
|
+
created_at: string;
|
|
3580
|
+
currency: string | null;
|
|
3581
|
+
division_code: number | null;
|
|
3582
|
+
email: string | null;
|
|
3583
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3584
|
+
exact_id: string;
|
|
3585
|
+
exact_modified: string | null;
|
|
3586
|
+
exact_timestamp: number | null;
|
|
3587
|
+
id: string;
|
|
3588
|
+
is_active: boolean;
|
|
3589
|
+
name: string | null;
|
|
3590
|
+
phone: string | null;
|
|
3591
|
+
postcode: string | null;
|
|
3592
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3593
|
+
status: string | null;
|
|
3594
|
+
updated_at: string;
|
|
3595
|
+
vat_number: string | null;
|
|
3596
|
+
website: string | null;
|
|
3597
|
+
};
|
|
3598
|
+
Insert: {
|
|
3599
|
+
account_key?: string;
|
|
3600
|
+
address_line1?: string | null;
|
|
3601
|
+
chamber_of_commerce?: string | null;
|
|
3602
|
+
city?: string | null;
|
|
3603
|
+
code?: string | null;
|
|
3604
|
+
country?: string | null;
|
|
3605
|
+
created_at?: string;
|
|
3606
|
+
currency?: string | null;
|
|
3607
|
+
division_code?: number | null;
|
|
3608
|
+
email?: string | null;
|
|
3609
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3610
|
+
exact_id: string;
|
|
3611
|
+
exact_modified?: string | null;
|
|
3612
|
+
exact_timestamp?: number | null;
|
|
3613
|
+
id?: string;
|
|
3614
|
+
is_active?: boolean;
|
|
3615
|
+
name?: string | null;
|
|
3616
|
+
phone?: string | null;
|
|
3617
|
+
postcode?: string | null;
|
|
3618
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3619
|
+
status?: string | null;
|
|
3620
|
+
updated_at?: string;
|
|
3621
|
+
vat_number?: string | null;
|
|
3622
|
+
website?: string | null;
|
|
3623
|
+
};
|
|
3624
|
+
Update: {
|
|
3625
|
+
account_key?: string;
|
|
3626
|
+
address_line1?: string | null;
|
|
3627
|
+
chamber_of_commerce?: string | null;
|
|
3628
|
+
city?: string | null;
|
|
3629
|
+
code?: string | null;
|
|
3630
|
+
country?: string | null;
|
|
3631
|
+
created_at?: string;
|
|
3632
|
+
currency?: string | null;
|
|
3633
|
+
division_code?: number | null;
|
|
3634
|
+
email?: string | null;
|
|
3635
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3636
|
+
exact_id?: string;
|
|
3637
|
+
exact_modified?: string | null;
|
|
3638
|
+
exact_timestamp?: number | null;
|
|
3639
|
+
id?: string;
|
|
3640
|
+
is_active?: boolean;
|
|
3641
|
+
name?: string | null;
|
|
3642
|
+
phone?: string | null;
|
|
3643
|
+
postcode?: string | null;
|
|
3644
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3645
|
+
status?: string | null;
|
|
3646
|
+
updated_at?: string;
|
|
3647
|
+
vat_number?: string | null;
|
|
3648
|
+
website?: string | null;
|
|
3649
|
+
};
|
|
3650
|
+
Relationships: [];
|
|
3651
|
+
};
|
|
3652
|
+
exact_auth_divisions: {
|
|
3653
|
+
Row: {
|
|
3654
|
+
account_key: string;
|
|
3655
|
+
company_name: string | null;
|
|
3656
|
+
created_at: string;
|
|
3657
|
+
division_code: number | null;
|
|
3658
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3659
|
+
id: string;
|
|
3660
|
+
last_synced_at: string | null;
|
|
3661
|
+
updated_at: string;
|
|
3662
|
+
};
|
|
3663
|
+
Insert: {
|
|
3664
|
+
account_key?: string;
|
|
3665
|
+
company_name?: string | null;
|
|
3666
|
+
created_at?: string;
|
|
3667
|
+
division_code?: number | null;
|
|
3668
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3669
|
+
id?: string;
|
|
3670
|
+
last_synced_at?: string | null;
|
|
3671
|
+
updated_at?: string;
|
|
3672
|
+
};
|
|
3673
|
+
Update: {
|
|
3674
|
+
account_key?: string;
|
|
3675
|
+
company_name?: string | null;
|
|
3676
|
+
created_at?: string;
|
|
3677
|
+
division_code?: number | null;
|
|
3678
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3679
|
+
id?: string;
|
|
3680
|
+
last_synced_at?: string | null;
|
|
3681
|
+
updated_at?: string;
|
|
3682
|
+
};
|
|
3683
|
+
Relationships: [];
|
|
3684
|
+
};
|
|
3685
|
+
exact_auth_invoice_lines: {
|
|
3686
|
+
Row: {
|
|
3687
|
+
account_key: string;
|
|
3688
|
+
amount_excl: number | null;
|
|
3689
|
+
created_at: string;
|
|
3690
|
+
description: string | null;
|
|
3691
|
+
discount: number | null;
|
|
3692
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3693
|
+
exact_id: string;
|
|
3694
|
+
exact_timestamp: number | null;
|
|
3695
|
+
id: string;
|
|
3696
|
+
invoice_exact_id: string;
|
|
3697
|
+
item_code: string | null;
|
|
3698
|
+
item_exact_id: string | null;
|
|
3699
|
+
line_number: number | null;
|
|
3700
|
+
quantity: number | null;
|
|
3701
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3702
|
+
unit_price: number | null;
|
|
3703
|
+
updated_at: string;
|
|
3704
|
+
vat_amount: number | null;
|
|
3705
|
+
vat_code: string | null;
|
|
3706
|
+
};
|
|
3707
|
+
Insert: {
|
|
3708
|
+
account_key?: string;
|
|
3709
|
+
amount_excl?: number | null;
|
|
3710
|
+
created_at?: string;
|
|
3711
|
+
description?: string | null;
|
|
3712
|
+
discount?: number | null;
|
|
3713
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3714
|
+
exact_id: string;
|
|
3715
|
+
exact_timestamp?: number | null;
|
|
3716
|
+
id?: string;
|
|
3717
|
+
invoice_exact_id: string;
|
|
3718
|
+
item_code?: string | null;
|
|
3719
|
+
item_exact_id?: string | null;
|
|
3720
|
+
line_number?: number | null;
|
|
3721
|
+
quantity?: number | null;
|
|
3722
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3723
|
+
unit_price?: number | null;
|
|
3724
|
+
updated_at?: string;
|
|
3725
|
+
vat_amount?: number | null;
|
|
3726
|
+
vat_code?: string | null;
|
|
3727
|
+
};
|
|
3728
|
+
Update: {
|
|
3729
|
+
account_key?: string;
|
|
3730
|
+
amount_excl?: number | null;
|
|
3731
|
+
created_at?: string;
|
|
3732
|
+
description?: string | null;
|
|
3733
|
+
discount?: number | null;
|
|
3734
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3735
|
+
exact_id?: string;
|
|
3736
|
+
exact_timestamp?: number | null;
|
|
3737
|
+
id?: string;
|
|
3738
|
+
invoice_exact_id?: string;
|
|
3739
|
+
item_code?: string | null;
|
|
3740
|
+
item_exact_id?: string | null;
|
|
3741
|
+
line_number?: number | null;
|
|
3742
|
+
quantity?: number | null;
|
|
3743
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3744
|
+
unit_price?: number | null;
|
|
3745
|
+
updated_at?: string;
|
|
3746
|
+
vat_amount?: number | null;
|
|
3747
|
+
vat_code?: string | null;
|
|
3748
|
+
};
|
|
3749
|
+
Relationships: [];
|
|
3750
|
+
};
|
|
3751
|
+
exact_auth_invoices: {
|
|
3752
|
+
Row: {
|
|
3753
|
+
account_key: string;
|
|
3754
|
+
amount_excl: number | null;
|
|
3755
|
+
amount_incl: number | null;
|
|
3756
|
+
amount_open: number | null;
|
|
3757
|
+
created_at: string;
|
|
3758
|
+
currency: string | null;
|
|
3759
|
+
customer_code: string | null;
|
|
3760
|
+
customer_exact_id: string | null;
|
|
3761
|
+
customer_name: string | null;
|
|
3762
|
+
description: string | null;
|
|
3763
|
+
division_code: number | null;
|
|
3764
|
+
due_date: string | null;
|
|
3765
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3766
|
+
exact_id: string;
|
|
3767
|
+
exact_modified: string | null;
|
|
3768
|
+
exact_timestamp: number | null;
|
|
3769
|
+
id: string;
|
|
3770
|
+
invoice_date: string | null;
|
|
3771
|
+
invoice_number: string | null;
|
|
3772
|
+
order_number: string | null;
|
|
3773
|
+
paid_at: string | null;
|
|
3774
|
+
payment_status: string;
|
|
3775
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3776
|
+
receivable_synced_at: string | null;
|
|
3777
|
+
status_code: number | null;
|
|
3778
|
+
updated_at: string;
|
|
3779
|
+
};
|
|
3780
|
+
Insert: {
|
|
3781
|
+
account_key?: string;
|
|
3782
|
+
amount_excl?: number | null;
|
|
3783
|
+
amount_incl?: number | null;
|
|
3784
|
+
amount_open?: number | null;
|
|
3785
|
+
created_at?: string;
|
|
3786
|
+
currency?: string | null;
|
|
3787
|
+
customer_code?: string | null;
|
|
3788
|
+
customer_exact_id?: string | null;
|
|
3789
|
+
customer_name?: string | null;
|
|
3790
|
+
description?: string | null;
|
|
3791
|
+
division_code?: number | null;
|
|
3792
|
+
due_date?: string | null;
|
|
3793
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3794
|
+
exact_id: string;
|
|
3795
|
+
exact_modified?: string | null;
|
|
3796
|
+
exact_timestamp?: number | null;
|
|
3797
|
+
id?: string;
|
|
3798
|
+
invoice_date?: string | null;
|
|
3799
|
+
invoice_number?: string | null;
|
|
3800
|
+
order_number?: string | null;
|
|
3801
|
+
paid_at?: string | null;
|
|
3802
|
+
payment_status?: string;
|
|
3803
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3804
|
+
receivable_synced_at?: string | null;
|
|
3805
|
+
status_code?: number | null;
|
|
3806
|
+
updated_at?: string;
|
|
3807
|
+
};
|
|
3808
|
+
Update: {
|
|
3809
|
+
account_key?: string;
|
|
3810
|
+
amount_excl?: number | null;
|
|
3811
|
+
amount_incl?: number | null;
|
|
3812
|
+
amount_open?: number | null;
|
|
3813
|
+
created_at?: string;
|
|
3814
|
+
currency?: string | null;
|
|
3815
|
+
customer_code?: string | null;
|
|
3816
|
+
customer_exact_id?: string | null;
|
|
3817
|
+
customer_name?: string | null;
|
|
3818
|
+
description?: string | null;
|
|
3819
|
+
division_code?: number | null;
|
|
3820
|
+
due_date?: string | null;
|
|
3821
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3822
|
+
exact_id?: string;
|
|
3823
|
+
exact_modified?: string | null;
|
|
3824
|
+
exact_timestamp?: number | null;
|
|
3825
|
+
id?: string;
|
|
3826
|
+
invoice_date?: string | null;
|
|
3827
|
+
invoice_number?: string | null;
|
|
3828
|
+
order_number?: string | null;
|
|
3829
|
+
paid_at?: string | null;
|
|
3830
|
+
payment_status?: string;
|
|
3831
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3832
|
+
receivable_synced_at?: string | null;
|
|
3833
|
+
status_code?: number | null;
|
|
3834
|
+
updated_at?: string;
|
|
3835
|
+
};
|
|
3836
|
+
Relationships: [];
|
|
3837
|
+
};
|
|
3838
|
+
exact_auth_items: {
|
|
3839
|
+
Row: {
|
|
3840
|
+
account_key: string;
|
|
3841
|
+
barcode: string | null;
|
|
3842
|
+
code: string | null;
|
|
3843
|
+
cost_price: number | null;
|
|
3844
|
+
created_at: string;
|
|
3845
|
+
description: string | null;
|
|
3846
|
+
division_code: number | null;
|
|
3847
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3848
|
+
exact_id: string;
|
|
3849
|
+
exact_modified: string | null;
|
|
3850
|
+
exact_timestamp: number | null;
|
|
3851
|
+
gl_account_code: string | null;
|
|
3852
|
+
id: string;
|
|
3853
|
+
is_active: boolean;
|
|
3854
|
+
is_sales_item: boolean | null;
|
|
3855
|
+
item_type: string | null;
|
|
3856
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3857
|
+
sales_price: number | null;
|
|
3858
|
+
unit: string | null;
|
|
3859
|
+
updated_at: string;
|
|
3860
|
+
vat_code: string | null;
|
|
3861
|
+
};
|
|
3862
|
+
Insert: {
|
|
3863
|
+
account_key?: string;
|
|
3864
|
+
barcode?: string | null;
|
|
3865
|
+
code?: string | null;
|
|
3866
|
+
cost_price?: number | null;
|
|
3867
|
+
created_at?: string;
|
|
3868
|
+
description?: string | null;
|
|
3869
|
+
division_code?: number | null;
|
|
3870
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3871
|
+
exact_id: string;
|
|
3872
|
+
exact_modified?: string | null;
|
|
3873
|
+
exact_timestamp?: number | null;
|
|
3874
|
+
gl_account_code?: string | null;
|
|
3875
|
+
id?: string;
|
|
3876
|
+
is_active?: boolean;
|
|
3877
|
+
is_sales_item?: boolean | null;
|
|
3878
|
+
item_type?: string | null;
|
|
3879
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3880
|
+
sales_price?: number | null;
|
|
3881
|
+
unit?: string | null;
|
|
3882
|
+
updated_at?: string;
|
|
3883
|
+
vat_code?: string | null;
|
|
3884
|
+
};
|
|
3885
|
+
Update: {
|
|
3886
|
+
account_key?: string;
|
|
3887
|
+
barcode?: string | null;
|
|
3888
|
+
code?: string | null;
|
|
3889
|
+
cost_price?: number | null;
|
|
3890
|
+
created_at?: string;
|
|
3891
|
+
description?: string | null;
|
|
3892
|
+
division_code?: number | null;
|
|
3893
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3894
|
+
exact_id?: string;
|
|
3895
|
+
exact_modified?: string | null;
|
|
3896
|
+
exact_timestamp?: number | null;
|
|
3897
|
+
gl_account_code?: string | null;
|
|
3898
|
+
id?: string;
|
|
3899
|
+
is_active?: boolean;
|
|
3900
|
+
is_sales_item?: boolean | null;
|
|
3901
|
+
item_type?: string | null;
|
|
3902
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3903
|
+
sales_price?: number | null;
|
|
3904
|
+
unit?: string | null;
|
|
3905
|
+
updated_at?: string;
|
|
3906
|
+
vat_code?: string | null;
|
|
3907
|
+
};
|
|
3908
|
+
Relationships: [];
|
|
3909
|
+
};
|
|
3910
|
+
exact_auth_sync_log: {
|
|
3911
|
+
Row: {
|
|
3912
|
+
account_key: string;
|
|
3913
|
+
calls_used: number;
|
|
3914
|
+
created_at: string;
|
|
3915
|
+
domain: string;
|
|
3916
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3917
|
+
error: string | null;
|
|
3918
|
+
finished_at: string | null;
|
|
3919
|
+
id: string;
|
|
3920
|
+
ok: boolean;
|
|
3921
|
+
records: number;
|
|
3922
|
+
started_at: string;
|
|
3923
|
+
};
|
|
3924
|
+
Insert: {
|
|
3925
|
+
account_key?: string;
|
|
3926
|
+
calls_used?: number;
|
|
3927
|
+
created_at?: string;
|
|
3928
|
+
domain: string;
|
|
3929
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3930
|
+
error?: string | null;
|
|
3931
|
+
finished_at?: string | null;
|
|
3932
|
+
id?: string;
|
|
3933
|
+
ok?: boolean;
|
|
3934
|
+
records?: number;
|
|
3935
|
+
started_at?: string;
|
|
3936
|
+
};
|
|
3937
|
+
Update: {
|
|
3938
|
+
account_key?: string;
|
|
3939
|
+
calls_used?: number;
|
|
3940
|
+
created_at?: string;
|
|
3941
|
+
domain?: string;
|
|
3942
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3943
|
+
error?: string | null;
|
|
3944
|
+
finished_at?: string | null;
|
|
3945
|
+
id?: string;
|
|
3946
|
+
ok?: boolean;
|
|
3947
|
+
records?: number;
|
|
3948
|
+
started_at?: string;
|
|
3949
|
+
};
|
|
3950
|
+
Relationships: [];
|
|
3951
|
+
};
|
|
3952
|
+
exact_auth_sync_state: {
|
|
3953
|
+
Row: {
|
|
3954
|
+
account_key: string;
|
|
3955
|
+
created_at: string;
|
|
3956
|
+
cursor_timestamp: number;
|
|
3957
|
+
division_code: number | null;
|
|
3958
|
+
domain: string;
|
|
3959
|
+
duration_ms: number | null;
|
|
3960
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3961
|
+
initial_sync_done: boolean;
|
|
3962
|
+
last_error: string | null;
|
|
3963
|
+
last_run_at: string | null;
|
|
3964
|
+
last_success_at: string | null;
|
|
3965
|
+
locked_at: string | null;
|
|
3966
|
+
needs_initial_sync: boolean;
|
|
3967
|
+
record_count: number;
|
|
3968
|
+
updated_at: string;
|
|
3969
|
+
};
|
|
3970
|
+
Insert: {
|
|
3971
|
+
account_key?: string;
|
|
3972
|
+
created_at?: string;
|
|
3973
|
+
cursor_timestamp?: number;
|
|
3974
|
+
division_code?: number | null;
|
|
3975
|
+
domain: string;
|
|
3976
|
+
duration_ms?: number | null;
|
|
3977
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3978
|
+
initial_sync_done?: boolean;
|
|
3979
|
+
last_error?: string | null;
|
|
3980
|
+
last_run_at?: string | null;
|
|
3981
|
+
last_success_at?: string | null;
|
|
3982
|
+
locked_at?: string | null;
|
|
3983
|
+
needs_initial_sync?: boolean;
|
|
3984
|
+
record_count?: number;
|
|
3985
|
+
updated_at?: string;
|
|
3986
|
+
};
|
|
3987
|
+
Update: {
|
|
3988
|
+
account_key?: string;
|
|
3989
|
+
created_at?: string;
|
|
3990
|
+
cursor_timestamp?: number;
|
|
3991
|
+
division_code?: number | null;
|
|
3992
|
+
domain?: string;
|
|
3993
|
+
duration_ms?: number | null;
|
|
3994
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3995
|
+
initial_sync_done?: boolean;
|
|
3996
|
+
last_error?: string | null;
|
|
3997
|
+
last_run_at?: string | null;
|
|
3998
|
+
last_success_at?: string | null;
|
|
3999
|
+
locked_at?: string | null;
|
|
4000
|
+
needs_initial_sync?: boolean;
|
|
4001
|
+
record_count?: number;
|
|
4002
|
+
updated_at?: string;
|
|
4003
|
+
};
|
|
4004
|
+
Relationships: [];
|
|
4005
|
+
};
|
|
3505
4006
|
exact_bulk_operation_items: {
|
|
3506
4007
|
Row: {
|
|
3507
4008
|
attempts: number;
|
|
@@ -8164,6 +8665,66 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8164
8665
|
};
|
|
8165
8666
|
Relationships: [];
|
|
8166
8667
|
};
|
|
8668
|
+
logistics_recalc_jobs: {
|
|
8669
|
+
Row: {
|
|
8670
|
+
carts_created: number;
|
|
8671
|
+
created_at: string;
|
|
8672
|
+
cursor: string | null;
|
|
8673
|
+
errors: import("../integrations/supabase/types").Json;
|
|
8674
|
+
failed: number;
|
|
8675
|
+
finished_at: string | null;
|
|
8676
|
+
id: string;
|
|
8677
|
+
last_tick_at: string | null;
|
|
8678
|
+
phase: string;
|
|
8679
|
+
processed: number;
|
|
8680
|
+
skipped_locked: number;
|
|
8681
|
+
started_by: string | null;
|
|
8682
|
+
status: string;
|
|
8683
|
+
steps: import("../integrations/supabase/types").Json;
|
|
8684
|
+
strategy_id: string | null;
|
|
8685
|
+
tasks_updated: number;
|
|
8686
|
+
updated_at: string;
|
|
8687
|
+
};
|
|
8688
|
+
Insert: {
|
|
8689
|
+
carts_created?: number;
|
|
8690
|
+
created_at?: string;
|
|
8691
|
+
cursor?: string | null;
|
|
8692
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8693
|
+
failed?: number;
|
|
8694
|
+
finished_at?: string | null;
|
|
8695
|
+
id?: string;
|
|
8696
|
+
last_tick_at?: string | null;
|
|
8697
|
+
phase?: string;
|
|
8698
|
+
processed?: number;
|
|
8699
|
+
skipped_locked?: number;
|
|
8700
|
+
started_by?: string | null;
|
|
8701
|
+
status?: string;
|
|
8702
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8703
|
+
strategy_id?: string | null;
|
|
8704
|
+
tasks_updated?: number;
|
|
8705
|
+
updated_at?: string;
|
|
8706
|
+
};
|
|
8707
|
+
Update: {
|
|
8708
|
+
carts_created?: number;
|
|
8709
|
+
created_at?: string;
|
|
8710
|
+
cursor?: string | null;
|
|
8711
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8712
|
+
failed?: number;
|
|
8713
|
+
finished_at?: string | null;
|
|
8714
|
+
id?: string;
|
|
8715
|
+
last_tick_at?: string | null;
|
|
8716
|
+
phase?: string;
|
|
8717
|
+
processed?: number;
|
|
8718
|
+
skipped_locked?: number;
|
|
8719
|
+
started_by?: string | null;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8722
|
+
strategy_id?: string | null;
|
|
8723
|
+
tasks_updated?: number;
|
|
8724
|
+
updated_at?: string;
|
|
8725
|
+
};
|
|
8726
|
+
Relationships: [];
|
|
8727
|
+
};
|
|
8167
8728
|
logistics_reschedules: {
|
|
8168
8729
|
Row: {
|
|
8169
8730
|
created_at: string;
|
|
@@ -8526,6 +9087,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8526
9087
|
};
|
|
8527
9088
|
logistics_tasks: {
|
|
8528
9089
|
Row: {
|
|
9090
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9091
|
+
attempts: number;
|
|
8529
9092
|
buffer_ref: string | null;
|
|
8530
9093
|
claimed_at: string | null;
|
|
8531
9094
|
claimed_by: string | null;
|
|
@@ -8535,6 +9098,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8535
9098
|
due_at: string | null;
|
|
8536
9099
|
error: string | null;
|
|
8537
9100
|
id: string;
|
|
9101
|
+
last_error: string | null;
|
|
9102
|
+
next_attempt_at: string | null;
|
|
8538
9103
|
order_ref: string;
|
|
8539
9104
|
owner_module: string;
|
|
8540
9105
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -8555,6 +9120,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8555
9120
|
user_id: string;
|
|
8556
9121
|
};
|
|
8557
9122
|
Insert: {
|
|
9123
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9124
|
+
attempts?: number;
|
|
8558
9125
|
buffer_ref?: string | null;
|
|
8559
9126
|
claimed_at?: string | null;
|
|
8560
9127
|
claimed_by?: string | null;
|
|
@@ -8564,6 +9131,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8564
9131
|
due_at?: string | null;
|
|
8565
9132
|
error?: string | null;
|
|
8566
9133
|
id?: string;
|
|
9134
|
+
last_error?: string | null;
|
|
9135
|
+
next_attempt_at?: string | null;
|
|
8567
9136
|
order_ref: string;
|
|
8568
9137
|
owner_module: string;
|
|
8569
9138
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -8584,6 +9153,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8584
9153
|
user_id?: string;
|
|
8585
9154
|
};
|
|
8586
9155
|
Update: {
|
|
9156
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9157
|
+
attempts?: number;
|
|
8587
9158
|
buffer_ref?: string | null;
|
|
8588
9159
|
claimed_at?: string | null;
|
|
8589
9160
|
claimed_by?: string | null;
|
|
@@ -8593,6 +9164,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
8593
9164
|
due_at?: string | null;
|
|
8594
9165
|
error?: string | null;
|
|
8595
9166
|
id?: string;
|
|
9167
|
+
last_error?: string | null;
|
|
9168
|
+
next_attempt_at?: string | null;
|
|
8596
9169
|
order_ref?: string;
|
|
8597
9170
|
owner_module?: string;
|
|
8598
9171
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9942,6 +10515,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
9942
10515
|
};
|
|
9943
10516
|
offer_settings: {
|
|
9944
10517
|
Row: {
|
|
10518
|
+
brand_name: string | null;
|
|
9945
10519
|
button_color: string;
|
|
9946
10520
|
created_at: string;
|
|
9947
10521
|
default_countries: string[];
|
|
@@ -9963,6 +10537,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
9963
10537
|
updated_at: string;
|
|
9964
10538
|
};
|
|
9965
10539
|
Insert: {
|
|
10540
|
+
brand_name?: string | null;
|
|
9966
10541
|
button_color?: string;
|
|
9967
10542
|
created_at?: string;
|
|
9968
10543
|
default_countries?: string[];
|
|
@@ -9984,6 +10559,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
9984
10559
|
updated_at?: string;
|
|
9985
10560
|
};
|
|
9986
10561
|
Update: {
|
|
10562
|
+
brand_name?: string | null;
|
|
9987
10563
|
button_color?: string;
|
|
9988
10564
|
created_at?: string;
|
|
9989
10565
|
default_countries?: string[];
|
|
@@ -13393,6 +13969,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13393
13969
|
buffer_key: string | null;
|
|
13394
13970
|
created_at: string;
|
|
13395
13971
|
customer_names: string[];
|
|
13972
|
+
device_id: string | null;
|
|
13396
13973
|
geprint: boolean;
|
|
13397
13974
|
geprint_op: string | null;
|
|
13398
13975
|
id: string;
|
|
@@ -13402,6 +13979,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13402
13979
|
naar_pickstation: boolean;
|
|
13403
13980
|
naar_pickstation_op: string | null;
|
|
13404
13981
|
order_number: string | null;
|
|
13982
|
+
scanner_id: string | null;
|
|
13405
13983
|
scanner_key: string;
|
|
13406
13984
|
status: string;
|
|
13407
13985
|
totaal_producten: number;
|
|
@@ -13412,6 +13990,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13412
13990
|
buffer_key?: string | null;
|
|
13413
13991
|
created_at?: string;
|
|
13414
13992
|
customer_names?: string[];
|
|
13993
|
+
device_id?: string | null;
|
|
13415
13994
|
geprint?: boolean;
|
|
13416
13995
|
geprint_op?: string | null;
|
|
13417
13996
|
id?: string;
|
|
@@ -13421,6 +14000,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13421
14000
|
naar_pickstation?: boolean;
|
|
13422
14001
|
naar_pickstation_op?: string | null;
|
|
13423
14002
|
order_number?: string | null;
|
|
14003
|
+
scanner_id?: string | null;
|
|
13424
14004
|
scanner_key?: string;
|
|
13425
14005
|
status?: string;
|
|
13426
14006
|
totaal_producten?: number;
|
|
@@ -13431,6 +14011,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13431
14011
|
buffer_key?: string | null;
|
|
13432
14012
|
created_at?: string;
|
|
13433
14013
|
customer_names?: string[];
|
|
14014
|
+
device_id?: string | null;
|
|
13434
14015
|
geprint?: boolean;
|
|
13435
14016
|
geprint_op?: string | null;
|
|
13436
14017
|
id?: string;
|
|
@@ -13440,6 +14021,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13440
14021
|
naar_pickstation?: boolean;
|
|
13441
14022
|
naar_pickstation_op?: string | null;
|
|
13442
14023
|
order_number?: string | null;
|
|
14024
|
+
scanner_id?: string | null;
|
|
13443
14025
|
scanner_key?: string;
|
|
13444
14026
|
status?: string;
|
|
13445
14027
|
totaal_producten?: number;
|
|
@@ -13451,31 +14033,46 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13451
14033
|
Row: {
|
|
13452
14034
|
code: string;
|
|
13453
14035
|
created_at: string;
|
|
14036
|
+
device_id: string | null;
|
|
13454
14037
|
id: string;
|
|
13455
14038
|
kar_id: string | null;
|
|
14039
|
+
latency_ms: number | null;
|
|
14040
|
+
medewerker_naam: string | null;
|
|
13456
14041
|
message: string | null;
|
|
13457
14042
|
result: string;
|
|
14043
|
+
retry_count: number;
|
|
13458
14044
|
scanner_key: string;
|
|
14045
|
+
session_id: string | null;
|
|
13459
14046
|
user_id: string | null;
|
|
13460
14047
|
};
|
|
13461
14048
|
Insert: {
|
|
13462
14049
|
code: string;
|
|
13463
14050
|
created_at?: string;
|
|
14051
|
+
device_id?: string | null;
|
|
13464
14052
|
id?: string;
|
|
13465
14053
|
kar_id?: string | null;
|
|
14054
|
+
latency_ms?: number | null;
|
|
14055
|
+
medewerker_naam?: string | null;
|
|
13466
14056
|
message?: string | null;
|
|
13467
14057
|
result: string;
|
|
14058
|
+
retry_count?: number;
|
|
13468
14059
|
scanner_key?: string;
|
|
14060
|
+
session_id?: string | null;
|
|
13469
14061
|
user_id?: string | null;
|
|
13470
14062
|
};
|
|
13471
14063
|
Update: {
|
|
13472
14064
|
code?: string;
|
|
13473
14065
|
created_at?: string;
|
|
14066
|
+
device_id?: string | null;
|
|
13474
14067
|
id?: string;
|
|
13475
14068
|
kar_id?: string | null;
|
|
14069
|
+
latency_ms?: number | null;
|
|
14070
|
+
medewerker_naam?: string | null;
|
|
13476
14071
|
message?: string | null;
|
|
13477
14072
|
result?: string;
|
|
14073
|
+
retry_count?: number;
|
|
13478
14074
|
scanner_key?: string;
|
|
14075
|
+
session_id?: string | null;
|
|
13479
14076
|
user_id?: string | null;
|
|
13480
14077
|
};
|
|
13481
14078
|
Relationships: [];
|
|
@@ -13532,6 +14129,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13532
14129
|
printed_at: string;
|
|
13533
14130
|
status: string;
|
|
13534
14131
|
updated_at: string;
|
|
14132
|
+
vergrendeld_door: string | null;
|
|
14133
|
+
vergrendeld_sessie: string | null;
|
|
14134
|
+
vergrendeld_tot: string | null;
|
|
13535
14135
|
};
|
|
13536
14136
|
Insert: {
|
|
13537
14137
|
barcode: string;
|
|
@@ -13545,6 +14145,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13545
14145
|
printed_at?: string;
|
|
13546
14146
|
status?: string;
|
|
13547
14147
|
updated_at?: string;
|
|
14148
|
+
vergrendeld_door?: string | null;
|
|
14149
|
+
vergrendeld_sessie?: string | null;
|
|
14150
|
+
vergrendeld_tot?: string | null;
|
|
13548
14151
|
};
|
|
13549
14152
|
Update: {
|
|
13550
14153
|
barcode?: string;
|
|
@@ -13558,6 +14161,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13558
14161
|
printed_at?: string;
|
|
13559
14162
|
status?: string;
|
|
13560
14163
|
updated_at?: string;
|
|
14164
|
+
vergrendeld_door?: string | null;
|
|
14165
|
+
vergrendeld_sessie?: string | null;
|
|
14166
|
+
vergrendeld_tot?: string | null;
|
|
13561
14167
|
};
|
|
13562
14168
|
Relationships: [];
|
|
13563
14169
|
};
|
|
@@ -13566,31 +14172,40 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
13566
14172
|
actief: boolean;
|
|
13567
14173
|
created_at: string;
|
|
13568
14174
|
id: string;
|
|
14175
|
+
max_producten_per_kar: number | null;
|
|
13569
14176
|
naam: string;
|
|
13570
14177
|
omschrijving: string | null;
|
|
14178
|
+
pincode: string | null;
|
|
13571
14179
|
slug: string;
|
|
13572
14180
|
type: string;
|
|
13573
14181
|
updated_at: string;
|
|
14182
|
+
vereist_medewerker: boolean;
|
|
13574
14183
|
};
|
|
13575
14184
|
Insert: {
|
|
13576
14185
|
actief?: boolean;
|
|
13577
14186
|
created_at?: string;
|
|
13578
14187
|
id?: string;
|
|
14188
|
+
max_producten_per_kar?: number | null;
|
|
13579
14189
|
naam: string;
|
|
13580
14190
|
omschrijving?: string | null;
|
|
14191
|
+
pincode?: string | null;
|
|
13581
14192
|
slug: string;
|
|
13582
14193
|
type?: string;
|
|
13583
14194
|
updated_at?: string;
|
|
14195
|
+
vereist_medewerker?: boolean;
|
|
13584
14196
|
};
|
|
13585
14197
|
Update: {
|
|
13586
14198
|
actief?: boolean;
|
|
13587
14199
|
created_at?: string;
|
|
13588
14200
|
id?: string;
|
|
14201
|
+
max_producten_per_kar?: number | null;
|
|
13589
14202
|
naam?: string;
|
|
13590
14203
|
omschrijving?: string | null;
|
|
14204
|
+
pincode?: string | null;
|
|
13591
14205
|
slug?: string;
|
|
13592
14206
|
type?: string;
|
|
13593
14207
|
updated_at?: string;
|
|
14208
|
+
vereist_medewerker?: boolean;
|
|
13594
14209
|
};
|
|
13595
14210
|
Relationships: [];
|
|
13596
14211
|
};
|
|
@@ -17555,6 +18170,54 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
17555
18170
|
};
|
|
17556
18171
|
Returns: import("../integrations/supabase/types").Json;
|
|
17557
18172
|
};
|
|
18173
|
+
claim_logistics_tasks: {
|
|
18174
|
+
Args: {
|
|
18175
|
+
_limit?: number;
|
|
18176
|
+
_owner_module: string;
|
|
18177
|
+
_stale_minutes?: number;
|
|
18178
|
+
_task_type: string;
|
|
18179
|
+
_worker: string;
|
|
18180
|
+
};
|
|
18181
|
+
Returns: {
|
|
18182
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18183
|
+
attempts: number;
|
|
18184
|
+
buffer_ref: string | null;
|
|
18185
|
+
claimed_at: string | null;
|
|
18186
|
+
claimed_by: string | null;
|
|
18187
|
+
completed_at: string | null;
|
|
18188
|
+
created_at: string;
|
|
18189
|
+
depends_on: string[];
|
|
18190
|
+
due_at: string | null;
|
|
18191
|
+
error: string | null;
|
|
18192
|
+
id: string;
|
|
18193
|
+
last_error: string | null;
|
|
18194
|
+
next_attempt_at: string | null;
|
|
18195
|
+
order_ref: string;
|
|
18196
|
+
owner_module: string;
|
|
18197
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18198
|
+
plan_run_id: string | null;
|
|
18199
|
+
planned_end: string | null;
|
|
18200
|
+
planned_start: string | null;
|
|
18201
|
+
priority: number;
|
|
18202
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18203
|
+
rule_config_id: string | null;
|
|
18204
|
+
rule_version: number | null;
|
|
18205
|
+
sequence: number;
|
|
18206
|
+
shadow: boolean;
|
|
18207
|
+
started_at: string | null;
|
|
18208
|
+
status: string;
|
|
18209
|
+
strategy_id: string | null;
|
|
18210
|
+
task_type: string;
|
|
18211
|
+
updated_at: string;
|
|
18212
|
+
user_id: string;
|
|
18213
|
+
}[];
|
|
18214
|
+
SetofOptions: {
|
|
18215
|
+
from: "*";
|
|
18216
|
+
to: "logistics_tasks";
|
|
18217
|
+
isOneToOne: false;
|
|
18218
|
+
isSetofReturn: true;
|
|
18219
|
+
};
|
|
18220
|
+
};
|
|
17558
18221
|
claim_print_jobs: {
|
|
17559
18222
|
Args: {
|
|
17560
18223
|
_agent_id: string;
|
|
@@ -17795,6 +18458,21 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
17795
18458
|
Args: never;
|
|
17796
18459
|
Returns: string;
|
|
17797
18460
|
};
|
|
18461
|
+
exact_auth_consume_calls: {
|
|
18462
|
+
Args: {
|
|
18463
|
+
_account_key: string;
|
|
18464
|
+
_calls?: number;
|
|
18465
|
+
_day_limit?: number;
|
|
18466
|
+
_division_code: number;
|
|
18467
|
+
_environment: string;
|
|
18468
|
+
_minute_limit?: number;
|
|
18469
|
+
};
|
|
18470
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18471
|
+
};
|
|
18472
|
+
exact_auth_prune_sync_log: {
|
|
18473
|
+
Args: never;
|
|
18474
|
+
Returns: undefined;
|
|
18475
|
+
};
|
|
17798
18476
|
exact_decrypt: {
|
|
17799
18477
|
Args: {
|
|
17800
18478
|
cipher: string;
|
|
@@ -18004,6 +18682,10 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18004
18682
|
};
|
|
18005
18683
|
Returns: number;
|
|
18006
18684
|
};
|
|
18685
|
+
get_offer_branding: {
|
|
18686
|
+
Args: never;
|
|
18687
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18688
|
+
};
|
|
18007
18689
|
get_offer_by_link_code: {
|
|
18008
18690
|
Args: {
|
|
18009
18691
|
p_code: string;
|
|
@@ -18175,6 +18857,10 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18175
18857
|
};
|
|
18176
18858
|
Returns: string;
|
|
18177
18859
|
};
|
|
18860
|
+
logistics_active_pick_workdays: {
|
|
18861
|
+
Args: never;
|
|
18862
|
+
Returns: string[];
|
|
18863
|
+
};
|
|
18178
18864
|
logistics_address_key: {
|
|
18179
18865
|
Args: {
|
|
18180
18866
|
p_location: string;
|
|
@@ -18291,6 +18977,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18291
18977
|
p_worker?: string;
|
|
18292
18978
|
};
|
|
18293
18979
|
Returns: {
|
|
18980
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18981
|
+
attempts: number;
|
|
18294
18982
|
buffer_ref: string | null;
|
|
18295
18983
|
claimed_at: string | null;
|
|
18296
18984
|
claimed_by: string | null;
|
|
@@ -18300,6 +18988,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18300
18988
|
due_at: string | null;
|
|
18301
18989
|
error: string | null;
|
|
18302
18990
|
id: string;
|
|
18991
|
+
last_error: string | null;
|
|
18992
|
+
next_attempt_at: string | null;
|
|
18303
18993
|
order_ref: string;
|
|
18304
18994
|
owner_module: string;
|
|
18305
18995
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18332,6 +19022,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18332
19022
|
p_worker?: string;
|
|
18333
19023
|
};
|
|
18334
19024
|
Returns: {
|
|
19025
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19026
|
+
attempts: number;
|
|
18335
19027
|
buffer_ref: string | null;
|
|
18336
19028
|
claimed_at: string | null;
|
|
18337
19029
|
claimed_by: string | null;
|
|
@@ -18341,6 +19033,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18341
19033
|
due_at: string | null;
|
|
18342
19034
|
error: string | null;
|
|
18343
19035
|
id: string;
|
|
19036
|
+
last_error: string | null;
|
|
19037
|
+
next_attempt_at: string | null;
|
|
18344
19038
|
order_ref: string;
|
|
18345
19039
|
owner_module: string;
|
|
18346
19040
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18373,6 +19067,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18373
19067
|
p_task_id: string;
|
|
18374
19068
|
};
|
|
18375
19069
|
Returns: {
|
|
19070
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19071
|
+
attempts: number;
|
|
18376
19072
|
buffer_ref: string | null;
|
|
18377
19073
|
claimed_at: string | null;
|
|
18378
19074
|
claimed_by: string | null;
|
|
@@ -18382,6 +19078,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18382
19078
|
due_at: string | null;
|
|
18383
19079
|
error: string | null;
|
|
18384
19080
|
id: string;
|
|
19081
|
+
last_error: string | null;
|
|
19082
|
+
next_attempt_at: string | null;
|
|
18385
19083
|
order_ref: string;
|
|
18386
19084
|
owner_module: string;
|
|
18387
19085
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18463,6 +19161,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18463
19161
|
p_task_id: string;
|
|
18464
19162
|
};
|
|
18465
19163
|
Returns: {
|
|
19164
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19165
|
+
attempts: number;
|
|
18466
19166
|
buffer_ref: string | null;
|
|
18467
19167
|
claimed_at: string | null;
|
|
18468
19168
|
claimed_by: string | null;
|
|
@@ -18472,6 +19172,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18472
19172
|
due_at: string | null;
|
|
18473
19173
|
error: string | null;
|
|
18474
19174
|
id: string;
|
|
19175
|
+
last_error: string | null;
|
|
19176
|
+
next_attempt_at: string | null;
|
|
18475
19177
|
order_ref: string;
|
|
18476
19178
|
owner_module: string;
|
|
18477
19179
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18498,12 +19200,30 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18498
19200
|
isSetofReturn: false;
|
|
18499
19201
|
};
|
|
18500
19202
|
};
|
|
19203
|
+
logistics_live_carriers: {
|
|
19204
|
+
Args: {
|
|
19205
|
+
p_order_ref: string;
|
|
19206
|
+
};
|
|
19207
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19208
|
+
};
|
|
19209
|
+
logistics_live_cart_count: {
|
|
19210
|
+
Args: {
|
|
19211
|
+
p_order_ref: string;
|
|
19212
|
+
};
|
|
19213
|
+
Returns: number;
|
|
19214
|
+
};
|
|
18501
19215
|
logistics_not_past: {
|
|
18502
19216
|
Args: {
|
|
18503
19217
|
p_ts: string;
|
|
18504
19218
|
};
|
|
18505
19219
|
Returns: string;
|
|
18506
19220
|
};
|
|
19221
|
+
logistics_order_cart_count: {
|
|
19222
|
+
Args: {
|
|
19223
|
+
p_order_ref: string;
|
|
19224
|
+
};
|
|
19225
|
+
Returns: number;
|
|
19226
|
+
};
|
|
18507
19227
|
logistics_order_pick_day: {
|
|
18508
19228
|
Args: {
|
|
18509
19229
|
p_order_ref: string;
|
|
@@ -18680,6 +19400,13 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18680
19400
|
};
|
|
18681
19401
|
Returns: import("../integrations/supabase/types").Json;
|
|
18682
19402
|
};
|
|
19403
|
+
logistics_shift_to_workday: {
|
|
19404
|
+
Args: {
|
|
19405
|
+
p_days: string[];
|
|
19406
|
+
p_ts: string;
|
|
19407
|
+
};
|
|
19408
|
+
Returns: string;
|
|
19409
|
+
};
|
|
18683
19410
|
logistics_supersede_stale_tasks: {
|
|
18684
19411
|
Args: {
|
|
18685
19412
|
p_keep: string[];
|
|
@@ -18965,6 +19692,10 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
18965
19692
|
isSetofReturn: false;
|
|
18966
19693
|
};
|
|
18967
19694
|
};
|
|
19695
|
+
pick_current_pick_day: {
|
|
19696
|
+
Args: never;
|
|
19697
|
+
Returns: string;
|
|
19698
|
+
};
|
|
18968
19699
|
pick_document_layout_data: {
|
|
18969
19700
|
Args: {
|
|
18970
19701
|
_layout_id: string;
|
|
@@ -19196,10 +19927,68 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
19196
19927
|
Args: never;
|
|
19197
19928
|
Returns: undefined;
|
|
19198
19929
|
};
|
|
19930
|
+
run_logistics_tasks_dispatch: {
|
|
19931
|
+
Args: never;
|
|
19932
|
+
Returns: undefined;
|
|
19933
|
+
};
|
|
19199
19934
|
run_twinfield_queue_tick: {
|
|
19200
19935
|
Args: never;
|
|
19201
19936
|
Returns: undefined;
|
|
19202
19937
|
};
|
|
19938
|
+
scan_cancel_kar: {
|
|
19939
|
+
Args: {
|
|
19940
|
+
p_kar_id: string;
|
|
19941
|
+
};
|
|
19942
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19943
|
+
};
|
|
19944
|
+
scan_dashboard_stats: {
|
|
19945
|
+
Args: {
|
|
19946
|
+
p_dagen?: number;
|
|
19947
|
+
};
|
|
19948
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19949
|
+
};
|
|
19950
|
+
scan_finish_kar: {
|
|
19951
|
+
Args: {
|
|
19952
|
+
p_kar_id: string;
|
|
19953
|
+
};
|
|
19954
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19955
|
+
};
|
|
19956
|
+
scan_register_item: {
|
|
19957
|
+
Args: {
|
|
19958
|
+
p_kar_id: string;
|
|
19959
|
+
p_pakbon_item_id: string;
|
|
19960
|
+
p_scanned_by?: string;
|
|
19961
|
+
};
|
|
19962
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19963
|
+
};
|
|
19964
|
+
scan_release_expired_locks: {
|
|
19965
|
+
Args: never;
|
|
19966
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19967
|
+
};
|
|
19968
|
+
scan_remove_item: {
|
|
19969
|
+
Args: {
|
|
19970
|
+
p_kar_item_id: string;
|
|
19971
|
+
};
|
|
19972
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19973
|
+
};
|
|
19974
|
+
scan_start_kar: {
|
|
19975
|
+
Args: {
|
|
19976
|
+
p_medewerker_id?: string;
|
|
19977
|
+
p_medewerker_naam?: string;
|
|
19978
|
+
p_pakbon_ids: string[];
|
|
19979
|
+
p_scanner_key?: string;
|
|
19980
|
+
};
|
|
19981
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19982
|
+
} | {
|
|
19983
|
+
Args: {
|
|
19984
|
+
p_medewerker_id?: string;
|
|
19985
|
+
p_medewerker_naam?: string;
|
|
19986
|
+
p_pakbon_ids: string[];
|
|
19987
|
+
p_scanner_key?: string;
|
|
19988
|
+
p_sessie?: string;
|
|
19989
|
+
};
|
|
19990
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19991
|
+
};
|
|
19203
19992
|
schedule_floriday_additional_services_sync: {
|
|
19204
19993
|
Args: {
|
|
19205
19994
|
p_apikey: string;
|
|
@@ -21454,6 +22243,39 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
21454
22243
|
referencedColumns: ["id"];
|
|
21455
22244
|
}];
|
|
21456
22245
|
};
|
|
22246
|
+
customer_notes: {
|
|
22247
|
+
Row: {
|
|
22248
|
+
created_at: string;
|
|
22249
|
+
customer_id: string | null;
|
|
22250
|
+
group_key: string | null;
|
|
22251
|
+
id: string;
|
|
22252
|
+
notes: string | null;
|
|
22253
|
+
updated_at: string;
|
|
22254
|
+
};
|
|
22255
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
22272
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
22273
|
+
columns: ["customer_id"];
|
|
22274
|
+
isOneToOne: true;
|
|
22275
|
+
referencedRelation: "customers";
|
|
22276
|
+
referencedColumns: ["id"];
|
|
22277
|
+
}];
|
|
22278
|
+
};
|
|
21457
22279
|
customer_price_group_members: {
|
|
21458
22280
|
Row: {
|
|
21459
22281
|
created_at: string;
|
|
@@ -23098,6 +23920,474 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
23098
23920
|
referencedColumns: ["id"];
|
|
23099
23921
|
}];
|
|
23100
23922
|
};
|
|
23923
|
+
exact_auth_call_budget: {
|
|
23924
|
+
Row: {
|
|
23925
|
+
account_key: string;
|
|
23926
|
+
day_count: number;
|
|
23927
|
+
day_date: string;
|
|
23928
|
+
division_code: number;
|
|
23929
|
+
environment: string;
|
|
23930
|
+
minute_count: number;
|
|
23931
|
+
minute_window: string;
|
|
23932
|
+
updated_at: string;
|
|
23933
|
+
};
|
|
23934
|
+
Insert: {
|
|
23935
|
+
account_key?: string;
|
|
23936
|
+
day_count?: number;
|
|
23937
|
+
day_date?: string;
|
|
23938
|
+
division_code?: number;
|
|
23939
|
+
environment: string;
|
|
23940
|
+
minute_count?: number;
|
|
23941
|
+
minute_window?: string;
|
|
23942
|
+
updated_at?: string;
|
|
23943
|
+
};
|
|
23944
|
+
Update: {
|
|
23945
|
+
account_key?: string;
|
|
23946
|
+
day_count?: number;
|
|
23947
|
+
day_date?: string;
|
|
23948
|
+
division_code?: number;
|
|
23949
|
+
environment?: string;
|
|
23950
|
+
minute_count?: number;
|
|
23951
|
+
minute_window?: string;
|
|
23952
|
+
updated_at?: string;
|
|
23953
|
+
};
|
|
23954
|
+
Relationships: [];
|
|
23955
|
+
};
|
|
23956
|
+
exact_auth_customers: {
|
|
23957
|
+
Row: {
|
|
23958
|
+
account_key: string;
|
|
23959
|
+
address_line1: string | null;
|
|
23960
|
+
chamber_of_commerce: string | null;
|
|
23961
|
+
city: string | null;
|
|
23962
|
+
code: string | null;
|
|
23963
|
+
country: string | null;
|
|
23964
|
+
created_at: string;
|
|
23965
|
+
currency: string | null;
|
|
23966
|
+
division_code: number | null;
|
|
23967
|
+
email: string | null;
|
|
23968
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23969
|
+
exact_id: string;
|
|
23970
|
+
exact_modified: string | null;
|
|
23971
|
+
exact_timestamp: number | null;
|
|
23972
|
+
id: string;
|
|
23973
|
+
is_active: boolean;
|
|
23974
|
+
name: string | null;
|
|
23975
|
+
phone: string | null;
|
|
23976
|
+
postcode: string | null;
|
|
23977
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
23978
|
+
status: string | null;
|
|
23979
|
+
updated_at: string;
|
|
23980
|
+
vat_number: string | null;
|
|
23981
|
+
website: string | null;
|
|
23982
|
+
};
|
|
23983
|
+
Insert: {
|
|
23984
|
+
account_key?: string;
|
|
23985
|
+
address_line1?: string | null;
|
|
23986
|
+
chamber_of_commerce?: string | null;
|
|
23987
|
+
city?: string | null;
|
|
23988
|
+
code?: string | null;
|
|
23989
|
+
country?: string | null;
|
|
23990
|
+
created_at?: string;
|
|
23991
|
+
currency?: string | null;
|
|
23992
|
+
division_code?: number | null;
|
|
23993
|
+
email?: string | null;
|
|
23994
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23995
|
+
exact_id: string;
|
|
23996
|
+
exact_modified?: string | null;
|
|
23997
|
+
exact_timestamp?: number | null;
|
|
23998
|
+
id?: string;
|
|
23999
|
+
is_active?: boolean;
|
|
24000
|
+
name?: string | null;
|
|
24001
|
+
phone?: string | null;
|
|
24002
|
+
postcode?: string | null;
|
|
24003
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24004
|
+
status?: string | null;
|
|
24005
|
+
updated_at?: string;
|
|
24006
|
+
vat_number?: string | null;
|
|
24007
|
+
website?: string | null;
|
|
24008
|
+
};
|
|
24009
|
+
Update: {
|
|
24010
|
+
account_key?: string;
|
|
24011
|
+
address_line1?: string | null;
|
|
24012
|
+
chamber_of_commerce?: string | null;
|
|
24013
|
+
city?: string | null;
|
|
24014
|
+
code?: string | null;
|
|
24015
|
+
country?: string | null;
|
|
24016
|
+
created_at?: string;
|
|
24017
|
+
currency?: string | null;
|
|
24018
|
+
division_code?: number | null;
|
|
24019
|
+
email?: string | null;
|
|
24020
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24021
|
+
exact_id?: string;
|
|
24022
|
+
exact_modified?: string | null;
|
|
24023
|
+
exact_timestamp?: number | null;
|
|
24024
|
+
id?: string;
|
|
24025
|
+
is_active?: boolean;
|
|
24026
|
+
name?: string | null;
|
|
24027
|
+
phone?: string | null;
|
|
24028
|
+
postcode?: string | null;
|
|
24029
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24030
|
+
status?: string | null;
|
|
24031
|
+
updated_at?: string;
|
|
24032
|
+
vat_number?: string | null;
|
|
24033
|
+
website?: string | null;
|
|
24034
|
+
};
|
|
24035
|
+
Relationships: [];
|
|
24036
|
+
};
|
|
24037
|
+
exact_auth_divisions: {
|
|
24038
|
+
Row: {
|
|
24039
|
+
account_key: string;
|
|
24040
|
+
company_name: string | null;
|
|
24041
|
+
created_at: string;
|
|
24042
|
+
division_code: number | null;
|
|
24043
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24044
|
+
id: string;
|
|
24045
|
+
last_synced_at: string | null;
|
|
24046
|
+
updated_at: string;
|
|
24047
|
+
};
|
|
24048
|
+
Insert: {
|
|
24049
|
+
account_key?: string;
|
|
24050
|
+
company_name?: string | null;
|
|
24051
|
+
created_at?: string;
|
|
24052
|
+
division_code?: number | null;
|
|
24053
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24054
|
+
id?: string;
|
|
24055
|
+
last_synced_at?: string | null;
|
|
24056
|
+
updated_at?: string;
|
|
24057
|
+
};
|
|
24058
|
+
Update: {
|
|
24059
|
+
account_key?: string;
|
|
24060
|
+
company_name?: string | null;
|
|
24061
|
+
created_at?: string;
|
|
24062
|
+
division_code?: number | null;
|
|
24063
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24064
|
+
id?: string;
|
|
24065
|
+
last_synced_at?: string | null;
|
|
24066
|
+
updated_at?: string;
|
|
24067
|
+
};
|
|
24068
|
+
Relationships: [];
|
|
24069
|
+
};
|
|
24070
|
+
exact_auth_invoice_lines: {
|
|
24071
|
+
Row: {
|
|
24072
|
+
account_key: string;
|
|
24073
|
+
amount_excl: number | null;
|
|
24074
|
+
created_at: string;
|
|
24075
|
+
description: string | null;
|
|
24076
|
+
discount: number | null;
|
|
24077
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24078
|
+
exact_id: string;
|
|
24079
|
+
exact_timestamp: number | null;
|
|
24080
|
+
id: string;
|
|
24081
|
+
invoice_exact_id: string;
|
|
24082
|
+
item_code: string | null;
|
|
24083
|
+
item_exact_id: string | null;
|
|
24084
|
+
line_number: number | null;
|
|
24085
|
+
quantity: number | null;
|
|
24086
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24087
|
+
unit_price: number | null;
|
|
24088
|
+
updated_at: string;
|
|
24089
|
+
vat_amount: number | null;
|
|
24090
|
+
vat_code: string | null;
|
|
24091
|
+
};
|
|
24092
|
+
Insert: {
|
|
24093
|
+
account_key?: string;
|
|
24094
|
+
amount_excl?: number | null;
|
|
24095
|
+
created_at?: string;
|
|
24096
|
+
description?: string | null;
|
|
24097
|
+
discount?: number | null;
|
|
24098
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24099
|
+
exact_id: string;
|
|
24100
|
+
exact_timestamp?: number | null;
|
|
24101
|
+
id?: string;
|
|
24102
|
+
invoice_exact_id: string;
|
|
24103
|
+
item_code?: string | null;
|
|
24104
|
+
item_exact_id?: string | null;
|
|
24105
|
+
line_number?: number | null;
|
|
24106
|
+
quantity?: number | null;
|
|
24107
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24108
|
+
unit_price?: number | null;
|
|
24109
|
+
updated_at?: string;
|
|
24110
|
+
vat_amount?: number | null;
|
|
24111
|
+
vat_code?: string | null;
|
|
24112
|
+
};
|
|
24113
|
+
Update: {
|
|
24114
|
+
account_key?: string;
|
|
24115
|
+
amount_excl?: number | null;
|
|
24116
|
+
created_at?: string;
|
|
24117
|
+
description?: string | null;
|
|
24118
|
+
discount?: number | null;
|
|
24119
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24120
|
+
exact_id?: string;
|
|
24121
|
+
exact_timestamp?: number | null;
|
|
24122
|
+
id?: string;
|
|
24123
|
+
invoice_exact_id?: string;
|
|
24124
|
+
item_code?: string | null;
|
|
24125
|
+
item_exact_id?: string | null;
|
|
24126
|
+
line_number?: number | null;
|
|
24127
|
+
quantity?: number | null;
|
|
24128
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24129
|
+
unit_price?: number | null;
|
|
24130
|
+
updated_at?: string;
|
|
24131
|
+
vat_amount?: number | null;
|
|
24132
|
+
vat_code?: string | null;
|
|
24133
|
+
};
|
|
24134
|
+
Relationships: [];
|
|
24135
|
+
};
|
|
24136
|
+
exact_auth_invoices: {
|
|
24137
|
+
Row: {
|
|
24138
|
+
account_key: string;
|
|
24139
|
+
amount_excl: number | null;
|
|
24140
|
+
amount_incl: number | null;
|
|
24141
|
+
amount_open: number | null;
|
|
24142
|
+
created_at: string;
|
|
24143
|
+
currency: string | null;
|
|
24144
|
+
customer_code: string | null;
|
|
24145
|
+
customer_exact_id: string | null;
|
|
24146
|
+
customer_name: string | null;
|
|
24147
|
+
description: string | null;
|
|
24148
|
+
division_code: number | null;
|
|
24149
|
+
due_date: string | null;
|
|
24150
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24151
|
+
exact_id: string;
|
|
24152
|
+
exact_modified: string | null;
|
|
24153
|
+
exact_timestamp: number | null;
|
|
24154
|
+
id: string;
|
|
24155
|
+
invoice_date: string | null;
|
|
24156
|
+
invoice_number: string | null;
|
|
24157
|
+
order_number: string | null;
|
|
24158
|
+
paid_at: string | null;
|
|
24159
|
+
payment_status: string;
|
|
24160
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24161
|
+
receivable_synced_at: string | null;
|
|
24162
|
+
status_code: number | null;
|
|
24163
|
+
updated_at: string;
|
|
24164
|
+
};
|
|
24165
|
+
Insert: {
|
|
24166
|
+
account_key?: string;
|
|
24167
|
+
amount_excl?: number | null;
|
|
24168
|
+
amount_incl?: number | null;
|
|
24169
|
+
amount_open?: number | null;
|
|
24170
|
+
created_at?: string;
|
|
24171
|
+
currency?: string | null;
|
|
24172
|
+
customer_code?: string | null;
|
|
24173
|
+
customer_exact_id?: string | null;
|
|
24174
|
+
customer_name?: string | null;
|
|
24175
|
+
description?: string | null;
|
|
24176
|
+
division_code?: number | null;
|
|
24177
|
+
due_date?: string | null;
|
|
24178
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24179
|
+
exact_id: string;
|
|
24180
|
+
exact_modified?: string | null;
|
|
24181
|
+
exact_timestamp?: number | null;
|
|
24182
|
+
id?: string;
|
|
24183
|
+
invoice_date?: string | null;
|
|
24184
|
+
invoice_number?: string | null;
|
|
24185
|
+
order_number?: string | null;
|
|
24186
|
+
paid_at?: string | null;
|
|
24187
|
+
payment_status?: string;
|
|
24188
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24189
|
+
receivable_synced_at?: string | null;
|
|
24190
|
+
status_code?: number | null;
|
|
24191
|
+
updated_at?: string;
|
|
24192
|
+
};
|
|
24193
|
+
Update: {
|
|
24194
|
+
account_key?: string;
|
|
24195
|
+
amount_excl?: number | null;
|
|
24196
|
+
amount_incl?: number | null;
|
|
24197
|
+
amount_open?: number | null;
|
|
24198
|
+
created_at?: string;
|
|
24199
|
+
currency?: string | null;
|
|
24200
|
+
customer_code?: string | null;
|
|
24201
|
+
customer_exact_id?: string | null;
|
|
24202
|
+
customer_name?: string | null;
|
|
24203
|
+
description?: string | null;
|
|
24204
|
+
division_code?: number | null;
|
|
24205
|
+
due_date?: string | null;
|
|
24206
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24207
|
+
exact_id?: string;
|
|
24208
|
+
exact_modified?: string | null;
|
|
24209
|
+
exact_timestamp?: number | null;
|
|
24210
|
+
id?: string;
|
|
24211
|
+
invoice_date?: string | null;
|
|
24212
|
+
invoice_number?: string | null;
|
|
24213
|
+
order_number?: string | null;
|
|
24214
|
+
paid_at?: string | null;
|
|
24215
|
+
payment_status?: string;
|
|
24216
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24217
|
+
receivable_synced_at?: string | null;
|
|
24218
|
+
status_code?: number | null;
|
|
24219
|
+
updated_at?: string;
|
|
24220
|
+
};
|
|
24221
|
+
Relationships: [];
|
|
24222
|
+
};
|
|
24223
|
+
exact_auth_items: {
|
|
24224
|
+
Row: {
|
|
24225
|
+
account_key: string;
|
|
24226
|
+
barcode: string | null;
|
|
24227
|
+
code: string | null;
|
|
24228
|
+
cost_price: number | null;
|
|
24229
|
+
created_at: string;
|
|
24230
|
+
description: string | null;
|
|
24231
|
+
division_code: number | null;
|
|
24232
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24233
|
+
exact_id: string;
|
|
24234
|
+
exact_modified: string | null;
|
|
24235
|
+
exact_timestamp: number | null;
|
|
24236
|
+
gl_account_code: string | null;
|
|
24237
|
+
id: string;
|
|
24238
|
+
is_active: boolean;
|
|
24239
|
+
is_sales_item: boolean | null;
|
|
24240
|
+
item_type: string | null;
|
|
24241
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24242
|
+
sales_price: number | null;
|
|
24243
|
+
unit: string | null;
|
|
24244
|
+
updated_at: string;
|
|
24245
|
+
vat_code: string | null;
|
|
24246
|
+
};
|
|
24247
|
+
Insert: {
|
|
24248
|
+
account_key?: string;
|
|
24249
|
+
barcode?: string | null;
|
|
24250
|
+
code?: string | null;
|
|
24251
|
+
cost_price?: number | null;
|
|
24252
|
+
created_at?: string;
|
|
24253
|
+
description?: string | null;
|
|
24254
|
+
division_code?: number | null;
|
|
24255
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24256
|
+
exact_id: string;
|
|
24257
|
+
exact_modified?: string | null;
|
|
24258
|
+
exact_timestamp?: number | null;
|
|
24259
|
+
gl_account_code?: string | null;
|
|
24260
|
+
id?: string;
|
|
24261
|
+
is_active?: boolean;
|
|
24262
|
+
is_sales_item?: boolean | null;
|
|
24263
|
+
item_type?: string | null;
|
|
24264
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24265
|
+
sales_price?: number | null;
|
|
24266
|
+
unit?: string | null;
|
|
24267
|
+
updated_at?: string;
|
|
24268
|
+
vat_code?: string | null;
|
|
24269
|
+
};
|
|
24270
|
+
Update: {
|
|
24271
|
+
account_key?: string;
|
|
24272
|
+
barcode?: string | null;
|
|
24273
|
+
code?: string | null;
|
|
24274
|
+
cost_price?: number | null;
|
|
24275
|
+
created_at?: string;
|
|
24276
|
+
description?: string | null;
|
|
24277
|
+
division_code?: number | null;
|
|
24278
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24279
|
+
exact_id?: string;
|
|
24280
|
+
exact_modified?: string | null;
|
|
24281
|
+
exact_timestamp?: number | null;
|
|
24282
|
+
gl_account_code?: string | null;
|
|
24283
|
+
id?: string;
|
|
24284
|
+
is_active?: boolean;
|
|
24285
|
+
is_sales_item?: boolean | null;
|
|
24286
|
+
item_type?: string | null;
|
|
24287
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24288
|
+
sales_price?: number | null;
|
|
24289
|
+
unit?: string | null;
|
|
24290
|
+
updated_at?: string;
|
|
24291
|
+
vat_code?: string | null;
|
|
24292
|
+
};
|
|
24293
|
+
Relationships: [];
|
|
24294
|
+
};
|
|
24295
|
+
exact_auth_sync_log: {
|
|
24296
|
+
Row: {
|
|
24297
|
+
account_key: string;
|
|
24298
|
+
calls_used: number;
|
|
24299
|
+
created_at: string;
|
|
24300
|
+
domain: string;
|
|
24301
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24302
|
+
error: string | null;
|
|
24303
|
+
finished_at: string | null;
|
|
24304
|
+
id: string;
|
|
24305
|
+
ok: boolean;
|
|
24306
|
+
records: number;
|
|
24307
|
+
started_at: string;
|
|
24308
|
+
};
|
|
24309
|
+
Insert: {
|
|
24310
|
+
account_key?: string;
|
|
24311
|
+
calls_used?: number;
|
|
24312
|
+
created_at?: string;
|
|
24313
|
+
domain: string;
|
|
24314
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24315
|
+
error?: string | null;
|
|
24316
|
+
finished_at?: string | null;
|
|
24317
|
+
id?: string;
|
|
24318
|
+
ok?: boolean;
|
|
24319
|
+
records?: number;
|
|
24320
|
+
started_at?: string;
|
|
24321
|
+
};
|
|
24322
|
+
Update: {
|
|
24323
|
+
account_key?: string;
|
|
24324
|
+
calls_used?: number;
|
|
24325
|
+
created_at?: string;
|
|
24326
|
+
domain?: string;
|
|
24327
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24328
|
+
error?: string | null;
|
|
24329
|
+
finished_at?: string | null;
|
|
24330
|
+
id?: string;
|
|
24331
|
+
ok?: boolean;
|
|
24332
|
+
records?: number;
|
|
24333
|
+
started_at?: string;
|
|
24334
|
+
};
|
|
24335
|
+
Relationships: [];
|
|
24336
|
+
};
|
|
24337
|
+
exact_auth_sync_state: {
|
|
24338
|
+
Row: {
|
|
24339
|
+
account_key: string;
|
|
24340
|
+
created_at: string;
|
|
24341
|
+
cursor_timestamp: number;
|
|
24342
|
+
division_code: number | null;
|
|
24343
|
+
domain: string;
|
|
24344
|
+
duration_ms: number | null;
|
|
24345
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24346
|
+
initial_sync_done: boolean;
|
|
24347
|
+
last_error: string | null;
|
|
24348
|
+
last_run_at: string | null;
|
|
24349
|
+
last_success_at: string | null;
|
|
24350
|
+
locked_at: string | null;
|
|
24351
|
+
needs_initial_sync: boolean;
|
|
24352
|
+
record_count: number;
|
|
24353
|
+
updated_at: string;
|
|
24354
|
+
};
|
|
24355
|
+
Insert: {
|
|
24356
|
+
account_key?: string;
|
|
24357
|
+
created_at?: string;
|
|
24358
|
+
cursor_timestamp?: number;
|
|
24359
|
+
division_code?: number | null;
|
|
24360
|
+
domain: string;
|
|
24361
|
+
duration_ms?: number | null;
|
|
24362
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24363
|
+
initial_sync_done?: boolean;
|
|
24364
|
+
last_error?: string | null;
|
|
24365
|
+
last_run_at?: string | null;
|
|
24366
|
+
last_success_at?: string | null;
|
|
24367
|
+
locked_at?: string | null;
|
|
24368
|
+
needs_initial_sync?: boolean;
|
|
24369
|
+
record_count?: number;
|
|
24370
|
+
updated_at?: string;
|
|
24371
|
+
};
|
|
24372
|
+
Update: {
|
|
24373
|
+
account_key?: string;
|
|
24374
|
+
created_at?: string;
|
|
24375
|
+
cursor_timestamp?: number;
|
|
24376
|
+
division_code?: number | null;
|
|
24377
|
+
domain?: string;
|
|
24378
|
+
duration_ms?: number | null;
|
|
24379
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24380
|
+
initial_sync_done?: boolean;
|
|
24381
|
+
last_error?: string | null;
|
|
24382
|
+
last_run_at?: string | null;
|
|
24383
|
+
last_success_at?: string | null;
|
|
24384
|
+
locked_at?: string | null;
|
|
24385
|
+
needs_initial_sync?: boolean;
|
|
24386
|
+
record_count?: number;
|
|
24387
|
+
updated_at?: string;
|
|
24388
|
+
};
|
|
24389
|
+
Relationships: [];
|
|
24390
|
+
};
|
|
23101
24391
|
exact_bulk_operation_items: {
|
|
23102
24392
|
Row: {
|
|
23103
24393
|
attempts: number;
|
|
@@ -27760,6 +29050,66 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
27760
29050
|
};
|
|
27761
29051
|
Relationships: [];
|
|
27762
29052
|
};
|
|
29053
|
+
logistics_recalc_jobs: {
|
|
29054
|
+
Row: {
|
|
29055
|
+
carts_created: number;
|
|
29056
|
+
created_at: string;
|
|
29057
|
+
cursor: string | null;
|
|
29058
|
+
errors: import("../integrations/supabase/types").Json;
|
|
29059
|
+
failed: number;
|
|
29060
|
+
finished_at: string | null;
|
|
29061
|
+
id: string;
|
|
29062
|
+
last_tick_at: string | null;
|
|
29063
|
+
phase: string;
|
|
29064
|
+
processed: number;
|
|
29065
|
+
skipped_locked: number;
|
|
29066
|
+
started_by: string | null;
|
|
29067
|
+
status: string;
|
|
29068
|
+
steps: import("../integrations/supabase/types").Json;
|
|
29069
|
+
strategy_id: string | null;
|
|
29070
|
+
tasks_updated: number;
|
|
29071
|
+
updated_at: string;
|
|
29072
|
+
};
|
|
29073
|
+
Insert: {
|
|
29074
|
+
carts_created?: number;
|
|
29075
|
+
created_at?: string;
|
|
29076
|
+
cursor?: string | null;
|
|
29077
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29078
|
+
failed?: number;
|
|
29079
|
+
finished_at?: string | null;
|
|
29080
|
+
id?: string;
|
|
29081
|
+
last_tick_at?: string | null;
|
|
29082
|
+
phase?: string;
|
|
29083
|
+
processed?: number;
|
|
29084
|
+
skipped_locked?: number;
|
|
29085
|
+
started_by?: string | null;
|
|
29086
|
+
status?: string;
|
|
29087
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29088
|
+
strategy_id?: string | null;
|
|
29089
|
+
tasks_updated?: number;
|
|
29090
|
+
updated_at?: string;
|
|
29091
|
+
};
|
|
29092
|
+
Update: {
|
|
29093
|
+
carts_created?: number;
|
|
29094
|
+
created_at?: string;
|
|
29095
|
+
cursor?: string | null;
|
|
29096
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
29097
|
+
failed?: number;
|
|
29098
|
+
finished_at?: string | null;
|
|
29099
|
+
id?: string;
|
|
29100
|
+
last_tick_at?: string | null;
|
|
29101
|
+
phase?: string;
|
|
29102
|
+
processed?: number;
|
|
29103
|
+
skipped_locked?: number;
|
|
29104
|
+
started_by?: string | null;
|
|
29105
|
+
status?: string;
|
|
29106
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
29107
|
+
strategy_id?: string | null;
|
|
29108
|
+
tasks_updated?: number;
|
|
29109
|
+
updated_at?: string;
|
|
29110
|
+
};
|
|
29111
|
+
Relationships: [];
|
|
29112
|
+
};
|
|
27763
29113
|
logistics_reschedules: {
|
|
27764
29114
|
Row: {
|
|
27765
29115
|
created_at: string;
|
|
@@ -28122,6 +29472,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
28122
29472
|
};
|
|
28123
29473
|
logistics_tasks: {
|
|
28124
29474
|
Row: {
|
|
29475
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29476
|
+
attempts: number;
|
|
28125
29477
|
buffer_ref: string | null;
|
|
28126
29478
|
claimed_at: string | null;
|
|
28127
29479
|
claimed_by: string | null;
|
|
@@ -28131,6 +29483,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
28131
29483
|
due_at: string | null;
|
|
28132
29484
|
error: string | null;
|
|
28133
29485
|
id: string;
|
|
29486
|
+
last_error: string | null;
|
|
29487
|
+
next_attempt_at: string | null;
|
|
28134
29488
|
order_ref: string;
|
|
28135
29489
|
owner_module: string;
|
|
28136
29490
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -28151,6 +29505,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
28151
29505
|
user_id: string;
|
|
28152
29506
|
};
|
|
28153
29507
|
Insert: {
|
|
29508
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29509
|
+
attempts?: number;
|
|
28154
29510
|
buffer_ref?: string | null;
|
|
28155
29511
|
claimed_at?: string | null;
|
|
28156
29512
|
claimed_by?: string | null;
|
|
@@ -28160,6 +29516,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
28160
29516
|
due_at?: string | null;
|
|
28161
29517
|
error?: string | null;
|
|
28162
29518
|
id?: string;
|
|
29519
|
+
last_error?: string | null;
|
|
29520
|
+
next_attempt_at?: string | null;
|
|
28163
29521
|
order_ref: string;
|
|
28164
29522
|
owner_module: string;
|
|
28165
29523
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28180,6 +29538,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
28180
29538
|
user_id?: string;
|
|
28181
29539
|
};
|
|
28182
29540
|
Update: {
|
|
29541
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29542
|
+
attempts?: number;
|
|
28183
29543
|
buffer_ref?: string | null;
|
|
28184
29544
|
claimed_at?: string | null;
|
|
28185
29545
|
claimed_by?: string | null;
|
|
@@ -28189,6 +29549,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
28189
29549
|
due_at?: string | null;
|
|
28190
29550
|
error?: string | null;
|
|
28191
29551
|
id?: string;
|
|
29552
|
+
last_error?: string | null;
|
|
29553
|
+
next_attempt_at?: string | null;
|
|
28192
29554
|
order_ref?: string;
|
|
28193
29555
|
owner_module?: string;
|
|
28194
29556
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29538,6 +30900,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
29538
30900
|
};
|
|
29539
30901
|
offer_settings: {
|
|
29540
30902
|
Row: {
|
|
30903
|
+
brand_name: string | null;
|
|
29541
30904
|
button_color: string;
|
|
29542
30905
|
created_at: string;
|
|
29543
30906
|
default_countries: string[];
|
|
@@ -29559,6 +30922,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
29559
30922
|
updated_at: string;
|
|
29560
30923
|
};
|
|
29561
30924
|
Insert: {
|
|
30925
|
+
brand_name?: string | null;
|
|
29562
30926
|
button_color?: string;
|
|
29563
30927
|
created_at?: string;
|
|
29564
30928
|
default_countries?: string[];
|
|
@@ -29580,6 +30944,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
29580
30944
|
updated_at?: string;
|
|
29581
30945
|
};
|
|
29582
30946
|
Update: {
|
|
30947
|
+
brand_name?: string | null;
|
|
29583
30948
|
button_color?: string;
|
|
29584
30949
|
created_at?: string;
|
|
29585
30950
|
default_countries?: string[];
|
|
@@ -32989,6 +34354,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
32989
34354
|
buffer_key: string | null;
|
|
32990
34355
|
created_at: string;
|
|
32991
34356
|
customer_names: string[];
|
|
34357
|
+
device_id: string | null;
|
|
32992
34358
|
geprint: boolean;
|
|
32993
34359
|
geprint_op: string | null;
|
|
32994
34360
|
id: string;
|
|
@@ -32998,6 +34364,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
32998
34364
|
naar_pickstation: boolean;
|
|
32999
34365
|
naar_pickstation_op: string | null;
|
|
33000
34366
|
order_number: string | null;
|
|
34367
|
+
scanner_id: string | null;
|
|
33001
34368
|
scanner_key: string;
|
|
33002
34369
|
status: string;
|
|
33003
34370
|
totaal_producten: number;
|
|
@@ -33008,6 +34375,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33008
34375
|
buffer_key?: string | null;
|
|
33009
34376
|
created_at?: string;
|
|
33010
34377
|
customer_names?: string[];
|
|
34378
|
+
device_id?: string | null;
|
|
33011
34379
|
geprint?: boolean;
|
|
33012
34380
|
geprint_op?: string | null;
|
|
33013
34381
|
id?: string;
|
|
@@ -33017,6 +34385,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33017
34385
|
naar_pickstation?: boolean;
|
|
33018
34386
|
naar_pickstation_op?: string | null;
|
|
33019
34387
|
order_number?: string | null;
|
|
34388
|
+
scanner_id?: string | null;
|
|
33020
34389
|
scanner_key?: string;
|
|
33021
34390
|
status?: string;
|
|
33022
34391
|
totaal_producten?: number;
|
|
@@ -33027,6 +34396,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33027
34396
|
buffer_key?: string | null;
|
|
33028
34397
|
created_at?: string;
|
|
33029
34398
|
customer_names?: string[];
|
|
34399
|
+
device_id?: string | null;
|
|
33030
34400
|
geprint?: boolean;
|
|
33031
34401
|
geprint_op?: string | null;
|
|
33032
34402
|
id?: string;
|
|
@@ -33036,6 +34406,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33036
34406
|
naar_pickstation?: boolean;
|
|
33037
34407
|
naar_pickstation_op?: string | null;
|
|
33038
34408
|
order_number?: string | null;
|
|
34409
|
+
scanner_id?: string | null;
|
|
33039
34410
|
scanner_key?: string;
|
|
33040
34411
|
status?: string;
|
|
33041
34412
|
totaal_producten?: number;
|
|
@@ -33047,31 +34418,46 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33047
34418
|
Row: {
|
|
33048
34419
|
code: string;
|
|
33049
34420
|
created_at: string;
|
|
34421
|
+
device_id: string | null;
|
|
33050
34422
|
id: string;
|
|
33051
34423
|
kar_id: string | null;
|
|
34424
|
+
latency_ms: number | null;
|
|
34425
|
+
medewerker_naam: string | null;
|
|
33052
34426
|
message: string | null;
|
|
33053
34427
|
result: string;
|
|
34428
|
+
retry_count: number;
|
|
33054
34429
|
scanner_key: string;
|
|
34430
|
+
session_id: string | null;
|
|
33055
34431
|
user_id: string | null;
|
|
33056
34432
|
};
|
|
33057
34433
|
Insert: {
|
|
33058
34434
|
code: string;
|
|
33059
34435
|
created_at?: string;
|
|
34436
|
+
device_id?: string | null;
|
|
33060
34437
|
id?: string;
|
|
33061
34438
|
kar_id?: string | null;
|
|
34439
|
+
latency_ms?: number | null;
|
|
34440
|
+
medewerker_naam?: string | null;
|
|
33062
34441
|
message?: string | null;
|
|
33063
34442
|
result: string;
|
|
34443
|
+
retry_count?: number;
|
|
33064
34444
|
scanner_key?: string;
|
|
34445
|
+
session_id?: string | null;
|
|
33065
34446
|
user_id?: string | null;
|
|
33066
34447
|
};
|
|
33067
34448
|
Update: {
|
|
33068
34449
|
code?: string;
|
|
33069
34450
|
created_at?: string;
|
|
34451
|
+
device_id?: string | null;
|
|
33070
34452
|
id?: string;
|
|
33071
34453
|
kar_id?: string | null;
|
|
34454
|
+
latency_ms?: number | null;
|
|
34455
|
+
medewerker_naam?: string | null;
|
|
33072
34456
|
message?: string | null;
|
|
33073
34457
|
result?: string;
|
|
34458
|
+
retry_count?: number;
|
|
33074
34459
|
scanner_key?: string;
|
|
34460
|
+
session_id?: string | null;
|
|
33075
34461
|
user_id?: string | null;
|
|
33076
34462
|
};
|
|
33077
34463
|
Relationships: [];
|
|
@@ -33128,6 +34514,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33128
34514
|
printed_at: string;
|
|
33129
34515
|
status: string;
|
|
33130
34516
|
updated_at: string;
|
|
34517
|
+
vergrendeld_door: string | null;
|
|
34518
|
+
vergrendeld_sessie: string | null;
|
|
34519
|
+
vergrendeld_tot: string | null;
|
|
33131
34520
|
};
|
|
33132
34521
|
Insert: {
|
|
33133
34522
|
barcode: string;
|
|
@@ -33141,6 +34530,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33141
34530
|
printed_at?: string;
|
|
33142
34531
|
status?: string;
|
|
33143
34532
|
updated_at?: string;
|
|
34533
|
+
vergrendeld_door?: string | null;
|
|
34534
|
+
vergrendeld_sessie?: string | null;
|
|
34535
|
+
vergrendeld_tot?: string | null;
|
|
33144
34536
|
};
|
|
33145
34537
|
Update: {
|
|
33146
34538
|
barcode?: string;
|
|
@@ -33154,6 +34546,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33154
34546
|
printed_at?: string;
|
|
33155
34547
|
status?: string;
|
|
33156
34548
|
updated_at?: string;
|
|
34549
|
+
vergrendeld_door?: string | null;
|
|
34550
|
+
vergrendeld_sessie?: string | null;
|
|
34551
|
+
vergrendeld_tot?: string | null;
|
|
33157
34552
|
};
|
|
33158
34553
|
Relationships: [];
|
|
33159
34554
|
};
|
|
@@ -33162,31 +34557,40 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
33162
34557
|
actief: boolean;
|
|
33163
34558
|
created_at: string;
|
|
33164
34559
|
id: string;
|
|
34560
|
+
max_producten_per_kar: number | null;
|
|
33165
34561
|
naam: string;
|
|
33166
34562
|
omschrijving: string | null;
|
|
34563
|
+
pincode: string | null;
|
|
33167
34564
|
slug: string;
|
|
33168
34565
|
type: string;
|
|
33169
34566
|
updated_at: string;
|
|
34567
|
+
vereist_medewerker: boolean;
|
|
33170
34568
|
};
|
|
33171
34569
|
Insert: {
|
|
33172
34570
|
actief?: boolean;
|
|
33173
34571
|
created_at?: string;
|
|
33174
34572
|
id?: string;
|
|
34573
|
+
max_producten_per_kar?: number | null;
|
|
33175
34574
|
naam: string;
|
|
33176
34575
|
omschrijving?: string | null;
|
|
34576
|
+
pincode?: string | null;
|
|
33177
34577
|
slug: string;
|
|
33178
34578
|
type?: string;
|
|
33179
34579
|
updated_at?: string;
|
|
34580
|
+
vereist_medewerker?: boolean;
|
|
33180
34581
|
};
|
|
33181
34582
|
Update: {
|
|
33182
34583
|
actief?: boolean;
|
|
33183
34584
|
created_at?: string;
|
|
33184
34585
|
id?: string;
|
|
34586
|
+
max_producten_per_kar?: number | null;
|
|
33185
34587
|
naam?: string;
|
|
33186
34588
|
omschrijving?: string | null;
|
|
34589
|
+
pincode?: string | null;
|
|
33187
34590
|
slug?: string;
|
|
33188
34591
|
type?: string;
|
|
33189
34592
|
updated_at?: string;
|
|
34593
|
+
vereist_medewerker?: boolean;
|
|
33190
34594
|
};
|
|
33191
34595
|
Relationships: [];
|
|
33192
34596
|
};
|
|
@@ -37151,6 +38555,54 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37151
38555
|
};
|
|
37152
38556
|
Returns: import("../integrations/supabase/types").Json;
|
|
37153
38557
|
};
|
|
38558
|
+
claim_logistics_tasks: {
|
|
38559
|
+
Args: {
|
|
38560
|
+
_limit?: number;
|
|
38561
|
+
_owner_module: string;
|
|
38562
|
+
_stale_minutes?: number;
|
|
38563
|
+
_task_type: string;
|
|
38564
|
+
_worker: string;
|
|
38565
|
+
};
|
|
38566
|
+
Returns: {
|
|
38567
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38568
|
+
attempts: number;
|
|
38569
|
+
buffer_ref: string | null;
|
|
38570
|
+
claimed_at: string | null;
|
|
38571
|
+
claimed_by: string | null;
|
|
38572
|
+
completed_at: string | null;
|
|
38573
|
+
created_at: string;
|
|
38574
|
+
depends_on: string[];
|
|
38575
|
+
due_at: string | null;
|
|
38576
|
+
error: string | null;
|
|
38577
|
+
id: string;
|
|
38578
|
+
last_error: string | null;
|
|
38579
|
+
next_attempt_at: string | null;
|
|
38580
|
+
order_ref: string;
|
|
38581
|
+
owner_module: string;
|
|
38582
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38583
|
+
plan_run_id: string | null;
|
|
38584
|
+
planned_end: string | null;
|
|
38585
|
+
planned_start: string | null;
|
|
38586
|
+
priority: number;
|
|
38587
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38588
|
+
rule_config_id: string | null;
|
|
38589
|
+
rule_version: number | null;
|
|
38590
|
+
sequence: number;
|
|
38591
|
+
shadow: boolean;
|
|
38592
|
+
started_at: string | null;
|
|
38593
|
+
status: string;
|
|
38594
|
+
strategy_id: string | null;
|
|
38595
|
+
task_type: string;
|
|
38596
|
+
updated_at: string;
|
|
38597
|
+
user_id: string;
|
|
38598
|
+
}[];
|
|
38599
|
+
SetofOptions: {
|
|
38600
|
+
from: "*";
|
|
38601
|
+
to: "logistics_tasks";
|
|
38602
|
+
isOneToOne: false;
|
|
38603
|
+
isSetofReturn: true;
|
|
38604
|
+
};
|
|
38605
|
+
};
|
|
37154
38606
|
claim_print_jobs: {
|
|
37155
38607
|
Args: {
|
|
37156
38608
|
_agent_id: string;
|
|
@@ -37391,6 +38843,21 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37391
38843
|
Args: never;
|
|
37392
38844
|
Returns: string;
|
|
37393
38845
|
};
|
|
38846
|
+
exact_auth_consume_calls: {
|
|
38847
|
+
Args: {
|
|
38848
|
+
_account_key: string;
|
|
38849
|
+
_calls?: number;
|
|
38850
|
+
_day_limit?: number;
|
|
38851
|
+
_division_code: number;
|
|
38852
|
+
_environment: string;
|
|
38853
|
+
_minute_limit?: number;
|
|
38854
|
+
};
|
|
38855
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38856
|
+
};
|
|
38857
|
+
exact_auth_prune_sync_log: {
|
|
38858
|
+
Args: never;
|
|
38859
|
+
Returns: undefined;
|
|
38860
|
+
};
|
|
37394
38861
|
exact_decrypt: {
|
|
37395
38862
|
Args: {
|
|
37396
38863
|
cipher: string;
|
|
@@ -37600,6 +39067,10 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37600
39067
|
};
|
|
37601
39068
|
Returns: number;
|
|
37602
39069
|
};
|
|
39070
|
+
get_offer_branding: {
|
|
39071
|
+
Args: never;
|
|
39072
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39073
|
+
};
|
|
37603
39074
|
get_offer_by_link_code: {
|
|
37604
39075
|
Args: {
|
|
37605
39076
|
p_code: string;
|
|
@@ -37771,6 +39242,10 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37771
39242
|
};
|
|
37772
39243
|
Returns: string;
|
|
37773
39244
|
};
|
|
39245
|
+
logistics_active_pick_workdays: {
|
|
39246
|
+
Args: never;
|
|
39247
|
+
Returns: string[];
|
|
39248
|
+
};
|
|
37774
39249
|
logistics_address_key: {
|
|
37775
39250
|
Args: {
|
|
37776
39251
|
p_location: string;
|
|
@@ -37887,6 +39362,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37887
39362
|
p_worker?: string;
|
|
37888
39363
|
};
|
|
37889
39364
|
Returns: {
|
|
39365
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39366
|
+
attempts: number;
|
|
37890
39367
|
buffer_ref: string | null;
|
|
37891
39368
|
claimed_at: string | null;
|
|
37892
39369
|
claimed_by: string | null;
|
|
@@ -37896,6 +39373,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37896
39373
|
due_at: string | null;
|
|
37897
39374
|
error: string | null;
|
|
37898
39375
|
id: string;
|
|
39376
|
+
last_error: string | null;
|
|
39377
|
+
next_attempt_at: string | null;
|
|
37899
39378
|
order_ref: string;
|
|
37900
39379
|
owner_module: string;
|
|
37901
39380
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37928,6 +39407,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37928
39407
|
p_worker?: string;
|
|
37929
39408
|
};
|
|
37930
39409
|
Returns: {
|
|
39410
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39411
|
+
attempts: number;
|
|
37931
39412
|
buffer_ref: string | null;
|
|
37932
39413
|
claimed_at: string | null;
|
|
37933
39414
|
claimed_by: string | null;
|
|
@@ -37937,6 +39418,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37937
39418
|
due_at: string | null;
|
|
37938
39419
|
error: string | null;
|
|
37939
39420
|
id: string;
|
|
39421
|
+
last_error: string | null;
|
|
39422
|
+
next_attempt_at: string | null;
|
|
37940
39423
|
order_ref: string;
|
|
37941
39424
|
owner_module: string;
|
|
37942
39425
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37969,6 +39452,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37969
39452
|
p_task_id: string;
|
|
37970
39453
|
};
|
|
37971
39454
|
Returns: {
|
|
39455
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39456
|
+
attempts: number;
|
|
37972
39457
|
buffer_ref: string | null;
|
|
37973
39458
|
claimed_at: string | null;
|
|
37974
39459
|
claimed_by: string | null;
|
|
@@ -37978,6 +39463,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
37978
39463
|
due_at: string | null;
|
|
37979
39464
|
error: string | null;
|
|
37980
39465
|
id: string;
|
|
39466
|
+
last_error: string | null;
|
|
39467
|
+
next_attempt_at: string | null;
|
|
37981
39468
|
order_ref: string;
|
|
37982
39469
|
owner_module: string;
|
|
37983
39470
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38059,6 +39546,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
38059
39546
|
p_task_id: string;
|
|
38060
39547
|
};
|
|
38061
39548
|
Returns: {
|
|
39549
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39550
|
+
attempts: number;
|
|
38062
39551
|
buffer_ref: string | null;
|
|
38063
39552
|
claimed_at: string | null;
|
|
38064
39553
|
claimed_by: string | null;
|
|
@@ -38068,6 +39557,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
38068
39557
|
due_at: string | null;
|
|
38069
39558
|
error: string | null;
|
|
38070
39559
|
id: string;
|
|
39560
|
+
last_error: string | null;
|
|
39561
|
+
next_attempt_at: string | null;
|
|
38071
39562
|
order_ref: string;
|
|
38072
39563
|
owner_module: string;
|
|
38073
39564
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38094,12 +39585,30 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
38094
39585
|
isSetofReturn: false;
|
|
38095
39586
|
};
|
|
38096
39587
|
};
|
|
39588
|
+
logistics_live_carriers: {
|
|
39589
|
+
Args: {
|
|
39590
|
+
p_order_ref: string;
|
|
39591
|
+
};
|
|
39592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39593
|
+
};
|
|
39594
|
+
logistics_live_cart_count: {
|
|
39595
|
+
Args: {
|
|
39596
|
+
p_order_ref: string;
|
|
39597
|
+
};
|
|
39598
|
+
Returns: number;
|
|
39599
|
+
};
|
|
38097
39600
|
logistics_not_past: {
|
|
38098
39601
|
Args: {
|
|
38099
39602
|
p_ts: string;
|
|
38100
39603
|
};
|
|
38101
39604
|
Returns: string;
|
|
38102
39605
|
};
|
|
39606
|
+
logistics_order_cart_count: {
|
|
39607
|
+
Args: {
|
|
39608
|
+
p_order_ref: string;
|
|
39609
|
+
};
|
|
39610
|
+
Returns: number;
|
|
39611
|
+
};
|
|
38103
39612
|
logistics_order_pick_day: {
|
|
38104
39613
|
Args: {
|
|
38105
39614
|
p_order_ref: string;
|
|
@@ -38276,6 +39785,13 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
38276
39785
|
};
|
|
38277
39786
|
Returns: import("../integrations/supabase/types").Json;
|
|
38278
39787
|
};
|
|
39788
|
+
logistics_shift_to_workday: {
|
|
39789
|
+
Args: {
|
|
39790
|
+
p_days: string[];
|
|
39791
|
+
p_ts: string;
|
|
39792
|
+
};
|
|
39793
|
+
Returns: string;
|
|
39794
|
+
};
|
|
38279
39795
|
logistics_supersede_stale_tasks: {
|
|
38280
39796
|
Args: {
|
|
38281
39797
|
p_keep: string[];
|
|
@@ -38561,6 +40077,10 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
38561
40077
|
isSetofReturn: false;
|
|
38562
40078
|
};
|
|
38563
40079
|
};
|
|
40080
|
+
pick_current_pick_day: {
|
|
40081
|
+
Args: never;
|
|
40082
|
+
Returns: string;
|
|
40083
|
+
};
|
|
38564
40084
|
pick_document_layout_data: {
|
|
38565
40085
|
Args: {
|
|
38566
40086
|
_layout_id: string;
|
|
@@ -38792,10 +40312,68 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
38792
40312
|
Args: never;
|
|
38793
40313
|
Returns: undefined;
|
|
38794
40314
|
};
|
|
40315
|
+
run_logistics_tasks_dispatch: {
|
|
40316
|
+
Args: never;
|
|
40317
|
+
Returns: undefined;
|
|
40318
|
+
};
|
|
38795
40319
|
run_twinfield_queue_tick: {
|
|
38796
40320
|
Args: never;
|
|
38797
40321
|
Returns: undefined;
|
|
38798
40322
|
};
|
|
40323
|
+
scan_cancel_kar: {
|
|
40324
|
+
Args: {
|
|
40325
|
+
p_kar_id: string;
|
|
40326
|
+
};
|
|
40327
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40328
|
+
};
|
|
40329
|
+
scan_dashboard_stats: {
|
|
40330
|
+
Args: {
|
|
40331
|
+
p_dagen?: number;
|
|
40332
|
+
};
|
|
40333
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40334
|
+
};
|
|
40335
|
+
scan_finish_kar: {
|
|
40336
|
+
Args: {
|
|
40337
|
+
p_kar_id: string;
|
|
40338
|
+
};
|
|
40339
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40340
|
+
};
|
|
40341
|
+
scan_register_item: {
|
|
40342
|
+
Args: {
|
|
40343
|
+
p_kar_id: string;
|
|
40344
|
+
p_pakbon_item_id: string;
|
|
40345
|
+
p_scanned_by?: string;
|
|
40346
|
+
};
|
|
40347
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40348
|
+
};
|
|
40349
|
+
scan_release_expired_locks: {
|
|
40350
|
+
Args: never;
|
|
40351
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40352
|
+
};
|
|
40353
|
+
scan_remove_item: {
|
|
40354
|
+
Args: {
|
|
40355
|
+
p_kar_item_id: string;
|
|
40356
|
+
};
|
|
40357
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40358
|
+
};
|
|
40359
|
+
scan_start_kar: {
|
|
40360
|
+
Args: {
|
|
40361
|
+
p_medewerker_id?: string;
|
|
40362
|
+
p_medewerker_naam?: string;
|
|
40363
|
+
p_pakbon_ids: string[];
|
|
40364
|
+
p_scanner_key?: string;
|
|
40365
|
+
};
|
|
40366
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40367
|
+
} | {
|
|
40368
|
+
Args: {
|
|
40369
|
+
p_medewerker_id?: string;
|
|
40370
|
+
p_medewerker_naam?: string;
|
|
40371
|
+
p_pakbon_ids: string[];
|
|
40372
|
+
p_scanner_key?: string;
|
|
40373
|
+
p_sessie?: string;
|
|
40374
|
+
};
|
|
40375
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40376
|
+
};
|
|
38799
40377
|
schedule_floriday_additional_services_sync: {
|
|
38800
40378
|
Args: {
|
|
38801
40379
|
p_apikey: string;
|
|
@@ -41059,6 +42637,39 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
41059
42637
|
referencedColumns: ["id"];
|
|
41060
42638
|
}];
|
|
41061
42639
|
};
|
|
42640
|
+
customer_notes: {
|
|
42641
|
+
Row: {
|
|
42642
|
+
created_at: string;
|
|
42643
|
+
customer_id: string | null;
|
|
42644
|
+
group_key: string | null;
|
|
42645
|
+
id: string;
|
|
42646
|
+
notes: string | null;
|
|
42647
|
+
updated_at: string;
|
|
42648
|
+
};
|
|
42649
|
+
Insert: {
|
|
42650
|
+
created_at?: string;
|
|
42651
|
+
customer_id?: string | null;
|
|
42652
|
+
group_key?: string | null;
|
|
42653
|
+
id?: string;
|
|
42654
|
+
notes?: string | null;
|
|
42655
|
+
updated_at?: string;
|
|
42656
|
+
};
|
|
42657
|
+
Update: {
|
|
42658
|
+
created_at?: string;
|
|
42659
|
+
customer_id?: string | null;
|
|
42660
|
+
group_key?: string | null;
|
|
42661
|
+
id?: string;
|
|
42662
|
+
notes?: string | null;
|
|
42663
|
+
updated_at?: string;
|
|
42664
|
+
};
|
|
42665
|
+
Relationships: [{
|
|
42666
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
42667
|
+
columns: ["customer_id"];
|
|
42668
|
+
isOneToOne: true;
|
|
42669
|
+
referencedRelation: "customers";
|
|
42670
|
+
referencedColumns: ["id"];
|
|
42671
|
+
}];
|
|
42672
|
+
};
|
|
41062
42673
|
customer_price_group_members: {
|
|
41063
42674
|
Row: {
|
|
41064
42675
|
created_at: string;
|
|
@@ -42457,251 +44068,719 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
42457
44068
|
connection_id?: string;
|
|
42458
44069
|
error_message?: string | null;
|
|
42459
44070
|
id?: string;
|
|
42460
|
-
refreshed_at?: string;
|
|
42461
|
-
success?: boolean;
|
|
42462
|
-
trigger_source?: string;
|
|
44071
|
+
refreshed_at?: string;
|
|
44072
|
+
success?: boolean;
|
|
44073
|
+
trigger_source?: string;
|
|
44074
|
+
};
|
|
44075
|
+
Relationships: [{
|
|
44076
|
+
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
44077
|
+
columns: ["connection_id"];
|
|
44078
|
+
isOneToOne: false;
|
|
44079
|
+
referencedRelation: "email_auth_connections";
|
|
44080
|
+
referencedColumns: ["id"];
|
|
44081
|
+
}, {
|
|
44082
|
+
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
44083
|
+
columns: ["connection_id"];
|
|
44084
|
+
isOneToOne: false;
|
|
44085
|
+
referencedRelation: "email_auth_connections_safe";
|
|
44086
|
+
referencedColumns: ["id"];
|
|
44087
|
+
}];
|
|
44088
|
+
};
|
|
44089
|
+
email_auth_watch_folders: {
|
|
44090
|
+
Row: {
|
|
44091
|
+
connection_id: string;
|
|
44092
|
+
created_at: string;
|
|
44093
|
+
folder_id: string;
|
|
44094
|
+
folder_name: string | null;
|
|
44095
|
+
gmail_history_id: string | null;
|
|
44096
|
+
graph_subscription_expires_at: string | null;
|
|
44097
|
+
graph_subscription_id: string | null;
|
|
44098
|
+
id: string;
|
|
44099
|
+
imap_last_uid: number | null;
|
|
44100
|
+
imap_uid_validity: number | null;
|
|
44101
|
+
mailbox: string;
|
|
44102
|
+
provider: string;
|
|
44103
|
+
updated_at: string;
|
|
44104
|
+
webhook_last_error: string | null;
|
|
44105
|
+
webhook_status: string | null;
|
|
44106
|
+
};
|
|
44107
|
+
Insert: {
|
|
44108
|
+
connection_id: string;
|
|
44109
|
+
created_at?: string;
|
|
44110
|
+
folder_id: string;
|
|
44111
|
+
folder_name?: string | null;
|
|
44112
|
+
gmail_history_id?: string | null;
|
|
44113
|
+
graph_subscription_expires_at?: string | null;
|
|
44114
|
+
graph_subscription_id?: string | null;
|
|
44115
|
+
id?: string;
|
|
44116
|
+
imap_last_uid?: number | null;
|
|
44117
|
+
imap_uid_validity?: number | null;
|
|
44118
|
+
mailbox?: string;
|
|
44119
|
+
provider: string;
|
|
44120
|
+
updated_at?: string;
|
|
44121
|
+
webhook_last_error?: string | null;
|
|
44122
|
+
webhook_status?: string | null;
|
|
44123
|
+
};
|
|
44124
|
+
Update: {
|
|
44125
|
+
connection_id?: string;
|
|
44126
|
+
created_at?: string;
|
|
44127
|
+
folder_id?: string;
|
|
44128
|
+
folder_name?: string | null;
|
|
44129
|
+
gmail_history_id?: string | null;
|
|
44130
|
+
graph_subscription_expires_at?: string | null;
|
|
44131
|
+
graph_subscription_id?: string | null;
|
|
44132
|
+
id?: string;
|
|
44133
|
+
imap_last_uid?: number | null;
|
|
44134
|
+
imap_uid_validity?: number | null;
|
|
44135
|
+
mailbox?: string;
|
|
44136
|
+
provider?: string;
|
|
44137
|
+
updated_at?: string;
|
|
44138
|
+
webhook_last_error?: string | null;
|
|
44139
|
+
webhook_status?: string | null;
|
|
44140
|
+
};
|
|
44141
|
+
Relationships: [{
|
|
44142
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
44143
|
+
columns: ["connection_id"];
|
|
44144
|
+
isOneToOne: false;
|
|
44145
|
+
referencedRelation: "email_auth_connections";
|
|
44146
|
+
referencedColumns: ["id"];
|
|
44147
|
+
}, {
|
|
44148
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
44149
|
+
columns: ["connection_id"];
|
|
44150
|
+
isOneToOne: false;
|
|
44151
|
+
referencedRelation: "email_auth_connections_safe";
|
|
44152
|
+
referencedColumns: ["id"];
|
|
44153
|
+
}];
|
|
44154
|
+
};
|
|
44155
|
+
email_auth_webhook_log: {
|
|
44156
|
+
Row: {
|
|
44157
|
+
body_sample: string | null;
|
|
44158
|
+
connection_id: string | null;
|
|
44159
|
+
created_at: string;
|
|
44160
|
+
error_message: string | null;
|
|
44161
|
+
headers_sample: import("../integrations/supabase/types").Json | null;
|
|
44162
|
+
id: string;
|
|
44163
|
+
notification_count: number | null;
|
|
44164
|
+
provider: string | null;
|
|
44165
|
+
source: string | null;
|
|
44166
|
+
status: string;
|
|
44167
|
+
subscription_id: string | null;
|
|
44168
|
+
};
|
|
44169
|
+
Insert: {
|
|
44170
|
+
body_sample?: string | null;
|
|
44171
|
+
connection_id?: string | null;
|
|
44172
|
+
created_at?: string;
|
|
44173
|
+
error_message?: string | null;
|
|
44174
|
+
headers_sample?: import("../integrations/supabase/types").Json | null;
|
|
44175
|
+
id?: string;
|
|
44176
|
+
notification_count?: number | null;
|
|
44177
|
+
provider?: string | null;
|
|
44178
|
+
source?: string | null;
|
|
44179
|
+
status: string;
|
|
44180
|
+
subscription_id?: string | null;
|
|
44181
|
+
};
|
|
44182
|
+
Update: {
|
|
44183
|
+
body_sample?: string | null;
|
|
44184
|
+
connection_id?: string | null;
|
|
44185
|
+
created_at?: string;
|
|
44186
|
+
error_message?: string | null;
|
|
44187
|
+
headers_sample?: import("../integrations/supabase/types").Json | null;
|
|
44188
|
+
id?: string;
|
|
44189
|
+
notification_count?: number | null;
|
|
44190
|
+
provider?: string | null;
|
|
44191
|
+
source?: string | null;
|
|
44192
|
+
status?: string;
|
|
44193
|
+
subscription_id?: string | null;
|
|
44194
|
+
};
|
|
44195
|
+
Relationships: [{
|
|
44196
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
44197
|
+
columns: ["connection_id"];
|
|
44198
|
+
isOneToOne: false;
|
|
44199
|
+
referencedRelation: "email_auth_connections";
|
|
44200
|
+
referencedColumns: ["id"];
|
|
44201
|
+
}, {
|
|
44202
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
44203
|
+
columns: ["connection_id"];
|
|
44204
|
+
isOneToOne: false;
|
|
44205
|
+
referencedRelation: "email_auth_connections_safe";
|
|
44206
|
+
referencedColumns: ["id"];
|
|
44207
|
+
}];
|
|
44208
|
+
};
|
|
44209
|
+
exact_account_analytics_cache: {
|
|
44210
|
+
Row: {
|
|
44211
|
+
account_id: string;
|
|
44212
|
+
account_name: string | null;
|
|
44213
|
+
avg_payment_days: number | null;
|
|
44214
|
+
computed_at: string;
|
|
44215
|
+
connection_id: string;
|
|
44216
|
+
expires_at: string | null;
|
|
44217
|
+
id: string;
|
|
44218
|
+
invoice_count: number | null;
|
|
44219
|
+
last_invoice_date: string | null;
|
|
44220
|
+
last_payment_date: string | null;
|
|
44221
|
+
open_balance: number | null;
|
|
44222
|
+
overdue_balance: number | null;
|
|
44223
|
+
total_revenue: number | null;
|
|
44224
|
+
};
|
|
44225
|
+
Insert: {
|
|
44226
|
+
account_id: string;
|
|
44227
|
+
account_name?: string | null;
|
|
44228
|
+
avg_payment_days?: number | null;
|
|
44229
|
+
computed_at?: string;
|
|
44230
|
+
connection_id: string;
|
|
44231
|
+
expires_at?: string | null;
|
|
44232
|
+
id?: string;
|
|
44233
|
+
invoice_count?: number | null;
|
|
44234
|
+
last_invoice_date?: string | null;
|
|
44235
|
+
last_payment_date?: string | null;
|
|
44236
|
+
open_balance?: number | null;
|
|
44237
|
+
overdue_balance?: number | null;
|
|
44238
|
+
total_revenue?: number | null;
|
|
44239
|
+
};
|
|
44240
|
+
Update: {
|
|
44241
|
+
account_id?: string;
|
|
44242
|
+
account_name?: string | null;
|
|
44243
|
+
avg_payment_days?: number | null;
|
|
44244
|
+
computed_at?: string;
|
|
44245
|
+
connection_id?: string;
|
|
44246
|
+
expires_at?: string | null;
|
|
44247
|
+
id?: string;
|
|
44248
|
+
invoice_count?: number | null;
|
|
44249
|
+
last_invoice_date?: string | null;
|
|
44250
|
+
last_payment_date?: string | null;
|
|
44251
|
+
open_balance?: number | null;
|
|
44252
|
+
overdue_balance?: number | null;
|
|
44253
|
+
total_revenue?: number | null;
|
|
44254
|
+
};
|
|
44255
|
+
Relationships: [{
|
|
44256
|
+
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
44257
|
+
columns: ["connection_id"];
|
|
44258
|
+
isOneToOne: false;
|
|
44259
|
+
referencedRelation: "exact_connections";
|
|
44260
|
+
referencedColumns: ["id"];
|
|
44261
|
+
}];
|
|
44262
|
+
};
|
|
44263
|
+
exact_analytics_cache: {
|
|
44264
|
+
Row: {
|
|
44265
|
+
analytics_type: string;
|
|
44266
|
+
avg_payment_days: number | null;
|
|
44267
|
+
computed_at: string;
|
|
44268
|
+
connection_id: string;
|
|
44269
|
+
data_raw: import("../integrations/supabase/types").Json | null;
|
|
44270
|
+
expires_at: string | null;
|
|
44271
|
+
id: string;
|
|
44272
|
+
open_count: number | null;
|
|
44273
|
+
overdue_amount: number | null;
|
|
44274
|
+
paid_this_month: number | null;
|
|
44275
|
+
period_key: string;
|
|
44276
|
+
total_invoiced: number | null;
|
|
44277
|
+
total_open: number | null;
|
|
44278
|
+
};
|
|
44279
|
+
Insert: {
|
|
44280
|
+
analytics_type: string;
|
|
44281
|
+
avg_payment_days?: number | null;
|
|
44282
|
+
computed_at?: string;
|
|
44283
|
+
connection_id: string;
|
|
44284
|
+
data_raw?: import("../integrations/supabase/types").Json | null;
|
|
44285
|
+
expires_at?: string | null;
|
|
44286
|
+
id?: string;
|
|
44287
|
+
open_count?: number | null;
|
|
44288
|
+
overdue_amount?: number | null;
|
|
44289
|
+
paid_this_month?: number | null;
|
|
44290
|
+
period_key: string;
|
|
44291
|
+
total_invoiced?: number | null;
|
|
44292
|
+
total_open?: number | null;
|
|
44293
|
+
};
|
|
44294
|
+
Update: {
|
|
44295
|
+
analytics_type?: string;
|
|
44296
|
+
avg_payment_days?: number | null;
|
|
44297
|
+
computed_at?: string;
|
|
44298
|
+
connection_id?: string;
|
|
44299
|
+
data_raw?: import("../integrations/supabase/types").Json | null;
|
|
44300
|
+
expires_at?: string | null;
|
|
44301
|
+
id?: string;
|
|
44302
|
+
open_count?: number | null;
|
|
44303
|
+
overdue_amount?: number | null;
|
|
44304
|
+
paid_this_month?: number | null;
|
|
44305
|
+
period_key?: string;
|
|
44306
|
+
total_invoiced?: number | null;
|
|
44307
|
+
total_open?: number | null;
|
|
44308
|
+
};
|
|
44309
|
+
Relationships: [{
|
|
44310
|
+
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
44311
|
+
columns: ["connection_id"];
|
|
44312
|
+
isOneToOne: false;
|
|
44313
|
+
referencedRelation: "exact_connections";
|
|
44314
|
+
referencedColumns: ["id"];
|
|
44315
|
+
}];
|
|
44316
|
+
};
|
|
44317
|
+
exact_auth_call_budget: {
|
|
44318
|
+
Row: {
|
|
44319
|
+
account_key: string;
|
|
44320
|
+
day_count: number;
|
|
44321
|
+
day_date: string;
|
|
44322
|
+
division_code: number;
|
|
44323
|
+
environment: string;
|
|
44324
|
+
minute_count: number;
|
|
44325
|
+
minute_window: string;
|
|
44326
|
+
updated_at: string;
|
|
44327
|
+
};
|
|
44328
|
+
Insert: {
|
|
44329
|
+
account_key?: string;
|
|
44330
|
+
day_count?: number;
|
|
44331
|
+
day_date?: string;
|
|
44332
|
+
division_code?: number;
|
|
44333
|
+
environment: string;
|
|
44334
|
+
minute_count?: number;
|
|
44335
|
+
minute_window?: string;
|
|
44336
|
+
updated_at?: string;
|
|
44337
|
+
};
|
|
44338
|
+
Update: {
|
|
44339
|
+
account_key?: string;
|
|
44340
|
+
day_count?: number;
|
|
44341
|
+
day_date?: string;
|
|
44342
|
+
division_code?: number;
|
|
44343
|
+
environment?: string;
|
|
44344
|
+
minute_count?: number;
|
|
44345
|
+
minute_window?: string;
|
|
44346
|
+
updated_at?: string;
|
|
44347
|
+
};
|
|
44348
|
+
Relationships: [];
|
|
44349
|
+
};
|
|
44350
|
+
exact_auth_customers: {
|
|
44351
|
+
Row: {
|
|
44352
|
+
account_key: string;
|
|
44353
|
+
address_line1: string | null;
|
|
44354
|
+
chamber_of_commerce: string | null;
|
|
44355
|
+
city: string | null;
|
|
44356
|
+
code: string | null;
|
|
44357
|
+
country: string | null;
|
|
44358
|
+
created_at: string;
|
|
44359
|
+
currency: string | null;
|
|
44360
|
+
division_code: number | null;
|
|
44361
|
+
email: string | null;
|
|
44362
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44363
|
+
exact_id: string;
|
|
44364
|
+
exact_modified: string | null;
|
|
44365
|
+
exact_timestamp: number | null;
|
|
44366
|
+
id: string;
|
|
44367
|
+
is_active: boolean;
|
|
44368
|
+
name: string | null;
|
|
44369
|
+
phone: string | null;
|
|
44370
|
+
postcode: string | null;
|
|
44371
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44372
|
+
status: string | null;
|
|
44373
|
+
updated_at: string;
|
|
44374
|
+
vat_number: string | null;
|
|
44375
|
+
website: string | null;
|
|
44376
|
+
};
|
|
44377
|
+
Insert: {
|
|
44378
|
+
account_key?: string;
|
|
44379
|
+
address_line1?: string | null;
|
|
44380
|
+
chamber_of_commerce?: string | null;
|
|
44381
|
+
city?: string | null;
|
|
44382
|
+
code?: string | null;
|
|
44383
|
+
country?: string | null;
|
|
44384
|
+
created_at?: string;
|
|
44385
|
+
currency?: string | null;
|
|
44386
|
+
division_code?: number | null;
|
|
44387
|
+
email?: string | null;
|
|
44388
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44389
|
+
exact_id: string;
|
|
44390
|
+
exact_modified?: string | null;
|
|
44391
|
+
exact_timestamp?: number | null;
|
|
44392
|
+
id?: string;
|
|
44393
|
+
is_active?: boolean;
|
|
44394
|
+
name?: string | null;
|
|
44395
|
+
phone?: string | null;
|
|
44396
|
+
postcode?: string | null;
|
|
44397
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44398
|
+
status?: string | null;
|
|
44399
|
+
updated_at?: string;
|
|
44400
|
+
vat_number?: string | null;
|
|
44401
|
+
website?: string | null;
|
|
44402
|
+
};
|
|
44403
|
+
Update: {
|
|
44404
|
+
account_key?: string;
|
|
44405
|
+
address_line1?: string | null;
|
|
44406
|
+
chamber_of_commerce?: string | null;
|
|
44407
|
+
city?: string | null;
|
|
44408
|
+
code?: string | null;
|
|
44409
|
+
country?: string | null;
|
|
44410
|
+
created_at?: string;
|
|
44411
|
+
currency?: string | null;
|
|
44412
|
+
division_code?: number | null;
|
|
44413
|
+
email?: string | null;
|
|
44414
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44415
|
+
exact_id?: string;
|
|
44416
|
+
exact_modified?: string | null;
|
|
44417
|
+
exact_timestamp?: number | null;
|
|
44418
|
+
id?: string;
|
|
44419
|
+
is_active?: boolean;
|
|
44420
|
+
name?: string | null;
|
|
44421
|
+
phone?: string | null;
|
|
44422
|
+
postcode?: string | null;
|
|
44423
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44424
|
+
status?: string | null;
|
|
44425
|
+
updated_at?: string;
|
|
44426
|
+
vat_number?: string | null;
|
|
44427
|
+
website?: string | null;
|
|
44428
|
+
};
|
|
44429
|
+
Relationships: [];
|
|
44430
|
+
};
|
|
44431
|
+
exact_auth_divisions: {
|
|
44432
|
+
Row: {
|
|
44433
|
+
account_key: string;
|
|
44434
|
+
company_name: string | null;
|
|
44435
|
+
created_at: string;
|
|
44436
|
+
division_code: number | null;
|
|
44437
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44438
|
+
id: string;
|
|
44439
|
+
last_synced_at: string | null;
|
|
44440
|
+
updated_at: string;
|
|
44441
|
+
};
|
|
44442
|
+
Insert: {
|
|
44443
|
+
account_key?: string;
|
|
44444
|
+
company_name?: string | null;
|
|
44445
|
+
created_at?: string;
|
|
44446
|
+
division_code?: number | null;
|
|
44447
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44448
|
+
id?: string;
|
|
44449
|
+
last_synced_at?: string | null;
|
|
44450
|
+
updated_at?: string;
|
|
44451
|
+
};
|
|
44452
|
+
Update: {
|
|
44453
|
+
account_key?: string;
|
|
44454
|
+
company_name?: string | null;
|
|
44455
|
+
created_at?: string;
|
|
44456
|
+
division_code?: number | null;
|
|
44457
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44458
|
+
id?: string;
|
|
44459
|
+
last_synced_at?: string | null;
|
|
44460
|
+
updated_at?: string;
|
|
44461
|
+
};
|
|
44462
|
+
Relationships: [];
|
|
44463
|
+
};
|
|
44464
|
+
exact_auth_invoice_lines: {
|
|
44465
|
+
Row: {
|
|
44466
|
+
account_key: string;
|
|
44467
|
+
amount_excl: number | null;
|
|
44468
|
+
created_at: string;
|
|
44469
|
+
description: string | null;
|
|
44470
|
+
discount: number | null;
|
|
44471
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44472
|
+
exact_id: string;
|
|
44473
|
+
exact_timestamp: number | null;
|
|
44474
|
+
id: string;
|
|
44475
|
+
invoice_exact_id: string;
|
|
44476
|
+
item_code: string | null;
|
|
44477
|
+
item_exact_id: string | null;
|
|
44478
|
+
line_number: number | null;
|
|
44479
|
+
quantity: number | null;
|
|
44480
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44481
|
+
unit_price: number | null;
|
|
44482
|
+
updated_at: string;
|
|
44483
|
+
vat_amount: number | null;
|
|
44484
|
+
vat_code: string | null;
|
|
44485
|
+
};
|
|
44486
|
+
Insert: {
|
|
44487
|
+
account_key?: string;
|
|
44488
|
+
amount_excl?: number | null;
|
|
44489
|
+
created_at?: string;
|
|
44490
|
+
description?: string | null;
|
|
44491
|
+
discount?: number | null;
|
|
44492
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44493
|
+
exact_id: string;
|
|
44494
|
+
exact_timestamp?: number | null;
|
|
44495
|
+
id?: string;
|
|
44496
|
+
invoice_exact_id: string;
|
|
44497
|
+
item_code?: string | null;
|
|
44498
|
+
item_exact_id?: string | null;
|
|
44499
|
+
line_number?: number | null;
|
|
44500
|
+
quantity?: number | null;
|
|
44501
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44502
|
+
unit_price?: number | null;
|
|
44503
|
+
updated_at?: string;
|
|
44504
|
+
vat_amount?: number | null;
|
|
44505
|
+
vat_code?: string | null;
|
|
44506
|
+
};
|
|
44507
|
+
Update: {
|
|
44508
|
+
account_key?: string;
|
|
44509
|
+
amount_excl?: number | null;
|
|
44510
|
+
created_at?: string;
|
|
44511
|
+
description?: string | null;
|
|
44512
|
+
discount?: number | null;
|
|
44513
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44514
|
+
exact_id?: string;
|
|
44515
|
+
exact_timestamp?: number | null;
|
|
44516
|
+
id?: string;
|
|
44517
|
+
invoice_exact_id?: string;
|
|
44518
|
+
item_code?: string | null;
|
|
44519
|
+
item_exact_id?: string | null;
|
|
44520
|
+
line_number?: number | null;
|
|
44521
|
+
quantity?: number | null;
|
|
44522
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44523
|
+
unit_price?: number | null;
|
|
44524
|
+
updated_at?: string;
|
|
44525
|
+
vat_amount?: number | null;
|
|
44526
|
+
vat_code?: string | null;
|
|
42463
44527
|
};
|
|
42464
|
-
Relationships: [
|
|
42465
|
-
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
42466
|
-
columns: ["connection_id"];
|
|
42467
|
-
isOneToOne: false;
|
|
42468
|
-
referencedRelation: "email_auth_connections";
|
|
42469
|
-
referencedColumns: ["id"];
|
|
42470
|
-
}, {
|
|
42471
|
-
foreignKeyName: "email_auth_token_refresh_log_connection_id_fkey";
|
|
42472
|
-
columns: ["connection_id"];
|
|
42473
|
-
isOneToOne: false;
|
|
42474
|
-
referencedRelation: "email_auth_connections_safe";
|
|
42475
|
-
referencedColumns: ["id"];
|
|
42476
|
-
}];
|
|
44528
|
+
Relationships: [];
|
|
42477
44529
|
};
|
|
42478
|
-
|
|
44530
|
+
exact_auth_invoices: {
|
|
42479
44531
|
Row: {
|
|
42480
|
-
|
|
44532
|
+
account_key: string;
|
|
44533
|
+
amount_excl: number | null;
|
|
44534
|
+
amount_incl: number | null;
|
|
44535
|
+
amount_open: number | null;
|
|
42481
44536
|
created_at: string;
|
|
42482
|
-
|
|
42483
|
-
|
|
42484
|
-
|
|
42485
|
-
|
|
42486
|
-
|
|
44537
|
+
currency: string | null;
|
|
44538
|
+
customer_code: string | null;
|
|
44539
|
+
customer_exact_id: string | null;
|
|
44540
|
+
customer_name: string | null;
|
|
44541
|
+
description: string | null;
|
|
44542
|
+
division_code: number | null;
|
|
44543
|
+
due_date: string | null;
|
|
44544
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44545
|
+
exact_id: string;
|
|
44546
|
+
exact_modified: string | null;
|
|
44547
|
+
exact_timestamp: number | null;
|
|
42487
44548
|
id: string;
|
|
42488
|
-
|
|
42489
|
-
|
|
42490
|
-
|
|
42491
|
-
|
|
44549
|
+
invoice_date: string | null;
|
|
44550
|
+
invoice_number: string | null;
|
|
44551
|
+
order_number: string | null;
|
|
44552
|
+
paid_at: string | null;
|
|
44553
|
+
payment_status: string;
|
|
44554
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44555
|
+
receivable_synced_at: string | null;
|
|
44556
|
+
status_code: number | null;
|
|
42492
44557
|
updated_at: string;
|
|
42493
|
-
webhook_last_error: string | null;
|
|
42494
|
-
webhook_status: string | null;
|
|
42495
44558
|
};
|
|
42496
44559
|
Insert: {
|
|
42497
|
-
|
|
44560
|
+
account_key?: string;
|
|
44561
|
+
amount_excl?: number | null;
|
|
44562
|
+
amount_incl?: number | null;
|
|
44563
|
+
amount_open?: number | null;
|
|
42498
44564
|
created_at?: string;
|
|
42499
|
-
|
|
42500
|
-
|
|
42501
|
-
|
|
42502
|
-
|
|
42503
|
-
|
|
44565
|
+
currency?: string | null;
|
|
44566
|
+
customer_code?: string | null;
|
|
44567
|
+
customer_exact_id?: string | null;
|
|
44568
|
+
customer_name?: string | null;
|
|
44569
|
+
description?: string | null;
|
|
44570
|
+
division_code?: number | null;
|
|
44571
|
+
due_date?: string | null;
|
|
44572
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44573
|
+
exact_id: string;
|
|
44574
|
+
exact_modified?: string | null;
|
|
44575
|
+
exact_timestamp?: number | null;
|
|
42504
44576
|
id?: string;
|
|
42505
|
-
|
|
42506
|
-
|
|
42507
|
-
|
|
42508
|
-
|
|
44577
|
+
invoice_date?: string | null;
|
|
44578
|
+
invoice_number?: string | null;
|
|
44579
|
+
order_number?: string | null;
|
|
44580
|
+
paid_at?: string | null;
|
|
44581
|
+
payment_status?: string;
|
|
44582
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44583
|
+
receivable_synced_at?: string | null;
|
|
44584
|
+
status_code?: number | null;
|
|
42509
44585
|
updated_at?: string;
|
|
42510
|
-
webhook_last_error?: string | null;
|
|
42511
|
-
webhook_status?: string | null;
|
|
42512
44586
|
};
|
|
42513
44587
|
Update: {
|
|
42514
|
-
|
|
44588
|
+
account_key?: string;
|
|
44589
|
+
amount_excl?: number | null;
|
|
44590
|
+
amount_incl?: number | null;
|
|
44591
|
+
amount_open?: number | null;
|
|
42515
44592
|
created_at?: string;
|
|
42516
|
-
|
|
42517
|
-
|
|
42518
|
-
|
|
42519
|
-
|
|
42520
|
-
|
|
44593
|
+
currency?: string | null;
|
|
44594
|
+
customer_code?: string | null;
|
|
44595
|
+
customer_exact_id?: string | null;
|
|
44596
|
+
customer_name?: string | null;
|
|
44597
|
+
description?: string | null;
|
|
44598
|
+
division_code?: number | null;
|
|
44599
|
+
due_date?: string | null;
|
|
44600
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44601
|
+
exact_id?: string;
|
|
44602
|
+
exact_modified?: string | null;
|
|
44603
|
+
exact_timestamp?: number | null;
|
|
42521
44604
|
id?: string;
|
|
42522
|
-
|
|
42523
|
-
|
|
42524
|
-
|
|
42525
|
-
|
|
44605
|
+
invoice_date?: string | null;
|
|
44606
|
+
invoice_number?: string | null;
|
|
44607
|
+
order_number?: string | null;
|
|
44608
|
+
paid_at?: string | null;
|
|
44609
|
+
payment_status?: string;
|
|
44610
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44611
|
+
receivable_synced_at?: string | null;
|
|
44612
|
+
status_code?: number | null;
|
|
42526
44613
|
updated_at?: string;
|
|
42527
|
-
webhook_last_error?: string | null;
|
|
42528
|
-
webhook_status?: string | null;
|
|
42529
44614
|
};
|
|
42530
|
-
Relationships: [
|
|
42531
|
-
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
42532
|
-
columns: ["connection_id"];
|
|
42533
|
-
isOneToOne: false;
|
|
42534
|
-
referencedRelation: "email_auth_connections";
|
|
42535
|
-
referencedColumns: ["id"];
|
|
42536
|
-
}, {
|
|
42537
|
-
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
42538
|
-
columns: ["connection_id"];
|
|
42539
|
-
isOneToOne: false;
|
|
42540
|
-
referencedRelation: "email_auth_connections_safe";
|
|
42541
|
-
referencedColumns: ["id"];
|
|
42542
|
-
}];
|
|
44615
|
+
Relationships: [];
|
|
42543
44616
|
};
|
|
42544
|
-
|
|
44617
|
+
exact_auth_items: {
|
|
42545
44618
|
Row: {
|
|
42546
|
-
|
|
42547
|
-
|
|
44619
|
+
account_key: string;
|
|
44620
|
+
barcode: string | null;
|
|
44621
|
+
code: string | null;
|
|
44622
|
+
cost_price: number | null;
|
|
42548
44623
|
created_at: string;
|
|
42549
|
-
|
|
42550
|
-
|
|
44624
|
+
description: string | null;
|
|
44625
|
+
division_code: number | null;
|
|
44626
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44627
|
+
exact_id: string;
|
|
44628
|
+
exact_modified: string | null;
|
|
44629
|
+
exact_timestamp: number | null;
|
|
44630
|
+
gl_account_code: string | null;
|
|
42551
44631
|
id: string;
|
|
42552
|
-
|
|
42553
|
-
|
|
42554
|
-
|
|
42555
|
-
|
|
42556
|
-
|
|
44632
|
+
is_active: boolean;
|
|
44633
|
+
is_sales_item: boolean | null;
|
|
44634
|
+
item_type: string | null;
|
|
44635
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44636
|
+
sales_price: number | null;
|
|
44637
|
+
unit: string | null;
|
|
44638
|
+
updated_at: string;
|
|
44639
|
+
vat_code: string | null;
|
|
42557
44640
|
};
|
|
42558
44641
|
Insert: {
|
|
42559
|
-
|
|
42560
|
-
|
|
44642
|
+
account_key?: string;
|
|
44643
|
+
barcode?: string | null;
|
|
44644
|
+
code?: string | null;
|
|
44645
|
+
cost_price?: number | null;
|
|
42561
44646
|
created_at?: string;
|
|
42562
|
-
|
|
42563
|
-
|
|
44647
|
+
description?: string | null;
|
|
44648
|
+
division_code?: number | null;
|
|
44649
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44650
|
+
exact_id: string;
|
|
44651
|
+
exact_modified?: string | null;
|
|
44652
|
+
exact_timestamp?: number | null;
|
|
44653
|
+
gl_account_code?: string | null;
|
|
42564
44654
|
id?: string;
|
|
42565
|
-
|
|
42566
|
-
|
|
42567
|
-
|
|
42568
|
-
|
|
42569
|
-
|
|
44655
|
+
is_active?: boolean;
|
|
44656
|
+
is_sales_item?: boolean | null;
|
|
44657
|
+
item_type?: string | null;
|
|
44658
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44659
|
+
sales_price?: number | null;
|
|
44660
|
+
unit?: string | null;
|
|
44661
|
+
updated_at?: string;
|
|
44662
|
+
vat_code?: string | null;
|
|
42570
44663
|
};
|
|
42571
44664
|
Update: {
|
|
42572
|
-
|
|
42573
|
-
|
|
44665
|
+
account_key?: string;
|
|
44666
|
+
barcode?: string | null;
|
|
44667
|
+
code?: string | null;
|
|
44668
|
+
cost_price?: number | null;
|
|
42574
44669
|
created_at?: string;
|
|
42575
|
-
|
|
42576
|
-
|
|
44670
|
+
description?: string | null;
|
|
44671
|
+
division_code?: number | null;
|
|
44672
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44673
|
+
exact_id?: string;
|
|
44674
|
+
exact_modified?: string | null;
|
|
44675
|
+
exact_timestamp?: number | null;
|
|
44676
|
+
gl_account_code?: string | null;
|
|
42577
44677
|
id?: string;
|
|
42578
|
-
|
|
42579
|
-
|
|
42580
|
-
|
|
42581
|
-
|
|
42582
|
-
|
|
44678
|
+
is_active?: boolean;
|
|
44679
|
+
is_sales_item?: boolean | null;
|
|
44680
|
+
item_type?: string | null;
|
|
44681
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44682
|
+
sales_price?: number | null;
|
|
44683
|
+
unit?: string | null;
|
|
44684
|
+
updated_at?: string;
|
|
44685
|
+
vat_code?: string | null;
|
|
42583
44686
|
};
|
|
42584
|
-
Relationships: [
|
|
42585
|
-
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
42586
|
-
columns: ["connection_id"];
|
|
42587
|
-
isOneToOne: false;
|
|
42588
|
-
referencedRelation: "email_auth_connections";
|
|
42589
|
-
referencedColumns: ["id"];
|
|
42590
|
-
}, {
|
|
42591
|
-
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
42592
|
-
columns: ["connection_id"];
|
|
42593
|
-
isOneToOne: false;
|
|
42594
|
-
referencedRelation: "email_auth_connections_safe";
|
|
42595
|
-
referencedColumns: ["id"];
|
|
42596
|
-
}];
|
|
44687
|
+
Relationships: [];
|
|
42597
44688
|
};
|
|
42598
|
-
|
|
44689
|
+
exact_auth_sync_log: {
|
|
42599
44690
|
Row: {
|
|
42600
|
-
|
|
42601
|
-
|
|
42602
|
-
|
|
42603
|
-
|
|
42604
|
-
|
|
42605
|
-
|
|
44691
|
+
account_key: string;
|
|
44692
|
+
calls_used: number;
|
|
44693
|
+
created_at: string;
|
|
44694
|
+
domain: string;
|
|
44695
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44696
|
+
error: string | null;
|
|
44697
|
+
finished_at: string | null;
|
|
42606
44698
|
id: string;
|
|
42607
|
-
|
|
42608
|
-
|
|
42609
|
-
|
|
42610
|
-
open_balance: number | null;
|
|
42611
|
-
overdue_balance: number | null;
|
|
42612
|
-
total_revenue: number | null;
|
|
44699
|
+
ok: boolean;
|
|
44700
|
+
records: number;
|
|
44701
|
+
started_at: string;
|
|
42613
44702
|
};
|
|
42614
44703
|
Insert: {
|
|
42615
|
-
|
|
42616
|
-
|
|
42617
|
-
|
|
42618
|
-
|
|
42619
|
-
|
|
42620
|
-
|
|
44704
|
+
account_key?: string;
|
|
44705
|
+
calls_used?: number;
|
|
44706
|
+
created_at?: string;
|
|
44707
|
+
domain: string;
|
|
44708
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44709
|
+
error?: string | null;
|
|
44710
|
+
finished_at?: string | null;
|
|
42621
44711
|
id?: string;
|
|
42622
|
-
|
|
42623
|
-
|
|
42624
|
-
|
|
42625
|
-
open_balance?: number | null;
|
|
42626
|
-
overdue_balance?: number | null;
|
|
42627
|
-
total_revenue?: number | null;
|
|
44712
|
+
ok?: boolean;
|
|
44713
|
+
records?: number;
|
|
44714
|
+
started_at?: string;
|
|
42628
44715
|
};
|
|
42629
44716
|
Update: {
|
|
42630
|
-
|
|
42631
|
-
|
|
42632
|
-
|
|
42633
|
-
|
|
42634
|
-
|
|
42635
|
-
|
|
44717
|
+
account_key?: string;
|
|
44718
|
+
calls_used?: number;
|
|
44719
|
+
created_at?: string;
|
|
44720
|
+
domain?: string;
|
|
44721
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44722
|
+
error?: string | null;
|
|
44723
|
+
finished_at?: string | null;
|
|
42636
44724
|
id?: string;
|
|
42637
|
-
|
|
42638
|
-
|
|
42639
|
-
|
|
42640
|
-
open_balance?: number | null;
|
|
42641
|
-
overdue_balance?: number | null;
|
|
42642
|
-
total_revenue?: number | null;
|
|
44725
|
+
ok?: boolean;
|
|
44726
|
+
records?: number;
|
|
44727
|
+
started_at?: string;
|
|
42643
44728
|
};
|
|
42644
|
-
Relationships: [
|
|
42645
|
-
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
42646
|
-
columns: ["connection_id"];
|
|
42647
|
-
isOneToOne: false;
|
|
42648
|
-
referencedRelation: "exact_connections";
|
|
42649
|
-
referencedColumns: ["id"];
|
|
42650
|
-
}];
|
|
44729
|
+
Relationships: [];
|
|
42651
44730
|
};
|
|
42652
|
-
|
|
44731
|
+
exact_auth_sync_state: {
|
|
42653
44732
|
Row: {
|
|
42654
|
-
|
|
42655
|
-
|
|
42656
|
-
|
|
42657
|
-
|
|
42658
|
-
|
|
42659
|
-
|
|
42660
|
-
|
|
42661
|
-
|
|
42662
|
-
|
|
42663
|
-
|
|
42664
|
-
|
|
42665
|
-
|
|
42666
|
-
|
|
44733
|
+
account_key: string;
|
|
44734
|
+
created_at: string;
|
|
44735
|
+
cursor_timestamp: number;
|
|
44736
|
+
division_code: number | null;
|
|
44737
|
+
domain: string;
|
|
44738
|
+
duration_ms: number | null;
|
|
44739
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44740
|
+
initial_sync_done: boolean;
|
|
44741
|
+
last_error: string | null;
|
|
44742
|
+
last_run_at: string | null;
|
|
44743
|
+
last_success_at: string | null;
|
|
44744
|
+
locked_at: string | null;
|
|
44745
|
+
needs_initial_sync: boolean;
|
|
44746
|
+
record_count: number;
|
|
44747
|
+
updated_at: string;
|
|
42667
44748
|
};
|
|
42668
44749
|
Insert: {
|
|
42669
|
-
|
|
42670
|
-
|
|
42671
|
-
|
|
42672
|
-
|
|
42673
|
-
|
|
42674
|
-
|
|
42675
|
-
|
|
42676
|
-
|
|
42677
|
-
|
|
42678
|
-
|
|
42679
|
-
|
|
42680
|
-
|
|
42681
|
-
|
|
44750
|
+
account_key?: string;
|
|
44751
|
+
created_at?: string;
|
|
44752
|
+
cursor_timestamp?: number;
|
|
44753
|
+
division_code?: number | null;
|
|
44754
|
+
domain: string;
|
|
44755
|
+
duration_ms?: number | null;
|
|
44756
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44757
|
+
initial_sync_done?: boolean;
|
|
44758
|
+
last_error?: string | null;
|
|
44759
|
+
last_run_at?: string | null;
|
|
44760
|
+
last_success_at?: string | null;
|
|
44761
|
+
locked_at?: string | null;
|
|
44762
|
+
needs_initial_sync?: boolean;
|
|
44763
|
+
record_count?: number;
|
|
44764
|
+
updated_at?: string;
|
|
42682
44765
|
};
|
|
42683
44766
|
Update: {
|
|
42684
|
-
|
|
42685
|
-
|
|
42686
|
-
|
|
42687
|
-
|
|
42688
|
-
|
|
42689
|
-
|
|
42690
|
-
|
|
42691
|
-
|
|
42692
|
-
|
|
42693
|
-
|
|
42694
|
-
|
|
42695
|
-
|
|
42696
|
-
|
|
44767
|
+
account_key?: string;
|
|
44768
|
+
created_at?: string;
|
|
44769
|
+
cursor_timestamp?: number;
|
|
44770
|
+
division_code?: number | null;
|
|
44771
|
+
domain?: string;
|
|
44772
|
+
duration_ms?: number | null;
|
|
44773
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44774
|
+
initial_sync_done?: boolean;
|
|
44775
|
+
last_error?: string | null;
|
|
44776
|
+
last_run_at?: string | null;
|
|
44777
|
+
last_success_at?: string | null;
|
|
44778
|
+
locked_at?: string | null;
|
|
44779
|
+
needs_initial_sync?: boolean;
|
|
44780
|
+
record_count?: number;
|
|
44781
|
+
updated_at?: string;
|
|
42697
44782
|
};
|
|
42698
|
-
Relationships: [
|
|
42699
|
-
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
42700
|
-
columns: ["connection_id"];
|
|
42701
|
-
isOneToOne: false;
|
|
42702
|
-
referencedRelation: "exact_connections";
|
|
42703
|
-
referencedColumns: ["id"];
|
|
42704
|
-
}];
|
|
44783
|
+
Relationships: [];
|
|
42705
44784
|
};
|
|
42706
44785
|
exact_bulk_operation_items: {
|
|
42707
44786
|
Row: {
|
|
@@ -47365,6 +49444,66 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47365
49444
|
};
|
|
47366
49445
|
Relationships: [];
|
|
47367
49446
|
};
|
|
49447
|
+
logistics_recalc_jobs: {
|
|
49448
|
+
Row: {
|
|
49449
|
+
carts_created: number;
|
|
49450
|
+
created_at: string;
|
|
49451
|
+
cursor: string | null;
|
|
49452
|
+
errors: import("../integrations/supabase/types").Json;
|
|
49453
|
+
failed: number;
|
|
49454
|
+
finished_at: string | null;
|
|
49455
|
+
id: string;
|
|
49456
|
+
last_tick_at: string | null;
|
|
49457
|
+
phase: string;
|
|
49458
|
+
processed: number;
|
|
49459
|
+
skipped_locked: number;
|
|
49460
|
+
started_by: string | null;
|
|
49461
|
+
status: string;
|
|
49462
|
+
steps: import("../integrations/supabase/types").Json;
|
|
49463
|
+
strategy_id: string | null;
|
|
49464
|
+
tasks_updated: number;
|
|
49465
|
+
updated_at: string;
|
|
49466
|
+
};
|
|
49467
|
+
Insert: {
|
|
49468
|
+
carts_created?: number;
|
|
49469
|
+
created_at?: string;
|
|
49470
|
+
cursor?: string | null;
|
|
49471
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
49472
|
+
failed?: number;
|
|
49473
|
+
finished_at?: string | null;
|
|
49474
|
+
id?: string;
|
|
49475
|
+
last_tick_at?: string | null;
|
|
49476
|
+
phase?: string;
|
|
49477
|
+
processed?: number;
|
|
49478
|
+
skipped_locked?: number;
|
|
49479
|
+
started_by?: string | null;
|
|
49480
|
+
status?: string;
|
|
49481
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
49482
|
+
strategy_id?: string | null;
|
|
49483
|
+
tasks_updated?: number;
|
|
49484
|
+
updated_at?: string;
|
|
49485
|
+
};
|
|
49486
|
+
Update: {
|
|
49487
|
+
carts_created?: number;
|
|
49488
|
+
created_at?: string;
|
|
49489
|
+
cursor?: string | null;
|
|
49490
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
49491
|
+
failed?: number;
|
|
49492
|
+
finished_at?: string | null;
|
|
49493
|
+
id?: string;
|
|
49494
|
+
last_tick_at?: string | null;
|
|
49495
|
+
phase?: string;
|
|
49496
|
+
processed?: number;
|
|
49497
|
+
skipped_locked?: number;
|
|
49498
|
+
started_by?: string | null;
|
|
49499
|
+
status?: string;
|
|
49500
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
49501
|
+
strategy_id?: string | null;
|
|
49502
|
+
tasks_updated?: number;
|
|
49503
|
+
updated_at?: string;
|
|
49504
|
+
};
|
|
49505
|
+
Relationships: [];
|
|
49506
|
+
};
|
|
47368
49507
|
logistics_reschedules: {
|
|
47369
49508
|
Row: {
|
|
47370
49509
|
created_at: string;
|
|
@@ -47727,6 +49866,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47727
49866
|
};
|
|
47728
49867
|
logistics_tasks: {
|
|
47729
49868
|
Row: {
|
|
49869
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
49870
|
+
attempts: number;
|
|
47730
49871
|
buffer_ref: string | null;
|
|
47731
49872
|
claimed_at: string | null;
|
|
47732
49873
|
claimed_by: string | null;
|
|
@@ -47736,6 +49877,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47736
49877
|
due_at: string | null;
|
|
47737
49878
|
error: string | null;
|
|
47738
49879
|
id: string;
|
|
49880
|
+
last_error: string | null;
|
|
49881
|
+
next_attempt_at: string | null;
|
|
47739
49882
|
order_ref: string;
|
|
47740
49883
|
owner_module: string;
|
|
47741
49884
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -47756,6 +49899,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47756
49899
|
user_id: string;
|
|
47757
49900
|
};
|
|
47758
49901
|
Insert: {
|
|
49902
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
49903
|
+
attempts?: number;
|
|
47759
49904
|
buffer_ref?: string | null;
|
|
47760
49905
|
claimed_at?: string | null;
|
|
47761
49906
|
claimed_by?: string | null;
|
|
@@ -47765,6 +49910,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47765
49910
|
due_at?: string | null;
|
|
47766
49911
|
error?: string | null;
|
|
47767
49912
|
id?: string;
|
|
49913
|
+
last_error?: string | null;
|
|
49914
|
+
next_attempt_at?: string | null;
|
|
47768
49915
|
order_ref: string;
|
|
47769
49916
|
owner_module: string;
|
|
47770
49917
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -47785,6 +49932,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47785
49932
|
user_id?: string;
|
|
47786
49933
|
};
|
|
47787
49934
|
Update: {
|
|
49935
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
49936
|
+
attempts?: number;
|
|
47788
49937
|
buffer_ref?: string | null;
|
|
47789
49938
|
claimed_at?: string | null;
|
|
47790
49939
|
claimed_by?: string | null;
|
|
@@ -47794,6 +49943,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
47794
49943
|
due_at?: string | null;
|
|
47795
49944
|
error?: string | null;
|
|
47796
49945
|
id?: string;
|
|
49946
|
+
last_error?: string | null;
|
|
49947
|
+
next_attempt_at?: string | null;
|
|
47797
49948
|
order_ref?: string;
|
|
47798
49949
|
owner_module?: string;
|
|
47799
49950
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49143,6 +51294,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
49143
51294
|
};
|
|
49144
51295
|
offer_settings: {
|
|
49145
51296
|
Row: {
|
|
51297
|
+
brand_name: string | null;
|
|
49146
51298
|
button_color: string;
|
|
49147
51299
|
created_at: string;
|
|
49148
51300
|
default_countries: string[];
|
|
@@ -49164,6 +51316,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
49164
51316
|
updated_at: string;
|
|
49165
51317
|
};
|
|
49166
51318
|
Insert: {
|
|
51319
|
+
brand_name?: string | null;
|
|
49167
51320
|
button_color?: string;
|
|
49168
51321
|
created_at?: string;
|
|
49169
51322
|
default_countries?: string[];
|
|
@@ -49185,6 +51338,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
49185
51338
|
updated_at?: string;
|
|
49186
51339
|
};
|
|
49187
51340
|
Update: {
|
|
51341
|
+
brand_name?: string | null;
|
|
49188
51342
|
button_color?: string;
|
|
49189
51343
|
created_at?: string;
|
|
49190
51344
|
default_countries?: string[];
|
|
@@ -52594,6 +54748,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52594
54748
|
buffer_key: string | null;
|
|
52595
54749
|
created_at: string;
|
|
52596
54750
|
customer_names: string[];
|
|
54751
|
+
device_id: string | null;
|
|
52597
54752
|
geprint: boolean;
|
|
52598
54753
|
geprint_op: string | null;
|
|
52599
54754
|
id: string;
|
|
@@ -52603,6 +54758,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52603
54758
|
naar_pickstation: boolean;
|
|
52604
54759
|
naar_pickstation_op: string | null;
|
|
52605
54760
|
order_number: string | null;
|
|
54761
|
+
scanner_id: string | null;
|
|
52606
54762
|
scanner_key: string;
|
|
52607
54763
|
status: string;
|
|
52608
54764
|
totaal_producten: number;
|
|
@@ -52613,6 +54769,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52613
54769
|
buffer_key?: string | null;
|
|
52614
54770
|
created_at?: string;
|
|
52615
54771
|
customer_names?: string[];
|
|
54772
|
+
device_id?: string | null;
|
|
52616
54773
|
geprint?: boolean;
|
|
52617
54774
|
geprint_op?: string | null;
|
|
52618
54775
|
id?: string;
|
|
@@ -52622,6 +54779,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52622
54779
|
naar_pickstation?: boolean;
|
|
52623
54780
|
naar_pickstation_op?: string | null;
|
|
52624
54781
|
order_number?: string | null;
|
|
54782
|
+
scanner_id?: string | null;
|
|
52625
54783
|
scanner_key?: string;
|
|
52626
54784
|
status?: string;
|
|
52627
54785
|
totaal_producten?: number;
|
|
@@ -52632,6 +54790,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52632
54790
|
buffer_key?: string | null;
|
|
52633
54791
|
created_at?: string;
|
|
52634
54792
|
customer_names?: string[];
|
|
54793
|
+
device_id?: string | null;
|
|
52635
54794
|
geprint?: boolean;
|
|
52636
54795
|
geprint_op?: string | null;
|
|
52637
54796
|
id?: string;
|
|
@@ -52641,6 +54800,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52641
54800
|
naar_pickstation?: boolean;
|
|
52642
54801
|
naar_pickstation_op?: string | null;
|
|
52643
54802
|
order_number?: string | null;
|
|
54803
|
+
scanner_id?: string | null;
|
|
52644
54804
|
scanner_key?: string;
|
|
52645
54805
|
status?: string;
|
|
52646
54806
|
totaal_producten?: number;
|
|
@@ -52652,31 +54812,46 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52652
54812
|
Row: {
|
|
52653
54813
|
code: string;
|
|
52654
54814
|
created_at: string;
|
|
54815
|
+
device_id: string | null;
|
|
52655
54816
|
id: string;
|
|
52656
54817
|
kar_id: string | null;
|
|
54818
|
+
latency_ms: number | null;
|
|
54819
|
+
medewerker_naam: string | null;
|
|
52657
54820
|
message: string | null;
|
|
52658
54821
|
result: string;
|
|
54822
|
+
retry_count: number;
|
|
52659
54823
|
scanner_key: string;
|
|
54824
|
+
session_id: string | null;
|
|
52660
54825
|
user_id: string | null;
|
|
52661
54826
|
};
|
|
52662
54827
|
Insert: {
|
|
52663
54828
|
code: string;
|
|
52664
54829
|
created_at?: string;
|
|
54830
|
+
device_id?: string | null;
|
|
52665
54831
|
id?: string;
|
|
52666
54832
|
kar_id?: string | null;
|
|
54833
|
+
latency_ms?: number | null;
|
|
54834
|
+
medewerker_naam?: string | null;
|
|
52667
54835
|
message?: string | null;
|
|
52668
54836
|
result: string;
|
|
54837
|
+
retry_count?: number;
|
|
52669
54838
|
scanner_key?: string;
|
|
54839
|
+
session_id?: string | null;
|
|
52670
54840
|
user_id?: string | null;
|
|
52671
54841
|
};
|
|
52672
54842
|
Update: {
|
|
52673
54843
|
code?: string;
|
|
52674
54844
|
created_at?: string;
|
|
54845
|
+
device_id?: string | null;
|
|
52675
54846
|
id?: string;
|
|
52676
54847
|
kar_id?: string | null;
|
|
54848
|
+
latency_ms?: number | null;
|
|
54849
|
+
medewerker_naam?: string | null;
|
|
52677
54850
|
message?: string | null;
|
|
52678
54851
|
result?: string;
|
|
54852
|
+
retry_count?: number;
|
|
52679
54853
|
scanner_key?: string;
|
|
54854
|
+
session_id?: string | null;
|
|
52680
54855
|
user_id?: string | null;
|
|
52681
54856
|
};
|
|
52682
54857
|
Relationships: [];
|
|
@@ -52733,6 +54908,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52733
54908
|
printed_at: string;
|
|
52734
54909
|
status: string;
|
|
52735
54910
|
updated_at: string;
|
|
54911
|
+
vergrendeld_door: string | null;
|
|
54912
|
+
vergrendeld_sessie: string | null;
|
|
54913
|
+
vergrendeld_tot: string | null;
|
|
52736
54914
|
};
|
|
52737
54915
|
Insert: {
|
|
52738
54916
|
barcode: string;
|
|
@@ -52746,6 +54924,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52746
54924
|
printed_at?: string;
|
|
52747
54925
|
status?: string;
|
|
52748
54926
|
updated_at?: string;
|
|
54927
|
+
vergrendeld_door?: string | null;
|
|
54928
|
+
vergrendeld_sessie?: string | null;
|
|
54929
|
+
vergrendeld_tot?: string | null;
|
|
52749
54930
|
};
|
|
52750
54931
|
Update: {
|
|
52751
54932
|
barcode?: string;
|
|
@@ -52759,6 +54940,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52759
54940
|
printed_at?: string;
|
|
52760
54941
|
status?: string;
|
|
52761
54942
|
updated_at?: string;
|
|
54943
|
+
vergrendeld_door?: string | null;
|
|
54944
|
+
vergrendeld_sessie?: string | null;
|
|
54945
|
+
vergrendeld_tot?: string | null;
|
|
52762
54946
|
};
|
|
52763
54947
|
Relationships: [];
|
|
52764
54948
|
};
|
|
@@ -52767,31 +54951,40 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
52767
54951
|
actief: boolean;
|
|
52768
54952
|
created_at: string;
|
|
52769
54953
|
id: string;
|
|
54954
|
+
max_producten_per_kar: number | null;
|
|
52770
54955
|
naam: string;
|
|
52771
54956
|
omschrijving: string | null;
|
|
54957
|
+
pincode: string | null;
|
|
52772
54958
|
slug: string;
|
|
52773
54959
|
type: string;
|
|
52774
54960
|
updated_at: string;
|
|
54961
|
+
vereist_medewerker: boolean;
|
|
52775
54962
|
};
|
|
52776
54963
|
Insert: {
|
|
52777
54964
|
actief?: boolean;
|
|
52778
54965
|
created_at?: string;
|
|
52779
54966
|
id?: string;
|
|
54967
|
+
max_producten_per_kar?: number | null;
|
|
52780
54968
|
naam: string;
|
|
52781
54969
|
omschrijving?: string | null;
|
|
54970
|
+
pincode?: string | null;
|
|
52782
54971
|
slug: string;
|
|
52783
54972
|
type?: string;
|
|
52784
54973
|
updated_at?: string;
|
|
54974
|
+
vereist_medewerker?: boolean;
|
|
52785
54975
|
};
|
|
52786
54976
|
Update: {
|
|
52787
54977
|
actief?: boolean;
|
|
52788
54978
|
created_at?: string;
|
|
52789
54979
|
id?: string;
|
|
54980
|
+
max_producten_per_kar?: number | null;
|
|
52790
54981
|
naam?: string;
|
|
52791
54982
|
omschrijving?: string | null;
|
|
54983
|
+
pincode?: string | null;
|
|
52792
54984
|
slug?: string;
|
|
52793
54985
|
type?: string;
|
|
52794
54986
|
updated_at?: string;
|
|
54987
|
+
vereist_medewerker?: boolean;
|
|
52795
54988
|
};
|
|
52796
54989
|
Relationships: [];
|
|
52797
54990
|
};
|
|
@@ -56756,6 +58949,54 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
56756
58949
|
};
|
|
56757
58950
|
Returns: import("../integrations/supabase/types").Json;
|
|
56758
58951
|
};
|
|
58952
|
+
claim_logistics_tasks: {
|
|
58953
|
+
Args: {
|
|
58954
|
+
_limit?: number;
|
|
58955
|
+
_owner_module: string;
|
|
58956
|
+
_stale_minutes?: number;
|
|
58957
|
+
_task_type: string;
|
|
58958
|
+
_worker: string;
|
|
58959
|
+
};
|
|
58960
|
+
Returns: {
|
|
58961
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
58962
|
+
attempts: number;
|
|
58963
|
+
buffer_ref: string | null;
|
|
58964
|
+
claimed_at: string | null;
|
|
58965
|
+
claimed_by: string | null;
|
|
58966
|
+
completed_at: string | null;
|
|
58967
|
+
created_at: string;
|
|
58968
|
+
depends_on: string[];
|
|
58969
|
+
due_at: string | null;
|
|
58970
|
+
error: string | null;
|
|
58971
|
+
id: string;
|
|
58972
|
+
last_error: string | null;
|
|
58973
|
+
next_attempt_at: string | null;
|
|
58974
|
+
order_ref: string;
|
|
58975
|
+
owner_module: string;
|
|
58976
|
+
payload: import("../integrations/supabase/types").Json;
|
|
58977
|
+
plan_run_id: string | null;
|
|
58978
|
+
planned_end: string | null;
|
|
58979
|
+
planned_start: string | null;
|
|
58980
|
+
priority: number;
|
|
58981
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
58982
|
+
rule_config_id: string | null;
|
|
58983
|
+
rule_version: number | null;
|
|
58984
|
+
sequence: number;
|
|
58985
|
+
shadow: boolean;
|
|
58986
|
+
started_at: string | null;
|
|
58987
|
+
status: string;
|
|
58988
|
+
strategy_id: string | null;
|
|
58989
|
+
task_type: string;
|
|
58990
|
+
updated_at: string;
|
|
58991
|
+
user_id: string;
|
|
58992
|
+
}[];
|
|
58993
|
+
SetofOptions: {
|
|
58994
|
+
from: "*";
|
|
58995
|
+
to: "logistics_tasks";
|
|
58996
|
+
isOneToOne: false;
|
|
58997
|
+
isSetofReturn: true;
|
|
58998
|
+
};
|
|
58999
|
+
};
|
|
56759
59000
|
claim_print_jobs: {
|
|
56760
59001
|
Args: {
|
|
56761
59002
|
_agent_id: string;
|
|
@@ -56996,6 +59237,21 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
56996
59237
|
Args: never;
|
|
56997
59238
|
Returns: string;
|
|
56998
59239
|
};
|
|
59240
|
+
exact_auth_consume_calls: {
|
|
59241
|
+
Args: {
|
|
59242
|
+
_account_key: string;
|
|
59243
|
+
_calls?: number;
|
|
59244
|
+
_day_limit?: number;
|
|
59245
|
+
_division_code: number;
|
|
59246
|
+
_environment: string;
|
|
59247
|
+
_minute_limit?: number;
|
|
59248
|
+
};
|
|
59249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59250
|
+
};
|
|
59251
|
+
exact_auth_prune_sync_log: {
|
|
59252
|
+
Args: never;
|
|
59253
|
+
Returns: undefined;
|
|
59254
|
+
};
|
|
56999
59255
|
exact_decrypt: {
|
|
57000
59256
|
Args: {
|
|
57001
59257
|
cipher: string;
|
|
@@ -57205,6 +59461,10 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57205
59461
|
};
|
|
57206
59462
|
Returns: number;
|
|
57207
59463
|
};
|
|
59464
|
+
get_offer_branding: {
|
|
59465
|
+
Args: never;
|
|
59466
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59467
|
+
};
|
|
57208
59468
|
get_offer_by_link_code: {
|
|
57209
59469
|
Args: {
|
|
57210
59470
|
p_code: string;
|
|
@@ -57376,6 +59636,10 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57376
59636
|
};
|
|
57377
59637
|
Returns: string;
|
|
57378
59638
|
};
|
|
59639
|
+
logistics_active_pick_workdays: {
|
|
59640
|
+
Args: never;
|
|
59641
|
+
Returns: string[];
|
|
59642
|
+
};
|
|
57379
59643
|
logistics_address_key: {
|
|
57380
59644
|
Args: {
|
|
57381
59645
|
p_location: string;
|
|
@@ -57492,6 +59756,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57492
59756
|
p_worker?: string;
|
|
57493
59757
|
};
|
|
57494
59758
|
Returns: {
|
|
59759
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59760
|
+
attempts: number;
|
|
57495
59761
|
buffer_ref: string | null;
|
|
57496
59762
|
claimed_at: string | null;
|
|
57497
59763
|
claimed_by: string | null;
|
|
@@ -57501,6 +59767,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57501
59767
|
due_at: string | null;
|
|
57502
59768
|
error: string | null;
|
|
57503
59769
|
id: string;
|
|
59770
|
+
last_error: string | null;
|
|
59771
|
+
next_attempt_at: string | null;
|
|
57504
59772
|
order_ref: string;
|
|
57505
59773
|
owner_module: string;
|
|
57506
59774
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57533,6 +59801,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57533
59801
|
p_worker?: string;
|
|
57534
59802
|
};
|
|
57535
59803
|
Returns: {
|
|
59804
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59805
|
+
attempts: number;
|
|
57536
59806
|
buffer_ref: string | null;
|
|
57537
59807
|
claimed_at: string | null;
|
|
57538
59808
|
claimed_by: string | null;
|
|
@@ -57542,6 +59812,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57542
59812
|
due_at: string | null;
|
|
57543
59813
|
error: string | null;
|
|
57544
59814
|
id: string;
|
|
59815
|
+
last_error: string | null;
|
|
59816
|
+
next_attempt_at: string | null;
|
|
57545
59817
|
order_ref: string;
|
|
57546
59818
|
owner_module: string;
|
|
57547
59819
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57574,6 +59846,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57574
59846
|
p_task_id: string;
|
|
57575
59847
|
};
|
|
57576
59848
|
Returns: {
|
|
59849
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59850
|
+
attempts: number;
|
|
57577
59851
|
buffer_ref: string | null;
|
|
57578
59852
|
claimed_at: string | null;
|
|
57579
59853
|
claimed_by: string | null;
|
|
@@ -57583,6 +59857,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57583
59857
|
due_at: string | null;
|
|
57584
59858
|
error: string | null;
|
|
57585
59859
|
id: string;
|
|
59860
|
+
last_error: string | null;
|
|
59861
|
+
next_attempt_at: string | null;
|
|
57586
59862
|
order_ref: string;
|
|
57587
59863
|
owner_module: string;
|
|
57588
59864
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57664,6 +59940,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57664
59940
|
p_task_id: string;
|
|
57665
59941
|
};
|
|
57666
59942
|
Returns: {
|
|
59943
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59944
|
+
attempts: number;
|
|
57667
59945
|
buffer_ref: string | null;
|
|
57668
59946
|
claimed_at: string | null;
|
|
57669
59947
|
claimed_by: string | null;
|
|
@@ -57673,6 +59951,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57673
59951
|
due_at: string | null;
|
|
57674
59952
|
error: string | null;
|
|
57675
59953
|
id: string;
|
|
59954
|
+
last_error: string | null;
|
|
59955
|
+
next_attempt_at: string | null;
|
|
57676
59956
|
order_ref: string;
|
|
57677
59957
|
owner_module: string;
|
|
57678
59958
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -57699,12 +59979,30 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57699
59979
|
isSetofReturn: false;
|
|
57700
59980
|
};
|
|
57701
59981
|
};
|
|
59982
|
+
logistics_live_carriers: {
|
|
59983
|
+
Args: {
|
|
59984
|
+
p_order_ref: string;
|
|
59985
|
+
};
|
|
59986
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59987
|
+
};
|
|
59988
|
+
logistics_live_cart_count: {
|
|
59989
|
+
Args: {
|
|
59990
|
+
p_order_ref: string;
|
|
59991
|
+
};
|
|
59992
|
+
Returns: number;
|
|
59993
|
+
};
|
|
57702
59994
|
logistics_not_past: {
|
|
57703
59995
|
Args: {
|
|
57704
59996
|
p_ts: string;
|
|
57705
59997
|
};
|
|
57706
59998
|
Returns: string;
|
|
57707
59999
|
};
|
|
60000
|
+
logistics_order_cart_count: {
|
|
60001
|
+
Args: {
|
|
60002
|
+
p_order_ref: string;
|
|
60003
|
+
};
|
|
60004
|
+
Returns: number;
|
|
60005
|
+
};
|
|
57708
60006
|
logistics_order_pick_day: {
|
|
57709
60007
|
Args: {
|
|
57710
60008
|
p_order_ref: string;
|
|
@@ -57881,6 +60179,13 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
57881
60179
|
};
|
|
57882
60180
|
Returns: import("../integrations/supabase/types").Json;
|
|
57883
60181
|
};
|
|
60182
|
+
logistics_shift_to_workday: {
|
|
60183
|
+
Args: {
|
|
60184
|
+
p_days: string[];
|
|
60185
|
+
p_ts: string;
|
|
60186
|
+
};
|
|
60187
|
+
Returns: string;
|
|
60188
|
+
};
|
|
57884
60189
|
logistics_supersede_stale_tasks: {
|
|
57885
60190
|
Args: {
|
|
57886
60191
|
p_keep: string[];
|
|
@@ -58166,6 +60471,10 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
58166
60471
|
isSetofReturn: false;
|
|
58167
60472
|
};
|
|
58168
60473
|
};
|
|
60474
|
+
pick_current_pick_day: {
|
|
60475
|
+
Args: never;
|
|
60476
|
+
Returns: string;
|
|
60477
|
+
};
|
|
58169
60478
|
pick_document_layout_data: {
|
|
58170
60479
|
Args: {
|
|
58171
60480
|
_layout_id: string;
|
|
@@ -58397,10 +60706,68 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
58397
60706
|
Args: never;
|
|
58398
60707
|
Returns: undefined;
|
|
58399
60708
|
};
|
|
60709
|
+
run_logistics_tasks_dispatch: {
|
|
60710
|
+
Args: never;
|
|
60711
|
+
Returns: undefined;
|
|
60712
|
+
};
|
|
58400
60713
|
run_twinfield_queue_tick: {
|
|
58401
60714
|
Args: never;
|
|
58402
60715
|
Returns: undefined;
|
|
58403
60716
|
};
|
|
60717
|
+
scan_cancel_kar: {
|
|
60718
|
+
Args: {
|
|
60719
|
+
p_kar_id: string;
|
|
60720
|
+
};
|
|
60721
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60722
|
+
};
|
|
60723
|
+
scan_dashboard_stats: {
|
|
60724
|
+
Args: {
|
|
60725
|
+
p_dagen?: number;
|
|
60726
|
+
};
|
|
60727
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60728
|
+
};
|
|
60729
|
+
scan_finish_kar: {
|
|
60730
|
+
Args: {
|
|
60731
|
+
p_kar_id: string;
|
|
60732
|
+
};
|
|
60733
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60734
|
+
};
|
|
60735
|
+
scan_register_item: {
|
|
60736
|
+
Args: {
|
|
60737
|
+
p_kar_id: string;
|
|
60738
|
+
p_pakbon_item_id: string;
|
|
60739
|
+
p_scanned_by?: string;
|
|
60740
|
+
};
|
|
60741
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60742
|
+
};
|
|
60743
|
+
scan_release_expired_locks: {
|
|
60744
|
+
Args: never;
|
|
60745
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60746
|
+
};
|
|
60747
|
+
scan_remove_item: {
|
|
60748
|
+
Args: {
|
|
60749
|
+
p_kar_item_id: string;
|
|
60750
|
+
};
|
|
60751
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60752
|
+
};
|
|
60753
|
+
scan_start_kar: {
|
|
60754
|
+
Args: {
|
|
60755
|
+
p_medewerker_id?: string;
|
|
60756
|
+
p_medewerker_naam?: string;
|
|
60757
|
+
p_pakbon_ids: string[];
|
|
60758
|
+
p_scanner_key?: string;
|
|
60759
|
+
};
|
|
60760
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60761
|
+
} | {
|
|
60762
|
+
Args: {
|
|
60763
|
+
p_medewerker_id?: string;
|
|
60764
|
+
p_medewerker_naam?: string;
|
|
60765
|
+
p_pakbon_ids: string[];
|
|
60766
|
+
p_scanner_key?: string;
|
|
60767
|
+
p_sessie?: string;
|
|
60768
|
+
};
|
|
60769
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60770
|
+
};
|
|
58404
60771
|
schedule_floriday_additional_services_sync: {
|
|
58405
60772
|
Args: {
|
|
58406
60773
|
p_apikey: string;
|