@flowselections/floriday-verkoop-module 1.0.38 → 1.0.39
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
|
@@ -1871,6 +1871,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
1871
1871
|
referencedColumns: ["id"];
|
|
1872
1872
|
}];
|
|
1873
1873
|
};
|
|
1874
|
+
customer_notes: {
|
|
1875
|
+
Row: {
|
|
1876
|
+
created_at: string;
|
|
1877
|
+
customer_id: string | null;
|
|
1878
|
+
group_key: string | null;
|
|
1879
|
+
id: string;
|
|
1880
|
+
notes: string | null;
|
|
1881
|
+
updated_at: string;
|
|
1882
|
+
};
|
|
1883
|
+
Insert: {
|
|
1884
|
+
created_at?: string;
|
|
1885
|
+
customer_id?: string | null;
|
|
1886
|
+
group_key?: string | null;
|
|
1887
|
+
id?: string;
|
|
1888
|
+
notes?: string | null;
|
|
1889
|
+
updated_at?: string;
|
|
1890
|
+
};
|
|
1891
|
+
Update: {
|
|
1892
|
+
created_at?: string;
|
|
1893
|
+
customer_id?: string | null;
|
|
1894
|
+
group_key?: string | null;
|
|
1895
|
+
id?: string;
|
|
1896
|
+
notes?: string | null;
|
|
1897
|
+
updated_at?: string;
|
|
1898
|
+
};
|
|
1899
|
+
Relationships: [{
|
|
1900
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1901
|
+
columns: ["customer_id"];
|
|
1902
|
+
isOneToOne: true;
|
|
1903
|
+
referencedRelation: "customers";
|
|
1904
|
+
referencedColumns: ["id"];
|
|
1905
|
+
}];
|
|
1906
|
+
};
|
|
1874
1907
|
customer_price_group_members: {
|
|
1875
1908
|
Row: {
|
|
1876
1909
|
created_at: string;
|
|
@@ -3446,74 +3479,542 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
3446
3479
|
connection_id?: string;
|
|
3447
3480
|
expires_at?: string | null;
|
|
3448
3481
|
id?: string;
|
|
3449
|
-
invoice_count?: number | null;
|
|
3450
|
-
last_invoice_date?: string | null;
|
|
3451
|
-
last_payment_date?: string | null;
|
|
3452
|
-
open_balance?: number | null;
|
|
3453
|
-
overdue_balance?: number | null;
|
|
3454
|
-
total_revenue?: number | null;
|
|
3482
|
+
invoice_count?: number | null;
|
|
3483
|
+
last_invoice_date?: string | null;
|
|
3484
|
+
last_payment_date?: string | null;
|
|
3485
|
+
open_balance?: number | null;
|
|
3486
|
+
overdue_balance?: number | null;
|
|
3487
|
+
total_revenue?: number | null;
|
|
3488
|
+
};
|
|
3489
|
+
Relationships: [{
|
|
3490
|
+
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
3491
|
+
columns: ["connection_id"];
|
|
3492
|
+
isOneToOne: false;
|
|
3493
|
+
referencedRelation: "exact_connections";
|
|
3494
|
+
referencedColumns: ["id"];
|
|
3495
|
+
}];
|
|
3496
|
+
};
|
|
3497
|
+
exact_analytics_cache: {
|
|
3498
|
+
Row: {
|
|
3499
|
+
analytics_type: string;
|
|
3500
|
+
avg_payment_days: number | null;
|
|
3501
|
+
computed_at: string;
|
|
3502
|
+
connection_id: string;
|
|
3503
|
+
data_raw: import("../integrations/supabase/types").Json | null;
|
|
3504
|
+
expires_at: string | null;
|
|
3505
|
+
id: string;
|
|
3506
|
+
open_count: number | null;
|
|
3507
|
+
overdue_amount: number | null;
|
|
3508
|
+
paid_this_month: number | null;
|
|
3509
|
+
period_key: string;
|
|
3510
|
+
total_invoiced: number | null;
|
|
3511
|
+
total_open: number | null;
|
|
3512
|
+
};
|
|
3513
|
+
Insert: {
|
|
3514
|
+
analytics_type: string;
|
|
3515
|
+
avg_payment_days?: number | null;
|
|
3516
|
+
computed_at?: string;
|
|
3517
|
+
connection_id: string;
|
|
3518
|
+
data_raw?: import("../integrations/supabase/types").Json | null;
|
|
3519
|
+
expires_at?: string | null;
|
|
3520
|
+
id?: string;
|
|
3521
|
+
open_count?: number | null;
|
|
3522
|
+
overdue_amount?: number | null;
|
|
3523
|
+
paid_this_month?: number | null;
|
|
3524
|
+
period_key: string;
|
|
3525
|
+
total_invoiced?: number | null;
|
|
3526
|
+
total_open?: number | null;
|
|
3527
|
+
};
|
|
3528
|
+
Update: {
|
|
3529
|
+
analytics_type?: string;
|
|
3530
|
+
avg_payment_days?: number | null;
|
|
3531
|
+
computed_at?: string;
|
|
3532
|
+
connection_id?: string;
|
|
3533
|
+
data_raw?: import("../integrations/supabase/types").Json | null;
|
|
3534
|
+
expires_at?: string | null;
|
|
3535
|
+
id?: string;
|
|
3536
|
+
open_count?: number | null;
|
|
3537
|
+
overdue_amount?: number | null;
|
|
3538
|
+
paid_this_month?: number | null;
|
|
3539
|
+
period_key?: string;
|
|
3540
|
+
total_invoiced?: number | null;
|
|
3541
|
+
total_open?: number | null;
|
|
3542
|
+
};
|
|
3543
|
+
Relationships: [{
|
|
3544
|
+
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
3545
|
+
columns: ["connection_id"];
|
|
3546
|
+
isOneToOne: false;
|
|
3547
|
+
referencedRelation: "exact_connections";
|
|
3548
|
+
referencedColumns: ["id"];
|
|
3549
|
+
}];
|
|
3550
|
+
};
|
|
3551
|
+
exact_auth_call_budget: {
|
|
3552
|
+
Row: {
|
|
3553
|
+
account_key: string;
|
|
3554
|
+
day_count: number;
|
|
3555
|
+
day_date: string;
|
|
3556
|
+
division_code: number;
|
|
3557
|
+
environment: string;
|
|
3558
|
+
minute_count: number;
|
|
3559
|
+
minute_window: string;
|
|
3560
|
+
updated_at: string;
|
|
3561
|
+
};
|
|
3562
|
+
Insert: {
|
|
3563
|
+
account_key?: string;
|
|
3564
|
+
day_count?: number;
|
|
3565
|
+
day_date?: string;
|
|
3566
|
+
division_code?: number;
|
|
3567
|
+
environment: string;
|
|
3568
|
+
minute_count?: number;
|
|
3569
|
+
minute_window?: string;
|
|
3570
|
+
updated_at?: string;
|
|
3571
|
+
};
|
|
3572
|
+
Update: {
|
|
3573
|
+
account_key?: string;
|
|
3574
|
+
day_count?: number;
|
|
3575
|
+
day_date?: string;
|
|
3576
|
+
division_code?: number;
|
|
3577
|
+
environment?: string;
|
|
3578
|
+
minute_count?: number;
|
|
3579
|
+
minute_window?: string;
|
|
3580
|
+
updated_at?: string;
|
|
3581
|
+
};
|
|
3582
|
+
Relationships: [];
|
|
3583
|
+
};
|
|
3584
|
+
exact_auth_customers: {
|
|
3585
|
+
Row: {
|
|
3586
|
+
account_key: string;
|
|
3587
|
+
address_line1: string | null;
|
|
3588
|
+
chamber_of_commerce: string | null;
|
|
3589
|
+
city: string | null;
|
|
3590
|
+
code: string | null;
|
|
3591
|
+
country: string | null;
|
|
3592
|
+
created_at: string;
|
|
3593
|
+
currency: string | null;
|
|
3594
|
+
division_code: number | null;
|
|
3595
|
+
email: string | null;
|
|
3596
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3597
|
+
exact_id: string;
|
|
3598
|
+
exact_modified: string | null;
|
|
3599
|
+
exact_timestamp: number | null;
|
|
3600
|
+
id: string;
|
|
3601
|
+
is_active: boolean;
|
|
3602
|
+
name: string | null;
|
|
3603
|
+
phone: string | null;
|
|
3604
|
+
postcode: string | null;
|
|
3605
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3606
|
+
status: string | null;
|
|
3607
|
+
updated_at: string;
|
|
3608
|
+
vat_number: string | null;
|
|
3609
|
+
website: string | null;
|
|
3610
|
+
};
|
|
3611
|
+
Insert: {
|
|
3612
|
+
account_key?: string;
|
|
3613
|
+
address_line1?: string | null;
|
|
3614
|
+
chamber_of_commerce?: string | null;
|
|
3615
|
+
city?: string | null;
|
|
3616
|
+
code?: string | null;
|
|
3617
|
+
country?: string | null;
|
|
3618
|
+
created_at?: string;
|
|
3619
|
+
currency?: string | null;
|
|
3620
|
+
division_code?: number | null;
|
|
3621
|
+
email?: string | null;
|
|
3622
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3623
|
+
exact_id: string;
|
|
3624
|
+
exact_modified?: string | null;
|
|
3625
|
+
exact_timestamp?: number | null;
|
|
3626
|
+
id?: string;
|
|
3627
|
+
is_active?: boolean;
|
|
3628
|
+
name?: string | null;
|
|
3629
|
+
phone?: string | null;
|
|
3630
|
+
postcode?: string | null;
|
|
3631
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3632
|
+
status?: string | null;
|
|
3633
|
+
updated_at?: string;
|
|
3634
|
+
vat_number?: string | null;
|
|
3635
|
+
website?: string | null;
|
|
3636
|
+
};
|
|
3637
|
+
Update: {
|
|
3638
|
+
account_key?: string;
|
|
3639
|
+
address_line1?: string | null;
|
|
3640
|
+
chamber_of_commerce?: string | null;
|
|
3641
|
+
city?: string | null;
|
|
3642
|
+
code?: string | null;
|
|
3643
|
+
country?: string | null;
|
|
3644
|
+
created_at?: string;
|
|
3645
|
+
currency?: string | null;
|
|
3646
|
+
division_code?: number | null;
|
|
3647
|
+
email?: string | null;
|
|
3648
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3649
|
+
exact_id?: string;
|
|
3650
|
+
exact_modified?: string | null;
|
|
3651
|
+
exact_timestamp?: number | null;
|
|
3652
|
+
id?: string;
|
|
3653
|
+
is_active?: boolean;
|
|
3654
|
+
name?: string | null;
|
|
3655
|
+
phone?: string | null;
|
|
3656
|
+
postcode?: string | null;
|
|
3657
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3658
|
+
status?: string | null;
|
|
3659
|
+
updated_at?: string;
|
|
3660
|
+
vat_number?: string | null;
|
|
3661
|
+
website?: string | null;
|
|
3662
|
+
};
|
|
3663
|
+
Relationships: [];
|
|
3664
|
+
};
|
|
3665
|
+
exact_auth_divisions: {
|
|
3666
|
+
Row: {
|
|
3667
|
+
account_key: string;
|
|
3668
|
+
company_name: string | null;
|
|
3669
|
+
created_at: string;
|
|
3670
|
+
division_code: number | null;
|
|
3671
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3672
|
+
id: string;
|
|
3673
|
+
last_synced_at: string | null;
|
|
3674
|
+
updated_at: string;
|
|
3675
|
+
};
|
|
3676
|
+
Insert: {
|
|
3677
|
+
account_key?: string;
|
|
3678
|
+
company_name?: string | null;
|
|
3679
|
+
created_at?: string;
|
|
3680
|
+
division_code?: number | null;
|
|
3681
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3682
|
+
id?: string;
|
|
3683
|
+
last_synced_at?: string | null;
|
|
3684
|
+
updated_at?: string;
|
|
3685
|
+
};
|
|
3686
|
+
Update: {
|
|
3687
|
+
account_key?: string;
|
|
3688
|
+
company_name?: string | null;
|
|
3689
|
+
created_at?: string;
|
|
3690
|
+
division_code?: number | null;
|
|
3691
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3692
|
+
id?: string;
|
|
3693
|
+
last_synced_at?: string | null;
|
|
3694
|
+
updated_at?: string;
|
|
3695
|
+
};
|
|
3696
|
+
Relationships: [];
|
|
3697
|
+
};
|
|
3698
|
+
exact_auth_invoice_lines: {
|
|
3699
|
+
Row: {
|
|
3700
|
+
account_key: string;
|
|
3701
|
+
amount_excl: number | null;
|
|
3702
|
+
created_at: string;
|
|
3703
|
+
description: string | null;
|
|
3704
|
+
discount: number | null;
|
|
3705
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3706
|
+
exact_id: string;
|
|
3707
|
+
exact_timestamp: number | null;
|
|
3708
|
+
id: string;
|
|
3709
|
+
invoice_exact_id: string;
|
|
3710
|
+
item_code: string | null;
|
|
3711
|
+
item_exact_id: string | null;
|
|
3712
|
+
line_number: number | null;
|
|
3713
|
+
quantity: number | null;
|
|
3714
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3715
|
+
unit_price: number | null;
|
|
3716
|
+
updated_at: string;
|
|
3717
|
+
vat_amount: number | null;
|
|
3718
|
+
vat_code: string | null;
|
|
3719
|
+
};
|
|
3720
|
+
Insert: {
|
|
3721
|
+
account_key?: string;
|
|
3722
|
+
amount_excl?: number | null;
|
|
3723
|
+
created_at?: string;
|
|
3724
|
+
description?: string | null;
|
|
3725
|
+
discount?: number | null;
|
|
3726
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3727
|
+
exact_id: string;
|
|
3728
|
+
exact_timestamp?: number | null;
|
|
3729
|
+
id?: string;
|
|
3730
|
+
invoice_exact_id: string;
|
|
3731
|
+
item_code?: string | null;
|
|
3732
|
+
item_exact_id?: string | null;
|
|
3733
|
+
line_number?: number | null;
|
|
3734
|
+
quantity?: number | null;
|
|
3735
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3736
|
+
unit_price?: number | null;
|
|
3737
|
+
updated_at?: string;
|
|
3738
|
+
vat_amount?: number | null;
|
|
3739
|
+
vat_code?: string | null;
|
|
3740
|
+
};
|
|
3741
|
+
Update: {
|
|
3742
|
+
account_key?: string;
|
|
3743
|
+
amount_excl?: number | null;
|
|
3744
|
+
created_at?: string;
|
|
3745
|
+
description?: string | null;
|
|
3746
|
+
discount?: number | null;
|
|
3747
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3748
|
+
exact_id?: string;
|
|
3749
|
+
exact_timestamp?: number | null;
|
|
3750
|
+
id?: string;
|
|
3751
|
+
invoice_exact_id?: string;
|
|
3752
|
+
item_code?: string | null;
|
|
3753
|
+
item_exact_id?: string | null;
|
|
3754
|
+
line_number?: number | null;
|
|
3755
|
+
quantity?: number | null;
|
|
3756
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3757
|
+
unit_price?: number | null;
|
|
3758
|
+
updated_at?: string;
|
|
3759
|
+
vat_amount?: number | null;
|
|
3760
|
+
vat_code?: string | null;
|
|
3761
|
+
};
|
|
3762
|
+
Relationships: [];
|
|
3763
|
+
};
|
|
3764
|
+
exact_auth_invoices: {
|
|
3765
|
+
Row: {
|
|
3766
|
+
account_key: string;
|
|
3767
|
+
amount_excl: number | null;
|
|
3768
|
+
amount_incl: number | null;
|
|
3769
|
+
amount_open: number | null;
|
|
3770
|
+
created_at: string;
|
|
3771
|
+
currency: string | null;
|
|
3772
|
+
customer_code: string | null;
|
|
3773
|
+
customer_exact_id: string | null;
|
|
3774
|
+
customer_name: string | null;
|
|
3775
|
+
description: string | null;
|
|
3776
|
+
division_code: number | null;
|
|
3777
|
+
due_date: string | null;
|
|
3778
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3779
|
+
exact_id: string;
|
|
3780
|
+
exact_modified: string | null;
|
|
3781
|
+
exact_timestamp: number | null;
|
|
3782
|
+
id: string;
|
|
3783
|
+
invoice_date: string | null;
|
|
3784
|
+
invoice_number: string | null;
|
|
3785
|
+
order_number: string | null;
|
|
3786
|
+
paid_at: string | null;
|
|
3787
|
+
payment_status: string;
|
|
3788
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3789
|
+
receivable_synced_at: string | null;
|
|
3790
|
+
status_code: number | null;
|
|
3791
|
+
updated_at: string;
|
|
3792
|
+
};
|
|
3793
|
+
Insert: {
|
|
3794
|
+
account_key?: string;
|
|
3795
|
+
amount_excl?: number | null;
|
|
3796
|
+
amount_incl?: number | null;
|
|
3797
|
+
amount_open?: number | null;
|
|
3798
|
+
created_at?: string;
|
|
3799
|
+
currency?: string | null;
|
|
3800
|
+
customer_code?: string | null;
|
|
3801
|
+
customer_exact_id?: string | null;
|
|
3802
|
+
customer_name?: string | null;
|
|
3803
|
+
description?: string | null;
|
|
3804
|
+
division_code?: number | null;
|
|
3805
|
+
due_date?: string | null;
|
|
3806
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3807
|
+
exact_id: string;
|
|
3808
|
+
exact_modified?: string | null;
|
|
3809
|
+
exact_timestamp?: number | null;
|
|
3810
|
+
id?: string;
|
|
3811
|
+
invoice_date?: string | null;
|
|
3812
|
+
invoice_number?: string | null;
|
|
3813
|
+
order_number?: string | null;
|
|
3814
|
+
paid_at?: string | null;
|
|
3815
|
+
payment_status?: string;
|
|
3816
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3817
|
+
receivable_synced_at?: string | null;
|
|
3818
|
+
status_code?: number | null;
|
|
3819
|
+
updated_at?: string;
|
|
3820
|
+
};
|
|
3821
|
+
Update: {
|
|
3822
|
+
account_key?: string;
|
|
3823
|
+
amount_excl?: number | null;
|
|
3824
|
+
amount_incl?: number | null;
|
|
3825
|
+
amount_open?: number | null;
|
|
3826
|
+
created_at?: string;
|
|
3827
|
+
currency?: string | null;
|
|
3828
|
+
customer_code?: string | null;
|
|
3829
|
+
customer_exact_id?: string | null;
|
|
3830
|
+
customer_name?: string | null;
|
|
3831
|
+
description?: string | null;
|
|
3832
|
+
division_code?: number | null;
|
|
3833
|
+
due_date?: string | null;
|
|
3834
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3835
|
+
exact_id?: string;
|
|
3836
|
+
exact_modified?: string | null;
|
|
3837
|
+
exact_timestamp?: number | null;
|
|
3838
|
+
id?: string;
|
|
3839
|
+
invoice_date?: string | null;
|
|
3840
|
+
invoice_number?: string | null;
|
|
3841
|
+
order_number?: string | null;
|
|
3842
|
+
paid_at?: string | null;
|
|
3843
|
+
payment_status?: string;
|
|
3844
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3845
|
+
receivable_synced_at?: string | null;
|
|
3846
|
+
status_code?: number | null;
|
|
3847
|
+
updated_at?: string;
|
|
3848
|
+
};
|
|
3849
|
+
Relationships: [];
|
|
3850
|
+
};
|
|
3851
|
+
exact_auth_items: {
|
|
3852
|
+
Row: {
|
|
3853
|
+
account_key: string;
|
|
3854
|
+
barcode: string | null;
|
|
3855
|
+
code: string | null;
|
|
3856
|
+
cost_price: number | null;
|
|
3857
|
+
created_at: string;
|
|
3858
|
+
description: string | null;
|
|
3859
|
+
division_code: number | null;
|
|
3860
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3861
|
+
exact_id: string;
|
|
3862
|
+
exact_modified: string | null;
|
|
3863
|
+
exact_timestamp: number | null;
|
|
3864
|
+
gl_account_code: string | null;
|
|
3865
|
+
id: string;
|
|
3866
|
+
is_active: boolean;
|
|
3867
|
+
is_sales_item: boolean | null;
|
|
3868
|
+
item_type: string | null;
|
|
3869
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3870
|
+
sales_price: number | null;
|
|
3871
|
+
unit: string | null;
|
|
3872
|
+
updated_at: string;
|
|
3873
|
+
vat_code: string | null;
|
|
3874
|
+
};
|
|
3875
|
+
Insert: {
|
|
3876
|
+
account_key?: string;
|
|
3877
|
+
barcode?: string | null;
|
|
3878
|
+
code?: string | null;
|
|
3879
|
+
cost_price?: number | null;
|
|
3880
|
+
created_at?: string;
|
|
3881
|
+
description?: string | null;
|
|
3882
|
+
division_code?: number | null;
|
|
3883
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3884
|
+
exact_id: string;
|
|
3885
|
+
exact_modified?: string | null;
|
|
3886
|
+
exact_timestamp?: number | null;
|
|
3887
|
+
gl_account_code?: string | null;
|
|
3888
|
+
id?: string;
|
|
3889
|
+
is_active?: boolean;
|
|
3890
|
+
is_sales_item?: boolean | null;
|
|
3891
|
+
item_type?: string | null;
|
|
3892
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3893
|
+
sales_price?: number | null;
|
|
3894
|
+
unit?: string | null;
|
|
3895
|
+
updated_at?: string;
|
|
3896
|
+
vat_code?: string | null;
|
|
3897
|
+
};
|
|
3898
|
+
Update: {
|
|
3899
|
+
account_key?: string;
|
|
3900
|
+
barcode?: string | null;
|
|
3901
|
+
code?: string | null;
|
|
3902
|
+
cost_price?: number | null;
|
|
3903
|
+
created_at?: string;
|
|
3904
|
+
description?: string | null;
|
|
3905
|
+
division_code?: number | null;
|
|
3906
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3907
|
+
exact_id?: string;
|
|
3908
|
+
exact_modified?: string | null;
|
|
3909
|
+
exact_timestamp?: number | null;
|
|
3910
|
+
gl_account_code?: string | null;
|
|
3911
|
+
id?: string;
|
|
3912
|
+
is_active?: boolean;
|
|
3913
|
+
is_sales_item?: boolean | null;
|
|
3914
|
+
item_type?: string | null;
|
|
3915
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3916
|
+
sales_price?: number | null;
|
|
3917
|
+
unit?: string | null;
|
|
3918
|
+
updated_at?: string;
|
|
3919
|
+
vat_code?: string | null;
|
|
3920
|
+
};
|
|
3921
|
+
Relationships: [];
|
|
3922
|
+
};
|
|
3923
|
+
exact_auth_sync_log: {
|
|
3924
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
3951
|
+
account_key?: string;
|
|
3952
|
+
calls_used?: number;
|
|
3953
|
+
created_at?: string;
|
|
3954
|
+
domain?: string;
|
|
3955
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3956
|
+
error?: string | null;
|
|
3957
|
+
finished_at?: string | null;
|
|
3958
|
+
id?: string;
|
|
3959
|
+
ok?: boolean;
|
|
3960
|
+
records?: number;
|
|
3961
|
+
started_at?: string;
|
|
3455
3962
|
};
|
|
3456
|
-
Relationships: [
|
|
3457
|
-
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
3458
|
-
columns: ["connection_id"];
|
|
3459
|
-
isOneToOne: false;
|
|
3460
|
-
referencedRelation: "exact_connections";
|
|
3461
|
-
referencedColumns: ["id"];
|
|
3462
|
-
}];
|
|
3963
|
+
Relationships: [];
|
|
3463
3964
|
};
|
|
3464
|
-
|
|
3965
|
+
exact_auth_sync_state: {
|
|
3465
3966
|
Row: {
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3967
|
+
account_key: string;
|
|
3968
|
+
created_at: string;
|
|
3969
|
+
cursor_timestamp: number;
|
|
3970
|
+
division_code: number | null;
|
|
3971
|
+
domain: string;
|
|
3972
|
+
duration_ms: number | null;
|
|
3973
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3974
|
+
initial_sync_done: boolean;
|
|
3975
|
+
last_error: string | null;
|
|
3976
|
+
last_run_at: string | null;
|
|
3977
|
+
last_success_at: string | null;
|
|
3978
|
+
locked_at: string | null;
|
|
3979
|
+
needs_initial_sync: boolean;
|
|
3980
|
+
record_count: number;
|
|
3981
|
+
updated_at: string;
|
|
3479
3982
|
};
|
|
3480
3983
|
Insert: {
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3984
|
+
account_key?: string;
|
|
3985
|
+
created_at?: string;
|
|
3986
|
+
cursor_timestamp?: number;
|
|
3987
|
+
division_code?: number | null;
|
|
3988
|
+
domain: string;
|
|
3989
|
+
duration_ms?: number | null;
|
|
3990
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3991
|
+
initial_sync_done?: boolean;
|
|
3992
|
+
last_error?: string | null;
|
|
3993
|
+
last_run_at?: string | null;
|
|
3994
|
+
last_success_at?: string | null;
|
|
3995
|
+
locked_at?: string | null;
|
|
3996
|
+
needs_initial_sync?: boolean;
|
|
3997
|
+
record_count?: number;
|
|
3998
|
+
updated_at?: string;
|
|
3494
3999
|
};
|
|
3495
4000
|
Update: {
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
4001
|
+
account_key?: string;
|
|
4002
|
+
created_at?: string;
|
|
4003
|
+
cursor_timestamp?: number;
|
|
4004
|
+
division_code?: number | null;
|
|
4005
|
+
domain?: string;
|
|
4006
|
+
duration_ms?: number | null;
|
|
4007
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
4008
|
+
initial_sync_done?: boolean;
|
|
4009
|
+
last_error?: string | null;
|
|
4010
|
+
last_run_at?: string | null;
|
|
4011
|
+
last_success_at?: string | null;
|
|
4012
|
+
locked_at?: string | null;
|
|
4013
|
+
needs_initial_sync?: boolean;
|
|
4014
|
+
record_count?: number;
|
|
4015
|
+
updated_at?: string;
|
|
3509
4016
|
};
|
|
3510
|
-
Relationships: [
|
|
3511
|
-
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
3512
|
-
columns: ["connection_id"];
|
|
3513
|
-
isOneToOne: false;
|
|
3514
|
-
referencedRelation: "exact_connections";
|
|
3515
|
-
referencedColumns: ["id"];
|
|
3516
|
-
}];
|
|
4017
|
+
Relationships: [];
|
|
3517
4018
|
};
|
|
3518
4019
|
exact_bulk_operation_items: {
|
|
3519
4020
|
Row: {
|
|
@@ -8177,6 +8678,66 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8177
8678
|
};
|
|
8178
8679
|
Relationships: [];
|
|
8179
8680
|
};
|
|
8681
|
+
logistics_recalc_jobs: {
|
|
8682
|
+
Row: {
|
|
8683
|
+
carts_created: number;
|
|
8684
|
+
created_at: string;
|
|
8685
|
+
cursor: string | null;
|
|
8686
|
+
errors: import("../integrations/supabase/types").Json;
|
|
8687
|
+
failed: number;
|
|
8688
|
+
finished_at: string | null;
|
|
8689
|
+
id: string;
|
|
8690
|
+
last_tick_at: string | null;
|
|
8691
|
+
phase: string;
|
|
8692
|
+
processed: number;
|
|
8693
|
+
skipped_locked: number;
|
|
8694
|
+
started_by: string | null;
|
|
8695
|
+
status: string;
|
|
8696
|
+
steps: import("../integrations/supabase/types").Json;
|
|
8697
|
+
strategy_id: string | null;
|
|
8698
|
+
tasks_updated: number;
|
|
8699
|
+
updated_at: string;
|
|
8700
|
+
};
|
|
8701
|
+
Insert: {
|
|
8702
|
+
carts_created?: number;
|
|
8703
|
+
created_at?: string;
|
|
8704
|
+
cursor?: string | null;
|
|
8705
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8706
|
+
failed?: number;
|
|
8707
|
+
finished_at?: string | null;
|
|
8708
|
+
id?: string;
|
|
8709
|
+
last_tick_at?: string | null;
|
|
8710
|
+
phase?: string;
|
|
8711
|
+
processed?: number;
|
|
8712
|
+
skipped_locked?: number;
|
|
8713
|
+
started_by?: string | null;
|
|
8714
|
+
status?: string;
|
|
8715
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8716
|
+
strategy_id?: string | null;
|
|
8717
|
+
tasks_updated?: number;
|
|
8718
|
+
updated_at?: string;
|
|
8719
|
+
};
|
|
8720
|
+
Update: {
|
|
8721
|
+
carts_created?: number;
|
|
8722
|
+
created_at?: string;
|
|
8723
|
+
cursor?: string | null;
|
|
8724
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
8725
|
+
failed?: number;
|
|
8726
|
+
finished_at?: string | null;
|
|
8727
|
+
id?: string;
|
|
8728
|
+
last_tick_at?: string | null;
|
|
8729
|
+
phase?: string;
|
|
8730
|
+
processed?: number;
|
|
8731
|
+
skipped_locked?: number;
|
|
8732
|
+
started_by?: string | null;
|
|
8733
|
+
status?: string;
|
|
8734
|
+
steps?: import("../integrations/supabase/types").Json;
|
|
8735
|
+
strategy_id?: string | null;
|
|
8736
|
+
tasks_updated?: number;
|
|
8737
|
+
updated_at?: string;
|
|
8738
|
+
};
|
|
8739
|
+
Relationships: [];
|
|
8740
|
+
};
|
|
8180
8741
|
logistics_reschedules: {
|
|
8181
8742
|
Row: {
|
|
8182
8743
|
created_at: string;
|
|
@@ -8539,6 +9100,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8539
9100
|
};
|
|
8540
9101
|
logistics_tasks: {
|
|
8541
9102
|
Row: {
|
|
9103
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9104
|
+
attempts: number;
|
|
8542
9105
|
buffer_ref: string | null;
|
|
8543
9106
|
claimed_at: string | null;
|
|
8544
9107
|
claimed_by: string | null;
|
|
@@ -8548,6 +9111,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8548
9111
|
due_at: string | null;
|
|
8549
9112
|
error: string | null;
|
|
8550
9113
|
id: string;
|
|
9114
|
+
last_error: string | null;
|
|
9115
|
+
next_attempt_at: string | null;
|
|
8551
9116
|
order_ref: string;
|
|
8552
9117
|
owner_module: string;
|
|
8553
9118
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -8568,6 +9133,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8568
9133
|
user_id: string;
|
|
8569
9134
|
};
|
|
8570
9135
|
Insert: {
|
|
9136
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9137
|
+
attempts?: number;
|
|
8571
9138
|
buffer_ref?: string | null;
|
|
8572
9139
|
claimed_at?: string | null;
|
|
8573
9140
|
claimed_by?: string | null;
|
|
@@ -8577,6 +9144,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8577
9144
|
due_at?: string | null;
|
|
8578
9145
|
error?: string | null;
|
|
8579
9146
|
id?: string;
|
|
9147
|
+
last_error?: string | null;
|
|
9148
|
+
next_attempt_at?: string | null;
|
|
8580
9149
|
order_ref: string;
|
|
8581
9150
|
owner_module: string;
|
|
8582
9151
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -8597,6 +9166,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8597
9166
|
user_id?: string;
|
|
8598
9167
|
};
|
|
8599
9168
|
Update: {
|
|
9169
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9170
|
+
attempts?: number;
|
|
8600
9171
|
buffer_ref?: string | null;
|
|
8601
9172
|
claimed_at?: string | null;
|
|
8602
9173
|
claimed_by?: string | null;
|
|
@@ -8606,6 +9177,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8606
9177
|
due_at?: string | null;
|
|
8607
9178
|
error?: string | null;
|
|
8608
9179
|
id?: string;
|
|
9180
|
+
last_error?: string | null;
|
|
9181
|
+
next_attempt_at?: string | null;
|
|
8609
9182
|
order_ref?: string;
|
|
8610
9183
|
owner_module?: string;
|
|
8611
9184
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9955,6 +10528,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9955
10528
|
};
|
|
9956
10529
|
offer_settings: {
|
|
9957
10530
|
Row: {
|
|
10531
|
+
brand_name: string | null;
|
|
9958
10532
|
button_color: string;
|
|
9959
10533
|
created_at: string;
|
|
9960
10534
|
default_countries: string[];
|
|
@@ -9976,6 +10550,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9976
10550
|
updated_at: string;
|
|
9977
10551
|
};
|
|
9978
10552
|
Insert: {
|
|
10553
|
+
brand_name?: string | null;
|
|
9979
10554
|
button_color?: string;
|
|
9980
10555
|
created_at?: string;
|
|
9981
10556
|
default_countries?: string[];
|
|
@@ -9997,6 +10572,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9997
10572
|
updated_at?: string;
|
|
9998
10573
|
};
|
|
9999
10574
|
Update: {
|
|
10575
|
+
brand_name?: string | null;
|
|
10000
10576
|
button_color?: string;
|
|
10001
10577
|
created_at?: string;
|
|
10002
10578
|
default_countries?: string[];
|
|
@@ -13406,6 +13982,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13406
13982
|
buffer_key: string | null;
|
|
13407
13983
|
created_at: string;
|
|
13408
13984
|
customer_names: string[];
|
|
13985
|
+
device_id: string | null;
|
|
13409
13986
|
geprint: boolean;
|
|
13410
13987
|
geprint_op: string | null;
|
|
13411
13988
|
id: string;
|
|
@@ -13415,6 +13992,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13415
13992
|
naar_pickstation: boolean;
|
|
13416
13993
|
naar_pickstation_op: string | null;
|
|
13417
13994
|
order_number: string | null;
|
|
13995
|
+
scanner_id: string | null;
|
|
13418
13996
|
scanner_key: string;
|
|
13419
13997
|
status: string;
|
|
13420
13998
|
totaal_producten: number;
|
|
@@ -13425,6 +14003,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13425
14003
|
buffer_key?: string | null;
|
|
13426
14004
|
created_at?: string;
|
|
13427
14005
|
customer_names?: string[];
|
|
14006
|
+
device_id?: string | null;
|
|
13428
14007
|
geprint?: boolean;
|
|
13429
14008
|
geprint_op?: string | null;
|
|
13430
14009
|
id?: string;
|
|
@@ -13434,6 +14013,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13434
14013
|
naar_pickstation?: boolean;
|
|
13435
14014
|
naar_pickstation_op?: string | null;
|
|
13436
14015
|
order_number?: string | null;
|
|
14016
|
+
scanner_id?: string | null;
|
|
13437
14017
|
scanner_key?: string;
|
|
13438
14018
|
status?: string;
|
|
13439
14019
|
totaal_producten?: number;
|
|
@@ -13444,6 +14024,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13444
14024
|
buffer_key?: string | null;
|
|
13445
14025
|
created_at?: string;
|
|
13446
14026
|
customer_names?: string[];
|
|
14027
|
+
device_id?: string | null;
|
|
13447
14028
|
geprint?: boolean;
|
|
13448
14029
|
geprint_op?: string | null;
|
|
13449
14030
|
id?: string;
|
|
@@ -13453,6 +14034,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13453
14034
|
naar_pickstation?: boolean;
|
|
13454
14035
|
naar_pickstation_op?: string | null;
|
|
13455
14036
|
order_number?: string | null;
|
|
14037
|
+
scanner_id?: string | null;
|
|
13456
14038
|
scanner_key?: string;
|
|
13457
14039
|
status?: string;
|
|
13458
14040
|
totaal_producten?: number;
|
|
@@ -13464,31 +14046,46 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13464
14046
|
Row: {
|
|
13465
14047
|
code: string;
|
|
13466
14048
|
created_at: string;
|
|
14049
|
+
device_id: string | null;
|
|
13467
14050
|
id: string;
|
|
13468
14051
|
kar_id: string | null;
|
|
14052
|
+
latency_ms: number | null;
|
|
14053
|
+
medewerker_naam: string | null;
|
|
13469
14054
|
message: string | null;
|
|
13470
14055
|
result: string;
|
|
14056
|
+
retry_count: number;
|
|
13471
14057
|
scanner_key: string;
|
|
14058
|
+
session_id: string | null;
|
|
13472
14059
|
user_id: string | null;
|
|
13473
14060
|
};
|
|
13474
14061
|
Insert: {
|
|
13475
14062
|
code: string;
|
|
13476
14063
|
created_at?: string;
|
|
14064
|
+
device_id?: string | null;
|
|
13477
14065
|
id?: string;
|
|
13478
14066
|
kar_id?: string | null;
|
|
14067
|
+
latency_ms?: number | null;
|
|
14068
|
+
medewerker_naam?: string | null;
|
|
13479
14069
|
message?: string | null;
|
|
13480
14070
|
result: string;
|
|
14071
|
+
retry_count?: number;
|
|
13481
14072
|
scanner_key?: string;
|
|
14073
|
+
session_id?: string | null;
|
|
13482
14074
|
user_id?: string | null;
|
|
13483
14075
|
};
|
|
13484
14076
|
Update: {
|
|
13485
14077
|
code?: string;
|
|
13486
14078
|
created_at?: string;
|
|
14079
|
+
device_id?: string | null;
|
|
13487
14080
|
id?: string;
|
|
13488
14081
|
kar_id?: string | null;
|
|
14082
|
+
latency_ms?: number | null;
|
|
14083
|
+
medewerker_naam?: string | null;
|
|
13489
14084
|
message?: string | null;
|
|
13490
14085
|
result?: string;
|
|
14086
|
+
retry_count?: number;
|
|
13491
14087
|
scanner_key?: string;
|
|
14088
|
+
session_id?: string | null;
|
|
13492
14089
|
user_id?: string | null;
|
|
13493
14090
|
};
|
|
13494
14091
|
Relationships: [];
|
|
@@ -13545,6 +14142,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13545
14142
|
printed_at: string;
|
|
13546
14143
|
status: string;
|
|
13547
14144
|
updated_at: string;
|
|
14145
|
+
vergrendeld_door: string | null;
|
|
14146
|
+
vergrendeld_sessie: string | null;
|
|
14147
|
+
vergrendeld_tot: string | null;
|
|
13548
14148
|
};
|
|
13549
14149
|
Insert: {
|
|
13550
14150
|
barcode: string;
|
|
@@ -13558,6 +14158,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13558
14158
|
printed_at?: string;
|
|
13559
14159
|
status?: string;
|
|
13560
14160
|
updated_at?: string;
|
|
14161
|
+
vergrendeld_door?: string | null;
|
|
14162
|
+
vergrendeld_sessie?: string | null;
|
|
14163
|
+
vergrendeld_tot?: string | null;
|
|
13561
14164
|
};
|
|
13562
14165
|
Update: {
|
|
13563
14166
|
barcode?: string;
|
|
@@ -13571,6 +14174,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13571
14174
|
printed_at?: string;
|
|
13572
14175
|
status?: string;
|
|
13573
14176
|
updated_at?: string;
|
|
14177
|
+
vergrendeld_door?: string | null;
|
|
14178
|
+
vergrendeld_sessie?: string | null;
|
|
14179
|
+
vergrendeld_tot?: string | null;
|
|
13574
14180
|
};
|
|
13575
14181
|
Relationships: [];
|
|
13576
14182
|
};
|
|
@@ -13579,31 +14185,40 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13579
14185
|
actief: boolean;
|
|
13580
14186
|
created_at: string;
|
|
13581
14187
|
id: string;
|
|
14188
|
+
max_producten_per_kar: number | null;
|
|
13582
14189
|
naam: string;
|
|
13583
14190
|
omschrijving: string | null;
|
|
14191
|
+
pincode: string | null;
|
|
13584
14192
|
slug: string;
|
|
13585
14193
|
type: string;
|
|
13586
14194
|
updated_at: string;
|
|
14195
|
+
vereist_medewerker: boolean;
|
|
13587
14196
|
};
|
|
13588
14197
|
Insert: {
|
|
13589
14198
|
actief?: boolean;
|
|
13590
14199
|
created_at?: string;
|
|
13591
14200
|
id?: string;
|
|
14201
|
+
max_producten_per_kar?: number | null;
|
|
13592
14202
|
naam: string;
|
|
13593
14203
|
omschrijving?: string | null;
|
|
14204
|
+
pincode?: string | null;
|
|
13594
14205
|
slug: string;
|
|
13595
14206
|
type?: string;
|
|
13596
14207
|
updated_at?: string;
|
|
14208
|
+
vereist_medewerker?: boolean;
|
|
13597
14209
|
};
|
|
13598
14210
|
Update: {
|
|
13599
14211
|
actief?: boolean;
|
|
13600
14212
|
created_at?: string;
|
|
13601
14213
|
id?: string;
|
|
14214
|
+
max_producten_per_kar?: number | null;
|
|
13602
14215
|
naam?: string;
|
|
13603
14216
|
omschrijving?: string | null;
|
|
14217
|
+
pincode?: string | null;
|
|
13604
14218
|
slug?: string;
|
|
13605
14219
|
type?: string;
|
|
13606
14220
|
updated_at?: string;
|
|
14221
|
+
vereist_medewerker?: boolean;
|
|
13607
14222
|
};
|
|
13608
14223
|
Relationships: [];
|
|
13609
14224
|
};
|
|
@@ -17568,6 +18183,54 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17568
18183
|
};
|
|
17569
18184
|
Returns: import("../integrations/supabase/types").Json;
|
|
17570
18185
|
};
|
|
18186
|
+
claim_logistics_tasks: {
|
|
18187
|
+
Args: {
|
|
18188
|
+
_limit?: number;
|
|
18189
|
+
_owner_module: string;
|
|
18190
|
+
_stale_minutes?: number;
|
|
18191
|
+
_task_type: string;
|
|
18192
|
+
_worker: string;
|
|
18193
|
+
};
|
|
18194
|
+
Returns: {
|
|
18195
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18196
|
+
attempts: number;
|
|
18197
|
+
buffer_ref: string | null;
|
|
18198
|
+
claimed_at: string | null;
|
|
18199
|
+
claimed_by: string | null;
|
|
18200
|
+
completed_at: string | null;
|
|
18201
|
+
created_at: string;
|
|
18202
|
+
depends_on: string[];
|
|
18203
|
+
due_at: string | null;
|
|
18204
|
+
error: string | null;
|
|
18205
|
+
id: string;
|
|
18206
|
+
last_error: string | null;
|
|
18207
|
+
next_attempt_at: string | null;
|
|
18208
|
+
order_ref: string;
|
|
18209
|
+
owner_module: string;
|
|
18210
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18211
|
+
plan_run_id: string | null;
|
|
18212
|
+
planned_end: string | null;
|
|
18213
|
+
planned_start: string | null;
|
|
18214
|
+
priority: number;
|
|
18215
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18216
|
+
rule_config_id: string | null;
|
|
18217
|
+
rule_version: number | null;
|
|
18218
|
+
sequence: number;
|
|
18219
|
+
shadow: boolean;
|
|
18220
|
+
started_at: string | null;
|
|
18221
|
+
status: string;
|
|
18222
|
+
strategy_id: string | null;
|
|
18223
|
+
task_type: string;
|
|
18224
|
+
updated_at: string;
|
|
18225
|
+
user_id: string;
|
|
18226
|
+
}[];
|
|
18227
|
+
SetofOptions: {
|
|
18228
|
+
from: "*";
|
|
18229
|
+
to: "logistics_tasks";
|
|
18230
|
+
isOneToOne: false;
|
|
18231
|
+
isSetofReturn: true;
|
|
18232
|
+
};
|
|
18233
|
+
};
|
|
17571
18234
|
claim_print_jobs: {
|
|
17572
18235
|
Args: {
|
|
17573
18236
|
_agent_id: string;
|
|
@@ -17808,6 +18471,21 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17808
18471
|
Args: never;
|
|
17809
18472
|
Returns: string;
|
|
17810
18473
|
};
|
|
18474
|
+
exact_auth_consume_calls: {
|
|
18475
|
+
Args: {
|
|
18476
|
+
_account_key: string;
|
|
18477
|
+
_calls?: number;
|
|
18478
|
+
_day_limit?: number;
|
|
18479
|
+
_division_code: number;
|
|
18480
|
+
_environment: string;
|
|
18481
|
+
_minute_limit?: number;
|
|
18482
|
+
};
|
|
18483
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18484
|
+
};
|
|
18485
|
+
exact_auth_prune_sync_log: {
|
|
18486
|
+
Args: never;
|
|
18487
|
+
Returns: undefined;
|
|
18488
|
+
};
|
|
17811
18489
|
exact_decrypt: {
|
|
17812
18490
|
Args: {
|
|
17813
18491
|
cipher: string;
|
|
@@ -18017,6 +18695,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18017
18695
|
};
|
|
18018
18696
|
Returns: number;
|
|
18019
18697
|
};
|
|
18698
|
+
get_offer_branding: {
|
|
18699
|
+
Args: never;
|
|
18700
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18701
|
+
};
|
|
18020
18702
|
get_offer_by_link_code: {
|
|
18021
18703
|
Args: {
|
|
18022
18704
|
p_code: string;
|
|
@@ -18188,6 +18870,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18188
18870
|
};
|
|
18189
18871
|
Returns: string;
|
|
18190
18872
|
};
|
|
18873
|
+
logistics_active_pick_workdays: {
|
|
18874
|
+
Args: never;
|
|
18875
|
+
Returns: string[];
|
|
18876
|
+
};
|
|
18191
18877
|
logistics_address_key: {
|
|
18192
18878
|
Args: {
|
|
18193
18879
|
p_location: string;
|
|
@@ -18304,6 +18990,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18304
18990
|
p_worker?: string;
|
|
18305
18991
|
};
|
|
18306
18992
|
Returns: {
|
|
18993
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18994
|
+
attempts: number;
|
|
18307
18995
|
buffer_ref: string | null;
|
|
18308
18996
|
claimed_at: string | null;
|
|
18309
18997
|
claimed_by: string | null;
|
|
@@ -18313,6 +19001,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18313
19001
|
due_at: string | null;
|
|
18314
19002
|
error: string | null;
|
|
18315
19003
|
id: string;
|
|
19004
|
+
last_error: string | null;
|
|
19005
|
+
next_attempt_at: string | null;
|
|
18316
19006
|
order_ref: string;
|
|
18317
19007
|
owner_module: string;
|
|
18318
19008
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18345,6 +19035,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18345
19035
|
p_worker?: string;
|
|
18346
19036
|
};
|
|
18347
19037
|
Returns: {
|
|
19038
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19039
|
+
attempts: number;
|
|
18348
19040
|
buffer_ref: string | null;
|
|
18349
19041
|
claimed_at: string | null;
|
|
18350
19042
|
claimed_by: string | null;
|
|
@@ -18354,6 +19046,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18354
19046
|
due_at: string | null;
|
|
18355
19047
|
error: string | null;
|
|
18356
19048
|
id: string;
|
|
19049
|
+
last_error: string | null;
|
|
19050
|
+
next_attempt_at: string | null;
|
|
18357
19051
|
order_ref: string;
|
|
18358
19052
|
owner_module: string;
|
|
18359
19053
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18386,6 +19080,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18386
19080
|
p_task_id: string;
|
|
18387
19081
|
};
|
|
18388
19082
|
Returns: {
|
|
19083
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19084
|
+
attempts: number;
|
|
18389
19085
|
buffer_ref: string | null;
|
|
18390
19086
|
claimed_at: string | null;
|
|
18391
19087
|
claimed_by: string | null;
|
|
@@ -18395,6 +19091,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18395
19091
|
due_at: string | null;
|
|
18396
19092
|
error: string | null;
|
|
18397
19093
|
id: string;
|
|
19094
|
+
last_error: string | null;
|
|
19095
|
+
next_attempt_at: string | null;
|
|
18398
19096
|
order_ref: string;
|
|
18399
19097
|
owner_module: string;
|
|
18400
19098
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18476,6 +19174,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18476
19174
|
p_task_id: string;
|
|
18477
19175
|
};
|
|
18478
19176
|
Returns: {
|
|
19177
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19178
|
+
attempts: number;
|
|
18479
19179
|
buffer_ref: string | null;
|
|
18480
19180
|
claimed_at: string | null;
|
|
18481
19181
|
claimed_by: string | null;
|
|
@@ -18485,6 +19185,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18485
19185
|
due_at: string | null;
|
|
18486
19186
|
error: string | null;
|
|
18487
19187
|
id: string;
|
|
19188
|
+
last_error: string | null;
|
|
19189
|
+
next_attempt_at: string | null;
|
|
18488
19190
|
order_ref: string;
|
|
18489
19191
|
owner_module: string;
|
|
18490
19192
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18511,12 +19213,30 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18511
19213
|
isSetofReturn: false;
|
|
18512
19214
|
};
|
|
18513
19215
|
};
|
|
19216
|
+
logistics_live_carriers: {
|
|
19217
|
+
Args: {
|
|
19218
|
+
p_order_ref: string;
|
|
19219
|
+
};
|
|
19220
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19221
|
+
};
|
|
19222
|
+
logistics_live_cart_count: {
|
|
19223
|
+
Args: {
|
|
19224
|
+
p_order_ref: string;
|
|
19225
|
+
};
|
|
19226
|
+
Returns: number;
|
|
19227
|
+
};
|
|
18514
19228
|
logistics_not_past: {
|
|
18515
19229
|
Args: {
|
|
18516
19230
|
p_ts: string;
|
|
18517
19231
|
};
|
|
18518
19232
|
Returns: string;
|
|
18519
19233
|
};
|
|
19234
|
+
logistics_order_cart_count: {
|
|
19235
|
+
Args: {
|
|
19236
|
+
p_order_ref: string;
|
|
19237
|
+
};
|
|
19238
|
+
Returns: number;
|
|
19239
|
+
};
|
|
18520
19240
|
logistics_order_pick_day: {
|
|
18521
19241
|
Args: {
|
|
18522
19242
|
p_order_ref: string;
|
|
@@ -18693,6 +19413,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18693
19413
|
};
|
|
18694
19414
|
Returns: import("../integrations/supabase/types").Json;
|
|
18695
19415
|
};
|
|
19416
|
+
logistics_shift_to_workday: {
|
|
19417
|
+
Args: {
|
|
19418
|
+
p_days: string[];
|
|
19419
|
+
p_ts: string;
|
|
19420
|
+
};
|
|
19421
|
+
Returns: string;
|
|
19422
|
+
};
|
|
18696
19423
|
logistics_supersede_stale_tasks: {
|
|
18697
19424
|
Args: {
|
|
18698
19425
|
p_keep: string[];
|
|
@@ -18978,6 +19705,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18978
19705
|
isSetofReturn: false;
|
|
18979
19706
|
};
|
|
18980
19707
|
};
|
|
19708
|
+
pick_current_pick_day: {
|
|
19709
|
+
Args: never;
|
|
19710
|
+
Returns: string;
|
|
19711
|
+
};
|
|
18981
19712
|
pick_document_layout_data: {
|
|
18982
19713
|
Args: {
|
|
18983
19714
|
_layout_id: string;
|
|
@@ -19209,10 +19940,68 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19209
19940
|
Args: never;
|
|
19210
19941
|
Returns: undefined;
|
|
19211
19942
|
};
|
|
19943
|
+
run_logistics_tasks_dispatch: {
|
|
19944
|
+
Args: never;
|
|
19945
|
+
Returns: undefined;
|
|
19946
|
+
};
|
|
19212
19947
|
run_twinfield_queue_tick: {
|
|
19213
19948
|
Args: never;
|
|
19214
19949
|
Returns: undefined;
|
|
19215
19950
|
};
|
|
19951
|
+
scan_cancel_kar: {
|
|
19952
|
+
Args: {
|
|
19953
|
+
p_kar_id: string;
|
|
19954
|
+
};
|
|
19955
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19956
|
+
};
|
|
19957
|
+
scan_dashboard_stats: {
|
|
19958
|
+
Args: {
|
|
19959
|
+
p_dagen?: number;
|
|
19960
|
+
};
|
|
19961
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19962
|
+
};
|
|
19963
|
+
scan_finish_kar: {
|
|
19964
|
+
Args: {
|
|
19965
|
+
p_kar_id: string;
|
|
19966
|
+
};
|
|
19967
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19968
|
+
};
|
|
19969
|
+
scan_register_item: {
|
|
19970
|
+
Args: {
|
|
19971
|
+
p_kar_id: string;
|
|
19972
|
+
p_pakbon_item_id: string;
|
|
19973
|
+
p_scanned_by?: string;
|
|
19974
|
+
};
|
|
19975
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19976
|
+
};
|
|
19977
|
+
scan_release_expired_locks: {
|
|
19978
|
+
Args: never;
|
|
19979
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19980
|
+
};
|
|
19981
|
+
scan_remove_item: {
|
|
19982
|
+
Args: {
|
|
19983
|
+
p_kar_item_id: string;
|
|
19984
|
+
};
|
|
19985
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19986
|
+
};
|
|
19987
|
+
scan_start_kar: {
|
|
19988
|
+
Args: {
|
|
19989
|
+
p_medewerker_id?: string;
|
|
19990
|
+
p_medewerker_naam?: string;
|
|
19991
|
+
p_pakbon_ids: string[];
|
|
19992
|
+
p_scanner_key?: string;
|
|
19993
|
+
};
|
|
19994
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19995
|
+
} | {
|
|
19996
|
+
Args: {
|
|
19997
|
+
p_medewerker_id?: string;
|
|
19998
|
+
p_medewerker_naam?: string;
|
|
19999
|
+
p_pakbon_ids: string[];
|
|
20000
|
+
p_scanner_key?: string;
|
|
20001
|
+
p_sessie?: string;
|
|
20002
|
+
};
|
|
20003
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20004
|
+
};
|
|
19216
20005
|
schedule_floriday_additional_services_sync: {
|
|
19217
20006
|
Args: {
|
|
19218
20007
|
p_apikey: string;
|