@flowselections/floriday-verkoop-module 1.0.34 → 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
|
@@ -395,6 +395,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
395
395
|
};
|
|
396
396
|
Relationships: [];
|
|
397
397
|
};
|
|
398
|
+
ai_layout_imports: {
|
|
399
|
+
Row: {
|
|
400
|
+
analyse_json: import("./types").Json;
|
|
401
|
+
bestand_url: string | null;
|
|
402
|
+
bestandsnaam: string;
|
|
403
|
+
bevestigd: boolean;
|
|
404
|
+
created_at: string;
|
|
405
|
+
created_by: string | null;
|
|
406
|
+
foutmelding: string | null;
|
|
407
|
+
id: string;
|
|
408
|
+
layout_id: string | null;
|
|
409
|
+
mime_type: string;
|
|
410
|
+
onzekere_velden: import("./types").Json;
|
|
411
|
+
status: Database["public"]["Enums"]["ai_import_status"];
|
|
412
|
+
updated_at: string;
|
|
413
|
+
voorstel: import("./types").Json;
|
|
414
|
+
};
|
|
415
|
+
Insert: {
|
|
416
|
+
analyse_json?: import("./types").Json;
|
|
417
|
+
bestand_url?: string | null;
|
|
418
|
+
bestandsnaam?: string;
|
|
419
|
+
bevestigd?: boolean;
|
|
420
|
+
created_at?: string;
|
|
421
|
+
created_by?: string | null;
|
|
422
|
+
foutmelding?: string | null;
|
|
423
|
+
id?: string;
|
|
424
|
+
layout_id?: string | null;
|
|
425
|
+
mime_type?: string;
|
|
426
|
+
onzekere_velden?: import("./types").Json;
|
|
427
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
428
|
+
updated_at?: string;
|
|
429
|
+
voorstel?: import("./types").Json;
|
|
430
|
+
};
|
|
431
|
+
Update: {
|
|
432
|
+
analyse_json?: import("./types").Json;
|
|
433
|
+
bestand_url?: string | null;
|
|
434
|
+
bestandsnaam?: string;
|
|
435
|
+
bevestigd?: boolean;
|
|
436
|
+
created_at?: string;
|
|
437
|
+
created_by?: string | null;
|
|
438
|
+
foutmelding?: string | null;
|
|
439
|
+
id?: string;
|
|
440
|
+
layout_id?: string | null;
|
|
441
|
+
mime_type?: string;
|
|
442
|
+
onzekere_velden?: import("./types").Json;
|
|
443
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
444
|
+
updated_at?: string;
|
|
445
|
+
voorstel?: import("./types").Json;
|
|
446
|
+
};
|
|
447
|
+
Relationships: [{
|
|
448
|
+
foreignKeyName: "ai_layout_imports_layout_id_fkey";
|
|
449
|
+
columns: ["layout_id"];
|
|
450
|
+
isOneToOne: false;
|
|
451
|
+
referencedRelation: "document_layouts";
|
|
452
|
+
referencedColumns: ["id"];
|
|
453
|
+
}];
|
|
454
|
+
};
|
|
398
455
|
ai_model_pricing: {
|
|
399
456
|
Row: {
|
|
400
457
|
created_at: string;
|
|
@@ -485,6 +542,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
485
542
|
created_at: string;
|
|
486
543
|
credential_id: string;
|
|
487
544
|
id: string;
|
|
545
|
+
is_default: boolean;
|
|
546
|
+
label: string | null;
|
|
488
547
|
model_id: string;
|
|
489
548
|
notes: string | null;
|
|
490
549
|
updated_at: string;
|
|
@@ -494,6 +553,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
494
553
|
created_at?: string;
|
|
495
554
|
credential_id: string;
|
|
496
555
|
id?: string;
|
|
556
|
+
is_default?: boolean;
|
|
557
|
+
label?: string | null;
|
|
497
558
|
model_id: string;
|
|
498
559
|
notes?: string | null;
|
|
499
560
|
updated_at?: string;
|
|
@@ -503,6 +564,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
503
564
|
created_at?: string;
|
|
504
565
|
credential_id?: string;
|
|
505
566
|
id?: string;
|
|
567
|
+
is_default?: boolean;
|
|
568
|
+
label?: string | null;
|
|
506
569
|
model_id?: string;
|
|
507
570
|
notes?: string | null;
|
|
508
571
|
updated_at?: string;
|
|
@@ -521,6 +584,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
521
584
|
referencedColumns: ["id"];
|
|
522
585
|
}];
|
|
523
586
|
};
|
|
587
|
+
ai_modules: {
|
|
588
|
+
Row: {
|
|
589
|
+
ai_enabled: boolean;
|
|
590
|
+
created_at: string;
|
|
591
|
+
id: string;
|
|
592
|
+
module_key: string;
|
|
593
|
+
module_name: string;
|
|
594
|
+
updated_at: string;
|
|
595
|
+
};
|
|
596
|
+
Insert: {
|
|
597
|
+
ai_enabled?: boolean;
|
|
598
|
+
created_at?: string;
|
|
599
|
+
id?: string;
|
|
600
|
+
module_key: string;
|
|
601
|
+
module_name: string;
|
|
602
|
+
updated_at?: string;
|
|
603
|
+
};
|
|
604
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
613
|
+
foreignKeyName: "ai_modules_module_key_fkey";
|
|
614
|
+
columns: ["module_key"];
|
|
615
|
+
isOneToOne: true;
|
|
616
|
+
referencedRelation: "modules";
|
|
617
|
+
referencedColumns: ["module_key"];
|
|
618
|
+
}];
|
|
619
|
+
};
|
|
524
620
|
ai_providers: {
|
|
525
621
|
Row: {
|
|
526
622
|
active: boolean;
|
|
@@ -2450,6 +2546,351 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2450
2546
|
};
|
|
2451
2547
|
Relationships: [];
|
|
2452
2548
|
};
|
|
2549
|
+
document_formaat_printers: {
|
|
2550
|
+
Row: {
|
|
2551
|
+
created_at: string;
|
|
2552
|
+
documenttype: string;
|
|
2553
|
+
formaat_code: string;
|
|
2554
|
+
id: string;
|
|
2555
|
+
printer_id: string | null;
|
|
2556
|
+
updated_at: string;
|
|
2557
|
+
};
|
|
2558
|
+
Insert: {
|
|
2559
|
+
created_at?: string;
|
|
2560
|
+
documenttype: string;
|
|
2561
|
+
formaat_code: string;
|
|
2562
|
+
id?: string;
|
|
2563
|
+
printer_id?: string | null;
|
|
2564
|
+
updated_at?: string;
|
|
2565
|
+
};
|
|
2566
|
+
Update: {
|
|
2567
|
+
created_at?: string;
|
|
2568
|
+
documenttype?: string;
|
|
2569
|
+
formaat_code?: string;
|
|
2570
|
+
id?: string;
|
|
2571
|
+
printer_id?: string | null;
|
|
2572
|
+
updated_at?: string;
|
|
2573
|
+
};
|
|
2574
|
+
Relationships: [{
|
|
2575
|
+
foreignKeyName: "document_formaat_printers_printer_id_fkey";
|
|
2576
|
+
columns: ["printer_id"];
|
|
2577
|
+
isOneToOne: false;
|
|
2578
|
+
referencedRelation: "printers";
|
|
2579
|
+
referencedColumns: ["id"];
|
|
2580
|
+
}];
|
|
2581
|
+
};
|
|
2582
|
+
document_layout_conditions: {
|
|
2583
|
+
Row: {
|
|
2584
|
+
created_at: string;
|
|
2585
|
+
element_key: string;
|
|
2586
|
+
id: string;
|
|
2587
|
+
layout_id: string;
|
|
2588
|
+
operator: string;
|
|
2589
|
+
updated_at: string;
|
|
2590
|
+
veld: string;
|
|
2591
|
+
waarde: string;
|
|
2592
|
+
};
|
|
2593
|
+
Insert: {
|
|
2594
|
+
created_at?: string;
|
|
2595
|
+
element_key: string;
|
|
2596
|
+
id?: string;
|
|
2597
|
+
layout_id: string;
|
|
2598
|
+
operator?: string;
|
|
2599
|
+
updated_at?: string;
|
|
2600
|
+
veld: string;
|
|
2601
|
+
waarde?: string;
|
|
2602
|
+
};
|
|
2603
|
+
Update: {
|
|
2604
|
+
created_at?: string;
|
|
2605
|
+
element_key?: string;
|
|
2606
|
+
id?: string;
|
|
2607
|
+
layout_id?: string;
|
|
2608
|
+
operator?: string;
|
|
2609
|
+
updated_at?: string;
|
|
2610
|
+
veld?: string;
|
|
2611
|
+
waarde?: string;
|
|
2612
|
+
};
|
|
2613
|
+
Relationships: [{
|
|
2614
|
+
foreignKeyName: "document_layout_conditions_layout_id_fkey";
|
|
2615
|
+
columns: ["layout_id"];
|
|
2616
|
+
isOneToOne: false;
|
|
2617
|
+
referencedRelation: "document_layouts";
|
|
2618
|
+
referencedColumns: ["id"];
|
|
2619
|
+
}];
|
|
2620
|
+
};
|
|
2621
|
+
document_layout_datasources: {
|
|
2622
|
+
Row: {
|
|
2623
|
+
alias: string;
|
|
2624
|
+
created_at: string;
|
|
2625
|
+
entiteit: string;
|
|
2626
|
+
filter: import("./types").Json;
|
|
2627
|
+
id: string;
|
|
2628
|
+
layout_id: string;
|
|
2629
|
+
module_id: string;
|
|
2630
|
+
updated_at: string;
|
|
2631
|
+
};
|
|
2632
|
+
Insert: {
|
|
2633
|
+
alias?: string;
|
|
2634
|
+
created_at?: string;
|
|
2635
|
+
entiteit: string;
|
|
2636
|
+
filter?: import("./types").Json;
|
|
2637
|
+
id?: string;
|
|
2638
|
+
layout_id: string;
|
|
2639
|
+
module_id: string;
|
|
2640
|
+
updated_at?: string;
|
|
2641
|
+
};
|
|
2642
|
+
Update: {
|
|
2643
|
+
alias?: string;
|
|
2644
|
+
created_at?: string;
|
|
2645
|
+
entiteit?: string;
|
|
2646
|
+
filter?: import("./types").Json;
|
|
2647
|
+
id?: string;
|
|
2648
|
+
layout_id?: string;
|
|
2649
|
+
module_id?: string;
|
|
2650
|
+
updated_at?: string;
|
|
2651
|
+
};
|
|
2652
|
+
Relationships: [{
|
|
2653
|
+
foreignKeyName: "document_layout_datasources_layout_id_fkey";
|
|
2654
|
+
columns: ["layout_id"];
|
|
2655
|
+
isOneToOne: false;
|
|
2656
|
+
referencedRelation: "document_layouts";
|
|
2657
|
+
referencedColumns: ["id"];
|
|
2658
|
+
}];
|
|
2659
|
+
};
|
|
2660
|
+
document_layout_elements: {
|
|
2661
|
+
Row: {
|
|
2662
|
+
breedte: number;
|
|
2663
|
+
config: import("./types").Json;
|
|
2664
|
+
content: string;
|
|
2665
|
+
created_at: string;
|
|
2666
|
+
element_key: string;
|
|
2667
|
+
hoogte: number;
|
|
2668
|
+
id: string;
|
|
2669
|
+
layout_id: string;
|
|
2670
|
+
logo_id: string | null;
|
|
2671
|
+
parent_key: string | null;
|
|
2672
|
+
rotatie: number;
|
|
2673
|
+
stijl: import("./types").Json;
|
|
2674
|
+
type: string;
|
|
2675
|
+
updated_at: string;
|
|
2676
|
+
veldpad: string | null;
|
|
2677
|
+
verborgen: boolean;
|
|
2678
|
+
vergrendeld: boolean;
|
|
2679
|
+
volgorde: number;
|
|
2680
|
+
x: number;
|
|
2681
|
+
y: number;
|
|
2682
|
+
z_index: number;
|
|
2683
|
+
};
|
|
2684
|
+
Insert: {
|
|
2685
|
+
breedte?: number;
|
|
2686
|
+
config?: import("./types").Json;
|
|
2687
|
+
content?: string;
|
|
2688
|
+
created_at?: string;
|
|
2689
|
+
element_key: string;
|
|
2690
|
+
hoogte?: number;
|
|
2691
|
+
id?: string;
|
|
2692
|
+
layout_id: string;
|
|
2693
|
+
logo_id?: string | null;
|
|
2694
|
+
parent_key?: string | null;
|
|
2695
|
+
rotatie?: number;
|
|
2696
|
+
stijl?: import("./types").Json;
|
|
2697
|
+
type: string;
|
|
2698
|
+
updated_at?: string;
|
|
2699
|
+
veldpad?: string | null;
|
|
2700
|
+
verborgen?: boolean;
|
|
2701
|
+
vergrendeld?: boolean;
|
|
2702
|
+
volgorde?: number;
|
|
2703
|
+
x?: number;
|
|
2704
|
+
y?: number;
|
|
2705
|
+
z_index?: number;
|
|
2706
|
+
};
|
|
2707
|
+
Update: {
|
|
2708
|
+
breedte?: number;
|
|
2709
|
+
config?: import("./types").Json;
|
|
2710
|
+
content?: string;
|
|
2711
|
+
created_at?: string;
|
|
2712
|
+
element_key?: string;
|
|
2713
|
+
hoogte?: number;
|
|
2714
|
+
id?: string;
|
|
2715
|
+
layout_id?: string;
|
|
2716
|
+
logo_id?: string | null;
|
|
2717
|
+
parent_key?: string | null;
|
|
2718
|
+
rotatie?: number;
|
|
2719
|
+
stijl?: import("./types").Json;
|
|
2720
|
+
type?: string;
|
|
2721
|
+
updated_at?: string;
|
|
2722
|
+
veldpad?: string | null;
|
|
2723
|
+
verborgen?: boolean;
|
|
2724
|
+
vergrendeld?: boolean;
|
|
2725
|
+
volgorde?: number;
|
|
2726
|
+
x?: number;
|
|
2727
|
+
y?: number;
|
|
2728
|
+
z_index?: number;
|
|
2729
|
+
};
|
|
2730
|
+
Relationships: [{
|
|
2731
|
+
foreignKeyName: "document_layout_elements_layout_id_fkey";
|
|
2732
|
+
columns: ["layout_id"];
|
|
2733
|
+
isOneToOne: false;
|
|
2734
|
+
referencedRelation: "document_layouts";
|
|
2735
|
+
referencedColumns: ["id"];
|
|
2736
|
+
}, {
|
|
2737
|
+
foreignKeyName: "document_layout_elements_logo_id_fkey";
|
|
2738
|
+
columns: ["logo_id"];
|
|
2739
|
+
isOneToOne: false;
|
|
2740
|
+
referencedRelation: "layout_logos";
|
|
2741
|
+
referencedColumns: ["id"];
|
|
2742
|
+
}];
|
|
2743
|
+
};
|
|
2744
|
+
document_layout_variables: {
|
|
2745
|
+
Row: {
|
|
2746
|
+
created_at: string;
|
|
2747
|
+
expressie: string;
|
|
2748
|
+
id: string;
|
|
2749
|
+
layout_id: string;
|
|
2750
|
+
naam: string;
|
|
2751
|
+
omschrijving: string;
|
|
2752
|
+
updated_at: string;
|
|
2753
|
+
};
|
|
2754
|
+
Insert: {
|
|
2755
|
+
created_at?: string;
|
|
2756
|
+
expressie?: string;
|
|
2757
|
+
id?: string;
|
|
2758
|
+
layout_id: string;
|
|
2759
|
+
naam: string;
|
|
2760
|
+
omschrijving?: string;
|
|
2761
|
+
updated_at?: string;
|
|
2762
|
+
};
|
|
2763
|
+
Update: {
|
|
2764
|
+
created_at?: string;
|
|
2765
|
+
expressie?: string;
|
|
2766
|
+
id?: string;
|
|
2767
|
+
layout_id?: string;
|
|
2768
|
+
naam?: string;
|
|
2769
|
+
omschrijving?: string;
|
|
2770
|
+
updated_at?: string;
|
|
2771
|
+
};
|
|
2772
|
+
Relationships: [{
|
|
2773
|
+
foreignKeyName: "document_layout_variables_layout_id_fkey";
|
|
2774
|
+
columns: ["layout_id"];
|
|
2775
|
+
isOneToOne: false;
|
|
2776
|
+
referencedRelation: "document_layouts";
|
|
2777
|
+
referencedColumns: ["id"];
|
|
2778
|
+
}];
|
|
2779
|
+
};
|
|
2780
|
+
document_layout_versions: {
|
|
2781
|
+
Row: {
|
|
2782
|
+
commentaar: string;
|
|
2783
|
+
created_at: string;
|
|
2784
|
+
created_by: string | null;
|
|
2785
|
+
elements: import("./types").Json;
|
|
2786
|
+
id: string;
|
|
2787
|
+
layout_id: string;
|
|
2788
|
+
page_settings: import("./types").Json;
|
|
2789
|
+
updated_at: string;
|
|
2790
|
+
versienummer: number;
|
|
2791
|
+
};
|
|
2792
|
+
Insert: {
|
|
2793
|
+
commentaar?: string;
|
|
2794
|
+
created_at?: string;
|
|
2795
|
+
created_by?: string | null;
|
|
2796
|
+
elements?: import("./types").Json;
|
|
2797
|
+
id?: string;
|
|
2798
|
+
layout_id: string;
|
|
2799
|
+
page_settings?: import("./types").Json;
|
|
2800
|
+
updated_at?: string;
|
|
2801
|
+
versienummer: number;
|
|
2802
|
+
};
|
|
2803
|
+
Update: {
|
|
2804
|
+
commentaar?: string;
|
|
2805
|
+
created_at?: string;
|
|
2806
|
+
created_by?: string | null;
|
|
2807
|
+
elements?: import("./types").Json;
|
|
2808
|
+
id?: string;
|
|
2809
|
+
layout_id?: string;
|
|
2810
|
+
page_settings?: import("./types").Json;
|
|
2811
|
+
updated_at?: string;
|
|
2812
|
+
versienummer?: number;
|
|
2813
|
+
};
|
|
2814
|
+
Relationships: [{
|
|
2815
|
+
foreignKeyName: "document_layout_versions_layout_id_fkey";
|
|
2816
|
+
columns: ["layout_id"];
|
|
2817
|
+
isOneToOne: false;
|
|
2818
|
+
referencedRelation: "document_layouts";
|
|
2819
|
+
referencedColumns: ["id"];
|
|
2820
|
+
}];
|
|
2821
|
+
};
|
|
2822
|
+
document_layouts: {
|
|
2823
|
+
Row: {
|
|
2824
|
+
actief: boolean;
|
|
2825
|
+
breedte_mm: number;
|
|
2826
|
+
config: import("./types").Json;
|
|
2827
|
+
created_at: string;
|
|
2828
|
+
created_by: string | null;
|
|
2829
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
2830
|
+
hoogte_mm: number;
|
|
2831
|
+
huidige_versie: number;
|
|
2832
|
+
id: string;
|
|
2833
|
+
is_standaard: boolean;
|
|
2834
|
+
marge_boven: number;
|
|
2835
|
+
marge_links: number;
|
|
2836
|
+
marge_onder: number;
|
|
2837
|
+
marge_rechts: number;
|
|
2838
|
+
naam: string;
|
|
2839
|
+
omschrijving: string;
|
|
2840
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
2841
|
+
page_settings: import("./types").Json;
|
|
2842
|
+
papierformaat: string;
|
|
2843
|
+
thumbnail_url: string | null;
|
|
2844
|
+
updated_at: string;
|
|
2845
|
+
};
|
|
2846
|
+
Insert: {
|
|
2847
|
+
actief?: boolean;
|
|
2848
|
+
breedte_mm?: number;
|
|
2849
|
+
config?: import("./types").Json;
|
|
2850
|
+
created_at?: string;
|
|
2851
|
+
created_by?: string | null;
|
|
2852
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2853
|
+
hoogte_mm?: number;
|
|
2854
|
+
huidige_versie?: number;
|
|
2855
|
+
id?: string;
|
|
2856
|
+
is_standaard?: boolean;
|
|
2857
|
+
marge_boven?: number;
|
|
2858
|
+
marge_links?: number;
|
|
2859
|
+
marge_onder?: number;
|
|
2860
|
+
marge_rechts?: number;
|
|
2861
|
+
naam: string;
|
|
2862
|
+
omschrijving?: string;
|
|
2863
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2864
|
+
page_settings?: import("./types").Json;
|
|
2865
|
+
papierformaat?: string;
|
|
2866
|
+
thumbnail_url?: string | null;
|
|
2867
|
+
updated_at?: string;
|
|
2868
|
+
};
|
|
2869
|
+
Update: {
|
|
2870
|
+
actief?: boolean;
|
|
2871
|
+
breedte_mm?: number;
|
|
2872
|
+
config?: import("./types").Json;
|
|
2873
|
+
created_at?: string;
|
|
2874
|
+
created_by?: string | null;
|
|
2875
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2876
|
+
hoogte_mm?: number;
|
|
2877
|
+
huidige_versie?: number;
|
|
2878
|
+
id?: string;
|
|
2879
|
+
is_standaard?: boolean;
|
|
2880
|
+
marge_boven?: number;
|
|
2881
|
+
marge_links?: number;
|
|
2882
|
+
marge_onder?: number;
|
|
2883
|
+
marge_rechts?: number;
|
|
2884
|
+
naam?: string;
|
|
2885
|
+
omschrijving?: string;
|
|
2886
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2887
|
+
page_settings?: import("./types").Json;
|
|
2888
|
+
papierformaat?: string;
|
|
2889
|
+
thumbnail_url?: string | null;
|
|
2890
|
+
updated_at?: string;
|
|
2891
|
+
};
|
|
2892
|
+
Relationships: [];
|
|
2893
|
+
};
|
|
2453
2894
|
email_auth_connections: {
|
|
2454
2895
|
Row: {
|
|
2455
2896
|
access_token_encrypted: string | null;
|
|
@@ -2489,6 +2930,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2489
2930
|
status: string;
|
|
2490
2931
|
token_expires_at: string | null;
|
|
2491
2932
|
updated_at: string;
|
|
2933
|
+
watch_scope: string;
|
|
2934
|
+
webhook_last_attempt_at: string | null;
|
|
2935
|
+
webhook_last_error: string | null;
|
|
2936
|
+
webhook_status: string;
|
|
2492
2937
|
};
|
|
2493
2938
|
Insert: {
|
|
2494
2939
|
access_token_encrypted?: string | null;
|
|
@@ -2528,6 +2973,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2528
2973
|
status?: string;
|
|
2529
2974
|
token_expires_at?: string | null;
|
|
2530
2975
|
updated_at?: string;
|
|
2976
|
+
watch_scope?: string;
|
|
2977
|
+
webhook_last_attempt_at?: string | null;
|
|
2978
|
+
webhook_last_error?: string | null;
|
|
2979
|
+
webhook_status?: string;
|
|
2531
2980
|
};
|
|
2532
2981
|
Update: {
|
|
2533
2982
|
access_token_encrypted?: string | null;
|
|
@@ -2567,6 +3016,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2567
3016
|
status?: string;
|
|
2568
3017
|
token_expires_at?: string | null;
|
|
2569
3018
|
updated_at?: string;
|
|
3019
|
+
watch_scope?: string;
|
|
3020
|
+
webhook_last_attempt_at?: string | null;
|
|
3021
|
+
webhook_last_error?: string | null;
|
|
3022
|
+
webhook_status?: string;
|
|
2570
3023
|
};
|
|
2571
3024
|
Relationships: [];
|
|
2572
3025
|
};
|
|
@@ -2762,44 +3215,164 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2762
3215
|
referencedColumns: ["id"];
|
|
2763
3216
|
}];
|
|
2764
3217
|
};
|
|
2765
|
-
|
|
3218
|
+
email_auth_watch_folders: {
|
|
2766
3219
|
Row: {
|
|
2767
|
-
account_id: string;
|
|
2768
|
-
account_name: string | null;
|
|
2769
|
-
avg_payment_days: number | null;
|
|
2770
|
-
computed_at: string;
|
|
2771
3220
|
connection_id: string;
|
|
2772
|
-
|
|
3221
|
+
created_at: string;
|
|
3222
|
+
folder_id: string;
|
|
3223
|
+
folder_name: string | null;
|
|
3224
|
+
gmail_history_id: string | null;
|
|
3225
|
+
graph_subscription_expires_at: string | null;
|
|
3226
|
+
graph_subscription_id: string | null;
|
|
2773
3227
|
id: string;
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
3228
|
+
imap_last_uid: number | null;
|
|
3229
|
+
imap_uid_validity: number | null;
|
|
3230
|
+
mailbox: string;
|
|
3231
|
+
provider: string;
|
|
3232
|
+
updated_at: string;
|
|
3233
|
+
webhook_last_error: string | null;
|
|
3234
|
+
webhook_status: string | null;
|
|
2780
3235
|
};
|
|
2781
3236
|
Insert: {
|
|
2782
|
-
account_id: string;
|
|
2783
|
-
account_name?: string | null;
|
|
2784
|
-
avg_payment_days?: number | null;
|
|
2785
|
-
computed_at?: string;
|
|
2786
3237
|
connection_id: string;
|
|
2787
|
-
|
|
3238
|
+
created_at?: string;
|
|
3239
|
+
folder_id: string;
|
|
3240
|
+
folder_name?: string | null;
|
|
3241
|
+
gmail_history_id?: string | null;
|
|
3242
|
+
graph_subscription_expires_at?: string | null;
|
|
3243
|
+
graph_subscription_id?: string | null;
|
|
2788
3244
|
id?: string;
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
3245
|
+
imap_last_uid?: number | null;
|
|
3246
|
+
imap_uid_validity?: number | null;
|
|
3247
|
+
mailbox?: string;
|
|
3248
|
+
provider: string;
|
|
3249
|
+
updated_at?: string;
|
|
3250
|
+
webhook_last_error?: string | null;
|
|
3251
|
+
webhook_status?: string | null;
|
|
2795
3252
|
};
|
|
2796
3253
|
Update: {
|
|
2797
|
-
account_id?: string;
|
|
2798
|
-
account_name?: string | null;
|
|
2799
|
-
avg_payment_days?: number | null;
|
|
2800
|
-
computed_at?: string;
|
|
2801
3254
|
connection_id?: string;
|
|
2802
|
-
|
|
3255
|
+
created_at?: string;
|
|
3256
|
+
folder_id?: string;
|
|
3257
|
+
folder_name?: string | null;
|
|
3258
|
+
gmail_history_id?: string | null;
|
|
3259
|
+
graph_subscription_expires_at?: string | null;
|
|
3260
|
+
graph_subscription_id?: string | null;
|
|
3261
|
+
id?: string;
|
|
3262
|
+
imap_last_uid?: number | null;
|
|
3263
|
+
imap_uid_validity?: number | null;
|
|
3264
|
+
mailbox?: string;
|
|
3265
|
+
provider?: string;
|
|
3266
|
+
updated_at?: string;
|
|
3267
|
+
webhook_last_error?: string | null;
|
|
3268
|
+
webhook_status?: string | null;
|
|
3269
|
+
};
|
|
3270
|
+
Relationships: [{
|
|
3271
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3272
|
+
columns: ["connection_id"];
|
|
3273
|
+
isOneToOne: false;
|
|
3274
|
+
referencedRelation: "email_auth_connections";
|
|
3275
|
+
referencedColumns: ["id"];
|
|
3276
|
+
}, {
|
|
3277
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3278
|
+
columns: ["connection_id"];
|
|
3279
|
+
isOneToOne: false;
|
|
3280
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3281
|
+
referencedColumns: ["id"];
|
|
3282
|
+
}];
|
|
3283
|
+
};
|
|
3284
|
+
email_auth_webhook_log: {
|
|
3285
|
+
Row: {
|
|
3286
|
+
body_sample: string | null;
|
|
3287
|
+
connection_id: string | null;
|
|
3288
|
+
created_at: string;
|
|
3289
|
+
error_message: string | null;
|
|
3290
|
+
headers_sample: import("./types").Json | null;
|
|
3291
|
+
id: string;
|
|
3292
|
+
notification_count: number | null;
|
|
3293
|
+
provider: string | null;
|
|
3294
|
+
source: string | null;
|
|
3295
|
+
status: string;
|
|
3296
|
+
subscription_id: string | null;
|
|
3297
|
+
};
|
|
3298
|
+
Insert: {
|
|
3299
|
+
body_sample?: string | null;
|
|
3300
|
+
connection_id?: string | null;
|
|
3301
|
+
created_at?: string;
|
|
3302
|
+
error_message?: string | null;
|
|
3303
|
+
headers_sample?: import("./types").Json | null;
|
|
3304
|
+
id?: string;
|
|
3305
|
+
notification_count?: number | null;
|
|
3306
|
+
provider?: string | null;
|
|
3307
|
+
source?: string | null;
|
|
3308
|
+
status: string;
|
|
3309
|
+
subscription_id?: string | null;
|
|
3310
|
+
};
|
|
3311
|
+
Update: {
|
|
3312
|
+
body_sample?: string | null;
|
|
3313
|
+
connection_id?: string | null;
|
|
3314
|
+
created_at?: string;
|
|
3315
|
+
error_message?: string | null;
|
|
3316
|
+
headers_sample?: import("./types").Json | null;
|
|
3317
|
+
id?: string;
|
|
3318
|
+
notification_count?: number | null;
|
|
3319
|
+
provider?: string | null;
|
|
3320
|
+
source?: string | null;
|
|
3321
|
+
status?: string;
|
|
3322
|
+
subscription_id?: string | null;
|
|
3323
|
+
};
|
|
3324
|
+
Relationships: [{
|
|
3325
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3326
|
+
columns: ["connection_id"];
|
|
3327
|
+
isOneToOne: false;
|
|
3328
|
+
referencedRelation: "email_auth_connections";
|
|
3329
|
+
referencedColumns: ["id"];
|
|
3330
|
+
}, {
|
|
3331
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3332
|
+
columns: ["connection_id"];
|
|
3333
|
+
isOneToOne: false;
|
|
3334
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3335
|
+
referencedColumns: ["id"];
|
|
3336
|
+
}];
|
|
3337
|
+
};
|
|
3338
|
+
exact_account_analytics_cache: {
|
|
3339
|
+
Row: {
|
|
3340
|
+
account_id: string;
|
|
3341
|
+
account_name: string | null;
|
|
3342
|
+
avg_payment_days: number | null;
|
|
3343
|
+
computed_at: string;
|
|
3344
|
+
connection_id: string;
|
|
3345
|
+
expires_at: string | null;
|
|
3346
|
+
id: string;
|
|
3347
|
+
invoice_count: number | null;
|
|
3348
|
+
last_invoice_date: string | null;
|
|
3349
|
+
last_payment_date: string | null;
|
|
3350
|
+
open_balance: number | null;
|
|
3351
|
+
overdue_balance: number | null;
|
|
3352
|
+
total_revenue: number | null;
|
|
3353
|
+
};
|
|
3354
|
+
Insert: {
|
|
3355
|
+
account_id: string;
|
|
3356
|
+
account_name?: string | null;
|
|
3357
|
+
avg_payment_days?: number | null;
|
|
3358
|
+
computed_at?: string;
|
|
3359
|
+
connection_id: string;
|
|
3360
|
+
expires_at?: string | null;
|
|
3361
|
+
id?: string;
|
|
3362
|
+
invoice_count?: number | null;
|
|
3363
|
+
last_invoice_date?: string | null;
|
|
3364
|
+
last_payment_date?: string | null;
|
|
3365
|
+
open_balance?: number | null;
|
|
3366
|
+
overdue_balance?: number | null;
|
|
3367
|
+
total_revenue?: number | null;
|
|
3368
|
+
};
|
|
3369
|
+
Update: {
|
|
3370
|
+
account_id?: string;
|
|
3371
|
+
account_name?: string | null;
|
|
3372
|
+
avg_payment_days?: number | null;
|
|
3373
|
+
computed_at?: string;
|
|
3374
|
+
connection_id?: string;
|
|
3375
|
+
expires_at?: string | null;
|
|
2803
3376
|
id?: string;
|
|
2804
3377
|
invoice_count?: number | null;
|
|
2805
3378
|
last_invoice_date?: string | null;
|
|
@@ -5975,6 +6548,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5975
6548
|
};
|
|
5976
6549
|
Relationships: [];
|
|
5977
6550
|
};
|
|
6551
|
+
invoice_post_idempotency: {
|
|
6552
|
+
Row: {
|
|
6553
|
+
client_request_id: string;
|
|
6554
|
+
completed_at: string | null;
|
|
6555
|
+
created_at: string;
|
|
6556
|
+
error_message: string | null;
|
|
6557
|
+
invoice_number: string | null;
|
|
6558
|
+
status: string;
|
|
6559
|
+
user_id: string;
|
|
6560
|
+
};
|
|
6561
|
+
Insert: {
|
|
6562
|
+
client_request_id: string;
|
|
6563
|
+
completed_at?: string | null;
|
|
6564
|
+
created_at?: string;
|
|
6565
|
+
error_message?: string | null;
|
|
6566
|
+
invoice_number?: string | null;
|
|
6567
|
+
status?: string;
|
|
6568
|
+
user_id: string;
|
|
6569
|
+
};
|
|
6570
|
+
Update: {
|
|
6571
|
+
client_request_id?: string;
|
|
6572
|
+
completed_at?: string | null;
|
|
6573
|
+
created_at?: string;
|
|
6574
|
+
error_message?: string | null;
|
|
6575
|
+
invoice_number?: string | null;
|
|
6576
|
+
status?: string;
|
|
6577
|
+
user_id?: string;
|
|
6578
|
+
};
|
|
6579
|
+
Relationships: [];
|
|
6580
|
+
};
|
|
5978
6581
|
invoice_push_log: {
|
|
5979
6582
|
Row: {
|
|
5980
6583
|
connection_id: string | null;
|
|
@@ -6362,6 +6965,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6362
6965
|
referencedColumns: ["id"];
|
|
6363
6966
|
}];
|
|
6364
6967
|
};
|
|
6968
|
+
layout_logos: {
|
|
6969
|
+
Row: {
|
|
6970
|
+
bestand_url: string;
|
|
6971
|
+
bestandsgrootte: number;
|
|
6972
|
+
bestandspad: string | null;
|
|
6973
|
+
bestandstype: string;
|
|
6974
|
+
breedte: number;
|
|
6975
|
+
categorie: string;
|
|
6976
|
+
created_at: string;
|
|
6977
|
+
hash: string | null;
|
|
6978
|
+
hoogte: number;
|
|
6979
|
+
id: string;
|
|
6980
|
+
is_standaard: boolean;
|
|
6981
|
+
naam: string;
|
|
6982
|
+
omschrijving: string;
|
|
6983
|
+
transparant: boolean;
|
|
6984
|
+
updated_at: string;
|
|
6985
|
+
};
|
|
6986
|
+
Insert: {
|
|
6987
|
+
bestand_url: string;
|
|
6988
|
+
bestandsgrootte?: number;
|
|
6989
|
+
bestandspad?: string | null;
|
|
6990
|
+
bestandstype?: string;
|
|
6991
|
+
breedte?: number;
|
|
6992
|
+
categorie?: string;
|
|
6993
|
+
created_at?: string;
|
|
6994
|
+
hash?: string | null;
|
|
6995
|
+
hoogte?: number;
|
|
6996
|
+
id?: string;
|
|
6997
|
+
is_standaard?: boolean;
|
|
6998
|
+
naam: string;
|
|
6999
|
+
omschrijving?: string;
|
|
7000
|
+
transparant?: boolean;
|
|
7001
|
+
updated_at?: string;
|
|
7002
|
+
};
|
|
7003
|
+
Update: {
|
|
7004
|
+
bestand_url?: string;
|
|
7005
|
+
bestandsgrootte?: number;
|
|
7006
|
+
bestandspad?: string | null;
|
|
7007
|
+
bestandstype?: string;
|
|
7008
|
+
breedte?: number;
|
|
7009
|
+
categorie?: string;
|
|
7010
|
+
created_at?: string;
|
|
7011
|
+
hash?: string | null;
|
|
7012
|
+
hoogte?: number;
|
|
7013
|
+
id?: string;
|
|
7014
|
+
is_standaard?: boolean;
|
|
7015
|
+
naam?: string;
|
|
7016
|
+
omschrijving?: string;
|
|
7017
|
+
transparant?: boolean;
|
|
7018
|
+
updated_at?: string;
|
|
7019
|
+
};
|
|
7020
|
+
Relationships: [];
|
|
7021
|
+
};
|
|
6365
7022
|
leave_requests: {
|
|
6366
7023
|
Row: {
|
|
6367
7024
|
created_at: string;
|
|
@@ -6905,6 +7562,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6905
7562
|
};
|
|
6906
7563
|
Relationships: [];
|
|
6907
7564
|
};
|
|
7565
|
+
mailbox_ai_goal_prompts: {
|
|
7566
|
+
Row: {
|
|
7567
|
+
created_at: string;
|
|
7568
|
+
goal_key: string;
|
|
7569
|
+
id: string;
|
|
7570
|
+
system_prompt: string;
|
|
7571
|
+
updated_at: string;
|
|
7572
|
+
};
|
|
7573
|
+
Insert: {
|
|
7574
|
+
created_at?: string;
|
|
7575
|
+
goal_key: string;
|
|
7576
|
+
id?: string;
|
|
7577
|
+
system_prompt?: string;
|
|
7578
|
+
updated_at?: string;
|
|
7579
|
+
};
|
|
7580
|
+
Update: {
|
|
7581
|
+
created_at?: string;
|
|
7582
|
+
goal_key?: string;
|
|
7583
|
+
id?: string;
|
|
7584
|
+
system_prompt?: string;
|
|
7585
|
+
updated_at?: string;
|
|
7586
|
+
};
|
|
7587
|
+
Relationships: [];
|
|
7588
|
+
};
|
|
7589
|
+
mailbox_ai_settings: {
|
|
7590
|
+
Row: {
|
|
7591
|
+
active_goal_key: string | null;
|
|
7592
|
+
created_at: string;
|
|
7593
|
+
enabled: boolean;
|
|
7594
|
+
id: string;
|
|
7595
|
+
required_fields: string[];
|
|
7596
|
+
singleton: boolean;
|
|
7597
|
+
system_prompt: string | null;
|
|
7598
|
+
updated_at: string;
|
|
7599
|
+
};
|
|
7600
|
+
Insert: {
|
|
7601
|
+
active_goal_key?: string | null;
|
|
7602
|
+
created_at?: string;
|
|
7603
|
+
enabled?: boolean;
|
|
7604
|
+
id?: string;
|
|
7605
|
+
required_fields?: string[];
|
|
7606
|
+
singleton?: boolean;
|
|
7607
|
+
system_prompt?: string | null;
|
|
7608
|
+
updated_at?: string;
|
|
7609
|
+
};
|
|
7610
|
+
Update: {
|
|
7611
|
+
active_goal_key?: string | null;
|
|
7612
|
+
created_at?: string;
|
|
7613
|
+
enabled?: boolean;
|
|
7614
|
+
id?: string;
|
|
7615
|
+
required_fields?: string[];
|
|
7616
|
+
singleton?: boolean;
|
|
7617
|
+
system_prompt?: string | null;
|
|
7618
|
+
updated_at?: string;
|
|
7619
|
+
};
|
|
7620
|
+
Relationships: [];
|
|
7621
|
+
};
|
|
7622
|
+
mailbox_ingest_runs: {
|
|
7623
|
+
Row: {
|
|
7624
|
+
connection_id: string | null;
|
|
7625
|
+
error_sample: string | null;
|
|
7626
|
+
errors: number;
|
|
7627
|
+
finished_at: string | null;
|
|
7628
|
+
id: string;
|
|
7629
|
+
inserted: number;
|
|
7630
|
+
processed: number;
|
|
7631
|
+
started_at: string;
|
|
7632
|
+
trigger: string;
|
|
7633
|
+
};
|
|
7634
|
+
Insert: {
|
|
7635
|
+
connection_id?: string | null;
|
|
7636
|
+
error_sample?: string | null;
|
|
7637
|
+
errors?: number;
|
|
7638
|
+
finished_at?: string | null;
|
|
7639
|
+
id?: string;
|
|
7640
|
+
inserted?: number;
|
|
7641
|
+
processed?: number;
|
|
7642
|
+
started_at?: string;
|
|
7643
|
+
trigger: string;
|
|
7644
|
+
};
|
|
7645
|
+
Update: {
|
|
7646
|
+
connection_id?: string | null;
|
|
7647
|
+
error_sample?: string | null;
|
|
7648
|
+
errors?: number;
|
|
7649
|
+
finished_at?: string | null;
|
|
7650
|
+
id?: string;
|
|
7651
|
+
inserted?: number;
|
|
7652
|
+
processed?: number;
|
|
7653
|
+
started_at?: string;
|
|
7654
|
+
trigger?: string;
|
|
7655
|
+
};
|
|
7656
|
+
Relationships: [];
|
|
7657
|
+
};
|
|
6908
7658
|
mailbox_messages: {
|
|
6909
7659
|
Row: {
|
|
6910
7660
|
body_html: string | null;
|
|
@@ -6985,6 +7735,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6985
7735
|
};
|
|
6986
7736
|
mailbox_order_proposals: {
|
|
6987
7737
|
Row: {
|
|
7738
|
+
ai_validation: import("./types").Json | null;
|
|
6988
7739
|
confidence: number | null;
|
|
6989
7740
|
created_at: string;
|
|
6990
7741
|
created_order_id: string | null;
|
|
@@ -7001,6 +7752,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7001
7752
|
updated_at: string;
|
|
7002
7753
|
};
|
|
7003
7754
|
Insert: {
|
|
7755
|
+
ai_validation?: import("./types").Json | null;
|
|
7004
7756
|
confidence?: number | null;
|
|
7005
7757
|
created_at?: string;
|
|
7006
7758
|
created_order_id?: string | null;
|
|
@@ -7017,6 +7769,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7017
7769
|
updated_at?: string;
|
|
7018
7770
|
};
|
|
7019
7771
|
Update: {
|
|
7772
|
+
ai_validation?: import("./types").Json | null;
|
|
7020
7773
|
confidence?: number | null;
|
|
7021
7774
|
created_at?: string;
|
|
7022
7775
|
created_order_id?: string | null;
|
|
@@ -7153,6 +7906,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7153
7906
|
created_at: string;
|
|
7154
7907
|
id: string;
|
|
7155
7908
|
match_confidence: number | null;
|
|
7909
|
+
plant_type: string | null;
|
|
7156
7910
|
product_id: string | null;
|
|
7157
7911
|
proposal_id: string;
|
|
7158
7912
|
quantity: number | null;
|
|
@@ -7165,6 +7919,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7165
7919
|
created_at?: string;
|
|
7166
7920
|
id?: string;
|
|
7167
7921
|
match_confidence?: number | null;
|
|
7922
|
+
plant_type?: string | null;
|
|
7168
7923
|
product_id?: string | null;
|
|
7169
7924
|
proposal_id: string;
|
|
7170
7925
|
quantity?: number | null;
|
|
@@ -7177,6 +7932,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7177
7932
|
created_at?: string;
|
|
7178
7933
|
id?: string;
|
|
7179
7934
|
match_confidence?: number | null;
|
|
7935
|
+
plant_type?: string | null;
|
|
7180
7936
|
product_id?: string | null;
|
|
7181
7937
|
proposal_id?: string;
|
|
7182
7938
|
quantity?: number | null;
|
|
@@ -7361,6 +8117,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7361
8117
|
};
|
|
7362
8118
|
Relationships: [];
|
|
7363
8119
|
};
|
|
8120
|
+
modules: {
|
|
8121
|
+
Row: {
|
|
8122
|
+
created_at: string;
|
|
8123
|
+
description: string | null;
|
|
8124
|
+
id: string;
|
|
8125
|
+
is_active: boolean;
|
|
8126
|
+
last_seen_at: string | null;
|
|
8127
|
+
module_key: string;
|
|
8128
|
+
module_name: string;
|
|
8129
|
+
updated_at: string;
|
|
8130
|
+
};
|
|
8131
|
+
Insert: {
|
|
8132
|
+
created_at?: string;
|
|
8133
|
+
description?: string | null;
|
|
8134
|
+
id?: string;
|
|
8135
|
+
is_active?: boolean;
|
|
8136
|
+
last_seen_at?: string | null;
|
|
8137
|
+
module_key: string;
|
|
8138
|
+
module_name: string;
|
|
8139
|
+
updated_at?: string;
|
|
8140
|
+
};
|
|
8141
|
+
Update: {
|
|
8142
|
+
created_at?: string;
|
|
8143
|
+
description?: string | null;
|
|
8144
|
+
id?: string;
|
|
8145
|
+
is_active?: boolean;
|
|
8146
|
+
last_seen_at?: string | null;
|
|
8147
|
+
module_key?: string;
|
|
8148
|
+
module_name?: string;
|
|
8149
|
+
updated_at?: string;
|
|
8150
|
+
};
|
|
8151
|
+
Relationships: [];
|
|
8152
|
+
};
|
|
7364
8153
|
monteurs: {
|
|
7365
8154
|
Row: {
|
|
7366
8155
|
avatar_url: string | null;
|
|
@@ -8600,28 +9389,907 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8600
9389
|
};
|
|
8601
9390
|
Relationships: [];
|
|
8602
9391
|
};
|
|
8603
|
-
|
|
9392
|
+
pick_countries: {
|
|
8604
9393
|
Row: {
|
|
8605
|
-
|
|
8606
|
-
|
|
9394
|
+
active: boolean;
|
|
9395
|
+
code: string;
|
|
9396
|
+
created_at: string;
|
|
9397
|
+
flag: string | null;
|
|
8607
9398
|
id: string;
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
printed_at: string;
|
|
9399
|
+
name: string;
|
|
9400
|
+
sort_order: number;
|
|
9401
|
+
updated_at: string;
|
|
8612
9402
|
};
|
|
8613
9403
|
Insert: {
|
|
8614
|
-
|
|
8615
|
-
|
|
9404
|
+
active?: boolean;
|
|
9405
|
+
code: string;
|
|
9406
|
+
created_at?: string;
|
|
9407
|
+
flag?: string | null;
|
|
8616
9408
|
id?: string;
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
printed_at?: string;
|
|
9409
|
+
name: string;
|
|
9410
|
+
sort_order?: number;
|
|
9411
|
+
updated_at?: string;
|
|
8621
9412
|
};
|
|
8622
9413
|
Update: {
|
|
8623
|
-
|
|
8624
|
-
|
|
9414
|
+
active?: boolean;
|
|
9415
|
+
code?: string;
|
|
9416
|
+
created_at?: string;
|
|
9417
|
+
flag?: string | null;
|
|
9418
|
+
id?: string;
|
|
9419
|
+
name?: string;
|
|
9420
|
+
sort_order?: number;
|
|
9421
|
+
updated_at?: string;
|
|
9422
|
+
};
|
|
9423
|
+
Relationships: [];
|
|
9424
|
+
};
|
|
9425
|
+
pick_document_statuses: {
|
|
9426
|
+
Row: {
|
|
9427
|
+
active: boolean;
|
|
9428
|
+
code: string;
|
|
9429
|
+
color: string | null;
|
|
9430
|
+
created_at: string;
|
|
9431
|
+
id: string;
|
|
9432
|
+
is_open: boolean;
|
|
9433
|
+
is_terminal: boolean;
|
|
9434
|
+
name: string;
|
|
9435
|
+
sort_order: number;
|
|
9436
|
+
updated_at: string;
|
|
9437
|
+
};
|
|
9438
|
+
Insert: {
|
|
9439
|
+
active?: boolean;
|
|
9440
|
+
code: string;
|
|
9441
|
+
color?: string | null;
|
|
9442
|
+
created_at?: string;
|
|
9443
|
+
id?: string;
|
|
9444
|
+
is_open?: boolean;
|
|
9445
|
+
is_terminal?: boolean;
|
|
9446
|
+
name: string;
|
|
9447
|
+
sort_order?: number;
|
|
9448
|
+
updated_at?: string;
|
|
9449
|
+
};
|
|
9450
|
+
Update: {
|
|
9451
|
+
active?: boolean;
|
|
9452
|
+
code?: string;
|
|
9453
|
+
color?: string | null;
|
|
9454
|
+
created_at?: string;
|
|
9455
|
+
id?: string;
|
|
9456
|
+
is_open?: boolean;
|
|
9457
|
+
is_terminal?: boolean;
|
|
9458
|
+
name?: string;
|
|
9459
|
+
sort_order?: number;
|
|
9460
|
+
updated_at?: string;
|
|
9461
|
+
};
|
|
9462
|
+
Relationships: [];
|
|
9463
|
+
};
|
|
9464
|
+
pick_document_types: {
|
|
9465
|
+
Row: {
|
|
9466
|
+
active: boolean;
|
|
9467
|
+
code: string;
|
|
9468
|
+
color: string | null;
|
|
9469
|
+
created_at: string;
|
|
9470
|
+
description: string | null;
|
|
9471
|
+
icon: string | null;
|
|
9472
|
+
id: string;
|
|
9473
|
+
name: string;
|
|
9474
|
+
print_template: string | null;
|
|
9475
|
+
printer_id: string | null;
|
|
9476
|
+
priority: number;
|
|
9477
|
+
report_key: string | null;
|
|
9478
|
+
sort_order: number;
|
|
9479
|
+
updated_at: string;
|
|
9480
|
+
workflow: import("./types").Json;
|
|
9481
|
+
};
|
|
9482
|
+
Insert: {
|
|
9483
|
+
active?: boolean;
|
|
9484
|
+
code: string;
|
|
9485
|
+
color?: string | null;
|
|
9486
|
+
created_at?: string;
|
|
9487
|
+
description?: string | null;
|
|
9488
|
+
icon?: string | null;
|
|
9489
|
+
id?: string;
|
|
9490
|
+
name: string;
|
|
9491
|
+
print_template?: string | null;
|
|
9492
|
+
printer_id?: string | null;
|
|
9493
|
+
priority?: number;
|
|
9494
|
+
report_key?: string | null;
|
|
9495
|
+
sort_order?: number;
|
|
9496
|
+
updated_at?: string;
|
|
9497
|
+
workflow?: import("./types").Json;
|
|
9498
|
+
};
|
|
9499
|
+
Update: {
|
|
9500
|
+
active?: boolean;
|
|
9501
|
+
code?: string;
|
|
9502
|
+
color?: string | null;
|
|
9503
|
+
created_at?: string;
|
|
9504
|
+
description?: string | null;
|
|
9505
|
+
icon?: string | null;
|
|
9506
|
+
id?: string;
|
|
9507
|
+
name?: string;
|
|
9508
|
+
print_template?: string | null;
|
|
9509
|
+
printer_id?: string | null;
|
|
9510
|
+
priority?: number;
|
|
9511
|
+
report_key?: string | null;
|
|
9512
|
+
sort_order?: number;
|
|
9513
|
+
updated_at?: string;
|
|
9514
|
+
workflow?: import("./types").Json;
|
|
9515
|
+
};
|
|
9516
|
+
Relationships: [{
|
|
9517
|
+
foreignKeyName: "pick_document_types_printer_id_fkey";
|
|
9518
|
+
columns: ["printer_id"];
|
|
9519
|
+
isOneToOne: false;
|
|
9520
|
+
referencedRelation: "pick_station_printers";
|
|
9521
|
+
referencedColumns: ["id"];
|
|
9522
|
+
}];
|
|
9523
|
+
};
|
|
9524
|
+
pick_queue: {
|
|
9525
|
+
Row: {
|
|
9526
|
+
announced_at: string;
|
|
9527
|
+
assigned_user_id: string | null;
|
|
9528
|
+
barcode: string | null;
|
|
9529
|
+
cancelled_at: string | null;
|
|
9530
|
+
cart_count: number;
|
|
9531
|
+
completed_at: string | null;
|
|
9532
|
+
country_code: string | null;
|
|
9533
|
+
created_at: string;
|
|
9534
|
+
customer_name: string | null;
|
|
9535
|
+
delivery_address: string | null;
|
|
9536
|
+
document_number: string | null;
|
|
9537
|
+
document_type_id: string | null;
|
|
9538
|
+
due_at: string | null;
|
|
9539
|
+
id: string;
|
|
9540
|
+
is_urgent: boolean;
|
|
9541
|
+
line_count: number;
|
|
9542
|
+
order_number: string | null;
|
|
9543
|
+
order_type: string | null;
|
|
9544
|
+
payload: import("./types").Json;
|
|
9545
|
+
print_count: number;
|
|
9546
|
+
printed_at: string | null;
|
|
9547
|
+
printed_by: string | null;
|
|
9548
|
+
printer_id: string | null;
|
|
9549
|
+
priority: number;
|
|
9550
|
+
reference: string | null;
|
|
9551
|
+
route: string | null;
|
|
9552
|
+
screen_id: string | null;
|
|
9553
|
+
station_id: string | null;
|
|
9554
|
+
status_id: string | null;
|
|
9555
|
+
updated_at: string;
|
|
9556
|
+
warnings: import("./types").Json;
|
|
9557
|
+
};
|
|
9558
|
+
Insert: {
|
|
9559
|
+
announced_at?: string;
|
|
9560
|
+
assigned_user_id?: string | null;
|
|
9561
|
+
barcode?: string | null;
|
|
9562
|
+
cancelled_at?: string | null;
|
|
9563
|
+
cart_count?: number;
|
|
9564
|
+
completed_at?: string | null;
|
|
9565
|
+
country_code?: string | null;
|
|
9566
|
+
created_at?: string;
|
|
9567
|
+
customer_name?: string | null;
|
|
9568
|
+
delivery_address?: string | null;
|
|
9569
|
+
document_number?: string | null;
|
|
9570
|
+
document_type_id?: string | null;
|
|
9571
|
+
due_at?: string | null;
|
|
9572
|
+
id?: string;
|
|
9573
|
+
is_urgent?: boolean;
|
|
9574
|
+
line_count?: number;
|
|
9575
|
+
order_number?: string | null;
|
|
9576
|
+
order_type?: string | null;
|
|
9577
|
+
payload?: import("./types").Json;
|
|
9578
|
+
print_count?: number;
|
|
9579
|
+
printed_at?: string | null;
|
|
9580
|
+
printed_by?: string | null;
|
|
9581
|
+
printer_id?: string | null;
|
|
9582
|
+
priority?: number;
|
|
9583
|
+
reference?: string | null;
|
|
9584
|
+
route?: string | null;
|
|
9585
|
+
screen_id?: string | null;
|
|
9586
|
+
station_id?: string | null;
|
|
9587
|
+
status_id?: string | null;
|
|
9588
|
+
updated_at?: string;
|
|
9589
|
+
warnings?: import("./types").Json;
|
|
9590
|
+
};
|
|
9591
|
+
Update: {
|
|
9592
|
+
announced_at?: string;
|
|
9593
|
+
assigned_user_id?: string | null;
|
|
9594
|
+
barcode?: string | null;
|
|
9595
|
+
cancelled_at?: string | null;
|
|
9596
|
+
cart_count?: number;
|
|
9597
|
+
completed_at?: string | null;
|
|
9598
|
+
country_code?: string | null;
|
|
9599
|
+
created_at?: string;
|
|
9600
|
+
customer_name?: string | null;
|
|
9601
|
+
delivery_address?: string | null;
|
|
9602
|
+
document_number?: string | null;
|
|
9603
|
+
document_type_id?: string | null;
|
|
9604
|
+
due_at?: string | null;
|
|
9605
|
+
id?: string;
|
|
9606
|
+
is_urgent?: boolean;
|
|
9607
|
+
line_count?: number;
|
|
9608
|
+
order_number?: string | null;
|
|
9609
|
+
order_type?: string | null;
|
|
9610
|
+
payload?: import("./types").Json;
|
|
9611
|
+
print_count?: number;
|
|
9612
|
+
printed_at?: string | null;
|
|
9613
|
+
printed_by?: string | null;
|
|
9614
|
+
printer_id?: string | null;
|
|
9615
|
+
priority?: number;
|
|
9616
|
+
reference?: string | null;
|
|
9617
|
+
route?: string | null;
|
|
9618
|
+
screen_id?: string | null;
|
|
9619
|
+
station_id?: string | null;
|
|
9620
|
+
status_id?: string | null;
|
|
9621
|
+
updated_at?: string;
|
|
9622
|
+
warnings?: import("./types").Json;
|
|
9623
|
+
};
|
|
9624
|
+
Relationships: [{
|
|
9625
|
+
foreignKeyName: "pick_queue_document_type_id_fkey";
|
|
9626
|
+
columns: ["document_type_id"];
|
|
9627
|
+
isOneToOne: false;
|
|
9628
|
+
referencedRelation: "pick_document_types";
|
|
9629
|
+
referencedColumns: ["id"];
|
|
9630
|
+
}, {
|
|
9631
|
+
foreignKeyName: "pick_queue_printer_id_fkey";
|
|
9632
|
+
columns: ["printer_id"];
|
|
9633
|
+
isOneToOne: false;
|
|
9634
|
+
referencedRelation: "pick_station_printers";
|
|
9635
|
+
referencedColumns: ["id"];
|
|
9636
|
+
}, {
|
|
9637
|
+
foreignKeyName: "pick_queue_screen_id_fkey";
|
|
9638
|
+
columns: ["screen_id"];
|
|
9639
|
+
isOneToOne: false;
|
|
9640
|
+
referencedRelation: "pick_station_screens";
|
|
9641
|
+
referencedColumns: ["id"];
|
|
9642
|
+
}, {
|
|
9643
|
+
foreignKeyName: "pick_queue_station_id_fkey";
|
|
9644
|
+
columns: ["station_id"];
|
|
9645
|
+
isOneToOne: false;
|
|
9646
|
+
referencedRelation: "pick_stations";
|
|
9647
|
+
referencedColumns: ["id"];
|
|
9648
|
+
}, {
|
|
9649
|
+
foreignKeyName: "pick_queue_status_id_fkey";
|
|
9650
|
+
columns: ["status_id"];
|
|
9651
|
+
isOneToOne: false;
|
|
9652
|
+
referencedRelation: "pick_document_statuses";
|
|
9653
|
+
referencedColumns: ["id"];
|
|
9654
|
+
}];
|
|
9655
|
+
};
|
|
9656
|
+
pick_queue_locks: {
|
|
9657
|
+
Row: {
|
|
9658
|
+
expires_at: string;
|
|
9659
|
+
id: string;
|
|
9660
|
+
locked_at: string;
|
|
9661
|
+
locked_by: string | null;
|
|
9662
|
+
queue_item_id: string;
|
|
9663
|
+
screen_id: string | null;
|
|
9664
|
+
session_id: string | null;
|
|
9665
|
+
station_id: string | null;
|
|
9666
|
+
};
|
|
9667
|
+
Insert: {
|
|
9668
|
+
expires_at?: string;
|
|
9669
|
+
id?: string;
|
|
9670
|
+
locked_at?: string;
|
|
9671
|
+
locked_by?: string | null;
|
|
9672
|
+
queue_item_id: string;
|
|
9673
|
+
screen_id?: string | null;
|
|
9674
|
+
session_id?: string | null;
|
|
9675
|
+
station_id?: string | null;
|
|
9676
|
+
};
|
|
9677
|
+
Update: {
|
|
9678
|
+
expires_at?: string;
|
|
9679
|
+
id?: string;
|
|
9680
|
+
locked_at?: string;
|
|
9681
|
+
locked_by?: string | null;
|
|
9682
|
+
queue_item_id?: string;
|
|
9683
|
+
screen_id?: string | null;
|
|
9684
|
+
session_id?: string | null;
|
|
9685
|
+
station_id?: string | null;
|
|
9686
|
+
};
|
|
9687
|
+
Relationships: [{
|
|
9688
|
+
foreignKeyName: "pick_queue_locks_queue_item_id_fkey";
|
|
9689
|
+
columns: ["queue_item_id"];
|
|
9690
|
+
isOneToOne: true;
|
|
9691
|
+
referencedRelation: "pick_queue";
|
|
9692
|
+
referencedColumns: ["id"];
|
|
9693
|
+
}, {
|
|
9694
|
+
foreignKeyName: "pick_queue_locks_screen_id_fkey";
|
|
9695
|
+
columns: ["screen_id"];
|
|
9696
|
+
isOneToOne: false;
|
|
9697
|
+
referencedRelation: "pick_station_screens";
|
|
9698
|
+
referencedColumns: ["id"];
|
|
9699
|
+
}, {
|
|
9700
|
+
foreignKeyName: "pick_queue_locks_station_id_fkey";
|
|
9701
|
+
columns: ["station_id"];
|
|
9702
|
+
isOneToOne: false;
|
|
9703
|
+
referencedRelation: "pick_stations";
|
|
9704
|
+
referencedColumns: ["id"];
|
|
9705
|
+
}];
|
|
9706
|
+
};
|
|
9707
|
+
pick_screen_document_types: {
|
|
9708
|
+
Row: {
|
|
9709
|
+
created_at: string;
|
|
9710
|
+
document_type_id: string;
|
|
9711
|
+
id: string;
|
|
9712
|
+
print_order: number;
|
|
9713
|
+
printer_id: string | null;
|
|
9714
|
+
screen_id: string;
|
|
9715
|
+
};
|
|
9716
|
+
Insert: {
|
|
9717
|
+
created_at?: string;
|
|
9718
|
+
document_type_id: string;
|
|
9719
|
+
id?: string;
|
|
9720
|
+
print_order?: number;
|
|
9721
|
+
printer_id?: string | null;
|
|
9722
|
+
screen_id: string;
|
|
9723
|
+
};
|
|
9724
|
+
Update: {
|
|
9725
|
+
created_at?: string;
|
|
9726
|
+
document_type_id?: string;
|
|
9727
|
+
id?: string;
|
|
9728
|
+
print_order?: number;
|
|
9729
|
+
printer_id?: string | null;
|
|
9730
|
+
screen_id?: string;
|
|
9731
|
+
};
|
|
9732
|
+
Relationships: [{
|
|
9733
|
+
foreignKeyName: "pick_screen_document_types_document_type_id_fkey";
|
|
9734
|
+
columns: ["document_type_id"];
|
|
9735
|
+
isOneToOne: false;
|
|
9736
|
+
referencedRelation: "pick_document_types";
|
|
9737
|
+
referencedColumns: ["id"];
|
|
9738
|
+
}, {
|
|
9739
|
+
foreignKeyName: "pick_screen_document_types_printer_id_fkey";
|
|
9740
|
+
columns: ["printer_id"];
|
|
9741
|
+
isOneToOne: false;
|
|
9742
|
+
referencedRelation: "pick_station_printers";
|
|
9743
|
+
referencedColumns: ["id"];
|
|
9744
|
+
}, {
|
|
9745
|
+
foreignKeyName: "pick_screen_document_types_screen_id_fkey";
|
|
9746
|
+
columns: ["screen_id"];
|
|
9747
|
+
isOneToOne: false;
|
|
9748
|
+
referencedRelation: "pick_station_screens";
|
|
9749
|
+
referencedColumns: ["id"];
|
|
9750
|
+
}];
|
|
9751
|
+
};
|
|
9752
|
+
pick_station_heartbeats: {
|
|
9753
|
+
Row: {
|
|
9754
|
+
browser: string | null;
|
|
9755
|
+
created_at: string;
|
|
9756
|
+
id: string;
|
|
9757
|
+
ip_address: string | null;
|
|
9758
|
+
last_seen_at: string;
|
|
9759
|
+
screen_id: string | null;
|
|
9760
|
+
session_id: string;
|
|
9761
|
+
station_id: string;
|
|
9762
|
+
user_id: string | null;
|
|
9763
|
+
};
|
|
9764
|
+
Insert: {
|
|
9765
|
+
browser?: string | null;
|
|
9766
|
+
created_at?: string;
|
|
9767
|
+
id?: string;
|
|
9768
|
+
ip_address?: string | null;
|
|
9769
|
+
last_seen_at?: string;
|
|
9770
|
+
screen_id?: string | null;
|
|
9771
|
+
session_id: string;
|
|
9772
|
+
station_id: string;
|
|
9773
|
+
user_id?: string | null;
|
|
9774
|
+
};
|
|
9775
|
+
Update: {
|
|
9776
|
+
browser?: string | null;
|
|
9777
|
+
created_at?: string;
|
|
9778
|
+
id?: string;
|
|
9779
|
+
ip_address?: string | null;
|
|
9780
|
+
last_seen_at?: string;
|
|
9781
|
+
screen_id?: string | null;
|
|
9782
|
+
session_id?: string;
|
|
9783
|
+
station_id?: string;
|
|
9784
|
+
user_id?: string | null;
|
|
9785
|
+
};
|
|
9786
|
+
Relationships: [{
|
|
9787
|
+
foreignKeyName: "pick_station_heartbeats_screen_id_fkey";
|
|
9788
|
+
columns: ["screen_id"];
|
|
9789
|
+
isOneToOne: false;
|
|
9790
|
+
referencedRelation: "pick_station_screens";
|
|
9791
|
+
referencedColumns: ["id"];
|
|
9792
|
+
}, {
|
|
9793
|
+
foreignKeyName: "pick_station_heartbeats_station_id_fkey";
|
|
9794
|
+
columns: ["station_id"];
|
|
9795
|
+
isOneToOne: false;
|
|
9796
|
+
referencedRelation: "pick_stations";
|
|
9797
|
+
referencedColumns: ["id"];
|
|
9798
|
+
}];
|
|
9799
|
+
};
|
|
9800
|
+
pick_station_history: {
|
|
9801
|
+
Row: {
|
|
9802
|
+
action: string;
|
|
9803
|
+
changed_by: string | null;
|
|
9804
|
+
created_at: string;
|
|
9805
|
+
entity_id: string;
|
|
9806
|
+
entity_table: string;
|
|
9807
|
+
id: string;
|
|
9808
|
+
new_data: import("./types").Json | null;
|
|
9809
|
+
old_data: import("./types").Json | null;
|
|
9810
|
+
};
|
|
9811
|
+
Insert: {
|
|
9812
|
+
action: string;
|
|
9813
|
+
changed_by?: string | null;
|
|
9814
|
+
created_at?: string;
|
|
9815
|
+
entity_id: string;
|
|
9816
|
+
entity_table: string;
|
|
9817
|
+
id?: string;
|
|
9818
|
+
new_data?: import("./types").Json | null;
|
|
9819
|
+
old_data?: import("./types").Json | null;
|
|
9820
|
+
};
|
|
9821
|
+
Update: {
|
|
9822
|
+
action?: string;
|
|
9823
|
+
changed_by?: string | null;
|
|
9824
|
+
created_at?: string;
|
|
9825
|
+
entity_id?: string;
|
|
9826
|
+
entity_table?: string;
|
|
9827
|
+
id?: string;
|
|
9828
|
+
new_data?: import("./types").Json | null;
|
|
9829
|
+
old_data?: import("./types").Json | null;
|
|
9830
|
+
};
|
|
9831
|
+
Relationships: [];
|
|
9832
|
+
};
|
|
9833
|
+
pick_station_logs: {
|
|
9834
|
+
Row: {
|
|
9835
|
+
action: string;
|
|
9836
|
+
browser: string | null;
|
|
9837
|
+
created_at: string;
|
|
9838
|
+
detail: import("./types").Json;
|
|
9839
|
+
duration_ms: number | null;
|
|
9840
|
+
id: string;
|
|
9841
|
+
ip_address: string | null;
|
|
9842
|
+
printer_id: string | null;
|
|
9843
|
+
queue_item_id: string | null;
|
|
9844
|
+
screen_id: string | null;
|
|
9845
|
+
session_id: string | null;
|
|
9846
|
+
station_id: string | null;
|
|
9847
|
+
user_id: string | null;
|
|
9848
|
+
};
|
|
9849
|
+
Insert: {
|
|
9850
|
+
action: string;
|
|
9851
|
+
browser?: string | null;
|
|
9852
|
+
created_at?: string;
|
|
9853
|
+
detail?: import("./types").Json;
|
|
9854
|
+
duration_ms?: number | null;
|
|
9855
|
+
id?: string;
|
|
9856
|
+
ip_address?: string | null;
|
|
9857
|
+
printer_id?: string | null;
|
|
9858
|
+
queue_item_id?: string | null;
|
|
9859
|
+
screen_id?: string | null;
|
|
9860
|
+
session_id?: string | null;
|
|
9861
|
+
station_id?: string | null;
|
|
9862
|
+
user_id?: string | null;
|
|
9863
|
+
};
|
|
9864
|
+
Update: {
|
|
9865
|
+
action?: string;
|
|
9866
|
+
browser?: string | null;
|
|
9867
|
+
created_at?: string;
|
|
9868
|
+
detail?: import("./types").Json;
|
|
9869
|
+
duration_ms?: number | null;
|
|
9870
|
+
id?: string;
|
|
9871
|
+
ip_address?: string | null;
|
|
9872
|
+
printer_id?: string | null;
|
|
9873
|
+
queue_item_id?: string | null;
|
|
9874
|
+
screen_id?: string | null;
|
|
9875
|
+
session_id?: string | null;
|
|
9876
|
+
station_id?: string | null;
|
|
9877
|
+
user_id?: string | null;
|
|
9878
|
+
};
|
|
9879
|
+
Relationships: [];
|
|
9880
|
+
};
|
|
9881
|
+
pick_station_permissions: {
|
|
9882
|
+
Row: {
|
|
9883
|
+
can_break_lock: boolean;
|
|
9884
|
+
can_cancel: boolean;
|
|
9885
|
+
can_print: boolean;
|
|
9886
|
+
can_reprint: boolean;
|
|
9887
|
+
country_code: string | null;
|
|
9888
|
+
created_at: string;
|
|
9889
|
+
id: string;
|
|
9890
|
+
station_id: string | null;
|
|
9891
|
+
task_id: string | null;
|
|
9892
|
+
updated_at: string;
|
|
9893
|
+
urgent_only: boolean;
|
|
9894
|
+
user_id: string;
|
|
9895
|
+
};
|
|
9896
|
+
Insert: {
|
|
9897
|
+
can_break_lock?: boolean;
|
|
9898
|
+
can_cancel?: boolean;
|
|
9899
|
+
can_print?: boolean;
|
|
9900
|
+
can_reprint?: boolean;
|
|
9901
|
+
country_code?: string | null;
|
|
9902
|
+
created_at?: string;
|
|
9903
|
+
id?: string;
|
|
9904
|
+
station_id?: string | null;
|
|
9905
|
+
task_id?: string | null;
|
|
9906
|
+
updated_at?: string;
|
|
9907
|
+
urgent_only?: boolean;
|
|
9908
|
+
user_id: string;
|
|
9909
|
+
};
|
|
9910
|
+
Update: {
|
|
9911
|
+
can_break_lock?: boolean;
|
|
9912
|
+
can_cancel?: boolean;
|
|
9913
|
+
can_print?: boolean;
|
|
9914
|
+
can_reprint?: boolean;
|
|
9915
|
+
country_code?: string | null;
|
|
9916
|
+
created_at?: string;
|
|
9917
|
+
id?: string;
|
|
9918
|
+
station_id?: string | null;
|
|
9919
|
+
task_id?: string | null;
|
|
9920
|
+
updated_at?: string;
|
|
9921
|
+
urgent_only?: boolean;
|
|
9922
|
+
user_id?: string;
|
|
9923
|
+
};
|
|
9924
|
+
Relationships: [{
|
|
9925
|
+
foreignKeyName: "pick_station_permissions_station_id_fkey";
|
|
9926
|
+
columns: ["station_id"];
|
|
9927
|
+
isOneToOne: false;
|
|
9928
|
+
referencedRelation: "pick_stations";
|
|
9929
|
+
referencedColumns: ["id"];
|
|
9930
|
+
}, {
|
|
9931
|
+
foreignKeyName: "pick_station_permissions_task_id_fkey";
|
|
9932
|
+
columns: ["task_id"];
|
|
9933
|
+
isOneToOne: false;
|
|
9934
|
+
referencedRelation: "pick_station_tasks";
|
|
9935
|
+
referencedColumns: ["id"];
|
|
9936
|
+
}];
|
|
9937
|
+
};
|
|
9938
|
+
pick_station_printers: {
|
|
9939
|
+
Row: {
|
|
9940
|
+
active: boolean;
|
|
9941
|
+
code: string | null;
|
|
9942
|
+
config: import("./types").Json;
|
|
9943
|
+
connection: string | null;
|
|
9944
|
+
created_at: string;
|
|
9945
|
+
id: string;
|
|
9946
|
+
last_seen_at: string | null;
|
|
9947
|
+
location: string | null;
|
|
9948
|
+
name: string;
|
|
9949
|
+
status: string;
|
|
9950
|
+
status_message: string | null;
|
|
9951
|
+
target: string | null;
|
|
9952
|
+
updated_at: string;
|
|
9953
|
+
};
|
|
9954
|
+
Insert: {
|
|
9955
|
+
active?: boolean;
|
|
9956
|
+
code?: string | null;
|
|
9957
|
+
config?: import("./types").Json;
|
|
9958
|
+
connection?: string | null;
|
|
9959
|
+
created_at?: string;
|
|
9960
|
+
id?: string;
|
|
9961
|
+
last_seen_at?: string | null;
|
|
9962
|
+
location?: string | null;
|
|
9963
|
+
name: string;
|
|
9964
|
+
status?: string;
|
|
9965
|
+
status_message?: string | null;
|
|
9966
|
+
target?: string | null;
|
|
9967
|
+
updated_at?: string;
|
|
9968
|
+
};
|
|
9969
|
+
Update: {
|
|
9970
|
+
active?: boolean;
|
|
9971
|
+
code?: string | null;
|
|
9972
|
+
config?: import("./types").Json;
|
|
9973
|
+
connection?: string | null;
|
|
9974
|
+
created_at?: string;
|
|
9975
|
+
id?: string;
|
|
9976
|
+
last_seen_at?: string | null;
|
|
9977
|
+
location?: string | null;
|
|
9978
|
+
name?: string;
|
|
9979
|
+
status?: string;
|
|
9980
|
+
status_message?: string | null;
|
|
9981
|
+
target?: string | null;
|
|
9982
|
+
updated_at?: string;
|
|
9983
|
+
};
|
|
9984
|
+
Relationships: [];
|
|
9985
|
+
};
|
|
9986
|
+
pick_station_screens: {
|
|
9987
|
+
Row: {
|
|
9988
|
+
active: boolean;
|
|
9989
|
+
config: import("./types").Json;
|
|
9990
|
+
created_at: string;
|
|
9991
|
+
description: string | null;
|
|
9992
|
+
filters: import("./types").Json;
|
|
9993
|
+
id: string;
|
|
9994
|
+
name: string;
|
|
9995
|
+
printer_id: string | null;
|
|
9996
|
+
screen_type: string;
|
|
9997
|
+
sort_order: number;
|
|
9998
|
+
sort_rules: import("./types").Json | null;
|
|
9999
|
+
station_id: string;
|
|
10000
|
+
updated_at: string;
|
|
10001
|
+
};
|
|
10002
|
+
Insert: {
|
|
10003
|
+
active?: boolean;
|
|
10004
|
+
config?: import("./types").Json;
|
|
10005
|
+
created_at?: string;
|
|
10006
|
+
description?: string | null;
|
|
10007
|
+
filters?: import("./types").Json;
|
|
10008
|
+
id?: string;
|
|
10009
|
+
name: string;
|
|
10010
|
+
printer_id?: string | null;
|
|
10011
|
+
screen_type?: string;
|
|
10012
|
+
sort_order?: number;
|
|
10013
|
+
sort_rules?: import("./types").Json | null;
|
|
10014
|
+
station_id: string;
|
|
10015
|
+
updated_at?: string;
|
|
10016
|
+
};
|
|
10017
|
+
Update: {
|
|
10018
|
+
active?: boolean;
|
|
10019
|
+
config?: import("./types").Json;
|
|
10020
|
+
created_at?: string;
|
|
10021
|
+
description?: string | null;
|
|
10022
|
+
filters?: import("./types").Json;
|
|
10023
|
+
id?: string;
|
|
10024
|
+
name?: string;
|
|
10025
|
+
printer_id?: string | null;
|
|
10026
|
+
screen_type?: string;
|
|
10027
|
+
sort_order?: number;
|
|
10028
|
+
sort_rules?: import("./types").Json | null;
|
|
10029
|
+
station_id?: string;
|
|
10030
|
+
updated_at?: string;
|
|
10031
|
+
};
|
|
10032
|
+
Relationships: [{
|
|
10033
|
+
foreignKeyName: "pick_station_screens_printer_id_fkey";
|
|
10034
|
+
columns: ["printer_id"];
|
|
10035
|
+
isOneToOne: false;
|
|
10036
|
+
referencedRelation: "pick_station_printers";
|
|
10037
|
+
referencedColumns: ["id"];
|
|
10038
|
+
}, {
|
|
10039
|
+
foreignKeyName: "pick_station_screens_station_id_fkey";
|
|
10040
|
+
columns: ["station_id"];
|
|
10041
|
+
isOneToOne: false;
|
|
10042
|
+
referencedRelation: "pick_stations";
|
|
10043
|
+
referencedColumns: ["id"];
|
|
10044
|
+
}];
|
|
10045
|
+
};
|
|
10046
|
+
pick_station_tasks: {
|
|
10047
|
+
Row: {
|
|
10048
|
+
active: boolean;
|
|
10049
|
+
code: string;
|
|
10050
|
+
color: string | null;
|
|
10051
|
+
created_at: string;
|
|
10052
|
+
description: string | null;
|
|
10053
|
+
icon: string | null;
|
|
10054
|
+
id: string;
|
|
10055
|
+
name: string;
|
|
10056
|
+
sort_order: number;
|
|
10057
|
+
updated_at: string;
|
|
10058
|
+
workflow: import("./types").Json;
|
|
10059
|
+
};
|
|
10060
|
+
Insert: {
|
|
10061
|
+
active?: boolean;
|
|
10062
|
+
code: string;
|
|
10063
|
+
color?: string | null;
|
|
10064
|
+
created_at?: string;
|
|
10065
|
+
description?: string | null;
|
|
10066
|
+
icon?: string | null;
|
|
10067
|
+
id?: string;
|
|
10068
|
+
name: string;
|
|
10069
|
+
sort_order?: number;
|
|
10070
|
+
updated_at?: string;
|
|
10071
|
+
workflow?: import("./types").Json;
|
|
10072
|
+
};
|
|
10073
|
+
Update: {
|
|
10074
|
+
active?: boolean;
|
|
10075
|
+
code?: string;
|
|
10076
|
+
color?: string | null;
|
|
10077
|
+
created_at?: string;
|
|
10078
|
+
description?: string | null;
|
|
10079
|
+
icon?: string | null;
|
|
10080
|
+
id?: string;
|
|
10081
|
+
name?: string;
|
|
10082
|
+
sort_order?: number;
|
|
10083
|
+
updated_at?: string;
|
|
10084
|
+
workflow?: import("./types").Json;
|
|
10085
|
+
};
|
|
10086
|
+
Relationships: [];
|
|
10087
|
+
};
|
|
10088
|
+
pick_station_types: {
|
|
10089
|
+
Row: {
|
|
10090
|
+
active: boolean;
|
|
10091
|
+
code: string;
|
|
10092
|
+
color: string | null;
|
|
10093
|
+
created_at: string;
|
|
10094
|
+
description: string | null;
|
|
10095
|
+
icon: string | null;
|
|
10096
|
+
id: string;
|
|
10097
|
+
name: string;
|
|
10098
|
+
sort_order: number;
|
|
10099
|
+
updated_at: string;
|
|
10100
|
+
};
|
|
10101
|
+
Insert: {
|
|
10102
|
+
active?: boolean;
|
|
10103
|
+
code: string;
|
|
10104
|
+
color?: string | null;
|
|
10105
|
+
created_at?: string;
|
|
10106
|
+
description?: string | null;
|
|
10107
|
+
icon?: string | null;
|
|
10108
|
+
id?: string;
|
|
10109
|
+
name: string;
|
|
10110
|
+
sort_order?: number;
|
|
10111
|
+
updated_at?: string;
|
|
10112
|
+
};
|
|
10113
|
+
Update: {
|
|
10114
|
+
active?: boolean;
|
|
10115
|
+
code?: string;
|
|
10116
|
+
color?: string | null;
|
|
10117
|
+
created_at?: string;
|
|
10118
|
+
description?: string | null;
|
|
10119
|
+
icon?: string | null;
|
|
10120
|
+
id?: string;
|
|
10121
|
+
name?: string;
|
|
10122
|
+
sort_order?: number;
|
|
10123
|
+
updated_at?: string;
|
|
10124
|
+
};
|
|
10125
|
+
Relationships: [];
|
|
10126
|
+
};
|
|
10127
|
+
pick_station_users: {
|
|
10128
|
+
Row: {
|
|
10129
|
+
active: boolean;
|
|
10130
|
+
created_at: string;
|
|
10131
|
+
id: string;
|
|
10132
|
+
station_id: string;
|
|
10133
|
+
user_id: string;
|
|
10134
|
+
};
|
|
10135
|
+
Insert: {
|
|
10136
|
+
active?: boolean;
|
|
10137
|
+
created_at?: string;
|
|
10138
|
+
id?: string;
|
|
10139
|
+
station_id: string;
|
|
10140
|
+
user_id: string;
|
|
10141
|
+
};
|
|
10142
|
+
Update: {
|
|
10143
|
+
active?: boolean;
|
|
10144
|
+
created_at?: string;
|
|
10145
|
+
id?: string;
|
|
10146
|
+
station_id?: string;
|
|
10147
|
+
user_id?: string;
|
|
10148
|
+
};
|
|
10149
|
+
Relationships: [{
|
|
10150
|
+
foreignKeyName: "pick_station_users_station_id_fkey";
|
|
10151
|
+
columns: ["station_id"];
|
|
10152
|
+
isOneToOne: false;
|
|
10153
|
+
referencedRelation: "pick_stations";
|
|
10154
|
+
referencedColumns: ["id"];
|
|
10155
|
+
}];
|
|
10156
|
+
};
|
|
10157
|
+
pick_stations: {
|
|
10158
|
+
Row: {
|
|
10159
|
+
active: boolean;
|
|
10160
|
+
allow_multi_screen: boolean;
|
|
10161
|
+
color: string | null;
|
|
10162
|
+
created_at: string;
|
|
10163
|
+
default_printer_id: string | null;
|
|
10164
|
+
department: string | null;
|
|
10165
|
+
description: string | null;
|
|
10166
|
+
icon: string | null;
|
|
10167
|
+
id: string;
|
|
10168
|
+
location: string | null;
|
|
10169
|
+
lock_timeout_seconds: number;
|
|
10170
|
+
name: string;
|
|
10171
|
+
require_country_selection: boolean;
|
|
10172
|
+
sort_order: number;
|
|
10173
|
+
sort_rules: import("./types").Json;
|
|
10174
|
+
task_id: string | null;
|
|
10175
|
+
type_id: string | null;
|
|
10176
|
+
updated_at: string;
|
|
10177
|
+
};
|
|
10178
|
+
Insert: {
|
|
10179
|
+
active?: boolean;
|
|
10180
|
+
allow_multi_screen?: boolean;
|
|
10181
|
+
color?: string | null;
|
|
10182
|
+
created_at?: string;
|
|
10183
|
+
default_printer_id?: string | null;
|
|
10184
|
+
department?: string | null;
|
|
10185
|
+
description?: string | null;
|
|
10186
|
+
icon?: string | null;
|
|
10187
|
+
id?: string;
|
|
10188
|
+
location?: string | null;
|
|
10189
|
+
lock_timeout_seconds?: number;
|
|
10190
|
+
name: string;
|
|
10191
|
+
require_country_selection?: boolean;
|
|
10192
|
+
sort_order?: number;
|
|
10193
|
+
sort_rules?: import("./types").Json;
|
|
10194
|
+
task_id?: string | null;
|
|
10195
|
+
type_id?: string | null;
|
|
10196
|
+
updated_at?: string;
|
|
10197
|
+
};
|
|
10198
|
+
Update: {
|
|
10199
|
+
active?: boolean;
|
|
10200
|
+
allow_multi_screen?: boolean;
|
|
10201
|
+
color?: string | null;
|
|
10202
|
+
created_at?: string;
|
|
10203
|
+
default_printer_id?: string | null;
|
|
10204
|
+
department?: string | null;
|
|
10205
|
+
description?: string | null;
|
|
10206
|
+
icon?: string | null;
|
|
10207
|
+
id?: string;
|
|
10208
|
+
location?: string | null;
|
|
10209
|
+
lock_timeout_seconds?: number;
|
|
10210
|
+
name?: string;
|
|
10211
|
+
require_country_selection?: boolean;
|
|
10212
|
+
sort_order?: number;
|
|
10213
|
+
sort_rules?: import("./types").Json;
|
|
10214
|
+
task_id?: string | null;
|
|
10215
|
+
type_id?: string | null;
|
|
10216
|
+
updated_at?: string;
|
|
10217
|
+
};
|
|
10218
|
+
Relationships: [{
|
|
10219
|
+
foreignKeyName: "pick_stations_default_printer_id_fkey";
|
|
10220
|
+
columns: ["default_printer_id"];
|
|
10221
|
+
isOneToOne: false;
|
|
10222
|
+
referencedRelation: "pick_station_printers";
|
|
10223
|
+
referencedColumns: ["id"];
|
|
10224
|
+
}, {
|
|
10225
|
+
foreignKeyName: "pick_stations_task_id_fkey";
|
|
10226
|
+
columns: ["task_id"];
|
|
10227
|
+
isOneToOne: false;
|
|
10228
|
+
referencedRelation: "pick_station_tasks";
|
|
10229
|
+
referencedColumns: ["id"];
|
|
10230
|
+
}, {
|
|
10231
|
+
foreignKeyName: "pick_stations_type_id_fkey";
|
|
10232
|
+
columns: ["type_id"];
|
|
10233
|
+
isOneToOne: false;
|
|
10234
|
+
referencedRelation: "pick_station_types";
|
|
10235
|
+
referencedColumns: ["id"];
|
|
10236
|
+
}];
|
|
10237
|
+
};
|
|
10238
|
+
pick_task_document_types: {
|
|
10239
|
+
Row: {
|
|
10240
|
+
created_at: string;
|
|
10241
|
+
document_type_id: string;
|
|
10242
|
+
id: string;
|
|
10243
|
+
task_id: string;
|
|
10244
|
+
};
|
|
10245
|
+
Insert: {
|
|
10246
|
+
created_at?: string;
|
|
10247
|
+
document_type_id: string;
|
|
10248
|
+
id?: string;
|
|
10249
|
+
task_id: string;
|
|
10250
|
+
};
|
|
10251
|
+
Update: {
|
|
10252
|
+
created_at?: string;
|
|
10253
|
+
document_type_id?: string;
|
|
10254
|
+
id?: string;
|
|
10255
|
+
task_id?: string;
|
|
10256
|
+
};
|
|
10257
|
+
Relationships: [{
|
|
10258
|
+
foreignKeyName: "pick_task_document_types_document_type_id_fkey";
|
|
10259
|
+
columns: ["document_type_id"];
|
|
10260
|
+
isOneToOne: false;
|
|
10261
|
+
referencedRelation: "pick_document_types";
|
|
10262
|
+
referencedColumns: ["id"];
|
|
10263
|
+
}, {
|
|
10264
|
+
foreignKeyName: "pick_task_document_types_task_id_fkey";
|
|
10265
|
+
columns: ["task_id"];
|
|
10266
|
+
isOneToOne: false;
|
|
10267
|
+
referencedRelation: "pick_station_tasks";
|
|
10268
|
+
referencedColumns: ["id"];
|
|
10269
|
+
}];
|
|
10270
|
+
};
|
|
10271
|
+
pickstation_print_log: {
|
|
10272
|
+
Row: {
|
|
10273
|
+
customer_name: string | null;
|
|
10274
|
+
documents: string[];
|
|
10275
|
+
id: string;
|
|
10276
|
+
ip_address: string | null;
|
|
10277
|
+
order_id: string;
|
|
10278
|
+
order_number: string | null;
|
|
10279
|
+
printed_at: string;
|
|
10280
|
+
};
|
|
10281
|
+
Insert: {
|
|
10282
|
+
customer_name?: string | null;
|
|
10283
|
+
documents?: string[];
|
|
10284
|
+
id?: string;
|
|
10285
|
+
ip_address?: string | null;
|
|
10286
|
+
order_id: string;
|
|
10287
|
+
order_number?: string | null;
|
|
10288
|
+
printed_at?: string;
|
|
10289
|
+
};
|
|
10290
|
+
Update: {
|
|
10291
|
+
customer_name?: string | null;
|
|
10292
|
+
documents?: string[];
|
|
8625
10293
|
id?: string;
|
|
8626
10294
|
ip_address?: string | null;
|
|
8627
10295
|
order_id?: string;
|
|
@@ -8676,88 +10344,403 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8676
10344
|
updated_at?: string;
|
|
8677
10345
|
};
|
|
8678
10346
|
Update: {
|
|
8679
|
-
automation_type?: string;
|
|
8680
|
-
color?: string;
|
|
10347
|
+
automation_type?: string;
|
|
10348
|
+
color?: string;
|
|
10349
|
+
created_at?: string;
|
|
10350
|
+
id?: string;
|
|
10351
|
+
is_active?: boolean;
|
|
10352
|
+
name?: string;
|
|
10353
|
+
sort_order?: number;
|
|
10354
|
+
updated_at?: string;
|
|
10355
|
+
};
|
|
10356
|
+
Relationships: [];
|
|
10357
|
+
};
|
|
10358
|
+
planning_item_assistants: {
|
|
10359
|
+
Row: {
|
|
10360
|
+
created_at: string;
|
|
10361
|
+
created_by: string | null;
|
|
10362
|
+
monteur_id: string;
|
|
10363
|
+
planning_item_id: string;
|
|
10364
|
+
};
|
|
10365
|
+
Insert: {
|
|
10366
|
+
created_at?: string;
|
|
10367
|
+
created_by?: string | null;
|
|
10368
|
+
monteur_id: string;
|
|
10369
|
+
planning_item_id: string;
|
|
10370
|
+
};
|
|
10371
|
+
Update: {
|
|
10372
|
+
created_at?: string;
|
|
10373
|
+
created_by?: string | null;
|
|
10374
|
+
monteur_id?: string;
|
|
10375
|
+
planning_item_id?: string;
|
|
10376
|
+
};
|
|
10377
|
+
Relationships: [{
|
|
10378
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
10379
|
+
columns: ["planning_item_id"];
|
|
10380
|
+
isOneToOne: false;
|
|
10381
|
+
referencedRelation: "planning_items";
|
|
10382
|
+
referencedColumns: ["id"];
|
|
10383
|
+
}];
|
|
10384
|
+
};
|
|
10385
|
+
planning_items: {
|
|
10386
|
+
Row: {
|
|
10387
|
+
assigned_monteur_id: string;
|
|
10388
|
+
created_at: string;
|
|
10389
|
+
created_by: string | null;
|
|
10390
|
+
end_at: string;
|
|
10391
|
+
id: string;
|
|
10392
|
+
notes: string | null;
|
|
10393
|
+
start_at: string;
|
|
10394
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
10395
|
+
updated_at: string;
|
|
10396
|
+
werkbon_id: string;
|
|
10397
|
+
};
|
|
10398
|
+
Insert: {
|
|
10399
|
+
assigned_monteur_id: string;
|
|
10400
|
+
created_at?: string;
|
|
10401
|
+
created_by?: string | null;
|
|
10402
|
+
end_at: string;
|
|
10403
|
+
id?: string;
|
|
10404
|
+
notes?: string | null;
|
|
10405
|
+
start_at: string;
|
|
10406
|
+
status?: Database["public"]["Enums"]["planning_item_status"];
|
|
10407
|
+
updated_at?: string;
|
|
10408
|
+
werkbon_id: string;
|
|
10409
|
+
};
|
|
10410
|
+
Update: {
|
|
10411
|
+
assigned_monteur_id?: string;
|
|
10412
|
+
created_at?: string;
|
|
10413
|
+
created_by?: string | null;
|
|
10414
|
+
end_at?: string;
|
|
10415
|
+
id?: string;
|
|
10416
|
+
notes?: string | null;
|
|
10417
|
+
start_at?: string;
|
|
10418
|
+
status?: Database["public"]["Enums"]["planning_item_status"];
|
|
10419
|
+
updated_at?: string;
|
|
10420
|
+
werkbon_id?: string;
|
|
10421
|
+
};
|
|
10422
|
+
Relationships: [{
|
|
10423
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
10424
|
+
columns: ["werkbon_id"];
|
|
10425
|
+
isOneToOne: false;
|
|
10426
|
+
referencedRelation: "werkbonnen";
|
|
10427
|
+
referencedColumns: ["id"];
|
|
10428
|
+
}];
|
|
10429
|
+
};
|
|
10430
|
+
print_job_logs: {
|
|
10431
|
+
Row: {
|
|
10432
|
+
created_at: string;
|
|
10433
|
+
detail: string;
|
|
10434
|
+
gebeurtenis: string;
|
|
10435
|
+
id: string;
|
|
10436
|
+
job_id: string;
|
|
10437
|
+
};
|
|
10438
|
+
Insert: {
|
|
10439
|
+
created_at?: string;
|
|
10440
|
+
detail?: string;
|
|
10441
|
+
gebeurtenis: string;
|
|
10442
|
+
id?: string;
|
|
10443
|
+
job_id: string;
|
|
10444
|
+
};
|
|
10445
|
+
Update: {
|
|
10446
|
+
created_at?: string;
|
|
10447
|
+
detail?: string;
|
|
10448
|
+
gebeurtenis?: string;
|
|
10449
|
+
id?: string;
|
|
10450
|
+
job_id?: string;
|
|
10451
|
+
};
|
|
10452
|
+
Relationships: [{
|
|
10453
|
+
foreignKeyName: "print_job_logs_job_id_fkey";
|
|
10454
|
+
columns: ["job_id"];
|
|
10455
|
+
isOneToOne: false;
|
|
10456
|
+
referencedRelation: "print_jobs";
|
|
10457
|
+
referencedColumns: ["id"];
|
|
10458
|
+
}];
|
|
10459
|
+
};
|
|
10460
|
+
print_jobs: {
|
|
10461
|
+
Row: {
|
|
10462
|
+
bron_job_id: string | null;
|
|
10463
|
+
created_at: string;
|
|
10464
|
+
documentnaam: string;
|
|
10465
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
10466
|
+
foutmelding: string | null;
|
|
10467
|
+
gebruiker_id: string | null;
|
|
10468
|
+
gebruiker_naam: string;
|
|
10469
|
+
gestart_op: string | null;
|
|
10470
|
+
id: string;
|
|
10471
|
+
is_herprint: boolean;
|
|
10472
|
+
kopieen: number;
|
|
10473
|
+
layout_id: string | null;
|
|
10474
|
+
paginas: number;
|
|
10475
|
+
payload: import("./types").Json;
|
|
10476
|
+
printer_id: string | null;
|
|
10477
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
10478
|
+
updated_at: string;
|
|
10479
|
+
voltooid_op: string | null;
|
|
10480
|
+
};
|
|
10481
|
+
Insert: {
|
|
10482
|
+
bron_job_id?: string | null;
|
|
10483
|
+
created_at?: string;
|
|
10484
|
+
documentnaam?: string;
|
|
10485
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10486
|
+
foutmelding?: string | null;
|
|
10487
|
+
gebruiker_id?: string | null;
|
|
10488
|
+
gebruiker_naam?: string;
|
|
10489
|
+
gestart_op?: string | null;
|
|
10490
|
+
id?: string;
|
|
10491
|
+
is_herprint?: boolean;
|
|
10492
|
+
kopieen?: number;
|
|
10493
|
+
layout_id?: string | null;
|
|
10494
|
+
paginas?: number;
|
|
10495
|
+
payload?: import("./types").Json;
|
|
10496
|
+
printer_id?: string | null;
|
|
10497
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10498
|
+
updated_at?: string;
|
|
10499
|
+
voltooid_op?: string | null;
|
|
10500
|
+
};
|
|
10501
|
+
Update: {
|
|
10502
|
+
bron_job_id?: string | null;
|
|
10503
|
+
created_at?: string;
|
|
10504
|
+
documentnaam?: string;
|
|
10505
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10506
|
+
foutmelding?: string | null;
|
|
10507
|
+
gebruiker_id?: string | null;
|
|
10508
|
+
gebruiker_naam?: string;
|
|
10509
|
+
gestart_op?: string | null;
|
|
10510
|
+
id?: string;
|
|
10511
|
+
is_herprint?: boolean;
|
|
10512
|
+
kopieen?: number;
|
|
10513
|
+
layout_id?: string | null;
|
|
10514
|
+
paginas?: number;
|
|
10515
|
+
payload?: import("./types").Json;
|
|
10516
|
+
printer_id?: string | null;
|
|
10517
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10518
|
+
updated_at?: string;
|
|
10519
|
+
voltooid_op?: string | null;
|
|
10520
|
+
};
|
|
10521
|
+
Relationships: [{
|
|
10522
|
+
foreignKeyName: "print_jobs_layout_id_fkey";
|
|
10523
|
+
columns: ["layout_id"];
|
|
10524
|
+
isOneToOne: false;
|
|
10525
|
+
referencedRelation: "document_layouts";
|
|
10526
|
+
referencedColumns: ["id"];
|
|
10527
|
+
}, {
|
|
10528
|
+
foreignKeyName: "print_jobs_printer_id_fkey";
|
|
10529
|
+
columns: ["printer_id"];
|
|
10530
|
+
isOneToOne: false;
|
|
10531
|
+
referencedRelation: "printers";
|
|
10532
|
+
referencedColumns: ["id"];
|
|
10533
|
+
}];
|
|
10534
|
+
};
|
|
10535
|
+
print_rules: {
|
|
10536
|
+
Row: {
|
|
10537
|
+
actief: boolean;
|
|
10538
|
+
alleen_eerste_keer: boolean;
|
|
10539
|
+
conditie: import("./types").Json;
|
|
10540
|
+
created_at: string;
|
|
10541
|
+
id: string;
|
|
10542
|
+
kopieen: number;
|
|
10543
|
+
layout_id: string;
|
|
10544
|
+
naam: string;
|
|
10545
|
+
printer_id: string | null;
|
|
10546
|
+
updated_at: string;
|
|
10547
|
+
volgorde: number;
|
|
10548
|
+
};
|
|
10549
|
+
Insert: {
|
|
10550
|
+
actief?: boolean;
|
|
10551
|
+
alleen_eerste_keer?: boolean;
|
|
10552
|
+
conditie?: import("./types").Json;
|
|
10553
|
+
created_at?: string;
|
|
10554
|
+
id?: string;
|
|
10555
|
+
kopieen?: number;
|
|
10556
|
+
layout_id: string;
|
|
10557
|
+
naam?: string;
|
|
10558
|
+
printer_id?: string | null;
|
|
10559
|
+
updated_at?: string;
|
|
10560
|
+
volgorde?: number;
|
|
10561
|
+
};
|
|
10562
|
+
Update: {
|
|
10563
|
+
actief?: boolean;
|
|
10564
|
+
alleen_eerste_keer?: boolean;
|
|
10565
|
+
conditie?: import("./types").Json;
|
|
10566
|
+
created_at?: string;
|
|
10567
|
+
id?: string;
|
|
10568
|
+
kopieen?: number;
|
|
10569
|
+
layout_id?: string;
|
|
10570
|
+
naam?: string;
|
|
10571
|
+
printer_id?: string | null;
|
|
10572
|
+
updated_at?: string;
|
|
10573
|
+
volgorde?: number;
|
|
10574
|
+
};
|
|
10575
|
+
Relationships: [{
|
|
10576
|
+
foreignKeyName: "print_rules_layout_id_fkey";
|
|
10577
|
+
columns: ["layout_id"];
|
|
10578
|
+
isOneToOne: false;
|
|
10579
|
+
referencedRelation: "document_layouts";
|
|
10580
|
+
referencedColumns: ["id"];
|
|
10581
|
+
}, {
|
|
10582
|
+
foreignKeyName: "print_rules_printer_id_fkey";
|
|
10583
|
+
columns: ["printer_id"];
|
|
10584
|
+
isOneToOne: false;
|
|
10585
|
+
referencedRelation: "printers";
|
|
10586
|
+
referencedColumns: ["id"];
|
|
10587
|
+
}];
|
|
10588
|
+
};
|
|
10589
|
+
printer_mappings: {
|
|
10590
|
+
Row: {
|
|
10591
|
+
created_at: string;
|
|
10592
|
+
id: string;
|
|
10593
|
+
layout_id: string;
|
|
10594
|
+
printer_id: string;
|
|
10595
|
+
prioriteit: number;
|
|
10596
|
+
updated_at: string;
|
|
10597
|
+
};
|
|
10598
|
+
Insert: {
|
|
10599
|
+
created_at?: string;
|
|
10600
|
+
id?: string;
|
|
10601
|
+
layout_id: string;
|
|
10602
|
+
printer_id: string;
|
|
10603
|
+
prioriteit?: number;
|
|
10604
|
+
updated_at?: string;
|
|
10605
|
+
};
|
|
10606
|
+
Update: {
|
|
8681
10607
|
created_at?: string;
|
|
8682
10608
|
id?: string;
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
10609
|
+
layout_id?: string;
|
|
10610
|
+
printer_id?: string;
|
|
10611
|
+
prioriteit?: number;
|
|
8686
10612
|
updated_at?: string;
|
|
8687
10613
|
};
|
|
8688
|
-
Relationships: [
|
|
10614
|
+
Relationships: [{
|
|
10615
|
+
foreignKeyName: "printer_mappings_layout_id_fkey";
|
|
10616
|
+
columns: ["layout_id"];
|
|
10617
|
+
isOneToOne: false;
|
|
10618
|
+
referencedRelation: "document_layouts";
|
|
10619
|
+
referencedColumns: ["id"];
|
|
10620
|
+
}, {
|
|
10621
|
+
foreignKeyName: "printer_mappings_printer_id_fkey";
|
|
10622
|
+
columns: ["printer_id"];
|
|
10623
|
+
isOneToOne: false;
|
|
10624
|
+
referencedRelation: "printers";
|
|
10625
|
+
referencedColumns: ["id"];
|
|
10626
|
+
}];
|
|
8689
10627
|
};
|
|
8690
|
-
|
|
10628
|
+
printer_profiles: {
|
|
8691
10629
|
Row: {
|
|
10630
|
+
auto_schalen: boolean;
|
|
8692
10631
|
created_at: string;
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
10632
|
+
duplex: boolean;
|
|
10633
|
+
id: string;
|
|
10634
|
+
is_standaard: boolean;
|
|
10635
|
+
kleur: boolean;
|
|
10636
|
+
kopieen: number;
|
|
10637
|
+
label_gap: number;
|
|
10638
|
+
naam: string;
|
|
10639
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
10640
|
+
papierlade: string;
|
|
10641
|
+
printer_id: string;
|
|
10642
|
+
resolutie: number;
|
|
10643
|
+
snijden: boolean;
|
|
10644
|
+
updated_at: string;
|
|
8696
10645
|
};
|
|
8697
10646
|
Insert: {
|
|
10647
|
+
auto_schalen?: boolean;
|
|
8698
10648
|
created_at?: string;
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
10649
|
+
duplex?: boolean;
|
|
10650
|
+
id?: string;
|
|
10651
|
+
is_standaard?: boolean;
|
|
10652
|
+
kleur?: boolean;
|
|
10653
|
+
kopieen?: number;
|
|
10654
|
+
label_gap?: number;
|
|
10655
|
+
naam?: string;
|
|
10656
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10657
|
+
papierlade?: string;
|
|
10658
|
+
printer_id: string;
|
|
10659
|
+
resolutie?: number;
|
|
10660
|
+
snijden?: boolean;
|
|
10661
|
+
updated_at?: string;
|
|
8702
10662
|
};
|
|
8703
10663
|
Update: {
|
|
10664
|
+
auto_schalen?: boolean;
|
|
8704
10665
|
created_at?: string;
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
10666
|
+
duplex?: boolean;
|
|
10667
|
+
id?: string;
|
|
10668
|
+
is_standaard?: boolean;
|
|
10669
|
+
kleur?: boolean;
|
|
10670
|
+
kopieen?: number;
|
|
10671
|
+
label_gap?: number;
|
|
10672
|
+
naam?: string;
|
|
10673
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10674
|
+
papierlade?: string;
|
|
10675
|
+
printer_id?: string;
|
|
10676
|
+
resolutie?: number;
|
|
10677
|
+
snijden?: boolean;
|
|
10678
|
+
updated_at?: string;
|
|
8708
10679
|
};
|
|
8709
10680
|
Relationships: [{
|
|
8710
|
-
foreignKeyName: "
|
|
8711
|
-
columns: ["
|
|
10681
|
+
foreignKeyName: "printer_profiles_printer_id_fkey";
|
|
10682
|
+
columns: ["printer_id"];
|
|
8712
10683
|
isOneToOne: false;
|
|
8713
|
-
referencedRelation: "
|
|
10684
|
+
referencedRelation: "printers";
|
|
8714
10685
|
referencedColumns: ["id"];
|
|
8715
10686
|
}];
|
|
8716
10687
|
};
|
|
8717
|
-
|
|
10688
|
+
printers: {
|
|
8718
10689
|
Row: {
|
|
8719
|
-
|
|
10690
|
+
actief: boolean;
|
|
8720
10691
|
created_at: string;
|
|
8721
|
-
|
|
8722
|
-
end_at: string;
|
|
10692
|
+
driver: string;
|
|
8723
10693
|
id: string;
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
10694
|
+
ip_adres: string | null;
|
|
10695
|
+
laatst_gezien: string | null;
|
|
10696
|
+
locatie: string;
|
|
10697
|
+
merk: string;
|
|
10698
|
+
naam: string;
|
|
10699
|
+
omschrijving: string;
|
|
10700
|
+
online: boolean;
|
|
10701
|
+
papierformaat: string;
|
|
10702
|
+
poort: number | null;
|
|
10703
|
+
soort: Database["public"]["Enums"]["printer_kind"];
|
|
8727
10704
|
updated_at: string;
|
|
8728
|
-
|
|
10705
|
+
verbinding: Database["public"]["Enums"]["printer_connection"];
|
|
8729
10706
|
};
|
|
8730
10707
|
Insert: {
|
|
8731
|
-
|
|
10708
|
+
actief?: boolean;
|
|
8732
10709
|
created_at?: string;
|
|
8733
|
-
|
|
8734
|
-
end_at: string;
|
|
10710
|
+
driver?: string;
|
|
8735
10711
|
id?: string;
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
10712
|
+
ip_adres?: string | null;
|
|
10713
|
+
laatst_gezien?: string | null;
|
|
10714
|
+
locatie?: string;
|
|
10715
|
+
merk?: string;
|
|
10716
|
+
naam: string;
|
|
10717
|
+
omschrijving?: string;
|
|
10718
|
+
online?: boolean;
|
|
10719
|
+
papierformaat?: string;
|
|
10720
|
+
poort?: number | null;
|
|
10721
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
8739
10722
|
updated_at?: string;
|
|
8740
|
-
|
|
10723
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
8741
10724
|
};
|
|
8742
10725
|
Update: {
|
|
8743
|
-
|
|
10726
|
+
actief?: boolean;
|
|
8744
10727
|
created_at?: string;
|
|
8745
|
-
|
|
8746
|
-
end_at?: string;
|
|
10728
|
+
driver?: string;
|
|
8747
10729
|
id?: string;
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
10730
|
+
ip_adres?: string | null;
|
|
10731
|
+
laatst_gezien?: string | null;
|
|
10732
|
+
locatie?: string;
|
|
10733
|
+
merk?: string;
|
|
10734
|
+
naam?: string;
|
|
10735
|
+
omschrijving?: string;
|
|
10736
|
+
online?: boolean;
|
|
10737
|
+
papierformaat?: string;
|
|
10738
|
+
poort?: number | null;
|
|
10739
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
8751
10740
|
updated_at?: string;
|
|
8752
|
-
|
|
10741
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
8753
10742
|
};
|
|
8754
|
-
Relationships: [
|
|
8755
|
-
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
8756
|
-
columns: ["werkbon_id"];
|
|
8757
|
-
isOneToOne: false;
|
|
8758
|
-
referencedRelation: "werkbonnen";
|
|
8759
|
-
referencedColumns: ["id"];
|
|
8760
|
-
}];
|
|
10743
|
+
Relationships: [];
|
|
8761
10744
|
};
|
|
8762
10745
|
product_bom_items: {
|
|
8763
10746
|
Row: {
|
|
@@ -11267,6 +13250,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11267
13250
|
};
|
|
11268
13251
|
Relationships: [];
|
|
11269
13252
|
};
|
|
13253
|
+
twinfield_revoked_accounts: {
|
|
13254
|
+
Row: {
|
|
13255
|
+
account_key: string;
|
|
13256
|
+
last_revoke_error: string | null;
|
|
13257
|
+
revoked_at: string;
|
|
13258
|
+
user_id: string;
|
|
13259
|
+
};
|
|
13260
|
+
Insert: {
|
|
13261
|
+
account_key: string;
|
|
13262
|
+
last_revoke_error?: string | null;
|
|
13263
|
+
revoked_at?: string;
|
|
13264
|
+
user_id: string;
|
|
13265
|
+
};
|
|
13266
|
+
Update: {
|
|
13267
|
+
account_key?: string;
|
|
13268
|
+
last_revoke_error?: string | null;
|
|
13269
|
+
revoked_at?: string;
|
|
13270
|
+
user_id?: string;
|
|
13271
|
+
};
|
|
13272
|
+
Relationships: [];
|
|
13273
|
+
};
|
|
11270
13274
|
twinfield_session_cache: {
|
|
11271
13275
|
Row: {
|
|
11272
13276
|
cluster: string;
|
|
@@ -11369,6 +13373,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11369
13373
|
referencedColumns: ["id"];
|
|
11370
13374
|
}];
|
|
11371
13375
|
};
|
|
13376
|
+
voorraad_custom_fields: {
|
|
13377
|
+
Row: {
|
|
13378
|
+
created_at: string;
|
|
13379
|
+
field_key: string;
|
|
13380
|
+
field_label: string;
|
|
13381
|
+
field_type: string;
|
|
13382
|
+
id: string;
|
|
13383
|
+
options: string[];
|
|
13384
|
+
show_in_columns: boolean;
|
|
13385
|
+
show_in_detail: boolean;
|
|
13386
|
+
show_in_template: boolean;
|
|
13387
|
+
sort_order: number;
|
|
13388
|
+
updated_at: string;
|
|
13389
|
+
};
|
|
13390
|
+
Insert: {
|
|
13391
|
+
created_at?: string;
|
|
13392
|
+
field_key: string;
|
|
13393
|
+
field_label: string;
|
|
13394
|
+
field_type?: string;
|
|
13395
|
+
id?: string;
|
|
13396
|
+
options?: string[];
|
|
13397
|
+
show_in_columns?: boolean;
|
|
13398
|
+
show_in_detail?: boolean;
|
|
13399
|
+
show_in_template?: boolean;
|
|
13400
|
+
sort_order?: number;
|
|
13401
|
+
updated_at?: string;
|
|
13402
|
+
};
|
|
13403
|
+
Update: {
|
|
13404
|
+
created_at?: string;
|
|
13405
|
+
field_key?: string;
|
|
13406
|
+
field_label?: string;
|
|
13407
|
+
field_type?: string;
|
|
13408
|
+
id?: string;
|
|
13409
|
+
options?: string[];
|
|
13410
|
+
show_in_columns?: boolean;
|
|
13411
|
+
show_in_detail?: boolean;
|
|
13412
|
+
show_in_template?: boolean;
|
|
13413
|
+
sort_order?: number;
|
|
13414
|
+
updated_at?: string;
|
|
13415
|
+
};
|
|
13416
|
+
Relationships: [];
|
|
13417
|
+
};
|
|
11372
13418
|
voorraad_media_upload_failures: {
|
|
11373
13419
|
Row: {
|
|
11374
13420
|
action: string;
|
|
@@ -12026,6 +14072,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12026
14072
|
status: string | null;
|
|
12027
14073
|
token_expires_at: string | null;
|
|
12028
14074
|
updated_at: string | null;
|
|
14075
|
+
webhook_last_attempt_at: string | null;
|
|
14076
|
+
webhook_last_error: string | null;
|
|
14077
|
+
webhook_status: string | null;
|
|
12029
14078
|
};
|
|
12030
14079
|
Insert: {
|
|
12031
14080
|
account_email?: string | null;
|
|
@@ -12060,6 +14109,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12060
14109
|
status?: string | null;
|
|
12061
14110
|
token_expires_at?: string | null;
|
|
12062
14111
|
updated_at?: string | null;
|
|
14112
|
+
webhook_last_attempt_at?: string | null;
|
|
14113
|
+
webhook_last_error?: string | null;
|
|
14114
|
+
webhook_status?: string | null;
|
|
12063
14115
|
};
|
|
12064
14116
|
Update: {
|
|
12065
14117
|
account_email?: string | null;
|
|
@@ -12094,6 +14146,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12094
14146
|
status?: string | null;
|
|
12095
14147
|
token_expires_at?: string | null;
|
|
12096
14148
|
updated_at?: string | null;
|
|
14149
|
+
webhook_last_attempt_at?: string | null;
|
|
14150
|
+
webhook_last_error?: string | null;
|
|
14151
|
+
webhook_status?: string | null;
|
|
12097
14152
|
};
|
|
12098
14153
|
Relationships: [];
|
|
12099
14154
|
};
|
|
@@ -12374,6 +14429,81 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12374
14429
|
referencedColumns: ["id"];
|
|
12375
14430
|
}];
|
|
12376
14431
|
};
|
|
14432
|
+
v_external_customers_local: {
|
|
14433
|
+
Row: {
|
|
14434
|
+
city: string | null;
|
|
14435
|
+
commercial_name: string | null;
|
|
14436
|
+
company_name: string | null;
|
|
14437
|
+
connection_id: string | null;
|
|
14438
|
+
contact_person: string | null;
|
|
14439
|
+
country: string | null;
|
|
14440
|
+
email: string | null;
|
|
14441
|
+
external_id: string | null;
|
|
14442
|
+
fetched_at: string | null;
|
|
14443
|
+
gln: string | null;
|
|
14444
|
+
house_number: string | null;
|
|
14445
|
+
is_active: boolean | null;
|
|
14446
|
+
is_deleted: boolean | null;
|
|
14447
|
+
logo_url: string | null;
|
|
14448
|
+
phone: string | null;
|
|
14449
|
+
postal_code: string | null;
|
|
14450
|
+
provider: string | null;
|
|
14451
|
+
raw: import("./types").Json | null;
|
|
14452
|
+
status: string | null;
|
|
14453
|
+
street: string | null;
|
|
14454
|
+
vat_number: string | null;
|
|
14455
|
+
website: string | null;
|
|
14456
|
+
};
|
|
14457
|
+
Insert: {
|
|
14458
|
+
city?: string | null;
|
|
14459
|
+
commercial_name?: string | null;
|
|
14460
|
+
company_name?: string | null;
|
|
14461
|
+
connection_id?: never;
|
|
14462
|
+
contact_person?: string | null;
|
|
14463
|
+
country?: string | null;
|
|
14464
|
+
email?: string | null;
|
|
14465
|
+
external_id?: never;
|
|
14466
|
+
fetched_at?: never;
|
|
14467
|
+
gln?: string | null;
|
|
14468
|
+
house_number?: string | null;
|
|
14469
|
+
is_active?: never;
|
|
14470
|
+
is_deleted?: never;
|
|
14471
|
+
logo_url?: string | null;
|
|
14472
|
+
phone?: string | null;
|
|
14473
|
+
postal_code?: string | null;
|
|
14474
|
+
provider?: never;
|
|
14475
|
+
raw?: never;
|
|
14476
|
+
status?: string | null;
|
|
14477
|
+
street?: string | null;
|
|
14478
|
+
vat_number?: string | null;
|
|
14479
|
+
website?: string | null;
|
|
14480
|
+
};
|
|
14481
|
+
Update: {
|
|
14482
|
+
city?: string | null;
|
|
14483
|
+
commercial_name?: string | null;
|
|
14484
|
+
company_name?: string | null;
|
|
14485
|
+
connection_id?: never;
|
|
14486
|
+
contact_person?: string | null;
|
|
14487
|
+
country?: string | null;
|
|
14488
|
+
email?: string | null;
|
|
14489
|
+
external_id?: never;
|
|
14490
|
+
fetched_at?: never;
|
|
14491
|
+
gln?: string | null;
|
|
14492
|
+
house_number?: string | null;
|
|
14493
|
+
is_active?: never;
|
|
14494
|
+
is_deleted?: never;
|
|
14495
|
+
logo_url?: string | null;
|
|
14496
|
+
phone?: string | null;
|
|
14497
|
+
postal_code?: string | null;
|
|
14498
|
+
provider?: never;
|
|
14499
|
+
raw?: never;
|
|
14500
|
+
status?: string | null;
|
|
14501
|
+
street?: string | null;
|
|
14502
|
+
vat_number?: string | null;
|
|
14503
|
+
website?: string | null;
|
|
14504
|
+
};
|
|
14505
|
+
Relationships: [];
|
|
14506
|
+
};
|
|
12377
14507
|
v_external_customers_twinfield: {
|
|
12378
14508
|
Row: {
|
|
12379
14509
|
city: string | null;
|
|
@@ -13302,6 +15432,170 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13302
15432
|
};
|
|
13303
15433
|
Returns: string;
|
|
13304
15434
|
};
|
|
15435
|
+
pick_claim_document: {
|
|
15436
|
+
Args: {
|
|
15437
|
+
_queue_item_id: string;
|
|
15438
|
+
_screen_id: string;
|
|
15439
|
+
_session_id: string;
|
|
15440
|
+
_station_id: string;
|
|
15441
|
+
_timeout_seconds?: number;
|
|
15442
|
+
};
|
|
15443
|
+
Returns: {
|
|
15444
|
+
announced_at: string;
|
|
15445
|
+
assigned_user_id: string | null;
|
|
15446
|
+
barcode: string | null;
|
|
15447
|
+
cancelled_at: string | null;
|
|
15448
|
+
cart_count: number;
|
|
15449
|
+
completed_at: string | null;
|
|
15450
|
+
country_code: string | null;
|
|
15451
|
+
created_at: string;
|
|
15452
|
+
customer_name: string | null;
|
|
15453
|
+
delivery_address: string | null;
|
|
15454
|
+
document_number: string | null;
|
|
15455
|
+
document_type_id: string | null;
|
|
15456
|
+
due_at: string | null;
|
|
15457
|
+
id: string;
|
|
15458
|
+
is_urgent: boolean;
|
|
15459
|
+
line_count: number;
|
|
15460
|
+
order_number: string | null;
|
|
15461
|
+
order_type: string | null;
|
|
15462
|
+
payload: import("./types").Json;
|
|
15463
|
+
print_count: number;
|
|
15464
|
+
printed_at: string | null;
|
|
15465
|
+
printed_by: string | null;
|
|
15466
|
+
printer_id: string | null;
|
|
15467
|
+
priority: number;
|
|
15468
|
+
reference: string | null;
|
|
15469
|
+
route: string | null;
|
|
15470
|
+
screen_id: string | null;
|
|
15471
|
+
station_id: string | null;
|
|
15472
|
+
status_id: string | null;
|
|
15473
|
+
updated_at: string;
|
|
15474
|
+
warnings: import("./types").Json;
|
|
15475
|
+
};
|
|
15476
|
+
SetofOptions: {
|
|
15477
|
+
from: "*";
|
|
15478
|
+
to: "pick_queue";
|
|
15479
|
+
isOneToOne: true;
|
|
15480
|
+
isSetofReturn: false;
|
|
15481
|
+
};
|
|
15482
|
+
};
|
|
15483
|
+
pick_claim_next_document: {
|
|
15484
|
+
Args: {
|
|
15485
|
+
_country_code: string;
|
|
15486
|
+
_screen_id: string;
|
|
15487
|
+
_session_id: string;
|
|
15488
|
+
_station_id: string;
|
|
15489
|
+
_timeout_seconds?: number;
|
|
15490
|
+
};
|
|
15491
|
+
Returns: {
|
|
15492
|
+
announced_at: string;
|
|
15493
|
+
assigned_user_id: string | null;
|
|
15494
|
+
barcode: string | null;
|
|
15495
|
+
cancelled_at: string | null;
|
|
15496
|
+
cart_count: number;
|
|
15497
|
+
completed_at: string | null;
|
|
15498
|
+
country_code: string | null;
|
|
15499
|
+
created_at: string;
|
|
15500
|
+
customer_name: string | null;
|
|
15501
|
+
delivery_address: string | null;
|
|
15502
|
+
document_number: string | null;
|
|
15503
|
+
document_type_id: string | null;
|
|
15504
|
+
due_at: string | null;
|
|
15505
|
+
id: string;
|
|
15506
|
+
is_urgent: boolean;
|
|
15507
|
+
line_count: number;
|
|
15508
|
+
order_number: string | null;
|
|
15509
|
+
order_type: string | null;
|
|
15510
|
+
payload: import("./types").Json;
|
|
15511
|
+
print_count: number;
|
|
15512
|
+
printed_at: string | null;
|
|
15513
|
+
printed_by: string | null;
|
|
15514
|
+
printer_id: string | null;
|
|
15515
|
+
priority: number;
|
|
15516
|
+
reference: string | null;
|
|
15517
|
+
route: string | null;
|
|
15518
|
+
screen_id: string | null;
|
|
15519
|
+
station_id: string | null;
|
|
15520
|
+
status_id: string | null;
|
|
15521
|
+
updated_at: string;
|
|
15522
|
+
warnings: import("./types").Json;
|
|
15523
|
+
};
|
|
15524
|
+
SetofOptions: {
|
|
15525
|
+
from: "*";
|
|
15526
|
+
to: "pick_queue";
|
|
15527
|
+
isOneToOne: true;
|
|
15528
|
+
isSetofReturn: false;
|
|
15529
|
+
};
|
|
15530
|
+
};
|
|
15531
|
+
pick_complete_print: {
|
|
15532
|
+
Args: {
|
|
15533
|
+
_printer_id: string;
|
|
15534
|
+
_queue_item_id: string;
|
|
15535
|
+
_session_id: string;
|
|
15536
|
+
};
|
|
15537
|
+
Returns: {
|
|
15538
|
+
announced_at: string;
|
|
15539
|
+
assigned_user_id: string | null;
|
|
15540
|
+
barcode: string | null;
|
|
15541
|
+
cancelled_at: string | null;
|
|
15542
|
+
cart_count: number;
|
|
15543
|
+
completed_at: string | null;
|
|
15544
|
+
country_code: string | null;
|
|
15545
|
+
created_at: string;
|
|
15546
|
+
customer_name: string | null;
|
|
15547
|
+
delivery_address: string | null;
|
|
15548
|
+
document_number: string | null;
|
|
15549
|
+
document_type_id: string | null;
|
|
15550
|
+
due_at: string | null;
|
|
15551
|
+
id: string;
|
|
15552
|
+
is_urgent: boolean;
|
|
15553
|
+
line_count: number;
|
|
15554
|
+
order_number: string | null;
|
|
15555
|
+
order_type: string | null;
|
|
15556
|
+
payload: import("./types").Json;
|
|
15557
|
+
print_count: number;
|
|
15558
|
+
printed_at: string | null;
|
|
15559
|
+
printed_by: string | null;
|
|
15560
|
+
printer_id: string | null;
|
|
15561
|
+
priority: number;
|
|
15562
|
+
reference: string | null;
|
|
15563
|
+
route: string | null;
|
|
15564
|
+
screen_id: string | null;
|
|
15565
|
+
station_id: string | null;
|
|
15566
|
+
status_id: string | null;
|
|
15567
|
+
updated_at: string;
|
|
15568
|
+
warnings: import("./types").Json;
|
|
15569
|
+
};
|
|
15570
|
+
SetofOptions: {
|
|
15571
|
+
from: "*";
|
|
15572
|
+
to: "pick_queue";
|
|
15573
|
+
isOneToOne: true;
|
|
15574
|
+
isSetofReturn: false;
|
|
15575
|
+
};
|
|
15576
|
+
};
|
|
15577
|
+
pick_release_expired_locks: {
|
|
15578
|
+
Args: never;
|
|
15579
|
+
Returns: number;
|
|
15580
|
+
};
|
|
15581
|
+
pick_release_lock: {
|
|
15582
|
+
Args: {
|
|
15583
|
+
_queue_item_id: string;
|
|
15584
|
+
};
|
|
15585
|
+
Returns: undefined;
|
|
15586
|
+
};
|
|
15587
|
+
pick_station_dashboard: {
|
|
15588
|
+
Args: never;
|
|
15589
|
+
Returns: {
|
|
15590
|
+
active: number;
|
|
15591
|
+
active_sessions: number;
|
|
15592
|
+
avg_wait_seconds: number;
|
|
15593
|
+
done_today: number;
|
|
15594
|
+
station_id: string;
|
|
15595
|
+
station_name: string;
|
|
15596
|
+
waiting: number;
|
|
15597
|
+
}[];
|
|
15598
|
+
};
|
|
13305
15599
|
pickstation_get_orders_raw: {
|
|
13306
15600
|
Args: never;
|
|
13307
15601
|
Returns: import("./types").Json;
|
|
@@ -13403,6 +15697,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13403
15697
|
};
|
|
13404
15698
|
Returns: number;
|
|
13405
15699
|
};
|
|
15700
|
+
release_debtor_lock: {
|
|
15701
|
+
Args: {
|
|
15702
|
+
_group_key: string;
|
|
15703
|
+
_user_id: string;
|
|
15704
|
+
};
|
|
15705
|
+
Returns: boolean;
|
|
15706
|
+
};
|
|
13406
15707
|
reorder_customer_price_groups: {
|
|
13407
15708
|
Args: {
|
|
13408
15709
|
_ids: string[];
|
|
@@ -13782,6 +16083,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13782
16083
|
};
|
|
13783
16084
|
Returns: undefined;
|
|
13784
16085
|
};
|
|
16086
|
+
try_debtor_lock: {
|
|
16087
|
+
Args: {
|
|
16088
|
+
_group_key: string;
|
|
16089
|
+
_user_id: string;
|
|
16090
|
+
};
|
|
16091
|
+
Returns: boolean;
|
|
16092
|
+
};
|
|
16093
|
+
twinfield_register_cron: {
|
|
16094
|
+
Args: {
|
|
16095
|
+
apikey: string;
|
|
16096
|
+
base_url: string;
|
|
16097
|
+
};
|
|
16098
|
+
Returns: import("./types").Json;
|
|
16099
|
+
};
|
|
13785
16100
|
twinfield_upsert_connection_by_account_key: {
|
|
13786
16101
|
Args: {
|
|
13787
16102
|
p_account_key: string;
|
|
@@ -13808,12 +16123,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13808
16123
|
};
|
|
13809
16124
|
};
|
|
13810
16125
|
Enums: {
|
|
16126
|
+
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
13811
16127
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
16128
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
16129
|
+
doc_orientation: "portrait" | "landscape";
|
|
13812
16130
|
exact_env: "staging" | "live";
|
|
13813
16131
|
exact_push_status: "pending" | "sent" | "error";
|
|
13814
16132
|
itk_customer_segment: "Business" | "Private";
|
|
13815
16133
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13816
16134
|
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
16135
|
+
print_job_status: "wachtend" | "bezig" | "voltooid" | "mislukt" | "geannuleerd";
|
|
16136
|
+
printer_connection: "ipp" | "raw9100" | "printnode" | "cups" | "usb" | "windows" | "airprint" | "cloud";
|
|
16137
|
+
printer_kind: "labelprinter" | "laserprinter" | "inkjet" | "thermal" | "kantoorprinter" | "overig";
|
|
13817
16138
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
13818
16139
|
};
|
|
13819
16140
|
CompositeTypes: { [_ in never]: never; };
|