@flowselections/floriday-verkoop-module 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +50 -87
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +849 -60
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +849 -60
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +849 -60
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +830 -39
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +849 -60
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +8679 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +2565 -198
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +11835 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +2565 -198
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +849 -60
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +849 -60
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +5523 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +4505 -560
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +849 -60
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +4511 -562
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1578 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +849 -60
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +2565 -198
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1578 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1578 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +3535 -379
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +20393 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -0
- package/dist-lib/lib/salesorders-list.functions.js +21 -0
- package/dist-lib/lib/salesorders-list.server.d.ts +28 -0
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -0
- package/dist-lib/lib/salesorders-list.server.js +713 -0
- package/dist-lib/lib/salesorders.functions.d.ts +4505 -560
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +849 -60
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts +24 -3
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +49 -594
- package/package.json +2 -2
|
@@ -1858,6 +1858,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1858
1858
|
referencedColumns: ["id"];
|
|
1859
1859
|
}];
|
|
1860
1860
|
};
|
|
1861
|
+
customer_notes: {
|
|
1862
|
+
Row: {
|
|
1863
|
+
created_at: string;
|
|
1864
|
+
customer_id: string | null;
|
|
1865
|
+
group_key: string | null;
|
|
1866
|
+
id: string;
|
|
1867
|
+
notes: string | null;
|
|
1868
|
+
updated_at: string;
|
|
1869
|
+
};
|
|
1870
|
+
Insert: {
|
|
1871
|
+
created_at?: string;
|
|
1872
|
+
customer_id?: string | null;
|
|
1873
|
+
group_key?: string | null;
|
|
1874
|
+
id?: string;
|
|
1875
|
+
notes?: string | null;
|
|
1876
|
+
updated_at?: string;
|
|
1877
|
+
};
|
|
1878
|
+
Update: {
|
|
1879
|
+
created_at?: string;
|
|
1880
|
+
customer_id?: string | null;
|
|
1881
|
+
group_key?: string | null;
|
|
1882
|
+
id?: string;
|
|
1883
|
+
notes?: string | null;
|
|
1884
|
+
updated_at?: string;
|
|
1885
|
+
};
|
|
1886
|
+
Relationships: [{
|
|
1887
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1888
|
+
columns: ["customer_id"];
|
|
1889
|
+
isOneToOne: true;
|
|
1890
|
+
referencedRelation: "customers";
|
|
1891
|
+
referencedColumns: ["id"];
|
|
1892
|
+
}];
|
|
1893
|
+
};
|
|
1861
1894
|
customer_price_group_members: {
|
|
1862
1895
|
Row: {
|
|
1863
1896
|
created_at: string;
|
|
@@ -3433,74 +3466,542 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3433
3466
|
connection_id?: string;
|
|
3434
3467
|
expires_at?: string | null;
|
|
3435
3468
|
id?: string;
|
|
3436
|
-
invoice_count?: number | null;
|
|
3437
|
-
last_invoice_date?: string | null;
|
|
3438
|
-
last_payment_date?: string | null;
|
|
3439
|
-
open_balance?: number | null;
|
|
3440
|
-
overdue_balance?: number | null;
|
|
3441
|
-
total_revenue?: number | null;
|
|
3469
|
+
invoice_count?: number | null;
|
|
3470
|
+
last_invoice_date?: string | null;
|
|
3471
|
+
last_payment_date?: string | null;
|
|
3472
|
+
open_balance?: number | null;
|
|
3473
|
+
overdue_balance?: number | null;
|
|
3474
|
+
total_revenue?: number | null;
|
|
3475
|
+
};
|
|
3476
|
+
Relationships: [{
|
|
3477
|
+
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
3478
|
+
columns: ["connection_id"];
|
|
3479
|
+
isOneToOne: false;
|
|
3480
|
+
referencedRelation: "exact_connections";
|
|
3481
|
+
referencedColumns: ["id"];
|
|
3482
|
+
}];
|
|
3483
|
+
};
|
|
3484
|
+
exact_analytics_cache: {
|
|
3485
|
+
Row: {
|
|
3486
|
+
analytics_type: string;
|
|
3487
|
+
avg_payment_days: number | null;
|
|
3488
|
+
computed_at: string;
|
|
3489
|
+
connection_id: string;
|
|
3490
|
+
data_raw: import("./types").Json | null;
|
|
3491
|
+
expires_at: string | null;
|
|
3492
|
+
id: string;
|
|
3493
|
+
open_count: number | null;
|
|
3494
|
+
overdue_amount: number | null;
|
|
3495
|
+
paid_this_month: number | null;
|
|
3496
|
+
period_key: string;
|
|
3497
|
+
total_invoiced: number | null;
|
|
3498
|
+
total_open: number | null;
|
|
3499
|
+
};
|
|
3500
|
+
Insert: {
|
|
3501
|
+
analytics_type: string;
|
|
3502
|
+
avg_payment_days?: number | null;
|
|
3503
|
+
computed_at?: string;
|
|
3504
|
+
connection_id: string;
|
|
3505
|
+
data_raw?: import("./types").Json | null;
|
|
3506
|
+
expires_at?: string | null;
|
|
3507
|
+
id?: string;
|
|
3508
|
+
open_count?: number | null;
|
|
3509
|
+
overdue_amount?: number | null;
|
|
3510
|
+
paid_this_month?: number | null;
|
|
3511
|
+
period_key: string;
|
|
3512
|
+
total_invoiced?: number | null;
|
|
3513
|
+
total_open?: number | null;
|
|
3514
|
+
};
|
|
3515
|
+
Update: {
|
|
3516
|
+
analytics_type?: string;
|
|
3517
|
+
avg_payment_days?: number | null;
|
|
3518
|
+
computed_at?: string;
|
|
3519
|
+
connection_id?: string;
|
|
3520
|
+
data_raw?: import("./types").Json | null;
|
|
3521
|
+
expires_at?: string | null;
|
|
3522
|
+
id?: string;
|
|
3523
|
+
open_count?: number | null;
|
|
3524
|
+
overdue_amount?: number | null;
|
|
3525
|
+
paid_this_month?: number | null;
|
|
3526
|
+
period_key?: string;
|
|
3527
|
+
total_invoiced?: number | null;
|
|
3528
|
+
total_open?: number | null;
|
|
3529
|
+
};
|
|
3530
|
+
Relationships: [{
|
|
3531
|
+
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
3532
|
+
columns: ["connection_id"];
|
|
3533
|
+
isOneToOne: false;
|
|
3534
|
+
referencedRelation: "exact_connections";
|
|
3535
|
+
referencedColumns: ["id"];
|
|
3536
|
+
}];
|
|
3537
|
+
};
|
|
3538
|
+
exact_auth_call_budget: {
|
|
3539
|
+
Row: {
|
|
3540
|
+
account_key: string;
|
|
3541
|
+
day_count: number;
|
|
3542
|
+
day_date: string;
|
|
3543
|
+
division_code: number;
|
|
3544
|
+
environment: string;
|
|
3545
|
+
minute_count: number;
|
|
3546
|
+
minute_window: string;
|
|
3547
|
+
updated_at: string;
|
|
3548
|
+
};
|
|
3549
|
+
Insert: {
|
|
3550
|
+
account_key?: string;
|
|
3551
|
+
day_count?: number;
|
|
3552
|
+
day_date?: string;
|
|
3553
|
+
division_code?: number;
|
|
3554
|
+
environment: string;
|
|
3555
|
+
minute_count?: number;
|
|
3556
|
+
minute_window?: string;
|
|
3557
|
+
updated_at?: string;
|
|
3558
|
+
};
|
|
3559
|
+
Update: {
|
|
3560
|
+
account_key?: string;
|
|
3561
|
+
day_count?: number;
|
|
3562
|
+
day_date?: string;
|
|
3563
|
+
division_code?: number;
|
|
3564
|
+
environment?: string;
|
|
3565
|
+
minute_count?: number;
|
|
3566
|
+
minute_window?: string;
|
|
3567
|
+
updated_at?: string;
|
|
3568
|
+
};
|
|
3569
|
+
Relationships: [];
|
|
3570
|
+
};
|
|
3571
|
+
exact_auth_customers: {
|
|
3572
|
+
Row: {
|
|
3573
|
+
account_key: string;
|
|
3574
|
+
address_line1: string | null;
|
|
3575
|
+
chamber_of_commerce: string | null;
|
|
3576
|
+
city: string | null;
|
|
3577
|
+
code: string | null;
|
|
3578
|
+
country: string | null;
|
|
3579
|
+
created_at: string;
|
|
3580
|
+
currency: string | null;
|
|
3581
|
+
division_code: number | null;
|
|
3582
|
+
email: string | null;
|
|
3583
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3584
|
+
exact_id: string;
|
|
3585
|
+
exact_modified: string | null;
|
|
3586
|
+
exact_timestamp: number | null;
|
|
3587
|
+
id: string;
|
|
3588
|
+
is_active: boolean;
|
|
3589
|
+
name: string | null;
|
|
3590
|
+
phone: string | null;
|
|
3591
|
+
postcode: string | null;
|
|
3592
|
+
raw: import("./types").Json | null;
|
|
3593
|
+
status: string | null;
|
|
3594
|
+
updated_at: string;
|
|
3595
|
+
vat_number: string | null;
|
|
3596
|
+
website: string | null;
|
|
3597
|
+
};
|
|
3598
|
+
Insert: {
|
|
3599
|
+
account_key?: string;
|
|
3600
|
+
address_line1?: string | null;
|
|
3601
|
+
chamber_of_commerce?: string | null;
|
|
3602
|
+
city?: string | null;
|
|
3603
|
+
code?: string | null;
|
|
3604
|
+
country?: string | null;
|
|
3605
|
+
created_at?: string;
|
|
3606
|
+
currency?: string | null;
|
|
3607
|
+
division_code?: number | null;
|
|
3608
|
+
email?: string | null;
|
|
3609
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3610
|
+
exact_id: string;
|
|
3611
|
+
exact_modified?: string | null;
|
|
3612
|
+
exact_timestamp?: number | null;
|
|
3613
|
+
id?: string;
|
|
3614
|
+
is_active?: boolean;
|
|
3615
|
+
name?: string | null;
|
|
3616
|
+
phone?: string | null;
|
|
3617
|
+
postcode?: string | null;
|
|
3618
|
+
raw?: import("./types").Json | null;
|
|
3619
|
+
status?: string | null;
|
|
3620
|
+
updated_at?: string;
|
|
3621
|
+
vat_number?: string | null;
|
|
3622
|
+
website?: string | null;
|
|
3623
|
+
};
|
|
3624
|
+
Update: {
|
|
3625
|
+
account_key?: string;
|
|
3626
|
+
address_line1?: string | null;
|
|
3627
|
+
chamber_of_commerce?: string | null;
|
|
3628
|
+
city?: string | null;
|
|
3629
|
+
code?: string | null;
|
|
3630
|
+
country?: string | null;
|
|
3631
|
+
created_at?: string;
|
|
3632
|
+
currency?: string | null;
|
|
3633
|
+
division_code?: number | null;
|
|
3634
|
+
email?: string | null;
|
|
3635
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3636
|
+
exact_id?: string;
|
|
3637
|
+
exact_modified?: string | null;
|
|
3638
|
+
exact_timestamp?: number | null;
|
|
3639
|
+
id?: string;
|
|
3640
|
+
is_active?: boolean;
|
|
3641
|
+
name?: string | null;
|
|
3642
|
+
phone?: string | null;
|
|
3643
|
+
postcode?: string | null;
|
|
3644
|
+
raw?: import("./types").Json | null;
|
|
3645
|
+
status?: string | null;
|
|
3646
|
+
updated_at?: string;
|
|
3647
|
+
vat_number?: string | null;
|
|
3648
|
+
website?: string | null;
|
|
3649
|
+
};
|
|
3650
|
+
Relationships: [];
|
|
3651
|
+
};
|
|
3652
|
+
exact_auth_divisions: {
|
|
3653
|
+
Row: {
|
|
3654
|
+
account_key: string;
|
|
3655
|
+
company_name: string | null;
|
|
3656
|
+
created_at: string;
|
|
3657
|
+
division_code: number | null;
|
|
3658
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3659
|
+
id: string;
|
|
3660
|
+
last_synced_at: string | null;
|
|
3661
|
+
updated_at: string;
|
|
3662
|
+
};
|
|
3663
|
+
Insert: {
|
|
3664
|
+
account_key?: string;
|
|
3665
|
+
company_name?: string | null;
|
|
3666
|
+
created_at?: string;
|
|
3667
|
+
division_code?: number | null;
|
|
3668
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3669
|
+
id?: string;
|
|
3670
|
+
last_synced_at?: string | null;
|
|
3671
|
+
updated_at?: string;
|
|
3672
|
+
};
|
|
3673
|
+
Update: {
|
|
3674
|
+
account_key?: string;
|
|
3675
|
+
company_name?: string | null;
|
|
3676
|
+
created_at?: string;
|
|
3677
|
+
division_code?: number | null;
|
|
3678
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3679
|
+
id?: string;
|
|
3680
|
+
last_synced_at?: string | null;
|
|
3681
|
+
updated_at?: string;
|
|
3682
|
+
};
|
|
3683
|
+
Relationships: [];
|
|
3684
|
+
};
|
|
3685
|
+
exact_auth_invoice_lines: {
|
|
3686
|
+
Row: {
|
|
3687
|
+
account_key: string;
|
|
3688
|
+
amount_excl: number | null;
|
|
3689
|
+
created_at: string;
|
|
3690
|
+
description: string | null;
|
|
3691
|
+
discount: number | null;
|
|
3692
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3693
|
+
exact_id: string;
|
|
3694
|
+
exact_timestamp: number | null;
|
|
3695
|
+
id: string;
|
|
3696
|
+
invoice_exact_id: string;
|
|
3697
|
+
item_code: string | null;
|
|
3698
|
+
item_exact_id: string | null;
|
|
3699
|
+
line_number: number | null;
|
|
3700
|
+
quantity: number | null;
|
|
3701
|
+
raw: import("./types").Json | null;
|
|
3702
|
+
unit_price: number | null;
|
|
3703
|
+
updated_at: string;
|
|
3704
|
+
vat_amount: number | null;
|
|
3705
|
+
vat_code: string | null;
|
|
3706
|
+
};
|
|
3707
|
+
Insert: {
|
|
3708
|
+
account_key?: string;
|
|
3709
|
+
amount_excl?: number | null;
|
|
3710
|
+
created_at?: string;
|
|
3711
|
+
description?: string | null;
|
|
3712
|
+
discount?: number | null;
|
|
3713
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3714
|
+
exact_id: string;
|
|
3715
|
+
exact_timestamp?: number | null;
|
|
3716
|
+
id?: string;
|
|
3717
|
+
invoice_exact_id: string;
|
|
3718
|
+
item_code?: string | null;
|
|
3719
|
+
item_exact_id?: string | null;
|
|
3720
|
+
line_number?: number | null;
|
|
3721
|
+
quantity?: number | null;
|
|
3722
|
+
raw?: import("./types").Json | null;
|
|
3723
|
+
unit_price?: number | null;
|
|
3724
|
+
updated_at?: string;
|
|
3725
|
+
vat_amount?: number | null;
|
|
3726
|
+
vat_code?: string | null;
|
|
3727
|
+
};
|
|
3728
|
+
Update: {
|
|
3729
|
+
account_key?: string;
|
|
3730
|
+
amount_excl?: number | null;
|
|
3731
|
+
created_at?: string;
|
|
3732
|
+
description?: string | null;
|
|
3733
|
+
discount?: number | null;
|
|
3734
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3735
|
+
exact_id?: string;
|
|
3736
|
+
exact_timestamp?: number | null;
|
|
3737
|
+
id?: string;
|
|
3738
|
+
invoice_exact_id?: string;
|
|
3739
|
+
item_code?: string | null;
|
|
3740
|
+
item_exact_id?: string | null;
|
|
3741
|
+
line_number?: number | null;
|
|
3742
|
+
quantity?: number | null;
|
|
3743
|
+
raw?: import("./types").Json | null;
|
|
3744
|
+
unit_price?: number | null;
|
|
3745
|
+
updated_at?: string;
|
|
3746
|
+
vat_amount?: number | null;
|
|
3747
|
+
vat_code?: string | null;
|
|
3748
|
+
};
|
|
3749
|
+
Relationships: [];
|
|
3750
|
+
};
|
|
3751
|
+
exact_auth_invoices: {
|
|
3752
|
+
Row: {
|
|
3753
|
+
account_key: string;
|
|
3754
|
+
amount_excl: number | null;
|
|
3755
|
+
amount_incl: number | null;
|
|
3756
|
+
amount_open: number | null;
|
|
3757
|
+
created_at: string;
|
|
3758
|
+
currency: string | null;
|
|
3759
|
+
customer_code: string | null;
|
|
3760
|
+
customer_exact_id: string | null;
|
|
3761
|
+
customer_name: string | null;
|
|
3762
|
+
description: string | null;
|
|
3763
|
+
division_code: number | null;
|
|
3764
|
+
due_date: string | null;
|
|
3765
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3766
|
+
exact_id: string;
|
|
3767
|
+
exact_modified: string | null;
|
|
3768
|
+
exact_timestamp: number | null;
|
|
3769
|
+
id: string;
|
|
3770
|
+
invoice_date: string | null;
|
|
3771
|
+
invoice_number: string | null;
|
|
3772
|
+
order_number: string | null;
|
|
3773
|
+
paid_at: string | null;
|
|
3774
|
+
payment_status: string;
|
|
3775
|
+
raw: import("./types").Json | null;
|
|
3776
|
+
receivable_synced_at: string | null;
|
|
3777
|
+
status_code: number | null;
|
|
3778
|
+
updated_at: string;
|
|
3779
|
+
};
|
|
3780
|
+
Insert: {
|
|
3781
|
+
account_key?: string;
|
|
3782
|
+
amount_excl?: number | null;
|
|
3783
|
+
amount_incl?: number | null;
|
|
3784
|
+
amount_open?: number | null;
|
|
3785
|
+
created_at?: string;
|
|
3786
|
+
currency?: string | null;
|
|
3787
|
+
customer_code?: string | null;
|
|
3788
|
+
customer_exact_id?: string | null;
|
|
3789
|
+
customer_name?: string | null;
|
|
3790
|
+
description?: string | null;
|
|
3791
|
+
division_code?: number | null;
|
|
3792
|
+
due_date?: string | null;
|
|
3793
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3794
|
+
exact_id: string;
|
|
3795
|
+
exact_modified?: string | null;
|
|
3796
|
+
exact_timestamp?: number | null;
|
|
3797
|
+
id?: string;
|
|
3798
|
+
invoice_date?: string | null;
|
|
3799
|
+
invoice_number?: string | null;
|
|
3800
|
+
order_number?: string | null;
|
|
3801
|
+
paid_at?: string | null;
|
|
3802
|
+
payment_status?: string;
|
|
3803
|
+
raw?: import("./types").Json | null;
|
|
3804
|
+
receivable_synced_at?: string | null;
|
|
3805
|
+
status_code?: number | null;
|
|
3806
|
+
updated_at?: string;
|
|
3807
|
+
};
|
|
3808
|
+
Update: {
|
|
3809
|
+
account_key?: string;
|
|
3810
|
+
amount_excl?: number | null;
|
|
3811
|
+
amount_incl?: number | null;
|
|
3812
|
+
amount_open?: number | null;
|
|
3813
|
+
created_at?: string;
|
|
3814
|
+
currency?: string | null;
|
|
3815
|
+
customer_code?: string | null;
|
|
3816
|
+
customer_exact_id?: string | null;
|
|
3817
|
+
customer_name?: string | null;
|
|
3818
|
+
description?: string | null;
|
|
3819
|
+
division_code?: number | null;
|
|
3820
|
+
due_date?: string | null;
|
|
3821
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3822
|
+
exact_id?: string;
|
|
3823
|
+
exact_modified?: string | null;
|
|
3824
|
+
exact_timestamp?: number | null;
|
|
3825
|
+
id?: string;
|
|
3826
|
+
invoice_date?: string | null;
|
|
3827
|
+
invoice_number?: string | null;
|
|
3828
|
+
order_number?: string | null;
|
|
3829
|
+
paid_at?: string | null;
|
|
3830
|
+
payment_status?: string;
|
|
3831
|
+
raw?: import("./types").Json | null;
|
|
3832
|
+
receivable_synced_at?: string | null;
|
|
3833
|
+
status_code?: number | null;
|
|
3834
|
+
updated_at?: string;
|
|
3835
|
+
};
|
|
3836
|
+
Relationships: [];
|
|
3837
|
+
};
|
|
3838
|
+
exact_auth_items: {
|
|
3839
|
+
Row: {
|
|
3840
|
+
account_key: string;
|
|
3841
|
+
barcode: string | null;
|
|
3842
|
+
code: string | null;
|
|
3843
|
+
cost_price: number | null;
|
|
3844
|
+
created_at: string;
|
|
3845
|
+
description: string | null;
|
|
3846
|
+
division_code: number | null;
|
|
3847
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3848
|
+
exact_id: string;
|
|
3849
|
+
exact_modified: string | null;
|
|
3850
|
+
exact_timestamp: number | null;
|
|
3851
|
+
gl_account_code: string | null;
|
|
3852
|
+
id: string;
|
|
3853
|
+
is_active: boolean;
|
|
3854
|
+
is_sales_item: boolean | null;
|
|
3855
|
+
item_type: string | null;
|
|
3856
|
+
raw: import("./types").Json | null;
|
|
3857
|
+
sales_price: number | null;
|
|
3858
|
+
unit: string | null;
|
|
3859
|
+
updated_at: string;
|
|
3860
|
+
vat_code: string | null;
|
|
3861
|
+
};
|
|
3862
|
+
Insert: {
|
|
3863
|
+
account_key?: string;
|
|
3864
|
+
barcode?: string | null;
|
|
3865
|
+
code?: string | null;
|
|
3866
|
+
cost_price?: number | null;
|
|
3867
|
+
created_at?: string;
|
|
3868
|
+
description?: string | null;
|
|
3869
|
+
division_code?: number | null;
|
|
3870
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3871
|
+
exact_id: string;
|
|
3872
|
+
exact_modified?: string | null;
|
|
3873
|
+
exact_timestamp?: number | null;
|
|
3874
|
+
gl_account_code?: string | null;
|
|
3875
|
+
id?: string;
|
|
3876
|
+
is_active?: boolean;
|
|
3877
|
+
is_sales_item?: boolean | null;
|
|
3878
|
+
item_type?: string | null;
|
|
3879
|
+
raw?: import("./types").Json | null;
|
|
3880
|
+
sales_price?: number | null;
|
|
3881
|
+
unit?: string | null;
|
|
3882
|
+
updated_at?: string;
|
|
3883
|
+
vat_code?: string | null;
|
|
3884
|
+
};
|
|
3885
|
+
Update: {
|
|
3886
|
+
account_key?: string;
|
|
3887
|
+
barcode?: string | null;
|
|
3888
|
+
code?: string | null;
|
|
3889
|
+
cost_price?: number | null;
|
|
3890
|
+
created_at?: string;
|
|
3891
|
+
description?: string | null;
|
|
3892
|
+
division_code?: number | null;
|
|
3893
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3894
|
+
exact_id?: string;
|
|
3895
|
+
exact_modified?: string | null;
|
|
3896
|
+
exact_timestamp?: number | null;
|
|
3897
|
+
gl_account_code?: string | null;
|
|
3898
|
+
id?: string;
|
|
3899
|
+
is_active?: boolean;
|
|
3900
|
+
is_sales_item?: boolean | null;
|
|
3901
|
+
item_type?: string | null;
|
|
3902
|
+
raw?: import("./types").Json | null;
|
|
3903
|
+
sales_price?: number | null;
|
|
3904
|
+
unit?: string | null;
|
|
3905
|
+
updated_at?: string;
|
|
3906
|
+
vat_code?: string | null;
|
|
3907
|
+
};
|
|
3908
|
+
Relationships: [];
|
|
3909
|
+
};
|
|
3910
|
+
exact_auth_sync_log: {
|
|
3911
|
+
Row: {
|
|
3912
|
+
account_key: string;
|
|
3913
|
+
calls_used: number;
|
|
3914
|
+
created_at: string;
|
|
3915
|
+
domain: string;
|
|
3916
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3917
|
+
error: string | null;
|
|
3918
|
+
finished_at: string | null;
|
|
3919
|
+
id: string;
|
|
3920
|
+
ok: boolean;
|
|
3921
|
+
records: number;
|
|
3922
|
+
started_at: string;
|
|
3923
|
+
};
|
|
3924
|
+
Insert: {
|
|
3925
|
+
account_key?: string;
|
|
3926
|
+
calls_used?: number;
|
|
3927
|
+
created_at?: string;
|
|
3928
|
+
domain: string;
|
|
3929
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3930
|
+
error?: string | null;
|
|
3931
|
+
finished_at?: string | null;
|
|
3932
|
+
id?: string;
|
|
3933
|
+
ok?: boolean;
|
|
3934
|
+
records?: number;
|
|
3935
|
+
started_at?: string;
|
|
3936
|
+
};
|
|
3937
|
+
Update: {
|
|
3938
|
+
account_key?: string;
|
|
3939
|
+
calls_used?: number;
|
|
3940
|
+
created_at?: string;
|
|
3941
|
+
domain?: string;
|
|
3942
|
+
environment?: 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;
|
|
3442
3949
|
};
|
|
3443
|
-
Relationships: [
|
|
3444
|
-
foreignKeyName: "exact_account_analytics_cache_connection_id_fkey";
|
|
3445
|
-
columns: ["connection_id"];
|
|
3446
|
-
isOneToOne: false;
|
|
3447
|
-
referencedRelation: "exact_connections";
|
|
3448
|
-
referencedColumns: ["id"];
|
|
3449
|
-
}];
|
|
3950
|
+
Relationships: [];
|
|
3450
3951
|
};
|
|
3451
|
-
|
|
3952
|
+
exact_auth_sync_state: {
|
|
3452
3953
|
Row: {
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3954
|
+
account_key: string;
|
|
3955
|
+
created_at: string;
|
|
3956
|
+
cursor_timestamp: number;
|
|
3957
|
+
division_code: number | null;
|
|
3958
|
+
domain: string;
|
|
3959
|
+
duration_ms: number | null;
|
|
3960
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3961
|
+
initial_sync_done: boolean;
|
|
3962
|
+
last_error: string | null;
|
|
3963
|
+
last_run_at: string | null;
|
|
3964
|
+
last_success_at: string | null;
|
|
3965
|
+
locked_at: string | null;
|
|
3966
|
+
needs_initial_sync: boolean;
|
|
3967
|
+
record_count: number;
|
|
3968
|
+
updated_at: string;
|
|
3466
3969
|
};
|
|
3467
3970
|
Insert: {
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3971
|
+
account_key?: string;
|
|
3972
|
+
created_at?: string;
|
|
3973
|
+
cursor_timestamp?: number;
|
|
3974
|
+
division_code?: number | null;
|
|
3975
|
+
domain: string;
|
|
3976
|
+
duration_ms?: number | null;
|
|
3977
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3978
|
+
initial_sync_done?: boolean;
|
|
3979
|
+
last_error?: string | null;
|
|
3980
|
+
last_run_at?: string | null;
|
|
3981
|
+
last_success_at?: string | null;
|
|
3982
|
+
locked_at?: string | null;
|
|
3983
|
+
needs_initial_sync?: boolean;
|
|
3984
|
+
record_count?: number;
|
|
3985
|
+
updated_at?: string;
|
|
3481
3986
|
};
|
|
3482
3987
|
Update: {
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3988
|
+
account_key?: string;
|
|
3989
|
+
created_at?: string;
|
|
3990
|
+
cursor_timestamp?: number;
|
|
3991
|
+
division_code?: number | null;
|
|
3992
|
+
domain?: string;
|
|
3993
|
+
duration_ms?: number | null;
|
|
3994
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3995
|
+
initial_sync_done?: boolean;
|
|
3996
|
+
last_error?: string | null;
|
|
3997
|
+
last_run_at?: string | null;
|
|
3998
|
+
last_success_at?: string | null;
|
|
3999
|
+
locked_at?: string | null;
|
|
4000
|
+
needs_initial_sync?: boolean;
|
|
4001
|
+
record_count?: number;
|
|
4002
|
+
updated_at?: string;
|
|
3496
4003
|
};
|
|
3497
|
-
Relationships: [
|
|
3498
|
-
foreignKeyName: "exact_analytics_cache_connection_id_fkey";
|
|
3499
|
-
columns: ["connection_id"];
|
|
3500
|
-
isOneToOne: false;
|
|
3501
|
-
referencedRelation: "exact_connections";
|
|
3502
|
-
referencedColumns: ["id"];
|
|
3503
|
-
}];
|
|
4004
|
+
Relationships: [];
|
|
3504
4005
|
};
|
|
3505
4006
|
exact_bulk_operation_items: {
|
|
3506
4007
|
Row: {
|
|
@@ -8164,6 +8665,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8164
8665
|
};
|
|
8165
8666
|
Relationships: [];
|
|
8166
8667
|
};
|
|
8668
|
+
logistics_recalc_jobs: {
|
|
8669
|
+
Row: {
|
|
8670
|
+
carts_created: number;
|
|
8671
|
+
created_at: string;
|
|
8672
|
+
cursor: string | null;
|
|
8673
|
+
errors: import("./types").Json;
|
|
8674
|
+
failed: number;
|
|
8675
|
+
finished_at: string | null;
|
|
8676
|
+
id: string;
|
|
8677
|
+
last_tick_at: string | null;
|
|
8678
|
+
phase: string;
|
|
8679
|
+
processed: number;
|
|
8680
|
+
skipped_locked: number;
|
|
8681
|
+
started_by: string | null;
|
|
8682
|
+
status: string;
|
|
8683
|
+
steps: import("./types").Json;
|
|
8684
|
+
strategy_id: string | null;
|
|
8685
|
+
tasks_updated: number;
|
|
8686
|
+
updated_at: string;
|
|
8687
|
+
};
|
|
8688
|
+
Insert: {
|
|
8689
|
+
carts_created?: number;
|
|
8690
|
+
created_at?: string;
|
|
8691
|
+
cursor?: string | null;
|
|
8692
|
+
errors?: import("./types").Json;
|
|
8693
|
+
failed?: number;
|
|
8694
|
+
finished_at?: string | null;
|
|
8695
|
+
id?: string;
|
|
8696
|
+
last_tick_at?: string | null;
|
|
8697
|
+
phase?: string;
|
|
8698
|
+
processed?: number;
|
|
8699
|
+
skipped_locked?: number;
|
|
8700
|
+
started_by?: string | null;
|
|
8701
|
+
status?: string;
|
|
8702
|
+
steps?: import("./types").Json;
|
|
8703
|
+
strategy_id?: string | null;
|
|
8704
|
+
tasks_updated?: number;
|
|
8705
|
+
updated_at?: string;
|
|
8706
|
+
};
|
|
8707
|
+
Update: {
|
|
8708
|
+
carts_created?: number;
|
|
8709
|
+
created_at?: string;
|
|
8710
|
+
cursor?: string | null;
|
|
8711
|
+
errors?: import("./types").Json;
|
|
8712
|
+
failed?: number;
|
|
8713
|
+
finished_at?: string | null;
|
|
8714
|
+
id?: string;
|
|
8715
|
+
last_tick_at?: string | null;
|
|
8716
|
+
phase?: string;
|
|
8717
|
+
processed?: number;
|
|
8718
|
+
skipped_locked?: number;
|
|
8719
|
+
started_by?: string | null;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
steps?: import("./types").Json;
|
|
8722
|
+
strategy_id?: string | null;
|
|
8723
|
+
tasks_updated?: number;
|
|
8724
|
+
updated_at?: string;
|
|
8725
|
+
};
|
|
8726
|
+
Relationships: [];
|
|
8727
|
+
};
|
|
8167
8728
|
logistics_reschedules: {
|
|
8168
8729
|
Row: {
|
|
8169
8730
|
created_at: string;
|
|
@@ -8526,6 +9087,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8526
9087
|
};
|
|
8527
9088
|
logistics_tasks: {
|
|
8528
9089
|
Row: {
|
|
9090
|
+
attempt_log: import("./types").Json;
|
|
9091
|
+
attempts: number;
|
|
8529
9092
|
buffer_ref: string | null;
|
|
8530
9093
|
claimed_at: string | null;
|
|
8531
9094
|
claimed_by: string | null;
|
|
@@ -8535,6 +9098,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8535
9098
|
due_at: string | null;
|
|
8536
9099
|
error: string | null;
|
|
8537
9100
|
id: string;
|
|
9101
|
+
last_error: string | null;
|
|
9102
|
+
next_attempt_at: string | null;
|
|
8538
9103
|
order_ref: string;
|
|
8539
9104
|
owner_module: string;
|
|
8540
9105
|
payload: import("./types").Json;
|
|
@@ -8555,6 +9120,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8555
9120
|
user_id: string;
|
|
8556
9121
|
};
|
|
8557
9122
|
Insert: {
|
|
9123
|
+
attempt_log?: import("./types").Json;
|
|
9124
|
+
attempts?: number;
|
|
8558
9125
|
buffer_ref?: string | null;
|
|
8559
9126
|
claimed_at?: string | null;
|
|
8560
9127
|
claimed_by?: string | null;
|
|
@@ -8564,6 +9131,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8564
9131
|
due_at?: string | null;
|
|
8565
9132
|
error?: string | null;
|
|
8566
9133
|
id?: string;
|
|
9134
|
+
last_error?: string | null;
|
|
9135
|
+
next_attempt_at?: string | null;
|
|
8567
9136
|
order_ref: string;
|
|
8568
9137
|
owner_module: string;
|
|
8569
9138
|
payload?: import("./types").Json;
|
|
@@ -8584,6 +9153,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8584
9153
|
user_id?: string;
|
|
8585
9154
|
};
|
|
8586
9155
|
Update: {
|
|
9156
|
+
attempt_log?: import("./types").Json;
|
|
9157
|
+
attempts?: number;
|
|
8587
9158
|
buffer_ref?: string | null;
|
|
8588
9159
|
claimed_at?: string | null;
|
|
8589
9160
|
claimed_by?: string | null;
|
|
@@ -8593,6 +9164,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8593
9164
|
due_at?: string | null;
|
|
8594
9165
|
error?: string | null;
|
|
8595
9166
|
id?: string;
|
|
9167
|
+
last_error?: string | null;
|
|
9168
|
+
next_attempt_at?: string | null;
|
|
8596
9169
|
order_ref?: string;
|
|
8597
9170
|
owner_module?: string;
|
|
8598
9171
|
payload?: import("./types").Json;
|
|
@@ -9942,6 +10515,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9942
10515
|
};
|
|
9943
10516
|
offer_settings: {
|
|
9944
10517
|
Row: {
|
|
10518
|
+
brand_name: string | null;
|
|
9945
10519
|
button_color: string;
|
|
9946
10520
|
created_at: string;
|
|
9947
10521
|
default_countries: string[];
|
|
@@ -9963,6 +10537,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9963
10537
|
updated_at: string;
|
|
9964
10538
|
};
|
|
9965
10539
|
Insert: {
|
|
10540
|
+
brand_name?: string | null;
|
|
9966
10541
|
button_color?: string;
|
|
9967
10542
|
created_at?: string;
|
|
9968
10543
|
default_countries?: string[];
|
|
@@ -9984,6 +10559,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9984
10559
|
updated_at?: string;
|
|
9985
10560
|
};
|
|
9986
10561
|
Update: {
|
|
10562
|
+
brand_name?: string | null;
|
|
9987
10563
|
button_color?: string;
|
|
9988
10564
|
created_at?: string;
|
|
9989
10565
|
default_countries?: string[];
|
|
@@ -13393,6 +13969,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13393
13969
|
buffer_key: string | null;
|
|
13394
13970
|
created_at: string;
|
|
13395
13971
|
customer_names: string[];
|
|
13972
|
+
device_id: string | null;
|
|
13396
13973
|
geprint: boolean;
|
|
13397
13974
|
geprint_op: string | null;
|
|
13398
13975
|
id: string;
|
|
@@ -13402,6 +13979,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13402
13979
|
naar_pickstation: boolean;
|
|
13403
13980
|
naar_pickstation_op: string | null;
|
|
13404
13981
|
order_number: string | null;
|
|
13982
|
+
scanner_id: string | null;
|
|
13405
13983
|
scanner_key: string;
|
|
13406
13984
|
status: string;
|
|
13407
13985
|
totaal_producten: number;
|
|
@@ -13412,6 +13990,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13412
13990
|
buffer_key?: string | null;
|
|
13413
13991
|
created_at?: string;
|
|
13414
13992
|
customer_names?: string[];
|
|
13993
|
+
device_id?: string | null;
|
|
13415
13994
|
geprint?: boolean;
|
|
13416
13995
|
geprint_op?: string | null;
|
|
13417
13996
|
id?: string;
|
|
@@ -13421,6 +14000,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13421
14000
|
naar_pickstation?: boolean;
|
|
13422
14001
|
naar_pickstation_op?: string | null;
|
|
13423
14002
|
order_number?: string | null;
|
|
14003
|
+
scanner_id?: string | null;
|
|
13424
14004
|
scanner_key?: string;
|
|
13425
14005
|
status?: string;
|
|
13426
14006
|
totaal_producten?: number;
|
|
@@ -13431,6 +14011,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13431
14011
|
buffer_key?: string | null;
|
|
13432
14012
|
created_at?: string;
|
|
13433
14013
|
customer_names?: string[];
|
|
14014
|
+
device_id?: string | null;
|
|
13434
14015
|
geprint?: boolean;
|
|
13435
14016
|
geprint_op?: string | null;
|
|
13436
14017
|
id?: string;
|
|
@@ -13440,6 +14021,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13440
14021
|
naar_pickstation?: boolean;
|
|
13441
14022
|
naar_pickstation_op?: string | null;
|
|
13442
14023
|
order_number?: string | null;
|
|
14024
|
+
scanner_id?: string | null;
|
|
13443
14025
|
scanner_key?: string;
|
|
13444
14026
|
status?: string;
|
|
13445
14027
|
totaal_producten?: number;
|
|
@@ -13451,31 +14033,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13451
14033
|
Row: {
|
|
13452
14034
|
code: string;
|
|
13453
14035
|
created_at: string;
|
|
14036
|
+
device_id: string | null;
|
|
13454
14037
|
id: string;
|
|
13455
14038
|
kar_id: string | null;
|
|
14039
|
+
latency_ms: number | null;
|
|
14040
|
+
medewerker_naam: string | null;
|
|
13456
14041
|
message: string | null;
|
|
13457
14042
|
result: string;
|
|
14043
|
+
retry_count: number;
|
|
13458
14044
|
scanner_key: string;
|
|
14045
|
+
session_id: string | null;
|
|
13459
14046
|
user_id: string | null;
|
|
13460
14047
|
};
|
|
13461
14048
|
Insert: {
|
|
13462
14049
|
code: string;
|
|
13463
14050
|
created_at?: string;
|
|
14051
|
+
device_id?: string | null;
|
|
13464
14052
|
id?: string;
|
|
13465
14053
|
kar_id?: string | null;
|
|
14054
|
+
latency_ms?: number | null;
|
|
14055
|
+
medewerker_naam?: string | null;
|
|
13466
14056
|
message?: string | null;
|
|
13467
14057
|
result: string;
|
|
14058
|
+
retry_count?: number;
|
|
13468
14059
|
scanner_key?: string;
|
|
14060
|
+
session_id?: string | null;
|
|
13469
14061
|
user_id?: string | null;
|
|
13470
14062
|
};
|
|
13471
14063
|
Update: {
|
|
13472
14064
|
code?: string;
|
|
13473
14065
|
created_at?: string;
|
|
14066
|
+
device_id?: string | null;
|
|
13474
14067
|
id?: string;
|
|
13475
14068
|
kar_id?: string | null;
|
|
14069
|
+
latency_ms?: number | null;
|
|
14070
|
+
medewerker_naam?: string | null;
|
|
13476
14071
|
message?: string | null;
|
|
13477
14072
|
result?: string;
|
|
14073
|
+
retry_count?: number;
|
|
13478
14074
|
scanner_key?: string;
|
|
14075
|
+
session_id?: string | null;
|
|
13479
14076
|
user_id?: string | null;
|
|
13480
14077
|
};
|
|
13481
14078
|
Relationships: [];
|
|
@@ -13532,6 +14129,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13532
14129
|
printed_at: string;
|
|
13533
14130
|
status: string;
|
|
13534
14131
|
updated_at: string;
|
|
14132
|
+
vergrendeld_door: string | null;
|
|
14133
|
+
vergrendeld_sessie: string | null;
|
|
14134
|
+
vergrendeld_tot: string | null;
|
|
13535
14135
|
};
|
|
13536
14136
|
Insert: {
|
|
13537
14137
|
barcode: string;
|
|
@@ -13545,6 +14145,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13545
14145
|
printed_at?: string;
|
|
13546
14146
|
status?: string;
|
|
13547
14147
|
updated_at?: string;
|
|
14148
|
+
vergrendeld_door?: string | null;
|
|
14149
|
+
vergrendeld_sessie?: string | null;
|
|
14150
|
+
vergrendeld_tot?: string | null;
|
|
13548
14151
|
};
|
|
13549
14152
|
Update: {
|
|
13550
14153
|
barcode?: string;
|
|
@@ -13558,6 +14161,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13558
14161
|
printed_at?: string;
|
|
13559
14162
|
status?: string;
|
|
13560
14163
|
updated_at?: string;
|
|
14164
|
+
vergrendeld_door?: string | null;
|
|
14165
|
+
vergrendeld_sessie?: string | null;
|
|
14166
|
+
vergrendeld_tot?: string | null;
|
|
13561
14167
|
};
|
|
13562
14168
|
Relationships: [];
|
|
13563
14169
|
};
|
|
@@ -13566,31 +14172,40 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13566
14172
|
actief: boolean;
|
|
13567
14173
|
created_at: string;
|
|
13568
14174
|
id: string;
|
|
14175
|
+
max_producten_per_kar: number | null;
|
|
13569
14176
|
naam: string;
|
|
13570
14177
|
omschrijving: string | null;
|
|
14178
|
+
pincode: string | null;
|
|
13571
14179
|
slug: string;
|
|
13572
14180
|
type: string;
|
|
13573
14181
|
updated_at: string;
|
|
14182
|
+
vereist_medewerker: boolean;
|
|
13574
14183
|
};
|
|
13575
14184
|
Insert: {
|
|
13576
14185
|
actief?: boolean;
|
|
13577
14186
|
created_at?: string;
|
|
13578
14187
|
id?: string;
|
|
14188
|
+
max_producten_per_kar?: number | null;
|
|
13579
14189
|
naam: string;
|
|
13580
14190
|
omschrijving?: string | null;
|
|
14191
|
+
pincode?: string | null;
|
|
13581
14192
|
slug: string;
|
|
13582
14193
|
type?: string;
|
|
13583
14194
|
updated_at?: string;
|
|
14195
|
+
vereist_medewerker?: boolean;
|
|
13584
14196
|
};
|
|
13585
14197
|
Update: {
|
|
13586
14198
|
actief?: boolean;
|
|
13587
14199
|
created_at?: string;
|
|
13588
14200
|
id?: string;
|
|
14201
|
+
max_producten_per_kar?: number | null;
|
|
13589
14202
|
naam?: string;
|
|
13590
14203
|
omschrijving?: string | null;
|
|
14204
|
+
pincode?: string | null;
|
|
13591
14205
|
slug?: string;
|
|
13592
14206
|
type?: string;
|
|
13593
14207
|
updated_at?: string;
|
|
14208
|
+
vereist_medewerker?: boolean;
|
|
13594
14209
|
};
|
|
13595
14210
|
Relationships: [];
|
|
13596
14211
|
};
|
|
@@ -17555,6 +18170,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17555
18170
|
};
|
|
17556
18171
|
Returns: import("./types").Json;
|
|
17557
18172
|
};
|
|
18173
|
+
claim_logistics_tasks: {
|
|
18174
|
+
Args: {
|
|
18175
|
+
_limit?: number;
|
|
18176
|
+
_owner_module: string;
|
|
18177
|
+
_stale_minutes?: number;
|
|
18178
|
+
_task_type: string;
|
|
18179
|
+
_worker: string;
|
|
18180
|
+
};
|
|
18181
|
+
Returns: {
|
|
18182
|
+
attempt_log: import("./types").Json;
|
|
18183
|
+
attempts: number;
|
|
18184
|
+
buffer_ref: string | null;
|
|
18185
|
+
claimed_at: string | null;
|
|
18186
|
+
claimed_by: string | null;
|
|
18187
|
+
completed_at: string | null;
|
|
18188
|
+
created_at: string;
|
|
18189
|
+
depends_on: string[];
|
|
18190
|
+
due_at: string | null;
|
|
18191
|
+
error: string | null;
|
|
18192
|
+
id: string;
|
|
18193
|
+
last_error: string | null;
|
|
18194
|
+
next_attempt_at: string | null;
|
|
18195
|
+
order_ref: string;
|
|
18196
|
+
owner_module: string;
|
|
18197
|
+
payload: import("./types").Json;
|
|
18198
|
+
plan_run_id: string | null;
|
|
18199
|
+
planned_end: string | null;
|
|
18200
|
+
planned_start: string | null;
|
|
18201
|
+
priority: number;
|
|
18202
|
+
result: import("./types").Json | null;
|
|
18203
|
+
rule_config_id: string | null;
|
|
18204
|
+
rule_version: number | null;
|
|
18205
|
+
sequence: number;
|
|
18206
|
+
shadow: boolean;
|
|
18207
|
+
started_at: string | null;
|
|
18208
|
+
status: string;
|
|
18209
|
+
strategy_id: string | null;
|
|
18210
|
+
task_type: string;
|
|
18211
|
+
updated_at: string;
|
|
18212
|
+
user_id: string;
|
|
18213
|
+
}[];
|
|
18214
|
+
SetofOptions: {
|
|
18215
|
+
from: "*";
|
|
18216
|
+
to: "logistics_tasks";
|
|
18217
|
+
isOneToOne: false;
|
|
18218
|
+
isSetofReturn: true;
|
|
18219
|
+
};
|
|
18220
|
+
};
|
|
17558
18221
|
claim_print_jobs: {
|
|
17559
18222
|
Args: {
|
|
17560
18223
|
_agent_id: string;
|
|
@@ -17795,6 +18458,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17795
18458
|
Args: never;
|
|
17796
18459
|
Returns: string;
|
|
17797
18460
|
};
|
|
18461
|
+
exact_auth_consume_calls: {
|
|
18462
|
+
Args: {
|
|
18463
|
+
_account_key: string;
|
|
18464
|
+
_calls?: number;
|
|
18465
|
+
_day_limit?: number;
|
|
18466
|
+
_division_code: number;
|
|
18467
|
+
_environment: string;
|
|
18468
|
+
_minute_limit?: number;
|
|
18469
|
+
};
|
|
18470
|
+
Returns: import("./types").Json;
|
|
18471
|
+
};
|
|
18472
|
+
exact_auth_prune_sync_log: {
|
|
18473
|
+
Args: never;
|
|
18474
|
+
Returns: undefined;
|
|
18475
|
+
};
|
|
17798
18476
|
exact_decrypt: {
|
|
17799
18477
|
Args: {
|
|
17800
18478
|
cipher: string;
|
|
@@ -18004,6 +18682,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18004
18682
|
};
|
|
18005
18683
|
Returns: number;
|
|
18006
18684
|
};
|
|
18685
|
+
get_offer_branding: {
|
|
18686
|
+
Args: never;
|
|
18687
|
+
Returns: import("./types").Json;
|
|
18688
|
+
};
|
|
18007
18689
|
get_offer_by_link_code: {
|
|
18008
18690
|
Args: {
|
|
18009
18691
|
p_code: string;
|
|
@@ -18175,6 +18857,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18175
18857
|
};
|
|
18176
18858
|
Returns: string;
|
|
18177
18859
|
};
|
|
18860
|
+
logistics_active_pick_workdays: {
|
|
18861
|
+
Args: never;
|
|
18862
|
+
Returns: string[];
|
|
18863
|
+
};
|
|
18178
18864
|
logistics_address_key: {
|
|
18179
18865
|
Args: {
|
|
18180
18866
|
p_location: string;
|
|
@@ -18291,6 +18977,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18291
18977
|
p_worker?: string;
|
|
18292
18978
|
};
|
|
18293
18979
|
Returns: {
|
|
18980
|
+
attempt_log: import("./types").Json;
|
|
18981
|
+
attempts: number;
|
|
18294
18982
|
buffer_ref: string | null;
|
|
18295
18983
|
claimed_at: string | null;
|
|
18296
18984
|
claimed_by: string | null;
|
|
@@ -18300,6 +18988,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18300
18988
|
due_at: string | null;
|
|
18301
18989
|
error: string | null;
|
|
18302
18990
|
id: string;
|
|
18991
|
+
last_error: string | null;
|
|
18992
|
+
next_attempt_at: string | null;
|
|
18303
18993
|
order_ref: string;
|
|
18304
18994
|
owner_module: string;
|
|
18305
18995
|
payload: import("./types").Json;
|
|
@@ -18332,6 +19022,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18332
19022
|
p_worker?: string;
|
|
18333
19023
|
};
|
|
18334
19024
|
Returns: {
|
|
19025
|
+
attempt_log: import("./types").Json;
|
|
19026
|
+
attempts: number;
|
|
18335
19027
|
buffer_ref: string | null;
|
|
18336
19028
|
claimed_at: string | null;
|
|
18337
19029
|
claimed_by: string | null;
|
|
@@ -18341,6 +19033,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18341
19033
|
due_at: string | null;
|
|
18342
19034
|
error: string | null;
|
|
18343
19035
|
id: string;
|
|
19036
|
+
last_error: string | null;
|
|
19037
|
+
next_attempt_at: string | null;
|
|
18344
19038
|
order_ref: string;
|
|
18345
19039
|
owner_module: string;
|
|
18346
19040
|
payload: import("./types").Json;
|
|
@@ -18373,6 +19067,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18373
19067
|
p_task_id: string;
|
|
18374
19068
|
};
|
|
18375
19069
|
Returns: {
|
|
19070
|
+
attempt_log: import("./types").Json;
|
|
19071
|
+
attempts: number;
|
|
18376
19072
|
buffer_ref: string | null;
|
|
18377
19073
|
claimed_at: string | null;
|
|
18378
19074
|
claimed_by: string | null;
|
|
@@ -18382,6 +19078,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18382
19078
|
due_at: string | null;
|
|
18383
19079
|
error: string | null;
|
|
18384
19080
|
id: string;
|
|
19081
|
+
last_error: string | null;
|
|
19082
|
+
next_attempt_at: string | null;
|
|
18385
19083
|
order_ref: string;
|
|
18386
19084
|
owner_module: string;
|
|
18387
19085
|
payload: import("./types").Json;
|
|
@@ -18463,6 +19161,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18463
19161
|
p_task_id: string;
|
|
18464
19162
|
};
|
|
18465
19163
|
Returns: {
|
|
19164
|
+
attempt_log: import("./types").Json;
|
|
19165
|
+
attempts: number;
|
|
18466
19166
|
buffer_ref: string | null;
|
|
18467
19167
|
claimed_at: string | null;
|
|
18468
19168
|
claimed_by: string | null;
|
|
@@ -18472,6 +19172,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18472
19172
|
due_at: string | null;
|
|
18473
19173
|
error: string | null;
|
|
18474
19174
|
id: string;
|
|
19175
|
+
last_error: string | null;
|
|
19176
|
+
next_attempt_at: string | null;
|
|
18475
19177
|
order_ref: string;
|
|
18476
19178
|
owner_module: string;
|
|
18477
19179
|
payload: import("./types").Json;
|
|
@@ -18498,12 +19200,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18498
19200
|
isSetofReturn: false;
|
|
18499
19201
|
};
|
|
18500
19202
|
};
|
|
19203
|
+
logistics_live_carriers: {
|
|
19204
|
+
Args: {
|
|
19205
|
+
p_order_ref: string;
|
|
19206
|
+
};
|
|
19207
|
+
Returns: import("./types").Json;
|
|
19208
|
+
};
|
|
19209
|
+
logistics_live_cart_count: {
|
|
19210
|
+
Args: {
|
|
19211
|
+
p_order_ref: string;
|
|
19212
|
+
};
|
|
19213
|
+
Returns: number;
|
|
19214
|
+
};
|
|
18501
19215
|
logistics_not_past: {
|
|
18502
19216
|
Args: {
|
|
18503
19217
|
p_ts: string;
|
|
18504
19218
|
};
|
|
18505
19219
|
Returns: string;
|
|
18506
19220
|
};
|
|
19221
|
+
logistics_order_cart_count: {
|
|
19222
|
+
Args: {
|
|
19223
|
+
p_order_ref: string;
|
|
19224
|
+
};
|
|
19225
|
+
Returns: number;
|
|
19226
|
+
};
|
|
18507
19227
|
logistics_order_pick_day: {
|
|
18508
19228
|
Args: {
|
|
18509
19229
|
p_order_ref: string;
|
|
@@ -18680,6 +19400,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18680
19400
|
};
|
|
18681
19401
|
Returns: import("./types").Json;
|
|
18682
19402
|
};
|
|
19403
|
+
logistics_shift_to_workday: {
|
|
19404
|
+
Args: {
|
|
19405
|
+
p_days: string[];
|
|
19406
|
+
p_ts: string;
|
|
19407
|
+
};
|
|
19408
|
+
Returns: string;
|
|
19409
|
+
};
|
|
18683
19410
|
logistics_supersede_stale_tasks: {
|
|
18684
19411
|
Args: {
|
|
18685
19412
|
p_keep: string[];
|
|
@@ -18965,6 +19692,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18965
19692
|
isSetofReturn: false;
|
|
18966
19693
|
};
|
|
18967
19694
|
};
|
|
19695
|
+
pick_current_pick_day: {
|
|
19696
|
+
Args: never;
|
|
19697
|
+
Returns: string;
|
|
19698
|
+
};
|
|
18968
19699
|
pick_document_layout_data: {
|
|
18969
19700
|
Args: {
|
|
18970
19701
|
_layout_id: string;
|
|
@@ -19196,10 +19927,68 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19196
19927
|
Args: never;
|
|
19197
19928
|
Returns: undefined;
|
|
19198
19929
|
};
|
|
19930
|
+
run_logistics_tasks_dispatch: {
|
|
19931
|
+
Args: never;
|
|
19932
|
+
Returns: undefined;
|
|
19933
|
+
};
|
|
19199
19934
|
run_twinfield_queue_tick: {
|
|
19200
19935
|
Args: never;
|
|
19201
19936
|
Returns: undefined;
|
|
19202
19937
|
};
|
|
19938
|
+
scan_cancel_kar: {
|
|
19939
|
+
Args: {
|
|
19940
|
+
p_kar_id: string;
|
|
19941
|
+
};
|
|
19942
|
+
Returns: import("./types").Json;
|
|
19943
|
+
};
|
|
19944
|
+
scan_dashboard_stats: {
|
|
19945
|
+
Args: {
|
|
19946
|
+
p_dagen?: number;
|
|
19947
|
+
};
|
|
19948
|
+
Returns: import("./types").Json;
|
|
19949
|
+
};
|
|
19950
|
+
scan_finish_kar: {
|
|
19951
|
+
Args: {
|
|
19952
|
+
p_kar_id: string;
|
|
19953
|
+
};
|
|
19954
|
+
Returns: import("./types").Json;
|
|
19955
|
+
};
|
|
19956
|
+
scan_register_item: {
|
|
19957
|
+
Args: {
|
|
19958
|
+
p_kar_id: string;
|
|
19959
|
+
p_pakbon_item_id: string;
|
|
19960
|
+
p_scanned_by?: string;
|
|
19961
|
+
};
|
|
19962
|
+
Returns: import("./types").Json;
|
|
19963
|
+
};
|
|
19964
|
+
scan_release_expired_locks: {
|
|
19965
|
+
Args: never;
|
|
19966
|
+
Returns: import("./types").Json;
|
|
19967
|
+
};
|
|
19968
|
+
scan_remove_item: {
|
|
19969
|
+
Args: {
|
|
19970
|
+
p_kar_item_id: string;
|
|
19971
|
+
};
|
|
19972
|
+
Returns: import("./types").Json;
|
|
19973
|
+
};
|
|
19974
|
+
scan_start_kar: {
|
|
19975
|
+
Args: {
|
|
19976
|
+
p_medewerker_id?: string;
|
|
19977
|
+
p_medewerker_naam?: string;
|
|
19978
|
+
p_pakbon_ids: string[];
|
|
19979
|
+
p_scanner_key?: string;
|
|
19980
|
+
};
|
|
19981
|
+
Returns: import("./types").Json;
|
|
19982
|
+
} | {
|
|
19983
|
+
Args: {
|
|
19984
|
+
p_medewerker_id?: string;
|
|
19985
|
+
p_medewerker_naam?: string;
|
|
19986
|
+
p_pakbon_ids: string[];
|
|
19987
|
+
p_scanner_key?: string;
|
|
19988
|
+
p_sessie?: string;
|
|
19989
|
+
};
|
|
19990
|
+
Returns: import("./types").Json;
|
|
19991
|
+
};
|
|
19203
19992
|
schedule_floriday_additional_services_sync: {
|
|
19204
19993
|
Args: {
|
|
19205
19994
|
p_apikey: string;
|