@flowselections/mailbox-orders 1.0.22 → 1.0.23
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.
|
@@ -704,8 +704,10 @@ export type Database = {
|
|
|
704
704
|
eenheid: string;
|
|
705
705
|
fabrikant: string | null;
|
|
706
706
|
fetched_at: string;
|
|
707
|
+
foto_pad: string | null;
|
|
707
708
|
gtin: string | null;
|
|
708
709
|
id: string;
|
|
710
|
+
marge_procent: number | null;
|
|
709
711
|
naam: string;
|
|
710
712
|
netto_prijs_cent: number | null;
|
|
711
713
|
omschrijving: string | null;
|
|
@@ -722,8 +724,10 @@ export type Database = {
|
|
|
722
724
|
eenheid?: string;
|
|
723
725
|
fabrikant?: string | null;
|
|
724
726
|
fetched_at?: string;
|
|
727
|
+
foto_pad?: string | null;
|
|
725
728
|
gtin?: string | null;
|
|
726
729
|
id?: string;
|
|
730
|
+
marge_procent?: number | null;
|
|
727
731
|
naam: string;
|
|
728
732
|
netto_prijs_cent?: number | null;
|
|
729
733
|
omschrijving?: string | null;
|
|
@@ -740,8 +744,10 @@ export type Database = {
|
|
|
740
744
|
eenheid?: string;
|
|
741
745
|
fabrikant?: string | null;
|
|
742
746
|
fetched_at?: string;
|
|
747
|
+
foto_pad?: string | null;
|
|
743
748
|
gtin?: string | null;
|
|
744
749
|
id?: string;
|
|
750
|
+
marge_procent?: number | null;
|
|
745
751
|
naam?: string;
|
|
746
752
|
netto_prijs_cent?: number | null;
|
|
747
753
|
omschrijving?: string | null;
|
|
@@ -752,6 +758,27 @@ export type Database = {
|
|
|
752
758
|
};
|
|
753
759
|
Relationships: [];
|
|
754
760
|
};
|
|
761
|
+
artikelen_instellingen: {
|
|
762
|
+
Row: {
|
|
763
|
+
created_at: string;
|
|
764
|
+
id: number;
|
|
765
|
+
marge_procent: number;
|
|
766
|
+
updated_at: string;
|
|
767
|
+
};
|
|
768
|
+
Insert: {
|
|
769
|
+
created_at?: string;
|
|
770
|
+
id?: number;
|
|
771
|
+
marge_procent?: number;
|
|
772
|
+
updated_at?: string;
|
|
773
|
+
};
|
|
774
|
+
Update: {
|
|
775
|
+
created_at?: string;
|
|
776
|
+
id?: number;
|
|
777
|
+
marge_procent?: number;
|
|
778
|
+
updated_at?: string;
|
|
779
|
+
};
|
|
780
|
+
Relationships: [];
|
|
781
|
+
};
|
|
755
782
|
artikelen_veldconfig: {
|
|
756
783
|
Row: {
|
|
757
784
|
bron_pad: string;
|
|
@@ -1025,6 +1052,7 @@ export type Database = {
|
|
|
1025
1052
|
auto_break_unpaid: boolean;
|
|
1026
1053
|
auto_stop_after_hours: number;
|
|
1027
1054
|
callout_fee: number;
|
|
1055
|
+
company_number: string | null;
|
|
1028
1056
|
created_at: string;
|
|
1029
1057
|
daily_regular_hours: number;
|
|
1030
1058
|
default_hourly_rate: number;
|
|
@@ -1056,6 +1084,7 @@ export type Database = {
|
|
|
1056
1084
|
auto_break_unpaid?: boolean;
|
|
1057
1085
|
auto_stop_after_hours?: number;
|
|
1058
1086
|
callout_fee?: number;
|
|
1087
|
+
company_number?: string | null;
|
|
1059
1088
|
created_at?: string;
|
|
1060
1089
|
daily_regular_hours?: number;
|
|
1061
1090
|
default_hourly_rate?: number;
|
|
@@ -1087,6 +1116,7 @@ export type Database = {
|
|
|
1087
1116
|
auto_break_unpaid?: boolean;
|
|
1088
1117
|
auto_stop_after_hours?: number;
|
|
1089
1118
|
callout_fee?: number;
|
|
1119
|
+
company_number?: string | null;
|
|
1090
1120
|
created_at?: string;
|
|
1091
1121
|
daily_regular_hours?: number;
|
|
1092
1122
|
default_hourly_rate?: number;
|
|
@@ -2515,6 +2545,8 @@ export type Database = {
|
|
|
2515
2545
|
billing_email: string | null;
|
|
2516
2546
|
bio: string | null;
|
|
2517
2547
|
blocked: boolean;
|
|
2548
|
+
blocked_locked: boolean | null;
|
|
2549
|
+
blocked_modified: string | null;
|
|
2518
2550
|
city: string | null;
|
|
2519
2551
|
coc_number: string | null;
|
|
2520
2552
|
commercial_name: string | null;
|
|
@@ -2524,6 +2556,9 @@ export type Database = {
|
|
|
2524
2556
|
country: string | null;
|
|
2525
2557
|
created_at: string;
|
|
2526
2558
|
credit_limit: number;
|
|
2559
|
+
credit_manager: string | null;
|
|
2560
|
+
credit_manager_name: string | null;
|
|
2561
|
+
credit_manager_shortname: string | null;
|
|
2527
2562
|
custom_fields: Json;
|
|
2528
2563
|
customer_class: string | null;
|
|
2529
2564
|
customer_number: string | null;
|
|
@@ -2556,6 +2591,7 @@ export type Database = {
|
|
|
2556
2591
|
phone: string | null;
|
|
2557
2592
|
postal_code: string | null;
|
|
2558
2593
|
product_groups: string[];
|
|
2594
|
+
reminder_email: string | null;
|
|
2559
2595
|
segments: string[];
|
|
2560
2596
|
send_reminder: string;
|
|
2561
2597
|
source: string;
|
|
@@ -2563,10 +2599,16 @@ export type Database = {
|
|
|
2563
2599
|
sync_error: string | null;
|
|
2564
2600
|
sync_status: string;
|
|
2565
2601
|
trade_forms: string[];
|
|
2602
|
+
twinfield_base_snapshot: Json | null;
|
|
2603
|
+
twinfield_base_version: number | null;
|
|
2566
2604
|
twinfield_code: string | null;
|
|
2567
2605
|
twinfield_last_hash: string | null;
|
|
2606
|
+
twinfield_missing_since: string | null;
|
|
2607
|
+
twinfield_present: boolean;
|
|
2568
2608
|
twinfield_sync_error: string | null;
|
|
2569
2609
|
twinfield_synced_at: string | null;
|
|
2610
|
+
twinfield_uid: string | null;
|
|
2611
|
+
twinfield_vat_code: string | null;
|
|
2570
2612
|
updated_at: string;
|
|
2571
2613
|
vat_display: string | null;
|
|
2572
2614
|
vat_number: string | null;
|
|
@@ -2594,6 +2636,8 @@ export type Database = {
|
|
|
2594
2636
|
billing_email?: string | null;
|
|
2595
2637
|
bio?: string | null;
|
|
2596
2638
|
blocked?: boolean;
|
|
2639
|
+
blocked_locked?: boolean | null;
|
|
2640
|
+
blocked_modified?: string | null;
|
|
2597
2641
|
city?: string | null;
|
|
2598
2642
|
coc_number?: string | null;
|
|
2599
2643
|
commercial_name?: string | null;
|
|
@@ -2603,6 +2647,9 @@ export type Database = {
|
|
|
2603
2647
|
country?: string | null;
|
|
2604
2648
|
created_at?: string;
|
|
2605
2649
|
credit_limit?: number;
|
|
2650
|
+
credit_manager?: string | null;
|
|
2651
|
+
credit_manager_name?: string | null;
|
|
2652
|
+
credit_manager_shortname?: string | null;
|
|
2606
2653
|
custom_fields?: Json;
|
|
2607
2654
|
customer_class?: string | null;
|
|
2608
2655
|
customer_number?: string | null;
|
|
@@ -2635,6 +2682,7 @@ export type Database = {
|
|
|
2635
2682
|
phone?: string | null;
|
|
2636
2683
|
postal_code?: string | null;
|
|
2637
2684
|
product_groups?: string[];
|
|
2685
|
+
reminder_email?: string | null;
|
|
2638
2686
|
segments?: string[];
|
|
2639
2687
|
send_reminder?: string;
|
|
2640
2688
|
source?: string;
|
|
@@ -2642,10 +2690,16 @@ export type Database = {
|
|
|
2642
2690
|
sync_error?: string | null;
|
|
2643
2691
|
sync_status?: string;
|
|
2644
2692
|
trade_forms?: string[];
|
|
2693
|
+
twinfield_base_snapshot?: Json | null;
|
|
2694
|
+
twinfield_base_version?: number | null;
|
|
2645
2695
|
twinfield_code?: string | null;
|
|
2646
2696
|
twinfield_last_hash?: string | null;
|
|
2697
|
+
twinfield_missing_since?: string | null;
|
|
2698
|
+
twinfield_present?: boolean;
|
|
2647
2699
|
twinfield_sync_error?: string | null;
|
|
2648
2700
|
twinfield_synced_at?: string | null;
|
|
2701
|
+
twinfield_uid?: string | null;
|
|
2702
|
+
twinfield_vat_code?: string | null;
|
|
2649
2703
|
updated_at?: string;
|
|
2650
2704
|
vat_display?: string | null;
|
|
2651
2705
|
vat_number?: string | null;
|
|
@@ -2673,6 +2727,8 @@ export type Database = {
|
|
|
2673
2727
|
billing_email?: string | null;
|
|
2674
2728
|
bio?: string | null;
|
|
2675
2729
|
blocked?: boolean;
|
|
2730
|
+
blocked_locked?: boolean | null;
|
|
2731
|
+
blocked_modified?: string | null;
|
|
2676
2732
|
city?: string | null;
|
|
2677
2733
|
coc_number?: string | null;
|
|
2678
2734
|
commercial_name?: string | null;
|
|
@@ -2682,6 +2738,9 @@ export type Database = {
|
|
|
2682
2738
|
country?: string | null;
|
|
2683
2739
|
created_at?: string;
|
|
2684
2740
|
credit_limit?: number;
|
|
2741
|
+
credit_manager?: string | null;
|
|
2742
|
+
credit_manager_name?: string | null;
|
|
2743
|
+
credit_manager_shortname?: string | null;
|
|
2685
2744
|
custom_fields?: Json;
|
|
2686
2745
|
customer_class?: string | null;
|
|
2687
2746
|
customer_number?: string | null;
|
|
@@ -2714,6 +2773,7 @@ export type Database = {
|
|
|
2714
2773
|
phone?: string | null;
|
|
2715
2774
|
postal_code?: string | null;
|
|
2716
2775
|
product_groups?: string[];
|
|
2776
|
+
reminder_email?: string | null;
|
|
2717
2777
|
segments?: string[];
|
|
2718
2778
|
send_reminder?: string;
|
|
2719
2779
|
source?: string;
|
|
@@ -2721,10 +2781,16 @@ export type Database = {
|
|
|
2721
2781
|
sync_error?: string | null;
|
|
2722
2782
|
sync_status?: string;
|
|
2723
2783
|
trade_forms?: string[];
|
|
2784
|
+
twinfield_base_snapshot?: Json | null;
|
|
2785
|
+
twinfield_base_version?: number | null;
|
|
2724
2786
|
twinfield_code?: string | null;
|
|
2725
2787
|
twinfield_last_hash?: string | null;
|
|
2788
|
+
twinfield_missing_since?: string | null;
|
|
2789
|
+
twinfield_present?: boolean;
|
|
2726
2790
|
twinfield_sync_error?: string | null;
|
|
2727
2791
|
twinfield_synced_at?: string | null;
|
|
2792
|
+
twinfield_uid?: string | null;
|
|
2793
|
+
twinfield_vat_code?: string | null;
|
|
2728
2794
|
updated_at?: string;
|
|
2729
2795
|
vat_display?: string | null;
|
|
2730
2796
|
vat_number?: string | null;
|
|
@@ -3184,6 +3250,7 @@ export type Database = {
|
|
|
3184
3250
|
formaat_code: string;
|
|
3185
3251
|
id: string;
|
|
3186
3252
|
printer_id: string | null;
|
|
3253
|
+
printer_ontbreekt_sinds: string | null;
|
|
3187
3254
|
updated_at: string;
|
|
3188
3255
|
};
|
|
3189
3256
|
Insert: {
|
|
@@ -3192,6 +3259,7 @@ export type Database = {
|
|
|
3192
3259
|
formaat_code: string;
|
|
3193
3260
|
id?: string;
|
|
3194
3261
|
printer_id?: string | null;
|
|
3262
|
+
printer_ontbreekt_sinds?: string | null;
|
|
3195
3263
|
updated_at?: string;
|
|
3196
3264
|
};
|
|
3197
3265
|
Update: {
|
|
@@ -3200,6 +3268,7 @@ export type Database = {
|
|
|
3200
3268
|
formaat_code?: string;
|
|
3201
3269
|
id?: string;
|
|
3202
3270
|
printer_id?: string | null;
|
|
3271
|
+
printer_ontbreekt_sinds?: string | null;
|
|
3203
3272
|
updated_at?: string;
|
|
3204
3273
|
};
|
|
3205
3274
|
Relationships: [
|
|
@@ -3549,6 +3618,7 @@ export type Database = {
|
|
|
3549
3618
|
papierformaat: string | null;
|
|
3550
3619
|
print_plek_id: string;
|
|
3551
3620
|
printer_id: string | null;
|
|
3621
|
+
printer_ontbreekt_sinds: string | null;
|
|
3552
3622
|
updated_at: string;
|
|
3553
3623
|
};
|
|
3554
3624
|
Insert: {
|
|
@@ -3558,6 +3628,7 @@ export type Database = {
|
|
|
3558
3628
|
papierformaat?: string | null;
|
|
3559
3629
|
print_plek_id: string;
|
|
3560
3630
|
printer_id?: string | null;
|
|
3631
|
+
printer_ontbreekt_sinds?: string | null;
|
|
3561
3632
|
updated_at?: string;
|
|
3562
3633
|
};
|
|
3563
3634
|
Update: {
|
|
@@ -3567,6 +3638,7 @@ export type Database = {
|
|
|
3567
3638
|
papierformaat?: string | null;
|
|
3568
3639
|
print_plek_id?: string;
|
|
3569
3640
|
printer_id?: string | null;
|
|
3641
|
+
printer_ontbreekt_sinds?: string | null;
|
|
3570
3642
|
updated_at?: string;
|
|
3571
3643
|
};
|
|
3572
3644
|
Relationships: [
|
|
@@ -3593,6 +3665,7 @@ export type Database = {
|
|
|
3593
3665
|
id: string;
|
|
3594
3666
|
papierformaat: string | null;
|
|
3595
3667
|
printer_id: string | null;
|
|
3668
|
+
printer_ontbreekt_sinds: string | null;
|
|
3596
3669
|
updated_at: string;
|
|
3597
3670
|
werkplek: string;
|
|
3598
3671
|
};
|
|
@@ -3602,6 +3675,7 @@ export type Database = {
|
|
|
3602
3675
|
id?: string;
|
|
3603
3676
|
papierformaat?: string | null;
|
|
3604
3677
|
printer_id?: string | null;
|
|
3678
|
+
printer_ontbreekt_sinds?: string | null;
|
|
3605
3679
|
updated_at?: string;
|
|
3606
3680
|
werkplek: string;
|
|
3607
3681
|
};
|
|
@@ -3611,6 +3685,7 @@ export type Database = {
|
|
|
3611
3685
|
id?: string;
|
|
3612
3686
|
papierformaat?: string | null;
|
|
3613
3687
|
printer_id?: string | null;
|
|
3688
|
+
printer_ontbreekt_sinds?: string | null;
|
|
3614
3689
|
updated_at?: string;
|
|
3615
3690
|
werkplek?: string;
|
|
3616
3691
|
};
|
|
@@ -6572,6 +6647,7 @@ export type Database = {
|
|
|
6572
6647
|
floriday_continuous_stock_queue: {
|
|
6573
6648
|
Row: {
|
|
6574
6649
|
attempts: number;
|
|
6650
|
+
availability_sent_at: string | null;
|
|
6575
6651
|
connection_id: string;
|
|
6576
6652
|
created_at: string;
|
|
6577
6653
|
dead_lettered_at: string | null;
|
|
@@ -6584,7 +6660,9 @@ export type Database = {
|
|
|
6584
6660
|
next_attempt_at: string;
|
|
6585
6661
|
number_of_pieces: number;
|
|
6586
6662
|
product_id: string | null;
|
|
6663
|
+
quantity_sent_at: string | null;
|
|
6587
6664
|
sent_at: string | null;
|
|
6665
|
+
skip_reason: string | null;
|
|
6588
6666
|
status: string;
|
|
6589
6667
|
stock_mode: string | null;
|
|
6590
6668
|
superseded_by: string | null;
|
|
@@ -6596,6 +6674,7 @@ export type Database = {
|
|
|
6596
6674
|
};
|
|
6597
6675
|
Insert: {
|
|
6598
6676
|
attempts?: number;
|
|
6677
|
+
availability_sent_at?: string | null;
|
|
6599
6678
|
connection_id: string;
|
|
6600
6679
|
created_at?: string;
|
|
6601
6680
|
dead_lettered_at?: string | null;
|
|
@@ -6608,7 +6687,9 @@ export type Database = {
|
|
|
6608
6687
|
next_attempt_at?: string;
|
|
6609
6688
|
number_of_pieces?: number;
|
|
6610
6689
|
product_id?: string | null;
|
|
6690
|
+
quantity_sent_at?: string | null;
|
|
6611
6691
|
sent_at?: string | null;
|
|
6692
|
+
skip_reason?: string | null;
|
|
6612
6693
|
status?: string;
|
|
6613
6694
|
stock_mode?: string | null;
|
|
6614
6695
|
superseded_by?: string | null;
|
|
@@ -6620,6 +6701,7 @@ export type Database = {
|
|
|
6620
6701
|
};
|
|
6621
6702
|
Update: {
|
|
6622
6703
|
attempts?: number;
|
|
6704
|
+
availability_sent_at?: string | null;
|
|
6623
6705
|
connection_id?: string;
|
|
6624
6706
|
created_at?: string;
|
|
6625
6707
|
dead_lettered_at?: string | null;
|
|
@@ -6632,7 +6714,9 @@ export type Database = {
|
|
|
6632
6714
|
next_attempt_at?: string;
|
|
6633
6715
|
number_of_pieces?: number;
|
|
6634
6716
|
product_id?: string | null;
|
|
6717
|
+
quantity_sent_at?: string | null;
|
|
6635
6718
|
sent_at?: string | null;
|
|
6719
|
+
skip_reason?: string | null;
|
|
6636
6720
|
status?: string;
|
|
6637
6721
|
stock_mode?: string | null;
|
|
6638
6722
|
superseded_by?: string | null;
|
|
@@ -6830,9 +6914,15 @@ export type Database = {
|
|
|
6830
6914
|
fetched_at: string;
|
|
6831
6915
|
gln_code: string | null;
|
|
6832
6916
|
is_deleted: boolean;
|
|
6917
|
+
mailing_address: Json | null;
|
|
6833
6918
|
name: string | null;
|
|
6834
6919
|
organization_id: string;
|
|
6920
|
+
payment_providers: Json | null;
|
|
6921
|
+
physical_address: Json | null;
|
|
6922
|
+
rfh_company_account_id: string | null;
|
|
6923
|
+
rfh_relation_id: string | null;
|
|
6835
6924
|
sequence_number: number | null;
|
|
6925
|
+
updated_at: string | null;
|
|
6836
6926
|
};
|
|
6837
6927
|
Insert: {
|
|
6838
6928
|
connection_id?: string | null;
|
|
@@ -6840,9 +6930,15 @@ export type Database = {
|
|
|
6840
6930
|
fetched_at?: string;
|
|
6841
6931
|
gln_code?: string | null;
|
|
6842
6932
|
is_deleted?: boolean;
|
|
6933
|
+
mailing_address?: Json | null;
|
|
6843
6934
|
name?: string | null;
|
|
6844
6935
|
organization_id: string;
|
|
6936
|
+
payment_providers?: Json | null;
|
|
6937
|
+
physical_address?: Json | null;
|
|
6938
|
+
rfh_company_account_id?: string | null;
|
|
6939
|
+
rfh_relation_id?: string | null;
|
|
6845
6940
|
sequence_number?: number | null;
|
|
6941
|
+
updated_at?: string | null;
|
|
6846
6942
|
};
|
|
6847
6943
|
Update: {
|
|
6848
6944
|
connection_id?: string | null;
|
|
@@ -6850,9 +6946,15 @@ export type Database = {
|
|
|
6850
6946
|
fetched_at?: string;
|
|
6851
6947
|
gln_code?: string | null;
|
|
6852
6948
|
is_deleted?: boolean;
|
|
6949
|
+
mailing_address?: Json | null;
|
|
6853
6950
|
name?: string | null;
|
|
6854
6951
|
organization_id?: string;
|
|
6952
|
+
payment_providers?: Json | null;
|
|
6953
|
+
physical_address?: Json | null;
|
|
6954
|
+
rfh_company_account_id?: string | null;
|
|
6955
|
+
rfh_relation_id?: string | null;
|
|
6855
6956
|
sequence_number?: number | null;
|
|
6957
|
+
updated_at?: string | null;
|
|
6856
6958
|
};
|
|
6857
6959
|
Relationships: [
|
|
6858
6960
|
{
|
|
@@ -7002,6 +7104,80 @@ export type Database = {
|
|
|
7002
7104
|
}
|
|
7003
7105
|
];
|
|
7004
7106
|
};
|
|
7107
|
+
floriday_document_fetch_queue: {
|
|
7108
|
+
Row: {
|
|
7109
|
+
attempts: number;
|
|
7110
|
+
cancelled_reason: string | null;
|
|
7111
|
+
completed_at: string | null;
|
|
7112
|
+
connection_id: string;
|
|
7113
|
+
created_at: string;
|
|
7114
|
+
document_key: string;
|
|
7115
|
+
environment: string;
|
|
7116
|
+
id: string;
|
|
7117
|
+
kind: string;
|
|
7118
|
+
last_error: string | null;
|
|
7119
|
+
last_http_status: number | null;
|
|
7120
|
+
locked_at: string | null;
|
|
7121
|
+
locked_by: string | null;
|
|
7122
|
+
max_attempts: number;
|
|
7123
|
+
next_attempt_at: string;
|
|
7124
|
+
order_ref: string | null;
|
|
7125
|
+
params: Json;
|
|
7126
|
+
status: string;
|
|
7127
|
+
updated_at: string;
|
|
7128
|
+
};
|
|
7129
|
+
Insert: {
|
|
7130
|
+
attempts?: number;
|
|
7131
|
+
cancelled_reason?: string | null;
|
|
7132
|
+
completed_at?: string | null;
|
|
7133
|
+
connection_id: string;
|
|
7134
|
+
created_at?: string;
|
|
7135
|
+
document_key: string;
|
|
7136
|
+
environment: string;
|
|
7137
|
+
id?: string;
|
|
7138
|
+
kind: string;
|
|
7139
|
+
last_error?: string | null;
|
|
7140
|
+
last_http_status?: number | null;
|
|
7141
|
+
locked_at?: string | null;
|
|
7142
|
+
locked_by?: string | null;
|
|
7143
|
+
max_attempts?: number;
|
|
7144
|
+
next_attempt_at?: string;
|
|
7145
|
+
order_ref?: string | null;
|
|
7146
|
+
params?: Json;
|
|
7147
|
+
status?: string;
|
|
7148
|
+
updated_at?: string;
|
|
7149
|
+
};
|
|
7150
|
+
Update: {
|
|
7151
|
+
attempts?: number;
|
|
7152
|
+
cancelled_reason?: string | null;
|
|
7153
|
+
completed_at?: string | null;
|
|
7154
|
+
connection_id?: string;
|
|
7155
|
+
created_at?: string;
|
|
7156
|
+
document_key?: string;
|
|
7157
|
+
environment?: string;
|
|
7158
|
+
id?: string;
|
|
7159
|
+
kind?: string;
|
|
7160
|
+
last_error?: string | null;
|
|
7161
|
+
last_http_status?: number | null;
|
|
7162
|
+
locked_at?: string | null;
|
|
7163
|
+
locked_by?: string | null;
|
|
7164
|
+
max_attempts?: number;
|
|
7165
|
+
next_attempt_at?: string;
|
|
7166
|
+
order_ref?: string | null;
|
|
7167
|
+
params?: Json;
|
|
7168
|
+
status?: string;
|
|
7169
|
+
updated_at?: string;
|
|
7170
|
+
};
|
|
7171
|
+
Relationships: [
|
|
7172
|
+
{
|
|
7173
|
+
foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
|
|
7174
|
+
columns: ["connection_id"];
|
|
7175
|
+
isOneToOne: false;
|
|
7176
|
+
referencedRelation: "floriday_connections";
|
|
7177
|
+
referencedColumns: ["id"];
|
|
7178
|
+
}
|
|
7179
|
+
];
|
|
7180
|
+
};
|
|
7005
7181
|
floriday_fulfillment_orders_cache: {
|
|
7006
7182
|
Row: {
|
|
7007
7183
|
auction_date: string | null;
|
|
@@ -7066,6 +7242,7 @@ export type Database = {
|
|
|
7066
7242
|
};
|
|
7067
7243
|
floriday_inventory_settings: {
|
|
7068
7244
|
Row: {
|
|
7245
|
+
action_reason: string | null;
|
|
7069
7246
|
buffer_quantity: number;
|
|
7070
7247
|
connection_id: string;
|
|
7071
7248
|
created_at: string;
|
|
@@ -7080,6 +7257,7 @@ export type Database = {
|
|
|
7080
7257
|
last_sync_error: string | null;
|
|
7081
7258
|
manual_quantity: number | null;
|
|
7082
7259
|
maximum_quantity: number | null;
|
|
7260
|
+
packing_size: number | null;
|
|
7083
7261
|
product_id: string;
|
|
7084
7262
|
quantity_control: string;
|
|
7085
7263
|
remote_available: boolean | null;
|
|
@@ -7092,6 +7270,7 @@ export type Database = {
|
|
|
7092
7270
|
user_id: string;
|
|
7093
7271
|
};
|
|
7094
7272
|
Insert: {
|
|
7273
|
+
action_reason?: string | null;
|
|
7095
7274
|
buffer_quantity?: number;
|
|
7096
7275
|
connection_id: string;
|
|
7097
7276
|
created_at?: string;
|
|
@@ -7106,6 +7285,7 @@ export type Database = {
|
|
|
7106
7285
|
last_sync_error?: string | null;
|
|
7107
7286
|
manual_quantity?: number | null;
|
|
7108
7287
|
maximum_quantity?: number | null;
|
|
7288
|
+
packing_size?: number | null;
|
|
7109
7289
|
product_id: string;
|
|
7110
7290
|
quantity_control?: string;
|
|
7111
7291
|
remote_available?: boolean | null;
|
|
@@ -7118,6 +7298,7 @@ export type Database = {
|
|
|
7118
7298
|
user_id: string;
|
|
7119
7299
|
};
|
|
7120
7300
|
Update: {
|
|
7301
|
+
action_reason?: string | null;
|
|
7121
7302
|
buffer_quantity?: number;
|
|
7122
7303
|
connection_id?: string;
|
|
7123
7304
|
created_at?: string;
|
|
@@ -7132,6 +7313,7 @@ export type Database = {
|
|
|
7132
7313
|
last_sync_error?: string | null;
|
|
7133
7314
|
manual_quantity?: number | null;
|
|
7134
7315
|
maximum_quantity?: number | null;
|
|
7316
|
+
packing_size?: number | null;
|
|
7135
7317
|
product_id?: string;
|
|
7136
7318
|
quantity_control?: string;
|
|
7137
7319
|
remote_available?: boolean | null;
|
|
@@ -7305,6 +7487,39 @@ export type Database = {
|
|
|
7305
7487
|
}
|
|
7306
7488
|
];
|
|
7307
7489
|
};
|
|
7490
|
+
floriday_merge_log: {
|
|
7491
|
+
Row: {
|
|
7492
|
+
action: string;
|
|
7493
|
+
created_at: string;
|
|
7494
|
+
floriday_sales_order_ids: Json;
|
|
7495
|
+
id: string;
|
|
7496
|
+
kept_order_id: string | null;
|
|
7497
|
+
lines: Json;
|
|
7498
|
+
reason: string | null;
|
|
7499
|
+
removed_order_id: string | null;
|
|
7500
|
+
};
|
|
7501
|
+
Insert: {
|
|
7502
|
+
action: string;
|
|
7503
|
+
created_at?: string;
|
|
7504
|
+
floriday_sales_order_ids?: Json;
|
|
7505
|
+
id?: string;
|
|
7506
|
+
kept_order_id?: string | null;
|
|
7507
|
+
lines?: Json;
|
|
7508
|
+
reason?: string | null;
|
|
7509
|
+
removed_order_id?: string | null;
|
|
7510
|
+
};
|
|
7511
|
+
Update: {
|
|
7512
|
+
action?: string;
|
|
7513
|
+
created_at?: string;
|
|
7514
|
+
floriday_sales_order_ids?: Json;
|
|
7515
|
+
id?: string;
|
|
7516
|
+
kept_order_id?: string | null;
|
|
7517
|
+
lines?: Json;
|
|
7518
|
+
reason?: string | null;
|
|
7519
|
+
removed_order_id?: string | null;
|
|
7520
|
+
};
|
|
7521
|
+
Relationships: [];
|
|
7522
|
+
};
|
|
7308
7523
|
floriday_network_cache: {
|
|
7309
7524
|
Row: {
|
|
7310
7525
|
city: string | null;
|
|
@@ -7477,6 +7692,60 @@ export type Database = {
|
|
|
7477
7692
|
};
|
|
7478
7693
|
Relationships: [];
|
|
7479
7694
|
};
|
|
7695
|
+
floriday_reconcile_runs: {
|
|
7696
|
+
Row: {
|
|
7697
|
+
connection_id: string | null;
|
|
7698
|
+
created_at: string;
|
|
7699
|
+
finished_at: string | null;
|
|
7700
|
+
first_error: string | null;
|
|
7701
|
+
id: string;
|
|
7702
|
+
items_checked: number;
|
|
7703
|
+
items_drift: number;
|
|
7704
|
+
items_no_supply: number;
|
|
7705
|
+
last_http_status: number | null;
|
|
7706
|
+
rate_limited: number;
|
|
7707
|
+
read_errors: number;
|
|
7708
|
+
reads: number;
|
|
7709
|
+
response: Json | null;
|
|
7710
|
+
started_at: string;
|
|
7711
|
+
status: string;
|
|
7712
|
+
};
|
|
7713
|
+
Insert: {
|
|
7714
|
+
connection_id?: string | null;
|
|
7715
|
+
created_at?: string;
|
|
7716
|
+
finished_at?: string | null;
|
|
7717
|
+
first_error?: string | null;
|
|
7718
|
+
id?: string;
|
|
7719
|
+
items_checked?: number;
|
|
7720
|
+
items_drift?: number;
|
|
7721
|
+
items_no_supply?: number;
|
|
7722
|
+
last_http_status?: number | null;
|
|
7723
|
+
rate_limited?: number;
|
|
7724
|
+
read_errors?: number;
|
|
7725
|
+
reads?: number;
|
|
7726
|
+
response?: Json | null;
|
|
7727
|
+
started_at?: string;
|
|
7728
|
+
status?: string;
|
|
7729
|
+
};
|
|
7730
|
+
Update: {
|
|
7731
|
+
connection_id?: string | null;
|
|
7732
|
+
created_at?: string;
|
|
7733
|
+
finished_at?: string | null;
|
|
7734
|
+
first_error?: string | null;
|
|
7735
|
+
id?: string;
|
|
7736
|
+
items_checked?: number;
|
|
7737
|
+
items_drift?: number;
|
|
7738
|
+
items_no_supply?: number;
|
|
7739
|
+
last_http_status?: number | null;
|
|
7740
|
+
rate_limited?: number;
|
|
7741
|
+
read_errors?: number;
|
|
7742
|
+
reads?: number;
|
|
7743
|
+
response?: Json | null;
|
|
7744
|
+
started_at?: string;
|
|
7745
|
+
status?: string;
|
|
7746
|
+
};
|
|
7747
|
+
Relationships: [];
|
|
7748
|
+
};
|
|
7480
7749
|
floriday_resource_schemas: {
|
|
7481
7750
|
Row: {
|
|
7482
7751
|
enums: Json;
|
|
@@ -7878,6 +8147,7 @@ export type Database = {
|
|
|
7878
8147
|
floriday_trade_settings_customers_cache: {
|
|
7879
8148
|
Row: {
|
|
7880
8149
|
connection_id: string;
|
|
8150
|
+
customer_organization_id: string | null;
|
|
7881
8151
|
data: Json;
|
|
7882
8152
|
fetched_at: string;
|
|
7883
8153
|
floriday_id: string;
|
|
@@ -7888,6 +8158,7 @@ export type Database = {
|
|
|
7888
8158
|
};
|
|
7889
8159
|
Insert: {
|
|
7890
8160
|
connection_id: string;
|
|
8161
|
+
customer_organization_id?: string | null;
|
|
7891
8162
|
data: Json;
|
|
7892
8163
|
fetched_at?: string;
|
|
7893
8164
|
floriday_id: string;
|
|
@@ -7898,6 +8169,7 @@ export type Database = {
|
|
|
7898
8169
|
};
|
|
7899
8170
|
Update: {
|
|
7900
8171
|
connection_id?: string;
|
|
8172
|
+
customer_organization_id?: string | null;
|
|
7901
8173
|
data?: Json;
|
|
7902
8174
|
fetched_at?: string;
|
|
7903
8175
|
floriday_id?: string;
|
|
@@ -8034,6 +8306,148 @@ export type Database = {
|
|
|
8034
8306
|
}
|
|
8035
8307
|
];
|
|
8036
8308
|
};
|
|
8309
|
+
floriday_webhook_events: {
|
|
8310
|
+
Row: {
|
|
8311
|
+
aggregate_id: string | null;
|
|
8312
|
+
aggregate_type: string | null;
|
|
8313
|
+
attempts: number;
|
|
8314
|
+
connection_id: string | null;
|
|
8315
|
+
dedupe_key: string;
|
|
8316
|
+
duplicate_count: number;
|
|
8317
|
+
event_type: string | null;
|
|
8318
|
+
id: string;
|
|
8319
|
+
last_error: string | null;
|
|
8320
|
+
max_attempts: number;
|
|
8321
|
+
message_type: string | null;
|
|
8322
|
+
next_attempt_at: string | null;
|
|
8323
|
+
payload: Json | null;
|
|
8324
|
+
processed_at: string | null;
|
|
8325
|
+
received_at: string;
|
|
8326
|
+
status: string;
|
|
8327
|
+
updated_at: string;
|
|
8328
|
+
};
|
|
8329
|
+
Insert: {
|
|
8330
|
+
aggregate_id?: string | null;
|
|
8331
|
+
aggregate_type?: string | null;
|
|
8332
|
+
attempts?: number;
|
|
8333
|
+
connection_id?: string | null;
|
|
8334
|
+
dedupe_key: string;
|
|
8335
|
+
duplicate_count?: number;
|
|
8336
|
+
event_type?: string | null;
|
|
8337
|
+
id?: string;
|
|
8338
|
+
last_error?: string | null;
|
|
8339
|
+
max_attempts?: number;
|
|
8340
|
+
message_type?: string | null;
|
|
8341
|
+
next_attempt_at?: string | null;
|
|
8342
|
+
payload?: Json | null;
|
|
8343
|
+
processed_at?: string | null;
|
|
8344
|
+
received_at?: string;
|
|
8345
|
+
status?: string;
|
|
8346
|
+
updated_at?: string;
|
|
8347
|
+
};
|
|
8348
|
+
Update: {
|
|
8349
|
+
aggregate_id?: string | null;
|
|
8350
|
+
aggregate_type?: string | null;
|
|
8351
|
+
attempts?: number;
|
|
8352
|
+
connection_id?: string | null;
|
|
8353
|
+
dedupe_key?: string;
|
|
8354
|
+
duplicate_count?: number;
|
|
8355
|
+
event_type?: string | null;
|
|
8356
|
+
id?: string;
|
|
8357
|
+
last_error?: string | null;
|
|
8358
|
+
max_attempts?: number;
|
|
8359
|
+
message_type?: string | null;
|
|
8360
|
+
next_attempt_at?: string | null;
|
|
8361
|
+
payload?: Json | null;
|
|
8362
|
+
processed_at?: string | null;
|
|
8363
|
+
received_at?: string;
|
|
8364
|
+
status?: string;
|
|
8365
|
+
updated_at?: string;
|
|
8366
|
+
};
|
|
8367
|
+
Relationships: [
|
|
8368
|
+
{
|
|
8369
|
+
foreignKeyName: "floriday_webhook_events_connection_id_fkey";
|
|
8370
|
+
columns: ["connection_id"];
|
|
8371
|
+
isOneToOne: false;
|
|
8372
|
+
referencedRelation: "floriday_connections";
|
|
8373
|
+
referencedColumns: ["id"];
|
|
8374
|
+
}
|
|
8375
|
+
];
|
|
8376
|
+
};
|
|
8377
|
+
floriday_webhook_subscriptions: {
|
|
8378
|
+
Row: {
|
|
8379
|
+
attempts: number;
|
|
8380
|
+
callback_token_hash: string;
|
|
8381
|
+
callback_url: string;
|
|
8382
|
+
confirmed_at: string | null;
|
|
8383
|
+
connection_id: string;
|
|
8384
|
+
created_at: string;
|
|
8385
|
+
environment: string;
|
|
8386
|
+
id: string;
|
|
8387
|
+
last_attempt_at: string | null;
|
|
8388
|
+
last_error: string | null;
|
|
8389
|
+
last_error_kind: string | null;
|
|
8390
|
+
last_event_at: string | null;
|
|
8391
|
+
locked_until: string | null;
|
|
8392
|
+
managed_by: string;
|
|
8393
|
+
next_attempt_at: string | null;
|
|
8394
|
+
status: string;
|
|
8395
|
+
subscribe_url: string | null;
|
|
8396
|
+
subscribed_at: string;
|
|
8397
|
+
updated_at: string;
|
|
8398
|
+
};
|
|
8399
|
+
Insert: {
|
|
8400
|
+
attempts?: number;
|
|
8401
|
+
callback_token_hash: string;
|
|
8402
|
+
callback_url: string;
|
|
8403
|
+
confirmed_at?: string | null;
|
|
8404
|
+
connection_id: string;
|
|
8405
|
+
created_at?: string;
|
|
8406
|
+
environment: string;
|
|
8407
|
+
id?: string;
|
|
8408
|
+
last_attempt_at?: string | null;
|
|
8409
|
+
last_error?: string | null;
|
|
8410
|
+
last_error_kind?: string | null;
|
|
8411
|
+
last_event_at?: string | null;
|
|
8412
|
+
locked_until?: string | null;
|
|
8413
|
+
managed_by?: string;
|
|
8414
|
+
next_attempt_at?: string | null;
|
|
8415
|
+
status?: string;
|
|
8416
|
+
subscribe_url?: string | null;
|
|
8417
|
+
subscribed_at?: string;
|
|
8418
|
+
updated_at?: string;
|
|
8419
|
+
};
|
|
8420
|
+
Update: {
|
|
8421
|
+
attempts?: number;
|
|
8422
|
+
callback_token_hash?: string;
|
|
8423
|
+
callback_url?: string;
|
|
8424
|
+
confirmed_at?: string | null;
|
|
8425
|
+
connection_id?: string;
|
|
8426
|
+
created_at?: string;
|
|
8427
|
+
environment?: string;
|
|
8428
|
+
id?: string;
|
|
8429
|
+
last_attempt_at?: string | null;
|
|
8430
|
+
last_error?: string | null;
|
|
8431
|
+
last_error_kind?: string | null;
|
|
8432
|
+
last_event_at?: string | null;
|
|
8433
|
+
locked_until?: string | null;
|
|
8434
|
+
managed_by?: string;
|
|
8435
|
+
next_attempt_at?: string | null;
|
|
8436
|
+
status?: string;
|
|
8437
|
+
subscribe_url?: string | null;
|
|
8438
|
+
subscribed_at?: string;
|
|
8439
|
+
updated_at?: string;
|
|
8440
|
+
};
|
|
8441
|
+
Relationships: [
|
|
8442
|
+
{
|
|
8443
|
+
foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
|
|
8444
|
+
columns: ["connection_id"];
|
|
8445
|
+
isOneToOne: true;
|
|
8446
|
+
referencedRelation: "floriday_connections";
|
|
8447
|
+
referencedColumns: ["id"];
|
|
8448
|
+
}
|
|
8449
|
+
];
|
|
8450
|
+
};
|
|
8037
8451
|
floriday_write_log: {
|
|
8038
8452
|
Row: {
|
|
8039
8453
|
action: string;
|
|
@@ -8195,6 +8609,7 @@ export type Database = {
|
|
|
8195
8609
|
};
|
|
8196
8610
|
fust_types: {
|
|
8197
8611
|
Row: {
|
|
8612
|
+
capacity_units: number | null;
|
|
8198
8613
|
connection_id: string | null;
|
|
8199
8614
|
created_at: string;
|
|
8200
8615
|
custom_package_id: string | null;
|
|
@@ -8215,6 +8630,7 @@ export type Database = {
|
|
|
8215
8630
|
width_mm: number | null;
|
|
8216
8631
|
};
|
|
8217
8632
|
Insert: {
|
|
8633
|
+
capacity_units?: number | null;
|
|
8218
8634
|
connection_id?: string | null;
|
|
8219
8635
|
created_at?: string;
|
|
8220
8636
|
custom_package_id?: string | null;
|
|
@@ -8235,6 +8651,7 @@ export type Database = {
|
|
|
8235
8651
|
width_mm?: number | null;
|
|
8236
8652
|
};
|
|
8237
8653
|
Update: {
|
|
8654
|
+
capacity_units?: number | null;
|
|
8238
8655
|
connection_id?: string | null;
|
|
8239
8656
|
created_at?: string;
|
|
8240
8657
|
custom_package_id?: string | null;
|
|
@@ -8471,6 +8888,72 @@ export type Database = {
|
|
|
8471
8888
|
};
|
|
8472
8889
|
Relationships: [];
|
|
8473
8890
|
};
|
|
8891
|
+
invoice_branding_settings: {
|
|
8892
|
+
Row: {
|
|
8893
|
+
address: string;
|
|
8894
|
+
chamber_of_commerce_number: string;
|
|
8895
|
+
city: string;
|
|
8896
|
+
company_name: string;
|
|
8897
|
+
created_at: string;
|
|
8898
|
+
email: string;
|
|
8899
|
+
email_purpose: string | null;
|
|
8900
|
+
iban: string;
|
|
8901
|
+
logo_path: string | null;
|
|
8902
|
+
payment_term_days: number;
|
|
8903
|
+
phone: string;
|
|
8904
|
+
postal_code: string;
|
|
8905
|
+
primary_color: string;
|
|
8906
|
+
secondary_color: string;
|
|
8907
|
+
show_company_name: boolean;
|
|
8908
|
+
singleton_key: boolean;
|
|
8909
|
+
updated_at: string;
|
|
8910
|
+
vat_identification_number: string;
|
|
8911
|
+
website: string;
|
|
8912
|
+
};
|
|
8913
|
+
Insert: {
|
|
8914
|
+
address?: string;
|
|
8915
|
+
chamber_of_commerce_number?: string;
|
|
8916
|
+
city?: string;
|
|
8917
|
+
company_name?: string;
|
|
8918
|
+
created_at?: string;
|
|
8919
|
+
email?: string;
|
|
8920
|
+
email_purpose?: string | null;
|
|
8921
|
+
iban?: string;
|
|
8922
|
+
logo_path?: string | null;
|
|
8923
|
+
payment_term_days?: number;
|
|
8924
|
+
phone?: string;
|
|
8925
|
+
postal_code?: string;
|
|
8926
|
+
primary_color?: string;
|
|
8927
|
+
secondary_color?: string;
|
|
8928
|
+
show_company_name?: boolean;
|
|
8929
|
+
singleton_key?: boolean;
|
|
8930
|
+
updated_at?: string;
|
|
8931
|
+
vat_identification_number?: string;
|
|
8932
|
+
website?: string;
|
|
8933
|
+
};
|
|
8934
|
+
Update: {
|
|
8935
|
+
address?: string;
|
|
8936
|
+
chamber_of_commerce_number?: string;
|
|
8937
|
+
city?: string;
|
|
8938
|
+
company_name?: string;
|
|
8939
|
+
created_at?: string;
|
|
8940
|
+
email?: string;
|
|
8941
|
+
email_purpose?: string | null;
|
|
8942
|
+
iban?: string;
|
|
8943
|
+
logo_path?: string | null;
|
|
8944
|
+
payment_term_days?: number;
|
|
8945
|
+
phone?: string;
|
|
8946
|
+
postal_code?: string;
|
|
8947
|
+
primary_color?: string;
|
|
8948
|
+
secondary_color?: string;
|
|
8949
|
+
show_company_name?: boolean;
|
|
8950
|
+
singleton_key?: boolean;
|
|
8951
|
+
updated_at?: string;
|
|
8952
|
+
vat_identification_number?: string;
|
|
8953
|
+
website?: string;
|
|
8954
|
+
};
|
|
8955
|
+
Relationships: [];
|
|
8956
|
+
};
|
|
8474
8957
|
invoice_items: {
|
|
8475
8958
|
Row: {
|
|
8476
8959
|
created_at: string;
|
|
@@ -8484,6 +8967,7 @@ export type Database = {
|
|
|
8484
8967
|
total_cents: number;
|
|
8485
8968
|
unit: string;
|
|
8486
8969
|
unit_price_cents: number;
|
|
8970
|
+
vat_rate: number | null;
|
|
8487
8971
|
};
|
|
8488
8972
|
Insert: {
|
|
8489
8973
|
created_at?: string;
|
|
@@ -8497,6 +8981,7 @@ export type Database = {
|
|
|
8497
8981
|
total_cents?: number;
|
|
8498
8982
|
unit?: string;
|
|
8499
8983
|
unit_price_cents?: number;
|
|
8984
|
+
vat_rate?: number | null;
|
|
8500
8985
|
};
|
|
8501
8986
|
Update: {
|
|
8502
8987
|
created_at?: string;
|
|
@@ -8510,6 +8995,7 @@ export type Database = {
|
|
|
8510
8995
|
total_cents?: number;
|
|
8511
8996
|
unit?: string;
|
|
8512
8997
|
unit_price_cents?: number;
|
|
8998
|
+
vat_rate?: number | null;
|
|
8513
8999
|
};
|
|
8514
9000
|
Relationships: [
|
|
8515
9001
|
{
|
|
@@ -8534,8 +9020,16 @@ export type Database = {
|
|
|
8534
9020
|
client_request_id: string;
|
|
8535
9021
|
completed_at: string | null;
|
|
8536
9022
|
created_at: string;
|
|
9023
|
+
customer_code: string | null;
|
|
8537
9024
|
error_message: string | null;
|
|
8538
9025
|
invoice_number: string | null;
|
|
9026
|
+
invoice_type: string | null;
|
|
9027
|
+
last_known_number: number | null;
|
|
9028
|
+
last_search_at: string | null;
|
|
9029
|
+
phase: string | null;
|
|
9030
|
+
reference: string | null;
|
|
9031
|
+
search_attempts: number;
|
|
9032
|
+
sending_at: string | null;
|
|
8539
9033
|
status: string;
|
|
8540
9034
|
user_id: string;
|
|
8541
9035
|
};
|
|
@@ -8544,8 +9038,16 @@ export type Database = {
|
|
|
8544
9038
|
client_request_id: string;
|
|
8545
9039
|
completed_at?: string | null;
|
|
8546
9040
|
created_at?: string;
|
|
9041
|
+
customer_code?: string | null;
|
|
8547
9042
|
error_message?: string | null;
|
|
8548
9043
|
invoice_number?: string | null;
|
|
9044
|
+
invoice_type?: string | null;
|
|
9045
|
+
last_known_number?: number | null;
|
|
9046
|
+
last_search_at?: string | null;
|
|
9047
|
+
phase?: string | null;
|
|
9048
|
+
reference?: string | null;
|
|
9049
|
+
search_attempts?: number;
|
|
9050
|
+
sending_at?: string | null;
|
|
8549
9051
|
status?: string;
|
|
8550
9052
|
user_id: string;
|
|
8551
9053
|
};
|
|
@@ -8554,8 +9056,16 @@ export type Database = {
|
|
|
8554
9056
|
client_request_id?: string;
|
|
8555
9057
|
completed_at?: string | null;
|
|
8556
9058
|
created_at?: string;
|
|
9059
|
+
customer_code?: string | null;
|
|
8557
9060
|
error_message?: string | null;
|
|
8558
9061
|
invoice_number?: string | null;
|
|
9062
|
+
invoice_type?: string | null;
|
|
9063
|
+
last_known_number?: number | null;
|
|
9064
|
+
last_search_at?: string | null;
|
|
9065
|
+
phase?: string | null;
|
|
9066
|
+
reference?: string | null;
|
|
9067
|
+
search_attempts?: number;
|
|
9068
|
+
sending_at?: string | null;
|
|
8559
9069
|
status?: string;
|
|
8560
9070
|
user_id?: string;
|
|
8561
9071
|
};
|
|
@@ -8763,6 +9273,7 @@ export type Database = {
|
|
|
8763
9273
|
};
|
|
8764
9274
|
invoices: {
|
|
8765
9275
|
Row: {
|
|
9276
|
+
branding_snapshot: Json | null;
|
|
8766
9277
|
created_at: string;
|
|
8767
9278
|
created_by: string | null;
|
|
8768
9279
|
customer_address: string | null;
|
|
@@ -8781,6 +9292,8 @@ export type Database = {
|
|
|
8781
9292
|
note: string | null;
|
|
8782
9293
|
payment_term_days: number;
|
|
8783
9294
|
reference: string | null;
|
|
9295
|
+
sent_at: string | null;
|
|
9296
|
+
sent_to: string | null;
|
|
8784
9297
|
source_number: string | null;
|
|
8785
9298
|
source_ref: string | null;
|
|
8786
9299
|
source_type: string;
|
|
@@ -8793,6 +9306,7 @@ export type Database = {
|
|
|
8793
9306
|
work_address: string | null;
|
|
8794
9307
|
};
|
|
8795
9308
|
Insert: {
|
|
9309
|
+
branding_snapshot?: Json | null;
|
|
8796
9310
|
created_at?: string;
|
|
8797
9311
|
created_by?: string | null;
|
|
8798
9312
|
customer_address?: string | null;
|
|
@@ -8811,6 +9325,8 @@ export type Database = {
|
|
|
8811
9325
|
note?: string | null;
|
|
8812
9326
|
payment_term_days?: number;
|
|
8813
9327
|
reference?: string | null;
|
|
9328
|
+
sent_at?: string | null;
|
|
9329
|
+
sent_to?: string | null;
|
|
8814
9330
|
source_number?: string | null;
|
|
8815
9331
|
source_ref?: string | null;
|
|
8816
9332
|
source_type?: string;
|
|
@@ -8823,6 +9339,7 @@ export type Database = {
|
|
|
8823
9339
|
work_address?: string | null;
|
|
8824
9340
|
};
|
|
8825
9341
|
Update: {
|
|
9342
|
+
branding_snapshot?: Json | null;
|
|
8826
9343
|
created_at?: string;
|
|
8827
9344
|
created_by?: string | null;
|
|
8828
9345
|
customer_address?: string | null;
|
|
@@ -8841,6 +9358,8 @@ export type Database = {
|
|
|
8841
9358
|
note?: string | null;
|
|
8842
9359
|
payment_term_days?: number;
|
|
8843
9360
|
reference?: string | null;
|
|
9361
|
+
sent_at?: string | null;
|
|
9362
|
+
sent_to?: string | null;
|
|
8844
9363
|
source_number?: string | null;
|
|
8845
9364
|
source_ref?: string | null;
|
|
8846
9365
|
source_type?: string;
|
|
@@ -9513,6 +10032,59 @@ export type Database = {
|
|
|
9513
10032
|
};
|
|
9514
10033
|
Relationships: [];
|
|
9515
10034
|
};
|
|
10035
|
+
itk_offerte_acceptaties: {
|
|
10036
|
+
Row: {
|
|
10037
|
+
accepted_at: string;
|
|
10038
|
+
akkoordgever_email: string;
|
|
10039
|
+
akkoordgever_naam: string;
|
|
10040
|
+
akkoordverklaring: string;
|
|
10041
|
+
id: string;
|
|
10042
|
+
inhoud_hash: string;
|
|
10043
|
+
ip_address: unknown;
|
|
10044
|
+
offerte_id: string;
|
|
10045
|
+
offerte_number: string;
|
|
10046
|
+
offerte_snapshot: Json;
|
|
10047
|
+
user_agent: string | null;
|
|
10048
|
+
versie: string;
|
|
10049
|
+
};
|
|
10050
|
+
Insert: {
|
|
10051
|
+
accepted_at?: string;
|
|
10052
|
+
akkoordgever_email: string;
|
|
10053
|
+
akkoordgever_naam: string;
|
|
10054
|
+
akkoordverklaring: string;
|
|
10055
|
+
id?: string;
|
|
10056
|
+
inhoud_hash: string;
|
|
10057
|
+
ip_address?: unknown;
|
|
10058
|
+
offerte_id: string;
|
|
10059
|
+
offerte_number: string;
|
|
10060
|
+
offerte_snapshot: Json;
|
|
10061
|
+
user_agent?: string | null;
|
|
10062
|
+
versie: string;
|
|
10063
|
+
};
|
|
10064
|
+
Update: {
|
|
10065
|
+
accepted_at?: string;
|
|
10066
|
+
akkoordgever_email?: string;
|
|
10067
|
+
akkoordgever_naam?: string;
|
|
10068
|
+
akkoordverklaring?: string;
|
|
10069
|
+
id?: string;
|
|
10070
|
+
inhoud_hash?: string;
|
|
10071
|
+
ip_address?: unknown;
|
|
10072
|
+
offerte_id?: string;
|
|
10073
|
+
offerte_number?: string;
|
|
10074
|
+
offerte_snapshot?: Json;
|
|
10075
|
+
user_agent?: string | null;
|
|
10076
|
+
versie?: string;
|
|
10077
|
+
};
|
|
10078
|
+
Relationships: [
|
|
10079
|
+
{
|
|
10080
|
+
foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
|
|
10081
|
+
columns: ["offerte_id"];
|
|
10082
|
+
isOneToOne: true;
|
|
10083
|
+
referencedRelation: "itk_offertes";
|
|
10084
|
+
referencedColumns: ["id"];
|
|
10085
|
+
}
|
|
10086
|
+
];
|
|
10087
|
+
};
|
|
9516
10088
|
itk_offerte_events: {
|
|
9517
10089
|
Row: {
|
|
9518
10090
|
created_at: string;
|
|
@@ -9562,6 +10134,7 @@ export type Database = {
|
|
|
9562
10134
|
quantity: number;
|
|
9563
10135
|
sort_order: number;
|
|
9564
10136
|
source: string;
|
|
10137
|
+
unit: string | null;
|
|
9565
10138
|
unit_price_cents: number;
|
|
9566
10139
|
updated_at: string;
|
|
9567
10140
|
};
|
|
@@ -9575,6 +10148,7 @@ export type Database = {
|
|
|
9575
10148
|
quantity?: number;
|
|
9576
10149
|
sort_order?: number;
|
|
9577
10150
|
source?: string;
|
|
10151
|
+
unit?: string | null;
|
|
9578
10152
|
unit_price_cents?: number;
|
|
9579
10153
|
updated_at?: string;
|
|
9580
10154
|
};
|
|
@@ -9588,6 +10162,7 @@ export type Database = {
|
|
|
9588
10162
|
quantity?: number;
|
|
9589
10163
|
sort_order?: number;
|
|
9590
10164
|
source?: string;
|
|
10165
|
+
unit?: string | null;
|
|
9591
10166
|
unit_price_cents?: number;
|
|
9592
10167
|
updated_at?: string;
|
|
9593
10168
|
};
|
|
@@ -9614,27 +10189,33 @@ export type Database = {
|
|
|
9614
10189
|
created_at: string;
|
|
9615
10190
|
default_geldigheid_dagen: number;
|
|
9616
10191
|
default_vat_rate: number;
|
|
10192
|
+
email_purpose: string | null;
|
|
9617
10193
|
id: string;
|
|
9618
10194
|
singleton: boolean;
|
|
9619
10195
|
updated_at: string;
|
|
10196
|
+
voorwaarden: string | null;
|
|
9620
10197
|
};
|
|
9621
10198
|
Insert: {
|
|
9622
10199
|
auto_convert_binnen_mandaat?: boolean;
|
|
9623
10200
|
created_at?: string;
|
|
9624
10201
|
default_geldigheid_dagen?: number;
|
|
9625
10202
|
default_vat_rate?: number;
|
|
10203
|
+
email_purpose?: string | null;
|
|
9626
10204
|
id?: string;
|
|
9627
10205
|
singleton?: boolean;
|
|
9628
10206
|
updated_at?: string;
|
|
10207
|
+
voorwaarden?: string | null;
|
|
9629
10208
|
};
|
|
9630
10209
|
Update: {
|
|
9631
10210
|
auto_convert_binnen_mandaat?: boolean;
|
|
9632
10211
|
created_at?: string;
|
|
9633
10212
|
default_geldigheid_dagen?: number;
|
|
9634
10213
|
default_vat_rate?: number;
|
|
10214
|
+
email_purpose?: string | null;
|
|
9635
10215
|
id?: string;
|
|
9636
10216
|
singleton?: boolean;
|
|
9637
10217
|
updated_at?: string;
|
|
10218
|
+
voorwaarden?: string | null;
|
|
9638
10219
|
};
|
|
9639
10220
|
Relationships: [];
|
|
9640
10221
|
};
|
|
@@ -9728,6 +10309,8 @@ export type Database = {
|
|
|
9728
10309
|
};
|
|
9729
10310
|
itk_offertes: {
|
|
9730
10311
|
Row: {
|
|
10312
|
+
aandachtspunten: string | null;
|
|
10313
|
+
acceptance_id: string | null;
|
|
9731
10314
|
ai_generated: boolean;
|
|
9732
10315
|
approved_at: string | null;
|
|
9733
10316
|
binnen_mandaat: boolean;
|
|
@@ -9743,8 +10326,14 @@ export type Database = {
|
|
|
9743
10326
|
notities: string | null;
|
|
9744
10327
|
offerte_number: string | null;
|
|
9745
10328
|
omschrijving: string;
|
|
10329
|
+
onderwerp: string | null;
|
|
9746
10330
|
rejected_at: string | null;
|
|
9747
10331
|
sent_at: string | null;
|
|
10332
|
+
sign_token: string;
|
|
10333
|
+
signature_data: string | null;
|
|
10334
|
+
signed_at: string | null;
|
|
10335
|
+
signer_email: string | null;
|
|
10336
|
+
signer_name: string | null;
|
|
9748
10337
|
source_number: string | null;
|
|
9749
10338
|
source_ref: string | null;
|
|
9750
10339
|
source_type: string;
|
|
@@ -9755,12 +10344,17 @@ export type Database = {
|
|
|
9755
10344
|
valid_until: string | null;
|
|
9756
10345
|
vat_cents: number;
|
|
9757
10346
|
vat_rate: number;
|
|
10347
|
+
verzonden_naar: string | null;
|
|
9758
10348
|
viewed_at: string | null;
|
|
9759
10349
|
volgnummer: number | null;
|
|
10350
|
+
voorwaarden: string | null;
|
|
10351
|
+
werkbon_concept: Json | null;
|
|
9760
10352
|
werkbon_id: string | null;
|
|
9761
10353
|
work_location_id: string | null;
|
|
9762
10354
|
};
|
|
9763
10355
|
Insert: {
|
|
10356
|
+
aandachtspunten?: string | null;
|
|
10357
|
+
acceptance_id?: string | null;
|
|
9764
10358
|
ai_generated?: boolean;
|
|
9765
10359
|
approved_at?: string | null;
|
|
9766
10360
|
binnen_mandaat?: boolean;
|
|
@@ -9776,8 +10370,14 @@ export type Database = {
|
|
|
9776
10370
|
notities?: string | null;
|
|
9777
10371
|
offerte_number?: string | null;
|
|
9778
10372
|
omschrijving?: string;
|
|
10373
|
+
onderwerp?: string | null;
|
|
9779
10374
|
rejected_at?: string | null;
|
|
9780
10375
|
sent_at?: string | null;
|
|
10376
|
+
sign_token?: string;
|
|
10377
|
+
signature_data?: string | null;
|
|
10378
|
+
signed_at?: string | null;
|
|
10379
|
+
signer_email?: string | null;
|
|
10380
|
+
signer_name?: string | null;
|
|
9781
10381
|
source_number?: string | null;
|
|
9782
10382
|
source_ref?: string | null;
|
|
9783
10383
|
source_type?: string;
|
|
@@ -9788,12 +10388,17 @@ export type Database = {
|
|
|
9788
10388
|
valid_until?: string | null;
|
|
9789
10389
|
vat_cents?: number;
|
|
9790
10390
|
vat_rate?: number;
|
|
10391
|
+
verzonden_naar?: string | null;
|
|
9791
10392
|
viewed_at?: string | null;
|
|
9792
10393
|
volgnummer?: number | null;
|
|
10394
|
+
voorwaarden?: string | null;
|
|
10395
|
+
werkbon_concept?: Json | null;
|
|
9793
10396
|
werkbon_id?: string | null;
|
|
9794
10397
|
work_location_id?: string | null;
|
|
9795
10398
|
};
|
|
9796
10399
|
Update: {
|
|
10400
|
+
aandachtspunten?: string | null;
|
|
10401
|
+
acceptance_id?: string | null;
|
|
9797
10402
|
ai_generated?: boolean;
|
|
9798
10403
|
approved_at?: string | null;
|
|
9799
10404
|
binnen_mandaat?: boolean;
|
|
@@ -9809,8 +10414,14 @@ export type Database = {
|
|
|
9809
10414
|
notities?: string | null;
|
|
9810
10415
|
offerte_number?: string | null;
|
|
9811
10416
|
omschrijving?: string;
|
|
10417
|
+
onderwerp?: string | null;
|
|
9812
10418
|
rejected_at?: string | null;
|
|
9813
10419
|
sent_at?: string | null;
|
|
10420
|
+
sign_token?: string;
|
|
10421
|
+
signature_data?: string | null;
|
|
10422
|
+
signed_at?: string | null;
|
|
10423
|
+
signer_email?: string | null;
|
|
10424
|
+
signer_name?: string | null;
|
|
9814
10425
|
source_number?: string | null;
|
|
9815
10426
|
source_ref?: string | null;
|
|
9816
10427
|
source_type?: string;
|
|
@@ -9821,12 +10432,22 @@ export type Database = {
|
|
|
9821
10432
|
valid_until?: string | null;
|
|
9822
10433
|
vat_cents?: number;
|
|
9823
10434
|
vat_rate?: number;
|
|
10435
|
+
verzonden_naar?: string | null;
|
|
9824
10436
|
viewed_at?: string | null;
|
|
9825
10437
|
volgnummer?: number | null;
|
|
10438
|
+
voorwaarden?: string | null;
|
|
10439
|
+
werkbon_concept?: Json | null;
|
|
9826
10440
|
werkbon_id?: string | null;
|
|
9827
10441
|
work_location_id?: string | null;
|
|
9828
10442
|
};
|
|
9829
10443
|
Relationships: [
|
|
10444
|
+
{
|
|
10445
|
+
foreignKeyName: "itk_offertes_acceptance_id_fkey";
|
|
10446
|
+
columns: ["acceptance_id"];
|
|
10447
|
+
isOneToOne: false;
|
|
10448
|
+
referencedRelation: "itk_offerte_acceptaties";
|
|
10449
|
+
referencedColumns: ["id"];
|
|
10450
|
+
},
|
|
9830
10451
|
{
|
|
9831
10452
|
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
9832
10453
|
columns: ["contact_id"];
|
|
@@ -10405,6 +11026,57 @@ export type Database = {
|
|
|
10405
11026
|
};
|
|
10406
11027
|
Relationships: [];
|
|
10407
11028
|
};
|
|
11029
|
+
logistics_base_url_checks: {
|
|
11030
|
+
Row: {
|
|
11031
|
+
candidate_host: string | null;
|
|
11032
|
+
candidate_url: string | null;
|
|
11033
|
+
detail: string | null;
|
|
11034
|
+
id: number;
|
|
11035
|
+
ping_ok: boolean | null;
|
|
11036
|
+
ping_request_id: number | null;
|
|
11037
|
+
ping_status: number | null;
|
|
11038
|
+
previous_url: string | null;
|
|
11039
|
+
resolved_at: string | null;
|
|
11040
|
+
route_ok: boolean | null;
|
|
11041
|
+
route_request_id: number | null;
|
|
11042
|
+
route_status: number | null;
|
|
11043
|
+
started_at: string;
|
|
11044
|
+
status: string;
|
|
11045
|
+
};
|
|
11046
|
+
Insert: {
|
|
11047
|
+
candidate_host?: string | null;
|
|
11048
|
+
candidate_url?: string | null;
|
|
11049
|
+
detail?: string | null;
|
|
11050
|
+
id?: never;
|
|
11051
|
+
ping_ok?: boolean | null;
|
|
11052
|
+
ping_request_id?: number | null;
|
|
11053
|
+
ping_status?: number | null;
|
|
11054
|
+
previous_url?: string | null;
|
|
11055
|
+
resolved_at?: string | null;
|
|
11056
|
+
route_ok?: boolean | null;
|
|
11057
|
+
route_request_id?: number | null;
|
|
11058
|
+
route_status?: number | null;
|
|
11059
|
+
started_at?: string;
|
|
11060
|
+
status: string;
|
|
11061
|
+
};
|
|
11062
|
+
Update: {
|
|
11063
|
+
candidate_host?: string | null;
|
|
11064
|
+
candidate_url?: string | null;
|
|
11065
|
+
detail?: string | null;
|
|
11066
|
+
id?: never;
|
|
11067
|
+
ping_ok?: boolean | null;
|
|
11068
|
+
ping_request_id?: number | null;
|
|
11069
|
+
ping_status?: number | null;
|
|
11070
|
+
previous_url?: string | null;
|
|
11071
|
+
resolved_at?: string | null;
|
|
11072
|
+
route_ok?: boolean | null;
|
|
11073
|
+
route_request_id?: number | null;
|
|
11074
|
+
route_status?: number | null;
|
|
11075
|
+
started_at?: string;
|
|
11076
|
+
status?: string;
|
|
11077
|
+
};
|
|
11078
|
+
Relationships: [];
|
|
11079
|
+
};
|
|
10408
11080
|
logistics_capacity_alerts: {
|
|
10409
11081
|
Row: {
|
|
10410
11082
|
available_minutes: number;
|
|
@@ -10578,6 +11250,30 @@ export type Database = {
|
|
|
10578
11250
|
};
|
|
10579
11251
|
Relationships: [];
|
|
10580
11252
|
};
|
|
11253
|
+
logistics_cart_barcode_archief: {
|
|
11254
|
+
Row: {
|
|
11255
|
+
barcode: string;
|
|
11256
|
+
cart_id: string;
|
|
11257
|
+
created_at: string | null;
|
|
11258
|
+
gearchiveerd_op: string;
|
|
11259
|
+
order_id: string | null;
|
|
11260
|
+
};
|
|
11261
|
+
Insert: {
|
|
11262
|
+
barcode: string;
|
|
11263
|
+
cart_id: string;
|
|
11264
|
+
created_at?: string | null;
|
|
11265
|
+
gearchiveerd_op?: string;
|
|
11266
|
+
order_id?: string | null;
|
|
11267
|
+
};
|
|
11268
|
+
Update: {
|
|
11269
|
+
barcode?: string;
|
|
11270
|
+
cart_id?: string;
|
|
11271
|
+
created_at?: string | null;
|
|
11272
|
+
gearchiveerd_op?: string;
|
|
11273
|
+
order_id?: string | null;
|
|
11274
|
+
};
|
|
11275
|
+
Relationships: [];
|
|
11276
|
+
};
|
|
10581
11277
|
logistics_control_scan: {
|
|
10582
11278
|
Row: {
|
|
10583
11279
|
approved_at: string | null;
|
|
@@ -11279,6 +11975,60 @@ export type Database = {
|
|
|
11279
11975
|
};
|
|
11280
11976
|
Relationships: [];
|
|
11281
11977
|
};
|
|
11978
|
+
logistics_order_merge_lines: {
|
|
11979
|
+
Row: {
|
|
11980
|
+
from_order_id: string;
|
|
11981
|
+
from_order_number: string | null;
|
|
11982
|
+
group_key: string;
|
|
11983
|
+
id: string;
|
|
11984
|
+
merged_at: string;
|
|
11985
|
+
order_item_id: string;
|
|
11986
|
+
ordered_at: string | null;
|
|
11987
|
+
product_id: string | null;
|
|
11988
|
+
product_name: string | null;
|
|
11989
|
+
quantity: number | null;
|
|
11990
|
+
reason: string;
|
|
11991
|
+
sales_order_id: string | null;
|
|
11992
|
+
source_line_key: string | null;
|
|
11993
|
+
to_order_id: string;
|
|
11994
|
+
to_order_number: string | null;
|
|
11995
|
+
};
|
|
11996
|
+
Insert: {
|
|
11997
|
+
from_order_id: string;
|
|
11998
|
+
from_order_number?: string | null;
|
|
11999
|
+
group_key: string;
|
|
12000
|
+
id?: string;
|
|
12001
|
+
merged_at?: string;
|
|
12002
|
+
order_item_id: string;
|
|
12003
|
+
ordered_at?: string | null;
|
|
12004
|
+
product_id?: string | null;
|
|
12005
|
+
product_name?: string | null;
|
|
12006
|
+
quantity?: number | null;
|
|
12007
|
+
reason: string;
|
|
12008
|
+
sales_order_id?: string | null;
|
|
12009
|
+
source_line_key?: string | null;
|
|
12010
|
+
to_order_id: string;
|
|
12011
|
+
to_order_number?: string | null;
|
|
12012
|
+
};
|
|
12013
|
+
Update: {
|
|
12014
|
+
from_order_id?: string;
|
|
12015
|
+
from_order_number?: string | null;
|
|
12016
|
+
group_key?: string;
|
|
12017
|
+
id?: string;
|
|
12018
|
+
merged_at?: string;
|
|
12019
|
+
order_item_id?: string;
|
|
12020
|
+
ordered_at?: string | null;
|
|
12021
|
+
product_id?: string | null;
|
|
12022
|
+
product_name?: string | null;
|
|
12023
|
+
quantity?: number | null;
|
|
12024
|
+
reason?: string;
|
|
12025
|
+
sales_order_id?: string | null;
|
|
12026
|
+
source_line_key?: string | null;
|
|
12027
|
+
to_order_id?: string;
|
|
12028
|
+
to_order_number?: string | null;
|
|
12029
|
+
};
|
|
12030
|
+
Relationships: [];
|
|
12031
|
+
};
|
|
11282
12032
|
logistics_order_merges: {
|
|
11283
12033
|
Row: {
|
|
11284
12034
|
group_key: string;
|
|
@@ -11621,6 +12371,60 @@ export type Database = {
|
|
|
11621
12371
|
};
|
|
11622
12372
|
Relationships: [];
|
|
11623
12373
|
};
|
|
12374
|
+
logistics_planner_diff_runs: {
|
|
12375
|
+
Row: {
|
|
12376
|
+
after_snapshot: Json | null;
|
|
12377
|
+
before_snapshot: Json;
|
|
12378
|
+
buffer_id: string | null;
|
|
12379
|
+
carts_after: number | null;
|
|
12380
|
+
carts_before: number | null;
|
|
12381
|
+
compared_at: string | null;
|
|
12382
|
+
created_at: string;
|
|
12383
|
+
differences: Json | null;
|
|
12384
|
+
id: string;
|
|
12385
|
+
identical: boolean | null;
|
|
12386
|
+
mode: string;
|
|
12387
|
+
order_id: string;
|
|
12388
|
+
order_ref: string | null;
|
|
12389
|
+
reason: string | null;
|
|
12390
|
+
status: string;
|
|
12391
|
+
};
|
|
12392
|
+
Insert: {
|
|
12393
|
+
after_snapshot?: Json | null;
|
|
12394
|
+
before_snapshot?: Json;
|
|
12395
|
+
buffer_id?: string | null;
|
|
12396
|
+
carts_after?: number | null;
|
|
12397
|
+
carts_before?: number | null;
|
|
12398
|
+
compared_at?: string | null;
|
|
12399
|
+
created_at?: string;
|
|
12400
|
+
differences?: Json | null;
|
|
12401
|
+
id?: string;
|
|
12402
|
+
identical?: boolean | null;
|
|
12403
|
+
mode: string;
|
|
12404
|
+
order_id: string;
|
|
12405
|
+
order_ref?: string | null;
|
|
12406
|
+
reason?: string | null;
|
|
12407
|
+
status?: string;
|
|
12408
|
+
};
|
|
12409
|
+
Update: {
|
|
12410
|
+
after_snapshot?: Json | null;
|
|
12411
|
+
before_snapshot?: Json;
|
|
12412
|
+
buffer_id?: string | null;
|
|
12413
|
+
carts_after?: number | null;
|
|
12414
|
+
carts_before?: number | null;
|
|
12415
|
+
compared_at?: string | null;
|
|
12416
|
+
created_at?: string;
|
|
12417
|
+
differences?: Json | null;
|
|
12418
|
+
id?: string;
|
|
12419
|
+
identical?: boolean | null;
|
|
12420
|
+
mode?: string;
|
|
12421
|
+
order_id?: string;
|
|
12422
|
+
order_ref?: string | null;
|
|
12423
|
+
reason?: string | null;
|
|
12424
|
+
status?: string;
|
|
12425
|
+
};
|
|
12426
|
+
Relationships: [];
|
|
12427
|
+
};
|
|
11624
12428
|
logistics_rebuffer_state: {
|
|
11625
12429
|
Row: {
|
|
11626
12430
|
created_at: string;
|
|
@@ -12306,6 +13110,48 @@ export type Database = {
|
|
|
12306
13110
|
}
|
|
12307
13111
|
];
|
|
12308
13112
|
};
|
|
13113
|
+
logistics_tick_calls: {
|
|
13114
|
+
Row: {
|
|
13115
|
+
called_at: string;
|
|
13116
|
+
engine_ok: boolean | null;
|
|
13117
|
+
error: string | null;
|
|
13118
|
+
id: number;
|
|
13119
|
+
module_project: boolean | null;
|
|
13120
|
+
module_version: string | null;
|
|
13121
|
+
request_id: number | null;
|
|
13122
|
+
resolved_at: string | null;
|
|
13123
|
+
skipped_reason: string | null;
|
|
13124
|
+
status_code: number | null;
|
|
13125
|
+
target_host: string | null;
|
|
13126
|
+
};
|
|
13127
|
+
Insert: {
|
|
13128
|
+
called_at?: string;
|
|
13129
|
+
engine_ok?: boolean | null;
|
|
13130
|
+
error?: string | null;
|
|
13131
|
+
id?: never;
|
|
13132
|
+
module_project?: boolean | null;
|
|
13133
|
+
module_version?: string | null;
|
|
13134
|
+
request_id?: number | null;
|
|
13135
|
+
resolved_at?: string | null;
|
|
13136
|
+
skipped_reason?: string | null;
|
|
13137
|
+
status_code?: number | null;
|
|
13138
|
+
target_host?: string | null;
|
|
13139
|
+
};
|
|
13140
|
+
Update: {
|
|
13141
|
+
called_at?: string;
|
|
13142
|
+
engine_ok?: boolean | null;
|
|
13143
|
+
error?: string | null;
|
|
13144
|
+
id?: never;
|
|
13145
|
+
module_project?: boolean | null;
|
|
13146
|
+
module_version?: string | null;
|
|
13147
|
+
request_id?: number | null;
|
|
13148
|
+
resolved_at?: string | null;
|
|
13149
|
+
skipped_reason?: string | null;
|
|
13150
|
+
status_code?: number | null;
|
|
13151
|
+
target_host?: string | null;
|
|
13152
|
+
};
|
|
13153
|
+
Relationships: [];
|
|
13154
|
+
};
|
|
12309
13155
|
logistics_tick_heartbeat: {
|
|
12310
13156
|
Row: {
|
|
12311
13157
|
id: boolean;
|
|
@@ -13490,6 +14336,7 @@ export type Database = {
|
|
|
13490
14336
|
Row: {
|
|
13491
14337
|
color: string | null;
|
|
13492
14338
|
created_at: string;
|
|
14339
|
+
functie: string | null;
|
|
13493
14340
|
hours_fri: number | null;
|
|
13494
14341
|
hours_mon: number | null;
|
|
13495
14342
|
hours_thu: number | null;
|
|
@@ -13506,6 +14353,7 @@ export type Database = {
|
|
|
13506
14353
|
Insert: {
|
|
13507
14354
|
color?: string | null;
|
|
13508
14355
|
created_at?: string;
|
|
14356
|
+
functie?: string | null;
|
|
13509
14357
|
hours_fri?: number | null;
|
|
13510
14358
|
hours_mon?: number | null;
|
|
13511
14359
|
hours_thu?: number | null;
|
|
@@ -13522,6 +14370,7 @@ export type Database = {
|
|
|
13522
14370
|
Update: {
|
|
13523
14371
|
color?: string | null;
|
|
13524
14372
|
created_at?: string;
|
|
14373
|
+
functie?: string | null;
|
|
13525
14374
|
hours_fri?: number | null;
|
|
13526
14375
|
hours_mon?: number | null;
|
|
13527
14376
|
hours_thu?: number | null;
|
|
@@ -14896,6 +15745,7 @@ export type Database = {
|
|
|
14896
15745
|
next_attempt_at: string;
|
|
14897
15746
|
order_id: string;
|
|
14898
15747
|
processed_at: string | null;
|
|
15748
|
+
send_error: string | null;
|
|
14899
15749
|
status: string;
|
|
14900
15750
|
updated_at: string;
|
|
14901
15751
|
};
|
|
@@ -14909,6 +15759,7 @@ export type Database = {
|
|
|
14909
15759
|
next_attempt_at?: string;
|
|
14910
15760
|
order_id: string;
|
|
14911
15761
|
processed_at?: string | null;
|
|
15762
|
+
send_error?: string | null;
|
|
14912
15763
|
status?: string;
|
|
14913
15764
|
updated_at?: string;
|
|
14914
15765
|
};
|
|
@@ -14922,6 +15773,7 @@ export type Database = {
|
|
|
14922
15773
|
next_attempt_at?: string;
|
|
14923
15774
|
order_id?: string;
|
|
14924
15775
|
processed_at?: string | null;
|
|
15776
|
+
send_error?: string | null;
|
|
14925
15777
|
status?: string;
|
|
14926
15778
|
updated_at?: string;
|
|
14927
15779
|
};
|
|
@@ -14940,6 +15792,9 @@ export type Database = {
|
|
|
14940
15792
|
product_id: string | null;
|
|
14941
15793
|
product_name: string;
|
|
14942
15794
|
quantity: number;
|
|
15795
|
+
quarantine_reason: string | null;
|
|
15796
|
+
quarantined_at: string | null;
|
|
15797
|
+
quarantined_into_order_id: string | null;
|
|
14943
15798
|
source_line_key: string | null;
|
|
14944
15799
|
unit: string;
|
|
14945
15800
|
unit_price: number | null;
|
|
@@ -14956,6 +15811,9 @@ export type Database = {
|
|
|
14956
15811
|
product_id?: string | null;
|
|
14957
15812
|
product_name: string;
|
|
14958
15813
|
quantity?: number;
|
|
15814
|
+
quarantine_reason?: string | null;
|
|
15815
|
+
quarantined_at?: string | null;
|
|
15816
|
+
quarantined_into_order_id?: string | null;
|
|
14959
15817
|
source_line_key?: string | null;
|
|
14960
15818
|
unit?: string;
|
|
14961
15819
|
unit_price?: number | null;
|
|
@@ -14972,6 +15830,9 @@ export type Database = {
|
|
|
14972
15830
|
product_id?: string | null;
|
|
14973
15831
|
product_name?: string;
|
|
14974
15832
|
quantity?: number;
|
|
15833
|
+
quarantine_reason?: string | null;
|
|
15834
|
+
quarantined_at?: string | null;
|
|
15835
|
+
quarantined_into_order_id?: string | null;
|
|
14975
15836
|
source_line_key?: string | null;
|
|
14976
15837
|
unit?: string;
|
|
14977
15838
|
unit_price?: number | null;
|
|
@@ -16305,23 +17166,62 @@ export type Database = {
|
|
|
16305
17166
|
Row: {
|
|
16306
17167
|
id: boolean;
|
|
16307
17168
|
last_cleanup_at: string | null;
|
|
17169
|
+
last_error: string | null;
|
|
17170
|
+
last_error_at: string | null;
|
|
16308
17171
|
last_sync_at: string | null;
|
|
16309
17172
|
updated_at: string;
|
|
16310
17173
|
};
|
|
16311
17174
|
Insert: {
|
|
16312
17175
|
id?: boolean;
|
|
16313
17176
|
last_cleanup_at?: string | null;
|
|
17177
|
+
last_error?: string | null;
|
|
17178
|
+
last_error_at?: string | null;
|
|
16314
17179
|
last_sync_at?: string | null;
|
|
16315
17180
|
updated_at?: string;
|
|
16316
17181
|
};
|
|
16317
17182
|
Update: {
|
|
16318
17183
|
id?: boolean;
|
|
16319
17184
|
last_cleanup_at?: string | null;
|
|
17185
|
+
last_error?: string | null;
|
|
17186
|
+
last_error_at?: string | null;
|
|
16320
17187
|
last_sync_at?: string | null;
|
|
16321
17188
|
updated_at?: string;
|
|
16322
17189
|
};
|
|
16323
17190
|
Relationships: [];
|
|
16324
17191
|
};
|
|
17192
|
+
pick_taken: {
|
|
17193
|
+
Row: {
|
|
17194
|
+
bron_module: string | null;
|
|
17195
|
+
created_at: string;
|
|
17196
|
+
id: string;
|
|
17197
|
+
klantnaam: string | null;
|
|
17198
|
+
opmerking: string | null;
|
|
17199
|
+
order_ref: string | null;
|
|
17200
|
+
status: string;
|
|
17201
|
+
updated_at: string;
|
|
17202
|
+
};
|
|
17203
|
+
Insert: {
|
|
17204
|
+
bron_module?: string | null;
|
|
17205
|
+
created_at?: string;
|
|
17206
|
+
id?: string;
|
|
17207
|
+
klantnaam?: string | null;
|
|
17208
|
+
opmerking?: string | null;
|
|
17209
|
+
order_ref?: string | null;
|
|
17210
|
+
status?: string;
|
|
17211
|
+
updated_at?: string;
|
|
17212
|
+
};
|
|
17213
|
+
Update: {
|
|
17214
|
+
bron_module?: string | null;
|
|
17215
|
+
created_at?: string;
|
|
17216
|
+
id?: string;
|
|
17217
|
+
klantnaam?: string | null;
|
|
17218
|
+
opmerking?: string | null;
|
|
17219
|
+
order_ref?: string | null;
|
|
17220
|
+
status?: string;
|
|
17221
|
+
updated_at?: string;
|
|
17222
|
+
};
|
|
17223
|
+
Relationships: [];
|
|
17224
|
+
};
|
|
16325
17225
|
pick_task_document_types: {
|
|
16326
17226
|
Row: {
|
|
16327
17227
|
created_at: string;
|
|
@@ -16445,53 +17345,143 @@ export type Database = {
|
|
|
16445
17345
|
};
|
|
16446
17346
|
Relationships: [];
|
|
16447
17347
|
};
|
|
16448
|
-
|
|
17348
|
+
planning_absence_notices: {
|
|
16449
17349
|
Row: {
|
|
16450
17350
|
created_at: string;
|
|
16451
|
-
|
|
17351
|
+
day: string;
|
|
17352
|
+
handled_at: string | null;
|
|
17353
|
+
handled_by: string | null;
|
|
17354
|
+
id: string;
|
|
17355
|
+
items: Json;
|
|
17356
|
+
kind: string;
|
|
16452
17357
|
monteur_id: string;
|
|
16453
|
-
|
|
17358
|
+
updated_at: string;
|
|
16454
17359
|
};
|
|
16455
17360
|
Insert: {
|
|
16456
17361
|
created_at?: string;
|
|
16457
|
-
|
|
17362
|
+
day: string;
|
|
17363
|
+
handled_at?: string | null;
|
|
17364
|
+
handled_by?: string | null;
|
|
17365
|
+
id?: string;
|
|
17366
|
+
items?: Json;
|
|
17367
|
+
kind?: string;
|
|
16458
17368
|
monteur_id: string;
|
|
16459
|
-
|
|
17369
|
+
updated_at?: string;
|
|
16460
17370
|
};
|
|
16461
17371
|
Update: {
|
|
16462
17372
|
created_at?: string;
|
|
16463
|
-
|
|
17373
|
+
day?: string;
|
|
17374
|
+
handled_at?: string | null;
|
|
17375
|
+
handled_by?: string | null;
|
|
17376
|
+
id?: string;
|
|
17377
|
+
items?: Json;
|
|
17378
|
+
kind?: string;
|
|
16464
17379
|
monteur_id?: string;
|
|
16465
|
-
|
|
17380
|
+
updated_at?: string;
|
|
16466
17381
|
};
|
|
16467
|
-
Relationships: [
|
|
16468
|
-
{
|
|
16469
|
-
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
16470
|
-
columns: ["planning_item_id"];
|
|
16471
|
-
isOneToOne: false;
|
|
16472
|
-
referencedRelation: "planning_items";
|
|
16473
|
-
referencedColumns: ["id"];
|
|
16474
|
-
},
|
|
16475
|
-
{
|
|
16476
|
-
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
16477
|
-
columns: ["planning_item_id"];
|
|
16478
|
-
isOneToOne: false;
|
|
16479
|
-
referencedRelation: "planning_overview";
|
|
16480
|
-
referencedColumns: ["id"];
|
|
16481
|
-
}
|
|
16482
|
-
];
|
|
17382
|
+
Relationships: [];
|
|
16483
17383
|
};
|
|
16484
|
-
|
|
17384
|
+
planning_confirmation_log: {
|
|
16485
17385
|
Row: {
|
|
16486
|
-
assigned_monteur_id: string;
|
|
16487
17386
|
created_at: string;
|
|
16488
|
-
created_by: string | null;
|
|
16489
17387
|
end_at: string;
|
|
16490
17388
|
id: string;
|
|
16491
|
-
|
|
17389
|
+
kind: string;
|
|
17390
|
+
outbox_id: string | null;
|
|
17391
|
+
planning_item_id: string;
|
|
17392
|
+
reason: string | null;
|
|
17393
|
+
recipient: string | null;
|
|
16492
17394
|
start_at: string;
|
|
16493
|
-
status:
|
|
16494
|
-
|
|
17395
|
+
status: string;
|
|
17396
|
+
};
|
|
17397
|
+
Insert: {
|
|
17398
|
+
created_at?: string;
|
|
17399
|
+
end_at: string;
|
|
17400
|
+
id?: string;
|
|
17401
|
+
kind?: string;
|
|
17402
|
+
outbox_id?: string | null;
|
|
17403
|
+
planning_item_id: string;
|
|
17404
|
+
reason?: string | null;
|
|
17405
|
+
recipient?: string | null;
|
|
17406
|
+
start_at: string;
|
|
17407
|
+
status: string;
|
|
17408
|
+
};
|
|
17409
|
+
Update: {
|
|
17410
|
+
created_at?: string;
|
|
17411
|
+
end_at?: string;
|
|
17412
|
+
id?: string;
|
|
17413
|
+
kind?: string;
|
|
17414
|
+
outbox_id?: string | null;
|
|
17415
|
+
planning_item_id?: string;
|
|
17416
|
+
reason?: string | null;
|
|
17417
|
+
recipient?: string | null;
|
|
17418
|
+
start_at?: string;
|
|
17419
|
+
status?: string;
|
|
17420
|
+
};
|
|
17421
|
+
Relationships: [
|
|
17422
|
+
{
|
|
17423
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
17424
|
+
columns: ["planning_item_id"];
|
|
17425
|
+
isOneToOne: false;
|
|
17426
|
+
referencedRelation: "planning_items";
|
|
17427
|
+
referencedColumns: ["id"];
|
|
17428
|
+
},
|
|
17429
|
+
{
|
|
17430
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
17431
|
+
columns: ["planning_item_id"];
|
|
17432
|
+
isOneToOne: false;
|
|
17433
|
+
referencedRelation: "planning_overview";
|
|
17434
|
+
referencedColumns: ["id"];
|
|
17435
|
+
}
|
|
17436
|
+
];
|
|
17437
|
+
};
|
|
17438
|
+
planning_item_assistants: {
|
|
17439
|
+
Row: {
|
|
17440
|
+
created_at: string;
|
|
17441
|
+
created_by: string | null;
|
|
17442
|
+
monteur_id: string;
|
|
17443
|
+
planning_item_id: string;
|
|
17444
|
+
};
|
|
17445
|
+
Insert: {
|
|
17446
|
+
created_at?: string;
|
|
17447
|
+
created_by?: string | null;
|
|
17448
|
+
monteur_id: string;
|
|
17449
|
+
planning_item_id: string;
|
|
17450
|
+
};
|
|
17451
|
+
Update: {
|
|
17452
|
+
created_at?: string;
|
|
17453
|
+
created_by?: string | null;
|
|
17454
|
+
monteur_id?: string;
|
|
17455
|
+
planning_item_id?: string;
|
|
17456
|
+
};
|
|
17457
|
+
Relationships: [
|
|
17458
|
+
{
|
|
17459
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
17460
|
+
columns: ["planning_item_id"];
|
|
17461
|
+
isOneToOne: false;
|
|
17462
|
+
referencedRelation: "planning_items";
|
|
17463
|
+
referencedColumns: ["id"];
|
|
17464
|
+
},
|
|
17465
|
+
{
|
|
17466
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
17467
|
+
columns: ["planning_item_id"];
|
|
17468
|
+
isOneToOne: false;
|
|
17469
|
+
referencedRelation: "planning_overview";
|
|
17470
|
+
referencedColumns: ["id"];
|
|
17471
|
+
}
|
|
17472
|
+
];
|
|
17473
|
+
};
|
|
17474
|
+
planning_items: {
|
|
17475
|
+
Row: {
|
|
17476
|
+
assigned_monteur_id: string;
|
|
17477
|
+
created_at: string;
|
|
17478
|
+
created_by: string | null;
|
|
17479
|
+
end_at: string;
|
|
17480
|
+
id: string;
|
|
17481
|
+
notes: string | null;
|
|
17482
|
+
start_at: string;
|
|
17483
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
17484
|
+
updated_at: string;
|
|
16495
17485
|
werkbon_id: string;
|
|
16496
17486
|
};
|
|
16497
17487
|
Insert: {
|
|
@@ -16535,6 +17525,72 @@ export type Database = {
|
|
|
16535
17525
|
}
|
|
16536
17526
|
];
|
|
16537
17527
|
};
|
|
17528
|
+
planning_mail_settings: {
|
|
17529
|
+
Row: {
|
|
17530
|
+
body_template: string;
|
|
17531
|
+
cc: string[];
|
|
17532
|
+
connection_id: string | null;
|
|
17533
|
+
created_at: string;
|
|
17534
|
+
email_purpose: string | null;
|
|
17535
|
+
enabled: boolean;
|
|
17536
|
+
id: boolean;
|
|
17537
|
+
reply_to: string | null;
|
|
17538
|
+
reschedule_body_template: string;
|
|
17539
|
+
reschedule_subject_template: string;
|
|
17540
|
+
subject_template: string;
|
|
17541
|
+
timezone: string;
|
|
17542
|
+
updated_at: string;
|
|
17543
|
+
updated_by: string | null;
|
|
17544
|
+
};
|
|
17545
|
+
Insert: {
|
|
17546
|
+
body_template?: string;
|
|
17547
|
+
cc?: string[];
|
|
17548
|
+
connection_id?: string | null;
|
|
17549
|
+
created_at?: string;
|
|
17550
|
+
email_purpose?: string | null;
|
|
17551
|
+
enabled?: boolean;
|
|
17552
|
+
id?: boolean;
|
|
17553
|
+
reply_to?: string | null;
|
|
17554
|
+
reschedule_body_template?: string;
|
|
17555
|
+
reschedule_subject_template?: string;
|
|
17556
|
+
subject_template?: string;
|
|
17557
|
+
timezone?: string;
|
|
17558
|
+
updated_at?: string;
|
|
17559
|
+
updated_by?: string | null;
|
|
17560
|
+
};
|
|
17561
|
+
Update: {
|
|
17562
|
+
body_template?: string;
|
|
17563
|
+
cc?: string[];
|
|
17564
|
+
connection_id?: string | null;
|
|
17565
|
+
created_at?: string;
|
|
17566
|
+
email_purpose?: string | null;
|
|
17567
|
+
enabled?: boolean;
|
|
17568
|
+
id?: boolean;
|
|
17569
|
+
reply_to?: string | null;
|
|
17570
|
+
reschedule_body_template?: string;
|
|
17571
|
+
reschedule_subject_template?: string;
|
|
17572
|
+
subject_template?: string;
|
|
17573
|
+
timezone?: string;
|
|
17574
|
+
updated_at?: string;
|
|
17575
|
+
updated_by?: string | null;
|
|
17576
|
+
};
|
|
17577
|
+
Relationships: [
|
|
17578
|
+
{
|
|
17579
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
17580
|
+
columns: ["connection_id"];
|
|
17581
|
+
isOneToOne: false;
|
|
17582
|
+
referencedRelation: "email_auth_connections";
|
|
17583
|
+
referencedColumns: ["id"];
|
|
17584
|
+
},
|
|
17585
|
+
{
|
|
17586
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
17587
|
+
columns: ["connection_id"];
|
|
17588
|
+
isOneToOne: false;
|
|
17589
|
+
referencedRelation: "email_auth_connections_safe";
|
|
17590
|
+
referencedColumns: ["id"];
|
|
17591
|
+
}
|
|
17592
|
+
];
|
|
17593
|
+
};
|
|
16538
17594
|
planning_monteur_day_locations: {
|
|
16539
17595
|
Row: {
|
|
16540
17596
|
created_at: string;
|
|
@@ -16934,6 +17990,27 @@ export type Database = {
|
|
|
16934
17990
|
};
|
|
16935
17991
|
Relationships: [];
|
|
16936
17992
|
};
|
|
17993
|
+
print_genegeerde_computers: {
|
|
17994
|
+
Row: {
|
|
17995
|
+
computer_naam: string;
|
|
17996
|
+
genegeerd_door: string | null;
|
|
17997
|
+
genegeerd_op: string;
|
|
17998
|
+
id: string;
|
|
17999
|
+
};
|
|
18000
|
+
Insert: {
|
|
18001
|
+
computer_naam: string;
|
|
18002
|
+
genegeerd_door?: string | null;
|
|
18003
|
+
genegeerd_op?: string;
|
|
18004
|
+
id?: string;
|
|
18005
|
+
};
|
|
18006
|
+
Update: {
|
|
18007
|
+
computer_naam?: string;
|
|
18008
|
+
genegeerd_door?: string | null;
|
|
18009
|
+
genegeerd_op?: string;
|
|
18010
|
+
id?: string;
|
|
18011
|
+
};
|
|
18012
|
+
Relationships: [];
|
|
18013
|
+
};
|
|
16937
18014
|
print_job_logs: {
|
|
16938
18015
|
Row: {
|
|
16939
18016
|
created_at: string;
|
|
@@ -17215,6 +18292,42 @@ export type Database = {
|
|
|
17215
18292
|
}
|
|
17216
18293
|
];
|
|
17217
18294
|
};
|
|
18295
|
+
print_plek_printers: {
|
|
18296
|
+
Row: {
|
|
18297
|
+
id: string;
|
|
18298
|
+
print_plek_id: string;
|
|
18299
|
+
printer_id: string;
|
|
18300
|
+
toegevoegd_op: string;
|
|
18301
|
+
};
|
|
18302
|
+
Insert: {
|
|
18303
|
+
id?: string;
|
|
18304
|
+
print_plek_id: string;
|
|
18305
|
+
printer_id: string;
|
|
18306
|
+
toegevoegd_op?: string;
|
|
18307
|
+
};
|
|
18308
|
+
Update: {
|
|
18309
|
+
id?: string;
|
|
18310
|
+
print_plek_id?: string;
|
|
18311
|
+
printer_id?: string;
|
|
18312
|
+
toegevoegd_op?: string;
|
|
18313
|
+
};
|
|
18314
|
+
Relationships: [
|
|
18315
|
+
{
|
|
18316
|
+
foreignKeyName: "print_plek_printers_print_plek_id_fkey";
|
|
18317
|
+
columns: ["print_plek_id"];
|
|
18318
|
+
isOneToOne: false;
|
|
18319
|
+
referencedRelation: "print_plekken";
|
|
18320
|
+
referencedColumns: ["id"];
|
|
18321
|
+
},
|
|
18322
|
+
{
|
|
18323
|
+
foreignKeyName: "print_plek_printers_printer_id_fkey";
|
|
18324
|
+
columns: ["printer_id"];
|
|
18325
|
+
isOneToOne: false;
|
|
18326
|
+
referencedRelation: "printers";
|
|
18327
|
+
referencedColumns: ["id"];
|
|
18328
|
+
}
|
|
18329
|
+
];
|
|
18330
|
+
};
|
|
17218
18331
|
print_plekken: {
|
|
17219
18332
|
Row: {
|
|
17220
18333
|
actief: boolean;
|
|
@@ -17433,7 +18546,8 @@ export type Database = {
|
|
|
17433
18546
|
created_at: string;
|
|
17434
18547
|
id: string;
|
|
17435
18548
|
layout_id: string;
|
|
17436
|
-
printer_id: string;
|
|
18549
|
+
printer_id: string | null;
|
|
18550
|
+
printer_ontbreekt_sinds: string | null;
|
|
17437
18551
|
prioriteit: number;
|
|
17438
18552
|
updated_at: string;
|
|
17439
18553
|
};
|
|
@@ -17441,7 +18555,8 @@ export type Database = {
|
|
|
17441
18555
|
created_at?: string;
|
|
17442
18556
|
id?: string;
|
|
17443
18557
|
layout_id: string;
|
|
17444
|
-
printer_id
|
|
18558
|
+
printer_id?: string | null;
|
|
18559
|
+
printer_ontbreekt_sinds?: string | null;
|
|
17445
18560
|
prioriteit?: number;
|
|
17446
18561
|
updated_at?: string;
|
|
17447
18562
|
};
|
|
@@ -17449,7 +18564,8 @@ export type Database = {
|
|
|
17449
18564
|
created_at?: string;
|
|
17450
18565
|
id?: string;
|
|
17451
18566
|
layout_id?: string;
|
|
17452
|
-
printer_id?: string;
|
|
18567
|
+
printer_id?: string | null;
|
|
18568
|
+
printer_ontbreekt_sinds?: string | null;
|
|
17453
18569
|
prioriteit?: number;
|
|
17454
18570
|
updated_at?: string;
|
|
17455
18571
|
};
|
|
@@ -17944,6 +19060,8 @@ export type Database = {
|
|
|
17944
19060
|
};
|
|
17945
19061
|
product_load_settings: {
|
|
17946
19062
|
Row: {
|
|
19063
|
+
build: Json | null;
|
|
19064
|
+
build_status: string;
|
|
17947
19065
|
created_at: string;
|
|
17948
19066
|
id: string;
|
|
17949
19067
|
is_package: boolean;
|
|
@@ -17961,6 +19079,8 @@ export type Database = {
|
|
|
17961
19079
|
updated_at: string;
|
|
17962
19080
|
};
|
|
17963
19081
|
Insert: {
|
|
19082
|
+
build?: Json | null;
|
|
19083
|
+
build_status?: string;
|
|
17964
19084
|
created_at?: string;
|
|
17965
19085
|
id?: string;
|
|
17966
19086
|
is_package?: boolean;
|
|
@@ -17978,6 +19098,8 @@ export type Database = {
|
|
|
17978
19098
|
updated_at?: string;
|
|
17979
19099
|
};
|
|
17980
19100
|
Update: {
|
|
19101
|
+
build?: Json | null;
|
|
19102
|
+
build_status?: string;
|
|
17981
19103
|
created_at?: string;
|
|
17982
19104
|
id?: string;
|
|
17983
19105
|
is_package?: boolean;
|
|
@@ -18051,81 +19173,199 @@ export type Database = {
|
|
|
18051
19173
|
};
|
|
18052
19174
|
Relationships: [];
|
|
18053
19175
|
};
|
|
18054
|
-
|
|
19176
|
+
product_suppliers: {
|
|
18055
19177
|
Row: {
|
|
18056
|
-
article_number: string | null;
|
|
18057
|
-
barcode: string | null;
|
|
18058
|
-
batch: string;
|
|
18059
|
-
crates_per_layer: number;
|
|
18060
19178
|
created_at: string;
|
|
18061
|
-
custom_fields: Json;
|
|
18062
|
-
floriday_packing_confirmed_at: string | null;
|
|
18063
|
-
floriday_packing_source: string | null;
|
|
18064
|
-
floriday_trade_item_id: string | null;
|
|
18065
|
-
fust_type_id: string | null;
|
|
18066
19179
|
id: string;
|
|
18067
|
-
|
|
18068
|
-
|
|
18069
|
-
|
|
18070
|
-
|
|
18071
|
-
|
|
18072
|
-
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
|
|
18076
|
-
|
|
18077
|
-
|
|
18078
|
-
quantity: number;
|
|
18079
|
-
sale_price: number | null;
|
|
18080
|
-
trade_item_key: string | null;
|
|
18081
|
-
unit: string;
|
|
19180
|
+
is_preferred: boolean;
|
|
19181
|
+
lead_time_days: number | null;
|
|
19182
|
+
min_order_quantity: number | null;
|
|
19183
|
+
notes: string | null;
|
|
19184
|
+
previous_price_cents: number | null;
|
|
19185
|
+
price_source: string;
|
|
19186
|
+
price_updated_at: string | null;
|
|
19187
|
+
product_id: string;
|
|
19188
|
+
purchase_price_cents: number | null;
|
|
19189
|
+
supplier_article_number: string | null;
|
|
19190
|
+
supplier_id: string;
|
|
18082
19191
|
updated_at: string;
|
|
18083
|
-
weight: string | null;
|
|
18084
19192
|
};
|
|
18085
19193
|
Insert: {
|
|
18086
|
-
article_number?: string | null;
|
|
18087
|
-
barcode?: string | null;
|
|
18088
|
-
batch: string;
|
|
18089
|
-
crates_per_layer?: number;
|
|
18090
19194
|
created_at?: string;
|
|
18091
|
-
custom_fields?: Json;
|
|
18092
|
-
floriday_packing_confirmed_at?: string | null;
|
|
18093
|
-
floriday_packing_source?: string | null;
|
|
18094
|
-
floriday_trade_item_id?: string | null;
|
|
18095
|
-
fust_type_id?: string | null;
|
|
18096
19195
|
id?: string;
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
|
|
18100
|
-
|
|
18101
|
-
|
|
18102
|
-
|
|
18103
|
-
|
|
18104
|
-
|
|
18105
|
-
|
|
18106
|
-
|
|
18107
|
-
|
|
18108
|
-
quantity?: number;
|
|
18109
|
-
sale_price?: number | null;
|
|
18110
|
-
trade_item_key?: string | null;
|
|
18111
|
-
unit?: string;
|
|
19196
|
+
is_preferred?: boolean;
|
|
19197
|
+
lead_time_days?: number | null;
|
|
19198
|
+
min_order_quantity?: number | null;
|
|
19199
|
+
notes?: string | null;
|
|
19200
|
+
previous_price_cents?: number | null;
|
|
19201
|
+
price_source?: string;
|
|
19202
|
+
price_updated_at?: string | null;
|
|
19203
|
+
product_id: string;
|
|
19204
|
+
purchase_price_cents?: number | null;
|
|
19205
|
+
supplier_article_number?: string | null;
|
|
19206
|
+
supplier_id: string;
|
|
18112
19207
|
updated_at?: string;
|
|
18113
|
-
weight?: string | null;
|
|
18114
19208
|
};
|
|
18115
19209
|
Update: {
|
|
18116
|
-
article_number?: string | null;
|
|
18117
|
-
barcode?: string | null;
|
|
18118
|
-
batch?: string;
|
|
18119
|
-
crates_per_layer?: number;
|
|
18120
19210
|
created_at?: string;
|
|
18121
|
-
custom_fields?: Json;
|
|
18122
|
-
floriday_packing_confirmed_at?: string | null;
|
|
18123
|
-
floriday_packing_source?: string | null;
|
|
18124
|
-
floriday_trade_item_id?: string | null;
|
|
18125
|
-
fust_type_id?: string | null;
|
|
18126
19211
|
id?: string;
|
|
18127
|
-
|
|
18128
|
-
|
|
19212
|
+
is_preferred?: boolean;
|
|
19213
|
+
lead_time_days?: number | null;
|
|
19214
|
+
min_order_quantity?: number | null;
|
|
19215
|
+
notes?: string | null;
|
|
19216
|
+
previous_price_cents?: number | null;
|
|
19217
|
+
price_source?: string;
|
|
19218
|
+
price_updated_at?: string | null;
|
|
19219
|
+
product_id?: string;
|
|
19220
|
+
purchase_price_cents?: number | null;
|
|
19221
|
+
supplier_article_number?: string | null;
|
|
19222
|
+
supplier_id?: string;
|
|
19223
|
+
updated_at?: string;
|
|
19224
|
+
};
|
|
19225
|
+
Relationships: [
|
|
19226
|
+
{
|
|
19227
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
19228
|
+
columns: ["product_id"];
|
|
19229
|
+
isOneToOne: false;
|
|
19230
|
+
referencedRelation: "logistics_product_dimensions";
|
|
19231
|
+
referencedColumns: ["product_id"];
|
|
19232
|
+
},
|
|
19233
|
+
{
|
|
19234
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
19235
|
+
columns: ["product_id"];
|
|
19236
|
+
isOneToOne: false;
|
|
19237
|
+
referencedRelation: "products";
|
|
19238
|
+
referencedColumns: ["id"];
|
|
19239
|
+
},
|
|
19240
|
+
{
|
|
19241
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
19242
|
+
columns: ["supplier_id"];
|
|
19243
|
+
isOneToOne: false;
|
|
19244
|
+
referencedRelation: "suppliers";
|
|
19245
|
+
referencedColumns: ["id"];
|
|
19246
|
+
}
|
|
19247
|
+
];
|
|
19248
|
+
};
|
|
19249
|
+
product_tray_stickers: {
|
|
19250
|
+
Row: {
|
|
19251
|
+
bestand_url: string;
|
|
19252
|
+
bestandsgrootte: number | null;
|
|
19253
|
+
bestandsnaam: string | null;
|
|
19254
|
+
bestandspad: string | null;
|
|
19255
|
+
created_at: string;
|
|
19256
|
+
product_id: string;
|
|
19257
|
+
updated_at: string;
|
|
19258
|
+
};
|
|
19259
|
+
Insert: {
|
|
19260
|
+
bestand_url: string;
|
|
19261
|
+
bestandsgrootte?: number | null;
|
|
19262
|
+
bestandsnaam?: string | null;
|
|
19263
|
+
bestandspad?: string | null;
|
|
19264
|
+
created_at?: string;
|
|
19265
|
+
product_id: string;
|
|
19266
|
+
updated_at?: string;
|
|
19267
|
+
};
|
|
19268
|
+
Update: {
|
|
19269
|
+
bestand_url?: string;
|
|
19270
|
+
bestandsgrootte?: number | null;
|
|
19271
|
+
bestandsnaam?: string | null;
|
|
19272
|
+
bestandspad?: string | null;
|
|
19273
|
+
created_at?: string;
|
|
19274
|
+
product_id?: string;
|
|
19275
|
+
updated_at?: string;
|
|
19276
|
+
};
|
|
19277
|
+
Relationships: [
|
|
19278
|
+
{
|
|
19279
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
19280
|
+
columns: ["product_id"];
|
|
19281
|
+
isOneToOne: true;
|
|
19282
|
+
referencedRelation: "logistics_product_dimensions";
|
|
19283
|
+
referencedColumns: ["product_id"];
|
|
19284
|
+
},
|
|
19285
|
+
{
|
|
19286
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
19287
|
+
columns: ["product_id"];
|
|
19288
|
+
isOneToOne: true;
|
|
19289
|
+
referencedRelation: "products";
|
|
19290
|
+
referencedColumns: ["id"];
|
|
19291
|
+
}
|
|
19292
|
+
];
|
|
19293
|
+
};
|
|
19294
|
+
products: {
|
|
19295
|
+
Row: {
|
|
19296
|
+
article_number: string | null;
|
|
19297
|
+
barcode: string | null;
|
|
19298
|
+
batch: string;
|
|
19299
|
+
crates_per_layer: number;
|
|
19300
|
+
created_at: string;
|
|
19301
|
+
custom_fields: Json;
|
|
19302
|
+
floriday_packing_confirmed_at: string | null;
|
|
19303
|
+
floriday_packing_source: string | null;
|
|
19304
|
+
floriday_trade_item_id: string | null;
|
|
19305
|
+
fust_type_id: string | null;
|
|
19306
|
+
id: string;
|
|
19307
|
+
image_url: string | null;
|
|
19308
|
+
incoming_quantity: number;
|
|
19309
|
+
is_layer: boolean;
|
|
19310
|
+
layers_per_cart: number;
|
|
19311
|
+
location: string;
|
|
19312
|
+
min_quantity: number;
|
|
19313
|
+
plant_height_cm: number | null;
|
|
19314
|
+
plants_per_crate: number;
|
|
19315
|
+
product: string;
|
|
19316
|
+
product_type: string;
|
|
19317
|
+
purchase_price: number | null;
|
|
19318
|
+
quantity: number;
|
|
19319
|
+
sale_price: number | null;
|
|
19320
|
+
trade_item_key: string | null;
|
|
19321
|
+
unit: string;
|
|
19322
|
+
updated_at: string;
|
|
19323
|
+
weight: string | null;
|
|
19324
|
+
};
|
|
19325
|
+
Insert: {
|
|
19326
|
+
article_number?: string | null;
|
|
19327
|
+
barcode?: string | null;
|
|
19328
|
+
batch: string;
|
|
19329
|
+
crates_per_layer?: number;
|
|
19330
|
+
created_at?: string;
|
|
19331
|
+
custom_fields?: Json;
|
|
19332
|
+
floriday_packing_confirmed_at?: string | null;
|
|
19333
|
+
floriday_packing_source?: string | null;
|
|
19334
|
+
floriday_trade_item_id?: string | null;
|
|
19335
|
+
fust_type_id?: string | null;
|
|
19336
|
+
id?: string;
|
|
19337
|
+
image_url?: string | null;
|
|
19338
|
+
incoming_quantity?: number;
|
|
19339
|
+
is_layer?: boolean;
|
|
19340
|
+
layers_per_cart?: number;
|
|
19341
|
+
location: string;
|
|
19342
|
+
min_quantity?: number;
|
|
19343
|
+
plant_height_cm?: number | null;
|
|
19344
|
+
plants_per_crate?: number;
|
|
19345
|
+
product: string;
|
|
19346
|
+
product_type?: string;
|
|
19347
|
+
purchase_price?: number | null;
|
|
19348
|
+
quantity?: number;
|
|
19349
|
+
sale_price?: number | null;
|
|
19350
|
+
trade_item_key?: string | null;
|
|
19351
|
+
unit?: string;
|
|
19352
|
+
updated_at?: string;
|
|
19353
|
+
weight?: string | null;
|
|
19354
|
+
};
|
|
19355
|
+
Update: {
|
|
19356
|
+
article_number?: string | null;
|
|
19357
|
+
barcode?: string | null;
|
|
19358
|
+
batch?: string;
|
|
19359
|
+
crates_per_layer?: number;
|
|
19360
|
+
created_at?: string;
|
|
19361
|
+
custom_fields?: Json;
|
|
19362
|
+
floriday_packing_confirmed_at?: string | null;
|
|
19363
|
+
floriday_packing_source?: string | null;
|
|
19364
|
+
floriday_trade_item_id?: string | null;
|
|
19365
|
+
fust_type_id?: string | null;
|
|
19366
|
+
id?: string;
|
|
19367
|
+
image_url?: string | null;
|
|
19368
|
+
incoming_quantity?: number;
|
|
18129
19369
|
is_layer?: boolean;
|
|
18130
19370
|
layers_per_cart?: number;
|
|
18131
19371
|
location?: string;
|
|
@@ -18533,9 +19773,13 @@ export type Database = {
|
|
|
18533
19773
|
purchase_order_items: {
|
|
18534
19774
|
Row: {
|
|
18535
19775
|
article_number: string | null;
|
|
19776
|
+
cancel_reason: string | null;
|
|
19777
|
+
cancelled_at: string | null;
|
|
18536
19778
|
created_at: string;
|
|
18537
19779
|
delivery_date: string | null;
|
|
18538
19780
|
id: string;
|
|
19781
|
+
incoming_booked: number;
|
|
19782
|
+
line_status: string;
|
|
18539
19783
|
name: string;
|
|
18540
19784
|
note: string | null;
|
|
18541
19785
|
pot_size: string | null;
|
|
@@ -18543,6 +19787,8 @@ export type Database = {
|
|
|
18543
19787
|
product_type: string;
|
|
18544
19788
|
purchase_order_id: string;
|
|
18545
19789
|
quantity: number;
|
|
19790
|
+
received_at: string | null;
|
|
19791
|
+
received_booked: number;
|
|
18546
19792
|
supplier_id: string | null;
|
|
18547
19793
|
supplier_product_id: string | null;
|
|
18548
19794
|
unit_price_cents: number;
|
|
@@ -18550,9 +19796,13 @@ export type Database = {
|
|
|
18550
19796
|
};
|
|
18551
19797
|
Insert: {
|
|
18552
19798
|
article_number?: string | null;
|
|
19799
|
+
cancel_reason?: string | null;
|
|
19800
|
+
cancelled_at?: string | null;
|
|
18553
19801
|
created_at?: string;
|
|
18554
19802
|
delivery_date?: string | null;
|
|
18555
19803
|
id?: string;
|
|
19804
|
+
incoming_booked?: number;
|
|
19805
|
+
line_status?: string;
|
|
18556
19806
|
name?: string;
|
|
18557
19807
|
note?: string | null;
|
|
18558
19808
|
pot_size?: string | null;
|
|
@@ -18560,6 +19810,8 @@ export type Database = {
|
|
|
18560
19810
|
product_type?: string;
|
|
18561
19811
|
purchase_order_id: string;
|
|
18562
19812
|
quantity?: number;
|
|
19813
|
+
received_at?: string | null;
|
|
19814
|
+
received_booked?: number;
|
|
18563
19815
|
supplier_id?: string | null;
|
|
18564
19816
|
supplier_product_id?: string | null;
|
|
18565
19817
|
unit_price_cents?: number;
|
|
@@ -18567,9 +19819,13 @@ export type Database = {
|
|
|
18567
19819
|
};
|
|
18568
19820
|
Update: {
|
|
18569
19821
|
article_number?: string | null;
|
|
19822
|
+
cancel_reason?: string | null;
|
|
19823
|
+
cancelled_at?: string | null;
|
|
18570
19824
|
created_at?: string;
|
|
18571
19825
|
delivery_date?: string | null;
|
|
18572
19826
|
id?: string;
|
|
19827
|
+
incoming_booked?: number;
|
|
19828
|
+
line_status?: string;
|
|
18573
19829
|
name?: string;
|
|
18574
19830
|
note?: string | null;
|
|
18575
19831
|
pot_size?: string | null;
|
|
@@ -18577,6 +19833,8 @@ export type Database = {
|
|
|
18577
19833
|
product_type?: string;
|
|
18578
19834
|
purchase_order_id?: string;
|
|
18579
19835
|
quantity?: number;
|
|
19836
|
+
received_at?: string | null;
|
|
19837
|
+
received_booked?: number;
|
|
18580
19838
|
supplier_id?: string | null;
|
|
18581
19839
|
supplier_product_id?: string | null;
|
|
18582
19840
|
unit_price_cents?: number;
|
|
@@ -18689,6 +19947,161 @@ export type Database = {
|
|
|
18689
19947
|
}
|
|
18690
19948
|
];
|
|
18691
19949
|
};
|
|
19950
|
+
purchase_request_events: {
|
|
19951
|
+
Row: {
|
|
19952
|
+
created_at: string;
|
|
19953
|
+
details: Json | null;
|
|
19954
|
+
event_type: string;
|
|
19955
|
+
id: string;
|
|
19956
|
+
request_id: string;
|
|
19957
|
+
};
|
|
19958
|
+
Insert: {
|
|
19959
|
+
created_at?: string;
|
|
19960
|
+
details?: Json | null;
|
|
19961
|
+
event_type: string;
|
|
19962
|
+
id?: string;
|
|
19963
|
+
request_id: string;
|
|
19964
|
+
};
|
|
19965
|
+
Update: {
|
|
19966
|
+
created_at?: string;
|
|
19967
|
+
details?: Json | null;
|
|
19968
|
+
event_type?: string;
|
|
19969
|
+
id?: string;
|
|
19970
|
+
request_id?: string;
|
|
19971
|
+
};
|
|
19972
|
+
Relationships: [
|
|
19973
|
+
{
|
|
19974
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
19975
|
+
columns: ["request_id"];
|
|
19976
|
+
isOneToOne: false;
|
|
19977
|
+
referencedRelation: "purchase_requests";
|
|
19978
|
+
referencedColumns: ["id"];
|
|
19979
|
+
}
|
|
19980
|
+
];
|
|
19981
|
+
};
|
|
19982
|
+
purchase_request_responses: {
|
|
19983
|
+
Row: {
|
|
19984
|
+
confirmed_date: string | null;
|
|
19985
|
+
confirmed_price_cents: number | null;
|
|
19986
|
+
confirmed_quantity: number;
|
|
19987
|
+
created_at: string;
|
|
19988
|
+
id: string;
|
|
19989
|
+
not_available: boolean;
|
|
19990
|
+
note: string | null;
|
|
19991
|
+
purchase_order_item_id: string;
|
|
19992
|
+
request_id: string;
|
|
19993
|
+
updated_at: string;
|
|
19994
|
+
};
|
|
19995
|
+
Insert: {
|
|
19996
|
+
confirmed_date?: string | null;
|
|
19997
|
+
confirmed_price_cents?: number | null;
|
|
19998
|
+
confirmed_quantity?: number;
|
|
19999
|
+
created_at?: string;
|
|
20000
|
+
id?: string;
|
|
20001
|
+
not_available?: boolean;
|
|
20002
|
+
note?: string | null;
|
|
20003
|
+
purchase_order_item_id: string;
|
|
20004
|
+
request_id: string;
|
|
20005
|
+
updated_at?: string;
|
|
20006
|
+
};
|
|
20007
|
+
Update: {
|
|
20008
|
+
confirmed_date?: string | null;
|
|
20009
|
+
confirmed_price_cents?: number | null;
|
|
20010
|
+
confirmed_quantity?: number;
|
|
20011
|
+
created_at?: string;
|
|
20012
|
+
id?: string;
|
|
20013
|
+
not_available?: boolean;
|
|
20014
|
+
note?: string | null;
|
|
20015
|
+
purchase_order_item_id?: string;
|
|
20016
|
+
request_id?: string;
|
|
20017
|
+
updated_at?: string;
|
|
20018
|
+
};
|
|
20019
|
+
Relationships: [
|
|
20020
|
+
{
|
|
20021
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
20022
|
+
columns: ["purchase_order_item_id"];
|
|
20023
|
+
isOneToOne: false;
|
|
20024
|
+
referencedRelation: "purchase_order_items";
|
|
20025
|
+
referencedColumns: ["id"];
|
|
20026
|
+
},
|
|
20027
|
+
{
|
|
20028
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
20029
|
+
columns: ["request_id"];
|
|
20030
|
+
isOneToOne: false;
|
|
20031
|
+
referencedRelation: "purchase_requests";
|
|
20032
|
+
referencedColumns: ["id"];
|
|
20033
|
+
}
|
|
20034
|
+
];
|
|
20035
|
+
};
|
|
20036
|
+
purchase_requests: {
|
|
20037
|
+
Row: {
|
|
20038
|
+
created_at: string;
|
|
20039
|
+
expires_at: string;
|
|
20040
|
+
first_viewed_at: string | null;
|
|
20041
|
+
id: string;
|
|
20042
|
+
processed_at: string | null;
|
|
20043
|
+
purchase_order_id: string;
|
|
20044
|
+
responded_at: string | null;
|
|
20045
|
+
sent_at: string;
|
|
20046
|
+
status: string;
|
|
20047
|
+
supplier_id: string | null;
|
|
20048
|
+
supplier_name: string;
|
|
20049
|
+
supplier_note: string | null;
|
|
20050
|
+
to_address: string | null;
|
|
20051
|
+
token_hash: string;
|
|
20052
|
+
updated_at: string;
|
|
20053
|
+
};
|
|
20054
|
+
Insert: {
|
|
20055
|
+
created_at?: string;
|
|
20056
|
+
expires_at?: string;
|
|
20057
|
+
first_viewed_at?: string | null;
|
|
20058
|
+
id?: string;
|
|
20059
|
+
processed_at?: string | null;
|
|
20060
|
+
purchase_order_id: string;
|
|
20061
|
+
responded_at?: string | null;
|
|
20062
|
+
sent_at?: string;
|
|
20063
|
+
status?: string;
|
|
20064
|
+
supplier_id?: string | null;
|
|
20065
|
+
supplier_name?: string;
|
|
20066
|
+
supplier_note?: string | null;
|
|
20067
|
+
to_address?: string | null;
|
|
20068
|
+
token_hash: string;
|
|
20069
|
+
updated_at?: string;
|
|
20070
|
+
};
|
|
20071
|
+
Update: {
|
|
20072
|
+
created_at?: string;
|
|
20073
|
+
expires_at?: string;
|
|
20074
|
+
first_viewed_at?: string | null;
|
|
20075
|
+
id?: string;
|
|
20076
|
+
processed_at?: string | null;
|
|
20077
|
+
purchase_order_id?: string;
|
|
20078
|
+
responded_at?: string | null;
|
|
20079
|
+
sent_at?: string;
|
|
20080
|
+
status?: string;
|
|
20081
|
+
supplier_id?: string | null;
|
|
20082
|
+
supplier_name?: string;
|
|
20083
|
+
supplier_note?: string | null;
|
|
20084
|
+
to_address?: string | null;
|
|
20085
|
+
token_hash?: string;
|
|
20086
|
+
updated_at?: string;
|
|
20087
|
+
};
|
|
20088
|
+
Relationships: [
|
|
20089
|
+
{
|
|
20090
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
20091
|
+
columns: ["purchase_order_id"];
|
|
20092
|
+
isOneToOne: false;
|
|
20093
|
+
referencedRelation: "purchase_orders";
|
|
20094
|
+
referencedColumns: ["id"];
|
|
20095
|
+
},
|
|
20096
|
+
{
|
|
20097
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
20098
|
+
columns: ["supplier_id"];
|
|
20099
|
+
isOneToOne: false;
|
|
20100
|
+
referencedRelation: "suppliers";
|
|
20101
|
+
referencedColumns: ["id"];
|
|
20102
|
+
}
|
|
20103
|
+
];
|
|
20104
|
+
};
|
|
18692
20105
|
reception_notifications: {
|
|
18693
20106
|
Row: {
|
|
18694
20107
|
booking_id: string | null;
|
|
@@ -19442,6 +20855,50 @@ export type Database = {
|
|
|
19442
20855
|
};
|
|
19443
20856
|
Relationships: [];
|
|
19444
20857
|
};
|
|
20858
|
+
standby_planning: {
|
|
20859
|
+
Row: {
|
|
20860
|
+
created_at: string;
|
|
20861
|
+
created_by: string | null;
|
|
20862
|
+
employee_id: string;
|
|
20863
|
+
end_date: string;
|
|
20864
|
+
id: string;
|
|
20865
|
+
notes: string | null;
|
|
20866
|
+
soort: string;
|
|
20867
|
+
start_date: string;
|
|
20868
|
+
updated_at: string;
|
|
20869
|
+
};
|
|
20870
|
+
Insert: {
|
|
20871
|
+
created_at?: string;
|
|
20872
|
+
created_by?: string | null;
|
|
20873
|
+
employee_id: string;
|
|
20874
|
+
end_date: string;
|
|
20875
|
+
id?: string;
|
|
20876
|
+
notes?: string | null;
|
|
20877
|
+
soort: string;
|
|
20878
|
+
start_date: string;
|
|
20879
|
+
updated_at?: string;
|
|
20880
|
+
};
|
|
20881
|
+
Update: {
|
|
20882
|
+
created_at?: string;
|
|
20883
|
+
created_by?: string | null;
|
|
20884
|
+
employee_id?: string;
|
|
20885
|
+
end_date?: string;
|
|
20886
|
+
id?: string;
|
|
20887
|
+
notes?: string | null;
|
|
20888
|
+
soort?: string;
|
|
20889
|
+
start_date?: string;
|
|
20890
|
+
updated_at?: string;
|
|
20891
|
+
};
|
|
20892
|
+
Relationships: [
|
|
20893
|
+
{
|
|
20894
|
+
foreignKeyName: "standby_planning_employee_id_fkey";
|
|
20895
|
+
columns: ["employee_id"];
|
|
20896
|
+
isOneToOne: false;
|
|
20897
|
+
referencedRelation: "profiles";
|
|
20898
|
+
referencedColumns: ["id"];
|
|
20899
|
+
}
|
|
20900
|
+
];
|
|
20901
|
+
};
|
|
19445
20902
|
stock_consumption_alerts: {
|
|
19446
20903
|
Row: {
|
|
19447
20904
|
alert_type: string;
|
|
@@ -19523,6 +20980,39 @@ export type Database = {
|
|
|
19523
20980
|
};
|
|
19524
20981
|
Relationships: [];
|
|
19525
20982
|
};
|
|
20983
|
+
stock_integrity_alerts: {
|
|
20984
|
+
Row: {
|
|
20985
|
+
acknowledged_at: string | null;
|
|
20986
|
+
acknowledged_by: string | null;
|
|
20987
|
+
created_at: string;
|
|
20988
|
+
id: string;
|
|
20989
|
+
item_count: number;
|
|
20990
|
+
items: Json;
|
|
20991
|
+
tx_id: number;
|
|
20992
|
+
updated_at: string;
|
|
20993
|
+
};
|
|
20994
|
+
Insert: {
|
|
20995
|
+
acknowledged_at?: string | null;
|
|
20996
|
+
acknowledged_by?: string | null;
|
|
20997
|
+
created_at?: string;
|
|
20998
|
+
id?: string;
|
|
20999
|
+
item_count?: number;
|
|
21000
|
+
items?: Json;
|
|
21001
|
+
tx_id: number;
|
|
21002
|
+
updated_at?: string;
|
|
21003
|
+
};
|
|
21004
|
+
Update: {
|
|
21005
|
+
acknowledged_at?: string | null;
|
|
21006
|
+
acknowledged_by?: string | null;
|
|
21007
|
+
created_at?: string;
|
|
21008
|
+
id?: string;
|
|
21009
|
+
item_count?: number;
|
|
21010
|
+
items?: Json;
|
|
21011
|
+
tx_id?: number;
|
|
21012
|
+
updated_at?: string;
|
|
21013
|
+
};
|
|
21014
|
+
Relationships: [];
|
|
21015
|
+
};
|
|
19526
21016
|
stock_mutation_log: {
|
|
19527
21017
|
Row: {
|
|
19528
21018
|
connection_id: string | null;
|
|
@@ -20011,6 +21501,59 @@ export type Database = {
|
|
|
20011
21501
|
}
|
|
20012
21502
|
];
|
|
20013
21503
|
};
|
|
21504
|
+
time_compensation_log: {
|
|
21505
|
+
Row: {
|
|
21506
|
+
actie: string;
|
|
21507
|
+
created_at: string;
|
|
21508
|
+
employee_id: string;
|
|
21509
|
+
entry_date: string;
|
|
21510
|
+
id: string;
|
|
21511
|
+
km: number;
|
|
21512
|
+
maaltijd: number;
|
|
21513
|
+
notities: string | null;
|
|
21514
|
+
performed_by: string | null;
|
|
21515
|
+
standby_avond: number;
|
|
21516
|
+
standby_weekend: number;
|
|
21517
|
+
tvt: number;
|
|
21518
|
+
};
|
|
21519
|
+
Insert: {
|
|
21520
|
+
actie: string;
|
|
21521
|
+
created_at?: string;
|
|
21522
|
+
employee_id: string;
|
|
21523
|
+
entry_date: string;
|
|
21524
|
+
id?: string;
|
|
21525
|
+
km?: number;
|
|
21526
|
+
maaltijd?: number;
|
|
21527
|
+
notities?: string | null;
|
|
21528
|
+
performed_by?: string | null;
|
|
21529
|
+
standby_avond?: number;
|
|
21530
|
+
standby_weekend?: number;
|
|
21531
|
+
tvt?: number;
|
|
21532
|
+
};
|
|
21533
|
+
Update: {
|
|
21534
|
+
actie?: string;
|
|
21535
|
+
created_at?: string;
|
|
21536
|
+
employee_id?: string;
|
|
21537
|
+
entry_date?: string;
|
|
21538
|
+
id?: string;
|
|
21539
|
+
km?: number;
|
|
21540
|
+
maaltijd?: number;
|
|
21541
|
+
notities?: string | null;
|
|
21542
|
+
performed_by?: string | null;
|
|
21543
|
+
standby_avond?: number;
|
|
21544
|
+
standby_weekend?: number;
|
|
21545
|
+
tvt?: number;
|
|
21546
|
+
};
|
|
21547
|
+
Relationships: [
|
|
21548
|
+
{
|
|
21549
|
+
foreignKeyName: "time_compensation_log_employee_id_fkey";
|
|
21550
|
+
columns: ["employee_id"];
|
|
21551
|
+
isOneToOne: false;
|
|
21552
|
+
referencedRelation: "profiles";
|
|
21553
|
+
referencedColumns: ["id"];
|
|
21554
|
+
}
|
|
21555
|
+
];
|
|
21556
|
+
};
|
|
20014
21557
|
time_entries: {
|
|
20015
21558
|
Row: {
|
|
20016
21559
|
created_at: string;
|
|
@@ -20111,6 +21654,9 @@ export type Database = {
|
|
|
20111
21654
|
};
|
|
20112
21655
|
time_logs: {
|
|
20113
21656
|
Row: {
|
|
21657
|
+
aangepast_door_monteur: boolean;
|
|
21658
|
+
aangepast_op: string | null;
|
|
21659
|
+
aanpassing_reden: string | null;
|
|
20114
21660
|
auto_stop_reason: string | null;
|
|
20115
21661
|
auto_stopped: boolean;
|
|
20116
21662
|
created_at: string;
|
|
@@ -20145,6 +21691,9 @@ export type Database = {
|
|
|
20145
21691
|
work_order_id: string | null;
|
|
20146
21692
|
};
|
|
20147
21693
|
Insert: {
|
|
21694
|
+
aangepast_door_monteur?: boolean;
|
|
21695
|
+
aangepast_op?: string | null;
|
|
21696
|
+
aanpassing_reden?: string | null;
|
|
20148
21697
|
auto_stop_reason?: string | null;
|
|
20149
21698
|
auto_stopped?: boolean;
|
|
20150
21699
|
created_at?: string;
|
|
@@ -20179,6 +21728,9 @@ export type Database = {
|
|
|
20179
21728
|
work_order_id?: string | null;
|
|
20180
21729
|
};
|
|
20181
21730
|
Update: {
|
|
21731
|
+
aangepast_door_monteur?: boolean;
|
|
21732
|
+
aangepast_op?: string | null;
|
|
21733
|
+
aanpassing_reden?: string | null;
|
|
20182
21734
|
auto_stop_reason?: string | null;
|
|
20183
21735
|
auto_stopped?: boolean;
|
|
20184
21736
|
created_at?: string;
|
|
@@ -20529,13 +22081,19 @@ export type Database = {
|
|
|
20529
22081
|
created_at: string;
|
|
20530
22082
|
disconnected_at: string | null;
|
|
20531
22083
|
environment: string;
|
|
22084
|
+
granted_scopes: string[] | null;
|
|
20532
22085
|
id: string;
|
|
20533
22086
|
initial_sync_completed_at: string | null;
|
|
22087
|
+
initial_sync_last_error: string | null;
|
|
22088
|
+
initial_sync_plan: Json | null;
|
|
20534
22089
|
initial_sync_started_at: string | null;
|
|
20535
22090
|
is_active: boolean;
|
|
20536
22091
|
label: string | null;
|
|
22092
|
+
missing_scopes: string[] | null;
|
|
20537
22093
|
office_code: string | null;
|
|
20538
22094
|
redirect_uri: string | null;
|
|
22095
|
+
scope_checked_at: string | null;
|
|
22096
|
+
scope_state: string | null;
|
|
20539
22097
|
superseded_at: string | null;
|
|
20540
22098
|
updated_at: string;
|
|
20541
22099
|
user_id: string;
|
|
@@ -20549,13 +22107,19 @@ export type Database = {
|
|
|
20549
22107
|
created_at?: string;
|
|
20550
22108
|
disconnected_at?: string | null;
|
|
20551
22109
|
environment: string;
|
|
22110
|
+
granted_scopes?: string[] | null;
|
|
20552
22111
|
id?: string;
|
|
20553
22112
|
initial_sync_completed_at?: string | null;
|
|
22113
|
+
initial_sync_last_error?: string | null;
|
|
22114
|
+
initial_sync_plan?: Json | null;
|
|
20554
22115
|
initial_sync_started_at?: string | null;
|
|
20555
22116
|
is_active?: boolean;
|
|
20556
22117
|
label?: string | null;
|
|
22118
|
+
missing_scopes?: string[] | null;
|
|
20557
22119
|
office_code?: string | null;
|
|
20558
22120
|
redirect_uri?: string | null;
|
|
22121
|
+
scope_checked_at?: string | null;
|
|
22122
|
+
scope_state?: string | null;
|
|
20559
22123
|
superseded_at?: string | null;
|
|
20560
22124
|
updated_at?: string;
|
|
20561
22125
|
user_id: string;
|
|
@@ -20569,13 +22133,19 @@ export type Database = {
|
|
|
20569
22133
|
created_at?: string;
|
|
20570
22134
|
disconnected_at?: string | null;
|
|
20571
22135
|
environment?: string;
|
|
22136
|
+
granted_scopes?: string[] | null;
|
|
20572
22137
|
id?: string;
|
|
20573
22138
|
initial_sync_completed_at?: string | null;
|
|
22139
|
+
initial_sync_last_error?: string | null;
|
|
22140
|
+
initial_sync_plan?: Json | null;
|
|
20574
22141
|
initial_sync_started_at?: string | null;
|
|
20575
22142
|
is_active?: boolean;
|
|
20576
22143
|
label?: string | null;
|
|
22144
|
+
missing_scopes?: string[] | null;
|
|
20577
22145
|
office_code?: string | null;
|
|
20578
22146
|
redirect_uri?: string | null;
|
|
22147
|
+
scope_checked_at?: string | null;
|
|
22148
|
+
scope_state?: string | null;
|
|
20579
22149
|
superseded_at?: string | null;
|
|
20580
22150
|
updated_at?: string;
|
|
20581
22151
|
user_id?: string;
|
|
@@ -20701,33 +22271,51 @@ export type Database = {
|
|
|
20701
22271
|
connection_id: string;
|
|
20702
22272
|
country: string | null;
|
|
20703
22273
|
data: Json;
|
|
22274
|
+
deactivated_at: string | null;
|
|
20704
22275
|
email: string | null;
|
|
20705
22276
|
fetched_at: string;
|
|
22277
|
+
is_active: boolean;
|
|
20706
22278
|
modified_at: string | null;
|
|
20707
22279
|
name: string | null;
|
|
22280
|
+
seen_at: string | null;
|
|
20708
22281
|
twinfield_code: string;
|
|
22282
|
+
twinfield_status: string | null;
|
|
22283
|
+
twinfield_uid: string | null;
|
|
22284
|
+
twinfield_version: number | null;
|
|
20709
22285
|
vat_number: string | null;
|
|
20710
22286
|
};
|
|
20711
22287
|
Insert: {
|
|
20712
22288
|
connection_id: string;
|
|
20713
22289
|
country?: string | null;
|
|
20714
22290
|
data?: Json;
|
|
22291
|
+
deactivated_at?: string | null;
|
|
20715
22292
|
email?: string | null;
|
|
20716
22293
|
fetched_at?: string;
|
|
22294
|
+
is_active?: boolean;
|
|
20717
22295
|
modified_at?: string | null;
|
|
20718
22296
|
name?: string | null;
|
|
22297
|
+
seen_at?: string | null;
|
|
20719
22298
|
twinfield_code: string;
|
|
22299
|
+
twinfield_status?: string | null;
|
|
22300
|
+
twinfield_uid?: string | null;
|
|
22301
|
+
twinfield_version?: number | null;
|
|
20720
22302
|
vat_number?: string | null;
|
|
20721
22303
|
};
|
|
20722
22304
|
Update: {
|
|
20723
22305
|
connection_id?: string;
|
|
20724
22306
|
country?: string | null;
|
|
20725
22307
|
data?: Json;
|
|
22308
|
+
deactivated_at?: string | null;
|
|
20726
22309
|
email?: string | null;
|
|
20727
22310
|
fetched_at?: string;
|
|
22311
|
+
is_active?: boolean;
|
|
20728
22312
|
modified_at?: string | null;
|
|
20729
22313
|
name?: string | null;
|
|
22314
|
+
seen_at?: string | null;
|
|
20730
22315
|
twinfield_code?: string;
|
|
22316
|
+
twinfield_status?: string | null;
|
|
22317
|
+
twinfield_uid?: string | null;
|
|
22318
|
+
twinfield_version?: number | null;
|
|
20731
22319
|
vat_number?: string | null;
|
|
20732
22320
|
};
|
|
20733
22321
|
Relationships: [
|
|
@@ -20740,6 +22328,59 @@ export type Database = {
|
|
|
20740
22328
|
}
|
|
20741
22329
|
];
|
|
20742
22330
|
};
|
|
22331
|
+
twinfield_dimension_types_cache: {
|
|
22332
|
+
Row: {
|
|
22333
|
+
connection_id: string | null;
|
|
22334
|
+
dim_type: string;
|
|
22335
|
+
fetched_at: string;
|
|
22336
|
+
label1: string | null;
|
|
22337
|
+
label2: string | null;
|
|
22338
|
+
label3: string | null;
|
|
22339
|
+
label4: string | null;
|
|
22340
|
+
label5: string | null;
|
|
22341
|
+
label6: string | null;
|
|
22342
|
+
mask: string | null;
|
|
22343
|
+
name: string | null;
|
|
22344
|
+
office_code: string;
|
|
22345
|
+
};
|
|
22346
|
+
Insert: {
|
|
22347
|
+
connection_id?: string | null;
|
|
22348
|
+
dim_type: string;
|
|
22349
|
+
fetched_at?: string;
|
|
22350
|
+
label1?: string | null;
|
|
22351
|
+
label2?: string | null;
|
|
22352
|
+
label3?: string | null;
|
|
22353
|
+
label4?: string | null;
|
|
22354
|
+
label5?: string | null;
|
|
22355
|
+
label6?: string | null;
|
|
22356
|
+
mask?: string | null;
|
|
22357
|
+
name?: string | null;
|
|
22358
|
+
office_code: string;
|
|
22359
|
+
};
|
|
22360
|
+
Update: {
|
|
22361
|
+
connection_id?: string | null;
|
|
22362
|
+
dim_type?: string;
|
|
22363
|
+
fetched_at?: string;
|
|
22364
|
+
label1?: string | null;
|
|
22365
|
+
label2?: string | null;
|
|
22366
|
+
label3?: string | null;
|
|
22367
|
+
label4?: string | null;
|
|
22368
|
+
label5?: string | null;
|
|
22369
|
+
label6?: string | null;
|
|
22370
|
+
mask?: string | null;
|
|
22371
|
+
name?: string | null;
|
|
22372
|
+
office_code?: string;
|
|
22373
|
+
};
|
|
22374
|
+
Relationships: [
|
|
22375
|
+
{
|
|
22376
|
+
foreignKeyName: "twinfield_dimension_types_cache_connection_id_fkey";
|
|
22377
|
+
columns: ["connection_id"];
|
|
22378
|
+
isOneToOne: false;
|
|
22379
|
+
referencedRelation: "twinfield_connections";
|
|
22380
|
+
referencedColumns: ["id"];
|
|
22381
|
+
}
|
|
22382
|
+
];
|
|
22383
|
+
};
|
|
20743
22384
|
twinfield_invoice_lines: {
|
|
20744
22385
|
Row: {
|
|
20745
22386
|
article_code: string | null;
|
|
@@ -20902,6 +22543,7 @@ export type Database = {
|
|
|
20902
22543
|
auto_invoice_enabled: boolean;
|
|
20903
22544
|
auto_invoice_start_date: string | null;
|
|
20904
22545
|
auto_invoice_trigger_statuses: string[];
|
|
22546
|
+
auto_send_mode: string | null;
|
|
20905
22547
|
created_at: string;
|
|
20906
22548
|
debtor_gl_account: string;
|
|
20907
22549
|
default_article_code: string | null;
|
|
@@ -20930,6 +22572,7 @@ export type Database = {
|
|
|
20930
22572
|
auto_invoice_enabled?: boolean;
|
|
20931
22573
|
auto_invoice_start_date?: string | null;
|
|
20932
22574
|
auto_invoice_trigger_statuses?: string[];
|
|
22575
|
+
auto_send_mode?: string | null;
|
|
20933
22576
|
created_at?: string;
|
|
20934
22577
|
debtor_gl_account?: string;
|
|
20935
22578
|
default_article_code?: string | null;
|
|
@@ -20958,6 +22601,7 @@ export type Database = {
|
|
|
20958
22601
|
auto_invoice_enabled?: boolean;
|
|
20959
22602
|
auto_invoice_start_date?: string | null;
|
|
20960
22603
|
auto_invoice_trigger_statuses?: string[];
|
|
22604
|
+
auto_send_mode?: string | null;
|
|
20961
22605
|
created_at?: string;
|
|
20962
22606
|
debtor_gl_account?: string;
|
|
20963
22607
|
default_article_code?: string | null;
|
|
@@ -21333,24 +22977,39 @@ export type Database = {
|
|
|
21333
22977
|
twinfield_request_metrics: {
|
|
21334
22978
|
Row: {
|
|
21335
22979
|
bucket_hour: string;
|
|
22980
|
+
clientid_limit: number | null;
|
|
22981
|
+
clientid_remaining: number | null;
|
|
21336
22982
|
connection_id: string;
|
|
21337
22983
|
error_count: number;
|
|
22984
|
+
rate_limit_limit: number | null;
|
|
22985
|
+
rate_limit_remaining: number | null;
|
|
22986
|
+
rate_limit_seen_at: string | null;
|
|
21338
22987
|
rate_limited_count: number;
|
|
21339
22988
|
request_count: number;
|
|
21340
22989
|
updated_at: string;
|
|
21341
22990
|
};
|
|
21342
22991
|
Insert: {
|
|
21343
22992
|
bucket_hour: string;
|
|
22993
|
+
clientid_limit?: number | null;
|
|
22994
|
+
clientid_remaining?: number | null;
|
|
21344
22995
|
connection_id: string;
|
|
21345
22996
|
error_count?: number;
|
|
22997
|
+
rate_limit_limit?: number | null;
|
|
22998
|
+
rate_limit_remaining?: number | null;
|
|
22999
|
+
rate_limit_seen_at?: string | null;
|
|
21346
23000
|
rate_limited_count?: number;
|
|
21347
23001
|
request_count?: number;
|
|
21348
23002
|
updated_at?: string;
|
|
21349
23003
|
};
|
|
21350
23004
|
Update: {
|
|
21351
23005
|
bucket_hour?: string;
|
|
23006
|
+
clientid_limit?: number | null;
|
|
23007
|
+
clientid_remaining?: number | null;
|
|
21352
23008
|
connection_id?: string;
|
|
21353
23009
|
error_count?: number;
|
|
23010
|
+
rate_limit_limit?: number | null;
|
|
23011
|
+
rate_limit_remaining?: number | null;
|
|
23012
|
+
rate_limit_seen_at?: string | null;
|
|
21354
23013
|
rate_limited_count?: number;
|
|
21355
23014
|
request_count?: number;
|
|
21356
23015
|
updated_at?: string;
|
|
@@ -21405,21 +23064,226 @@ export type Database = {
|
|
|
21405
23064
|
twinfield_settings: {
|
|
21406
23065
|
Row: {
|
|
21407
23066
|
active_environment: string;
|
|
23067
|
+
cron_registered_at: string | null;
|
|
23068
|
+
cron_registration_error: string | null;
|
|
23069
|
+
cron_schedules: Json;
|
|
23070
|
+
cron_timeouts: Json;
|
|
21408
23071
|
id: number;
|
|
23072
|
+
public_base_url: string | null;
|
|
21409
23073
|
updated_at: string;
|
|
21410
23074
|
};
|
|
21411
23075
|
Insert: {
|
|
21412
23076
|
active_environment?: string;
|
|
23077
|
+
cron_registered_at?: string | null;
|
|
23078
|
+
cron_registration_error?: string | null;
|
|
23079
|
+
cron_schedules?: Json;
|
|
23080
|
+
cron_timeouts?: Json;
|
|
21413
23081
|
id?: number;
|
|
23082
|
+
public_base_url?: string | null;
|
|
21414
23083
|
updated_at?: string;
|
|
21415
23084
|
};
|
|
21416
23085
|
Update: {
|
|
21417
23086
|
active_environment?: string;
|
|
23087
|
+
cron_registered_at?: string | null;
|
|
23088
|
+
cron_registration_error?: string | null;
|
|
23089
|
+
cron_schedules?: Json;
|
|
23090
|
+
cron_timeouts?: Json;
|
|
21418
23091
|
id?: number;
|
|
23092
|
+
public_base_url?: string | null;
|
|
21419
23093
|
updated_at?: string;
|
|
21420
23094
|
};
|
|
21421
23095
|
Relationships: [];
|
|
21422
23096
|
};
|
|
23097
|
+
twinfield_sync_runs: {
|
|
23098
|
+
Row: {
|
|
23099
|
+
calls: number;
|
|
23100
|
+
changed: number;
|
|
23101
|
+
connection_id: string | null;
|
|
23102
|
+
deactivated: number;
|
|
23103
|
+
details: Json;
|
|
23104
|
+
error: string | null;
|
|
23105
|
+
fetched: number;
|
|
23106
|
+
finished_at: string | null;
|
|
23107
|
+
id: string;
|
|
23108
|
+
item_errors: number;
|
|
23109
|
+
kind: string;
|
|
23110
|
+
rate_limited: number;
|
|
23111
|
+
started_at: string;
|
|
23112
|
+
status: string;
|
|
23113
|
+
};
|
|
23114
|
+
Insert: {
|
|
23115
|
+
calls?: number;
|
|
23116
|
+
changed?: number;
|
|
23117
|
+
connection_id?: string | null;
|
|
23118
|
+
deactivated?: number;
|
|
23119
|
+
details?: Json;
|
|
23120
|
+
error?: string | null;
|
|
23121
|
+
fetched?: number;
|
|
23122
|
+
finished_at?: string | null;
|
|
23123
|
+
id?: string;
|
|
23124
|
+
item_errors?: number;
|
|
23125
|
+
kind: string;
|
|
23126
|
+
rate_limited?: number;
|
|
23127
|
+
started_at?: string;
|
|
23128
|
+
status?: string;
|
|
23129
|
+
};
|
|
23130
|
+
Update: {
|
|
23131
|
+
calls?: number;
|
|
23132
|
+
changed?: number;
|
|
23133
|
+
connection_id?: string | null;
|
|
23134
|
+
deactivated?: number;
|
|
23135
|
+
details?: Json;
|
|
23136
|
+
error?: string | null;
|
|
23137
|
+
fetched?: number;
|
|
23138
|
+
finished_at?: string | null;
|
|
23139
|
+
id?: string;
|
|
23140
|
+
item_errors?: number;
|
|
23141
|
+
kind?: string;
|
|
23142
|
+
rate_limited?: number;
|
|
23143
|
+
started_at?: string;
|
|
23144
|
+
status?: string;
|
|
23145
|
+
};
|
|
23146
|
+
Relationships: [
|
|
23147
|
+
{
|
|
23148
|
+
foreignKeyName: "twinfield_sync_runs_connection_id_fkey";
|
|
23149
|
+
columns: ["connection_id"];
|
|
23150
|
+
isOneToOne: false;
|
|
23151
|
+
referencedRelation: "twinfield_connections";
|
|
23152
|
+
referencedColumns: ["id"];
|
|
23153
|
+
}
|
|
23154
|
+
];
|
|
23155
|
+
};
|
|
23156
|
+
twinfield_sync_settings: {
|
|
23157
|
+
Row: {
|
|
23158
|
+
batch_size: number;
|
|
23159
|
+
change_overlap_seconds: number;
|
|
23160
|
+
change_poll_interval_seconds: number;
|
|
23161
|
+
connection_id: string;
|
|
23162
|
+
created_at: string;
|
|
23163
|
+
currency: string | null;
|
|
23164
|
+
currency_at: string | null;
|
|
23165
|
+
currency_source: string | null;
|
|
23166
|
+
customer_gl_account: string | null;
|
|
23167
|
+
customer_gl_account_at: string | null;
|
|
23168
|
+
customer_gl_account_source: string | null;
|
|
23169
|
+
customers_written_by_module: boolean;
|
|
23170
|
+
default_country: string | null;
|
|
23171
|
+
default_country_at: string | null;
|
|
23172
|
+
default_country_source: string | null;
|
|
23173
|
+
default_language: string | null;
|
|
23174
|
+
default_language_at: string | null;
|
|
23175
|
+
default_language_source: string | null;
|
|
23176
|
+
nightly_full_scan_cron: string;
|
|
23177
|
+
payment_term_min_invoices: number;
|
|
23178
|
+
payment_term_min_share: number;
|
|
23179
|
+
rate_limit_floor: number;
|
|
23180
|
+
requires_manual_approval: boolean;
|
|
23181
|
+
run_budget_ms: number;
|
|
23182
|
+
sales_daybook: string | null;
|
|
23183
|
+
sales_daybook_confirmed_at: string | null;
|
|
23184
|
+
sales_daybook_confirmed_by: string | null;
|
|
23185
|
+
sales_gl_account: string | null;
|
|
23186
|
+
sales_gl_account_at: string | null;
|
|
23187
|
+
sales_gl_account_source: string | null;
|
|
23188
|
+
sales_invoice_type: string | null;
|
|
23189
|
+
sales_invoice_type_confirmed_at: string | null;
|
|
23190
|
+
sales_invoice_type_confirmed_by: string | null;
|
|
23191
|
+
sales_payment_term_at: string | null;
|
|
23192
|
+
sales_payment_term_days: number | null;
|
|
23193
|
+
sales_payment_term_source: string | null;
|
|
23194
|
+
suggestion_warnings: Json;
|
|
23195
|
+
updated_at: string;
|
|
23196
|
+
};
|
|
23197
|
+
Insert: {
|
|
23198
|
+
batch_size?: number;
|
|
23199
|
+
change_overlap_seconds?: number;
|
|
23200
|
+
change_poll_interval_seconds?: number;
|
|
23201
|
+
connection_id: string;
|
|
23202
|
+
created_at?: string;
|
|
23203
|
+
currency?: string | null;
|
|
23204
|
+
currency_at?: string | null;
|
|
23205
|
+
currency_source?: string | null;
|
|
23206
|
+
customer_gl_account?: string | null;
|
|
23207
|
+
customer_gl_account_at?: string | null;
|
|
23208
|
+
customer_gl_account_source?: string | null;
|
|
23209
|
+
customers_written_by_module?: boolean;
|
|
23210
|
+
default_country?: string | null;
|
|
23211
|
+
default_country_at?: string | null;
|
|
23212
|
+
default_country_source?: string | null;
|
|
23213
|
+
default_language?: string | null;
|
|
23214
|
+
default_language_at?: string | null;
|
|
23215
|
+
default_language_source?: string | null;
|
|
23216
|
+
nightly_full_scan_cron?: string;
|
|
23217
|
+
payment_term_min_invoices?: number;
|
|
23218
|
+
payment_term_min_share?: number;
|
|
23219
|
+
rate_limit_floor?: number;
|
|
23220
|
+
requires_manual_approval?: boolean;
|
|
23221
|
+
run_budget_ms?: number;
|
|
23222
|
+
sales_daybook?: string | null;
|
|
23223
|
+
sales_daybook_confirmed_at?: string | null;
|
|
23224
|
+
sales_daybook_confirmed_by?: string | null;
|
|
23225
|
+
sales_gl_account?: string | null;
|
|
23226
|
+
sales_gl_account_at?: string | null;
|
|
23227
|
+
sales_gl_account_source?: string | null;
|
|
23228
|
+
sales_invoice_type?: string | null;
|
|
23229
|
+
sales_invoice_type_confirmed_at?: string | null;
|
|
23230
|
+
sales_invoice_type_confirmed_by?: string | null;
|
|
23231
|
+
sales_payment_term_at?: string | null;
|
|
23232
|
+
sales_payment_term_days?: number | null;
|
|
23233
|
+
sales_payment_term_source?: string | null;
|
|
23234
|
+
suggestion_warnings?: Json;
|
|
23235
|
+
updated_at?: string;
|
|
23236
|
+
};
|
|
23237
|
+
Update: {
|
|
23238
|
+
batch_size?: number;
|
|
23239
|
+
change_overlap_seconds?: number;
|
|
23240
|
+
change_poll_interval_seconds?: number;
|
|
23241
|
+
connection_id?: string;
|
|
23242
|
+
created_at?: string;
|
|
23243
|
+
currency?: string | null;
|
|
23244
|
+
currency_at?: string | null;
|
|
23245
|
+
currency_source?: string | null;
|
|
23246
|
+
customer_gl_account?: string | null;
|
|
23247
|
+
customer_gl_account_at?: string | null;
|
|
23248
|
+
customer_gl_account_source?: string | null;
|
|
23249
|
+
customers_written_by_module?: boolean;
|
|
23250
|
+
default_country?: string | null;
|
|
23251
|
+
default_country_at?: string | null;
|
|
23252
|
+
default_country_source?: string | null;
|
|
23253
|
+
default_language?: string | null;
|
|
23254
|
+
default_language_at?: string | null;
|
|
23255
|
+
default_language_source?: string | null;
|
|
23256
|
+
nightly_full_scan_cron?: string;
|
|
23257
|
+
payment_term_min_invoices?: number;
|
|
23258
|
+
payment_term_min_share?: number;
|
|
23259
|
+
rate_limit_floor?: number;
|
|
23260
|
+
requires_manual_approval?: boolean;
|
|
23261
|
+
run_budget_ms?: number;
|
|
23262
|
+
sales_daybook?: string | null;
|
|
23263
|
+
sales_daybook_confirmed_at?: string | null;
|
|
23264
|
+
sales_daybook_confirmed_by?: string | null;
|
|
23265
|
+
sales_gl_account?: string | null;
|
|
23266
|
+
sales_gl_account_at?: string | null;
|
|
23267
|
+
sales_gl_account_source?: string | null;
|
|
23268
|
+
sales_invoice_type?: string | null;
|
|
23269
|
+
sales_invoice_type_confirmed_at?: string | null;
|
|
23270
|
+
sales_invoice_type_confirmed_by?: string | null;
|
|
23271
|
+
sales_payment_term_at?: string | null;
|
|
23272
|
+
sales_payment_term_days?: number | null;
|
|
23273
|
+
sales_payment_term_source?: string | null;
|
|
23274
|
+
suggestion_warnings?: Json;
|
|
23275
|
+
updated_at?: string;
|
|
23276
|
+
};
|
|
23277
|
+
Relationships: [
|
|
23278
|
+
{
|
|
23279
|
+
foreignKeyName: "twinfield_sync_settings_connection_id_fkey";
|
|
23280
|
+
columns: ["connection_id"];
|
|
23281
|
+
isOneToOne: true;
|
|
23282
|
+
referencedRelation: "twinfield_connections";
|
|
23283
|
+
referencedColumns: ["id"];
|
|
23284
|
+
}
|
|
23285
|
+
];
|
|
23286
|
+
};
|
|
21423
23287
|
twinfield_sync_state: {
|
|
21424
23288
|
Row: {
|
|
21425
23289
|
connection_id: string;
|
|
@@ -21455,6 +23319,51 @@ export type Database = {
|
|
|
21455
23319
|
}
|
|
21456
23320
|
];
|
|
21457
23321
|
};
|
|
23322
|
+
twinfield_vat_code_map: {
|
|
23323
|
+
Row: {
|
|
23324
|
+
confirmed_at: string | null;
|
|
23325
|
+
confirmed_by: string | null;
|
|
23326
|
+
fetched_at: string;
|
|
23327
|
+
id: string;
|
|
23328
|
+
is_default: boolean;
|
|
23329
|
+
name: string | null;
|
|
23330
|
+
office_code: string;
|
|
23331
|
+
percentage: number | null;
|
|
23332
|
+
source: string;
|
|
23333
|
+
vat_category: string | null;
|
|
23334
|
+
vat_code: string;
|
|
23335
|
+
vat_type: string | null;
|
|
23336
|
+
};
|
|
23337
|
+
Insert: {
|
|
23338
|
+
confirmed_at?: string | null;
|
|
23339
|
+
confirmed_by?: string | null;
|
|
23340
|
+
fetched_at?: string;
|
|
23341
|
+
id?: string;
|
|
23342
|
+
is_default?: boolean;
|
|
23343
|
+
name?: string | null;
|
|
23344
|
+
office_code: string;
|
|
23345
|
+
percentage?: number | null;
|
|
23346
|
+
source?: string;
|
|
23347
|
+
vat_category?: string | null;
|
|
23348
|
+
vat_code: string;
|
|
23349
|
+
vat_type?: string | null;
|
|
23350
|
+
};
|
|
23351
|
+
Update: {
|
|
23352
|
+
confirmed_at?: string | null;
|
|
23353
|
+
confirmed_by?: string | null;
|
|
23354
|
+
fetched_at?: string;
|
|
23355
|
+
id?: string;
|
|
23356
|
+
is_default?: boolean;
|
|
23357
|
+
name?: string | null;
|
|
23358
|
+
office_code?: string;
|
|
23359
|
+
percentage?: number | null;
|
|
23360
|
+
source?: string;
|
|
23361
|
+
vat_category?: string | null;
|
|
23362
|
+
vat_code?: string;
|
|
23363
|
+
vat_type?: string | null;
|
|
23364
|
+
};
|
|
23365
|
+
Relationships: [];
|
|
23366
|
+
};
|
|
21458
23367
|
uren_beschikbare_dagen: {
|
|
21459
23368
|
Row: {
|
|
21460
23369
|
bron: string;
|
|
@@ -21635,6 +23544,36 @@ export type Database = {
|
|
|
21635
23544
|
};
|
|
21636
23545
|
Relationships: [];
|
|
21637
23546
|
};
|
|
23547
|
+
uren_indirecte_uren: {
|
|
23548
|
+
Row: {
|
|
23549
|
+
created_at: string;
|
|
23550
|
+
datum: string;
|
|
23551
|
+
id: string;
|
|
23552
|
+
minuten: number;
|
|
23553
|
+
monteur_id: string;
|
|
23554
|
+
toelichting: string;
|
|
23555
|
+
updated_at: string;
|
|
23556
|
+
};
|
|
23557
|
+
Insert: {
|
|
23558
|
+
created_at?: string;
|
|
23559
|
+
datum: string;
|
|
23560
|
+
id?: string;
|
|
23561
|
+
minuten: number;
|
|
23562
|
+
monteur_id: string;
|
|
23563
|
+
toelichting: string;
|
|
23564
|
+
updated_at?: string;
|
|
23565
|
+
};
|
|
23566
|
+
Update: {
|
|
23567
|
+
created_at?: string;
|
|
23568
|
+
datum?: string;
|
|
23569
|
+
id?: string;
|
|
23570
|
+
minuten?: number;
|
|
23571
|
+
monteur_id?: string;
|
|
23572
|
+
toelichting?: string;
|
|
23573
|
+
updated_at?: string;
|
|
23574
|
+
};
|
|
23575
|
+
Relationships: [];
|
|
23576
|
+
};
|
|
21638
23577
|
uren_maandafsluitingen: {
|
|
21639
23578
|
Row: {
|
|
21640
23579
|
afgesloten_at: string | null;
|
|
@@ -21651,11 +23590,15 @@ export type Database = {
|
|
|
21651
23590
|
monteur_id: string;
|
|
21652
23591
|
netto_verschil_minuten: number;
|
|
21653
23592
|
normaal_uitbetaald_minuten: number;
|
|
23593
|
+
omgezet_vakantie_minuten: number;
|
|
23594
|
+
overdracht_vorige_minuten: number;
|
|
21654
23595
|
overuren_minuten: number;
|
|
21655
23596
|
plus_minuten: number;
|
|
23597
|
+
rest_overuren_minuten: number;
|
|
21656
23598
|
status: string;
|
|
21657
23599
|
totaal_uitbetaald_minuten: number;
|
|
21658
23600
|
updated_at: string;
|
|
23601
|
+
vakantie_uren_bijgeschreven: number;
|
|
21659
23602
|
};
|
|
21660
23603
|
Insert: {
|
|
21661
23604
|
afgesloten_at?: string | null;
|
|
@@ -21672,11 +23615,15 @@ export type Database = {
|
|
|
21672
23615
|
monteur_id: string;
|
|
21673
23616
|
netto_verschil_minuten?: number;
|
|
21674
23617
|
normaal_uitbetaald_minuten?: number;
|
|
23618
|
+
omgezet_vakantie_minuten?: number;
|
|
23619
|
+
overdracht_vorige_minuten?: number;
|
|
21675
23620
|
overuren_minuten?: number;
|
|
21676
23621
|
plus_minuten?: number;
|
|
23622
|
+
rest_overuren_minuten?: number;
|
|
21677
23623
|
status?: string;
|
|
21678
23624
|
totaal_uitbetaald_minuten?: number;
|
|
21679
23625
|
updated_at?: string;
|
|
23626
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21680
23627
|
};
|
|
21681
23628
|
Update: {
|
|
21682
23629
|
afgesloten_at?: string | null;
|
|
@@ -21693,11 +23640,15 @@ export type Database = {
|
|
|
21693
23640
|
monteur_id?: string;
|
|
21694
23641
|
netto_verschil_minuten?: number;
|
|
21695
23642
|
normaal_uitbetaald_minuten?: number;
|
|
23643
|
+
omgezet_vakantie_minuten?: number;
|
|
23644
|
+
overdracht_vorige_minuten?: number;
|
|
21696
23645
|
overuren_minuten?: number;
|
|
21697
23646
|
plus_minuten?: number;
|
|
23647
|
+
rest_overuren_minuten?: number;
|
|
21698
23648
|
status?: string;
|
|
21699
23649
|
totaal_uitbetaald_minuten?: number;
|
|
21700
23650
|
updated_at?: string;
|
|
23651
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21701
23652
|
};
|
|
21702
23653
|
Relationships: [];
|
|
21703
23654
|
};
|
|
@@ -21705,53 +23656,106 @@ export type Database = {
|
|
|
21705
23656
|
Row: {
|
|
21706
23657
|
beoordeeld_door: string | null;
|
|
21707
23658
|
beoordeeld_op: string | null;
|
|
23659
|
+
blokken: Json;
|
|
23660
|
+
cancellation_requested_at: string | null;
|
|
23661
|
+
cancellation_status: string | null;
|
|
21708
23662
|
created_at: string;
|
|
21709
23663
|
datum: string;
|
|
21710
23664
|
eind_tijd: string | null;
|
|
21711
23665
|
id: string;
|
|
21712
23666
|
ingediend_at: string;
|
|
21713
23667
|
monteur_id: string;
|
|
23668
|
+
ov178_uren: number;
|
|
23669
|
+
ov189_uren: number;
|
|
21714
23670
|
overuren: number;
|
|
21715
23671
|
reden_afkeur: string | null;
|
|
21716
23672
|
start_tijd: string | null;
|
|
21717
23673
|
status: string;
|
|
21718
|
-
toelichting: string;
|
|
23674
|
+
toelichting: string | null;
|
|
23675
|
+
tvt_uren: number;
|
|
21719
23676
|
updated_at: string;
|
|
23677
|
+
uren_na: number;
|
|
23678
|
+
uren_voor: number;
|
|
23679
|
+
verwerking: string;
|
|
21720
23680
|
};
|
|
21721
23681
|
Insert: {
|
|
21722
23682
|
beoordeeld_door?: string | null;
|
|
21723
23683
|
beoordeeld_op?: string | null;
|
|
23684
|
+
blokken?: Json;
|
|
23685
|
+
cancellation_requested_at?: string | null;
|
|
23686
|
+
cancellation_status?: string | null;
|
|
21724
23687
|
created_at?: string;
|
|
21725
23688
|
datum: string;
|
|
21726
23689
|
eind_tijd?: string | null;
|
|
21727
23690
|
id?: string;
|
|
21728
23691
|
ingediend_at?: string;
|
|
21729
23692
|
monteur_id: string;
|
|
23693
|
+
ov178_uren?: number;
|
|
23694
|
+
ov189_uren?: number;
|
|
21730
23695
|
overuren: number;
|
|
21731
23696
|
reden_afkeur?: string | null;
|
|
21732
23697
|
start_tijd?: string | null;
|
|
21733
23698
|
status?: string;
|
|
21734
|
-
toelichting
|
|
23699
|
+
toelichting?: string | null;
|
|
23700
|
+
tvt_uren?: number;
|
|
21735
23701
|
updated_at?: string;
|
|
23702
|
+
uren_na?: number;
|
|
23703
|
+
uren_voor?: number;
|
|
23704
|
+
verwerking?: string;
|
|
21736
23705
|
};
|
|
21737
23706
|
Update: {
|
|
21738
23707
|
beoordeeld_door?: string | null;
|
|
21739
23708
|
beoordeeld_op?: string | null;
|
|
23709
|
+
blokken?: Json;
|
|
23710
|
+
cancellation_requested_at?: string | null;
|
|
23711
|
+
cancellation_status?: string | null;
|
|
21740
23712
|
created_at?: string;
|
|
21741
23713
|
datum?: string;
|
|
21742
23714
|
eind_tijd?: string | null;
|
|
21743
23715
|
id?: string;
|
|
21744
23716
|
ingediend_at?: string;
|
|
21745
23717
|
monteur_id?: string;
|
|
23718
|
+
ov178_uren?: number;
|
|
23719
|
+
ov189_uren?: number;
|
|
21746
23720
|
overuren?: number;
|
|
21747
23721
|
reden_afkeur?: string | null;
|
|
21748
23722
|
start_tijd?: string | null;
|
|
21749
23723
|
status?: string;
|
|
21750
|
-
toelichting?: string;
|
|
23724
|
+
toelichting?: string | null;
|
|
23725
|
+
tvt_uren?: number;
|
|
21751
23726
|
updated_at?: string;
|
|
23727
|
+
uren_na?: number;
|
|
23728
|
+
uren_voor?: number;
|
|
23729
|
+
verwerking?: string;
|
|
21752
23730
|
};
|
|
21753
23731
|
Relationships: [];
|
|
21754
23732
|
};
|
|
23733
|
+
uren_pagina_toegang: {
|
|
23734
|
+
Row: {
|
|
23735
|
+
created_at: string;
|
|
23736
|
+
id: string;
|
|
23737
|
+
user_id: string;
|
|
23738
|
+
};
|
|
23739
|
+
Insert: {
|
|
23740
|
+
created_at?: string;
|
|
23741
|
+
id?: string;
|
|
23742
|
+
user_id: string;
|
|
23743
|
+
};
|
|
23744
|
+
Update: {
|
|
23745
|
+
created_at?: string;
|
|
23746
|
+
id?: string;
|
|
23747
|
+
user_id?: string;
|
|
23748
|
+
};
|
|
23749
|
+
Relationships: [
|
|
23750
|
+
{
|
|
23751
|
+
foreignKeyName: "uren_pagina_toegang_user_id_fkey";
|
|
23752
|
+
columns: ["user_id"];
|
|
23753
|
+
isOneToOne: true;
|
|
23754
|
+
referencedRelation: "profiles";
|
|
23755
|
+
referencedColumns: ["id"];
|
|
23756
|
+
}
|
|
23757
|
+
];
|
|
23758
|
+
};
|
|
21755
23759
|
uren_settings: {
|
|
21756
23760
|
Row: {
|
|
21757
23761
|
break_minutes: number;
|
|
@@ -22116,6 +24120,54 @@ export type Database = {
|
|
|
22116
24120
|
}
|
|
22117
24121
|
];
|
|
22118
24122
|
};
|
|
24123
|
+
vakantie_uitbetalingen: {
|
|
24124
|
+
Row: {
|
|
24125
|
+
created_at: string;
|
|
24126
|
+
created_by: string | null;
|
|
24127
|
+
days: number;
|
|
24128
|
+
id: string;
|
|
24129
|
+
note: string | null;
|
|
24130
|
+
updated_at: string;
|
|
24131
|
+
user_id: string;
|
|
24132
|
+
year: number;
|
|
24133
|
+
};
|
|
24134
|
+
Insert: {
|
|
24135
|
+
created_at?: string;
|
|
24136
|
+
created_by?: string | null;
|
|
24137
|
+
days: number;
|
|
24138
|
+
id?: string;
|
|
24139
|
+
note?: string | null;
|
|
24140
|
+
updated_at?: string;
|
|
24141
|
+
user_id: string;
|
|
24142
|
+
year?: number;
|
|
24143
|
+
};
|
|
24144
|
+
Update: {
|
|
24145
|
+
created_at?: string;
|
|
24146
|
+
created_by?: string | null;
|
|
24147
|
+
days?: number;
|
|
24148
|
+
id?: string;
|
|
24149
|
+
note?: string | null;
|
|
24150
|
+
updated_at?: string;
|
|
24151
|
+
user_id?: string;
|
|
24152
|
+
year?: number;
|
|
24153
|
+
};
|
|
24154
|
+
Relationships: [
|
|
24155
|
+
{
|
|
24156
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
24157
|
+
columns: ["created_by"];
|
|
24158
|
+
isOneToOne: false;
|
|
24159
|
+
referencedRelation: "profiles";
|
|
24160
|
+
referencedColumns: ["id"];
|
|
24161
|
+
},
|
|
24162
|
+
{
|
|
24163
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
24164
|
+
columns: ["user_id"];
|
|
24165
|
+
isOneToOne: false;
|
|
24166
|
+
referencedRelation: "profiles";
|
|
24167
|
+
referencedColumns: ["id"];
|
|
24168
|
+
}
|
|
24169
|
+
];
|
|
24170
|
+
};
|
|
22119
24171
|
van_inventories: {
|
|
22120
24172
|
Row: {
|
|
22121
24173
|
barcode: string | null;
|
|
@@ -23139,12 +25191,14 @@ export type Database = {
|
|
|
23139
25191
|
created_at: string;
|
|
23140
25192
|
default_quantity: number;
|
|
23141
25193
|
description: string | null;
|
|
23142
|
-
duration_minutes: number
|
|
25194
|
+
duration_minutes: number;
|
|
23143
25195
|
id: string;
|
|
25196
|
+
labor_minutes: number;
|
|
23144
25197
|
mandaat_type: string | null;
|
|
23145
25198
|
name: string;
|
|
23146
25199
|
price_mode: string;
|
|
23147
25200
|
sort_order: number;
|
|
25201
|
+
travel_minutes: number;
|
|
23148
25202
|
unit_price_cents: number;
|
|
23149
25203
|
updated_at: string;
|
|
23150
25204
|
};
|
|
@@ -23156,12 +25210,14 @@ export type Database = {
|
|
|
23156
25210
|
created_at?: string;
|
|
23157
25211
|
default_quantity?: number;
|
|
23158
25212
|
description?: string | null;
|
|
23159
|
-
duration_minutes?: number
|
|
25213
|
+
duration_minutes?: number;
|
|
23160
25214
|
id?: string;
|
|
25215
|
+
labor_minutes?: number;
|
|
23161
25216
|
mandaat_type?: string | null;
|
|
23162
25217
|
name: string;
|
|
23163
25218
|
price_mode?: string;
|
|
23164
25219
|
sort_order?: number;
|
|
25220
|
+
travel_minutes?: number;
|
|
23165
25221
|
unit_price_cents?: number;
|
|
23166
25222
|
updated_at?: string;
|
|
23167
25223
|
};
|
|
@@ -23173,12 +25229,14 @@ export type Database = {
|
|
|
23173
25229
|
created_at?: string;
|
|
23174
25230
|
default_quantity?: number;
|
|
23175
25231
|
description?: string | null;
|
|
23176
|
-
duration_minutes?: number
|
|
25232
|
+
duration_minutes?: number;
|
|
23177
25233
|
id?: string;
|
|
25234
|
+
labor_minutes?: number;
|
|
23178
25235
|
mandaat_type?: string | null;
|
|
23179
25236
|
name?: string;
|
|
23180
25237
|
price_mode?: string;
|
|
23181
25238
|
sort_order?: number;
|
|
25239
|
+
travel_minutes?: number;
|
|
23182
25240
|
unit_price_cents?: number;
|
|
23183
25241
|
updated_at?: string;
|
|
23184
25242
|
};
|
|
@@ -23431,14 +25489,93 @@ export type Database = {
|
|
|
23431
25489
|
}
|
|
23432
25490
|
];
|
|
23433
25491
|
};
|
|
25492
|
+
werkbon_voorstellen: {
|
|
25493
|
+
Row: {
|
|
25494
|
+
bron_werkbon_id: string;
|
|
25495
|
+
budget_mandate_cents: number;
|
|
25496
|
+
created_at: string;
|
|
25497
|
+
created_by: string;
|
|
25498
|
+
customer_id: string | null;
|
|
25499
|
+
id: string;
|
|
25500
|
+
payload: Json;
|
|
25501
|
+
reden: string | null;
|
|
25502
|
+
status: string;
|
|
25503
|
+
updated_at: string;
|
|
25504
|
+
verwerkt_door: string | null;
|
|
25505
|
+
verwerkt_op: string | null;
|
|
25506
|
+
werkbon_id: string | null;
|
|
25507
|
+
};
|
|
25508
|
+
Insert: {
|
|
25509
|
+
bron_werkbon_id: string;
|
|
25510
|
+
budget_mandate_cents?: number;
|
|
25511
|
+
created_at?: string;
|
|
25512
|
+
created_by?: string;
|
|
25513
|
+
customer_id?: string | null;
|
|
25514
|
+
id?: string;
|
|
25515
|
+
payload?: Json;
|
|
25516
|
+
reden?: string | null;
|
|
25517
|
+
status?: string;
|
|
25518
|
+
updated_at?: string;
|
|
25519
|
+
verwerkt_door?: string | null;
|
|
25520
|
+
verwerkt_op?: string | null;
|
|
25521
|
+
werkbon_id?: string | null;
|
|
25522
|
+
};
|
|
25523
|
+
Update: {
|
|
25524
|
+
bron_werkbon_id?: string;
|
|
25525
|
+
budget_mandate_cents?: number;
|
|
25526
|
+
created_at?: string;
|
|
25527
|
+
created_by?: string;
|
|
25528
|
+
customer_id?: string | null;
|
|
25529
|
+
id?: string;
|
|
25530
|
+
payload?: Json;
|
|
25531
|
+
reden?: string | null;
|
|
25532
|
+
status?: string;
|
|
25533
|
+
updated_at?: string;
|
|
25534
|
+
verwerkt_door?: string | null;
|
|
25535
|
+
verwerkt_op?: string | null;
|
|
25536
|
+
werkbon_id?: string | null;
|
|
25537
|
+
};
|
|
25538
|
+
Relationships: [
|
|
25539
|
+
{
|
|
25540
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
25541
|
+
columns: ["bron_werkbon_id"];
|
|
25542
|
+
isOneToOne: false;
|
|
25543
|
+
referencedRelation: "werkbonnen";
|
|
25544
|
+
referencedColumns: ["id"];
|
|
25545
|
+
},
|
|
25546
|
+
{
|
|
25547
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
25548
|
+
columns: ["bron_werkbon_id"];
|
|
25549
|
+
isOneToOne: false;
|
|
25550
|
+
referencedRelation: "wo_overview";
|
|
25551
|
+
referencedColumns: ["id"];
|
|
25552
|
+
},
|
|
25553
|
+
{
|
|
25554
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
25555
|
+
columns: ["werkbon_id"];
|
|
25556
|
+
isOneToOne: false;
|
|
25557
|
+
referencedRelation: "werkbonnen";
|
|
25558
|
+
referencedColumns: ["id"];
|
|
25559
|
+
},
|
|
25560
|
+
{
|
|
25561
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
25562
|
+
columns: ["werkbon_id"];
|
|
25563
|
+
isOneToOne: false;
|
|
25564
|
+
referencedRelation: "wo_overview";
|
|
25565
|
+
referencedColumns: ["id"];
|
|
25566
|
+
}
|
|
25567
|
+
];
|
|
25568
|
+
};
|
|
23434
25569
|
werkbonnen: {
|
|
23435
25570
|
Row: {
|
|
25571
|
+
afgerond_op: string | null;
|
|
23436
25572
|
assigned_user_id: string | null;
|
|
23437
25573
|
budget_mandate_cents: number;
|
|
23438
25574
|
complaint_description: string | null;
|
|
23439
25575
|
created_at: string;
|
|
23440
25576
|
created_by: string | null;
|
|
23441
25577
|
customer_id: string | null;
|
|
25578
|
+
customer_name: string | null;
|
|
23442
25579
|
deadline_date: string | null;
|
|
23443
25580
|
estimated_days: number | null;
|
|
23444
25581
|
estimated_duration_minutes: number | null;
|
|
@@ -23475,12 +25612,14 @@ export type Database = {
|
|
|
23475
25612
|
workday_hours: number | null;
|
|
23476
25613
|
};
|
|
23477
25614
|
Insert: {
|
|
25615
|
+
afgerond_op?: string | null;
|
|
23478
25616
|
assigned_user_id?: string | null;
|
|
23479
25617
|
budget_mandate_cents?: number;
|
|
23480
25618
|
complaint_description?: string | null;
|
|
23481
25619
|
created_at?: string;
|
|
23482
25620
|
created_by?: string | null;
|
|
23483
25621
|
customer_id?: string | null;
|
|
25622
|
+
customer_name?: string | null;
|
|
23484
25623
|
deadline_date?: string | null;
|
|
23485
25624
|
estimated_days?: number | null;
|
|
23486
25625
|
estimated_duration_minutes?: number | null;
|
|
@@ -23517,12 +25656,14 @@ export type Database = {
|
|
|
23517
25656
|
workday_hours?: number | null;
|
|
23518
25657
|
};
|
|
23519
25658
|
Update: {
|
|
25659
|
+
afgerond_op?: string | null;
|
|
23520
25660
|
assigned_user_id?: string | null;
|
|
23521
25661
|
budget_mandate_cents?: number;
|
|
23522
25662
|
complaint_description?: string | null;
|
|
23523
25663
|
created_at?: string;
|
|
23524
25664
|
created_by?: string | null;
|
|
23525
25665
|
customer_id?: string | null;
|
|
25666
|
+
customer_name?: string | null;
|
|
23526
25667
|
deadline_date?: string | null;
|
|
23527
25668
|
estimated_days?: number | null;
|
|
23528
25669
|
estimated_duration_minutes?: number | null;
|
|
@@ -23926,6 +26067,7 @@ export type Database = {
|
|
|
23926
26067
|
group_key: string | null;
|
|
23927
26068
|
is_active: boolean | null;
|
|
23928
26069
|
is_merged: boolean | null;
|
|
26070
|
+
last_changed_at: string | null;
|
|
23929
26071
|
logo_url: string | null;
|
|
23930
26072
|
match_key: string | null;
|
|
23931
26073
|
phone: string | null;
|
|
@@ -23939,6 +26081,7 @@ export type Database = {
|
|
|
23939
26081
|
};
|
|
23940
26082
|
external_customers_unified: {
|
|
23941
26083
|
Row: {
|
|
26084
|
+
changed_at: string | null;
|
|
23942
26085
|
city: string | null;
|
|
23943
26086
|
commercial_name: string | null;
|
|
23944
26087
|
company_name: string | null;
|
|
@@ -24349,6 +26492,7 @@ export type Database = {
|
|
|
24349
26492
|
};
|
|
24350
26493
|
v_external_customers_floriday: {
|
|
24351
26494
|
Row: {
|
|
26495
|
+
changed_at: string | null;
|
|
24352
26496
|
city: string | null;
|
|
24353
26497
|
commercial_name: string | null;
|
|
24354
26498
|
company_name: string | null;
|
|
@@ -24384,6 +26528,7 @@ export type Database = {
|
|
|
24384
26528
|
};
|
|
24385
26529
|
v_external_customers_local: {
|
|
24386
26530
|
Row: {
|
|
26531
|
+
changed_at: string | null;
|
|
24387
26532
|
city: string | null;
|
|
24388
26533
|
commercial_name: string | null;
|
|
24389
26534
|
company_name: string | null;
|
|
@@ -24408,6 +26553,7 @@ export type Database = {
|
|
|
24408
26553
|
website: string | null;
|
|
24409
26554
|
};
|
|
24410
26555
|
Insert: {
|
|
26556
|
+
changed_at?: never;
|
|
24411
26557
|
city?: string | null;
|
|
24412
26558
|
commercial_name?: string | null;
|
|
24413
26559
|
company_name?: string | null;
|
|
@@ -24432,6 +26578,7 @@ export type Database = {
|
|
|
24432
26578
|
website?: string | null;
|
|
24433
26579
|
};
|
|
24434
26580
|
Update: {
|
|
26581
|
+
changed_at?: never;
|
|
24435
26582
|
city?: string | null;
|
|
24436
26583
|
commercial_name?: string | null;
|
|
24437
26584
|
company_name?: string | null;
|
|
@@ -24459,6 +26606,7 @@ export type Database = {
|
|
|
24459
26606
|
};
|
|
24460
26607
|
v_external_customers_twinfield: {
|
|
24461
26608
|
Row: {
|
|
26609
|
+
changed_at: string | null;
|
|
24462
26610
|
city: string | null;
|
|
24463
26611
|
commercial_name: string | null;
|
|
24464
26612
|
company_name: string | null;
|
|
@@ -24709,6 +26857,16 @@ export type Database = {
|
|
|
24709
26857
|
};
|
|
24710
26858
|
Returns: undefined;
|
|
24711
26859
|
};
|
|
26860
|
+
_quote_release_work_order_intern: {
|
|
26861
|
+
Args: {
|
|
26862
|
+
_offerte_id: string;
|
|
26863
|
+
};
|
|
26864
|
+
Returns: Json;
|
|
26865
|
+
};
|
|
26866
|
+
_wo_is_planner: {
|
|
26867
|
+
Args: never;
|
|
26868
|
+
Returns: boolean;
|
|
26869
|
+
};
|
|
24712
26870
|
afh_city_code: {
|
|
24713
26871
|
Args: {
|
|
24714
26872
|
_city: string;
|
|
@@ -24837,6 +26995,8 @@ export type Database = {
|
|
|
24837
26995
|
desired_availability: boolean;
|
|
24838
26996
|
desired_quantity: number;
|
|
24839
26997
|
erp_available: number;
|
|
26998
|
+
packing_size: number;
|
|
26999
|
+
reason: string;
|
|
24840
27000
|
stock_mode: string;
|
|
24841
27001
|
}[];
|
|
24842
27002
|
};
|
|
@@ -24954,6 +27114,7 @@ export type Database = {
|
|
|
24954
27114
|
};
|
|
24955
27115
|
Returns: {
|
|
24956
27116
|
attempts: number;
|
|
27117
|
+
availability_sent_at: string | null;
|
|
24957
27118
|
connection_id: string;
|
|
24958
27119
|
created_at: string;
|
|
24959
27120
|
dead_lettered_at: string | null;
|
|
@@ -24966,7 +27127,9 @@ export type Database = {
|
|
|
24966
27127
|
next_attempt_at: string;
|
|
24967
27128
|
number_of_pieces: number;
|
|
24968
27129
|
product_id: string | null;
|
|
27130
|
+
quantity_sent_at: string | null;
|
|
24969
27131
|
sent_at: string | null;
|
|
27132
|
+
skip_reason: string | null;
|
|
24970
27133
|
status: string;
|
|
24971
27134
|
stock_mode: string | null;
|
|
24972
27135
|
superseded_by: string | null;
|
|
@@ -25216,6 +27379,14 @@ export type Database = {
|
|
|
25216
27379
|
Args: never;
|
|
25217
27380
|
Returns: undefined;
|
|
25218
27381
|
};
|
|
27382
|
+
cleanup_standby_planning: {
|
|
27383
|
+
Args: never;
|
|
27384
|
+
Returns: number;
|
|
27385
|
+
};
|
|
27386
|
+
cleanup_time_compensation_log: {
|
|
27387
|
+
Args: never;
|
|
27388
|
+
Returns: number;
|
|
27389
|
+
};
|
|
25219
27390
|
cleanup_voorraad_module_history: {
|
|
25220
27391
|
Args: never;
|
|
25221
27392
|
Returns: undefined;
|
|
@@ -25230,6 +27401,18 @@ export type Database = {
|
|
|
25230
27401
|
};
|
|
25231
27402
|
Returns: undefined;
|
|
25232
27403
|
};
|
|
27404
|
+
complete_floriday_stock_queue_outcome: {
|
|
27405
|
+
Args: {
|
|
27406
|
+
p_attempt_id?: string;
|
|
27407
|
+
p_availability_sent?: boolean;
|
|
27408
|
+
p_error?: string;
|
|
27409
|
+
p_id: string;
|
|
27410
|
+
p_outcome: string;
|
|
27411
|
+
p_permanent?: boolean;
|
|
27412
|
+
p_quantity_sent?: boolean;
|
|
27413
|
+
};
|
|
27414
|
+
Returns: undefined;
|
|
27415
|
+
};
|
|
25233
27416
|
consume_bom_for_production: {
|
|
25234
27417
|
Args: {
|
|
25235
27418
|
p_connection_id: string;
|
|
@@ -25481,6 +27664,12 @@ export type Database = {
|
|
|
25481
27664
|
};
|
|
25482
27665
|
Returns: undefined;
|
|
25483
27666
|
};
|
|
27667
|
+
ensure_trade_item_stock_row_key: {
|
|
27668
|
+
Args: {
|
|
27669
|
+
p_key: string;
|
|
27670
|
+
};
|
|
27671
|
+
Returns: string;
|
|
27672
|
+
};
|
|
25484
27673
|
ensure_user_tenant: {
|
|
25485
27674
|
Args: never;
|
|
25486
27675
|
Returns: string;
|
|
@@ -25821,6 +28010,22 @@ export type Database = {
|
|
|
25821
28010
|
};
|
|
25822
28011
|
Returns: number;
|
|
25823
28012
|
};
|
|
28013
|
+
get_product_stock: {
|
|
28014
|
+
Args: {
|
|
28015
|
+
p_product_id: string;
|
|
28016
|
+
};
|
|
28017
|
+
Returns: {
|
|
28018
|
+
connection_id: string;
|
|
28019
|
+
incoming_stock: number;
|
|
28020
|
+
minimum_stock: number;
|
|
28021
|
+
notes: string;
|
|
28022
|
+
physical_stock: number;
|
|
28023
|
+
product_id: string;
|
|
28024
|
+
reserved_stock: number;
|
|
28025
|
+
trade_item_key: string;
|
|
28026
|
+
updated_at: string;
|
|
28027
|
+
}[];
|
|
28028
|
+
};
|
|
25824
28029
|
get_room_busy_windows: {
|
|
25825
28030
|
Args: {
|
|
25826
28031
|
p_from: string;
|
|
@@ -26118,6 +28323,12 @@ export type Database = {
|
|
|
26118
28323
|
Args: never;
|
|
26119
28324
|
Returns: boolean;
|
|
26120
28325
|
};
|
|
28326
|
+
import_floriday_delivery_locations: {
|
|
28327
|
+
Args: {
|
|
28328
|
+
_org_id: string;
|
|
28329
|
+
};
|
|
28330
|
+
Returns: number;
|
|
28331
|
+
};
|
|
26121
28332
|
inkoop_apply_price_list: {
|
|
26122
28333
|
Args: {
|
|
26123
28334
|
_price_list_id: string;
|
|
@@ -26125,13 +28336,66 @@ export type Database = {
|
|
|
26125
28336
|
};
|
|
26126
28337
|
Returns: Json;
|
|
26127
28338
|
};
|
|
28339
|
+
inkoop_cancel_line: {
|
|
28340
|
+
Args: {
|
|
28341
|
+
_item_id: string;
|
|
28342
|
+
_reason: string;
|
|
28343
|
+
};
|
|
28344
|
+
Returns: string;
|
|
28345
|
+
};
|
|
28346
|
+
inkoop_get_supplier_request: {
|
|
28347
|
+
Args: {
|
|
28348
|
+
_token: string;
|
|
28349
|
+
};
|
|
28350
|
+
Returns: Json;
|
|
28351
|
+
};
|
|
28352
|
+
inkoop_hash_token: {
|
|
28353
|
+
Args: {
|
|
28354
|
+
_token: string;
|
|
28355
|
+
};
|
|
28356
|
+
Returns: string;
|
|
28357
|
+
};
|
|
28358
|
+
inkoop_html_escape: {
|
|
28359
|
+
Args: {
|
|
28360
|
+
_t: string;
|
|
28361
|
+
};
|
|
28362
|
+
Returns: string;
|
|
28363
|
+
};
|
|
28364
|
+
inkoop_list_artikelen: {
|
|
28365
|
+
Args: never;
|
|
28366
|
+
Returns: {
|
|
28367
|
+
article_number: string;
|
|
28368
|
+
barcode: string;
|
|
28369
|
+
id: string;
|
|
28370
|
+
incoming_quantity: number;
|
|
28371
|
+
is_layer: boolean;
|
|
28372
|
+
location: string;
|
|
28373
|
+
min_quantity: number;
|
|
28374
|
+
preferred_supplier_name: string;
|
|
28375
|
+
product: string;
|
|
28376
|
+
product_type: string;
|
|
28377
|
+
purchase_price: number;
|
|
28378
|
+
quantity: number;
|
|
28379
|
+
sale_price: number;
|
|
28380
|
+
supplier_count: number;
|
|
28381
|
+
unit: string;
|
|
28382
|
+
}[];
|
|
28383
|
+
};
|
|
26128
28384
|
inkoop_next_order_number: {
|
|
26129
28385
|
Args: never;
|
|
26130
28386
|
Returns: string;
|
|
26131
28387
|
};
|
|
28388
|
+
inkoop_process_request: {
|
|
28389
|
+
Args: {
|
|
28390
|
+
_request_id: string;
|
|
28391
|
+
};
|
|
28392
|
+
Returns: undefined;
|
|
28393
|
+
};
|
|
26132
28394
|
inkoop_send_order: {
|
|
26133
28395
|
Args: {
|
|
28396
|
+
_base_url?: string;
|
|
26134
28397
|
_order_id: string;
|
|
28398
|
+
_resend?: boolean;
|
|
26135
28399
|
};
|
|
26136
28400
|
Returns: {
|
|
26137
28401
|
outbox_id: string;
|
|
@@ -26139,6 +28403,33 @@ export type Database = {
|
|
|
26139
28403
|
to_address: string;
|
|
26140
28404
|
}[];
|
|
26141
28405
|
};
|
|
28406
|
+
inkoop_set_preferred_supplier: {
|
|
28407
|
+
Args: {
|
|
28408
|
+
_product_id: string;
|
|
28409
|
+
_supplier_id: string;
|
|
28410
|
+
};
|
|
28411
|
+
Returns: undefined;
|
|
28412
|
+
};
|
|
28413
|
+
inkoop_stock_key: {
|
|
28414
|
+
Args: {
|
|
28415
|
+
p_product_id: string;
|
|
28416
|
+
};
|
|
28417
|
+
Returns: string;
|
|
28418
|
+
};
|
|
28419
|
+
inkoop_submit_supplier_response: {
|
|
28420
|
+
Args: {
|
|
28421
|
+
_lines: Json;
|
|
28422
|
+
_note?: string;
|
|
28423
|
+
_token: string;
|
|
28424
|
+
};
|
|
28425
|
+
Returns: Json;
|
|
28426
|
+
};
|
|
28427
|
+
inkoop_sync_item_stock: {
|
|
28428
|
+
Args: {
|
|
28429
|
+
p_item_id: string;
|
|
28430
|
+
};
|
|
28431
|
+
Returns: undefined;
|
|
28432
|
+
};
|
|
26142
28433
|
instructie_get: {
|
|
26143
28434
|
Args: {
|
|
26144
28435
|
_sleutel: string;
|
|
@@ -26158,6 +28449,16 @@ export type Database = {
|
|
|
26158
28449
|
};
|
|
26159
28450
|
Returns: number;
|
|
26160
28451
|
};
|
|
28452
|
+
invoice_auto_concept_for_work_order: {
|
|
28453
|
+
Args: {
|
|
28454
|
+
_wo_id: string;
|
|
28455
|
+
};
|
|
28456
|
+
Returns: undefined;
|
|
28457
|
+
};
|
|
28458
|
+
invoice_branding_snapshot: {
|
|
28459
|
+
Args: never;
|
|
28460
|
+
Returns: Json;
|
|
28461
|
+
};
|
|
26161
28462
|
invoice_create_from_source: {
|
|
26162
28463
|
Args: {
|
|
26163
28464
|
_payload?: Json;
|
|
@@ -26192,11 +28493,22 @@ export type Database = {
|
|
|
26192
28493
|
};
|
|
26193
28494
|
Returns: Json;
|
|
26194
28495
|
};
|
|
26195
|
-
|
|
28496
|
+
invoice_mark_sent: {
|
|
26196
28497
|
Args: {
|
|
26197
|
-
|
|
28498
|
+
_invoice_id: string;
|
|
28499
|
+
_to: string;
|
|
26198
28500
|
};
|
|
26199
|
-
Returns:
|
|
28501
|
+
Returns: undefined;
|
|
28502
|
+
};
|
|
28503
|
+
invoice_peek_next_number: {
|
|
28504
|
+
Args: never;
|
|
28505
|
+
Returns: string;
|
|
28506
|
+
};
|
|
28507
|
+
invoice_ready_work_orders: {
|
|
28508
|
+
Args: {
|
|
28509
|
+
_limit?: number;
|
|
28510
|
+
};
|
|
28511
|
+
Returns: Json;
|
|
26200
28512
|
};
|
|
26201
28513
|
invoice_recalc_totals: {
|
|
26202
28514
|
Args: {
|
|
@@ -26204,6 +28516,18 @@ export type Database = {
|
|
|
26204
28516
|
};
|
|
26205
28517
|
Returns: Json;
|
|
26206
28518
|
};
|
|
28519
|
+
invoice_save_branding_settings: {
|
|
28520
|
+
Args: {
|
|
28521
|
+
_payload: Json;
|
|
28522
|
+
};
|
|
28523
|
+
Returns: Json;
|
|
28524
|
+
};
|
|
28525
|
+
invoice_set_email_purpose: {
|
|
28526
|
+
Args: {
|
|
28527
|
+
_purpose: string;
|
|
28528
|
+
};
|
|
28529
|
+
Returns: string;
|
|
28530
|
+
};
|
|
26207
28531
|
invoice_source_lines: {
|
|
26208
28532
|
Args: {
|
|
26209
28533
|
_source_id: string;
|
|
@@ -26211,6 +28535,19 @@ export type Database = {
|
|
|
26211
28535
|
};
|
|
26212
28536
|
Returns: Json;
|
|
26213
28537
|
};
|
|
28538
|
+
invoice_update_full: {
|
|
28539
|
+
Args: {
|
|
28540
|
+
_invoice_id: string;
|
|
28541
|
+
_payload: Json;
|
|
28542
|
+
};
|
|
28543
|
+
Returns: Json;
|
|
28544
|
+
};
|
|
28545
|
+
invoice_work_order_locked: {
|
|
28546
|
+
Args: {
|
|
28547
|
+
_werkbon_id: string;
|
|
28548
|
+
};
|
|
28549
|
+
Returns: Json;
|
|
28550
|
+
};
|
|
26214
28551
|
is_authenticated: {
|
|
26215
28552
|
Args: never;
|
|
26216
28553
|
Returns: boolean;
|
|
@@ -26259,6 +28596,27 @@ export type Database = {
|
|
|
26259
28596
|
};
|
|
26260
28597
|
Returns: boolean;
|
|
26261
28598
|
};
|
|
28599
|
+
layout_print_document: {
|
|
28600
|
+
Args: {
|
|
28601
|
+
_documentnaam: string;
|
|
28602
|
+
_documenttype: string;
|
|
28603
|
+
_herkomst?: string;
|
|
28604
|
+
_idempotentie_sleutel?: string;
|
|
28605
|
+
_is_herprint?: boolean;
|
|
28606
|
+
_kopieen?: number;
|
|
28607
|
+
_layout_id?: string;
|
|
28608
|
+
_payload?: Json;
|
|
28609
|
+
_pdf_base64?: string;
|
|
28610
|
+
_pdf_url?: string;
|
|
28611
|
+
_print_plek_id?: string;
|
|
28612
|
+
_werkplek?: string;
|
|
28613
|
+
};
|
|
28614
|
+
Returns: {
|
|
28615
|
+
bestaand: boolean;
|
|
28616
|
+
job_id: string;
|
|
28617
|
+
printer_id: string;
|
|
28618
|
+
}[];
|
|
28619
|
+
};
|
|
26262
28620
|
list_medewerkers: {
|
|
26263
28621
|
Args: never;
|
|
26264
28622
|
Returns: {
|
|
@@ -26405,6 +28763,14 @@ export type Database = {
|
|
|
26405
28763
|
};
|
|
26406
28764
|
Returns: Json;
|
|
26407
28765
|
};
|
|
28766
|
+
logistics_base_url_check_status: {
|
|
28767
|
+
Args: never;
|
|
28768
|
+
Returns: Json;
|
|
28769
|
+
};
|
|
28770
|
+
logistics_base_url_checks_resolve: {
|
|
28771
|
+
Args: never;
|
|
28772
|
+
Returns: number;
|
|
28773
|
+
};
|
|
26408
28774
|
logistics_block_reason_code: {
|
|
26409
28775
|
Args: {
|
|
26410
28776
|
p_details?: Json;
|
|
@@ -26536,6 +28902,12 @@ export type Database = {
|
|
|
26536
28902
|
};
|
|
26537
28903
|
Returns: number;
|
|
26538
28904
|
};
|
|
28905
|
+
logistics_cart_barcode_opschonen: {
|
|
28906
|
+
Args: {
|
|
28907
|
+
p_portie?: number;
|
|
28908
|
+
};
|
|
28909
|
+
Returns: Json;
|
|
28910
|
+
};
|
|
26539
28911
|
logistics_cart_barcode_value: {
|
|
26540
28912
|
Args: {
|
|
26541
28913
|
_cart_id: string;
|
|
@@ -26548,6 +28920,10 @@ export type Database = {
|
|
|
26548
28920
|
};
|
|
26549
28921
|
Returns: string;
|
|
26550
28922
|
};
|
|
28923
|
+
logistics_cart_coverage_check: {
|
|
28924
|
+
Args: never;
|
|
28925
|
+
Returns: Json;
|
|
28926
|
+
};
|
|
26551
28927
|
logistics_cart_handled: {
|
|
26552
28928
|
Args: {
|
|
26553
28929
|
p_cart_index: number;
|
|
@@ -26951,6 +29327,13 @@ export type Database = {
|
|
|
26951
29327
|
};
|
|
26952
29328
|
Returns: Json;
|
|
26953
29329
|
};
|
|
29330
|
+
logistics_control_scan_print_own: {
|
|
29331
|
+
Args: {
|
|
29332
|
+
p_is_herprint?: boolean;
|
|
29333
|
+
p_scan_id: string;
|
|
29334
|
+
};
|
|
29335
|
+
Returns: Json;
|
|
29336
|
+
};
|
|
26954
29337
|
logistics_control_scan_retry: {
|
|
26955
29338
|
Args: {
|
|
26956
29339
|
_id: string;
|
|
@@ -27286,6 +29669,13 @@ export type Database = {
|
|
|
27286
29669
|
Args: never;
|
|
27287
29670
|
Returns: number;
|
|
27288
29671
|
};
|
|
29672
|
+
logistics_is_engine_response: {
|
|
29673
|
+
Args: {
|
|
29674
|
+
p_content: string;
|
|
29675
|
+
p_status: number;
|
|
29676
|
+
};
|
|
29677
|
+
Returns: boolean;
|
|
29678
|
+
};
|
|
27289
29679
|
logistics_is_pick_workday: {
|
|
27290
29680
|
Args: {
|
|
27291
29681
|
p_date: string;
|
|
@@ -27366,6 +29756,12 @@ export type Database = {
|
|
|
27366
29756
|
Args: never;
|
|
27367
29757
|
Returns: string;
|
|
27368
29758
|
};
|
|
29759
|
+
logistics_order_backlog_info: {
|
|
29760
|
+
Args: {
|
|
29761
|
+
p_order_id: string;
|
|
29762
|
+
};
|
|
29763
|
+
Returns: Json;
|
|
29764
|
+
};
|
|
27369
29765
|
logistics_order_cart_approval: {
|
|
27370
29766
|
Args: {
|
|
27371
29767
|
_order_ref: string;
|
|
@@ -27456,6 +29852,12 @@ export type Database = {
|
|
|
27456
29852
|
};
|
|
27457
29853
|
Returns: boolean;
|
|
27458
29854
|
};
|
|
29855
|
+
logistics_order_is_backlog: {
|
|
29856
|
+
Args: {
|
|
29857
|
+
p_order_id: string;
|
|
29858
|
+
};
|
|
29859
|
+
Returns: boolean;
|
|
29860
|
+
};
|
|
27459
29861
|
logistics_order_is_topick: {
|
|
27460
29862
|
Args: {
|
|
27461
29863
|
p_order_id: string;
|
|
@@ -27597,6 +29999,10 @@ export type Database = {
|
|
|
27597
29999
|
shifted_count: number;
|
|
27598
30000
|
}[];
|
|
27599
30001
|
};
|
|
30002
|
+
logistics_pick_backlog_max_days: {
|
|
30003
|
+
Args: never;
|
|
30004
|
+
Returns: number;
|
|
30005
|
+
};
|
|
27600
30006
|
logistics_pick_barcode_enabled: {
|
|
27601
30007
|
Args: never;
|
|
27602
30008
|
Returns: boolean;
|
|
@@ -27818,12 +30224,42 @@ export type Database = {
|
|
|
27818
30224
|
Args: never;
|
|
27819
30225
|
Returns: number;
|
|
27820
30226
|
};
|
|
30227
|
+
logistics_planner_cart_snapshot: {
|
|
30228
|
+
Args: {
|
|
30229
|
+
p_buffer_id: string;
|
|
30230
|
+
p_order_id: string;
|
|
30231
|
+
};
|
|
30232
|
+
Returns: Json;
|
|
30233
|
+
};
|
|
30234
|
+
logistics_planner_diff_mode: {
|
|
30235
|
+
Args: never;
|
|
30236
|
+
Returns: string;
|
|
30237
|
+
};
|
|
30238
|
+
logistics_planner_diff_prune: {
|
|
30239
|
+
Args: never;
|
|
30240
|
+
Returns: number;
|
|
30241
|
+
};
|
|
27821
30242
|
logistics_prepare_pick_documents: {
|
|
27822
30243
|
Args: {
|
|
27823
30244
|
p_limit?: number;
|
|
27824
30245
|
};
|
|
27825
30246
|
Returns: Json;
|
|
27826
30247
|
};
|
|
30248
|
+
logistics_print_via_layout: {
|
|
30249
|
+
Args: {
|
|
30250
|
+
_documentnaam: string;
|
|
30251
|
+
_documenttype: string;
|
|
30252
|
+
_herkomst: string;
|
|
30253
|
+
_idempotentie_sleutel: string;
|
|
30254
|
+
_is_herprint: boolean;
|
|
30255
|
+
_layout_id: string;
|
|
30256
|
+
_payload: Json;
|
|
30257
|
+
_pdf_base64: string;
|
|
30258
|
+
_pdf_url: string;
|
|
30259
|
+
_print_plek_id: string;
|
|
30260
|
+
};
|
|
30261
|
+
Returns: Json;
|
|
30262
|
+
};
|
|
27827
30263
|
logistics_prune_buffer_member_queue: {
|
|
27828
30264
|
Args: never;
|
|
27829
30265
|
Returns: number;
|
|
@@ -27908,6 +30344,13 @@ export type Database = {
|
|
|
27908
30344
|
};
|
|
27909
30345
|
Returns: Json;
|
|
27910
30346
|
};
|
|
30347
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
30348
|
+
Args: {
|
|
30349
|
+
p_order_id: string;
|
|
30350
|
+
p_reason: string;
|
|
30351
|
+
};
|
|
30352
|
+
Returns: Json;
|
|
30353
|
+
};
|
|
27911
30354
|
logistics_replan_order_journey: {
|
|
27912
30355
|
Args: {
|
|
27913
30356
|
p_order_ref: string;
|
|
@@ -27964,6 +30407,12 @@ export type Database = {
|
|
|
27964
30407
|
};
|
|
27965
30408
|
Returns: Json;
|
|
27966
30409
|
};
|
|
30410
|
+
logistics_reserved_key: {
|
|
30411
|
+
Args: {
|
|
30412
|
+
p_key: string;
|
|
30413
|
+
};
|
|
30414
|
+
Returns: string;
|
|
30415
|
+
};
|
|
27967
30416
|
logistics_reserved_stock_nightly: {
|
|
27968
30417
|
Args: never;
|
|
27969
30418
|
Returns: undefined;
|
|
@@ -28103,6 +30552,13 @@ export type Database = {
|
|
|
28103
30552
|
};
|
|
28104
30553
|
Returns: string;
|
|
28105
30554
|
};
|
|
30555
|
+
logistics_shipping_note_status: {
|
|
30556
|
+
Args: {
|
|
30557
|
+
p_cart_id?: string;
|
|
30558
|
+
p_slip_job_id?: string;
|
|
30559
|
+
};
|
|
30560
|
+
Returns: Json;
|
|
30561
|
+
};
|
|
28106
30562
|
logistics_shipping_notes_wake_all: {
|
|
28107
30563
|
Args: never;
|
|
28108
30564
|
Returns: Json;
|
|
@@ -28165,6 +30621,12 @@ export type Database = {
|
|
|
28165
30621
|
};
|
|
28166
30622
|
Returns: undefined;
|
|
28167
30623
|
};
|
|
30624
|
+
logistics_slip_note_retry: {
|
|
30625
|
+
Args: {
|
|
30626
|
+
_id: string;
|
|
30627
|
+
};
|
|
30628
|
+
Returns: Json;
|
|
30629
|
+
};
|
|
28168
30630
|
logistics_sticker_follows_slip: {
|
|
28169
30631
|
Args: never;
|
|
28170
30632
|
Returns: boolean;
|
|
@@ -28190,12 +30652,27 @@ export type Database = {
|
|
|
28190
30652
|
Args: never;
|
|
28191
30653
|
Returns: Json;
|
|
28192
30654
|
};
|
|
30655
|
+
logistics_sync_pick_queue_backlog: {
|
|
30656
|
+
Args: never;
|
|
30657
|
+
Returns: Json;
|
|
30658
|
+
};
|
|
30659
|
+
logistics_sync_pick_queue_core: {
|
|
30660
|
+
Args: never;
|
|
30661
|
+
Returns: Json;
|
|
30662
|
+
};
|
|
28193
30663
|
logistics_sync_task_carriers: {
|
|
28194
30664
|
Args: {
|
|
28195
30665
|
p_order_ref?: string;
|
|
28196
30666
|
};
|
|
28197
30667
|
Returns: number;
|
|
28198
30668
|
};
|
|
30669
|
+
logistics_task_open_counts: {
|
|
30670
|
+
Args: never;
|
|
30671
|
+
Returns: {
|
|
30672
|
+
open_count: number;
|
|
30673
|
+
owner_module: string;
|
|
30674
|
+
}[];
|
|
30675
|
+
};
|
|
28199
30676
|
logistics_task_owner: {
|
|
28200
30677
|
Args: {
|
|
28201
30678
|
p_task_type: string;
|
|
@@ -28223,6 +30700,18 @@ export type Database = {
|
|
|
28223
30700
|
Args: never;
|
|
28224
30701
|
Returns: Json;
|
|
28225
30702
|
};
|
|
30703
|
+
logistics_tick_base_url_check: {
|
|
30704
|
+
Args: never;
|
|
30705
|
+
Returns: Json;
|
|
30706
|
+
};
|
|
30707
|
+
logistics_tick_calls_resolve: {
|
|
30708
|
+
Args: never;
|
|
30709
|
+
Returns: number;
|
|
30710
|
+
};
|
|
30711
|
+
logistics_tick_health: {
|
|
30712
|
+
Args: never;
|
|
30713
|
+
Returns: Json;
|
|
30714
|
+
};
|
|
28226
30715
|
logistics_tick_ping: {
|
|
28227
30716
|
Args: never;
|
|
28228
30717
|
Returns: string;
|
|
@@ -28894,6 +31383,10 @@ export type Database = {
|
|
|
28894
31383
|
};
|
|
28895
31384
|
Returns: string;
|
|
28896
31385
|
};
|
|
31386
|
+
pick_is_reference_admin: {
|
|
31387
|
+
Args: never;
|
|
31388
|
+
Returns: boolean;
|
|
31389
|
+
};
|
|
28897
31390
|
pick_mark_printed: {
|
|
28898
31391
|
Args: {
|
|
28899
31392
|
_queue_item_id: string;
|
|
@@ -29317,6 +31810,12 @@ export type Database = {
|
|
|
29317
31810
|
};
|
|
29318
31811
|
Returns: Json;
|
|
29319
31812
|
};
|
|
31813
|
+
pick_verify_rows: {
|
|
31814
|
+
Args: {
|
|
31815
|
+
_rows: Json;
|
|
31816
|
+
};
|
|
31817
|
+
Returns: Json;
|
|
31818
|
+
};
|
|
29320
31819
|
pickstation_get_orders_raw: {
|
|
29321
31820
|
Args: never;
|
|
29322
31821
|
Returns: Json;
|
|
@@ -29357,6 +31856,31 @@ export type Database = {
|
|
|
29357
31856
|
};
|
|
29358
31857
|
Returns: undefined;
|
|
29359
31858
|
};
|
|
31859
|
+
plan_standby_batch: {
|
|
31860
|
+
Args: {
|
|
31861
|
+
_items: Json;
|
|
31862
|
+
_notes: string;
|
|
31863
|
+
_remove_ids?: string[];
|
|
31864
|
+
_soort: string;
|
|
31865
|
+
};
|
|
31866
|
+
Returns: {
|
|
31867
|
+
created_at: string;
|
|
31868
|
+
created_by: string | null;
|
|
31869
|
+
employee_id: string;
|
|
31870
|
+
end_date: string;
|
|
31871
|
+
id: string;
|
|
31872
|
+
notes: string | null;
|
|
31873
|
+
soort: string;
|
|
31874
|
+
start_date: string;
|
|
31875
|
+
updated_at: string;
|
|
31876
|
+
}[];
|
|
31877
|
+
SetofOptions: {
|
|
31878
|
+
from: "*";
|
|
31879
|
+
to: "standby_planning";
|
|
31880
|
+
isOneToOne: false;
|
|
31881
|
+
isSetofReturn: true;
|
|
31882
|
+
};
|
|
31883
|
+
};
|
|
29360
31884
|
planning_apply_schedule_updates: {
|
|
29361
31885
|
Args: {
|
|
29362
31886
|
_updates: Json;
|
|
@@ -29379,6 +31903,12 @@ export type Database = {
|
|
|
29379
31903
|
};
|
|
29380
31904
|
Returns: undefined;
|
|
29381
31905
|
};
|
|
31906
|
+
planning_html_escape: {
|
|
31907
|
+
Args: {
|
|
31908
|
+
t: string;
|
|
31909
|
+
};
|
|
31910
|
+
Returns: string;
|
|
31911
|
+
};
|
|
29382
31912
|
planning_list: {
|
|
29383
31913
|
Args: {
|
|
29384
31914
|
_from: string;
|
|
@@ -29433,6 +31963,12 @@ export type Database = {
|
|
|
29433
31963
|
id: string;
|
|
29434
31964
|
}[];
|
|
29435
31965
|
};
|
|
31966
|
+
planning_urlencode: {
|
|
31967
|
+
Args: {
|
|
31968
|
+
t: string;
|
|
31969
|
+
};
|
|
31970
|
+
Returns: string;
|
|
31971
|
+
};
|
|
29436
31972
|
print_preview_toestaan: {
|
|
29437
31973
|
Args: {
|
|
29438
31974
|
_max?: number;
|
|
@@ -29451,6 +31987,35 @@ export type Database = {
|
|
|
29451
31987
|
};
|
|
29452
31988
|
Returns: undefined;
|
|
29453
31989
|
};
|
|
31990
|
+
printer_gebruik: {
|
|
31991
|
+
Args: {
|
|
31992
|
+
_printer: string;
|
|
31993
|
+
};
|
|
31994
|
+
Returns: Json;
|
|
31995
|
+
};
|
|
31996
|
+
printer_routering: {
|
|
31997
|
+
Args: {
|
|
31998
|
+
_documenttype: string;
|
|
31999
|
+
_layout_id?: string;
|
|
32000
|
+
_papierformaat?: string;
|
|
32001
|
+
_print_plek_id?: string;
|
|
32002
|
+
_werkplek?: string;
|
|
32003
|
+
};
|
|
32004
|
+
Returns: Json;
|
|
32005
|
+
};
|
|
32006
|
+
printplek_printer: {
|
|
32007
|
+
Args: {
|
|
32008
|
+
_documenttype: string;
|
|
32009
|
+
_plek: string;
|
|
32010
|
+
};
|
|
32011
|
+
Returns: string;
|
|
32012
|
+
};
|
|
32013
|
+
printplek_verwijder_impact: {
|
|
32014
|
+
Args: {
|
|
32015
|
+
_id: string;
|
|
32016
|
+
};
|
|
32017
|
+
Returns: Json;
|
|
32018
|
+
};
|
|
29454
32019
|
process_logistics_event: {
|
|
29455
32020
|
Args: {
|
|
29456
32021
|
p_event_id: string;
|
|
@@ -29465,6 +32030,16 @@ export type Database = {
|
|
|
29465
32030
|
};
|
|
29466
32031
|
Returns: Json;
|
|
29467
32032
|
};
|
|
32033
|
+
promote_floriday_customer: {
|
|
32034
|
+
Args: {
|
|
32035
|
+
_org_id: string;
|
|
32036
|
+
};
|
|
32037
|
+
Returns: string;
|
|
32038
|
+
};
|
|
32039
|
+
promote_floriday_order_customers: {
|
|
32040
|
+
Args: never;
|
|
32041
|
+
Returns: number;
|
|
32042
|
+
};
|
|
29468
32043
|
promote_trade_item_key: {
|
|
29469
32044
|
Args: {
|
|
29470
32045
|
p_new: string;
|
|
@@ -29484,6 +32059,25 @@ export type Database = {
|
|
|
29484
32059
|
};
|
|
29485
32060
|
Returns: boolean;
|
|
29486
32061
|
};
|
|
32062
|
+
quote_assign_number: {
|
|
32063
|
+
Args: {
|
|
32064
|
+
_offerte_id: string;
|
|
32065
|
+
};
|
|
32066
|
+
Returns: string;
|
|
32067
|
+
};
|
|
32068
|
+
quote_create_follow_up_now: {
|
|
32069
|
+
Args: {
|
|
32070
|
+
_offerte_id: string;
|
|
32071
|
+
_payload?: Json;
|
|
32072
|
+
};
|
|
32073
|
+
Returns: Json;
|
|
32074
|
+
};
|
|
32075
|
+
quote_create_from_scratch: {
|
|
32076
|
+
Args: {
|
|
32077
|
+
_payload: Json;
|
|
32078
|
+
};
|
|
32079
|
+
Returns: Json;
|
|
32080
|
+
};
|
|
29487
32081
|
quote_create_from_source: {
|
|
29488
32082
|
Args: {
|
|
29489
32083
|
_payload?: Json;
|
|
@@ -29499,6 +32093,13 @@ export type Database = {
|
|
|
29499
32093
|
};
|
|
29500
32094
|
Returns: boolean;
|
|
29501
32095
|
};
|
|
32096
|
+
quote_fill_from_form: {
|
|
32097
|
+
Args: {
|
|
32098
|
+
_offerte_id: string;
|
|
32099
|
+
_payload: Json;
|
|
32100
|
+
};
|
|
32101
|
+
Returns: Json;
|
|
32102
|
+
};
|
|
29502
32103
|
quote_get_billable_lines: {
|
|
29503
32104
|
Args: {
|
|
29504
32105
|
_quotation_id: string;
|
|
@@ -29528,12 +32129,50 @@ export type Database = {
|
|
|
29528
32129
|
};
|
|
29529
32130
|
Returns: Json;
|
|
29530
32131
|
};
|
|
32132
|
+
quote_public_accept: {
|
|
32133
|
+
Args: {
|
|
32134
|
+
_akkoord: boolean;
|
|
32135
|
+
_email: string;
|
|
32136
|
+
_ip_address?: string;
|
|
32137
|
+
_naam: string;
|
|
32138
|
+
_token: string;
|
|
32139
|
+
_user_agent?: string;
|
|
32140
|
+
};
|
|
32141
|
+
Returns: Json;
|
|
32142
|
+
};
|
|
32143
|
+
quote_public_get: {
|
|
32144
|
+
Args: {
|
|
32145
|
+
_token: string;
|
|
32146
|
+
};
|
|
32147
|
+
Returns: Json;
|
|
32148
|
+
};
|
|
32149
|
+
quote_public_sign: {
|
|
32150
|
+
Args: {
|
|
32151
|
+
_handtekening: string;
|
|
32152
|
+
_naam: string;
|
|
32153
|
+
_token: string;
|
|
32154
|
+
};
|
|
32155
|
+
Returns: Json;
|
|
32156
|
+
};
|
|
29531
32157
|
quote_queue_follow_up: {
|
|
29532
32158
|
Args: {
|
|
29533
32159
|
_offerte_id: string;
|
|
29534
32160
|
};
|
|
29535
32161
|
Returns: string;
|
|
29536
32162
|
};
|
|
32163
|
+
quote_release_work_order: {
|
|
32164
|
+
Args: {
|
|
32165
|
+
_offerte_id: string;
|
|
32166
|
+
};
|
|
32167
|
+
Returns: Json;
|
|
32168
|
+
};
|
|
32169
|
+
quote_sync_work_order: {
|
|
32170
|
+
Args: {
|
|
32171
|
+
_monteur_instructies?: string;
|
|
32172
|
+
_offerte_id: string;
|
|
32173
|
+
};
|
|
32174
|
+
Returns: boolean;
|
|
32175
|
+
};
|
|
29537
32176
|
recompute_all_reserved_stock: {
|
|
29538
32177
|
Args: never;
|
|
29539
32178
|
Returns: undefined;
|
|
@@ -29580,6 +32219,10 @@ export type Database = {
|
|
|
29580
32219
|
};
|
|
29581
32220
|
Returns: number;
|
|
29582
32221
|
};
|
|
32222
|
+
refresh_floriday_delivery_locations: {
|
|
32223
|
+
Args: never;
|
|
32224
|
+
Returns: number;
|
|
32225
|
+
};
|
|
29583
32226
|
release_debtor_lock: {
|
|
29584
32227
|
Args: {
|
|
29585
32228
|
_group_key: string;
|
|
@@ -29754,6 +32397,13 @@ export type Database = {
|
|
|
29754
32397
|
};
|
|
29755
32398
|
Returns: Json;
|
|
29756
32399
|
};
|
|
32400
|
+
scan_controleer_pincode: {
|
|
32401
|
+
Args: {
|
|
32402
|
+
p_pin: string;
|
|
32403
|
+
p_scanner_id: string;
|
|
32404
|
+
};
|
|
32405
|
+
Returns: boolean;
|
|
32406
|
+
};
|
|
29757
32407
|
scan_dashboard_stats: {
|
|
29758
32408
|
Args: {
|
|
29759
32409
|
p_dagen?: number;
|
|
@@ -29773,6 +32423,12 @@ export type Database = {
|
|
|
29773
32423
|
};
|
|
29774
32424
|
Returns: Json;
|
|
29775
32425
|
};
|
|
32426
|
+
scan_heeft_pincode: {
|
|
32427
|
+
Args: {
|
|
32428
|
+
p_scanner_id: string;
|
|
32429
|
+
};
|
|
32430
|
+
Returns: boolean;
|
|
32431
|
+
};
|
|
29776
32432
|
scan_kar_compleet: {
|
|
29777
32433
|
Args: {
|
|
29778
32434
|
p_allow_reprint?: boolean;
|
|
@@ -29790,6 +32446,7 @@ export type Database = {
|
|
|
29790
32446
|
Args: {
|
|
29791
32447
|
p_code: string;
|
|
29792
32448
|
p_latency_ms?: number;
|
|
32449
|
+
p_medewerker?: string;
|
|
29793
32450
|
p_message?: string;
|
|
29794
32451
|
p_result: string;
|
|
29795
32452
|
p_scanner_key?: string;
|
|
@@ -29862,6 +32519,22 @@ export type Database = {
|
|
|
29862
32519
|
};
|
|
29863
32520
|
Returns: undefined;
|
|
29864
32521
|
};
|
|
32522
|
+
scan_scanner_info: {
|
|
32523
|
+
Args: {
|
|
32524
|
+
p_slug: string;
|
|
32525
|
+
};
|
|
32526
|
+
Returns: {
|
|
32527
|
+
actief: boolean;
|
|
32528
|
+
heeft_pincode: boolean;
|
|
32529
|
+
id: string;
|
|
32530
|
+
naam: string;
|
|
32531
|
+
omschrijving: string;
|
|
32532
|
+
printer_id: string;
|
|
32533
|
+
type: string;
|
|
32534
|
+
vereist_medewerker: boolean;
|
|
32535
|
+
werkplek: string;
|
|
32536
|
+
}[];
|
|
32537
|
+
};
|
|
29865
32538
|
scan_sessie_annuleren: {
|
|
29866
32539
|
Args: {
|
|
29867
32540
|
p_sessie_id: string;
|
|
@@ -30190,6 +32863,10 @@ export type Database = {
|
|
|
30190
32863
|
Args: never;
|
|
30191
32864
|
Returns: number;
|
|
30192
32865
|
};
|
|
32866
|
+
server_now: {
|
|
32867
|
+
Args: never;
|
|
32868
|
+
Returns: string;
|
|
32869
|
+
};
|
|
30193
32870
|
set_planning_status: {
|
|
30194
32871
|
Args: {
|
|
30195
32872
|
_id: string;
|
|
@@ -30197,6 +32874,26 @@ export type Database = {
|
|
|
30197
32874
|
};
|
|
30198
32875
|
Returns: undefined;
|
|
30199
32876
|
};
|
|
32877
|
+
set_product_stock: {
|
|
32878
|
+
Args: {
|
|
32879
|
+
p_incoming_stock?: number;
|
|
32880
|
+
p_minimum_stock?: number;
|
|
32881
|
+
p_notes?: string;
|
|
32882
|
+
p_physical_stock: number;
|
|
32883
|
+
p_product_id: string;
|
|
32884
|
+
};
|
|
32885
|
+
Returns: {
|
|
32886
|
+
connection_id: string;
|
|
32887
|
+
incoming_stock: number;
|
|
32888
|
+
minimum_stock: number;
|
|
32889
|
+
notes: string;
|
|
32890
|
+
physical_stock: number;
|
|
32891
|
+
product_id: string;
|
|
32892
|
+
reserved_stock: number;
|
|
32893
|
+
trade_item_key: string;
|
|
32894
|
+
updated_at: string;
|
|
32895
|
+
}[];
|
|
32896
|
+
};
|
|
30200
32897
|
show_limit: {
|
|
30201
32898
|
Args: never;
|
|
30202
32899
|
Returns: number;
|
|
@@ -30233,6 +32930,9 @@ export type Database = {
|
|
|
30233
32930
|
p_log_id: string;
|
|
30234
32931
|
};
|
|
30235
32932
|
Returns: {
|
|
32933
|
+
aangepast_door_monteur: boolean;
|
|
32934
|
+
aangepast_op: string | null;
|
|
32935
|
+
aanpassing_reden: string | null;
|
|
30236
32936
|
auto_stop_reason: string | null;
|
|
30237
32937
|
auto_stopped: boolean;
|
|
30238
32938
|
created_at: string;
|
|
@@ -30403,6 +33103,28 @@ export type Database = {
|
|
|
30403
33103
|
};
|
|
30404
33104
|
Returns: Json;
|
|
30405
33105
|
};
|
|
33106
|
+
twinfield_sync_apply: {
|
|
33107
|
+
Args: {
|
|
33108
|
+
_base: Json;
|
|
33109
|
+
_customer_id: string;
|
|
33110
|
+
_patch: Json;
|
|
33111
|
+
_uid: string;
|
|
33112
|
+
_version: number;
|
|
33113
|
+
};
|
|
33114
|
+
Returns: undefined;
|
|
33115
|
+
};
|
|
33116
|
+
twinfield_sync_insert: {
|
|
33117
|
+
Args: {
|
|
33118
|
+
_row: Json;
|
|
33119
|
+
};
|
|
33120
|
+
Returns: string;
|
|
33121
|
+
};
|
|
33122
|
+
twinfield_sync_mark_missing: {
|
|
33123
|
+
Args: {
|
|
33124
|
+
_ids: string[];
|
|
33125
|
+
};
|
|
33126
|
+
Returns: undefined;
|
|
33127
|
+
};
|
|
30406
33128
|
twinfield_upsert_connection_by_account_key: {
|
|
30407
33129
|
Args: {
|
|
30408
33130
|
p_account_key: string;
|
|
@@ -30428,6 +33150,55 @@ export type Database = {
|
|
|
30428
33150
|
};
|
|
30429
33151
|
Returns: undefined;
|
|
30430
33152
|
};
|
|
33153
|
+
uren_collega_agenda: {
|
|
33154
|
+
Args: {
|
|
33155
|
+
_monteur: string;
|
|
33156
|
+
_tot: string;
|
|
33157
|
+
_van: string;
|
|
33158
|
+
};
|
|
33159
|
+
Returns: {
|
|
33160
|
+
afwezig: string;
|
|
33161
|
+
datum: string;
|
|
33162
|
+
gepland: number;
|
|
33163
|
+
kort_vrij: Json;
|
|
33164
|
+
overuren: number;
|
|
33165
|
+
standby_avond: boolean;
|
|
33166
|
+
standby_ingepland: string;
|
|
33167
|
+
standby_weekend: boolean;
|
|
33168
|
+
werk_eind: string;
|
|
33169
|
+
werk_start: string;
|
|
33170
|
+
}[];
|
|
33171
|
+
};
|
|
33172
|
+
uren_dag_controle: {
|
|
33173
|
+
Args: {
|
|
33174
|
+
_datum: string;
|
|
33175
|
+
_monteur: string;
|
|
33176
|
+
_toekomst_toegestaan: boolean;
|
|
33177
|
+
};
|
|
33178
|
+
Returns: undefined;
|
|
33179
|
+
};
|
|
33180
|
+
uren_dag_controle_vrij: {
|
|
33181
|
+
Args: {
|
|
33182
|
+
_datum: string;
|
|
33183
|
+
_monteur: string;
|
|
33184
|
+
};
|
|
33185
|
+
Returns: undefined;
|
|
33186
|
+
};
|
|
33187
|
+
uren_dag_km_opslaan: {
|
|
33188
|
+
Args: {
|
|
33189
|
+
_datum: string;
|
|
33190
|
+
_km: number;
|
|
33191
|
+
};
|
|
33192
|
+
Returns: undefined;
|
|
33193
|
+
};
|
|
33194
|
+
uren_dag_registraties_aanpassen: {
|
|
33195
|
+
Args: {
|
|
33196
|
+
_datum: string;
|
|
33197
|
+
_reden: string;
|
|
33198
|
+
_regels: Json;
|
|
33199
|
+
};
|
|
33200
|
+
Returns: number;
|
|
33201
|
+
};
|
|
30431
33202
|
uren_employee_day_hours: {
|
|
30432
33203
|
Args: {
|
|
30433
33204
|
_day: string;
|
|
@@ -30435,6 +33206,24 @@ export type Database = {
|
|
|
30435
33206
|
};
|
|
30436
33207
|
Returns: number;
|
|
30437
33208
|
};
|
|
33209
|
+
uren_heeft_pagina_toegang: {
|
|
33210
|
+
Args: never;
|
|
33211
|
+
Returns: boolean;
|
|
33212
|
+
};
|
|
33213
|
+
uren_indirect_opslaan: {
|
|
33214
|
+
Args: {
|
|
33215
|
+
_datum: string;
|
|
33216
|
+
_minuten: number;
|
|
33217
|
+
_toelichting: string;
|
|
33218
|
+
};
|
|
33219
|
+
Returns: string;
|
|
33220
|
+
};
|
|
33221
|
+
uren_indirect_verwijderen: {
|
|
33222
|
+
Args: {
|
|
33223
|
+
_id: string;
|
|
33224
|
+
};
|
|
33225
|
+
Returns: undefined;
|
|
33226
|
+
};
|
|
30438
33227
|
uren_is_beheerder: {
|
|
30439
33228
|
Args: never;
|
|
30440
33229
|
Returns: boolean;
|
|
@@ -30475,6 +33264,13 @@ export type Database = {
|
|
|
30475
33264
|
roles: string[];
|
|
30476
33265
|
}[];
|
|
30477
33266
|
};
|
|
33267
|
+
uren_list_monteurs: {
|
|
33268
|
+
Args: never;
|
|
33269
|
+
Returns: {
|
|
33270
|
+
id: string;
|
|
33271
|
+
naam: string;
|
|
33272
|
+
}[];
|
|
33273
|
+
};
|
|
30478
33274
|
uren_list_planner_contacten: {
|
|
30479
33275
|
Args: never;
|
|
30480
33276
|
Returns: {
|
|
@@ -30518,6 +33314,23 @@ export type Database = {
|
|
|
30518
33314
|
Args: never;
|
|
30519
33315
|
Returns: string;
|
|
30520
33316
|
};
|
|
33317
|
+
uren_overuren_indienen: {
|
|
33318
|
+
Args: {
|
|
33319
|
+
_datum: string;
|
|
33320
|
+
_toelichting?: string;
|
|
33321
|
+
_uren_na: number;
|
|
33322
|
+
_uren_voor: number;
|
|
33323
|
+
_verwerking: string;
|
|
33324
|
+
};
|
|
33325
|
+
Returns: undefined;
|
|
33326
|
+
};
|
|
33327
|
+
uren_pagina_toegang_instellen: {
|
|
33328
|
+
Args: {
|
|
33329
|
+
_toegang: boolean;
|
|
33330
|
+
_user_id: string;
|
|
33331
|
+
};
|
|
33332
|
+
Returns: undefined;
|
|
33333
|
+
};
|
|
30521
33334
|
uren_planning_dagagenda: {
|
|
30522
33335
|
Args: {
|
|
30523
33336
|
_tot: string;
|
|
@@ -30578,6 +33391,36 @@ export type Database = {
|
|
|
30578
33391
|
};
|
|
30579
33392
|
Returns: undefined;
|
|
30580
33393
|
};
|
|
33394
|
+
uren_standby_opslaan: {
|
|
33395
|
+
Args: {
|
|
33396
|
+
_datums: string[];
|
|
33397
|
+
_soort: string;
|
|
33398
|
+
_tot: string;
|
|
33399
|
+
_van: string;
|
|
33400
|
+
};
|
|
33401
|
+
Returns: undefined;
|
|
33402
|
+
};
|
|
33403
|
+
uren_standby_overdragen: {
|
|
33404
|
+
Args: {
|
|
33405
|
+
_datum: string;
|
|
33406
|
+
_naar: string;
|
|
33407
|
+
};
|
|
33408
|
+
Returns: undefined;
|
|
33409
|
+
};
|
|
33410
|
+
uren_standby_ruil: {
|
|
33411
|
+
Args: {
|
|
33412
|
+
_aan: boolean;
|
|
33413
|
+
_datum: string;
|
|
33414
|
+
};
|
|
33415
|
+
Returns: undefined;
|
|
33416
|
+
};
|
|
33417
|
+
uren_standby_sync: {
|
|
33418
|
+
Args: {
|
|
33419
|
+
_tot: string;
|
|
33420
|
+
_van: string;
|
|
33421
|
+
};
|
|
33422
|
+
Returns: undefined;
|
|
33423
|
+
};
|
|
30581
33424
|
uren_stop_time_log: {
|
|
30582
33425
|
Args: {
|
|
30583
33426
|
p_employee_id: string;
|
|
@@ -30611,6 +33454,13 @@ export type Database = {
|
|
|
30611
33454
|
};
|
|
30612
33455
|
Returns: string;
|
|
30613
33456
|
};
|
|
33457
|
+
uren_vakantiedag_verwijderen: {
|
|
33458
|
+
Args: {
|
|
33459
|
+
_datum: string;
|
|
33460
|
+
_leave_id: string;
|
|
33461
|
+
};
|
|
33462
|
+
Returns: undefined;
|
|
33463
|
+
};
|
|
30614
33464
|
uren_vakantiedag_wijzigen: {
|
|
30615
33465
|
Args: {
|
|
30616
33466
|
_date: string;
|
|
@@ -30721,6 +33571,13 @@ export type Database = {
|
|
|
30721
33571
|
};
|
|
30722
33572
|
Returns: number;
|
|
30723
33573
|
};
|
|
33574
|
+
vakantie_overuren: {
|
|
33575
|
+
Args: {
|
|
33576
|
+
_user_id: string;
|
|
33577
|
+
_year?: number;
|
|
33578
|
+
};
|
|
33579
|
+
Returns: number;
|
|
33580
|
+
};
|
|
30724
33581
|
vakantie_saldo: {
|
|
30725
33582
|
Args: {
|
|
30726
33583
|
_user_id: string;
|
|
@@ -30728,7 +33585,12 @@ export type Database = {
|
|
|
30728
33585
|
};
|
|
30729
33586
|
Returns: {
|
|
30730
33587
|
day_hours: number;
|
|
33588
|
+
earned_from_overtime_days: number;
|
|
30731
33589
|
entitlement_days: number;
|
|
33590
|
+
hours_to_next_day: number;
|
|
33591
|
+
overtime_hours: number;
|
|
33592
|
+
overtime_remainder_hours: number;
|
|
33593
|
+
paid_out_days: number;
|
|
30732
33594
|
remaining_days: number;
|
|
30733
33595
|
used_days: number;
|
|
30734
33596
|
}[];
|
|
@@ -30739,12 +33601,49 @@ export type Database = {
|
|
|
30739
33601
|
};
|
|
30740
33602
|
Returns: {
|
|
30741
33603
|
day_hours: number;
|
|
33604
|
+
earned_from_overtime_days: number;
|
|
30742
33605
|
entitlement_days: number;
|
|
33606
|
+
hours_to_next_day: number;
|
|
33607
|
+
overtime_hours: number;
|
|
33608
|
+
overtime_remainder_hours: number;
|
|
33609
|
+
paid_out_days: number;
|
|
30743
33610
|
remaining_days: number;
|
|
30744
33611
|
used_days: number;
|
|
30745
33612
|
user_id: string;
|
|
30746
33613
|
}[];
|
|
30747
33614
|
};
|
|
33615
|
+
vakantie_tvt_overzicht: {
|
|
33616
|
+
Args: {
|
|
33617
|
+
_year?: number;
|
|
33618
|
+
};
|
|
33619
|
+
Returns: {
|
|
33620
|
+
earned_from_tvt_days: number;
|
|
33621
|
+
hours_to_next_tvt_day: number;
|
|
33622
|
+
tvt_hours: number;
|
|
33623
|
+
tvt_remainder_hours: number;
|
|
33624
|
+
user_id: string;
|
|
33625
|
+
}[];
|
|
33626
|
+
};
|
|
33627
|
+
vakantie_tvt_uren: {
|
|
33628
|
+
Args: {
|
|
33629
|
+
_user_id: string;
|
|
33630
|
+
_year: number;
|
|
33631
|
+
};
|
|
33632
|
+
Returns: number;
|
|
33633
|
+
};
|
|
33634
|
+
vervang_printer: {
|
|
33635
|
+
Args: {
|
|
33636
|
+
_nieuw: string;
|
|
33637
|
+
_oud: string;
|
|
33638
|
+
};
|
|
33639
|
+
Returns: Json;
|
|
33640
|
+
};
|
|
33641
|
+
verwijder_printplek: {
|
|
33642
|
+
Args: {
|
|
33643
|
+
_id: string;
|
|
33644
|
+
};
|
|
33645
|
+
Returns: Json;
|
|
33646
|
+
};
|
|
30748
33647
|
voorraad_cleanup_old_rows: {
|
|
30749
33648
|
Args: never;
|
|
30750
33649
|
Returns: Json;
|
|
@@ -30755,6 +33654,16 @@ export type Database = {
|
|
|
30755
33654
|
};
|
|
30756
33655
|
Returns: number;
|
|
30757
33656
|
};
|
|
33657
|
+
werkbon_pakket_tijden: {
|
|
33658
|
+
Args: {
|
|
33659
|
+
_werkbon_id: string;
|
|
33660
|
+
};
|
|
33661
|
+
Returns: {
|
|
33662
|
+
labor_minutes: number;
|
|
33663
|
+
total_minutes: number;
|
|
33664
|
+
travel_minutes: number;
|
|
33665
|
+
}[];
|
|
33666
|
+
};
|
|
30758
33667
|
werkbon_totalen: {
|
|
30759
33668
|
Args: {
|
|
30760
33669
|
_werkbon_id: string;
|
|
@@ -30787,18 +33696,58 @@ export type Database = {
|
|
|
30787
33696
|
};
|
|
30788
33697
|
Returns: Json;
|
|
30789
33698
|
};
|
|
33699
|
+
wo_is_planned_monteur: {
|
|
33700
|
+
Args: {
|
|
33701
|
+
_werkbon_id: string;
|
|
33702
|
+
};
|
|
33703
|
+
Returns: boolean;
|
|
33704
|
+
};
|
|
33705
|
+
wo_list_colleague_planning: {
|
|
33706
|
+
Args: {
|
|
33707
|
+
_from: string;
|
|
33708
|
+
_monteur_id: string;
|
|
33709
|
+
_to: string;
|
|
33710
|
+
};
|
|
33711
|
+
Returns: {
|
|
33712
|
+
end_at: string;
|
|
33713
|
+
id: string;
|
|
33714
|
+
role: string;
|
|
33715
|
+
start_at: string;
|
|
33716
|
+
status: string;
|
|
33717
|
+
werkbon_id: string;
|
|
33718
|
+
}[];
|
|
33719
|
+
};
|
|
30790
33720
|
wo_list_offerte_requests: {
|
|
30791
33721
|
Args: {
|
|
30792
33722
|
_status?: string;
|
|
30793
33723
|
};
|
|
30794
33724
|
Returns: Json;
|
|
30795
33725
|
};
|
|
33726
|
+
wo_list_proposals: {
|
|
33727
|
+
Args: {
|
|
33728
|
+
_status?: string;
|
|
33729
|
+
};
|
|
33730
|
+
Returns: Json;
|
|
33731
|
+
};
|
|
33732
|
+
wo_open_standby: {
|
|
33733
|
+
Args: {
|
|
33734
|
+
_standby_id: string;
|
|
33735
|
+
};
|
|
33736
|
+
Returns: string;
|
|
33737
|
+
};
|
|
30796
33738
|
wo_process_offerte_request: {
|
|
30797
33739
|
Args: {
|
|
30798
33740
|
_queue_id: string;
|
|
30799
33741
|
};
|
|
30800
33742
|
Returns: Json;
|
|
30801
33743
|
};
|
|
33744
|
+
wo_process_proposal: {
|
|
33745
|
+
Args: {
|
|
33746
|
+
_id: string;
|
|
33747
|
+
_overrides?: Json;
|
|
33748
|
+
};
|
|
33749
|
+
Returns: Json;
|
|
33750
|
+
};
|
|
30802
33751
|
wo_reject_offerte_request: {
|
|
30803
33752
|
Args: {
|
|
30804
33753
|
_queue_id: string;
|
|
@@ -30806,6 +33755,13 @@ export type Database = {
|
|
|
30806
33755
|
};
|
|
30807
33756
|
Returns: Json;
|
|
30808
33757
|
};
|
|
33758
|
+
wo_reject_proposal: {
|
|
33759
|
+
Args: {
|
|
33760
|
+
_id: string;
|
|
33761
|
+
_reden?: string;
|
|
33762
|
+
};
|
|
33763
|
+
Returns: Json;
|
|
33764
|
+
};
|
|
30809
33765
|
wo_set_status: {
|
|
30810
33766
|
Args: {
|
|
30811
33767
|
_reason?: string;
|