@flowselections/floriday-verkoop-module 1.0.35 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2412 -91
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2412 -91
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2412 -91
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2467 -70
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +49 -0
- package/dist-lib/lib/cart-lock.functions.d.ts +2412 -91
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +25717 -186
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +13131 -6168
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +32680 -186
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +13131 -6168
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +2412 -91
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +2412 -91
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +31691 -15444
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +22411 -10806
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +13131 -6168
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +17771 -8487
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +22411 -10806
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +2412 -91
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -404,6 +404,65 @@ export type Database = {
|
|
|
404
404
|
};
|
|
405
405
|
Relationships: [];
|
|
406
406
|
};
|
|
407
|
+
ai_layout_imports: {
|
|
408
|
+
Row: {
|
|
409
|
+
analyse_json: Json;
|
|
410
|
+
bestand_url: string | null;
|
|
411
|
+
bestandsnaam: string;
|
|
412
|
+
bevestigd: boolean;
|
|
413
|
+
created_at: string;
|
|
414
|
+
created_by: string | null;
|
|
415
|
+
foutmelding: string | null;
|
|
416
|
+
id: string;
|
|
417
|
+
layout_id: string | null;
|
|
418
|
+
mime_type: string;
|
|
419
|
+
onzekere_velden: Json;
|
|
420
|
+
status: Database["public"]["Enums"]["ai_import_status"];
|
|
421
|
+
updated_at: string;
|
|
422
|
+
voorstel: Json;
|
|
423
|
+
};
|
|
424
|
+
Insert: {
|
|
425
|
+
analyse_json?: Json;
|
|
426
|
+
bestand_url?: string | null;
|
|
427
|
+
bestandsnaam?: string;
|
|
428
|
+
bevestigd?: boolean;
|
|
429
|
+
created_at?: string;
|
|
430
|
+
created_by?: string | null;
|
|
431
|
+
foutmelding?: string | null;
|
|
432
|
+
id?: string;
|
|
433
|
+
layout_id?: string | null;
|
|
434
|
+
mime_type?: string;
|
|
435
|
+
onzekere_velden?: Json;
|
|
436
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
437
|
+
updated_at?: string;
|
|
438
|
+
voorstel?: Json;
|
|
439
|
+
};
|
|
440
|
+
Update: {
|
|
441
|
+
analyse_json?: Json;
|
|
442
|
+
bestand_url?: string | null;
|
|
443
|
+
bestandsnaam?: string;
|
|
444
|
+
bevestigd?: boolean;
|
|
445
|
+
created_at?: string;
|
|
446
|
+
created_by?: string | null;
|
|
447
|
+
foutmelding?: string | null;
|
|
448
|
+
id?: string;
|
|
449
|
+
layout_id?: string | null;
|
|
450
|
+
mime_type?: string;
|
|
451
|
+
onzekere_velden?: Json;
|
|
452
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
453
|
+
updated_at?: string;
|
|
454
|
+
voorstel?: Json;
|
|
455
|
+
};
|
|
456
|
+
Relationships: [
|
|
457
|
+
{
|
|
458
|
+
foreignKeyName: "ai_layout_imports_layout_id_fkey";
|
|
459
|
+
columns: ["layout_id"];
|
|
460
|
+
isOneToOne: false;
|
|
461
|
+
referencedRelation: "document_layouts";
|
|
462
|
+
referencedColumns: ["id"];
|
|
463
|
+
}
|
|
464
|
+
];
|
|
465
|
+
};
|
|
407
466
|
ai_model_pricing: {
|
|
408
467
|
Row: {
|
|
409
468
|
created_at: string;
|
|
@@ -496,6 +555,8 @@ export type Database = {
|
|
|
496
555
|
created_at: string;
|
|
497
556
|
credential_id: string;
|
|
498
557
|
id: string;
|
|
558
|
+
is_default: boolean;
|
|
559
|
+
label: string | null;
|
|
499
560
|
model_id: string;
|
|
500
561
|
notes: string | null;
|
|
501
562
|
updated_at: string;
|
|
@@ -505,6 +566,8 @@ export type Database = {
|
|
|
505
566
|
created_at?: string;
|
|
506
567
|
credential_id: string;
|
|
507
568
|
id?: string;
|
|
569
|
+
is_default?: boolean;
|
|
570
|
+
label?: string | null;
|
|
508
571
|
model_id: string;
|
|
509
572
|
notes?: string | null;
|
|
510
573
|
updated_at?: string;
|
|
@@ -514,6 +577,8 @@ export type Database = {
|
|
|
514
577
|
created_at?: string;
|
|
515
578
|
credential_id?: string;
|
|
516
579
|
id?: string;
|
|
580
|
+
is_default?: boolean;
|
|
581
|
+
label?: string | null;
|
|
517
582
|
model_id?: string;
|
|
518
583
|
notes?: string | null;
|
|
519
584
|
updated_at?: string;
|
|
@@ -535,6 +600,41 @@ export type Database = {
|
|
|
535
600
|
}
|
|
536
601
|
];
|
|
537
602
|
};
|
|
603
|
+
ai_modules: {
|
|
604
|
+
Row: {
|
|
605
|
+
ai_enabled: boolean;
|
|
606
|
+
created_at: string;
|
|
607
|
+
id: string;
|
|
608
|
+
module_key: string;
|
|
609
|
+
module_name: string;
|
|
610
|
+
updated_at: string;
|
|
611
|
+
};
|
|
612
|
+
Insert: {
|
|
613
|
+
ai_enabled?: boolean;
|
|
614
|
+
created_at?: string;
|
|
615
|
+
id?: string;
|
|
616
|
+
module_key: string;
|
|
617
|
+
module_name: string;
|
|
618
|
+
updated_at?: string;
|
|
619
|
+
};
|
|
620
|
+
Update: {
|
|
621
|
+
ai_enabled?: boolean;
|
|
622
|
+
created_at?: string;
|
|
623
|
+
id?: string;
|
|
624
|
+
module_key?: string;
|
|
625
|
+
module_name?: string;
|
|
626
|
+
updated_at?: string;
|
|
627
|
+
};
|
|
628
|
+
Relationships: [
|
|
629
|
+
{
|
|
630
|
+
foreignKeyName: "ai_modules_module_key_fkey";
|
|
631
|
+
columns: ["module_key"];
|
|
632
|
+
isOneToOne: true;
|
|
633
|
+
referencedRelation: "modules";
|
|
634
|
+
referencedColumns: ["module_key"];
|
|
635
|
+
}
|
|
636
|
+
];
|
|
637
|
+
};
|
|
538
638
|
ai_providers: {
|
|
539
639
|
Row: {
|
|
540
640
|
active: boolean;
|
|
@@ -2503,6 +2603,364 @@ export type Database = {
|
|
|
2503
2603
|
};
|
|
2504
2604
|
Relationships: [];
|
|
2505
2605
|
};
|
|
2606
|
+
document_formaat_printers: {
|
|
2607
|
+
Row: {
|
|
2608
|
+
created_at: string;
|
|
2609
|
+
documenttype: string;
|
|
2610
|
+
formaat_code: string;
|
|
2611
|
+
id: string;
|
|
2612
|
+
printer_id: string | null;
|
|
2613
|
+
updated_at: string;
|
|
2614
|
+
};
|
|
2615
|
+
Insert: {
|
|
2616
|
+
created_at?: string;
|
|
2617
|
+
documenttype: string;
|
|
2618
|
+
formaat_code: string;
|
|
2619
|
+
id?: string;
|
|
2620
|
+
printer_id?: string | null;
|
|
2621
|
+
updated_at?: string;
|
|
2622
|
+
};
|
|
2623
|
+
Update: {
|
|
2624
|
+
created_at?: string;
|
|
2625
|
+
documenttype?: string;
|
|
2626
|
+
formaat_code?: string;
|
|
2627
|
+
id?: string;
|
|
2628
|
+
printer_id?: string | null;
|
|
2629
|
+
updated_at?: string;
|
|
2630
|
+
};
|
|
2631
|
+
Relationships: [
|
|
2632
|
+
{
|
|
2633
|
+
foreignKeyName: "document_formaat_printers_printer_id_fkey";
|
|
2634
|
+
columns: ["printer_id"];
|
|
2635
|
+
isOneToOne: false;
|
|
2636
|
+
referencedRelation: "printers";
|
|
2637
|
+
referencedColumns: ["id"];
|
|
2638
|
+
}
|
|
2639
|
+
];
|
|
2640
|
+
};
|
|
2641
|
+
document_layout_conditions: {
|
|
2642
|
+
Row: {
|
|
2643
|
+
created_at: string;
|
|
2644
|
+
element_key: string;
|
|
2645
|
+
id: string;
|
|
2646
|
+
layout_id: string;
|
|
2647
|
+
operator: string;
|
|
2648
|
+
updated_at: string;
|
|
2649
|
+
veld: string;
|
|
2650
|
+
waarde: string;
|
|
2651
|
+
};
|
|
2652
|
+
Insert: {
|
|
2653
|
+
created_at?: string;
|
|
2654
|
+
element_key: string;
|
|
2655
|
+
id?: string;
|
|
2656
|
+
layout_id: string;
|
|
2657
|
+
operator?: string;
|
|
2658
|
+
updated_at?: string;
|
|
2659
|
+
veld: string;
|
|
2660
|
+
waarde?: string;
|
|
2661
|
+
};
|
|
2662
|
+
Update: {
|
|
2663
|
+
created_at?: string;
|
|
2664
|
+
element_key?: string;
|
|
2665
|
+
id?: string;
|
|
2666
|
+
layout_id?: string;
|
|
2667
|
+
operator?: string;
|
|
2668
|
+
updated_at?: string;
|
|
2669
|
+
veld?: string;
|
|
2670
|
+
waarde?: string;
|
|
2671
|
+
};
|
|
2672
|
+
Relationships: [
|
|
2673
|
+
{
|
|
2674
|
+
foreignKeyName: "document_layout_conditions_layout_id_fkey";
|
|
2675
|
+
columns: ["layout_id"];
|
|
2676
|
+
isOneToOne: false;
|
|
2677
|
+
referencedRelation: "document_layouts";
|
|
2678
|
+
referencedColumns: ["id"];
|
|
2679
|
+
}
|
|
2680
|
+
];
|
|
2681
|
+
};
|
|
2682
|
+
document_layout_datasources: {
|
|
2683
|
+
Row: {
|
|
2684
|
+
alias: string;
|
|
2685
|
+
created_at: string;
|
|
2686
|
+
entiteit: string;
|
|
2687
|
+
filter: Json;
|
|
2688
|
+
id: string;
|
|
2689
|
+
layout_id: string;
|
|
2690
|
+
module_id: string;
|
|
2691
|
+
updated_at: string;
|
|
2692
|
+
};
|
|
2693
|
+
Insert: {
|
|
2694
|
+
alias?: string;
|
|
2695
|
+
created_at?: string;
|
|
2696
|
+
entiteit: string;
|
|
2697
|
+
filter?: Json;
|
|
2698
|
+
id?: string;
|
|
2699
|
+
layout_id: string;
|
|
2700
|
+
module_id: string;
|
|
2701
|
+
updated_at?: string;
|
|
2702
|
+
};
|
|
2703
|
+
Update: {
|
|
2704
|
+
alias?: string;
|
|
2705
|
+
created_at?: string;
|
|
2706
|
+
entiteit?: string;
|
|
2707
|
+
filter?: Json;
|
|
2708
|
+
id?: string;
|
|
2709
|
+
layout_id?: string;
|
|
2710
|
+
module_id?: string;
|
|
2711
|
+
updated_at?: string;
|
|
2712
|
+
};
|
|
2713
|
+
Relationships: [
|
|
2714
|
+
{
|
|
2715
|
+
foreignKeyName: "document_layout_datasources_layout_id_fkey";
|
|
2716
|
+
columns: ["layout_id"];
|
|
2717
|
+
isOneToOne: false;
|
|
2718
|
+
referencedRelation: "document_layouts";
|
|
2719
|
+
referencedColumns: ["id"];
|
|
2720
|
+
}
|
|
2721
|
+
];
|
|
2722
|
+
};
|
|
2723
|
+
document_layout_elements: {
|
|
2724
|
+
Row: {
|
|
2725
|
+
breedte: number;
|
|
2726
|
+
config: Json;
|
|
2727
|
+
content: string;
|
|
2728
|
+
created_at: string;
|
|
2729
|
+
element_key: string;
|
|
2730
|
+
hoogte: number;
|
|
2731
|
+
id: string;
|
|
2732
|
+
layout_id: string;
|
|
2733
|
+
logo_id: string | null;
|
|
2734
|
+
parent_key: string | null;
|
|
2735
|
+
rotatie: number;
|
|
2736
|
+
stijl: Json;
|
|
2737
|
+
type: string;
|
|
2738
|
+
updated_at: string;
|
|
2739
|
+
veldpad: string | null;
|
|
2740
|
+
verborgen: boolean;
|
|
2741
|
+
vergrendeld: boolean;
|
|
2742
|
+
volgorde: number;
|
|
2743
|
+
x: number;
|
|
2744
|
+
y: number;
|
|
2745
|
+
z_index: number;
|
|
2746
|
+
};
|
|
2747
|
+
Insert: {
|
|
2748
|
+
breedte?: number;
|
|
2749
|
+
config?: Json;
|
|
2750
|
+
content?: string;
|
|
2751
|
+
created_at?: string;
|
|
2752
|
+
element_key: string;
|
|
2753
|
+
hoogte?: number;
|
|
2754
|
+
id?: string;
|
|
2755
|
+
layout_id: string;
|
|
2756
|
+
logo_id?: string | null;
|
|
2757
|
+
parent_key?: string | null;
|
|
2758
|
+
rotatie?: number;
|
|
2759
|
+
stijl?: Json;
|
|
2760
|
+
type: string;
|
|
2761
|
+
updated_at?: string;
|
|
2762
|
+
veldpad?: string | null;
|
|
2763
|
+
verborgen?: boolean;
|
|
2764
|
+
vergrendeld?: boolean;
|
|
2765
|
+
volgorde?: number;
|
|
2766
|
+
x?: number;
|
|
2767
|
+
y?: number;
|
|
2768
|
+
z_index?: number;
|
|
2769
|
+
};
|
|
2770
|
+
Update: {
|
|
2771
|
+
breedte?: number;
|
|
2772
|
+
config?: Json;
|
|
2773
|
+
content?: string;
|
|
2774
|
+
created_at?: string;
|
|
2775
|
+
element_key?: string;
|
|
2776
|
+
hoogte?: number;
|
|
2777
|
+
id?: string;
|
|
2778
|
+
layout_id?: string;
|
|
2779
|
+
logo_id?: string | null;
|
|
2780
|
+
parent_key?: string | null;
|
|
2781
|
+
rotatie?: number;
|
|
2782
|
+
stijl?: Json;
|
|
2783
|
+
type?: string;
|
|
2784
|
+
updated_at?: string;
|
|
2785
|
+
veldpad?: string | null;
|
|
2786
|
+
verborgen?: boolean;
|
|
2787
|
+
vergrendeld?: boolean;
|
|
2788
|
+
volgorde?: number;
|
|
2789
|
+
x?: number;
|
|
2790
|
+
y?: number;
|
|
2791
|
+
z_index?: number;
|
|
2792
|
+
};
|
|
2793
|
+
Relationships: [
|
|
2794
|
+
{
|
|
2795
|
+
foreignKeyName: "document_layout_elements_layout_id_fkey";
|
|
2796
|
+
columns: ["layout_id"];
|
|
2797
|
+
isOneToOne: false;
|
|
2798
|
+
referencedRelation: "document_layouts";
|
|
2799
|
+
referencedColumns: ["id"];
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
foreignKeyName: "document_layout_elements_logo_id_fkey";
|
|
2803
|
+
columns: ["logo_id"];
|
|
2804
|
+
isOneToOne: false;
|
|
2805
|
+
referencedRelation: "layout_logos";
|
|
2806
|
+
referencedColumns: ["id"];
|
|
2807
|
+
}
|
|
2808
|
+
];
|
|
2809
|
+
};
|
|
2810
|
+
document_layout_variables: {
|
|
2811
|
+
Row: {
|
|
2812
|
+
created_at: string;
|
|
2813
|
+
expressie: string;
|
|
2814
|
+
id: string;
|
|
2815
|
+
layout_id: string;
|
|
2816
|
+
naam: string;
|
|
2817
|
+
omschrijving: string;
|
|
2818
|
+
updated_at: string;
|
|
2819
|
+
};
|
|
2820
|
+
Insert: {
|
|
2821
|
+
created_at?: string;
|
|
2822
|
+
expressie?: string;
|
|
2823
|
+
id?: string;
|
|
2824
|
+
layout_id: string;
|
|
2825
|
+
naam: string;
|
|
2826
|
+
omschrijving?: string;
|
|
2827
|
+
updated_at?: string;
|
|
2828
|
+
};
|
|
2829
|
+
Update: {
|
|
2830
|
+
created_at?: string;
|
|
2831
|
+
expressie?: string;
|
|
2832
|
+
id?: string;
|
|
2833
|
+
layout_id?: string;
|
|
2834
|
+
naam?: string;
|
|
2835
|
+
omschrijving?: string;
|
|
2836
|
+
updated_at?: string;
|
|
2837
|
+
};
|
|
2838
|
+
Relationships: [
|
|
2839
|
+
{
|
|
2840
|
+
foreignKeyName: "document_layout_variables_layout_id_fkey";
|
|
2841
|
+
columns: ["layout_id"];
|
|
2842
|
+
isOneToOne: false;
|
|
2843
|
+
referencedRelation: "document_layouts";
|
|
2844
|
+
referencedColumns: ["id"];
|
|
2845
|
+
}
|
|
2846
|
+
];
|
|
2847
|
+
};
|
|
2848
|
+
document_layout_versions: {
|
|
2849
|
+
Row: {
|
|
2850
|
+
commentaar: string;
|
|
2851
|
+
created_at: string;
|
|
2852
|
+
created_by: string | null;
|
|
2853
|
+
elements: Json;
|
|
2854
|
+
id: string;
|
|
2855
|
+
layout_id: string;
|
|
2856
|
+
page_settings: Json;
|
|
2857
|
+
updated_at: string;
|
|
2858
|
+
versienummer: number;
|
|
2859
|
+
};
|
|
2860
|
+
Insert: {
|
|
2861
|
+
commentaar?: string;
|
|
2862
|
+
created_at?: string;
|
|
2863
|
+
created_by?: string | null;
|
|
2864
|
+
elements?: Json;
|
|
2865
|
+
id?: string;
|
|
2866
|
+
layout_id: string;
|
|
2867
|
+
page_settings?: Json;
|
|
2868
|
+
updated_at?: string;
|
|
2869
|
+
versienummer: number;
|
|
2870
|
+
};
|
|
2871
|
+
Update: {
|
|
2872
|
+
commentaar?: string;
|
|
2873
|
+
created_at?: string;
|
|
2874
|
+
created_by?: string | null;
|
|
2875
|
+
elements?: Json;
|
|
2876
|
+
id?: string;
|
|
2877
|
+
layout_id?: string;
|
|
2878
|
+
page_settings?: Json;
|
|
2879
|
+
updated_at?: string;
|
|
2880
|
+
versienummer?: number;
|
|
2881
|
+
};
|
|
2882
|
+
Relationships: [
|
|
2883
|
+
{
|
|
2884
|
+
foreignKeyName: "document_layout_versions_layout_id_fkey";
|
|
2885
|
+
columns: ["layout_id"];
|
|
2886
|
+
isOneToOne: false;
|
|
2887
|
+
referencedRelation: "document_layouts";
|
|
2888
|
+
referencedColumns: ["id"];
|
|
2889
|
+
}
|
|
2890
|
+
];
|
|
2891
|
+
};
|
|
2892
|
+
document_layouts: {
|
|
2893
|
+
Row: {
|
|
2894
|
+
actief: boolean;
|
|
2895
|
+
breedte_mm: number;
|
|
2896
|
+
config: Json;
|
|
2897
|
+
created_at: string;
|
|
2898
|
+
created_by: string | null;
|
|
2899
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
2900
|
+
hoogte_mm: number;
|
|
2901
|
+
huidige_versie: number;
|
|
2902
|
+
id: string;
|
|
2903
|
+
is_standaard: boolean;
|
|
2904
|
+
marge_boven: number;
|
|
2905
|
+
marge_links: number;
|
|
2906
|
+
marge_onder: number;
|
|
2907
|
+
marge_rechts: number;
|
|
2908
|
+
naam: string;
|
|
2909
|
+
omschrijving: string;
|
|
2910
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
2911
|
+
page_settings: Json;
|
|
2912
|
+
papierformaat: string;
|
|
2913
|
+
thumbnail_url: string | null;
|
|
2914
|
+
updated_at: string;
|
|
2915
|
+
};
|
|
2916
|
+
Insert: {
|
|
2917
|
+
actief?: boolean;
|
|
2918
|
+
breedte_mm?: number;
|
|
2919
|
+
config?: Json;
|
|
2920
|
+
created_at?: string;
|
|
2921
|
+
created_by?: string | null;
|
|
2922
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2923
|
+
hoogte_mm?: number;
|
|
2924
|
+
huidige_versie?: number;
|
|
2925
|
+
id?: string;
|
|
2926
|
+
is_standaard?: boolean;
|
|
2927
|
+
marge_boven?: number;
|
|
2928
|
+
marge_links?: number;
|
|
2929
|
+
marge_onder?: number;
|
|
2930
|
+
marge_rechts?: number;
|
|
2931
|
+
naam: string;
|
|
2932
|
+
omschrijving?: string;
|
|
2933
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2934
|
+
page_settings?: Json;
|
|
2935
|
+
papierformaat?: string;
|
|
2936
|
+
thumbnail_url?: string | null;
|
|
2937
|
+
updated_at?: string;
|
|
2938
|
+
};
|
|
2939
|
+
Update: {
|
|
2940
|
+
actief?: boolean;
|
|
2941
|
+
breedte_mm?: number;
|
|
2942
|
+
config?: Json;
|
|
2943
|
+
created_at?: string;
|
|
2944
|
+
created_by?: string | null;
|
|
2945
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2946
|
+
hoogte_mm?: number;
|
|
2947
|
+
huidige_versie?: number;
|
|
2948
|
+
id?: string;
|
|
2949
|
+
is_standaard?: boolean;
|
|
2950
|
+
marge_boven?: number;
|
|
2951
|
+
marge_links?: number;
|
|
2952
|
+
marge_onder?: number;
|
|
2953
|
+
marge_rechts?: number;
|
|
2954
|
+
naam?: string;
|
|
2955
|
+
omschrijving?: string;
|
|
2956
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2957
|
+
page_settings?: Json;
|
|
2958
|
+
papierformaat?: string;
|
|
2959
|
+
thumbnail_url?: string | null;
|
|
2960
|
+
updated_at?: string;
|
|
2961
|
+
};
|
|
2962
|
+
Relationships: [];
|
|
2963
|
+
};
|
|
2506
2964
|
email_auth_connections: {
|
|
2507
2965
|
Row: {
|
|
2508
2966
|
access_token_encrypted: string | null;
|
|
@@ -2542,6 +3000,10 @@ export type Database = {
|
|
|
2542
3000
|
status: string;
|
|
2543
3001
|
token_expires_at: string | null;
|
|
2544
3002
|
updated_at: string;
|
|
3003
|
+
watch_scope: string;
|
|
3004
|
+
webhook_last_attempt_at: string | null;
|
|
3005
|
+
webhook_last_error: string | null;
|
|
3006
|
+
webhook_status: string;
|
|
2545
3007
|
};
|
|
2546
3008
|
Insert: {
|
|
2547
3009
|
access_token_encrypted?: string | null;
|
|
@@ -2581,6 +3043,10 @@ export type Database = {
|
|
|
2581
3043
|
status?: string;
|
|
2582
3044
|
token_expires_at?: string | null;
|
|
2583
3045
|
updated_at?: string;
|
|
3046
|
+
watch_scope?: string;
|
|
3047
|
+
webhook_last_attempt_at?: string | null;
|
|
3048
|
+
webhook_last_error?: string | null;
|
|
3049
|
+
webhook_status?: string;
|
|
2584
3050
|
};
|
|
2585
3051
|
Update: {
|
|
2586
3052
|
access_token_encrypted?: string | null;
|
|
@@ -2620,6 +3086,10 @@ export type Database = {
|
|
|
2620
3086
|
status?: string;
|
|
2621
3087
|
token_expires_at?: string | null;
|
|
2622
3088
|
updated_at?: string;
|
|
3089
|
+
watch_scope?: string;
|
|
3090
|
+
webhook_last_attempt_at?: string | null;
|
|
3091
|
+
webhook_last_error?: string | null;
|
|
3092
|
+
webhook_status?: string;
|
|
2623
3093
|
};
|
|
2624
3094
|
Relationships: [];
|
|
2625
3095
|
};
|
|
@@ -2824,30 +3294,156 @@ export type Database = {
|
|
|
2824
3294
|
}
|
|
2825
3295
|
];
|
|
2826
3296
|
};
|
|
2827
|
-
|
|
3297
|
+
email_auth_watch_folders: {
|
|
2828
3298
|
Row: {
|
|
2829
|
-
account_id: string;
|
|
2830
|
-
account_name: string | null;
|
|
2831
|
-
avg_payment_days: number | null;
|
|
2832
|
-
computed_at: string;
|
|
2833
3299
|
connection_id: string;
|
|
2834
|
-
|
|
3300
|
+
created_at: string;
|
|
3301
|
+
folder_id: string;
|
|
3302
|
+
folder_name: string | null;
|
|
3303
|
+
gmail_history_id: string | null;
|
|
3304
|
+
graph_subscription_expires_at: string | null;
|
|
3305
|
+
graph_subscription_id: string | null;
|
|
2835
3306
|
id: string;
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
3307
|
+
imap_last_uid: number | null;
|
|
3308
|
+
imap_uid_validity: number | null;
|
|
3309
|
+
mailbox: string;
|
|
3310
|
+
provider: string;
|
|
3311
|
+
updated_at: string;
|
|
3312
|
+
webhook_last_error: string | null;
|
|
3313
|
+
webhook_status: string | null;
|
|
2842
3314
|
};
|
|
2843
3315
|
Insert: {
|
|
2844
|
-
account_id: string;
|
|
2845
|
-
account_name?: string | null;
|
|
2846
|
-
avg_payment_days?: number | null;
|
|
2847
|
-
computed_at?: string;
|
|
2848
3316
|
connection_id: string;
|
|
2849
|
-
|
|
2850
|
-
|
|
3317
|
+
created_at?: string;
|
|
3318
|
+
folder_id: string;
|
|
3319
|
+
folder_name?: string | null;
|
|
3320
|
+
gmail_history_id?: string | null;
|
|
3321
|
+
graph_subscription_expires_at?: string | null;
|
|
3322
|
+
graph_subscription_id?: string | null;
|
|
3323
|
+
id?: string;
|
|
3324
|
+
imap_last_uid?: number | null;
|
|
3325
|
+
imap_uid_validity?: number | null;
|
|
3326
|
+
mailbox?: string;
|
|
3327
|
+
provider: string;
|
|
3328
|
+
updated_at?: string;
|
|
3329
|
+
webhook_last_error?: string | null;
|
|
3330
|
+
webhook_status?: string | null;
|
|
3331
|
+
};
|
|
3332
|
+
Update: {
|
|
3333
|
+
connection_id?: string;
|
|
3334
|
+
created_at?: string;
|
|
3335
|
+
folder_id?: string;
|
|
3336
|
+
folder_name?: string | null;
|
|
3337
|
+
gmail_history_id?: string | null;
|
|
3338
|
+
graph_subscription_expires_at?: string | null;
|
|
3339
|
+
graph_subscription_id?: string | null;
|
|
3340
|
+
id?: string;
|
|
3341
|
+
imap_last_uid?: number | null;
|
|
3342
|
+
imap_uid_validity?: number | null;
|
|
3343
|
+
mailbox?: string;
|
|
3344
|
+
provider?: string;
|
|
3345
|
+
updated_at?: string;
|
|
3346
|
+
webhook_last_error?: string | null;
|
|
3347
|
+
webhook_status?: string | null;
|
|
3348
|
+
};
|
|
3349
|
+
Relationships: [
|
|
3350
|
+
{
|
|
3351
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3352
|
+
columns: ["connection_id"];
|
|
3353
|
+
isOneToOne: false;
|
|
3354
|
+
referencedRelation: "email_auth_connections";
|
|
3355
|
+
referencedColumns: ["id"];
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3359
|
+
columns: ["connection_id"];
|
|
3360
|
+
isOneToOne: false;
|
|
3361
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3362
|
+
referencedColumns: ["id"];
|
|
3363
|
+
}
|
|
3364
|
+
];
|
|
3365
|
+
};
|
|
3366
|
+
email_auth_webhook_log: {
|
|
3367
|
+
Row: {
|
|
3368
|
+
body_sample: string | null;
|
|
3369
|
+
connection_id: string | null;
|
|
3370
|
+
created_at: string;
|
|
3371
|
+
error_message: string | null;
|
|
3372
|
+
headers_sample: Json | null;
|
|
3373
|
+
id: string;
|
|
3374
|
+
notification_count: number | null;
|
|
3375
|
+
provider: string | null;
|
|
3376
|
+
source: string | null;
|
|
3377
|
+
status: string;
|
|
3378
|
+
subscription_id: string | null;
|
|
3379
|
+
};
|
|
3380
|
+
Insert: {
|
|
3381
|
+
body_sample?: string | null;
|
|
3382
|
+
connection_id?: string | null;
|
|
3383
|
+
created_at?: string;
|
|
3384
|
+
error_message?: string | null;
|
|
3385
|
+
headers_sample?: Json | null;
|
|
3386
|
+
id?: string;
|
|
3387
|
+
notification_count?: number | null;
|
|
3388
|
+
provider?: string | null;
|
|
3389
|
+
source?: string | null;
|
|
3390
|
+
status: string;
|
|
3391
|
+
subscription_id?: string | null;
|
|
3392
|
+
};
|
|
3393
|
+
Update: {
|
|
3394
|
+
body_sample?: string | null;
|
|
3395
|
+
connection_id?: string | null;
|
|
3396
|
+
created_at?: string;
|
|
3397
|
+
error_message?: string | null;
|
|
3398
|
+
headers_sample?: Json | null;
|
|
3399
|
+
id?: string;
|
|
3400
|
+
notification_count?: number | null;
|
|
3401
|
+
provider?: string | null;
|
|
3402
|
+
source?: string | null;
|
|
3403
|
+
status?: string;
|
|
3404
|
+
subscription_id?: string | null;
|
|
3405
|
+
};
|
|
3406
|
+
Relationships: [
|
|
3407
|
+
{
|
|
3408
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3409
|
+
columns: ["connection_id"];
|
|
3410
|
+
isOneToOne: false;
|
|
3411
|
+
referencedRelation: "email_auth_connections";
|
|
3412
|
+
referencedColumns: ["id"];
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3416
|
+
columns: ["connection_id"];
|
|
3417
|
+
isOneToOne: false;
|
|
3418
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3419
|
+
referencedColumns: ["id"];
|
|
3420
|
+
}
|
|
3421
|
+
];
|
|
3422
|
+
};
|
|
3423
|
+
exact_account_analytics_cache: {
|
|
3424
|
+
Row: {
|
|
3425
|
+
account_id: string;
|
|
3426
|
+
account_name: string | null;
|
|
3427
|
+
avg_payment_days: number | null;
|
|
3428
|
+
computed_at: string;
|
|
3429
|
+
connection_id: string;
|
|
3430
|
+
expires_at: string | null;
|
|
3431
|
+
id: string;
|
|
3432
|
+
invoice_count: number | null;
|
|
3433
|
+
last_invoice_date: string | null;
|
|
3434
|
+
last_payment_date: string | null;
|
|
3435
|
+
open_balance: number | null;
|
|
3436
|
+
overdue_balance: number | null;
|
|
3437
|
+
total_revenue: number | null;
|
|
3438
|
+
};
|
|
3439
|
+
Insert: {
|
|
3440
|
+
account_id: string;
|
|
3441
|
+
account_name?: string | null;
|
|
3442
|
+
avg_payment_days?: number | null;
|
|
3443
|
+
computed_at?: string;
|
|
3444
|
+
connection_id: string;
|
|
3445
|
+
expires_at?: string | null;
|
|
3446
|
+
id?: string;
|
|
2851
3447
|
invoice_count?: number | null;
|
|
2852
3448
|
last_invoice_date?: string | null;
|
|
2853
3449
|
last_payment_date?: string | null;
|
|
@@ -6141,6 +6737,36 @@ export type Database = {
|
|
|
6141
6737
|
};
|
|
6142
6738
|
Relationships: [];
|
|
6143
6739
|
};
|
|
6740
|
+
invoice_post_idempotency: {
|
|
6741
|
+
Row: {
|
|
6742
|
+
client_request_id: string;
|
|
6743
|
+
completed_at: string | null;
|
|
6744
|
+
created_at: string;
|
|
6745
|
+
error_message: string | null;
|
|
6746
|
+
invoice_number: string | null;
|
|
6747
|
+
status: string;
|
|
6748
|
+
user_id: string;
|
|
6749
|
+
};
|
|
6750
|
+
Insert: {
|
|
6751
|
+
client_request_id: string;
|
|
6752
|
+
completed_at?: string | null;
|
|
6753
|
+
created_at?: string;
|
|
6754
|
+
error_message?: string | null;
|
|
6755
|
+
invoice_number?: string | null;
|
|
6756
|
+
status?: string;
|
|
6757
|
+
user_id: string;
|
|
6758
|
+
};
|
|
6759
|
+
Update: {
|
|
6760
|
+
client_request_id?: string;
|
|
6761
|
+
completed_at?: string | null;
|
|
6762
|
+
created_at?: string;
|
|
6763
|
+
error_message?: string | null;
|
|
6764
|
+
invoice_number?: string | null;
|
|
6765
|
+
status?: string;
|
|
6766
|
+
user_id?: string;
|
|
6767
|
+
};
|
|
6768
|
+
Relationships: [];
|
|
6769
|
+
};
|
|
6144
6770
|
invoice_push_log: {
|
|
6145
6771
|
Row: {
|
|
6146
6772
|
connection_id: string | null;
|
|
@@ -6544,6 +7170,60 @@ export type Database = {
|
|
|
6544
7170
|
}
|
|
6545
7171
|
];
|
|
6546
7172
|
};
|
|
7173
|
+
layout_logos: {
|
|
7174
|
+
Row: {
|
|
7175
|
+
bestand_url: string;
|
|
7176
|
+
bestandsgrootte: number;
|
|
7177
|
+
bestandspad: string | null;
|
|
7178
|
+
bestandstype: string;
|
|
7179
|
+
breedte: number;
|
|
7180
|
+
categorie: string;
|
|
7181
|
+
created_at: string;
|
|
7182
|
+
hash: string | null;
|
|
7183
|
+
hoogte: number;
|
|
7184
|
+
id: string;
|
|
7185
|
+
is_standaard: boolean;
|
|
7186
|
+
naam: string;
|
|
7187
|
+
omschrijving: string;
|
|
7188
|
+
transparant: boolean;
|
|
7189
|
+
updated_at: string;
|
|
7190
|
+
};
|
|
7191
|
+
Insert: {
|
|
7192
|
+
bestand_url: string;
|
|
7193
|
+
bestandsgrootte?: number;
|
|
7194
|
+
bestandspad?: string | null;
|
|
7195
|
+
bestandstype?: string;
|
|
7196
|
+
breedte?: number;
|
|
7197
|
+
categorie?: string;
|
|
7198
|
+
created_at?: string;
|
|
7199
|
+
hash?: string | null;
|
|
7200
|
+
hoogte?: number;
|
|
7201
|
+
id?: string;
|
|
7202
|
+
is_standaard?: boolean;
|
|
7203
|
+
naam: string;
|
|
7204
|
+
omschrijving?: string;
|
|
7205
|
+
transparant?: boolean;
|
|
7206
|
+
updated_at?: string;
|
|
7207
|
+
};
|
|
7208
|
+
Update: {
|
|
7209
|
+
bestand_url?: string;
|
|
7210
|
+
bestandsgrootte?: number;
|
|
7211
|
+
bestandspad?: string | null;
|
|
7212
|
+
bestandstype?: string;
|
|
7213
|
+
breedte?: number;
|
|
7214
|
+
categorie?: string;
|
|
7215
|
+
created_at?: string;
|
|
7216
|
+
hash?: string | null;
|
|
7217
|
+
hoogte?: number;
|
|
7218
|
+
id?: string;
|
|
7219
|
+
is_standaard?: boolean;
|
|
7220
|
+
naam?: string;
|
|
7221
|
+
omschrijving?: string;
|
|
7222
|
+
transparant?: boolean;
|
|
7223
|
+
updated_at?: string;
|
|
7224
|
+
};
|
|
7225
|
+
Relationships: [];
|
|
7226
|
+
};
|
|
6547
7227
|
leave_requests: {
|
|
6548
7228
|
Row: {
|
|
6549
7229
|
created_at: string;
|
|
@@ -7107,6 +7787,99 @@ export type Database = {
|
|
|
7107
7787
|
};
|
|
7108
7788
|
Relationships: [];
|
|
7109
7789
|
};
|
|
7790
|
+
mailbox_ai_goal_prompts: {
|
|
7791
|
+
Row: {
|
|
7792
|
+
created_at: string;
|
|
7793
|
+
goal_key: string;
|
|
7794
|
+
id: string;
|
|
7795
|
+
system_prompt: string;
|
|
7796
|
+
updated_at: string;
|
|
7797
|
+
};
|
|
7798
|
+
Insert: {
|
|
7799
|
+
created_at?: string;
|
|
7800
|
+
goal_key: string;
|
|
7801
|
+
id?: string;
|
|
7802
|
+
system_prompt?: string;
|
|
7803
|
+
updated_at?: string;
|
|
7804
|
+
};
|
|
7805
|
+
Update: {
|
|
7806
|
+
created_at?: string;
|
|
7807
|
+
goal_key?: string;
|
|
7808
|
+
id?: string;
|
|
7809
|
+
system_prompt?: string;
|
|
7810
|
+
updated_at?: string;
|
|
7811
|
+
};
|
|
7812
|
+
Relationships: [];
|
|
7813
|
+
};
|
|
7814
|
+
mailbox_ai_settings: {
|
|
7815
|
+
Row: {
|
|
7816
|
+
active_goal_key: string | null;
|
|
7817
|
+
created_at: string;
|
|
7818
|
+
enabled: boolean;
|
|
7819
|
+
id: string;
|
|
7820
|
+
required_fields: string[];
|
|
7821
|
+
singleton: boolean;
|
|
7822
|
+
system_prompt: string | null;
|
|
7823
|
+
updated_at: string;
|
|
7824
|
+
};
|
|
7825
|
+
Insert: {
|
|
7826
|
+
active_goal_key?: string | null;
|
|
7827
|
+
created_at?: string;
|
|
7828
|
+
enabled?: boolean;
|
|
7829
|
+
id?: string;
|
|
7830
|
+
required_fields?: string[];
|
|
7831
|
+
singleton?: boolean;
|
|
7832
|
+
system_prompt?: string | null;
|
|
7833
|
+
updated_at?: string;
|
|
7834
|
+
};
|
|
7835
|
+
Update: {
|
|
7836
|
+
active_goal_key?: string | null;
|
|
7837
|
+
created_at?: string;
|
|
7838
|
+
enabled?: boolean;
|
|
7839
|
+
id?: string;
|
|
7840
|
+
required_fields?: string[];
|
|
7841
|
+
singleton?: boolean;
|
|
7842
|
+
system_prompt?: string | null;
|
|
7843
|
+
updated_at?: string;
|
|
7844
|
+
};
|
|
7845
|
+
Relationships: [];
|
|
7846
|
+
};
|
|
7847
|
+
mailbox_ingest_runs: {
|
|
7848
|
+
Row: {
|
|
7849
|
+
connection_id: string | null;
|
|
7850
|
+
error_sample: string | null;
|
|
7851
|
+
errors: number;
|
|
7852
|
+
finished_at: string | null;
|
|
7853
|
+
id: string;
|
|
7854
|
+
inserted: number;
|
|
7855
|
+
processed: number;
|
|
7856
|
+
started_at: string;
|
|
7857
|
+
trigger: string;
|
|
7858
|
+
};
|
|
7859
|
+
Insert: {
|
|
7860
|
+
connection_id?: string | null;
|
|
7861
|
+
error_sample?: string | null;
|
|
7862
|
+
errors?: number;
|
|
7863
|
+
finished_at?: string | null;
|
|
7864
|
+
id?: string;
|
|
7865
|
+
inserted?: number;
|
|
7866
|
+
processed?: number;
|
|
7867
|
+
started_at?: string;
|
|
7868
|
+
trigger: string;
|
|
7869
|
+
};
|
|
7870
|
+
Update: {
|
|
7871
|
+
connection_id?: string | null;
|
|
7872
|
+
error_sample?: string | null;
|
|
7873
|
+
errors?: number;
|
|
7874
|
+
finished_at?: string | null;
|
|
7875
|
+
id?: string;
|
|
7876
|
+
inserted?: number;
|
|
7877
|
+
processed?: number;
|
|
7878
|
+
started_at?: string;
|
|
7879
|
+
trigger?: string;
|
|
7880
|
+
};
|
|
7881
|
+
Relationships: [];
|
|
7882
|
+
};
|
|
7110
7883
|
mailbox_messages: {
|
|
7111
7884
|
Row: {
|
|
7112
7885
|
body_html: string | null;
|
|
@@ -7191,6 +7964,7 @@ export type Database = {
|
|
|
7191
7964
|
};
|
|
7192
7965
|
mailbox_order_proposals: {
|
|
7193
7966
|
Row: {
|
|
7967
|
+
ai_validation: Json | null;
|
|
7194
7968
|
confidence: number | null;
|
|
7195
7969
|
created_at: string;
|
|
7196
7970
|
created_order_id: string | null;
|
|
@@ -7207,6 +7981,7 @@ export type Database = {
|
|
|
7207
7981
|
updated_at: string;
|
|
7208
7982
|
};
|
|
7209
7983
|
Insert: {
|
|
7984
|
+
ai_validation?: Json | null;
|
|
7210
7985
|
confidence?: number | null;
|
|
7211
7986
|
created_at?: string;
|
|
7212
7987
|
created_order_id?: string | null;
|
|
@@ -7223,6 +7998,7 @@ export type Database = {
|
|
|
7223
7998
|
updated_at?: string;
|
|
7224
7999
|
};
|
|
7225
8000
|
Update: {
|
|
8001
|
+
ai_validation?: Json | null;
|
|
7226
8002
|
confidence?: number | null;
|
|
7227
8003
|
created_at?: string;
|
|
7228
8004
|
created_order_id?: string | null;
|
|
@@ -7365,6 +8141,7 @@ export type Database = {
|
|
|
7365
8141
|
created_at: string;
|
|
7366
8142
|
id: string;
|
|
7367
8143
|
match_confidence: number | null;
|
|
8144
|
+
plant_type: string | null;
|
|
7368
8145
|
product_id: string | null;
|
|
7369
8146
|
proposal_id: string;
|
|
7370
8147
|
quantity: number | null;
|
|
@@ -7377,6 +8154,7 @@ export type Database = {
|
|
|
7377
8154
|
created_at?: string;
|
|
7378
8155
|
id?: string;
|
|
7379
8156
|
match_confidence?: number | null;
|
|
8157
|
+
plant_type?: string | null;
|
|
7380
8158
|
product_id?: string | null;
|
|
7381
8159
|
proposal_id: string;
|
|
7382
8160
|
quantity?: number | null;
|
|
@@ -7389,6 +8167,7 @@ export type Database = {
|
|
|
7389
8167
|
created_at?: string;
|
|
7390
8168
|
id?: string;
|
|
7391
8169
|
match_confidence?: number | null;
|
|
8170
|
+
plant_type?: string | null;
|
|
7392
8171
|
product_id?: string | null;
|
|
7393
8172
|
proposal_id?: string;
|
|
7394
8173
|
quantity?: number | null;
|
|
@@ -7580,6 +8359,39 @@ export type Database = {
|
|
|
7580
8359
|
};
|
|
7581
8360
|
Relationships: [];
|
|
7582
8361
|
};
|
|
8362
|
+
modules: {
|
|
8363
|
+
Row: {
|
|
8364
|
+
created_at: string;
|
|
8365
|
+
description: string | null;
|
|
8366
|
+
id: string;
|
|
8367
|
+
is_active: boolean;
|
|
8368
|
+
last_seen_at: string | null;
|
|
8369
|
+
module_key: string;
|
|
8370
|
+
module_name: string;
|
|
8371
|
+
updated_at: string;
|
|
8372
|
+
};
|
|
8373
|
+
Insert: {
|
|
8374
|
+
created_at?: string;
|
|
8375
|
+
description?: string | null;
|
|
8376
|
+
id?: string;
|
|
8377
|
+
is_active?: boolean;
|
|
8378
|
+
last_seen_at?: string | null;
|
|
8379
|
+
module_key: string;
|
|
8380
|
+
module_name: string;
|
|
8381
|
+
updated_at?: string;
|
|
8382
|
+
};
|
|
8383
|
+
Update: {
|
|
8384
|
+
created_at?: string;
|
|
8385
|
+
description?: string | null;
|
|
8386
|
+
id?: string;
|
|
8387
|
+
is_active?: boolean;
|
|
8388
|
+
last_seen_at?: string | null;
|
|
8389
|
+
module_key?: string;
|
|
8390
|
+
module_name?: string;
|
|
8391
|
+
updated_at?: string;
|
|
8392
|
+
};
|
|
8393
|
+
Relationships: [];
|
|
8394
|
+
};
|
|
7583
8395
|
monteurs: {
|
|
7584
8396
|
Row: {
|
|
7585
8397
|
avatar_url: string | null;
|
|
@@ -8865,25 +9677,938 @@ export type Database = {
|
|
|
8865
9677
|
};
|
|
8866
9678
|
Relationships: [];
|
|
8867
9679
|
};
|
|
8868
|
-
|
|
9680
|
+
pick_countries: {
|
|
8869
9681
|
Row: {
|
|
8870
|
-
|
|
8871
|
-
|
|
9682
|
+
active: boolean;
|
|
9683
|
+
code: string;
|
|
9684
|
+
created_at: string;
|
|
9685
|
+
flag: string | null;
|
|
8872
9686
|
id: string;
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
printed_at: string;
|
|
9687
|
+
name: string;
|
|
9688
|
+
sort_order: number;
|
|
9689
|
+
updated_at: string;
|
|
8877
9690
|
};
|
|
8878
9691
|
Insert: {
|
|
8879
|
-
|
|
8880
|
-
|
|
9692
|
+
active?: boolean;
|
|
9693
|
+
code: string;
|
|
9694
|
+
created_at?: string;
|
|
9695
|
+
flag?: string | null;
|
|
8881
9696
|
id?: string;
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
9697
|
+
name: string;
|
|
9698
|
+
sort_order?: number;
|
|
9699
|
+
updated_at?: string;
|
|
9700
|
+
};
|
|
9701
|
+
Update: {
|
|
9702
|
+
active?: boolean;
|
|
9703
|
+
code?: string;
|
|
9704
|
+
created_at?: string;
|
|
9705
|
+
flag?: string | null;
|
|
9706
|
+
id?: string;
|
|
9707
|
+
name?: string;
|
|
9708
|
+
sort_order?: number;
|
|
9709
|
+
updated_at?: string;
|
|
9710
|
+
};
|
|
9711
|
+
Relationships: [];
|
|
9712
|
+
};
|
|
9713
|
+
pick_document_statuses: {
|
|
9714
|
+
Row: {
|
|
9715
|
+
active: boolean;
|
|
9716
|
+
code: string;
|
|
9717
|
+
color: string | null;
|
|
9718
|
+
created_at: string;
|
|
9719
|
+
id: string;
|
|
9720
|
+
is_open: boolean;
|
|
9721
|
+
is_terminal: boolean;
|
|
9722
|
+
name: string;
|
|
9723
|
+
sort_order: number;
|
|
9724
|
+
updated_at: string;
|
|
9725
|
+
};
|
|
9726
|
+
Insert: {
|
|
9727
|
+
active?: boolean;
|
|
9728
|
+
code: string;
|
|
9729
|
+
color?: string | null;
|
|
9730
|
+
created_at?: string;
|
|
9731
|
+
id?: string;
|
|
9732
|
+
is_open?: boolean;
|
|
9733
|
+
is_terminal?: boolean;
|
|
9734
|
+
name: string;
|
|
9735
|
+
sort_order?: number;
|
|
9736
|
+
updated_at?: string;
|
|
9737
|
+
};
|
|
9738
|
+
Update: {
|
|
9739
|
+
active?: boolean;
|
|
9740
|
+
code?: string;
|
|
9741
|
+
color?: string | null;
|
|
9742
|
+
created_at?: string;
|
|
9743
|
+
id?: string;
|
|
9744
|
+
is_open?: boolean;
|
|
9745
|
+
is_terminal?: boolean;
|
|
9746
|
+
name?: string;
|
|
9747
|
+
sort_order?: number;
|
|
9748
|
+
updated_at?: string;
|
|
9749
|
+
};
|
|
9750
|
+
Relationships: [];
|
|
9751
|
+
};
|
|
9752
|
+
pick_document_types: {
|
|
9753
|
+
Row: {
|
|
9754
|
+
active: boolean;
|
|
9755
|
+
code: string;
|
|
9756
|
+
color: string | null;
|
|
9757
|
+
created_at: string;
|
|
9758
|
+
description: string | null;
|
|
9759
|
+
icon: string | null;
|
|
9760
|
+
id: string;
|
|
9761
|
+
name: string;
|
|
9762
|
+
print_template: string | null;
|
|
9763
|
+
printer_id: string | null;
|
|
9764
|
+
priority: number;
|
|
9765
|
+
report_key: string | null;
|
|
9766
|
+
sort_order: number;
|
|
9767
|
+
updated_at: string;
|
|
9768
|
+
workflow: Json;
|
|
9769
|
+
};
|
|
9770
|
+
Insert: {
|
|
9771
|
+
active?: boolean;
|
|
9772
|
+
code: string;
|
|
9773
|
+
color?: string | null;
|
|
9774
|
+
created_at?: string;
|
|
9775
|
+
description?: string | null;
|
|
9776
|
+
icon?: string | null;
|
|
9777
|
+
id?: string;
|
|
9778
|
+
name: string;
|
|
9779
|
+
print_template?: string | null;
|
|
9780
|
+
printer_id?: string | null;
|
|
9781
|
+
priority?: number;
|
|
9782
|
+
report_key?: string | null;
|
|
9783
|
+
sort_order?: number;
|
|
9784
|
+
updated_at?: string;
|
|
9785
|
+
workflow?: Json;
|
|
9786
|
+
};
|
|
9787
|
+
Update: {
|
|
9788
|
+
active?: boolean;
|
|
9789
|
+
code?: string;
|
|
9790
|
+
color?: string | null;
|
|
9791
|
+
created_at?: string;
|
|
9792
|
+
description?: string | null;
|
|
9793
|
+
icon?: string | null;
|
|
9794
|
+
id?: string;
|
|
9795
|
+
name?: string;
|
|
9796
|
+
print_template?: string | null;
|
|
9797
|
+
printer_id?: string | null;
|
|
9798
|
+
priority?: number;
|
|
9799
|
+
report_key?: string | null;
|
|
9800
|
+
sort_order?: number;
|
|
9801
|
+
updated_at?: string;
|
|
9802
|
+
workflow?: Json;
|
|
9803
|
+
};
|
|
9804
|
+
Relationships: [
|
|
9805
|
+
{
|
|
9806
|
+
foreignKeyName: "pick_document_types_printer_id_fkey";
|
|
9807
|
+
columns: ["printer_id"];
|
|
9808
|
+
isOneToOne: false;
|
|
9809
|
+
referencedRelation: "pick_station_printers";
|
|
9810
|
+
referencedColumns: ["id"];
|
|
9811
|
+
}
|
|
9812
|
+
];
|
|
9813
|
+
};
|
|
9814
|
+
pick_queue: {
|
|
9815
|
+
Row: {
|
|
9816
|
+
announced_at: string;
|
|
9817
|
+
assigned_user_id: string | null;
|
|
9818
|
+
barcode: string | null;
|
|
9819
|
+
cancelled_at: string | null;
|
|
9820
|
+
cart_count: number;
|
|
9821
|
+
completed_at: string | null;
|
|
9822
|
+
country_code: string | null;
|
|
9823
|
+
created_at: string;
|
|
9824
|
+
customer_name: string | null;
|
|
9825
|
+
delivery_address: string | null;
|
|
9826
|
+
document_number: string | null;
|
|
9827
|
+
document_type_id: string | null;
|
|
9828
|
+
due_at: string | null;
|
|
9829
|
+
id: string;
|
|
9830
|
+
is_urgent: boolean;
|
|
9831
|
+
line_count: number;
|
|
9832
|
+
order_number: string | null;
|
|
9833
|
+
order_type: string | null;
|
|
9834
|
+
payload: Json;
|
|
9835
|
+
print_count: number;
|
|
9836
|
+
printed_at: string | null;
|
|
9837
|
+
printed_by: string | null;
|
|
9838
|
+
printer_id: string | null;
|
|
9839
|
+
priority: number;
|
|
9840
|
+
reference: string | null;
|
|
9841
|
+
route: string | null;
|
|
9842
|
+
screen_id: string | null;
|
|
9843
|
+
station_id: string | null;
|
|
9844
|
+
status_id: string | null;
|
|
9845
|
+
updated_at: string;
|
|
9846
|
+
warnings: Json;
|
|
9847
|
+
};
|
|
9848
|
+
Insert: {
|
|
9849
|
+
announced_at?: string;
|
|
9850
|
+
assigned_user_id?: string | null;
|
|
9851
|
+
barcode?: string | null;
|
|
9852
|
+
cancelled_at?: string | null;
|
|
9853
|
+
cart_count?: number;
|
|
9854
|
+
completed_at?: string | null;
|
|
9855
|
+
country_code?: string | null;
|
|
9856
|
+
created_at?: string;
|
|
9857
|
+
customer_name?: string | null;
|
|
9858
|
+
delivery_address?: string | null;
|
|
9859
|
+
document_number?: string | null;
|
|
9860
|
+
document_type_id?: string | null;
|
|
9861
|
+
due_at?: string | null;
|
|
9862
|
+
id?: string;
|
|
9863
|
+
is_urgent?: boolean;
|
|
9864
|
+
line_count?: number;
|
|
9865
|
+
order_number?: string | null;
|
|
9866
|
+
order_type?: string | null;
|
|
9867
|
+
payload?: Json;
|
|
9868
|
+
print_count?: number;
|
|
9869
|
+
printed_at?: string | null;
|
|
9870
|
+
printed_by?: string | null;
|
|
9871
|
+
printer_id?: string | null;
|
|
9872
|
+
priority?: number;
|
|
9873
|
+
reference?: string | null;
|
|
9874
|
+
route?: string | null;
|
|
9875
|
+
screen_id?: string | null;
|
|
9876
|
+
station_id?: string | null;
|
|
9877
|
+
status_id?: string | null;
|
|
9878
|
+
updated_at?: string;
|
|
9879
|
+
warnings?: Json;
|
|
9880
|
+
};
|
|
9881
|
+
Update: {
|
|
9882
|
+
announced_at?: string;
|
|
9883
|
+
assigned_user_id?: string | null;
|
|
9884
|
+
barcode?: string | null;
|
|
9885
|
+
cancelled_at?: string | null;
|
|
9886
|
+
cart_count?: number;
|
|
9887
|
+
completed_at?: string | null;
|
|
9888
|
+
country_code?: string | null;
|
|
9889
|
+
created_at?: string;
|
|
9890
|
+
customer_name?: string | null;
|
|
9891
|
+
delivery_address?: string | null;
|
|
9892
|
+
document_number?: string | null;
|
|
9893
|
+
document_type_id?: string | null;
|
|
9894
|
+
due_at?: string | null;
|
|
9895
|
+
id?: string;
|
|
9896
|
+
is_urgent?: boolean;
|
|
9897
|
+
line_count?: number;
|
|
9898
|
+
order_number?: string | null;
|
|
9899
|
+
order_type?: string | null;
|
|
9900
|
+
payload?: Json;
|
|
9901
|
+
print_count?: number;
|
|
9902
|
+
printed_at?: string | null;
|
|
9903
|
+
printed_by?: string | null;
|
|
9904
|
+
printer_id?: string | null;
|
|
9905
|
+
priority?: number;
|
|
9906
|
+
reference?: string | null;
|
|
9907
|
+
route?: string | null;
|
|
9908
|
+
screen_id?: string | null;
|
|
9909
|
+
station_id?: string | null;
|
|
9910
|
+
status_id?: string | null;
|
|
9911
|
+
updated_at?: string;
|
|
9912
|
+
warnings?: Json;
|
|
9913
|
+
};
|
|
9914
|
+
Relationships: [
|
|
9915
|
+
{
|
|
9916
|
+
foreignKeyName: "pick_queue_document_type_id_fkey";
|
|
9917
|
+
columns: ["document_type_id"];
|
|
9918
|
+
isOneToOne: false;
|
|
9919
|
+
referencedRelation: "pick_document_types";
|
|
9920
|
+
referencedColumns: ["id"];
|
|
9921
|
+
},
|
|
9922
|
+
{
|
|
9923
|
+
foreignKeyName: "pick_queue_printer_id_fkey";
|
|
9924
|
+
columns: ["printer_id"];
|
|
9925
|
+
isOneToOne: false;
|
|
9926
|
+
referencedRelation: "pick_station_printers";
|
|
9927
|
+
referencedColumns: ["id"];
|
|
9928
|
+
},
|
|
9929
|
+
{
|
|
9930
|
+
foreignKeyName: "pick_queue_screen_id_fkey";
|
|
9931
|
+
columns: ["screen_id"];
|
|
9932
|
+
isOneToOne: false;
|
|
9933
|
+
referencedRelation: "pick_station_screens";
|
|
9934
|
+
referencedColumns: ["id"];
|
|
9935
|
+
},
|
|
9936
|
+
{
|
|
9937
|
+
foreignKeyName: "pick_queue_station_id_fkey";
|
|
9938
|
+
columns: ["station_id"];
|
|
9939
|
+
isOneToOne: false;
|
|
9940
|
+
referencedRelation: "pick_stations";
|
|
9941
|
+
referencedColumns: ["id"];
|
|
9942
|
+
},
|
|
9943
|
+
{
|
|
9944
|
+
foreignKeyName: "pick_queue_status_id_fkey";
|
|
9945
|
+
columns: ["status_id"];
|
|
9946
|
+
isOneToOne: false;
|
|
9947
|
+
referencedRelation: "pick_document_statuses";
|
|
9948
|
+
referencedColumns: ["id"];
|
|
9949
|
+
}
|
|
9950
|
+
];
|
|
9951
|
+
};
|
|
9952
|
+
pick_queue_locks: {
|
|
9953
|
+
Row: {
|
|
9954
|
+
expires_at: string;
|
|
9955
|
+
id: string;
|
|
9956
|
+
locked_at: string;
|
|
9957
|
+
locked_by: string | null;
|
|
9958
|
+
queue_item_id: string;
|
|
9959
|
+
screen_id: string | null;
|
|
9960
|
+
session_id: string | null;
|
|
9961
|
+
station_id: string | null;
|
|
9962
|
+
};
|
|
9963
|
+
Insert: {
|
|
9964
|
+
expires_at?: string;
|
|
9965
|
+
id?: string;
|
|
9966
|
+
locked_at?: string;
|
|
9967
|
+
locked_by?: string | null;
|
|
9968
|
+
queue_item_id: string;
|
|
9969
|
+
screen_id?: string | null;
|
|
9970
|
+
session_id?: string | null;
|
|
9971
|
+
station_id?: string | null;
|
|
9972
|
+
};
|
|
9973
|
+
Update: {
|
|
9974
|
+
expires_at?: string;
|
|
9975
|
+
id?: string;
|
|
9976
|
+
locked_at?: string;
|
|
9977
|
+
locked_by?: string | null;
|
|
9978
|
+
queue_item_id?: string;
|
|
9979
|
+
screen_id?: string | null;
|
|
9980
|
+
session_id?: string | null;
|
|
9981
|
+
station_id?: string | null;
|
|
9982
|
+
};
|
|
9983
|
+
Relationships: [
|
|
9984
|
+
{
|
|
9985
|
+
foreignKeyName: "pick_queue_locks_queue_item_id_fkey";
|
|
9986
|
+
columns: ["queue_item_id"];
|
|
9987
|
+
isOneToOne: true;
|
|
9988
|
+
referencedRelation: "pick_queue";
|
|
9989
|
+
referencedColumns: ["id"];
|
|
9990
|
+
},
|
|
9991
|
+
{
|
|
9992
|
+
foreignKeyName: "pick_queue_locks_screen_id_fkey";
|
|
9993
|
+
columns: ["screen_id"];
|
|
9994
|
+
isOneToOne: false;
|
|
9995
|
+
referencedRelation: "pick_station_screens";
|
|
9996
|
+
referencedColumns: ["id"];
|
|
9997
|
+
},
|
|
9998
|
+
{
|
|
9999
|
+
foreignKeyName: "pick_queue_locks_station_id_fkey";
|
|
10000
|
+
columns: ["station_id"];
|
|
10001
|
+
isOneToOne: false;
|
|
10002
|
+
referencedRelation: "pick_stations";
|
|
10003
|
+
referencedColumns: ["id"];
|
|
10004
|
+
}
|
|
10005
|
+
];
|
|
10006
|
+
};
|
|
10007
|
+
pick_screen_document_types: {
|
|
10008
|
+
Row: {
|
|
10009
|
+
created_at: string;
|
|
10010
|
+
document_type_id: string;
|
|
10011
|
+
id: string;
|
|
10012
|
+
print_order: number;
|
|
10013
|
+
printer_id: string | null;
|
|
10014
|
+
screen_id: string;
|
|
10015
|
+
};
|
|
10016
|
+
Insert: {
|
|
10017
|
+
created_at?: string;
|
|
10018
|
+
document_type_id: string;
|
|
10019
|
+
id?: string;
|
|
10020
|
+
print_order?: number;
|
|
10021
|
+
printer_id?: string | null;
|
|
10022
|
+
screen_id: string;
|
|
10023
|
+
};
|
|
10024
|
+
Update: {
|
|
10025
|
+
created_at?: string;
|
|
10026
|
+
document_type_id?: string;
|
|
10027
|
+
id?: string;
|
|
10028
|
+
print_order?: number;
|
|
10029
|
+
printer_id?: string | null;
|
|
10030
|
+
screen_id?: string;
|
|
10031
|
+
};
|
|
10032
|
+
Relationships: [
|
|
10033
|
+
{
|
|
10034
|
+
foreignKeyName: "pick_screen_document_types_document_type_id_fkey";
|
|
10035
|
+
columns: ["document_type_id"];
|
|
10036
|
+
isOneToOne: false;
|
|
10037
|
+
referencedRelation: "pick_document_types";
|
|
10038
|
+
referencedColumns: ["id"];
|
|
10039
|
+
},
|
|
10040
|
+
{
|
|
10041
|
+
foreignKeyName: "pick_screen_document_types_printer_id_fkey";
|
|
10042
|
+
columns: ["printer_id"];
|
|
10043
|
+
isOneToOne: false;
|
|
10044
|
+
referencedRelation: "pick_station_printers";
|
|
10045
|
+
referencedColumns: ["id"];
|
|
10046
|
+
},
|
|
10047
|
+
{
|
|
10048
|
+
foreignKeyName: "pick_screen_document_types_screen_id_fkey";
|
|
10049
|
+
columns: ["screen_id"];
|
|
10050
|
+
isOneToOne: false;
|
|
10051
|
+
referencedRelation: "pick_station_screens";
|
|
10052
|
+
referencedColumns: ["id"];
|
|
10053
|
+
}
|
|
10054
|
+
];
|
|
10055
|
+
};
|
|
10056
|
+
pick_station_heartbeats: {
|
|
10057
|
+
Row: {
|
|
10058
|
+
browser: string | null;
|
|
10059
|
+
created_at: string;
|
|
10060
|
+
id: string;
|
|
10061
|
+
ip_address: string | null;
|
|
10062
|
+
last_seen_at: string;
|
|
10063
|
+
screen_id: string | null;
|
|
10064
|
+
session_id: string;
|
|
10065
|
+
station_id: string;
|
|
10066
|
+
user_id: string | null;
|
|
10067
|
+
};
|
|
10068
|
+
Insert: {
|
|
10069
|
+
browser?: string | null;
|
|
10070
|
+
created_at?: string;
|
|
10071
|
+
id?: string;
|
|
10072
|
+
ip_address?: string | null;
|
|
10073
|
+
last_seen_at?: string;
|
|
10074
|
+
screen_id?: string | null;
|
|
10075
|
+
session_id: string;
|
|
10076
|
+
station_id: string;
|
|
10077
|
+
user_id?: string | null;
|
|
10078
|
+
};
|
|
10079
|
+
Update: {
|
|
10080
|
+
browser?: string | null;
|
|
10081
|
+
created_at?: string;
|
|
10082
|
+
id?: string;
|
|
10083
|
+
ip_address?: string | null;
|
|
10084
|
+
last_seen_at?: string;
|
|
10085
|
+
screen_id?: string | null;
|
|
10086
|
+
session_id?: string;
|
|
10087
|
+
station_id?: string;
|
|
10088
|
+
user_id?: string | null;
|
|
10089
|
+
};
|
|
10090
|
+
Relationships: [
|
|
10091
|
+
{
|
|
10092
|
+
foreignKeyName: "pick_station_heartbeats_screen_id_fkey";
|
|
10093
|
+
columns: ["screen_id"];
|
|
10094
|
+
isOneToOne: false;
|
|
10095
|
+
referencedRelation: "pick_station_screens";
|
|
10096
|
+
referencedColumns: ["id"];
|
|
10097
|
+
},
|
|
10098
|
+
{
|
|
10099
|
+
foreignKeyName: "pick_station_heartbeats_station_id_fkey";
|
|
10100
|
+
columns: ["station_id"];
|
|
10101
|
+
isOneToOne: false;
|
|
10102
|
+
referencedRelation: "pick_stations";
|
|
10103
|
+
referencedColumns: ["id"];
|
|
10104
|
+
}
|
|
10105
|
+
];
|
|
10106
|
+
};
|
|
10107
|
+
pick_station_history: {
|
|
10108
|
+
Row: {
|
|
10109
|
+
action: string;
|
|
10110
|
+
changed_by: string | null;
|
|
10111
|
+
created_at: string;
|
|
10112
|
+
entity_id: string;
|
|
10113
|
+
entity_table: string;
|
|
10114
|
+
id: string;
|
|
10115
|
+
new_data: Json | null;
|
|
10116
|
+
old_data: Json | null;
|
|
10117
|
+
};
|
|
10118
|
+
Insert: {
|
|
10119
|
+
action: string;
|
|
10120
|
+
changed_by?: string | null;
|
|
10121
|
+
created_at?: string;
|
|
10122
|
+
entity_id: string;
|
|
10123
|
+
entity_table: string;
|
|
10124
|
+
id?: string;
|
|
10125
|
+
new_data?: Json | null;
|
|
10126
|
+
old_data?: Json | null;
|
|
10127
|
+
};
|
|
10128
|
+
Update: {
|
|
10129
|
+
action?: string;
|
|
10130
|
+
changed_by?: string | null;
|
|
10131
|
+
created_at?: string;
|
|
10132
|
+
entity_id?: string;
|
|
10133
|
+
entity_table?: string;
|
|
10134
|
+
id?: string;
|
|
10135
|
+
new_data?: Json | null;
|
|
10136
|
+
old_data?: Json | null;
|
|
10137
|
+
};
|
|
10138
|
+
Relationships: [];
|
|
10139
|
+
};
|
|
10140
|
+
pick_station_logs: {
|
|
10141
|
+
Row: {
|
|
10142
|
+
action: string;
|
|
10143
|
+
browser: string | null;
|
|
10144
|
+
created_at: string;
|
|
10145
|
+
detail: Json;
|
|
10146
|
+
duration_ms: number | null;
|
|
10147
|
+
id: string;
|
|
10148
|
+
ip_address: string | null;
|
|
10149
|
+
printer_id: string | null;
|
|
10150
|
+
queue_item_id: string | null;
|
|
10151
|
+
screen_id: string | null;
|
|
10152
|
+
session_id: string | null;
|
|
10153
|
+
station_id: string | null;
|
|
10154
|
+
user_id: string | null;
|
|
10155
|
+
};
|
|
10156
|
+
Insert: {
|
|
10157
|
+
action: string;
|
|
10158
|
+
browser?: string | null;
|
|
10159
|
+
created_at?: string;
|
|
10160
|
+
detail?: Json;
|
|
10161
|
+
duration_ms?: number | null;
|
|
10162
|
+
id?: string;
|
|
10163
|
+
ip_address?: string | null;
|
|
10164
|
+
printer_id?: string | null;
|
|
10165
|
+
queue_item_id?: string | null;
|
|
10166
|
+
screen_id?: string | null;
|
|
10167
|
+
session_id?: string | null;
|
|
10168
|
+
station_id?: string | null;
|
|
10169
|
+
user_id?: string | null;
|
|
10170
|
+
};
|
|
10171
|
+
Update: {
|
|
10172
|
+
action?: string;
|
|
10173
|
+
browser?: string | null;
|
|
10174
|
+
created_at?: string;
|
|
10175
|
+
detail?: Json;
|
|
10176
|
+
duration_ms?: number | null;
|
|
10177
|
+
id?: string;
|
|
10178
|
+
ip_address?: string | null;
|
|
10179
|
+
printer_id?: string | null;
|
|
10180
|
+
queue_item_id?: string | null;
|
|
10181
|
+
screen_id?: string | null;
|
|
10182
|
+
session_id?: string | null;
|
|
10183
|
+
station_id?: string | null;
|
|
10184
|
+
user_id?: string | null;
|
|
10185
|
+
};
|
|
10186
|
+
Relationships: [];
|
|
10187
|
+
};
|
|
10188
|
+
pick_station_permissions: {
|
|
10189
|
+
Row: {
|
|
10190
|
+
can_break_lock: boolean;
|
|
10191
|
+
can_cancel: boolean;
|
|
10192
|
+
can_print: boolean;
|
|
10193
|
+
can_reprint: boolean;
|
|
10194
|
+
country_code: string | null;
|
|
10195
|
+
created_at: string;
|
|
10196
|
+
id: string;
|
|
10197
|
+
station_id: string | null;
|
|
10198
|
+
task_id: string | null;
|
|
10199
|
+
updated_at: string;
|
|
10200
|
+
urgent_only: boolean;
|
|
10201
|
+
user_id: string;
|
|
10202
|
+
};
|
|
10203
|
+
Insert: {
|
|
10204
|
+
can_break_lock?: boolean;
|
|
10205
|
+
can_cancel?: boolean;
|
|
10206
|
+
can_print?: boolean;
|
|
10207
|
+
can_reprint?: boolean;
|
|
10208
|
+
country_code?: string | null;
|
|
10209
|
+
created_at?: string;
|
|
10210
|
+
id?: string;
|
|
10211
|
+
station_id?: string | null;
|
|
10212
|
+
task_id?: string | null;
|
|
10213
|
+
updated_at?: string;
|
|
10214
|
+
urgent_only?: boolean;
|
|
10215
|
+
user_id: string;
|
|
10216
|
+
};
|
|
10217
|
+
Update: {
|
|
10218
|
+
can_break_lock?: boolean;
|
|
10219
|
+
can_cancel?: boolean;
|
|
10220
|
+
can_print?: boolean;
|
|
10221
|
+
can_reprint?: boolean;
|
|
10222
|
+
country_code?: string | null;
|
|
10223
|
+
created_at?: string;
|
|
10224
|
+
id?: string;
|
|
10225
|
+
station_id?: string | null;
|
|
10226
|
+
task_id?: string | null;
|
|
10227
|
+
updated_at?: string;
|
|
10228
|
+
urgent_only?: boolean;
|
|
10229
|
+
user_id?: string;
|
|
10230
|
+
};
|
|
10231
|
+
Relationships: [
|
|
10232
|
+
{
|
|
10233
|
+
foreignKeyName: "pick_station_permissions_station_id_fkey";
|
|
10234
|
+
columns: ["station_id"];
|
|
10235
|
+
isOneToOne: false;
|
|
10236
|
+
referencedRelation: "pick_stations";
|
|
10237
|
+
referencedColumns: ["id"];
|
|
10238
|
+
},
|
|
10239
|
+
{
|
|
10240
|
+
foreignKeyName: "pick_station_permissions_task_id_fkey";
|
|
10241
|
+
columns: ["task_id"];
|
|
10242
|
+
isOneToOne: false;
|
|
10243
|
+
referencedRelation: "pick_station_tasks";
|
|
10244
|
+
referencedColumns: ["id"];
|
|
10245
|
+
}
|
|
10246
|
+
];
|
|
10247
|
+
};
|
|
10248
|
+
pick_station_printers: {
|
|
10249
|
+
Row: {
|
|
10250
|
+
active: boolean;
|
|
10251
|
+
code: string | null;
|
|
10252
|
+
config: Json;
|
|
10253
|
+
connection: string | null;
|
|
10254
|
+
created_at: string;
|
|
10255
|
+
id: string;
|
|
10256
|
+
last_seen_at: string | null;
|
|
10257
|
+
location: string | null;
|
|
10258
|
+
name: string;
|
|
10259
|
+
status: string;
|
|
10260
|
+
status_message: string | null;
|
|
10261
|
+
target: string | null;
|
|
10262
|
+
updated_at: string;
|
|
10263
|
+
};
|
|
10264
|
+
Insert: {
|
|
10265
|
+
active?: boolean;
|
|
10266
|
+
code?: string | null;
|
|
10267
|
+
config?: Json;
|
|
10268
|
+
connection?: string | null;
|
|
10269
|
+
created_at?: string;
|
|
10270
|
+
id?: string;
|
|
10271
|
+
last_seen_at?: string | null;
|
|
10272
|
+
location?: string | null;
|
|
10273
|
+
name: string;
|
|
10274
|
+
status?: string;
|
|
10275
|
+
status_message?: string | null;
|
|
10276
|
+
target?: string | null;
|
|
10277
|
+
updated_at?: string;
|
|
10278
|
+
};
|
|
10279
|
+
Update: {
|
|
10280
|
+
active?: boolean;
|
|
10281
|
+
code?: string | null;
|
|
10282
|
+
config?: Json;
|
|
10283
|
+
connection?: string | null;
|
|
10284
|
+
created_at?: string;
|
|
10285
|
+
id?: string;
|
|
10286
|
+
last_seen_at?: string | null;
|
|
10287
|
+
location?: string | null;
|
|
10288
|
+
name?: string;
|
|
10289
|
+
status?: string;
|
|
10290
|
+
status_message?: string | null;
|
|
10291
|
+
target?: string | null;
|
|
10292
|
+
updated_at?: string;
|
|
10293
|
+
};
|
|
10294
|
+
Relationships: [];
|
|
10295
|
+
};
|
|
10296
|
+
pick_station_screens: {
|
|
10297
|
+
Row: {
|
|
10298
|
+
active: boolean;
|
|
10299
|
+
config: Json;
|
|
10300
|
+
created_at: string;
|
|
10301
|
+
description: string | null;
|
|
10302
|
+
filters: Json;
|
|
10303
|
+
id: string;
|
|
10304
|
+
name: string;
|
|
10305
|
+
printer_id: string | null;
|
|
10306
|
+
screen_type: string;
|
|
10307
|
+
sort_order: number;
|
|
10308
|
+
sort_rules: Json | null;
|
|
10309
|
+
station_id: string;
|
|
10310
|
+
updated_at: string;
|
|
10311
|
+
};
|
|
10312
|
+
Insert: {
|
|
10313
|
+
active?: boolean;
|
|
10314
|
+
config?: Json;
|
|
10315
|
+
created_at?: string;
|
|
10316
|
+
description?: string | null;
|
|
10317
|
+
filters?: Json;
|
|
10318
|
+
id?: string;
|
|
10319
|
+
name: string;
|
|
10320
|
+
printer_id?: string | null;
|
|
10321
|
+
screen_type?: string;
|
|
10322
|
+
sort_order?: number;
|
|
10323
|
+
sort_rules?: Json | null;
|
|
10324
|
+
station_id: string;
|
|
10325
|
+
updated_at?: string;
|
|
10326
|
+
};
|
|
10327
|
+
Update: {
|
|
10328
|
+
active?: boolean;
|
|
10329
|
+
config?: Json;
|
|
10330
|
+
created_at?: string;
|
|
10331
|
+
description?: string | null;
|
|
10332
|
+
filters?: Json;
|
|
10333
|
+
id?: string;
|
|
10334
|
+
name?: string;
|
|
10335
|
+
printer_id?: string | null;
|
|
10336
|
+
screen_type?: string;
|
|
10337
|
+
sort_order?: number;
|
|
10338
|
+
sort_rules?: Json | null;
|
|
10339
|
+
station_id?: string;
|
|
10340
|
+
updated_at?: string;
|
|
10341
|
+
};
|
|
10342
|
+
Relationships: [
|
|
10343
|
+
{
|
|
10344
|
+
foreignKeyName: "pick_station_screens_printer_id_fkey";
|
|
10345
|
+
columns: ["printer_id"];
|
|
10346
|
+
isOneToOne: false;
|
|
10347
|
+
referencedRelation: "pick_station_printers";
|
|
10348
|
+
referencedColumns: ["id"];
|
|
10349
|
+
},
|
|
10350
|
+
{
|
|
10351
|
+
foreignKeyName: "pick_station_screens_station_id_fkey";
|
|
10352
|
+
columns: ["station_id"];
|
|
10353
|
+
isOneToOne: false;
|
|
10354
|
+
referencedRelation: "pick_stations";
|
|
10355
|
+
referencedColumns: ["id"];
|
|
10356
|
+
}
|
|
10357
|
+
];
|
|
10358
|
+
};
|
|
10359
|
+
pick_station_tasks: {
|
|
10360
|
+
Row: {
|
|
10361
|
+
active: boolean;
|
|
10362
|
+
code: string;
|
|
10363
|
+
color: string | null;
|
|
10364
|
+
created_at: string;
|
|
10365
|
+
description: string | null;
|
|
10366
|
+
icon: string | null;
|
|
10367
|
+
id: string;
|
|
10368
|
+
name: string;
|
|
10369
|
+
sort_order: number;
|
|
10370
|
+
updated_at: string;
|
|
10371
|
+
workflow: Json;
|
|
10372
|
+
};
|
|
10373
|
+
Insert: {
|
|
10374
|
+
active?: boolean;
|
|
10375
|
+
code: string;
|
|
10376
|
+
color?: string | null;
|
|
10377
|
+
created_at?: string;
|
|
10378
|
+
description?: string | null;
|
|
10379
|
+
icon?: string | null;
|
|
10380
|
+
id?: string;
|
|
10381
|
+
name: string;
|
|
10382
|
+
sort_order?: number;
|
|
10383
|
+
updated_at?: string;
|
|
10384
|
+
workflow?: Json;
|
|
10385
|
+
};
|
|
10386
|
+
Update: {
|
|
10387
|
+
active?: boolean;
|
|
10388
|
+
code?: string;
|
|
10389
|
+
color?: string | null;
|
|
10390
|
+
created_at?: string;
|
|
10391
|
+
description?: string | null;
|
|
10392
|
+
icon?: string | null;
|
|
10393
|
+
id?: string;
|
|
10394
|
+
name?: string;
|
|
10395
|
+
sort_order?: number;
|
|
10396
|
+
updated_at?: string;
|
|
10397
|
+
workflow?: Json;
|
|
10398
|
+
};
|
|
10399
|
+
Relationships: [];
|
|
10400
|
+
};
|
|
10401
|
+
pick_station_types: {
|
|
10402
|
+
Row: {
|
|
10403
|
+
active: boolean;
|
|
10404
|
+
code: string;
|
|
10405
|
+
color: string | null;
|
|
10406
|
+
created_at: string;
|
|
10407
|
+
description: string | null;
|
|
10408
|
+
icon: string | null;
|
|
10409
|
+
id: string;
|
|
10410
|
+
name: string;
|
|
10411
|
+
sort_order: number;
|
|
10412
|
+
updated_at: string;
|
|
10413
|
+
};
|
|
10414
|
+
Insert: {
|
|
10415
|
+
active?: boolean;
|
|
10416
|
+
code: string;
|
|
10417
|
+
color?: string | null;
|
|
10418
|
+
created_at?: string;
|
|
10419
|
+
description?: string | null;
|
|
10420
|
+
icon?: string | null;
|
|
10421
|
+
id?: string;
|
|
10422
|
+
name: string;
|
|
10423
|
+
sort_order?: number;
|
|
10424
|
+
updated_at?: string;
|
|
10425
|
+
};
|
|
10426
|
+
Update: {
|
|
10427
|
+
active?: boolean;
|
|
10428
|
+
code?: string;
|
|
10429
|
+
color?: string | null;
|
|
10430
|
+
created_at?: string;
|
|
10431
|
+
description?: string | null;
|
|
10432
|
+
icon?: string | null;
|
|
10433
|
+
id?: string;
|
|
10434
|
+
name?: string;
|
|
10435
|
+
sort_order?: number;
|
|
10436
|
+
updated_at?: string;
|
|
10437
|
+
};
|
|
10438
|
+
Relationships: [];
|
|
10439
|
+
};
|
|
10440
|
+
pick_station_users: {
|
|
10441
|
+
Row: {
|
|
10442
|
+
active: boolean;
|
|
10443
|
+
created_at: string;
|
|
10444
|
+
id: string;
|
|
10445
|
+
station_id: string;
|
|
10446
|
+
user_id: string;
|
|
10447
|
+
};
|
|
10448
|
+
Insert: {
|
|
10449
|
+
active?: boolean;
|
|
10450
|
+
created_at?: string;
|
|
10451
|
+
id?: string;
|
|
10452
|
+
station_id: string;
|
|
10453
|
+
user_id: string;
|
|
10454
|
+
};
|
|
10455
|
+
Update: {
|
|
10456
|
+
active?: boolean;
|
|
10457
|
+
created_at?: string;
|
|
10458
|
+
id?: string;
|
|
10459
|
+
station_id?: string;
|
|
10460
|
+
user_id?: string;
|
|
10461
|
+
};
|
|
10462
|
+
Relationships: [
|
|
10463
|
+
{
|
|
10464
|
+
foreignKeyName: "pick_station_users_station_id_fkey";
|
|
10465
|
+
columns: ["station_id"];
|
|
10466
|
+
isOneToOne: false;
|
|
10467
|
+
referencedRelation: "pick_stations";
|
|
10468
|
+
referencedColumns: ["id"];
|
|
10469
|
+
}
|
|
10470
|
+
];
|
|
10471
|
+
};
|
|
10472
|
+
pick_stations: {
|
|
10473
|
+
Row: {
|
|
10474
|
+
active: boolean;
|
|
10475
|
+
allow_multi_screen: boolean;
|
|
10476
|
+
color: string | null;
|
|
10477
|
+
created_at: string;
|
|
10478
|
+
default_printer_id: string | null;
|
|
10479
|
+
department: string | null;
|
|
10480
|
+
description: string | null;
|
|
10481
|
+
icon: string | null;
|
|
10482
|
+
id: string;
|
|
10483
|
+
location: string | null;
|
|
10484
|
+
lock_timeout_seconds: number;
|
|
10485
|
+
name: string;
|
|
10486
|
+
require_country_selection: boolean;
|
|
10487
|
+
sort_order: number;
|
|
10488
|
+
sort_rules: Json;
|
|
10489
|
+
task_id: string | null;
|
|
10490
|
+
type_id: string | null;
|
|
10491
|
+
updated_at: string;
|
|
10492
|
+
};
|
|
10493
|
+
Insert: {
|
|
10494
|
+
active?: boolean;
|
|
10495
|
+
allow_multi_screen?: boolean;
|
|
10496
|
+
color?: string | null;
|
|
10497
|
+
created_at?: string;
|
|
10498
|
+
default_printer_id?: string | null;
|
|
10499
|
+
department?: string | null;
|
|
10500
|
+
description?: string | null;
|
|
10501
|
+
icon?: string | null;
|
|
10502
|
+
id?: string;
|
|
10503
|
+
location?: string | null;
|
|
10504
|
+
lock_timeout_seconds?: number;
|
|
10505
|
+
name: string;
|
|
10506
|
+
require_country_selection?: boolean;
|
|
10507
|
+
sort_order?: number;
|
|
10508
|
+
sort_rules?: Json;
|
|
10509
|
+
task_id?: string | null;
|
|
10510
|
+
type_id?: string | null;
|
|
10511
|
+
updated_at?: string;
|
|
10512
|
+
};
|
|
10513
|
+
Update: {
|
|
10514
|
+
active?: boolean;
|
|
10515
|
+
allow_multi_screen?: boolean;
|
|
10516
|
+
color?: string | null;
|
|
10517
|
+
created_at?: string;
|
|
10518
|
+
default_printer_id?: string | null;
|
|
10519
|
+
department?: string | null;
|
|
10520
|
+
description?: string | null;
|
|
10521
|
+
icon?: string | null;
|
|
10522
|
+
id?: string;
|
|
10523
|
+
location?: string | null;
|
|
10524
|
+
lock_timeout_seconds?: number;
|
|
10525
|
+
name?: string;
|
|
10526
|
+
require_country_selection?: boolean;
|
|
10527
|
+
sort_order?: number;
|
|
10528
|
+
sort_rules?: Json;
|
|
10529
|
+
task_id?: string | null;
|
|
10530
|
+
type_id?: string | null;
|
|
10531
|
+
updated_at?: string;
|
|
10532
|
+
};
|
|
10533
|
+
Relationships: [
|
|
10534
|
+
{
|
|
10535
|
+
foreignKeyName: "pick_stations_default_printer_id_fkey";
|
|
10536
|
+
columns: ["default_printer_id"];
|
|
10537
|
+
isOneToOne: false;
|
|
10538
|
+
referencedRelation: "pick_station_printers";
|
|
10539
|
+
referencedColumns: ["id"];
|
|
10540
|
+
},
|
|
10541
|
+
{
|
|
10542
|
+
foreignKeyName: "pick_stations_task_id_fkey";
|
|
10543
|
+
columns: ["task_id"];
|
|
10544
|
+
isOneToOne: false;
|
|
10545
|
+
referencedRelation: "pick_station_tasks";
|
|
10546
|
+
referencedColumns: ["id"];
|
|
10547
|
+
},
|
|
10548
|
+
{
|
|
10549
|
+
foreignKeyName: "pick_stations_type_id_fkey";
|
|
10550
|
+
columns: ["type_id"];
|
|
10551
|
+
isOneToOne: false;
|
|
10552
|
+
referencedRelation: "pick_station_types";
|
|
10553
|
+
referencedColumns: ["id"];
|
|
10554
|
+
}
|
|
10555
|
+
];
|
|
10556
|
+
};
|
|
10557
|
+
pick_task_document_types: {
|
|
10558
|
+
Row: {
|
|
10559
|
+
created_at: string;
|
|
10560
|
+
document_type_id: string;
|
|
10561
|
+
id: string;
|
|
10562
|
+
task_id: string;
|
|
10563
|
+
};
|
|
10564
|
+
Insert: {
|
|
10565
|
+
created_at?: string;
|
|
10566
|
+
document_type_id: string;
|
|
10567
|
+
id?: string;
|
|
10568
|
+
task_id: string;
|
|
10569
|
+
};
|
|
10570
|
+
Update: {
|
|
10571
|
+
created_at?: string;
|
|
10572
|
+
document_type_id?: string;
|
|
10573
|
+
id?: string;
|
|
10574
|
+
task_id?: string;
|
|
10575
|
+
};
|
|
10576
|
+
Relationships: [
|
|
10577
|
+
{
|
|
10578
|
+
foreignKeyName: "pick_task_document_types_document_type_id_fkey";
|
|
10579
|
+
columns: ["document_type_id"];
|
|
10580
|
+
isOneToOne: false;
|
|
10581
|
+
referencedRelation: "pick_document_types";
|
|
10582
|
+
referencedColumns: ["id"];
|
|
10583
|
+
},
|
|
10584
|
+
{
|
|
10585
|
+
foreignKeyName: "pick_task_document_types_task_id_fkey";
|
|
10586
|
+
columns: ["task_id"];
|
|
10587
|
+
isOneToOne: false;
|
|
10588
|
+
referencedRelation: "pick_station_tasks";
|
|
10589
|
+
referencedColumns: ["id"];
|
|
10590
|
+
}
|
|
10591
|
+
];
|
|
10592
|
+
};
|
|
10593
|
+
pickstation_print_log: {
|
|
10594
|
+
Row: {
|
|
10595
|
+
customer_name: string | null;
|
|
10596
|
+
documents: string[];
|
|
10597
|
+
id: string;
|
|
10598
|
+
ip_address: string | null;
|
|
10599
|
+
order_id: string;
|
|
10600
|
+
order_number: string | null;
|
|
10601
|
+
printed_at: string;
|
|
10602
|
+
};
|
|
10603
|
+
Insert: {
|
|
10604
|
+
customer_name?: string | null;
|
|
10605
|
+
documents?: string[];
|
|
10606
|
+
id?: string;
|
|
10607
|
+
ip_address?: string | null;
|
|
10608
|
+
order_id: string;
|
|
10609
|
+
order_number?: string | null;
|
|
10610
|
+
printed_at?: string;
|
|
10611
|
+
};
|
|
8887
10612
|
Update: {
|
|
8888
10613
|
customer_name?: string | null;
|
|
8889
10614
|
documents?: string[];
|
|
@@ -8952,82 +10677,410 @@ export type Database = {
|
|
|
8952
10677
|
};
|
|
8953
10678
|
Relationships: [];
|
|
8954
10679
|
};
|
|
8955
|
-
planning_item_assistants: {
|
|
10680
|
+
planning_item_assistants: {
|
|
10681
|
+
Row: {
|
|
10682
|
+
created_at: string;
|
|
10683
|
+
created_by: string | null;
|
|
10684
|
+
monteur_id: string;
|
|
10685
|
+
planning_item_id: string;
|
|
10686
|
+
};
|
|
10687
|
+
Insert: {
|
|
10688
|
+
created_at?: string;
|
|
10689
|
+
created_by?: string | null;
|
|
10690
|
+
monteur_id: string;
|
|
10691
|
+
planning_item_id: string;
|
|
10692
|
+
};
|
|
10693
|
+
Update: {
|
|
10694
|
+
created_at?: string;
|
|
10695
|
+
created_by?: string | null;
|
|
10696
|
+
monteur_id?: string;
|
|
10697
|
+
planning_item_id?: string;
|
|
10698
|
+
};
|
|
10699
|
+
Relationships: [
|
|
10700
|
+
{
|
|
10701
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
10702
|
+
columns: ["planning_item_id"];
|
|
10703
|
+
isOneToOne: false;
|
|
10704
|
+
referencedRelation: "planning_items";
|
|
10705
|
+
referencedColumns: ["id"];
|
|
10706
|
+
}
|
|
10707
|
+
];
|
|
10708
|
+
};
|
|
10709
|
+
planning_items: {
|
|
10710
|
+
Row: {
|
|
10711
|
+
assigned_monteur_id: string;
|
|
10712
|
+
created_at: string;
|
|
10713
|
+
created_by: string | null;
|
|
10714
|
+
end_at: string;
|
|
10715
|
+
id: string;
|
|
10716
|
+
notes: string | null;
|
|
10717
|
+
start_at: string;
|
|
10718
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
10719
|
+
updated_at: string;
|
|
10720
|
+
werkbon_id: string;
|
|
10721
|
+
};
|
|
10722
|
+
Insert: {
|
|
10723
|
+
assigned_monteur_id: string;
|
|
10724
|
+
created_at?: string;
|
|
10725
|
+
created_by?: string | null;
|
|
10726
|
+
end_at: string;
|
|
10727
|
+
id?: string;
|
|
10728
|
+
notes?: string | null;
|
|
10729
|
+
start_at: string;
|
|
10730
|
+
status?: Database["public"]["Enums"]["planning_item_status"];
|
|
10731
|
+
updated_at?: string;
|
|
10732
|
+
werkbon_id: string;
|
|
10733
|
+
};
|
|
10734
|
+
Update: {
|
|
10735
|
+
assigned_monteur_id?: string;
|
|
10736
|
+
created_at?: string;
|
|
10737
|
+
created_by?: string | null;
|
|
10738
|
+
end_at?: string;
|
|
10739
|
+
id?: string;
|
|
10740
|
+
notes?: string | null;
|
|
10741
|
+
start_at?: string;
|
|
10742
|
+
status?: Database["public"]["Enums"]["planning_item_status"];
|
|
10743
|
+
updated_at?: string;
|
|
10744
|
+
werkbon_id?: string;
|
|
10745
|
+
};
|
|
10746
|
+
Relationships: [
|
|
10747
|
+
{
|
|
10748
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
10749
|
+
columns: ["werkbon_id"];
|
|
10750
|
+
isOneToOne: false;
|
|
10751
|
+
referencedRelation: "werkbonnen";
|
|
10752
|
+
referencedColumns: ["id"];
|
|
10753
|
+
}
|
|
10754
|
+
];
|
|
10755
|
+
};
|
|
10756
|
+
print_job_logs: {
|
|
10757
|
+
Row: {
|
|
10758
|
+
created_at: string;
|
|
10759
|
+
detail: string;
|
|
10760
|
+
gebeurtenis: string;
|
|
10761
|
+
id: string;
|
|
10762
|
+
job_id: string;
|
|
10763
|
+
};
|
|
10764
|
+
Insert: {
|
|
10765
|
+
created_at?: string;
|
|
10766
|
+
detail?: string;
|
|
10767
|
+
gebeurtenis: string;
|
|
10768
|
+
id?: string;
|
|
10769
|
+
job_id: string;
|
|
10770
|
+
};
|
|
10771
|
+
Update: {
|
|
10772
|
+
created_at?: string;
|
|
10773
|
+
detail?: string;
|
|
10774
|
+
gebeurtenis?: string;
|
|
10775
|
+
id?: string;
|
|
10776
|
+
job_id?: string;
|
|
10777
|
+
};
|
|
10778
|
+
Relationships: [
|
|
10779
|
+
{
|
|
10780
|
+
foreignKeyName: "print_job_logs_job_id_fkey";
|
|
10781
|
+
columns: ["job_id"];
|
|
10782
|
+
isOneToOne: false;
|
|
10783
|
+
referencedRelation: "print_jobs";
|
|
10784
|
+
referencedColumns: ["id"];
|
|
10785
|
+
}
|
|
10786
|
+
];
|
|
10787
|
+
};
|
|
10788
|
+
print_jobs: {
|
|
10789
|
+
Row: {
|
|
10790
|
+
bron_job_id: string | null;
|
|
10791
|
+
created_at: string;
|
|
10792
|
+
documentnaam: string;
|
|
10793
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
10794
|
+
foutmelding: string | null;
|
|
10795
|
+
gebruiker_id: string | null;
|
|
10796
|
+
gebruiker_naam: string;
|
|
10797
|
+
gestart_op: string | null;
|
|
10798
|
+
id: string;
|
|
10799
|
+
is_herprint: boolean;
|
|
10800
|
+
kopieen: number;
|
|
10801
|
+
layout_id: string | null;
|
|
10802
|
+
paginas: number;
|
|
10803
|
+
payload: Json;
|
|
10804
|
+
printer_id: string | null;
|
|
10805
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
10806
|
+
updated_at: string;
|
|
10807
|
+
voltooid_op: string | null;
|
|
10808
|
+
};
|
|
10809
|
+
Insert: {
|
|
10810
|
+
bron_job_id?: string | null;
|
|
10811
|
+
created_at?: string;
|
|
10812
|
+
documentnaam?: string;
|
|
10813
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10814
|
+
foutmelding?: string | null;
|
|
10815
|
+
gebruiker_id?: string | null;
|
|
10816
|
+
gebruiker_naam?: string;
|
|
10817
|
+
gestart_op?: string | null;
|
|
10818
|
+
id?: string;
|
|
10819
|
+
is_herprint?: boolean;
|
|
10820
|
+
kopieen?: number;
|
|
10821
|
+
layout_id?: string | null;
|
|
10822
|
+
paginas?: number;
|
|
10823
|
+
payload?: Json;
|
|
10824
|
+
printer_id?: string | null;
|
|
10825
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10826
|
+
updated_at?: string;
|
|
10827
|
+
voltooid_op?: string | null;
|
|
10828
|
+
};
|
|
10829
|
+
Update: {
|
|
10830
|
+
bron_job_id?: string | null;
|
|
10831
|
+
created_at?: string;
|
|
10832
|
+
documentnaam?: string;
|
|
10833
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10834
|
+
foutmelding?: string | null;
|
|
10835
|
+
gebruiker_id?: string | null;
|
|
10836
|
+
gebruiker_naam?: string;
|
|
10837
|
+
gestart_op?: string | null;
|
|
10838
|
+
id?: string;
|
|
10839
|
+
is_herprint?: boolean;
|
|
10840
|
+
kopieen?: number;
|
|
10841
|
+
layout_id?: string | null;
|
|
10842
|
+
paginas?: number;
|
|
10843
|
+
payload?: Json;
|
|
10844
|
+
printer_id?: string | null;
|
|
10845
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10846
|
+
updated_at?: string;
|
|
10847
|
+
voltooid_op?: string | null;
|
|
10848
|
+
};
|
|
10849
|
+
Relationships: [
|
|
10850
|
+
{
|
|
10851
|
+
foreignKeyName: "print_jobs_layout_id_fkey";
|
|
10852
|
+
columns: ["layout_id"];
|
|
10853
|
+
isOneToOne: false;
|
|
10854
|
+
referencedRelation: "document_layouts";
|
|
10855
|
+
referencedColumns: ["id"];
|
|
10856
|
+
},
|
|
10857
|
+
{
|
|
10858
|
+
foreignKeyName: "print_jobs_printer_id_fkey";
|
|
10859
|
+
columns: ["printer_id"];
|
|
10860
|
+
isOneToOne: false;
|
|
10861
|
+
referencedRelation: "printers";
|
|
10862
|
+
referencedColumns: ["id"];
|
|
10863
|
+
}
|
|
10864
|
+
];
|
|
10865
|
+
};
|
|
10866
|
+
print_rules: {
|
|
10867
|
+
Row: {
|
|
10868
|
+
actief: boolean;
|
|
10869
|
+
alleen_eerste_keer: boolean;
|
|
10870
|
+
conditie: Json;
|
|
10871
|
+
created_at: string;
|
|
10872
|
+
id: string;
|
|
10873
|
+
kopieen: number;
|
|
10874
|
+
layout_id: string;
|
|
10875
|
+
naam: string;
|
|
10876
|
+
printer_id: string | null;
|
|
10877
|
+
updated_at: string;
|
|
10878
|
+
volgorde: number;
|
|
10879
|
+
};
|
|
10880
|
+
Insert: {
|
|
10881
|
+
actief?: boolean;
|
|
10882
|
+
alleen_eerste_keer?: boolean;
|
|
10883
|
+
conditie?: Json;
|
|
10884
|
+
created_at?: string;
|
|
10885
|
+
id?: string;
|
|
10886
|
+
kopieen?: number;
|
|
10887
|
+
layout_id: string;
|
|
10888
|
+
naam?: string;
|
|
10889
|
+
printer_id?: string | null;
|
|
10890
|
+
updated_at?: string;
|
|
10891
|
+
volgorde?: number;
|
|
10892
|
+
};
|
|
10893
|
+
Update: {
|
|
10894
|
+
actief?: boolean;
|
|
10895
|
+
alleen_eerste_keer?: boolean;
|
|
10896
|
+
conditie?: Json;
|
|
10897
|
+
created_at?: string;
|
|
10898
|
+
id?: string;
|
|
10899
|
+
kopieen?: number;
|
|
10900
|
+
layout_id?: string;
|
|
10901
|
+
naam?: string;
|
|
10902
|
+
printer_id?: string | null;
|
|
10903
|
+
updated_at?: string;
|
|
10904
|
+
volgorde?: number;
|
|
10905
|
+
};
|
|
10906
|
+
Relationships: [
|
|
10907
|
+
{
|
|
10908
|
+
foreignKeyName: "print_rules_layout_id_fkey";
|
|
10909
|
+
columns: ["layout_id"];
|
|
10910
|
+
isOneToOne: false;
|
|
10911
|
+
referencedRelation: "document_layouts";
|
|
10912
|
+
referencedColumns: ["id"];
|
|
10913
|
+
},
|
|
10914
|
+
{
|
|
10915
|
+
foreignKeyName: "print_rules_printer_id_fkey";
|
|
10916
|
+
columns: ["printer_id"];
|
|
10917
|
+
isOneToOne: false;
|
|
10918
|
+
referencedRelation: "printers";
|
|
10919
|
+
referencedColumns: ["id"];
|
|
10920
|
+
}
|
|
10921
|
+
];
|
|
10922
|
+
};
|
|
10923
|
+
printer_mappings: {
|
|
8956
10924
|
Row: {
|
|
8957
10925
|
created_at: string;
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
10926
|
+
id: string;
|
|
10927
|
+
layout_id: string;
|
|
10928
|
+
printer_id: string;
|
|
10929
|
+
prioriteit: number;
|
|
10930
|
+
updated_at: string;
|
|
8961
10931
|
};
|
|
8962
10932
|
Insert: {
|
|
8963
10933
|
created_at?: string;
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
10934
|
+
id?: string;
|
|
10935
|
+
layout_id: string;
|
|
10936
|
+
printer_id: string;
|
|
10937
|
+
prioriteit?: number;
|
|
10938
|
+
updated_at?: string;
|
|
8967
10939
|
};
|
|
8968
10940
|
Update: {
|
|
8969
10941
|
created_at?: string;
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
10942
|
+
id?: string;
|
|
10943
|
+
layout_id?: string;
|
|
10944
|
+
printer_id?: string;
|
|
10945
|
+
prioriteit?: number;
|
|
10946
|
+
updated_at?: string;
|
|
8973
10947
|
};
|
|
8974
10948
|
Relationships: [
|
|
8975
10949
|
{
|
|
8976
|
-
foreignKeyName: "
|
|
8977
|
-
columns: ["
|
|
10950
|
+
foreignKeyName: "printer_mappings_layout_id_fkey";
|
|
10951
|
+
columns: ["layout_id"];
|
|
8978
10952
|
isOneToOne: false;
|
|
8979
|
-
referencedRelation: "
|
|
10953
|
+
referencedRelation: "document_layouts";
|
|
10954
|
+
referencedColumns: ["id"];
|
|
10955
|
+
},
|
|
10956
|
+
{
|
|
10957
|
+
foreignKeyName: "printer_mappings_printer_id_fkey";
|
|
10958
|
+
columns: ["printer_id"];
|
|
10959
|
+
isOneToOne: false;
|
|
10960
|
+
referencedRelation: "printers";
|
|
8980
10961
|
referencedColumns: ["id"];
|
|
8981
10962
|
}
|
|
8982
10963
|
];
|
|
8983
10964
|
};
|
|
8984
|
-
|
|
10965
|
+
printer_profiles: {
|
|
8985
10966
|
Row: {
|
|
8986
|
-
|
|
10967
|
+
auto_schalen: boolean;
|
|
8987
10968
|
created_at: string;
|
|
8988
|
-
|
|
8989
|
-
end_at: string;
|
|
10969
|
+
duplex: boolean;
|
|
8990
10970
|
id: string;
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
10971
|
+
is_standaard: boolean;
|
|
10972
|
+
kleur: boolean;
|
|
10973
|
+
kopieen: number;
|
|
10974
|
+
label_gap: number;
|
|
10975
|
+
naam: string;
|
|
10976
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
10977
|
+
papierlade: string;
|
|
10978
|
+
printer_id: string;
|
|
10979
|
+
resolutie: number;
|
|
10980
|
+
snijden: boolean;
|
|
8994
10981
|
updated_at: string;
|
|
8995
|
-
werkbon_id: string;
|
|
8996
10982
|
};
|
|
8997
10983
|
Insert: {
|
|
8998
|
-
|
|
10984
|
+
auto_schalen?: boolean;
|
|
8999
10985
|
created_at?: string;
|
|
9000
|
-
|
|
9001
|
-
end_at: string;
|
|
10986
|
+
duplex?: boolean;
|
|
9002
10987
|
id?: string;
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
10988
|
+
is_standaard?: boolean;
|
|
10989
|
+
kleur?: boolean;
|
|
10990
|
+
kopieen?: number;
|
|
10991
|
+
label_gap?: number;
|
|
10992
|
+
naam?: string;
|
|
10993
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10994
|
+
papierlade?: string;
|
|
10995
|
+
printer_id: string;
|
|
10996
|
+
resolutie?: number;
|
|
10997
|
+
snijden?: boolean;
|
|
9006
10998
|
updated_at?: string;
|
|
9007
|
-
werkbon_id: string;
|
|
9008
10999
|
};
|
|
9009
11000
|
Update: {
|
|
9010
|
-
|
|
11001
|
+
auto_schalen?: boolean;
|
|
9011
11002
|
created_at?: string;
|
|
9012
|
-
|
|
9013
|
-
end_at?: string;
|
|
11003
|
+
duplex?: boolean;
|
|
9014
11004
|
id?: string;
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
11005
|
+
is_standaard?: boolean;
|
|
11006
|
+
kleur?: boolean;
|
|
11007
|
+
kopieen?: number;
|
|
11008
|
+
label_gap?: number;
|
|
11009
|
+
naam?: string;
|
|
11010
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
11011
|
+
papierlade?: string;
|
|
11012
|
+
printer_id?: string;
|
|
11013
|
+
resolutie?: number;
|
|
11014
|
+
snijden?: boolean;
|
|
9018
11015
|
updated_at?: string;
|
|
9019
|
-
werkbon_id?: string;
|
|
9020
11016
|
};
|
|
9021
11017
|
Relationships: [
|
|
9022
11018
|
{
|
|
9023
|
-
foreignKeyName: "
|
|
9024
|
-
columns: ["
|
|
11019
|
+
foreignKeyName: "printer_profiles_printer_id_fkey";
|
|
11020
|
+
columns: ["printer_id"];
|
|
9025
11021
|
isOneToOne: false;
|
|
9026
|
-
referencedRelation: "
|
|
11022
|
+
referencedRelation: "printers";
|
|
9027
11023
|
referencedColumns: ["id"];
|
|
9028
11024
|
}
|
|
9029
11025
|
];
|
|
9030
11026
|
};
|
|
11027
|
+
printers: {
|
|
11028
|
+
Row: {
|
|
11029
|
+
actief: boolean;
|
|
11030
|
+
created_at: string;
|
|
11031
|
+
driver: string;
|
|
11032
|
+
id: string;
|
|
11033
|
+
ip_adres: string | null;
|
|
11034
|
+
laatst_gezien: string | null;
|
|
11035
|
+
locatie: string;
|
|
11036
|
+
merk: string;
|
|
11037
|
+
naam: string;
|
|
11038
|
+
omschrijving: string;
|
|
11039
|
+
online: boolean;
|
|
11040
|
+
papierformaat: string;
|
|
11041
|
+
poort: number | null;
|
|
11042
|
+
soort: Database["public"]["Enums"]["printer_kind"];
|
|
11043
|
+
updated_at: string;
|
|
11044
|
+
verbinding: Database["public"]["Enums"]["printer_connection"];
|
|
11045
|
+
};
|
|
11046
|
+
Insert: {
|
|
11047
|
+
actief?: boolean;
|
|
11048
|
+
created_at?: string;
|
|
11049
|
+
driver?: string;
|
|
11050
|
+
id?: string;
|
|
11051
|
+
ip_adres?: string | null;
|
|
11052
|
+
laatst_gezien?: string | null;
|
|
11053
|
+
locatie?: string;
|
|
11054
|
+
merk?: string;
|
|
11055
|
+
naam: string;
|
|
11056
|
+
omschrijving?: string;
|
|
11057
|
+
online?: boolean;
|
|
11058
|
+
papierformaat?: string;
|
|
11059
|
+
poort?: number | null;
|
|
11060
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
11061
|
+
updated_at?: string;
|
|
11062
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
11063
|
+
};
|
|
11064
|
+
Update: {
|
|
11065
|
+
actief?: boolean;
|
|
11066
|
+
created_at?: string;
|
|
11067
|
+
driver?: string;
|
|
11068
|
+
id?: string;
|
|
11069
|
+
ip_adres?: string | null;
|
|
11070
|
+
laatst_gezien?: string | null;
|
|
11071
|
+
locatie?: string;
|
|
11072
|
+
merk?: string;
|
|
11073
|
+
naam?: string;
|
|
11074
|
+
omschrijving?: string;
|
|
11075
|
+
online?: boolean;
|
|
11076
|
+
papierformaat?: string;
|
|
11077
|
+
poort?: number | null;
|
|
11078
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
11079
|
+
updated_at?: string;
|
|
11080
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
11081
|
+
};
|
|
11082
|
+
Relationships: [];
|
|
11083
|
+
};
|
|
9031
11084
|
product_bom_items: {
|
|
9032
11085
|
Row: {
|
|
9033
11086
|
component_product_id: string | null;
|
|
@@ -11603,6 +13656,27 @@ export type Database = {
|
|
|
11603
13656
|
};
|
|
11604
13657
|
Relationships: [];
|
|
11605
13658
|
};
|
|
13659
|
+
twinfield_revoked_accounts: {
|
|
13660
|
+
Row: {
|
|
13661
|
+
account_key: string;
|
|
13662
|
+
last_revoke_error: string | null;
|
|
13663
|
+
revoked_at: string;
|
|
13664
|
+
user_id: string;
|
|
13665
|
+
};
|
|
13666
|
+
Insert: {
|
|
13667
|
+
account_key: string;
|
|
13668
|
+
last_revoke_error?: string | null;
|
|
13669
|
+
revoked_at?: string;
|
|
13670
|
+
user_id: string;
|
|
13671
|
+
};
|
|
13672
|
+
Update: {
|
|
13673
|
+
account_key?: string;
|
|
13674
|
+
last_revoke_error?: string | null;
|
|
13675
|
+
revoked_at?: string;
|
|
13676
|
+
user_id?: string;
|
|
13677
|
+
};
|
|
13678
|
+
Relationships: [];
|
|
13679
|
+
};
|
|
11606
13680
|
twinfield_session_cache: {
|
|
11607
13681
|
Row: {
|
|
11608
13682
|
cluster: string;
|
|
@@ -11709,6 +13783,48 @@ export type Database = {
|
|
|
11709
13783
|
}
|
|
11710
13784
|
];
|
|
11711
13785
|
};
|
|
13786
|
+
voorraad_custom_fields: {
|
|
13787
|
+
Row: {
|
|
13788
|
+
created_at: string;
|
|
13789
|
+
field_key: string;
|
|
13790
|
+
field_label: string;
|
|
13791
|
+
field_type: string;
|
|
13792
|
+
id: string;
|
|
13793
|
+
options: string[];
|
|
13794
|
+
show_in_columns: boolean;
|
|
13795
|
+
show_in_detail: boolean;
|
|
13796
|
+
show_in_template: boolean;
|
|
13797
|
+
sort_order: number;
|
|
13798
|
+
updated_at: string;
|
|
13799
|
+
};
|
|
13800
|
+
Insert: {
|
|
13801
|
+
created_at?: string;
|
|
13802
|
+
field_key: string;
|
|
13803
|
+
field_label: string;
|
|
13804
|
+
field_type?: string;
|
|
13805
|
+
id?: string;
|
|
13806
|
+
options?: string[];
|
|
13807
|
+
show_in_columns?: boolean;
|
|
13808
|
+
show_in_detail?: boolean;
|
|
13809
|
+
show_in_template?: boolean;
|
|
13810
|
+
sort_order?: number;
|
|
13811
|
+
updated_at?: string;
|
|
13812
|
+
};
|
|
13813
|
+
Update: {
|
|
13814
|
+
created_at?: string;
|
|
13815
|
+
field_key?: string;
|
|
13816
|
+
field_label?: string;
|
|
13817
|
+
field_type?: string;
|
|
13818
|
+
id?: string;
|
|
13819
|
+
options?: string[];
|
|
13820
|
+
show_in_columns?: boolean;
|
|
13821
|
+
show_in_detail?: boolean;
|
|
13822
|
+
show_in_template?: boolean;
|
|
13823
|
+
sort_order?: number;
|
|
13824
|
+
updated_at?: string;
|
|
13825
|
+
};
|
|
13826
|
+
Relationships: [];
|
|
13827
|
+
};
|
|
11712
13828
|
voorraad_media_upload_failures: {
|
|
11713
13829
|
Row: {
|
|
11714
13830
|
action: string;
|
|
@@ -12386,6 +14502,9 @@ export type Database = {
|
|
|
12386
14502
|
status: string | null;
|
|
12387
14503
|
token_expires_at: string | null;
|
|
12388
14504
|
updated_at: string | null;
|
|
14505
|
+
webhook_last_attempt_at: string | null;
|
|
14506
|
+
webhook_last_error: string | null;
|
|
14507
|
+
webhook_status: string | null;
|
|
12389
14508
|
};
|
|
12390
14509
|
Insert: {
|
|
12391
14510
|
account_email?: string | null;
|
|
@@ -12420,6 +14539,9 @@ export type Database = {
|
|
|
12420
14539
|
status?: string | null;
|
|
12421
14540
|
token_expires_at?: string | null;
|
|
12422
14541
|
updated_at?: string | null;
|
|
14542
|
+
webhook_last_attempt_at?: string | null;
|
|
14543
|
+
webhook_last_error?: string | null;
|
|
14544
|
+
webhook_status?: string | null;
|
|
12423
14545
|
};
|
|
12424
14546
|
Update: {
|
|
12425
14547
|
account_email?: string | null;
|
|
@@ -12454,6 +14576,9 @@ export type Database = {
|
|
|
12454
14576
|
status?: string | null;
|
|
12455
14577
|
token_expires_at?: string | null;
|
|
12456
14578
|
updated_at?: string | null;
|
|
14579
|
+
webhook_last_attempt_at?: string | null;
|
|
14580
|
+
webhook_last_error?: string | null;
|
|
14581
|
+
webhook_status?: string | null;
|
|
12457
14582
|
};
|
|
12458
14583
|
Relationships: [];
|
|
12459
14584
|
};
|
|
@@ -12740,6 +14865,81 @@ export type Database = {
|
|
|
12740
14865
|
}
|
|
12741
14866
|
];
|
|
12742
14867
|
};
|
|
14868
|
+
v_external_customers_local: {
|
|
14869
|
+
Row: {
|
|
14870
|
+
city: string | null;
|
|
14871
|
+
commercial_name: string | null;
|
|
14872
|
+
company_name: string | null;
|
|
14873
|
+
connection_id: string | null;
|
|
14874
|
+
contact_person: string | null;
|
|
14875
|
+
country: string | null;
|
|
14876
|
+
email: string | null;
|
|
14877
|
+
external_id: string | null;
|
|
14878
|
+
fetched_at: string | null;
|
|
14879
|
+
gln: string | null;
|
|
14880
|
+
house_number: string | null;
|
|
14881
|
+
is_active: boolean | null;
|
|
14882
|
+
is_deleted: boolean | null;
|
|
14883
|
+
logo_url: string | null;
|
|
14884
|
+
phone: string | null;
|
|
14885
|
+
postal_code: string | null;
|
|
14886
|
+
provider: string | null;
|
|
14887
|
+
raw: Json | null;
|
|
14888
|
+
status: string | null;
|
|
14889
|
+
street: string | null;
|
|
14890
|
+
vat_number: string | null;
|
|
14891
|
+
website: string | null;
|
|
14892
|
+
};
|
|
14893
|
+
Insert: {
|
|
14894
|
+
city?: string | null;
|
|
14895
|
+
commercial_name?: string | null;
|
|
14896
|
+
company_name?: string | null;
|
|
14897
|
+
connection_id?: never;
|
|
14898
|
+
contact_person?: string | null;
|
|
14899
|
+
country?: string | null;
|
|
14900
|
+
email?: string | null;
|
|
14901
|
+
external_id?: never;
|
|
14902
|
+
fetched_at?: never;
|
|
14903
|
+
gln?: string | null;
|
|
14904
|
+
house_number?: string | null;
|
|
14905
|
+
is_active?: never;
|
|
14906
|
+
is_deleted?: never;
|
|
14907
|
+
logo_url?: string | null;
|
|
14908
|
+
phone?: string | null;
|
|
14909
|
+
postal_code?: string | null;
|
|
14910
|
+
provider?: never;
|
|
14911
|
+
raw?: never;
|
|
14912
|
+
status?: string | null;
|
|
14913
|
+
street?: string | null;
|
|
14914
|
+
vat_number?: string | null;
|
|
14915
|
+
website?: string | null;
|
|
14916
|
+
};
|
|
14917
|
+
Update: {
|
|
14918
|
+
city?: string | null;
|
|
14919
|
+
commercial_name?: string | null;
|
|
14920
|
+
company_name?: string | null;
|
|
14921
|
+
connection_id?: never;
|
|
14922
|
+
contact_person?: string | null;
|
|
14923
|
+
country?: string | null;
|
|
14924
|
+
email?: string | null;
|
|
14925
|
+
external_id?: never;
|
|
14926
|
+
fetched_at?: never;
|
|
14927
|
+
gln?: string | null;
|
|
14928
|
+
house_number?: string | null;
|
|
14929
|
+
is_active?: never;
|
|
14930
|
+
is_deleted?: never;
|
|
14931
|
+
logo_url?: string | null;
|
|
14932
|
+
phone?: string | null;
|
|
14933
|
+
postal_code?: string | null;
|
|
14934
|
+
provider?: never;
|
|
14935
|
+
raw?: never;
|
|
14936
|
+
status?: string | null;
|
|
14937
|
+
street?: string | null;
|
|
14938
|
+
vat_number?: string | null;
|
|
14939
|
+
website?: string | null;
|
|
14940
|
+
};
|
|
14941
|
+
Relationships: [];
|
|
14942
|
+
};
|
|
12743
14943
|
v_external_customers_twinfield: {
|
|
12744
14944
|
Row: {
|
|
12745
14945
|
city: string | null;
|
|
@@ -13674,6 +15874,170 @@ export type Database = {
|
|
|
13674
15874
|
};
|
|
13675
15875
|
Returns: string;
|
|
13676
15876
|
};
|
|
15877
|
+
pick_claim_document: {
|
|
15878
|
+
Args: {
|
|
15879
|
+
_queue_item_id: string;
|
|
15880
|
+
_screen_id: string;
|
|
15881
|
+
_session_id: string;
|
|
15882
|
+
_station_id: string;
|
|
15883
|
+
_timeout_seconds?: number;
|
|
15884
|
+
};
|
|
15885
|
+
Returns: {
|
|
15886
|
+
announced_at: string;
|
|
15887
|
+
assigned_user_id: string | null;
|
|
15888
|
+
barcode: string | null;
|
|
15889
|
+
cancelled_at: string | null;
|
|
15890
|
+
cart_count: number;
|
|
15891
|
+
completed_at: string | null;
|
|
15892
|
+
country_code: string | null;
|
|
15893
|
+
created_at: string;
|
|
15894
|
+
customer_name: string | null;
|
|
15895
|
+
delivery_address: string | null;
|
|
15896
|
+
document_number: string | null;
|
|
15897
|
+
document_type_id: string | null;
|
|
15898
|
+
due_at: string | null;
|
|
15899
|
+
id: string;
|
|
15900
|
+
is_urgent: boolean;
|
|
15901
|
+
line_count: number;
|
|
15902
|
+
order_number: string | null;
|
|
15903
|
+
order_type: string | null;
|
|
15904
|
+
payload: Json;
|
|
15905
|
+
print_count: number;
|
|
15906
|
+
printed_at: string | null;
|
|
15907
|
+
printed_by: string | null;
|
|
15908
|
+
printer_id: string | null;
|
|
15909
|
+
priority: number;
|
|
15910
|
+
reference: string | null;
|
|
15911
|
+
route: string | null;
|
|
15912
|
+
screen_id: string | null;
|
|
15913
|
+
station_id: string | null;
|
|
15914
|
+
status_id: string | null;
|
|
15915
|
+
updated_at: string;
|
|
15916
|
+
warnings: Json;
|
|
15917
|
+
};
|
|
15918
|
+
SetofOptions: {
|
|
15919
|
+
from: "*";
|
|
15920
|
+
to: "pick_queue";
|
|
15921
|
+
isOneToOne: true;
|
|
15922
|
+
isSetofReturn: false;
|
|
15923
|
+
};
|
|
15924
|
+
};
|
|
15925
|
+
pick_claim_next_document: {
|
|
15926
|
+
Args: {
|
|
15927
|
+
_country_code: string;
|
|
15928
|
+
_screen_id: string;
|
|
15929
|
+
_session_id: string;
|
|
15930
|
+
_station_id: string;
|
|
15931
|
+
_timeout_seconds?: number;
|
|
15932
|
+
};
|
|
15933
|
+
Returns: {
|
|
15934
|
+
announced_at: string;
|
|
15935
|
+
assigned_user_id: string | null;
|
|
15936
|
+
barcode: string | null;
|
|
15937
|
+
cancelled_at: string | null;
|
|
15938
|
+
cart_count: number;
|
|
15939
|
+
completed_at: string | null;
|
|
15940
|
+
country_code: string | null;
|
|
15941
|
+
created_at: string;
|
|
15942
|
+
customer_name: string | null;
|
|
15943
|
+
delivery_address: string | null;
|
|
15944
|
+
document_number: string | null;
|
|
15945
|
+
document_type_id: string | null;
|
|
15946
|
+
due_at: string | null;
|
|
15947
|
+
id: string;
|
|
15948
|
+
is_urgent: boolean;
|
|
15949
|
+
line_count: number;
|
|
15950
|
+
order_number: string | null;
|
|
15951
|
+
order_type: string | null;
|
|
15952
|
+
payload: Json;
|
|
15953
|
+
print_count: number;
|
|
15954
|
+
printed_at: string | null;
|
|
15955
|
+
printed_by: string | null;
|
|
15956
|
+
printer_id: string | null;
|
|
15957
|
+
priority: number;
|
|
15958
|
+
reference: string | null;
|
|
15959
|
+
route: string | null;
|
|
15960
|
+
screen_id: string | null;
|
|
15961
|
+
station_id: string | null;
|
|
15962
|
+
status_id: string | null;
|
|
15963
|
+
updated_at: string;
|
|
15964
|
+
warnings: Json;
|
|
15965
|
+
};
|
|
15966
|
+
SetofOptions: {
|
|
15967
|
+
from: "*";
|
|
15968
|
+
to: "pick_queue";
|
|
15969
|
+
isOneToOne: true;
|
|
15970
|
+
isSetofReturn: false;
|
|
15971
|
+
};
|
|
15972
|
+
};
|
|
15973
|
+
pick_complete_print: {
|
|
15974
|
+
Args: {
|
|
15975
|
+
_printer_id: string;
|
|
15976
|
+
_queue_item_id: string;
|
|
15977
|
+
_session_id: string;
|
|
15978
|
+
};
|
|
15979
|
+
Returns: {
|
|
15980
|
+
announced_at: string;
|
|
15981
|
+
assigned_user_id: string | null;
|
|
15982
|
+
barcode: string | null;
|
|
15983
|
+
cancelled_at: string | null;
|
|
15984
|
+
cart_count: number;
|
|
15985
|
+
completed_at: string | null;
|
|
15986
|
+
country_code: string | null;
|
|
15987
|
+
created_at: string;
|
|
15988
|
+
customer_name: string | null;
|
|
15989
|
+
delivery_address: string | null;
|
|
15990
|
+
document_number: string | null;
|
|
15991
|
+
document_type_id: string | null;
|
|
15992
|
+
due_at: string | null;
|
|
15993
|
+
id: string;
|
|
15994
|
+
is_urgent: boolean;
|
|
15995
|
+
line_count: number;
|
|
15996
|
+
order_number: string | null;
|
|
15997
|
+
order_type: string | null;
|
|
15998
|
+
payload: Json;
|
|
15999
|
+
print_count: number;
|
|
16000
|
+
printed_at: string | null;
|
|
16001
|
+
printed_by: string | null;
|
|
16002
|
+
printer_id: string | null;
|
|
16003
|
+
priority: number;
|
|
16004
|
+
reference: string | null;
|
|
16005
|
+
route: string | null;
|
|
16006
|
+
screen_id: string | null;
|
|
16007
|
+
station_id: string | null;
|
|
16008
|
+
status_id: string | null;
|
|
16009
|
+
updated_at: string;
|
|
16010
|
+
warnings: Json;
|
|
16011
|
+
};
|
|
16012
|
+
SetofOptions: {
|
|
16013
|
+
from: "*";
|
|
16014
|
+
to: "pick_queue";
|
|
16015
|
+
isOneToOne: true;
|
|
16016
|
+
isSetofReturn: false;
|
|
16017
|
+
};
|
|
16018
|
+
};
|
|
16019
|
+
pick_release_expired_locks: {
|
|
16020
|
+
Args: never;
|
|
16021
|
+
Returns: number;
|
|
16022
|
+
};
|
|
16023
|
+
pick_release_lock: {
|
|
16024
|
+
Args: {
|
|
16025
|
+
_queue_item_id: string;
|
|
16026
|
+
};
|
|
16027
|
+
Returns: undefined;
|
|
16028
|
+
};
|
|
16029
|
+
pick_station_dashboard: {
|
|
16030
|
+
Args: never;
|
|
16031
|
+
Returns: {
|
|
16032
|
+
active: number;
|
|
16033
|
+
active_sessions: number;
|
|
16034
|
+
avg_wait_seconds: number;
|
|
16035
|
+
done_today: number;
|
|
16036
|
+
station_id: string;
|
|
16037
|
+
station_name: string;
|
|
16038
|
+
waiting: number;
|
|
16039
|
+
}[];
|
|
16040
|
+
};
|
|
13677
16041
|
pickstation_get_orders_raw: {
|
|
13678
16042
|
Args: never;
|
|
13679
16043
|
Returns: Json;
|
|
@@ -13775,6 +16139,13 @@ export type Database = {
|
|
|
13775
16139
|
};
|
|
13776
16140
|
Returns: number;
|
|
13777
16141
|
};
|
|
16142
|
+
release_debtor_lock: {
|
|
16143
|
+
Args: {
|
|
16144
|
+
_group_key: string;
|
|
16145
|
+
_user_id: string;
|
|
16146
|
+
};
|
|
16147
|
+
Returns: boolean;
|
|
16148
|
+
};
|
|
13778
16149
|
reorder_customer_price_groups: {
|
|
13779
16150
|
Args: {
|
|
13780
16151
|
_ids: string[];
|
|
@@ -14154,6 +16525,20 @@ export type Database = {
|
|
|
14154
16525
|
};
|
|
14155
16526
|
Returns: undefined;
|
|
14156
16527
|
};
|
|
16528
|
+
try_debtor_lock: {
|
|
16529
|
+
Args: {
|
|
16530
|
+
_group_key: string;
|
|
16531
|
+
_user_id: string;
|
|
16532
|
+
};
|
|
16533
|
+
Returns: boolean;
|
|
16534
|
+
};
|
|
16535
|
+
twinfield_register_cron: {
|
|
16536
|
+
Args: {
|
|
16537
|
+
apikey: string;
|
|
16538
|
+
base_url: string;
|
|
16539
|
+
};
|
|
16540
|
+
Returns: Json;
|
|
16541
|
+
};
|
|
14157
16542
|
twinfield_upsert_connection_by_account_key: {
|
|
14158
16543
|
Args: {
|
|
14159
16544
|
p_account_key: string;
|
|
@@ -14180,12 +16565,18 @@ export type Database = {
|
|
|
14180
16565
|
};
|
|
14181
16566
|
};
|
|
14182
16567
|
Enums: {
|
|
16568
|
+
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
14183
16569
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
16570
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
16571
|
+
doc_orientation: "portrait" | "landscape";
|
|
14184
16572
|
exact_env: "staging" | "live";
|
|
14185
16573
|
exact_push_status: "pending" | "sent" | "error";
|
|
14186
16574
|
itk_customer_segment: "Business" | "Private";
|
|
14187
16575
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
14188
16576
|
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
16577
|
+
print_job_status: "wachtend" | "bezig" | "voltooid" | "mislukt" | "geannuleerd";
|
|
16578
|
+
printer_connection: "ipp" | "raw9100" | "printnode" | "cups" | "usb" | "windows" | "airprint" | "cloud";
|
|
16579
|
+
printer_kind: "labelprinter" | "laserprinter" | "inkjet" | "thermal" | "kantoorprinter" | "overig";
|
|
14189
16580
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
14190
16581
|
};
|
|
14191
16582
|
CompositeTypes: {
|
|
@@ -14245,12 +16636,18 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
14245
16636
|
export declare const Constants: {
|
|
14246
16637
|
readonly public: {
|
|
14247
16638
|
readonly Enums: {
|
|
16639
|
+
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
14248
16640
|
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
16641
|
+
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
16642
|
+
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
14249
16643
|
readonly exact_env: readonly ["staging", "live"];
|
|
14250
16644
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|
|
14251
16645
|
readonly itk_customer_segment: readonly ["Business", "Private"];
|
|
14252
16646
|
readonly itk_dynamic_field_type: readonly ["text", "select", "date", "checkbox"];
|
|
14253
16647
|
readonly planning_item_status: readonly ["gepland", "bezig", "afgerond", "geannuleerd", "concept", "vrijgegeven"];
|
|
16648
|
+
readonly print_job_status: readonly ["wachtend", "bezig", "voltooid", "mislukt", "geannuleerd"];
|
|
16649
|
+
readonly printer_connection: readonly ["ipp", "raw9100", "printnode", "cups", "usb", "windows", "airprint", "cloud"];
|
|
16650
|
+
readonly printer_kind: readonly ["labelprinter", "laserprinter", "inkjet", "thermal", "kantoorprinter", "overig"];
|
|
14254
16651
|
readonly quote_status: readonly ["concept", "verzonden", "bekeken", "in_behandeling", "geaccepteerd", "afgewezen", "verlopen", "gearchiveerd"];
|
|
14255
16652
|
};
|
|
14256
16653
|
};
|