@flowselections/floriday-verkoop-module 1.0.37 → 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
|
@@ -1901,6 +1901,41 @@ export type Database = {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
];
|
|
1903
1903
|
};
|
|
1904
|
+
customer_notes: {
|
|
1905
|
+
Row: {
|
|
1906
|
+
created_at: string;
|
|
1907
|
+
customer_id: string | null;
|
|
1908
|
+
group_key: string | null;
|
|
1909
|
+
id: string;
|
|
1910
|
+
notes: string | null;
|
|
1911
|
+
updated_at: string;
|
|
1912
|
+
};
|
|
1913
|
+
Insert: {
|
|
1914
|
+
created_at?: string;
|
|
1915
|
+
customer_id?: string | null;
|
|
1916
|
+
group_key?: string | null;
|
|
1917
|
+
id?: string;
|
|
1918
|
+
notes?: string | null;
|
|
1919
|
+
updated_at?: string;
|
|
1920
|
+
};
|
|
1921
|
+
Update: {
|
|
1922
|
+
created_at?: string;
|
|
1923
|
+
customer_id?: string | null;
|
|
1924
|
+
group_key?: string | null;
|
|
1925
|
+
id?: string;
|
|
1926
|
+
notes?: string | null;
|
|
1927
|
+
updated_at?: string;
|
|
1928
|
+
};
|
|
1929
|
+
Relationships: [
|
|
1930
|
+
{
|
|
1931
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1932
|
+
columns: ["customer_id"];
|
|
1933
|
+
isOneToOne: true;
|
|
1934
|
+
referencedRelation: "customers";
|
|
1935
|
+
referencedColumns: ["id"];
|
|
1936
|
+
}
|
|
1937
|
+
];
|
|
1938
|
+
};
|
|
1904
1939
|
customer_price_group_members: {
|
|
1905
1940
|
Row: {
|
|
1906
1941
|
created_at: string;
|
|
@@ -3545,52 +3580,520 @@ export type Database = {
|
|
|
3545
3580
|
data_raw: Json | null;
|
|
3546
3581
|
expires_at: string | null;
|
|
3547
3582
|
id: string;
|
|
3548
|
-
open_count: number | null;
|
|
3549
|
-
overdue_amount: number | null;
|
|
3550
|
-
paid_this_month: number | null;
|
|
3551
|
-
period_key: string;
|
|
3552
|
-
total_invoiced: number | null;
|
|
3553
|
-
total_open: number | null;
|
|
3583
|
+
open_count: number | null;
|
|
3584
|
+
overdue_amount: number | null;
|
|
3585
|
+
paid_this_month: number | null;
|
|
3586
|
+
period_key: string;
|
|
3587
|
+
total_invoiced: number | null;
|
|
3588
|
+
total_open: number | null;
|
|
3589
|
+
};
|
|
3590
|
+
Insert: {
|
|
3591
|
+
analytics_type: string;
|
|
3592
|
+
avg_payment_days?: number | null;
|
|
3593
|
+
computed_at?: string;
|
|
3594
|
+
connection_id: string;
|
|
3595
|
+
data_raw?: Json | null;
|
|
3596
|
+
expires_at?: string | null;
|
|
3597
|
+
id?: string;
|
|
3598
|
+
open_count?: number | null;
|
|
3599
|
+
overdue_amount?: number | null;
|
|
3600
|
+
paid_this_month?: number | null;
|
|
3601
|
+
period_key: string;
|
|
3602
|
+
total_invoiced?: number | null;
|
|
3603
|
+
total_open?: number | null;
|
|
3604
|
+
};
|
|
3605
|
+
Update: {
|
|
3606
|
+
analytics_type?: string;
|
|
3607
|
+
avg_payment_days?: number | null;
|
|
3608
|
+
computed_at?: string;
|
|
3609
|
+
connection_id?: string;
|
|
3610
|
+
data_raw?: Json | null;
|
|
3611
|
+
expires_at?: string | null;
|
|
3612
|
+
id?: string;
|
|
3613
|
+
open_count?: number | null;
|
|
3614
|
+
overdue_amount?: number | null;
|
|
3615
|
+
paid_this_month?: number | null;
|
|
3616
|
+
period_key?: string;
|
|
3617
|
+
total_invoiced?: number | null;
|
|
3618
|
+
total_open?: number | null;
|
|
3619
|
+
};
|
|
3620
|
+
Relationships: [
|
|
3621
|
+
{
|
|
3622
|
+
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
3623
|
+
columns: ["connection_id"];
|
|
3624
|
+
isOneToOne: false;
|
|
3625
|
+
referencedRelation: "exact_connections";
|
|
3626
|
+
referencedColumns: ["id"];
|
|
3627
|
+
}
|
|
3628
|
+
];
|
|
3629
|
+
};
|
|
3630
|
+
exact_auth_call_budget: {
|
|
3631
|
+
Row: {
|
|
3632
|
+
account_key: string;
|
|
3633
|
+
day_count: number;
|
|
3634
|
+
day_date: string;
|
|
3635
|
+
division_code: number;
|
|
3636
|
+
environment: string;
|
|
3637
|
+
minute_count: number;
|
|
3638
|
+
minute_window: string;
|
|
3639
|
+
updated_at: string;
|
|
3640
|
+
};
|
|
3641
|
+
Insert: {
|
|
3642
|
+
account_key?: string;
|
|
3643
|
+
day_count?: number;
|
|
3644
|
+
day_date?: string;
|
|
3645
|
+
division_code?: number;
|
|
3646
|
+
environment: string;
|
|
3647
|
+
minute_count?: number;
|
|
3648
|
+
minute_window?: string;
|
|
3649
|
+
updated_at?: string;
|
|
3650
|
+
};
|
|
3651
|
+
Update: {
|
|
3652
|
+
account_key?: string;
|
|
3653
|
+
day_count?: number;
|
|
3654
|
+
day_date?: string;
|
|
3655
|
+
division_code?: number;
|
|
3656
|
+
environment?: string;
|
|
3657
|
+
minute_count?: number;
|
|
3658
|
+
minute_window?: string;
|
|
3659
|
+
updated_at?: string;
|
|
3660
|
+
};
|
|
3661
|
+
Relationships: [];
|
|
3662
|
+
};
|
|
3663
|
+
exact_auth_customers: {
|
|
3664
|
+
Row: {
|
|
3665
|
+
account_key: string;
|
|
3666
|
+
address_line1: string | null;
|
|
3667
|
+
chamber_of_commerce: string | null;
|
|
3668
|
+
city: string | null;
|
|
3669
|
+
code: string | null;
|
|
3670
|
+
country: string | null;
|
|
3671
|
+
created_at: string;
|
|
3672
|
+
currency: string | null;
|
|
3673
|
+
division_code: number | null;
|
|
3674
|
+
email: string | null;
|
|
3675
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3676
|
+
exact_id: string;
|
|
3677
|
+
exact_modified: string | null;
|
|
3678
|
+
exact_timestamp: number | null;
|
|
3679
|
+
id: string;
|
|
3680
|
+
is_active: boolean;
|
|
3681
|
+
name: string | null;
|
|
3682
|
+
phone: string | null;
|
|
3683
|
+
postcode: string | null;
|
|
3684
|
+
raw: Json | null;
|
|
3685
|
+
status: string | null;
|
|
3686
|
+
updated_at: string;
|
|
3687
|
+
vat_number: string | null;
|
|
3688
|
+
website: string | null;
|
|
3689
|
+
};
|
|
3690
|
+
Insert: {
|
|
3691
|
+
account_key?: string;
|
|
3692
|
+
address_line1?: string | null;
|
|
3693
|
+
chamber_of_commerce?: string | null;
|
|
3694
|
+
city?: string | null;
|
|
3695
|
+
code?: string | null;
|
|
3696
|
+
country?: string | null;
|
|
3697
|
+
created_at?: string;
|
|
3698
|
+
currency?: string | null;
|
|
3699
|
+
division_code?: number | null;
|
|
3700
|
+
email?: string | null;
|
|
3701
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3702
|
+
exact_id: string;
|
|
3703
|
+
exact_modified?: string | null;
|
|
3704
|
+
exact_timestamp?: number | null;
|
|
3705
|
+
id?: string;
|
|
3706
|
+
is_active?: boolean;
|
|
3707
|
+
name?: string | null;
|
|
3708
|
+
phone?: string | null;
|
|
3709
|
+
postcode?: string | null;
|
|
3710
|
+
raw?: Json | null;
|
|
3711
|
+
status?: string | null;
|
|
3712
|
+
updated_at?: string;
|
|
3713
|
+
vat_number?: string | null;
|
|
3714
|
+
website?: string | null;
|
|
3715
|
+
};
|
|
3716
|
+
Update: {
|
|
3717
|
+
account_key?: string;
|
|
3718
|
+
address_line1?: string | null;
|
|
3719
|
+
chamber_of_commerce?: string | null;
|
|
3720
|
+
city?: string | null;
|
|
3721
|
+
code?: string | null;
|
|
3722
|
+
country?: string | null;
|
|
3723
|
+
created_at?: string;
|
|
3724
|
+
currency?: string | null;
|
|
3725
|
+
division_code?: number | null;
|
|
3726
|
+
email?: string | null;
|
|
3727
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3728
|
+
exact_id?: string;
|
|
3729
|
+
exact_modified?: string | null;
|
|
3730
|
+
exact_timestamp?: number | null;
|
|
3731
|
+
id?: string;
|
|
3732
|
+
is_active?: boolean;
|
|
3733
|
+
name?: string | null;
|
|
3734
|
+
phone?: string | null;
|
|
3735
|
+
postcode?: string | null;
|
|
3736
|
+
raw?: Json | null;
|
|
3737
|
+
status?: string | null;
|
|
3738
|
+
updated_at?: string;
|
|
3739
|
+
vat_number?: string | null;
|
|
3740
|
+
website?: string | null;
|
|
3741
|
+
};
|
|
3742
|
+
Relationships: [];
|
|
3743
|
+
};
|
|
3744
|
+
exact_auth_divisions: {
|
|
3745
|
+
Row: {
|
|
3746
|
+
account_key: string;
|
|
3747
|
+
company_name: string | null;
|
|
3748
|
+
created_at: string;
|
|
3749
|
+
division_code: number | null;
|
|
3750
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3751
|
+
id: string;
|
|
3752
|
+
last_synced_at: string | null;
|
|
3753
|
+
updated_at: string;
|
|
3754
|
+
};
|
|
3755
|
+
Insert: {
|
|
3756
|
+
account_key?: string;
|
|
3757
|
+
company_name?: string | null;
|
|
3758
|
+
created_at?: string;
|
|
3759
|
+
division_code?: number | null;
|
|
3760
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3761
|
+
id?: string;
|
|
3762
|
+
last_synced_at?: string | null;
|
|
3763
|
+
updated_at?: string;
|
|
3764
|
+
};
|
|
3765
|
+
Update: {
|
|
3766
|
+
account_key?: string;
|
|
3767
|
+
company_name?: string | null;
|
|
3768
|
+
created_at?: string;
|
|
3769
|
+
division_code?: number | null;
|
|
3770
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3771
|
+
id?: string;
|
|
3772
|
+
last_synced_at?: string | null;
|
|
3773
|
+
updated_at?: string;
|
|
3774
|
+
};
|
|
3775
|
+
Relationships: [];
|
|
3776
|
+
};
|
|
3777
|
+
exact_auth_invoice_lines: {
|
|
3778
|
+
Row: {
|
|
3779
|
+
account_key: string;
|
|
3780
|
+
amount_excl: number | null;
|
|
3781
|
+
created_at: string;
|
|
3782
|
+
description: string | null;
|
|
3783
|
+
discount: number | null;
|
|
3784
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3785
|
+
exact_id: string;
|
|
3786
|
+
exact_timestamp: number | null;
|
|
3787
|
+
id: string;
|
|
3788
|
+
invoice_exact_id: string;
|
|
3789
|
+
item_code: string | null;
|
|
3790
|
+
item_exact_id: string | null;
|
|
3791
|
+
line_number: number | null;
|
|
3792
|
+
quantity: number | null;
|
|
3793
|
+
raw: Json | null;
|
|
3794
|
+
unit_price: number | null;
|
|
3795
|
+
updated_at: string;
|
|
3796
|
+
vat_amount: number | null;
|
|
3797
|
+
vat_code: string | null;
|
|
3798
|
+
};
|
|
3799
|
+
Insert: {
|
|
3800
|
+
account_key?: string;
|
|
3801
|
+
amount_excl?: number | null;
|
|
3802
|
+
created_at?: string;
|
|
3803
|
+
description?: string | null;
|
|
3804
|
+
discount?: number | null;
|
|
3805
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3806
|
+
exact_id: string;
|
|
3807
|
+
exact_timestamp?: number | null;
|
|
3808
|
+
id?: string;
|
|
3809
|
+
invoice_exact_id: string;
|
|
3810
|
+
item_code?: string | null;
|
|
3811
|
+
item_exact_id?: string | null;
|
|
3812
|
+
line_number?: number | null;
|
|
3813
|
+
quantity?: number | null;
|
|
3814
|
+
raw?: Json | null;
|
|
3815
|
+
unit_price?: number | null;
|
|
3816
|
+
updated_at?: string;
|
|
3817
|
+
vat_amount?: number | null;
|
|
3818
|
+
vat_code?: string | null;
|
|
3819
|
+
};
|
|
3820
|
+
Update: {
|
|
3821
|
+
account_key?: string;
|
|
3822
|
+
amount_excl?: number | null;
|
|
3823
|
+
created_at?: string;
|
|
3824
|
+
description?: string | null;
|
|
3825
|
+
discount?: number | null;
|
|
3826
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3827
|
+
exact_id?: string;
|
|
3828
|
+
exact_timestamp?: number | null;
|
|
3829
|
+
id?: string;
|
|
3830
|
+
invoice_exact_id?: string;
|
|
3831
|
+
item_code?: string | null;
|
|
3832
|
+
item_exact_id?: string | null;
|
|
3833
|
+
line_number?: number | null;
|
|
3834
|
+
quantity?: number | null;
|
|
3835
|
+
raw?: Json | null;
|
|
3836
|
+
unit_price?: number | null;
|
|
3837
|
+
updated_at?: string;
|
|
3838
|
+
vat_amount?: number | null;
|
|
3839
|
+
vat_code?: string | null;
|
|
3840
|
+
};
|
|
3841
|
+
Relationships: [];
|
|
3842
|
+
};
|
|
3843
|
+
exact_auth_invoices: {
|
|
3844
|
+
Row: {
|
|
3845
|
+
account_key: string;
|
|
3846
|
+
amount_excl: number | null;
|
|
3847
|
+
amount_incl: number | null;
|
|
3848
|
+
amount_open: number | null;
|
|
3849
|
+
created_at: string;
|
|
3850
|
+
currency: string | null;
|
|
3851
|
+
customer_code: string | null;
|
|
3852
|
+
customer_exact_id: string | null;
|
|
3853
|
+
customer_name: string | null;
|
|
3854
|
+
description: string | null;
|
|
3855
|
+
division_code: number | null;
|
|
3856
|
+
due_date: string | null;
|
|
3857
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3858
|
+
exact_id: string;
|
|
3859
|
+
exact_modified: string | null;
|
|
3860
|
+
exact_timestamp: number | null;
|
|
3861
|
+
id: string;
|
|
3862
|
+
invoice_date: string | null;
|
|
3863
|
+
invoice_number: string | null;
|
|
3864
|
+
order_number: string | null;
|
|
3865
|
+
paid_at: string | null;
|
|
3866
|
+
payment_status: string;
|
|
3867
|
+
raw: Json | null;
|
|
3868
|
+
receivable_synced_at: string | null;
|
|
3869
|
+
status_code: number | null;
|
|
3870
|
+
updated_at: string;
|
|
3871
|
+
};
|
|
3872
|
+
Insert: {
|
|
3873
|
+
account_key?: string;
|
|
3874
|
+
amount_excl?: number | null;
|
|
3875
|
+
amount_incl?: number | null;
|
|
3876
|
+
amount_open?: number | null;
|
|
3877
|
+
created_at?: string;
|
|
3878
|
+
currency?: string | null;
|
|
3879
|
+
customer_code?: string | null;
|
|
3880
|
+
customer_exact_id?: string | null;
|
|
3881
|
+
customer_name?: string | null;
|
|
3882
|
+
description?: string | null;
|
|
3883
|
+
division_code?: number | null;
|
|
3884
|
+
due_date?: string | null;
|
|
3885
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3886
|
+
exact_id: string;
|
|
3887
|
+
exact_modified?: string | null;
|
|
3888
|
+
exact_timestamp?: number | null;
|
|
3889
|
+
id?: string;
|
|
3890
|
+
invoice_date?: string | null;
|
|
3891
|
+
invoice_number?: string | null;
|
|
3892
|
+
order_number?: string | null;
|
|
3893
|
+
paid_at?: string | null;
|
|
3894
|
+
payment_status?: string;
|
|
3895
|
+
raw?: Json | null;
|
|
3896
|
+
receivable_synced_at?: string | null;
|
|
3897
|
+
status_code?: number | null;
|
|
3898
|
+
updated_at?: string;
|
|
3899
|
+
};
|
|
3900
|
+
Update: {
|
|
3901
|
+
account_key?: string;
|
|
3902
|
+
amount_excl?: number | null;
|
|
3903
|
+
amount_incl?: number | null;
|
|
3904
|
+
amount_open?: number | null;
|
|
3905
|
+
created_at?: string;
|
|
3906
|
+
currency?: string | null;
|
|
3907
|
+
customer_code?: string | null;
|
|
3908
|
+
customer_exact_id?: string | null;
|
|
3909
|
+
customer_name?: string | null;
|
|
3910
|
+
description?: string | null;
|
|
3911
|
+
division_code?: number | null;
|
|
3912
|
+
due_date?: string | null;
|
|
3913
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3914
|
+
exact_id?: string;
|
|
3915
|
+
exact_modified?: string | null;
|
|
3916
|
+
exact_timestamp?: number | null;
|
|
3917
|
+
id?: string;
|
|
3918
|
+
invoice_date?: string | null;
|
|
3919
|
+
invoice_number?: string | null;
|
|
3920
|
+
order_number?: string | null;
|
|
3921
|
+
paid_at?: string | null;
|
|
3922
|
+
payment_status?: string;
|
|
3923
|
+
raw?: Json | null;
|
|
3924
|
+
receivable_synced_at?: string | null;
|
|
3925
|
+
status_code?: number | null;
|
|
3926
|
+
updated_at?: string;
|
|
3927
|
+
};
|
|
3928
|
+
Relationships: [];
|
|
3929
|
+
};
|
|
3930
|
+
exact_auth_items: {
|
|
3931
|
+
Row: {
|
|
3932
|
+
account_key: string;
|
|
3933
|
+
barcode: string | null;
|
|
3934
|
+
code: string | null;
|
|
3935
|
+
cost_price: number | null;
|
|
3936
|
+
created_at: string;
|
|
3937
|
+
description: string | null;
|
|
3938
|
+
division_code: number | null;
|
|
3939
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3940
|
+
exact_id: string;
|
|
3941
|
+
exact_modified: string | null;
|
|
3942
|
+
exact_timestamp: number | null;
|
|
3943
|
+
gl_account_code: string | null;
|
|
3944
|
+
id: string;
|
|
3945
|
+
is_active: boolean;
|
|
3946
|
+
is_sales_item: boolean | null;
|
|
3947
|
+
item_type: string | null;
|
|
3948
|
+
raw: Json | null;
|
|
3949
|
+
sales_price: number | null;
|
|
3950
|
+
unit: string | null;
|
|
3951
|
+
updated_at: string;
|
|
3952
|
+
vat_code: string | null;
|
|
3953
|
+
};
|
|
3954
|
+
Insert: {
|
|
3955
|
+
account_key?: string;
|
|
3956
|
+
barcode?: string | null;
|
|
3957
|
+
code?: string | null;
|
|
3958
|
+
cost_price?: number | null;
|
|
3959
|
+
created_at?: string;
|
|
3960
|
+
description?: string | null;
|
|
3961
|
+
division_code?: number | null;
|
|
3962
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3963
|
+
exact_id: string;
|
|
3964
|
+
exact_modified?: string | null;
|
|
3965
|
+
exact_timestamp?: number | null;
|
|
3966
|
+
gl_account_code?: string | null;
|
|
3967
|
+
id?: string;
|
|
3968
|
+
is_active?: boolean;
|
|
3969
|
+
is_sales_item?: boolean | null;
|
|
3970
|
+
item_type?: string | null;
|
|
3971
|
+
raw?: Json | null;
|
|
3972
|
+
sales_price?: number | null;
|
|
3973
|
+
unit?: string | null;
|
|
3974
|
+
updated_at?: string;
|
|
3975
|
+
vat_code?: string | null;
|
|
3976
|
+
};
|
|
3977
|
+
Update: {
|
|
3978
|
+
account_key?: string;
|
|
3979
|
+
barcode?: string | null;
|
|
3980
|
+
code?: string | null;
|
|
3981
|
+
cost_price?: number | null;
|
|
3982
|
+
created_at?: string;
|
|
3983
|
+
description?: string | null;
|
|
3984
|
+
division_code?: number | null;
|
|
3985
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3986
|
+
exact_id?: string;
|
|
3987
|
+
exact_modified?: string | null;
|
|
3988
|
+
exact_timestamp?: number | null;
|
|
3989
|
+
gl_account_code?: string | null;
|
|
3990
|
+
id?: string;
|
|
3991
|
+
is_active?: boolean;
|
|
3992
|
+
is_sales_item?: boolean | null;
|
|
3993
|
+
item_type?: string | null;
|
|
3994
|
+
raw?: Json | null;
|
|
3995
|
+
sales_price?: number | null;
|
|
3996
|
+
unit?: string | null;
|
|
3997
|
+
updated_at?: string;
|
|
3998
|
+
vat_code?: string | null;
|
|
3999
|
+
};
|
|
4000
|
+
Relationships: [];
|
|
4001
|
+
};
|
|
4002
|
+
exact_auth_sync_log: {
|
|
4003
|
+
Row: {
|
|
4004
|
+
account_key: string;
|
|
4005
|
+
calls_used: number;
|
|
4006
|
+
created_at: string;
|
|
4007
|
+
domain: string;
|
|
4008
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4009
|
+
error: string | null;
|
|
4010
|
+
finished_at: string | null;
|
|
4011
|
+
id: string;
|
|
4012
|
+
ok: boolean;
|
|
4013
|
+
records: number;
|
|
4014
|
+
started_at: string;
|
|
3554
4015
|
};
|
|
3555
4016
|
Insert: {
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
4017
|
+
account_key?: string;
|
|
4018
|
+
calls_used?: number;
|
|
4019
|
+
created_at?: string;
|
|
4020
|
+
domain: string;
|
|
4021
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4022
|
+
error?: string | null;
|
|
4023
|
+
finished_at?: string | null;
|
|
3562
4024
|
id?: string;
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
period_key: string;
|
|
3567
|
-
total_invoiced?: number | null;
|
|
3568
|
-
total_open?: number | null;
|
|
4025
|
+
ok?: boolean;
|
|
4026
|
+
records?: number;
|
|
4027
|
+
started_at?: string;
|
|
3569
4028
|
};
|
|
3570
4029
|
Update: {
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
4030
|
+
account_key?: string;
|
|
4031
|
+
calls_used?: number;
|
|
4032
|
+
created_at?: string;
|
|
4033
|
+
domain?: string;
|
|
4034
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4035
|
+
error?: string | null;
|
|
4036
|
+
finished_at?: string | null;
|
|
3577
4037
|
id?: string;
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
period_key?: string;
|
|
3582
|
-
total_invoiced?: number | null;
|
|
3583
|
-
total_open?: number | null;
|
|
4038
|
+
ok?: boolean;
|
|
4039
|
+
records?: number;
|
|
4040
|
+
started_at?: string;
|
|
3584
4041
|
};
|
|
3585
|
-
Relationships: [
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
4042
|
+
Relationships: [];
|
|
4043
|
+
};
|
|
4044
|
+
exact_auth_sync_state: {
|
|
4045
|
+
Row: {
|
|
4046
|
+
account_key: string;
|
|
4047
|
+
created_at: string;
|
|
4048
|
+
cursor_timestamp: number;
|
|
4049
|
+
division_code: number | null;
|
|
4050
|
+
domain: string;
|
|
4051
|
+
duration_ms: number | null;
|
|
4052
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4053
|
+
initial_sync_done: boolean;
|
|
4054
|
+
last_error: string | null;
|
|
4055
|
+
last_run_at: string | null;
|
|
4056
|
+
last_success_at: string | null;
|
|
4057
|
+
locked_at: string | null;
|
|
4058
|
+
needs_initial_sync: boolean;
|
|
4059
|
+
record_count: number;
|
|
4060
|
+
updated_at: string;
|
|
4061
|
+
};
|
|
4062
|
+
Insert: {
|
|
4063
|
+
account_key?: string;
|
|
4064
|
+
created_at?: string;
|
|
4065
|
+
cursor_timestamp?: number;
|
|
4066
|
+
division_code?: number | null;
|
|
4067
|
+
domain: string;
|
|
4068
|
+
duration_ms?: number | null;
|
|
4069
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4070
|
+
initial_sync_done?: boolean;
|
|
4071
|
+
last_error?: string | null;
|
|
4072
|
+
last_run_at?: string | null;
|
|
4073
|
+
last_success_at?: string | null;
|
|
4074
|
+
locked_at?: string | null;
|
|
4075
|
+
needs_initial_sync?: boolean;
|
|
4076
|
+
record_count?: number;
|
|
4077
|
+
updated_at?: string;
|
|
4078
|
+
};
|
|
4079
|
+
Update: {
|
|
4080
|
+
account_key?: string;
|
|
4081
|
+
created_at?: string;
|
|
4082
|
+
cursor_timestamp?: number;
|
|
4083
|
+
division_code?: number | null;
|
|
4084
|
+
domain?: string;
|
|
4085
|
+
duration_ms?: number | null;
|
|
4086
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4087
|
+
initial_sync_done?: boolean;
|
|
4088
|
+
last_error?: string | null;
|
|
4089
|
+
last_run_at?: string | null;
|
|
4090
|
+
last_success_at?: string | null;
|
|
4091
|
+
locked_at?: string | null;
|
|
4092
|
+
needs_initial_sync?: boolean;
|
|
4093
|
+
record_count?: number;
|
|
4094
|
+
updated_at?: string;
|
|
4095
|
+
};
|
|
4096
|
+
Relationships: [];
|
|
3594
4097
|
};
|
|
3595
4098
|
exact_bulk_operation_items: {
|
|
3596
4099
|
Row: {
|
|
@@ -8400,6 +8903,66 @@ export type Database = {
|
|
|
8400
8903
|
};
|
|
8401
8904
|
Relationships: [];
|
|
8402
8905
|
};
|
|
8906
|
+
logistics_recalc_jobs: {
|
|
8907
|
+
Row: {
|
|
8908
|
+
carts_created: number;
|
|
8909
|
+
created_at: string;
|
|
8910
|
+
cursor: string | null;
|
|
8911
|
+
errors: Json;
|
|
8912
|
+
failed: number;
|
|
8913
|
+
finished_at: string | null;
|
|
8914
|
+
id: string;
|
|
8915
|
+
last_tick_at: string | null;
|
|
8916
|
+
phase: string;
|
|
8917
|
+
processed: number;
|
|
8918
|
+
skipped_locked: number;
|
|
8919
|
+
started_by: string | null;
|
|
8920
|
+
status: string;
|
|
8921
|
+
steps: Json;
|
|
8922
|
+
strategy_id: string | null;
|
|
8923
|
+
tasks_updated: number;
|
|
8924
|
+
updated_at: string;
|
|
8925
|
+
};
|
|
8926
|
+
Insert: {
|
|
8927
|
+
carts_created?: number;
|
|
8928
|
+
created_at?: string;
|
|
8929
|
+
cursor?: string | null;
|
|
8930
|
+
errors?: Json;
|
|
8931
|
+
failed?: number;
|
|
8932
|
+
finished_at?: string | null;
|
|
8933
|
+
id?: string;
|
|
8934
|
+
last_tick_at?: string | null;
|
|
8935
|
+
phase?: string;
|
|
8936
|
+
processed?: number;
|
|
8937
|
+
skipped_locked?: number;
|
|
8938
|
+
started_by?: string | null;
|
|
8939
|
+
status?: string;
|
|
8940
|
+
steps?: Json;
|
|
8941
|
+
strategy_id?: string | null;
|
|
8942
|
+
tasks_updated?: number;
|
|
8943
|
+
updated_at?: string;
|
|
8944
|
+
};
|
|
8945
|
+
Update: {
|
|
8946
|
+
carts_created?: number;
|
|
8947
|
+
created_at?: string;
|
|
8948
|
+
cursor?: string | null;
|
|
8949
|
+
errors?: Json;
|
|
8950
|
+
failed?: number;
|
|
8951
|
+
finished_at?: string | null;
|
|
8952
|
+
id?: string;
|
|
8953
|
+
last_tick_at?: string | null;
|
|
8954
|
+
phase?: string;
|
|
8955
|
+
processed?: number;
|
|
8956
|
+
skipped_locked?: number;
|
|
8957
|
+
started_by?: string | null;
|
|
8958
|
+
status?: string;
|
|
8959
|
+
steps?: Json;
|
|
8960
|
+
strategy_id?: string | null;
|
|
8961
|
+
tasks_updated?: number;
|
|
8962
|
+
updated_at?: string;
|
|
8963
|
+
};
|
|
8964
|
+
Relationships: [];
|
|
8965
|
+
};
|
|
8403
8966
|
logistics_reschedules: {
|
|
8404
8967
|
Row: {
|
|
8405
8968
|
created_at: string;
|
|
@@ -8768,6 +9331,8 @@ export type Database = {
|
|
|
8768
9331
|
};
|
|
8769
9332
|
logistics_tasks: {
|
|
8770
9333
|
Row: {
|
|
9334
|
+
attempt_log: Json;
|
|
9335
|
+
attempts: number;
|
|
8771
9336
|
buffer_ref: string | null;
|
|
8772
9337
|
claimed_at: string | null;
|
|
8773
9338
|
claimed_by: string | null;
|
|
@@ -8777,6 +9342,8 @@ export type Database = {
|
|
|
8777
9342
|
due_at: string | null;
|
|
8778
9343
|
error: string | null;
|
|
8779
9344
|
id: string;
|
|
9345
|
+
last_error: string | null;
|
|
9346
|
+
next_attempt_at: string | null;
|
|
8780
9347
|
order_ref: string;
|
|
8781
9348
|
owner_module: string;
|
|
8782
9349
|
payload: Json;
|
|
@@ -8797,6 +9364,8 @@ export type Database = {
|
|
|
8797
9364
|
user_id: string;
|
|
8798
9365
|
};
|
|
8799
9366
|
Insert: {
|
|
9367
|
+
attempt_log?: Json;
|
|
9368
|
+
attempts?: number;
|
|
8800
9369
|
buffer_ref?: string | null;
|
|
8801
9370
|
claimed_at?: string | null;
|
|
8802
9371
|
claimed_by?: string | null;
|
|
@@ -8806,6 +9375,8 @@ export type Database = {
|
|
|
8806
9375
|
due_at?: string | null;
|
|
8807
9376
|
error?: string | null;
|
|
8808
9377
|
id?: string;
|
|
9378
|
+
last_error?: string | null;
|
|
9379
|
+
next_attempt_at?: string | null;
|
|
8809
9380
|
order_ref: string;
|
|
8810
9381
|
owner_module: string;
|
|
8811
9382
|
payload?: Json;
|
|
@@ -8826,6 +9397,8 @@ export type Database = {
|
|
|
8826
9397
|
user_id?: string;
|
|
8827
9398
|
};
|
|
8828
9399
|
Update: {
|
|
9400
|
+
attempt_log?: Json;
|
|
9401
|
+
attempts?: number;
|
|
8829
9402
|
buffer_ref?: string | null;
|
|
8830
9403
|
claimed_at?: string | null;
|
|
8831
9404
|
claimed_by?: string | null;
|
|
@@ -8835,6 +9408,8 @@ export type Database = {
|
|
|
8835
9408
|
due_at?: string | null;
|
|
8836
9409
|
error?: string | null;
|
|
8837
9410
|
id?: string;
|
|
9411
|
+
last_error?: string | null;
|
|
9412
|
+
next_attempt_at?: string | null;
|
|
8838
9413
|
order_ref?: string;
|
|
8839
9414
|
owner_module?: string;
|
|
8840
9415
|
payload?: Json;
|
|
@@ -10230,6 +10805,7 @@ export type Database = {
|
|
|
10230
10805
|
};
|
|
10231
10806
|
offer_settings: {
|
|
10232
10807
|
Row: {
|
|
10808
|
+
brand_name: string | null;
|
|
10233
10809
|
button_color: string;
|
|
10234
10810
|
created_at: string;
|
|
10235
10811
|
default_countries: string[];
|
|
@@ -10251,6 +10827,7 @@ export type Database = {
|
|
|
10251
10827
|
updated_at: string;
|
|
10252
10828
|
};
|
|
10253
10829
|
Insert: {
|
|
10830
|
+
brand_name?: string | null;
|
|
10254
10831
|
button_color?: string;
|
|
10255
10832
|
created_at?: string;
|
|
10256
10833
|
default_countries?: string[];
|
|
@@ -10272,6 +10849,7 @@ export type Database = {
|
|
|
10272
10849
|
updated_at?: string;
|
|
10273
10850
|
};
|
|
10274
10851
|
Update: {
|
|
10852
|
+
brand_name?: string | null;
|
|
10275
10853
|
button_color?: string;
|
|
10276
10854
|
created_at?: string;
|
|
10277
10855
|
default_countries?: string[];
|
|
@@ -13813,6 +14391,7 @@ export type Database = {
|
|
|
13813
14391
|
buffer_key: string | null;
|
|
13814
14392
|
created_at: string;
|
|
13815
14393
|
customer_names: string[];
|
|
14394
|
+
device_id: string | null;
|
|
13816
14395
|
geprint: boolean;
|
|
13817
14396
|
geprint_op: string | null;
|
|
13818
14397
|
id: string;
|
|
@@ -13822,6 +14401,7 @@ export type Database = {
|
|
|
13822
14401
|
naar_pickstation: boolean;
|
|
13823
14402
|
naar_pickstation_op: string | null;
|
|
13824
14403
|
order_number: string | null;
|
|
14404
|
+
scanner_id: string | null;
|
|
13825
14405
|
scanner_key: string;
|
|
13826
14406
|
status: string;
|
|
13827
14407
|
totaal_producten: number;
|
|
@@ -13832,6 +14412,7 @@ export type Database = {
|
|
|
13832
14412
|
buffer_key?: string | null;
|
|
13833
14413
|
created_at?: string;
|
|
13834
14414
|
customer_names?: string[];
|
|
14415
|
+
device_id?: string | null;
|
|
13835
14416
|
geprint?: boolean;
|
|
13836
14417
|
geprint_op?: string | null;
|
|
13837
14418
|
id?: string;
|
|
@@ -13841,6 +14422,7 @@ export type Database = {
|
|
|
13841
14422
|
naar_pickstation?: boolean;
|
|
13842
14423
|
naar_pickstation_op?: string | null;
|
|
13843
14424
|
order_number?: string | null;
|
|
14425
|
+
scanner_id?: string | null;
|
|
13844
14426
|
scanner_key?: string;
|
|
13845
14427
|
status?: string;
|
|
13846
14428
|
totaal_producten?: number;
|
|
@@ -13851,6 +14433,7 @@ export type Database = {
|
|
|
13851
14433
|
buffer_key?: string | null;
|
|
13852
14434
|
created_at?: string;
|
|
13853
14435
|
customer_names?: string[];
|
|
14436
|
+
device_id?: string | null;
|
|
13854
14437
|
geprint?: boolean;
|
|
13855
14438
|
geprint_op?: string | null;
|
|
13856
14439
|
id?: string;
|
|
@@ -13860,6 +14443,7 @@ export type Database = {
|
|
|
13860
14443
|
naar_pickstation?: boolean;
|
|
13861
14444
|
naar_pickstation_op?: string | null;
|
|
13862
14445
|
order_number?: string | null;
|
|
14446
|
+
scanner_id?: string | null;
|
|
13863
14447
|
scanner_key?: string;
|
|
13864
14448
|
status?: string;
|
|
13865
14449
|
totaal_producten?: number;
|
|
@@ -13871,31 +14455,46 @@ export type Database = {
|
|
|
13871
14455
|
Row: {
|
|
13872
14456
|
code: string;
|
|
13873
14457
|
created_at: string;
|
|
14458
|
+
device_id: string | null;
|
|
13874
14459
|
id: string;
|
|
13875
14460
|
kar_id: string | null;
|
|
14461
|
+
latency_ms: number | null;
|
|
14462
|
+
medewerker_naam: string | null;
|
|
13876
14463
|
message: string | null;
|
|
13877
14464
|
result: string;
|
|
14465
|
+
retry_count: number;
|
|
13878
14466
|
scanner_key: string;
|
|
14467
|
+
session_id: string | null;
|
|
13879
14468
|
user_id: string | null;
|
|
13880
14469
|
};
|
|
13881
14470
|
Insert: {
|
|
13882
14471
|
code: string;
|
|
13883
14472
|
created_at?: string;
|
|
14473
|
+
device_id?: string | null;
|
|
13884
14474
|
id?: string;
|
|
13885
14475
|
kar_id?: string | null;
|
|
14476
|
+
latency_ms?: number | null;
|
|
14477
|
+
medewerker_naam?: string | null;
|
|
13886
14478
|
message?: string | null;
|
|
13887
14479
|
result: string;
|
|
14480
|
+
retry_count?: number;
|
|
13888
14481
|
scanner_key?: string;
|
|
14482
|
+
session_id?: string | null;
|
|
13889
14483
|
user_id?: string | null;
|
|
13890
14484
|
};
|
|
13891
14485
|
Update: {
|
|
13892
14486
|
code?: string;
|
|
13893
14487
|
created_at?: string;
|
|
14488
|
+
device_id?: string | null;
|
|
13894
14489
|
id?: string;
|
|
13895
14490
|
kar_id?: string | null;
|
|
14491
|
+
latency_ms?: number | null;
|
|
14492
|
+
medewerker_naam?: string | null;
|
|
13896
14493
|
message?: string | null;
|
|
13897
14494
|
result?: string;
|
|
14495
|
+
retry_count?: number;
|
|
13898
14496
|
scanner_key?: string;
|
|
14497
|
+
session_id?: string | null;
|
|
13899
14498
|
user_id?: string | null;
|
|
13900
14499
|
};
|
|
13901
14500
|
Relationships: [];
|
|
@@ -13954,6 +14553,9 @@ export type Database = {
|
|
|
13954
14553
|
printed_at: string;
|
|
13955
14554
|
status: string;
|
|
13956
14555
|
updated_at: string;
|
|
14556
|
+
vergrendeld_door: string | null;
|
|
14557
|
+
vergrendeld_sessie: string | null;
|
|
14558
|
+
vergrendeld_tot: string | null;
|
|
13957
14559
|
};
|
|
13958
14560
|
Insert: {
|
|
13959
14561
|
barcode: string;
|
|
@@ -13967,6 +14569,9 @@ export type Database = {
|
|
|
13967
14569
|
printed_at?: string;
|
|
13968
14570
|
status?: string;
|
|
13969
14571
|
updated_at?: string;
|
|
14572
|
+
vergrendeld_door?: string | null;
|
|
14573
|
+
vergrendeld_sessie?: string | null;
|
|
14574
|
+
vergrendeld_tot?: string | null;
|
|
13970
14575
|
};
|
|
13971
14576
|
Update: {
|
|
13972
14577
|
barcode?: string;
|
|
@@ -13980,6 +14585,9 @@ export type Database = {
|
|
|
13980
14585
|
printed_at?: string;
|
|
13981
14586
|
status?: string;
|
|
13982
14587
|
updated_at?: string;
|
|
14588
|
+
vergrendeld_door?: string | null;
|
|
14589
|
+
vergrendeld_sessie?: string | null;
|
|
14590
|
+
vergrendeld_tot?: string | null;
|
|
13983
14591
|
};
|
|
13984
14592
|
Relationships: [];
|
|
13985
14593
|
};
|
|
@@ -13988,31 +14596,40 @@ export type Database = {
|
|
|
13988
14596
|
actief: boolean;
|
|
13989
14597
|
created_at: string;
|
|
13990
14598
|
id: string;
|
|
14599
|
+
max_producten_per_kar: number | null;
|
|
13991
14600
|
naam: string;
|
|
13992
14601
|
omschrijving: string | null;
|
|
14602
|
+
pincode: string | null;
|
|
13993
14603
|
slug: string;
|
|
13994
14604
|
type: string;
|
|
13995
14605
|
updated_at: string;
|
|
14606
|
+
vereist_medewerker: boolean;
|
|
13996
14607
|
};
|
|
13997
14608
|
Insert: {
|
|
13998
14609
|
actief?: boolean;
|
|
13999
14610
|
created_at?: string;
|
|
14000
14611
|
id?: string;
|
|
14612
|
+
max_producten_per_kar?: number | null;
|
|
14001
14613
|
naam: string;
|
|
14002
14614
|
omschrijving?: string | null;
|
|
14615
|
+
pincode?: string | null;
|
|
14003
14616
|
slug: string;
|
|
14004
14617
|
type?: string;
|
|
14005
14618
|
updated_at?: string;
|
|
14619
|
+
vereist_medewerker?: boolean;
|
|
14006
14620
|
};
|
|
14007
14621
|
Update: {
|
|
14008
14622
|
actief?: boolean;
|
|
14009
14623
|
created_at?: string;
|
|
14010
14624
|
id?: string;
|
|
14625
|
+
max_producten_per_kar?: number | null;
|
|
14011
14626
|
naam?: string;
|
|
14012
14627
|
omschrijving?: string | null;
|
|
14628
|
+
pincode?: string | null;
|
|
14013
14629
|
slug?: string;
|
|
14014
14630
|
type?: string;
|
|
14015
14631
|
updated_at?: string;
|
|
14632
|
+
vereist_medewerker?: boolean;
|
|
14016
14633
|
};
|
|
14017
14634
|
Relationships: [];
|
|
14018
14635
|
};
|
|
@@ -18063,6 +18680,54 @@ export type Database = {
|
|
|
18063
18680
|
};
|
|
18064
18681
|
Returns: Json;
|
|
18065
18682
|
};
|
|
18683
|
+
claim_logistics_tasks: {
|
|
18684
|
+
Args: {
|
|
18685
|
+
_limit?: number;
|
|
18686
|
+
_owner_module: string;
|
|
18687
|
+
_stale_minutes?: number;
|
|
18688
|
+
_task_type: string;
|
|
18689
|
+
_worker: string;
|
|
18690
|
+
};
|
|
18691
|
+
Returns: {
|
|
18692
|
+
attempt_log: Json;
|
|
18693
|
+
attempts: number;
|
|
18694
|
+
buffer_ref: string | null;
|
|
18695
|
+
claimed_at: string | null;
|
|
18696
|
+
claimed_by: string | null;
|
|
18697
|
+
completed_at: string | null;
|
|
18698
|
+
created_at: string;
|
|
18699
|
+
depends_on: string[];
|
|
18700
|
+
due_at: string | null;
|
|
18701
|
+
error: string | null;
|
|
18702
|
+
id: string;
|
|
18703
|
+
last_error: string | null;
|
|
18704
|
+
next_attempt_at: string | null;
|
|
18705
|
+
order_ref: string;
|
|
18706
|
+
owner_module: string;
|
|
18707
|
+
payload: Json;
|
|
18708
|
+
plan_run_id: string | null;
|
|
18709
|
+
planned_end: string | null;
|
|
18710
|
+
planned_start: string | null;
|
|
18711
|
+
priority: number;
|
|
18712
|
+
result: Json | null;
|
|
18713
|
+
rule_config_id: string | null;
|
|
18714
|
+
rule_version: number | null;
|
|
18715
|
+
sequence: number;
|
|
18716
|
+
shadow: boolean;
|
|
18717
|
+
started_at: string | null;
|
|
18718
|
+
status: string;
|
|
18719
|
+
strategy_id: string | null;
|
|
18720
|
+
task_type: string;
|
|
18721
|
+
updated_at: string;
|
|
18722
|
+
user_id: string;
|
|
18723
|
+
}[];
|
|
18724
|
+
SetofOptions: {
|
|
18725
|
+
from: "*";
|
|
18726
|
+
to: "logistics_tasks";
|
|
18727
|
+
isOneToOne: false;
|
|
18728
|
+
isSetofReturn: true;
|
|
18729
|
+
};
|
|
18730
|
+
};
|
|
18066
18731
|
claim_print_jobs: {
|
|
18067
18732
|
Args: {
|
|
18068
18733
|
_agent_id: string;
|
|
@@ -18303,6 +18968,21 @@ export type Database = {
|
|
|
18303
18968
|
Args: never;
|
|
18304
18969
|
Returns: string;
|
|
18305
18970
|
};
|
|
18971
|
+
exact_auth_consume_calls: {
|
|
18972
|
+
Args: {
|
|
18973
|
+
_account_key: string;
|
|
18974
|
+
_calls?: number;
|
|
18975
|
+
_day_limit?: number;
|
|
18976
|
+
_division_code: number;
|
|
18977
|
+
_environment: string;
|
|
18978
|
+
_minute_limit?: number;
|
|
18979
|
+
};
|
|
18980
|
+
Returns: Json;
|
|
18981
|
+
};
|
|
18982
|
+
exact_auth_prune_sync_log: {
|
|
18983
|
+
Args: never;
|
|
18984
|
+
Returns: undefined;
|
|
18985
|
+
};
|
|
18306
18986
|
exact_decrypt: {
|
|
18307
18987
|
Args: {
|
|
18308
18988
|
cipher: string;
|
|
@@ -18512,6 +19192,10 @@ export type Database = {
|
|
|
18512
19192
|
};
|
|
18513
19193
|
Returns: number;
|
|
18514
19194
|
};
|
|
19195
|
+
get_offer_branding: {
|
|
19196
|
+
Args: never;
|
|
19197
|
+
Returns: Json;
|
|
19198
|
+
};
|
|
18515
19199
|
get_offer_by_link_code: {
|
|
18516
19200
|
Args: {
|
|
18517
19201
|
p_code: string;
|
|
@@ -18683,6 +19367,10 @@ export type Database = {
|
|
|
18683
19367
|
};
|
|
18684
19368
|
Returns: string;
|
|
18685
19369
|
};
|
|
19370
|
+
logistics_active_pick_workdays: {
|
|
19371
|
+
Args: never;
|
|
19372
|
+
Returns: string[];
|
|
19373
|
+
};
|
|
18686
19374
|
logistics_address_key: {
|
|
18687
19375
|
Args: {
|
|
18688
19376
|
p_location: string;
|
|
@@ -18799,6 +19487,8 @@ export type Database = {
|
|
|
18799
19487
|
p_worker?: string;
|
|
18800
19488
|
};
|
|
18801
19489
|
Returns: {
|
|
19490
|
+
attempt_log: Json;
|
|
19491
|
+
attempts: number;
|
|
18802
19492
|
buffer_ref: string | null;
|
|
18803
19493
|
claimed_at: string | null;
|
|
18804
19494
|
claimed_by: string | null;
|
|
@@ -18808,6 +19498,8 @@ export type Database = {
|
|
|
18808
19498
|
due_at: string | null;
|
|
18809
19499
|
error: string | null;
|
|
18810
19500
|
id: string;
|
|
19501
|
+
last_error: string | null;
|
|
19502
|
+
next_attempt_at: string | null;
|
|
18811
19503
|
order_ref: string;
|
|
18812
19504
|
owner_module: string;
|
|
18813
19505
|
payload: Json;
|
|
@@ -18840,6 +19532,8 @@ export type Database = {
|
|
|
18840
19532
|
p_worker?: string;
|
|
18841
19533
|
};
|
|
18842
19534
|
Returns: {
|
|
19535
|
+
attempt_log: Json;
|
|
19536
|
+
attempts: number;
|
|
18843
19537
|
buffer_ref: string | null;
|
|
18844
19538
|
claimed_at: string | null;
|
|
18845
19539
|
claimed_by: string | null;
|
|
@@ -18849,6 +19543,8 @@ export type Database = {
|
|
|
18849
19543
|
due_at: string | null;
|
|
18850
19544
|
error: string | null;
|
|
18851
19545
|
id: string;
|
|
19546
|
+
last_error: string | null;
|
|
19547
|
+
next_attempt_at: string | null;
|
|
18852
19548
|
order_ref: string;
|
|
18853
19549
|
owner_module: string;
|
|
18854
19550
|
payload: Json;
|
|
@@ -18881,6 +19577,8 @@ export type Database = {
|
|
|
18881
19577
|
p_task_id: string;
|
|
18882
19578
|
};
|
|
18883
19579
|
Returns: {
|
|
19580
|
+
attempt_log: Json;
|
|
19581
|
+
attempts: number;
|
|
18884
19582
|
buffer_ref: string | null;
|
|
18885
19583
|
claimed_at: string | null;
|
|
18886
19584
|
claimed_by: string | null;
|
|
@@ -18890,6 +19588,8 @@ export type Database = {
|
|
|
18890
19588
|
due_at: string | null;
|
|
18891
19589
|
error: string | null;
|
|
18892
19590
|
id: string;
|
|
19591
|
+
last_error: string | null;
|
|
19592
|
+
next_attempt_at: string | null;
|
|
18893
19593
|
order_ref: string;
|
|
18894
19594
|
owner_module: string;
|
|
18895
19595
|
payload: Json;
|
|
@@ -18971,6 +19671,8 @@ export type Database = {
|
|
|
18971
19671
|
p_task_id: string;
|
|
18972
19672
|
};
|
|
18973
19673
|
Returns: {
|
|
19674
|
+
attempt_log: Json;
|
|
19675
|
+
attempts: number;
|
|
18974
19676
|
buffer_ref: string | null;
|
|
18975
19677
|
claimed_at: string | null;
|
|
18976
19678
|
claimed_by: string | null;
|
|
@@ -18980,6 +19682,8 @@ export type Database = {
|
|
|
18980
19682
|
due_at: string | null;
|
|
18981
19683
|
error: string | null;
|
|
18982
19684
|
id: string;
|
|
19685
|
+
last_error: string | null;
|
|
19686
|
+
next_attempt_at: string | null;
|
|
18983
19687
|
order_ref: string;
|
|
18984
19688
|
owner_module: string;
|
|
18985
19689
|
payload: Json;
|
|
@@ -19006,12 +19710,30 @@ export type Database = {
|
|
|
19006
19710
|
isSetofReturn: false;
|
|
19007
19711
|
};
|
|
19008
19712
|
};
|
|
19713
|
+
logistics_live_carriers: {
|
|
19714
|
+
Args: {
|
|
19715
|
+
p_order_ref: string;
|
|
19716
|
+
};
|
|
19717
|
+
Returns: Json;
|
|
19718
|
+
};
|
|
19719
|
+
logistics_live_cart_count: {
|
|
19720
|
+
Args: {
|
|
19721
|
+
p_order_ref: string;
|
|
19722
|
+
};
|
|
19723
|
+
Returns: number;
|
|
19724
|
+
};
|
|
19009
19725
|
logistics_not_past: {
|
|
19010
19726
|
Args: {
|
|
19011
19727
|
p_ts: string;
|
|
19012
19728
|
};
|
|
19013
19729
|
Returns: string;
|
|
19014
19730
|
};
|
|
19731
|
+
logistics_order_cart_count: {
|
|
19732
|
+
Args: {
|
|
19733
|
+
p_order_ref: string;
|
|
19734
|
+
};
|
|
19735
|
+
Returns: number;
|
|
19736
|
+
};
|
|
19015
19737
|
logistics_order_pick_day: {
|
|
19016
19738
|
Args: {
|
|
19017
19739
|
p_order_ref: string;
|
|
@@ -19188,6 +19910,13 @@ export type Database = {
|
|
|
19188
19910
|
};
|
|
19189
19911
|
Returns: Json;
|
|
19190
19912
|
};
|
|
19913
|
+
logistics_shift_to_workday: {
|
|
19914
|
+
Args: {
|
|
19915
|
+
p_days: string[];
|
|
19916
|
+
p_ts: string;
|
|
19917
|
+
};
|
|
19918
|
+
Returns: string;
|
|
19919
|
+
};
|
|
19191
19920
|
logistics_supersede_stale_tasks: {
|
|
19192
19921
|
Args: {
|
|
19193
19922
|
p_keep: string[];
|
|
@@ -19473,6 +20202,10 @@ export type Database = {
|
|
|
19473
20202
|
isSetofReturn: false;
|
|
19474
20203
|
};
|
|
19475
20204
|
};
|
|
20205
|
+
pick_current_pick_day: {
|
|
20206
|
+
Args: never;
|
|
20207
|
+
Returns: string;
|
|
20208
|
+
};
|
|
19476
20209
|
pick_document_layout_data: {
|
|
19477
20210
|
Args: {
|
|
19478
20211
|
_layout_id: string;
|
|
@@ -19704,10 +20437,68 @@ export type Database = {
|
|
|
19704
20437
|
Args: never;
|
|
19705
20438
|
Returns: undefined;
|
|
19706
20439
|
};
|
|
20440
|
+
run_logistics_tasks_dispatch: {
|
|
20441
|
+
Args: never;
|
|
20442
|
+
Returns: undefined;
|
|
20443
|
+
};
|
|
19707
20444
|
run_twinfield_queue_tick: {
|
|
19708
20445
|
Args: never;
|
|
19709
20446
|
Returns: undefined;
|
|
19710
20447
|
};
|
|
20448
|
+
scan_cancel_kar: {
|
|
20449
|
+
Args: {
|
|
20450
|
+
p_kar_id: string;
|
|
20451
|
+
};
|
|
20452
|
+
Returns: Json;
|
|
20453
|
+
};
|
|
20454
|
+
scan_dashboard_stats: {
|
|
20455
|
+
Args: {
|
|
20456
|
+
p_dagen?: number;
|
|
20457
|
+
};
|
|
20458
|
+
Returns: Json;
|
|
20459
|
+
};
|
|
20460
|
+
scan_finish_kar: {
|
|
20461
|
+
Args: {
|
|
20462
|
+
p_kar_id: string;
|
|
20463
|
+
};
|
|
20464
|
+
Returns: Json;
|
|
20465
|
+
};
|
|
20466
|
+
scan_register_item: {
|
|
20467
|
+
Args: {
|
|
20468
|
+
p_kar_id: string;
|
|
20469
|
+
p_pakbon_item_id: string;
|
|
20470
|
+
p_scanned_by?: string;
|
|
20471
|
+
};
|
|
20472
|
+
Returns: Json;
|
|
20473
|
+
};
|
|
20474
|
+
scan_release_expired_locks: {
|
|
20475
|
+
Args: never;
|
|
20476
|
+
Returns: Json;
|
|
20477
|
+
};
|
|
20478
|
+
scan_remove_item: {
|
|
20479
|
+
Args: {
|
|
20480
|
+
p_kar_item_id: string;
|
|
20481
|
+
};
|
|
20482
|
+
Returns: Json;
|
|
20483
|
+
};
|
|
20484
|
+
scan_start_kar: {
|
|
20485
|
+
Args: {
|
|
20486
|
+
p_medewerker_id?: string;
|
|
20487
|
+
p_medewerker_naam?: string;
|
|
20488
|
+
p_pakbon_ids: string[];
|
|
20489
|
+
p_scanner_key?: string;
|
|
20490
|
+
};
|
|
20491
|
+
Returns: Json;
|
|
20492
|
+
} | {
|
|
20493
|
+
Args: {
|
|
20494
|
+
p_medewerker_id?: string;
|
|
20495
|
+
p_medewerker_naam?: string;
|
|
20496
|
+
p_pakbon_ids: string[];
|
|
20497
|
+
p_scanner_key?: string;
|
|
20498
|
+
p_sessie?: string;
|
|
20499
|
+
};
|
|
20500
|
+
Returns: Json;
|
|
20501
|
+
};
|
|
19711
20502
|
schedule_floriday_additional_services_sync: {
|
|
19712
20503
|
Args: {
|
|
19713
20504
|
p_apikey: string;
|