@flowselections/floriday-voorraad 1.0.27 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +21 -8
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +3 -2
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +5 -0
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.js +65 -0
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.js +65 -2
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.js +8 -2
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +4 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +10 -2
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +2 -0
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/VoorraadVeldenCard.js +97 -0
- package/dist-lib/hooks/useLocalTradeItems.d.ts +4 -4
- package/dist-lib/hooks/useLocalTradeItems.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.js +59 -35
- package/dist-lib/hooks/useVoorraadCustomFields.d.ts +9 -0
- package/dist-lib/hooks/useVoorraadCustomFields.d.ts.map +1 -0
- package/dist-lib/hooks/useVoorraadCustomFields.js +26 -0
- package/dist-lib/index.d.ts +2 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +4 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2358 -177
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2358 -177
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2358 -177
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2428 -174
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +49 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts +2358 -177
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +2358 -177
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +49617 -38712
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +13843 -9481
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +25719 -19176
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +13826 -9464
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/voorraad-custom-fields.d.ts +22 -0
- package/dist-lib/lib/voorraad-custom-fields.d.ts.map +1 -0
- package/dist-lib/lib/voorraad-custom-fields.js +71 -0
- package/package.json +1 -1
|
@@ -404,6 +404,65 @@ export type Database = {
|
|
|
404
404
|
};
|
|
405
405
|
Relationships: [];
|
|
406
406
|
};
|
|
407
|
+
ai_layout_imports: {
|
|
408
|
+
Row: {
|
|
409
|
+
analyse_json: Json;
|
|
410
|
+
bestand_url: string | null;
|
|
411
|
+
bestandsnaam: string;
|
|
412
|
+
bevestigd: boolean;
|
|
413
|
+
created_at: string;
|
|
414
|
+
created_by: string | null;
|
|
415
|
+
foutmelding: string | null;
|
|
416
|
+
id: string;
|
|
417
|
+
layout_id: string | null;
|
|
418
|
+
mime_type: string;
|
|
419
|
+
onzekere_velden: Json;
|
|
420
|
+
status: Database["public"]["Enums"]["ai_import_status"];
|
|
421
|
+
updated_at: string;
|
|
422
|
+
voorstel: Json;
|
|
423
|
+
};
|
|
424
|
+
Insert: {
|
|
425
|
+
analyse_json?: Json;
|
|
426
|
+
bestand_url?: string | null;
|
|
427
|
+
bestandsnaam?: string;
|
|
428
|
+
bevestigd?: boolean;
|
|
429
|
+
created_at?: string;
|
|
430
|
+
created_by?: string | null;
|
|
431
|
+
foutmelding?: string | null;
|
|
432
|
+
id?: string;
|
|
433
|
+
layout_id?: string | null;
|
|
434
|
+
mime_type?: string;
|
|
435
|
+
onzekere_velden?: Json;
|
|
436
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
437
|
+
updated_at?: string;
|
|
438
|
+
voorstel?: Json;
|
|
439
|
+
};
|
|
440
|
+
Update: {
|
|
441
|
+
analyse_json?: Json;
|
|
442
|
+
bestand_url?: string | null;
|
|
443
|
+
bestandsnaam?: string;
|
|
444
|
+
bevestigd?: boolean;
|
|
445
|
+
created_at?: string;
|
|
446
|
+
created_by?: string | null;
|
|
447
|
+
foutmelding?: string | null;
|
|
448
|
+
id?: string;
|
|
449
|
+
layout_id?: string | null;
|
|
450
|
+
mime_type?: string;
|
|
451
|
+
onzekere_velden?: Json;
|
|
452
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
453
|
+
updated_at?: string;
|
|
454
|
+
voorstel?: Json;
|
|
455
|
+
};
|
|
456
|
+
Relationships: [
|
|
457
|
+
{
|
|
458
|
+
foreignKeyName: "ai_layout_imports_layout_id_fkey";
|
|
459
|
+
columns: ["layout_id"];
|
|
460
|
+
isOneToOne: false;
|
|
461
|
+
referencedRelation: "document_layouts";
|
|
462
|
+
referencedColumns: ["id"];
|
|
463
|
+
}
|
|
464
|
+
];
|
|
465
|
+
};
|
|
407
466
|
ai_model_pricing: {
|
|
408
467
|
Row: {
|
|
409
468
|
created_at: string;
|
|
@@ -496,6 +555,8 @@ export type Database = {
|
|
|
496
555
|
created_at: string;
|
|
497
556
|
credential_id: string;
|
|
498
557
|
id: string;
|
|
558
|
+
is_default: boolean;
|
|
559
|
+
label: string | null;
|
|
499
560
|
model_id: string;
|
|
500
561
|
notes: string | null;
|
|
501
562
|
updated_at: string;
|
|
@@ -505,6 +566,8 @@ export type Database = {
|
|
|
505
566
|
created_at?: string;
|
|
506
567
|
credential_id: string;
|
|
507
568
|
id?: string;
|
|
569
|
+
is_default?: boolean;
|
|
570
|
+
label?: string | null;
|
|
508
571
|
model_id: string;
|
|
509
572
|
notes?: string | null;
|
|
510
573
|
updated_at?: string;
|
|
@@ -514,6 +577,8 @@ export type Database = {
|
|
|
514
577
|
created_at?: string;
|
|
515
578
|
credential_id?: string;
|
|
516
579
|
id?: string;
|
|
580
|
+
is_default?: boolean;
|
|
581
|
+
label?: string | null;
|
|
517
582
|
model_id?: string;
|
|
518
583
|
notes?: string | null;
|
|
519
584
|
updated_at?: string;
|
|
@@ -535,6 +600,41 @@ export type Database = {
|
|
|
535
600
|
}
|
|
536
601
|
];
|
|
537
602
|
};
|
|
603
|
+
ai_modules: {
|
|
604
|
+
Row: {
|
|
605
|
+
ai_enabled: boolean;
|
|
606
|
+
created_at: string;
|
|
607
|
+
id: string;
|
|
608
|
+
module_key: string;
|
|
609
|
+
module_name: string;
|
|
610
|
+
updated_at: string;
|
|
611
|
+
};
|
|
612
|
+
Insert: {
|
|
613
|
+
ai_enabled?: boolean;
|
|
614
|
+
created_at?: string;
|
|
615
|
+
id?: string;
|
|
616
|
+
module_key: string;
|
|
617
|
+
module_name: string;
|
|
618
|
+
updated_at?: string;
|
|
619
|
+
};
|
|
620
|
+
Update: {
|
|
621
|
+
ai_enabled?: boolean;
|
|
622
|
+
created_at?: string;
|
|
623
|
+
id?: string;
|
|
624
|
+
module_key?: string;
|
|
625
|
+
module_name?: string;
|
|
626
|
+
updated_at?: string;
|
|
627
|
+
};
|
|
628
|
+
Relationships: [
|
|
629
|
+
{
|
|
630
|
+
foreignKeyName: "ai_modules_module_key_fkey";
|
|
631
|
+
columns: ["module_key"];
|
|
632
|
+
isOneToOne: true;
|
|
633
|
+
referencedRelation: "modules";
|
|
634
|
+
referencedColumns: ["module_key"];
|
|
635
|
+
}
|
|
636
|
+
];
|
|
637
|
+
};
|
|
538
638
|
ai_providers: {
|
|
539
639
|
Row: {
|
|
540
640
|
active: boolean;
|
|
@@ -1290,6 +1390,8 @@ export type Database = {
|
|
|
1290
1390
|
require_same_crate_type: boolean;
|
|
1291
1391
|
require_same_delivery_date: boolean;
|
|
1292
1392
|
require_same_delivery_location: boolean;
|
|
1393
|
+
uniform_pick_time: boolean;
|
|
1394
|
+
uniform_pick_time_seconds: number;
|
|
1293
1395
|
updated_at: string;
|
|
1294
1396
|
updated_by: string | null;
|
|
1295
1397
|
};
|
|
@@ -1314,6 +1416,8 @@ export type Database = {
|
|
|
1314
1416
|
require_same_crate_type?: boolean;
|
|
1315
1417
|
require_same_delivery_date?: boolean;
|
|
1316
1418
|
require_same_delivery_location?: boolean;
|
|
1419
|
+
uniform_pick_time?: boolean;
|
|
1420
|
+
uniform_pick_time_seconds?: number;
|
|
1317
1421
|
updated_at?: string;
|
|
1318
1422
|
updated_by?: string | null;
|
|
1319
1423
|
};
|
|
@@ -1338,6 +1442,8 @@ export type Database = {
|
|
|
1338
1442
|
require_same_crate_type?: boolean;
|
|
1339
1443
|
require_same_delivery_date?: boolean;
|
|
1340
1444
|
require_same_delivery_location?: boolean;
|
|
1445
|
+
uniform_pick_time?: boolean;
|
|
1446
|
+
uniform_pick_time_seconds?: number;
|
|
1341
1447
|
updated_at?: string;
|
|
1342
1448
|
updated_by?: string | null;
|
|
1343
1449
|
};
|
|
@@ -2497,6 +2603,364 @@ export type Database = {
|
|
|
2497
2603
|
};
|
|
2498
2604
|
Relationships: [];
|
|
2499
2605
|
};
|
|
2606
|
+
document_formaat_printers: {
|
|
2607
|
+
Row: {
|
|
2608
|
+
created_at: string;
|
|
2609
|
+
documenttype: string;
|
|
2610
|
+
formaat_code: string;
|
|
2611
|
+
id: string;
|
|
2612
|
+
printer_id: string | null;
|
|
2613
|
+
updated_at: string;
|
|
2614
|
+
};
|
|
2615
|
+
Insert: {
|
|
2616
|
+
created_at?: string;
|
|
2617
|
+
documenttype: string;
|
|
2618
|
+
formaat_code: string;
|
|
2619
|
+
id?: string;
|
|
2620
|
+
printer_id?: string | null;
|
|
2621
|
+
updated_at?: string;
|
|
2622
|
+
};
|
|
2623
|
+
Update: {
|
|
2624
|
+
created_at?: string;
|
|
2625
|
+
documenttype?: string;
|
|
2626
|
+
formaat_code?: string;
|
|
2627
|
+
id?: string;
|
|
2628
|
+
printer_id?: string | null;
|
|
2629
|
+
updated_at?: string;
|
|
2630
|
+
};
|
|
2631
|
+
Relationships: [
|
|
2632
|
+
{
|
|
2633
|
+
foreignKeyName: "document_formaat_printers_printer_id_fkey";
|
|
2634
|
+
columns: ["printer_id"];
|
|
2635
|
+
isOneToOne: false;
|
|
2636
|
+
referencedRelation: "printers";
|
|
2637
|
+
referencedColumns: ["id"];
|
|
2638
|
+
}
|
|
2639
|
+
];
|
|
2640
|
+
};
|
|
2641
|
+
document_layout_conditions: {
|
|
2642
|
+
Row: {
|
|
2643
|
+
created_at: string;
|
|
2644
|
+
element_key: string;
|
|
2645
|
+
id: string;
|
|
2646
|
+
layout_id: string;
|
|
2647
|
+
operator: string;
|
|
2648
|
+
updated_at: string;
|
|
2649
|
+
veld: string;
|
|
2650
|
+
waarde: string;
|
|
2651
|
+
};
|
|
2652
|
+
Insert: {
|
|
2653
|
+
created_at?: string;
|
|
2654
|
+
element_key: string;
|
|
2655
|
+
id?: string;
|
|
2656
|
+
layout_id: string;
|
|
2657
|
+
operator?: string;
|
|
2658
|
+
updated_at?: string;
|
|
2659
|
+
veld: string;
|
|
2660
|
+
waarde?: string;
|
|
2661
|
+
};
|
|
2662
|
+
Update: {
|
|
2663
|
+
created_at?: string;
|
|
2664
|
+
element_key?: string;
|
|
2665
|
+
id?: string;
|
|
2666
|
+
layout_id?: string;
|
|
2667
|
+
operator?: string;
|
|
2668
|
+
updated_at?: string;
|
|
2669
|
+
veld?: string;
|
|
2670
|
+
waarde?: string;
|
|
2671
|
+
};
|
|
2672
|
+
Relationships: [
|
|
2673
|
+
{
|
|
2674
|
+
foreignKeyName: "document_layout_conditions_layout_id_fkey";
|
|
2675
|
+
columns: ["layout_id"];
|
|
2676
|
+
isOneToOne: false;
|
|
2677
|
+
referencedRelation: "document_layouts";
|
|
2678
|
+
referencedColumns: ["id"];
|
|
2679
|
+
}
|
|
2680
|
+
];
|
|
2681
|
+
};
|
|
2682
|
+
document_layout_datasources: {
|
|
2683
|
+
Row: {
|
|
2684
|
+
alias: string;
|
|
2685
|
+
created_at: string;
|
|
2686
|
+
entiteit: string;
|
|
2687
|
+
filter: Json;
|
|
2688
|
+
id: string;
|
|
2689
|
+
layout_id: string;
|
|
2690
|
+
module_id: string;
|
|
2691
|
+
updated_at: string;
|
|
2692
|
+
};
|
|
2693
|
+
Insert: {
|
|
2694
|
+
alias?: string;
|
|
2695
|
+
created_at?: string;
|
|
2696
|
+
entiteit: string;
|
|
2697
|
+
filter?: Json;
|
|
2698
|
+
id?: string;
|
|
2699
|
+
layout_id: string;
|
|
2700
|
+
module_id: string;
|
|
2701
|
+
updated_at?: string;
|
|
2702
|
+
};
|
|
2703
|
+
Update: {
|
|
2704
|
+
alias?: string;
|
|
2705
|
+
created_at?: string;
|
|
2706
|
+
entiteit?: string;
|
|
2707
|
+
filter?: Json;
|
|
2708
|
+
id?: string;
|
|
2709
|
+
layout_id?: string;
|
|
2710
|
+
module_id?: string;
|
|
2711
|
+
updated_at?: string;
|
|
2712
|
+
};
|
|
2713
|
+
Relationships: [
|
|
2714
|
+
{
|
|
2715
|
+
foreignKeyName: "document_layout_datasources_layout_id_fkey";
|
|
2716
|
+
columns: ["layout_id"];
|
|
2717
|
+
isOneToOne: false;
|
|
2718
|
+
referencedRelation: "document_layouts";
|
|
2719
|
+
referencedColumns: ["id"];
|
|
2720
|
+
}
|
|
2721
|
+
];
|
|
2722
|
+
};
|
|
2723
|
+
document_layout_elements: {
|
|
2724
|
+
Row: {
|
|
2725
|
+
breedte: number;
|
|
2726
|
+
config: Json;
|
|
2727
|
+
content: string;
|
|
2728
|
+
created_at: string;
|
|
2729
|
+
element_key: string;
|
|
2730
|
+
hoogte: number;
|
|
2731
|
+
id: string;
|
|
2732
|
+
layout_id: string;
|
|
2733
|
+
logo_id: string | null;
|
|
2734
|
+
parent_key: string | null;
|
|
2735
|
+
rotatie: number;
|
|
2736
|
+
stijl: Json;
|
|
2737
|
+
type: string;
|
|
2738
|
+
updated_at: string;
|
|
2739
|
+
veldpad: string | null;
|
|
2740
|
+
verborgen: boolean;
|
|
2741
|
+
vergrendeld: boolean;
|
|
2742
|
+
volgorde: number;
|
|
2743
|
+
x: number;
|
|
2744
|
+
y: number;
|
|
2745
|
+
z_index: number;
|
|
2746
|
+
};
|
|
2747
|
+
Insert: {
|
|
2748
|
+
breedte?: number;
|
|
2749
|
+
config?: Json;
|
|
2750
|
+
content?: string;
|
|
2751
|
+
created_at?: string;
|
|
2752
|
+
element_key: string;
|
|
2753
|
+
hoogte?: number;
|
|
2754
|
+
id?: string;
|
|
2755
|
+
layout_id: string;
|
|
2756
|
+
logo_id?: string | null;
|
|
2757
|
+
parent_key?: string | null;
|
|
2758
|
+
rotatie?: number;
|
|
2759
|
+
stijl?: Json;
|
|
2760
|
+
type: string;
|
|
2761
|
+
updated_at?: string;
|
|
2762
|
+
veldpad?: string | null;
|
|
2763
|
+
verborgen?: boolean;
|
|
2764
|
+
vergrendeld?: boolean;
|
|
2765
|
+
volgorde?: number;
|
|
2766
|
+
x?: number;
|
|
2767
|
+
y?: number;
|
|
2768
|
+
z_index?: number;
|
|
2769
|
+
};
|
|
2770
|
+
Update: {
|
|
2771
|
+
breedte?: number;
|
|
2772
|
+
config?: Json;
|
|
2773
|
+
content?: string;
|
|
2774
|
+
created_at?: string;
|
|
2775
|
+
element_key?: string;
|
|
2776
|
+
hoogte?: number;
|
|
2777
|
+
id?: string;
|
|
2778
|
+
layout_id?: string;
|
|
2779
|
+
logo_id?: string | null;
|
|
2780
|
+
parent_key?: string | null;
|
|
2781
|
+
rotatie?: number;
|
|
2782
|
+
stijl?: Json;
|
|
2783
|
+
type?: string;
|
|
2784
|
+
updated_at?: string;
|
|
2785
|
+
veldpad?: string | null;
|
|
2786
|
+
verborgen?: boolean;
|
|
2787
|
+
vergrendeld?: boolean;
|
|
2788
|
+
volgorde?: number;
|
|
2789
|
+
x?: number;
|
|
2790
|
+
y?: number;
|
|
2791
|
+
z_index?: number;
|
|
2792
|
+
};
|
|
2793
|
+
Relationships: [
|
|
2794
|
+
{
|
|
2795
|
+
foreignKeyName: "document_layout_elements_layout_id_fkey";
|
|
2796
|
+
columns: ["layout_id"];
|
|
2797
|
+
isOneToOne: false;
|
|
2798
|
+
referencedRelation: "document_layouts";
|
|
2799
|
+
referencedColumns: ["id"];
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
foreignKeyName: "document_layout_elements_logo_id_fkey";
|
|
2803
|
+
columns: ["logo_id"];
|
|
2804
|
+
isOneToOne: false;
|
|
2805
|
+
referencedRelation: "layout_logos";
|
|
2806
|
+
referencedColumns: ["id"];
|
|
2807
|
+
}
|
|
2808
|
+
];
|
|
2809
|
+
};
|
|
2810
|
+
document_layout_variables: {
|
|
2811
|
+
Row: {
|
|
2812
|
+
created_at: string;
|
|
2813
|
+
expressie: string;
|
|
2814
|
+
id: string;
|
|
2815
|
+
layout_id: string;
|
|
2816
|
+
naam: string;
|
|
2817
|
+
omschrijving: string;
|
|
2818
|
+
updated_at: string;
|
|
2819
|
+
};
|
|
2820
|
+
Insert: {
|
|
2821
|
+
created_at?: string;
|
|
2822
|
+
expressie?: string;
|
|
2823
|
+
id?: string;
|
|
2824
|
+
layout_id: string;
|
|
2825
|
+
naam: string;
|
|
2826
|
+
omschrijving?: string;
|
|
2827
|
+
updated_at?: string;
|
|
2828
|
+
};
|
|
2829
|
+
Update: {
|
|
2830
|
+
created_at?: string;
|
|
2831
|
+
expressie?: string;
|
|
2832
|
+
id?: string;
|
|
2833
|
+
layout_id?: string;
|
|
2834
|
+
naam?: string;
|
|
2835
|
+
omschrijving?: string;
|
|
2836
|
+
updated_at?: string;
|
|
2837
|
+
};
|
|
2838
|
+
Relationships: [
|
|
2839
|
+
{
|
|
2840
|
+
foreignKeyName: "document_layout_variables_layout_id_fkey";
|
|
2841
|
+
columns: ["layout_id"];
|
|
2842
|
+
isOneToOne: false;
|
|
2843
|
+
referencedRelation: "document_layouts";
|
|
2844
|
+
referencedColumns: ["id"];
|
|
2845
|
+
}
|
|
2846
|
+
];
|
|
2847
|
+
};
|
|
2848
|
+
document_layout_versions: {
|
|
2849
|
+
Row: {
|
|
2850
|
+
commentaar: string;
|
|
2851
|
+
created_at: string;
|
|
2852
|
+
created_by: string | null;
|
|
2853
|
+
elements: Json;
|
|
2854
|
+
id: string;
|
|
2855
|
+
layout_id: string;
|
|
2856
|
+
page_settings: Json;
|
|
2857
|
+
updated_at: string;
|
|
2858
|
+
versienummer: number;
|
|
2859
|
+
};
|
|
2860
|
+
Insert: {
|
|
2861
|
+
commentaar?: string;
|
|
2862
|
+
created_at?: string;
|
|
2863
|
+
created_by?: string | null;
|
|
2864
|
+
elements?: Json;
|
|
2865
|
+
id?: string;
|
|
2866
|
+
layout_id: string;
|
|
2867
|
+
page_settings?: Json;
|
|
2868
|
+
updated_at?: string;
|
|
2869
|
+
versienummer: number;
|
|
2870
|
+
};
|
|
2871
|
+
Update: {
|
|
2872
|
+
commentaar?: string;
|
|
2873
|
+
created_at?: string;
|
|
2874
|
+
created_by?: string | null;
|
|
2875
|
+
elements?: Json;
|
|
2876
|
+
id?: string;
|
|
2877
|
+
layout_id?: string;
|
|
2878
|
+
page_settings?: Json;
|
|
2879
|
+
updated_at?: string;
|
|
2880
|
+
versienummer?: number;
|
|
2881
|
+
};
|
|
2882
|
+
Relationships: [
|
|
2883
|
+
{
|
|
2884
|
+
foreignKeyName: "document_layout_versions_layout_id_fkey";
|
|
2885
|
+
columns: ["layout_id"];
|
|
2886
|
+
isOneToOne: false;
|
|
2887
|
+
referencedRelation: "document_layouts";
|
|
2888
|
+
referencedColumns: ["id"];
|
|
2889
|
+
}
|
|
2890
|
+
];
|
|
2891
|
+
};
|
|
2892
|
+
document_layouts: {
|
|
2893
|
+
Row: {
|
|
2894
|
+
actief: boolean;
|
|
2895
|
+
breedte_mm: number;
|
|
2896
|
+
config: Json;
|
|
2897
|
+
created_at: string;
|
|
2898
|
+
created_by: string | null;
|
|
2899
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
2900
|
+
hoogte_mm: number;
|
|
2901
|
+
huidige_versie: number;
|
|
2902
|
+
id: string;
|
|
2903
|
+
is_standaard: boolean;
|
|
2904
|
+
marge_boven: number;
|
|
2905
|
+
marge_links: number;
|
|
2906
|
+
marge_onder: number;
|
|
2907
|
+
marge_rechts: number;
|
|
2908
|
+
naam: string;
|
|
2909
|
+
omschrijving: string;
|
|
2910
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
2911
|
+
page_settings: Json;
|
|
2912
|
+
papierformaat: string;
|
|
2913
|
+
thumbnail_url: string | null;
|
|
2914
|
+
updated_at: string;
|
|
2915
|
+
};
|
|
2916
|
+
Insert: {
|
|
2917
|
+
actief?: boolean;
|
|
2918
|
+
breedte_mm?: number;
|
|
2919
|
+
config?: Json;
|
|
2920
|
+
created_at?: string;
|
|
2921
|
+
created_by?: string | null;
|
|
2922
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2923
|
+
hoogte_mm?: number;
|
|
2924
|
+
huidige_versie?: number;
|
|
2925
|
+
id?: string;
|
|
2926
|
+
is_standaard?: boolean;
|
|
2927
|
+
marge_boven?: number;
|
|
2928
|
+
marge_links?: number;
|
|
2929
|
+
marge_onder?: number;
|
|
2930
|
+
marge_rechts?: number;
|
|
2931
|
+
naam: string;
|
|
2932
|
+
omschrijving?: string;
|
|
2933
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2934
|
+
page_settings?: Json;
|
|
2935
|
+
papierformaat?: string;
|
|
2936
|
+
thumbnail_url?: string | null;
|
|
2937
|
+
updated_at?: string;
|
|
2938
|
+
};
|
|
2939
|
+
Update: {
|
|
2940
|
+
actief?: boolean;
|
|
2941
|
+
breedte_mm?: number;
|
|
2942
|
+
config?: Json;
|
|
2943
|
+
created_at?: string;
|
|
2944
|
+
created_by?: string | null;
|
|
2945
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2946
|
+
hoogte_mm?: number;
|
|
2947
|
+
huidige_versie?: number;
|
|
2948
|
+
id?: string;
|
|
2949
|
+
is_standaard?: boolean;
|
|
2950
|
+
marge_boven?: number;
|
|
2951
|
+
marge_links?: number;
|
|
2952
|
+
marge_onder?: number;
|
|
2953
|
+
marge_rechts?: number;
|
|
2954
|
+
naam?: string;
|
|
2955
|
+
omschrijving?: string;
|
|
2956
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2957
|
+
page_settings?: Json;
|
|
2958
|
+
papierformaat?: string;
|
|
2959
|
+
thumbnail_url?: string | null;
|
|
2960
|
+
updated_at?: string;
|
|
2961
|
+
};
|
|
2962
|
+
Relationships: [];
|
|
2963
|
+
};
|
|
2500
2964
|
email_auth_connections: {
|
|
2501
2965
|
Row: {
|
|
2502
2966
|
access_token_encrypted: string | null;
|
|
@@ -2536,6 +3000,9 @@ export type Database = {
|
|
|
2536
3000
|
status: string;
|
|
2537
3001
|
token_expires_at: string | null;
|
|
2538
3002
|
updated_at: string;
|
|
3003
|
+
webhook_last_attempt_at: string | null;
|
|
3004
|
+
webhook_last_error: string | null;
|
|
3005
|
+
webhook_status: string;
|
|
2539
3006
|
};
|
|
2540
3007
|
Insert: {
|
|
2541
3008
|
access_token_encrypted?: string | null;
|
|
@@ -2575,6 +3042,9 @@ export type Database = {
|
|
|
2575
3042
|
status?: string;
|
|
2576
3043
|
token_expires_at?: string | null;
|
|
2577
3044
|
updated_at?: string;
|
|
3045
|
+
webhook_last_attempt_at?: string | null;
|
|
3046
|
+
webhook_last_error?: string | null;
|
|
3047
|
+
webhook_status?: string;
|
|
2578
3048
|
};
|
|
2579
3049
|
Update: {
|
|
2580
3050
|
access_token_encrypted?: string | null;
|
|
@@ -2614,6 +3084,9 @@ export type Database = {
|
|
|
2614
3084
|
status?: string;
|
|
2615
3085
|
token_expires_at?: string | null;
|
|
2616
3086
|
updated_at?: string;
|
|
3087
|
+
webhook_last_attempt_at?: string | null;
|
|
3088
|
+
webhook_last_error?: string | null;
|
|
3089
|
+
webhook_status?: string;
|
|
2617
3090
|
};
|
|
2618
3091
|
Relationships: [];
|
|
2619
3092
|
};
|
|
@@ -2818,30 +3291,87 @@ export type Database = {
|
|
|
2818
3291
|
}
|
|
2819
3292
|
];
|
|
2820
3293
|
};
|
|
2821
|
-
|
|
3294
|
+
email_auth_webhook_log: {
|
|
2822
3295
|
Row: {
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
expires_at: string | null;
|
|
3296
|
+
body_sample: string | null;
|
|
3297
|
+
connection_id: string | null;
|
|
3298
|
+
created_at: string;
|
|
3299
|
+
error_message: string | null;
|
|
3300
|
+
headers_sample: Json | null;
|
|
2829
3301
|
id: string;
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
total_revenue: number | null;
|
|
3302
|
+
notification_count: number | null;
|
|
3303
|
+
provider: string | null;
|
|
3304
|
+
source: string | null;
|
|
3305
|
+
status: string;
|
|
3306
|
+
subscription_id: string | null;
|
|
2836
3307
|
};
|
|
2837
3308
|
Insert: {
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
3309
|
+
body_sample?: string | null;
|
|
3310
|
+
connection_id?: string | null;
|
|
3311
|
+
created_at?: string;
|
|
3312
|
+
error_message?: string | null;
|
|
3313
|
+
headers_sample?: Json | null;
|
|
3314
|
+
id?: string;
|
|
3315
|
+
notification_count?: number | null;
|
|
3316
|
+
provider?: string | null;
|
|
3317
|
+
source?: string | null;
|
|
3318
|
+
status: string;
|
|
3319
|
+
subscription_id?: string | null;
|
|
3320
|
+
};
|
|
3321
|
+
Update: {
|
|
3322
|
+
body_sample?: string | null;
|
|
3323
|
+
connection_id?: string | null;
|
|
3324
|
+
created_at?: string;
|
|
3325
|
+
error_message?: string | null;
|
|
3326
|
+
headers_sample?: Json | null;
|
|
3327
|
+
id?: string;
|
|
3328
|
+
notification_count?: number | null;
|
|
3329
|
+
provider?: string | null;
|
|
3330
|
+
source?: string | null;
|
|
3331
|
+
status?: string;
|
|
3332
|
+
subscription_id?: string | null;
|
|
3333
|
+
};
|
|
3334
|
+
Relationships: [
|
|
3335
|
+
{
|
|
3336
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3337
|
+
columns: ["connection_id"];
|
|
3338
|
+
isOneToOne: false;
|
|
3339
|
+
referencedRelation: "email_auth_connections";
|
|
3340
|
+
referencedColumns: ["id"];
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3344
|
+
columns: ["connection_id"];
|
|
3345
|
+
isOneToOne: false;
|
|
3346
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3347
|
+
referencedColumns: ["id"];
|
|
3348
|
+
}
|
|
3349
|
+
];
|
|
3350
|
+
};
|
|
3351
|
+
exact_account_analytics_cache: {
|
|
3352
|
+
Row: {
|
|
3353
|
+
account_id: string;
|
|
3354
|
+
account_name: string | null;
|
|
3355
|
+
avg_payment_days: number | null;
|
|
3356
|
+
computed_at: string;
|
|
3357
|
+
connection_id: string;
|
|
3358
|
+
expires_at: string | null;
|
|
3359
|
+
id: string;
|
|
3360
|
+
invoice_count: number | null;
|
|
3361
|
+
last_invoice_date: string | null;
|
|
3362
|
+
last_payment_date: string | null;
|
|
3363
|
+
open_balance: number | null;
|
|
3364
|
+
overdue_balance: number | null;
|
|
3365
|
+
total_revenue: number | null;
|
|
3366
|
+
};
|
|
3367
|
+
Insert: {
|
|
3368
|
+
account_id: string;
|
|
3369
|
+
account_name?: string | null;
|
|
3370
|
+
avg_payment_days?: number | null;
|
|
3371
|
+
computed_at?: string;
|
|
3372
|
+
connection_id: string;
|
|
3373
|
+
expires_at?: string | null;
|
|
3374
|
+
id?: string;
|
|
2845
3375
|
invoice_count?: number | null;
|
|
2846
3376
|
last_invoice_date?: string | null;
|
|
2847
3377
|
last_payment_date?: string | null;
|
|
@@ -5679,6 +6209,47 @@ export type Database = {
|
|
|
5679
6209
|
}
|
|
5680
6210
|
];
|
|
5681
6211
|
};
|
|
6212
|
+
floriday_trade_settings_customers_cache: {
|
|
6213
|
+
Row: {
|
|
6214
|
+
connection_id: string;
|
|
6215
|
+
data: Json;
|
|
6216
|
+
fetched_at: string;
|
|
6217
|
+
floriday_id: string;
|
|
6218
|
+
id: string;
|
|
6219
|
+
is_deleted: boolean;
|
|
6220
|
+
sequence_number: number;
|
|
6221
|
+
updated_at: string;
|
|
6222
|
+
};
|
|
6223
|
+
Insert: {
|
|
6224
|
+
connection_id: string;
|
|
6225
|
+
data: Json;
|
|
6226
|
+
fetched_at?: string;
|
|
6227
|
+
floriday_id: string;
|
|
6228
|
+
id?: string;
|
|
6229
|
+
is_deleted?: boolean;
|
|
6230
|
+
sequence_number?: number;
|
|
6231
|
+
updated_at?: string;
|
|
6232
|
+
};
|
|
6233
|
+
Update: {
|
|
6234
|
+
connection_id?: string;
|
|
6235
|
+
data?: Json;
|
|
6236
|
+
fetched_at?: string;
|
|
6237
|
+
floriday_id?: string;
|
|
6238
|
+
id?: string;
|
|
6239
|
+
is_deleted?: boolean;
|
|
6240
|
+
sequence_number?: number;
|
|
6241
|
+
updated_at?: string;
|
|
6242
|
+
};
|
|
6243
|
+
Relationships: [
|
|
6244
|
+
{
|
|
6245
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
6246
|
+
columns: ["connection_id"];
|
|
6247
|
+
isOneToOne: false;
|
|
6248
|
+
referencedRelation: "floriday_connections";
|
|
6249
|
+
referencedColumns: ["id"];
|
|
6250
|
+
}
|
|
6251
|
+
];
|
|
6252
|
+
};
|
|
5682
6253
|
floriday_trips_cache: {
|
|
5683
6254
|
Row: {
|
|
5684
6255
|
carrier_organization_id: string | null;
|
|
@@ -6094,6 +6665,36 @@ export type Database = {
|
|
|
6094
6665
|
};
|
|
6095
6666
|
Relationships: [];
|
|
6096
6667
|
};
|
|
6668
|
+
invoice_post_idempotency: {
|
|
6669
|
+
Row: {
|
|
6670
|
+
client_request_id: string;
|
|
6671
|
+
completed_at: string | null;
|
|
6672
|
+
created_at: string;
|
|
6673
|
+
error_message: string | null;
|
|
6674
|
+
invoice_number: string | null;
|
|
6675
|
+
status: string;
|
|
6676
|
+
user_id: string;
|
|
6677
|
+
};
|
|
6678
|
+
Insert: {
|
|
6679
|
+
client_request_id: string;
|
|
6680
|
+
completed_at?: string | null;
|
|
6681
|
+
created_at?: string;
|
|
6682
|
+
error_message?: string | null;
|
|
6683
|
+
invoice_number?: string | null;
|
|
6684
|
+
status?: string;
|
|
6685
|
+
user_id: string;
|
|
6686
|
+
};
|
|
6687
|
+
Update: {
|
|
6688
|
+
client_request_id?: string;
|
|
6689
|
+
completed_at?: string | null;
|
|
6690
|
+
created_at?: string;
|
|
6691
|
+
error_message?: string | null;
|
|
6692
|
+
invoice_number?: string | null;
|
|
6693
|
+
status?: string;
|
|
6694
|
+
user_id?: string;
|
|
6695
|
+
};
|
|
6696
|
+
Relationships: [];
|
|
6697
|
+
};
|
|
6097
6698
|
invoice_push_log: {
|
|
6098
6699
|
Row: {
|
|
6099
6700
|
connection_id: string | null;
|
|
@@ -6497,6 +7098,60 @@ export type Database = {
|
|
|
6497
7098
|
}
|
|
6498
7099
|
];
|
|
6499
7100
|
};
|
|
7101
|
+
layout_logos: {
|
|
7102
|
+
Row: {
|
|
7103
|
+
bestand_url: string;
|
|
7104
|
+
bestandsgrootte: number;
|
|
7105
|
+
bestandspad: string | null;
|
|
7106
|
+
bestandstype: string;
|
|
7107
|
+
breedte: number;
|
|
7108
|
+
categorie: string;
|
|
7109
|
+
created_at: string;
|
|
7110
|
+
hash: string | null;
|
|
7111
|
+
hoogte: number;
|
|
7112
|
+
id: string;
|
|
7113
|
+
is_standaard: boolean;
|
|
7114
|
+
naam: string;
|
|
7115
|
+
omschrijving: string;
|
|
7116
|
+
transparant: boolean;
|
|
7117
|
+
updated_at: string;
|
|
7118
|
+
};
|
|
7119
|
+
Insert: {
|
|
7120
|
+
bestand_url: string;
|
|
7121
|
+
bestandsgrootte?: number;
|
|
7122
|
+
bestandspad?: string | null;
|
|
7123
|
+
bestandstype?: string;
|
|
7124
|
+
breedte?: number;
|
|
7125
|
+
categorie?: string;
|
|
7126
|
+
created_at?: string;
|
|
7127
|
+
hash?: string | null;
|
|
7128
|
+
hoogte?: number;
|
|
7129
|
+
id?: string;
|
|
7130
|
+
is_standaard?: boolean;
|
|
7131
|
+
naam: string;
|
|
7132
|
+
omschrijving?: string;
|
|
7133
|
+
transparant?: boolean;
|
|
7134
|
+
updated_at?: string;
|
|
7135
|
+
};
|
|
7136
|
+
Update: {
|
|
7137
|
+
bestand_url?: string;
|
|
7138
|
+
bestandsgrootte?: number;
|
|
7139
|
+
bestandspad?: string | null;
|
|
7140
|
+
bestandstype?: string;
|
|
7141
|
+
breedte?: number;
|
|
7142
|
+
categorie?: string;
|
|
7143
|
+
created_at?: string;
|
|
7144
|
+
hash?: string | null;
|
|
7145
|
+
hoogte?: number;
|
|
7146
|
+
id?: string;
|
|
7147
|
+
is_standaard?: boolean;
|
|
7148
|
+
naam?: string;
|
|
7149
|
+
omschrijving?: string;
|
|
7150
|
+
transparant?: boolean;
|
|
7151
|
+
updated_at?: string;
|
|
7152
|
+
};
|
|
7153
|
+
Relationships: [];
|
|
7154
|
+
};
|
|
6500
7155
|
leave_requests: {
|
|
6501
7156
|
Row: {
|
|
6502
7157
|
created_at: string;
|
|
@@ -7060,6 +7715,99 @@ export type Database = {
|
|
|
7060
7715
|
};
|
|
7061
7716
|
Relationships: [];
|
|
7062
7717
|
};
|
|
7718
|
+
mailbox_ai_goal_prompts: {
|
|
7719
|
+
Row: {
|
|
7720
|
+
created_at: string;
|
|
7721
|
+
goal_key: string;
|
|
7722
|
+
id: string;
|
|
7723
|
+
system_prompt: string;
|
|
7724
|
+
updated_at: string;
|
|
7725
|
+
};
|
|
7726
|
+
Insert: {
|
|
7727
|
+
created_at?: string;
|
|
7728
|
+
goal_key: string;
|
|
7729
|
+
id?: string;
|
|
7730
|
+
system_prompt?: string;
|
|
7731
|
+
updated_at?: string;
|
|
7732
|
+
};
|
|
7733
|
+
Update: {
|
|
7734
|
+
created_at?: string;
|
|
7735
|
+
goal_key?: string;
|
|
7736
|
+
id?: string;
|
|
7737
|
+
system_prompt?: string;
|
|
7738
|
+
updated_at?: string;
|
|
7739
|
+
};
|
|
7740
|
+
Relationships: [];
|
|
7741
|
+
};
|
|
7742
|
+
mailbox_ai_settings: {
|
|
7743
|
+
Row: {
|
|
7744
|
+
active_goal_key: string | null;
|
|
7745
|
+
created_at: string;
|
|
7746
|
+
enabled: boolean;
|
|
7747
|
+
id: string;
|
|
7748
|
+
required_fields: string[];
|
|
7749
|
+
singleton: boolean;
|
|
7750
|
+
system_prompt: string | null;
|
|
7751
|
+
updated_at: string;
|
|
7752
|
+
};
|
|
7753
|
+
Insert: {
|
|
7754
|
+
active_goal_key?: string | null;
|
|
7755
|
+
created_at?: string;
|
|
7756
|
+
enabled?: boolean;
|
|
7757
|
+
id?: string;
|
|
7758
|
+
required_fields?: string[];
|
|
7759
|
+
singleton?: boolean;
|
|
7760
|
+
system_prompt?: string | null;
|
|
7761
|
+
updated_at?: string;
|
|
7762
|
+
};
|
|
7763
|
+
Update: {
|
|
7764
|
+
active_goal_key?: string | null;
|
|
7765
|
+
created_at?: string;
|
|
7766
|
+
enabled?: boolean;
|
|
7767
|
+
id?: string;
|
|
7768
|
+
required_fields?: string[];
|
|
7769
|
+
singleton?: boolean;
|
|
7770
|
+
system_prompt?: string | null;
|
|
7771
|
+
updated_at?: string;
|
|
7772
|
+
};
|
|
7773
|
+
Relationships: [];
|
|
7774
|
+
};
|
|
7775
|
+
mailbox_ingest_runs: {
|
|
7776
|
+
Row: {
|
|
7777
|
+
connection_id: string | null;
|
|
7778
|
+
error_sample: string | null;
|
|
7779
|
+
errors: number;
|
|
7780
|
+
finished_at: string | null;
|
|
7781
|
+
id: string;
|
|
7782
|
+
inserted: number;
|
|
7783
|
+
processed: number;
|
|
7784
|
+
started_at: string;
|
|
7785
|
+
trigger: string;
|
|
7786
|
+
};
|
|
7787
|
+
Insert: {
|
|
7788
|
+
connection_id?: string | null;
|
|
7789
|
+
error_sample?: string | null;
|
|
7790
|
+
errors?: number;
|
|
7791
|
+
finished_at?: string | null;
|
|
7792
|
+
id?: string;
|
|
7793
|
+
inserted?: number;
|
|
7794
|
+
processed?: number;
|
|
7795
|
+
started_at?: string;
|
|
7796
|
+
trigger: string;
|
|
7797
|
+
};
|
|
7798
|
+
Update: {
|
|
7799
|
+
connection_id?: string | null;
|
|
7800
|
+
error_sample?: string | null;
|
|
7801
|
+
errors?: number;
|
|
7802
|
+
finished_at?: string | null;
|
|
7803
|
+
id?: string;
|
|
7804
|
+
inserted?: number;
|
|
7805
|
+
processed?: number;
|
|
7806
|
+
started_at?: string;
|
|
7807
|
+
trigger?: string;
|
|
7808
|
+
};
|
|
7809
|
+
Relationships: [];
|
|
7810
|
+
};
|
|
7063
7811
|
mailbox_messages: {
|
|
7064
7812
|
Row: {
|
|
7065
7813
|
body_html: string | null;
|
|
@@ -7144,6 +7892,7 @@ export type Database = {
|
|
|
7144
7892
|
};
|
|
7145
7893
|
mailbox_order_proposals: {
|
|
7146
7894
|
Row: {
|
|
7895
|
+
ai_validation: Json | null;
|
|
7147
7896
|
confidence: number | null;
|
|
7148
7897
|
created_at: string;
|
|
7149
7898
|
created_order_id: string | null;
|
|
@@ -7160,6 +7909,7 @@ export type Database = {
|
|
|
7160
7909
|
updated_at: string;
|
|
7161
7910
|
};
|
|
7162
7911
|
Insert: {
|
|
7912
|
+
ai_validation?: Json | null;
|
|
7163
7913
|
confidence?: number | null;
|
|
7164
7914
|
created_at?: string;
|
|
7165
7915
|
created_order_id?: string | null;
|
|
@@ -7176,6 +7926,7 @@ export type Database = {
|
|
|
7176
7926
|
updated_at?: string;
|
|
7177
7927
|
};
|
|
7178
7928
|
Update: {
|
|
7929
|
+
ai_validation?: Json | null;
|
|
7179
7930
|
confidence?: number | null;
|
|
7180
7931
|
created_at?: string;
|
|
7181
7932
|
created_order_id?: string | null;
|
|
@@ -7318,6 +8069,7 @@ export type Database = {
|
|
|
7318
8069
|
created_at: string;
|
|
7319
8070
|
id: string;
|
|
7320
8071
|
match_confidence: number | null;
|
|
8072
|
+
plant_type: string | null;
|
|
7321
8073
|
product_id: string | null;
|
|
7322
8074
|
proposal_id: string;
|
|
7323
8075
|
quantity: number | null;
|
|
@@ -7330,6 +8082,7 @@ export type Database = {
|
|
|
7330
8082
|
created_at?: string;
|
|
7331
8083
|
id?: string;
|
|
7332
8084
|
match_confidence?: number | null;
|
|
8085
|
+
plant_type?: string | null;
|
|
7333
8086
|
product_id?: string | null;
|
|
7334
8087
|
proposal_id: string;
|
|
7335
8088
|
quantity?: number | null;
|
|
@@ -7342,6 +8095,7 @@ export type Database = {
|
|
|
7342
8095
|
created_at?: string;
|
|
7343
8096
|
id?: string;
|
|
7344
8097
|
match_confidence?: number | null;
|
|
8098
|
+
plant_type?: string | null;
|
|
7345
8099
|
product_id?: string | null;
|
|
7346
8100
|
proposal_id?: string;
|
|
7347
8101
|
quantity?: number | null;
|
|
@@ -7533,6 +8287,39 @@ export type Database = {
|
|
|
7533
8287
|
};
|
|
7534
8288
|
Relationships: [];
|
|
7535
8289
|
};
|
|
8290
|
+
modules: {
|
|
8291
|
+
Row: {
|
|
8292
|
+
created_at: string;
|
|
8293
|
+
description: string | null;
|
|
8294
|
+
id: string;
|
|
8295
|
+
is_active: boolean;
|
|
8296
|
+
last_seen_at: string | null;
|
|
8297
|
+
module_key: string;
|
|
8298
|
+
module_name: string;
|
|
8299
|
+
updated_at: string;
|
|
8300
|
+
};
|
|
8301
|
+
Insert: {
|
|
8302
|
+
created_at?: string;
|
|
8303
|
+
description?: string | null;
|
|
8304
|
+
id?: string;
|
|
8305
|
+
is_active?: boolean;
|
|
8306
|
+
last_seen_at?: string | null;
|
|
8307
|
+
module_key: string;
|
|
8308
|
+
module_name: string;
|
|
8309
|
+
updated_at?: string;
|
|
8310
|
+
};
|
|
8311
|
+
Update: {
|
|
8312
|
+
created_at?: string;
|
|
8313
|
+
description?: string | null;
|
|
8314
|
+
id?: string;
|
|
8315
|
+
is_active?: boolean;
|
|
8316
|
+
last_seen_at?: string | null;
|
|
8317
|
+
module_key?: string;
|
|
8318
|
+
module_name?: string;
|
|
8319
|
+
updated_at?: string;
|
|
8320
|
+
};
|
|
8321
|
+
Relationships: [];
|
|
8322
|
+
};
|
|
7536
8323
|
monteurs: {
|
|
7537
8324
|
Row: {
|
|
7538
8325
|
avatar_url: string | null;
|
|
@@ -8523,9 +9310,12 @@ export type Database = {
|
|
|
8523
9310
|
};
|
|
8524
9311
|
order_items: {
|
|
8525
9312
|
Row: {
|
|
9313
|
+
crates_per_layer: number | null;
|
|
8526
9314
|
created_at: string;
|
|
8527
9315
|
id: string;
|
|
9316
|
+
layers_per_cart: number | null;
|
|
8528
9317
|
order_id: string;
|
|
9318
|
+
plants_per_crate: number | null;
|
|
8529
9319
|
product_id: string | null;
|
|
8530
9320
|
product_name: string;
|
|
8531
9321
|
quantity: number;
|
|
@@ -8533,9 +9323,12 @@ export type Database = {
|
|
|
8533
9323
|
unit_price: number | null;
|
|
8534
9324
|
};
|
|
8535
9325
|
Insert: {
|
|
9326
|
+
crates_per_layer?: number | null;
|
|
8536
9327
|
created_at?: string;
|
|
8537
9328
|
id?: string;
|
|
9329
|
+
layers_per_cart?: number | null;
|
|
8538
9330
|
order_id: string;
|
|
9331
|
+
plants_per_crate?: number | null;
|
|
8539
9332
|
product_id?: string | null;
|
|
8540
9333
|
product_name: string;
|
|
8541
9334
|
quantity?: number;
|
|
@@ -8543,9 +9336,12 @@ export type Database = {
|
|
|
8543
9336
|
unit_price?: number | null;
|
|
8544
9337
|
};
|
|
8545
9338
|
Update: {
|
|
9339
|
+
crates_per_layer?: number | null;
|
|
8546
9340
|
created_at?: string;
|
|
8547
9341
|
id?: string;
|
|
9342
|
+
layers_per_cart?: number | null;
|
|
8548
9343
|
order_id?: string;
|
|
9344
|
+
plants_per_crate?: number | null;
|
|
8549
9345
|
product_id?: string | null;
|
|
8550
9346
|
product_name?: string;
|
|
8551
9347
|
quantity?: number;
|
|
@@ -8809,29 +9605,942 @@ export type Database = {
|
|
|
8809
9605
|
};
|
|
8810
9606
|
Relationships: [];
|
|
8811
9607
|
};
|
|
8812
|
-
|
|
9608
|
+
pick_countries: {
|
|
8813
9609
|
Row: {
|
|
8814
|
-
|
|
8815
|
-
|
|
9610
|
+
active: boolean;
|
|
9611
|
+
code: string;
|
|
9612
|
+
created_at: string;
|
|
9613
|
+
flag: string | null;
|
|
8816
9614
|
id: string;
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
printed_at: string;
|
|
9615
|
+
name: string;
|
|
9616
|
+
sort_order: number;
|
|
9617
|
+
updated_at: string;
|
|
8821
9618
|
};
|
|
8822
9619
|
Insert: {
|
|
8823
|
-
|
|
8824
|
-
|
|
9620
|
+
active?: boolean;
|
|
9621
|
+
code: string;
|
|
9622
|
+
created_at?: string;
|
|
9623
|
+
flag?: string | null;
|
|
8825
9624
|
id?: string;
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
printed_at?: string;
|
|
9625
|
+
name: string;
|
|
9626
|
+
sort_order?: number;
|
|
9627
|
+
updated_at?: string;
|
|
8830
9628
|
};
|
|
8831
9629
|
Update: {
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
9630
|
+
active?: boolean;
|
|
9631
|
+
code?: string;
|
|
9632
|
+
created_at?: string;
|
|
9633
|
+
flag?: string | null;
|
|
9634
|
+
id?: string;
|
|
9635
|
+
name?: string;
|
|
9636
|
+
sort_order?: number;
|
|
9637
|
+
updated_at?: string;
|
|
9638
|
+
};
|
|
9639
|
+
Relationships: [];
|
|
9640
|
+
};
|
|
9641
|
+
pick_document_statuses: {
|
|
9642
|
+
Row: {
|
|
9643
|
+
active: boolean;
|
|
9644
|
+
code: string;
|
|
9645
|
+
color: string | null;
|
|
9646
|
+
created_at: string;
|
|
9647
|
+
id: string;
|
|
9648
|
+
is_open: boolean;
|
|
9649
|
+
is_terminal: boolean;
|
|
9650
|
+
name: string;
|
|
9651
|
+
sort_order: number;
|
|
9652
|
+
updated_at: string;
|
|
9653
|
+
};
|
|
9654
|
+
Insert: {
|
|
9655
|
+
active?: boolean;
|
|
9656
|
+
code: string;
|
|
9657
|
+
color?: string | null;
|
|
9658
|
+
created_at?: string;
|
|
9659
|
+
id?: string;
|
|
9660
|
+
is_open?: boolean;
|
|
9661
|
+
is_terminal?: boolean;
|
|
9662
|
+
name: string;
|
|
9663
|
+
sort_order?: number;
|
|
9664
|
+
updated_at?: string;
|
|
9665
|
+
};
|
|
9666
|
+
Update: {
|
|
9667
|
+
active?: boolean;
|
|
9668
|
+
code?: string;
|
|
9669
|
+
color?: string | null;
|
|
9670
|
+
created_at?: string;
|
|
9671
|
+
id?: string;
|
|
9672
|
+
is_open?: boolean;
|
|
9673
|
+
is_terminal?: boolean;
|
|
9674
|
+
name?: string;
|
|
9675
|
+
sort_order?: number;
|
|
9676
|
+
updated_at?: string;
|
|
9677
|
+
};
|
|
9678
|
+
Relationships: [];
|
|
9679
|
+
};
|
|
9680
|
+
pick_document_types: {
|
|
9681
|
+
Row: {
|
|
9682
|
+
active: boolean;
|
|
9683
|
+
code: string;
|
|
9684
|
+
color: string | null;
|
|
9685
|
+
created_at: string;
|
|
9686
|
+
description: string | null;
|
|
9687
|
+
icon: string | null;
|
|
9688
|
+
id: string;
|
|
9689
|
+
name: string;
|
|
9690
|
+
print_template: string | null;
|
|
9691
|
+
printer_id: string | null;
|
|
9692
|
+
priority: number;
|
|
9693
|
+
report_key: string | null;
|
|
9694
|
+
sort_order: number;
|
|
9695
|
+
updated_at: string;
|
|
9696
|
+
workflow: Json;
|
|
9697
|
+
};
|
|
9698
|
+
Insert: {
|
|
9699
|
+
active?: boolean;
|
|
9700
|
+
code: string;
|
|
9701
|
+
color?: string | null;
|
|
9702
|
+
created_at?: string;
|
|
9703
|
+
description?: string | null;
|
|
9704
|
+
icon?: string | null;
|
|
9705
|
+
id?: string;
|
|
9706
|
+
name: string;
|
|
9707
|
+
print_template?: string | null;
|
|
9708
|
+
printer_id?: string | null;
|
|
9709
|
+
priority?: number;
|
|
9710
|
+
report_key?: string | null;
|
|
9711
|
+
sort_order?: number;
|
|
9712
|
+
updated_at?: string;
|
|
9713
|
+
workflow?: Json;
|
|
9714
|
+
};
|
|
9715
|
+
Update: {
|
|
9716
|
+
active?: boolean;
|
|
9717
|
+
code?: string;
|
|
9718
|
+
color?: string | null;
|
|
9719
|
+
created_at?: string;
|
|
9720
|
+
description?: string | null;
|
|
9721
|
+
icon?: string | null;
|
|
9722
|
+
id?: string;
|
|
9723
|
+
name?: string;
|
|
9724
|
+
print_template?: string | null;
|
|
9725
|
+
printer_id?: string | null;
|
|
9726
|
+
priority?: number;
|
|
9727
|
+
report_key?: string | null;
|
|
9728
|
+
sort_order?: number;
|
|
9729
|
+
updated_at?: string;
|
|
9730
|
+
workflow?: Json;
|
|
9731
|
+
};
|
|
9732
|
+
Relationships: [
|
|
9733
|
+
{
|
|
9734
|
+
foreignKeyName: "pick_document_types_printer_id_fkey";
|
|
9735
|
+
columns: ["printer_id"];
|
|
9736
|
+
isOneToOne: false;
|
|
9737
|
+
referencedRelation: "pick_station_printers";
|
|
9738
|
+
referencedColumns: ["id"];
|
|
9739
|
+
}
|
|
9740
|
+
];
|
|
9741
|
+
};
|
|
9742
|
+
pick_queue: {
|
|
9743
|
+
Row: {
|
|
9744
|
+
announced_at: string;
|
|
9745
|
+
assigned_user_id: string | null;
|
|
9746
|
+
barcode: string | null;
|
|
9747
|
+
cancelled_at: string | null;
|
|
9748
|
+
cart_count: number;
|
|
9749
|
+
completed_at: string | null;
|
|
9750
|
+
country_code: string | null;
|
|
9751
|
+
created_at: string;
|
|
9752
|
+
customer_name: string | null;
|
|
9753
|
+
delivery_address: string | null;
|
|
9754
|
+
document_number: string | null;
|
|
9755
|
+
document_type_id: string | null;
|
|
9756
|
+
due_at: string | null;
|
|
9757
|
+
id: string;
|
|
9758
|
+
is_urgent: boolean;
|
|
9759
|
+
line_count: number;
|
|
9760
|
+
order_number: string | null;
|
|
9761
|
+
order_type: string | null;
|
|
9762
|
+
payload: Json;
|
|
9763
|
+
print_count: number;
|
|
9764
|
+
printed_at: string | null;
|
|
9765
|
+
printed_by: string | null;
|
|
9766
|
+
printer_id: string | null;
|
|
9767
|
+
priority: number;
|
|
9768
|
+
reference: string | null;
|
|
9769
|
+
route: string | null;
|
|
9770
|
+
screen_id: string | null;
|
|
9771
|
+
station_id: string | null;
|
|
9772
|
+
status_id: string | null;
|
|
9773
|
+
updated_at: string;
|
|
9774
|
+
warnings: Json;
|
|
9775
|
+
};
|
|
9776
|
+
Insert: {
|
|
9777
|
+
announced_at?: string;
|
|
9778
|
+
assigned_user_id?: string | null;
|
|
9779
|
+
barcode?: string | null;
|
|
9780
|
+
cancelled_at?: string | null;
|
|
9781
|
+
cart_count?: number;
|
|
9782
|
+
completed_at?: string | null;
|
|
9783
|
+
country_code?: string | null;
|
|
9784
|
+
created_at?: string;
|
|
9785
|
+
customer_name?: string | null;
|
|
9786
|
+
delivery_address?: string | null;
|
|
9787
|
+
document_number?: string | null;
|
|
9788
|
+
document_type_id?: string | null;
|
|
9789
|
+
due_at?: string | null;
|
|
9790
|
+
id?: string;
|
|
9791
|
+
is_urgent?: boolean;
|
|
9792
|
+
line_count?: number;
|
|
9793
|
+
order_number?: string | null;
|
|
9794
|
+
order_type?: string | null;
|
|
9795
|
+
payload?: Json;
|
|
9796
|
+
print_count?: number;
|
|
9797
|
+
printed_at?: string | null;
|
|
9798
|
+
printed_by?: string | null;
|
|
9799
|
+
printer_id?: string | null;
|
|
9800
|
+
priority?: number;
|
|
9801
|
+
reference?: string | null;
|
|
9802
|
+
route?: string | null;
|
|
9803
|
+
screen_id?: string | null;
|
|
9804
|
+
station_id?: string | null;
|
|
9805
|
+
status_id?: string | null;
|
|
9806
|
+
updated_at?: string;
|
|
9807
|
+
warnings?: Json;
|
|
9808
|
+
};
|
|
9809
|
+
Update: {
|
|
9810
|
+
announced_at?: string;
|
|
9811
|
+
assigned_user_id?: string | null;
|
|
9812
|
+
barcode?: string | null;
|
|
9813
|
+
cancelled_at?: string | null;
|
|
9814
|
+
cart_count?: number;
|
|
9815
|
+
completed_at?: string | null;
|
|
9816
|
+
country_code?: string | null;
|
|
9817
|
+
created_at?: string;
|
|
9818
|
+
customer_name?: string | null;
|
|
9819
|
+
delivery_address?: string | null;
|
|
9820
|
+
document_number?: string | null;
|
|
9821
|
+
document_type_id?: string | null;
|
|
9822
|
+
due_at?: string | null;
|
|
9823
|
+
id?: string;
|
|
9824
|
+
is_urgent?: boolean;
|
|
9825
|
+
line_count?: number;
|
|
9826
|
+
order_number?: string | null;
|
|
9827
|
+
order_type?: string | null;
|
|
9828
|
+
payload?: Json;
|
|
9829
|
+
print_count?: number;
|
|
9830
|
+
printed_at?: string | null;
|
|
9831
|
+
printed_by?: string | null;
|
|
9832
|
+
printer_id?: string | null;
|
|
9833
|
+
priority?: number;
|
|
9834
|
+
reference?: string | null;
|
|
9835
|
+
route?: string | null;
|
|
9836
|
+
screen_id?: string | null;
|
|
9837
|
+
station_id?: string | null;
|
|
9838
|
+
status_id?: string | null;
|
|
9839
|
+
updated_at?: string;
|
|
9840
|
+
warnings?: Json;
|
|
9841
|
+
};
|
|
9842
|
+
Relationships: [
|
|
9843
|
+
{
|
|
9844
|
+
foreignKeyName: "pick_queue_document_type_id_fkey";
|
|
9845
|
+
columns: ["document_type_id"];
|
|
9846
|
+
isOneToOne: false;
|
|
9847
|
+
referencedRelation: "pick_document_types";
|
|
9848
|
+
referencedColumns: ["id"];
|
|
9849
|
+
},
|
|
9850
|
+
{
|
|
9851
|
+
foreignKeyName: "pick_queue_printer_id_fkey";
|
|
9852
|
+
columns: ["printer_id"];
|
|
9853
|
+
isOneToOne: false;
|
|
9854
|
+
referencedRelation: "pick_station_printers";
|
|
9855
|
+
referencedColumns: ["id"];
|
|
9856
|
+
},
|
|
9857
|
+
{
|
|
9858
|
+
foreignKeyName: "pick_queue_screen_id_fkey";
|
|
9859
|
+
columns: ["screen_id"];
|
|
9860
|
+
isOneToOne: false;
|
|
9861
|
+
referencedRelation: "pick_station_screens";
|
|
9862
|
+
referencedColumns: ["id"];
|
|
9863
|
+
},
|
|
9864
|
+
{
|
|
9865
|
+
foreignKeyName: "pick_queue_station_id_fkey";
|
|
9866
|
+
columns: ["station_id"];
|
|
9867
|
+
isOneToOne: false;
|
|
9868
|
+
referencedRelation: "pick_stations";
|
|
9869
|
+
referencedColumns: ["id"];
|
|
9870
|
+
},
|
|
9871
|
+
{
|
|
9872
|
+
foreignKeyName: "pick_queue_status_id_fkey";
|
|
9873
|
+
columns: ["status_id"];
|
|
9874
|
+
isOneToOne: false;
|
|
9875
|
+
referencedRelation: "pick_document_statuses";
|
|
9876
|
+
referencedColumns: ["id"];
|
|
9877
|
+
}
|
|
9878
|
+
];
|
|
9879
|
+
};
|
|
9880
|
+
pick_queue_locks: {
|
|
9881
|
+
Row: {
|
|
9882
|
+
expires_at: string;
|
|
9883
|
+
id: string;
|
|
9884
|
+
locked_at: string;
|
|
9885
|
+
locked_by: string | null;
|
|
9886
|
+
queue_item_id: string;
|
|
9887
|
+
screen_id: string | null;
|
|
9888
|
+
session_id: string | null;
|
|
9889
|
+
station_id: string | null;
|
|
9890
|
+
};
|
|
9891
|
+
Insert: {
|
|
9892
|
+
expires_at?: string;
|
|
9893
|
+
id?: string;
|
|
9894
|
+
locked_at?: string;
|
|
9895
|
+
locked_by?: string | null;
|
|
9896
|
+
queue_item_id: string;
|
|
9897
|
+
screen_id?: string | null;
|
|
9898
|
+
session_id?: string | null;
|
|
9899
|
+
station_id?: string | null;
|
|
9900
|
+
};
|
|
9901
|
+
Update: {
|
|
9902
|
+
expires_at?: string;
|
|
9903
|
+
id?: string;
|
|
9904
|
+
locked_at?: string;
|
|
9905
|
+
locked_by?: string | null;
|
|
9906
|
+
queue_item_id?: string;
|
|
9907
|
+
screen_id?: string | null;
|
|
9908
|
+
session_id?: string | null;
|
|
9909
|
+
station_id?: string | null;
|
|
9910
|
+
};
|
|
9911
|
+
Relationships: [
|
|
9912
|
+
{
|
|
9913
|
+
foreignKeyName: "pick_queue_locks_queue_item_id_fkey";
|
|
9914
|
+
columns: ["queue_item_id"];
|
|
9915
|
+
isOneToOne: true;
|
|
9916
|
+
referencedRelation: "pick_queue";
|
|
9917
|
+
referencedColumns: ["id"];
|
|
9918
|
+
},
|
|
9919
|
+
{
|
|
9920
|
+
foreignKeyName: "pick_queue_locks_screen_id_fkey";
|
|
9921
|
+
columns: ["screen_id"];
|
|
9922
|
+
isOneToOne: false;
|
|
9923
|
+
referencedRelation: "pick_station_screens";
|
|
9924
|
+
referencedColumns: ["id"];
|
|
9925
|
+
},
|
|
9926
|
+
{
|
|
9927
|
+
foreignKeyName: "pick_queue_locks_station_id_fkey";
|
|
9928
|
+
columns: ["station_id"];
|
|
9929
|
+
isOneToOne: false;
|
|
9930
|
+
referencedRelation: "pick_stations";
|
|
9931
|
+
referencedColumns: ["id"];
|
|
9932
|
+
}
|
|
9933
|
+
];
|
|
9934
|
+
};
|
|
9935
|
+
pick_screen_document_types: {
|
|
9936
|
+
Row: {
|
|
9937
|
+
created_at: string;
|
|
9938
|
+
document_type_id: string;
|
|
9939
|
+
id: string;
|
|
9940
|
+
print_order: number;
|
|
9941
|
+
printer_id: string | null;
|
|
9942
|
+
screen_id: string;
|
|
9943
|
+
};
|
|
9944
|
+
Insert: {
|
|
9945
|
+
created_at?: string;
|
|
9946
|
+
document_type_id: string;
|
|
9947
|
+
id?: string;
|
|
9948
|
+
print_order?: number;
|
|
9949
|
+
printer_id?: string | null;
|
|
9950
|
+
screen_id: string;
|
|
9951
|
+
};
|
|
9952
|
+
Update: {
|
|
9953
|
+
created_at?: string;
|
|
9954
|
+
document_type_id?: string;
|
|
9955
|
+
id?: string;
|
|
9956
|
+
print_order?: number;
|
|
9957
|
+
printer_id?: string | null;
|
|
9958
|
+
screen_id?: string;
|
|
9959
|
+
};
|
|
9960
|
+
Relationships: [
|
|
9961
|
+
{
|
|
9962
|
+
foreignKeyName: "pick_screen_document_types_document_type_id_fkey";
|
|
9963
|
+
columns: ["document_type_id"];
|
|
9964
|
+
isOneToOne: false;
|
|
9965
|
+
referencedRelation: "pick_document_types";
|
|
9966
|
+
referencedColumns: ["id"];
|
|
9967
|
+
},
|
|
9968
|
+
{
|
|
9969
|
+
foreignKeyName: "pick_screen_document_types_printer_id_fkey";
|
|
9970
|
+
columns: ["printer_id"];
|
|
9971
|
+
isOneToOne: false;
|
|
9972
|
+
referencedRelation: "pick_station_printers";
|
|
9973
|
+
referencedColumns: ["id"];
|
|
9974
|
+
},
|
|
9975
|
+
{
|
|
9976
|
+
foreignKeyName: "pick_screen_document_types_screen_id_fkey";
|
|
9977
|
+
columns: ["screen_id"];
|
|
9978
|
+
isOneToOne: false;
|
|
9979
|
+
referencedRelation: "pick_station_screens";
|
|
9980
|
+
referencedColumns: ["id"];
|
|
9981
|
+
}
|
|
9982
|
+
];
|
|
9983
|
+
};
|
|
9984
|
+
pick_station_heartbeats: {
|
|
9985
|
+
Row: {
|
|
9986
|
+
browser: string | null;
|
|
9987
|
+
created_at: string;
|
|
9988
|
+
id: string;
|
|
9989
|
+
ip_address: string | null;
|
|
9990
|
+
last_seen_at: string;
|
|
9991
|
+
screen_id: string | null;
|
|
9992
|
+
session_id: string;
|
|
9993
|
+
station_id: string;
|
|
9994
|
+
user_id: string | null;
|
|
9995
|
+
};
|
|
9996
|
+
Insert: {
|
|
9997
|
+
browser?: string | null;
|
|
9998
|
+
created_at?: string;
|
|
9999
|
+
id?: string;
|
|
10000
|
+
ip_address?: string | null;
|
|
10001
|
+
last_seen_at?: string;
|
|
10002
|
+
screen_id?: string | null;
|
|
10003
|
+
session_id: string;
|
|
10004
|
+
station_id: string;
|
|
10005
|
+
user_id?: string | null;
|
|
10006
|
+
};
|
|
10007
|
+
Update: {
|
|
10008
|
+
browser?: string | null;
|
|
10009
|
+
created_at?: string;
|
|
10010
|
+
id?: string;
|
|
10011
|
+
ip_address?: string | null;
|
|
10012
|
+
last_seen_at?: string;
|
|
10013
|
+
screen_id?: string | null;
|
|
10014
|
+
session_id?: string;
|
|
10015
|
+
station_id?: string;
|
|
10016
|
+
user_id?: string | null;
|
|
10017
|
+
};
|
|
10018
|
+
Relationships: [
|
|
10019
|
+
{
|
|
10020
|
+
foreignKeyName: "pick_station_heartbeats_screen_id_fkey";
|
|
10021
|
+
columns: ["screen_id"];
|
|
10022
|
+
isOneToOne: false;
|
|
10023
|
+
referencedRelation: "pick_station_screens";
|
|
10024
|
+
referencedColumns: ["id"];
|
|
10025
|
+
},
|
|
10026
|
+
{
|
|
10027
|
+
foreignKeyName: "pick_station_heartbeats_station_id_fkey";
|
|
10028
|
+
columns: ["station_id"];
|
|
10029
|
+
isOneToOne: false;
|
|
10030
|
+
referencedRelation: "pick_stations";
|
|
10031
|
+
referencedColumns: ["id"];
|
|
10032
|
+
}
|
|
10033
|
+
];
|
|
10034
|
+
};
|
|
10035
|
+
pick_station_history: {
|
|
10036
|
+
Row: {
|
|
10037
|
+
action: string;
|
|
10038
|
+
changed_by: string | null;
|
|
10039
|
+
created_at: string;
|
|
10040
|
+
entity_id: string;
|
|
10041
|
+
entity_table: string;
|
|
10042
|
+
id: string;
|
|
10043
|
+
new_data: Json | null;
|
|
10044
|
+
old_data: Json | null;
|
|
10045
|
+
};
|
|
10046
|
+
Insert: {
|
|
10047
|
+
action: string;
|
|
10048
|
+
changed_by?: string | null;
|
|
10049
|
+
created_at?: string;
|
|
10050
|
+
entity_id: string;
|
|
10051
|
+
entity_table: string;
|
|
10052
|
+
id?: string;
|
|
10053
|
+
new_data?: Json | null;
|
|
10054
|
+
old_data?: Json | null;
|
|
10055
|
+
};
|
|
10056
|
+
Update: {
|
|
10057
|
+
action?: string;
|
|
10058
|
+
changed_by?: string | null;
|
|
10059
|
+
created_at?: string;
|
|
10060
|
+
entity_id?: string;
|
|
10061
|
+
entity_table?: string;
|
|
10062
|
+
id?: string;
|
|
10063
|
+
new_data?: Json | null;
|
|
10064
|
+
old_data?: Json | null;
|
|
10065
|
+
};
|
|
10066
|
+
Relationships: [];
|
|
10067
|
+
};
|
|
10068
|
+
pick_station_logs: {
|
|
10069
|
+
Row: {
|
|
10070
|
+
action: string;
|
|
10071
|
+
browser: string | null;
|
|
10072
|
+
created_at: string;
|
|
10073
|
+
detail: Json;
|
|
10074
|
+
duration_ms: number | null;
|
|
10075
|
+
id: string;
|
|
10076
|
+
ip_address: string | null;
|
|
10077
|
+
printer_id: string | null;
|
|
10078
|
+
queue_item_id: string | null;
|
|
10079
|
+
screen_id: string | null;
|
|
10080
|
+
session_id: string | null;
|
|
10081
|
+
station_id: string | null;
|
|
10082
|
+
user_id: string | null;
|
|
10083
|
+
};
|
|
10084
|
+
Insert: {
|
|
10085
|
+
action: string;
|
|
10086
|
+
browser?: string | null;
|
|
10087
|
+
created_at?: string;
|
|
10088
|
+
detail?: Json;
|
|
10089
|
+
duration_ms?: number | null;
|
|
10090
|
+
id?: string;
|
|
10091
|
+
ip_address?: string | null;
|
|
10092
|
+
printer_id?: string | null;
|
|
10093
|
+
queue_item_id?: string | null;
|
|
10094
|
+
screen_id?: string | null;
|
|
10095
|
+
session_id?: string | null;
|
|
10096
|
+
station_id?: string | null;
|
|
10097
|
+
user_id?: string | null;
|
|
10098
|
+
};
|
|
10099
|
+
Update: {
|
|
10100
|
+
action?: string;
|
|
10101
|
+
browser?: string | null;
|
|
10102
|
+
created_at?: string;
|
|
10103
|
+
detail?: Json;
|
|
10104
|
+
duration_ms?: number | null;
|
|
10105
|
+
id?: string;
|
|
10106
|
+
ip_address?: string | null;
|
|
10107
|
+
printer_id?: string | null;
|
|
10108
|
+
queue_item_id?: string | null;
|
|
10109
|
+
screen_id?: string | null;
|
|
10110
|
+
session_id?: string | null;
|
|
10111
|
+
station_id?: string | null;
|
|
10112
|
+
user_id?: string | null;
|
|
10113
|
+
};
|
|
10114
|
+
Relationships: [];
|
|
10115
|
+
};
|
|
10116
|
+
pick_station_permissions: {
|
|
10117
|
+
Row: {
|
|
10118
|
+
can_break_lock: boolean;
|
|
10119
|
+
can_cancel: boolean;
|
|
10120
|
+
can_print: boolean;
|
|
10121
|
+
can_reprint: boolean;
|
|
10122
|
+
country_code: string | null;
|
|
10123
|
+
created_at: string;
|
|
10124
|
+
id: string;
|
|
10125
|
+
station_id: string | null;
|
|
10126
|
+
task_id: string | null;
|
|
10127
|
+
updated_at: string;
|
|
10128
|
+
urgent_only: boolean;
|
|
10129
|
+
user_id: string;
|
|
10130
|
+
};
|
|
10131
|
+
Insert: {
|
|
10132
|
+
can_break_lock?: boolean;
|
|
10133
|
+
can_cancel?: boolean;
|
|
10134
|
+
can_print?: boolean;
|
|
10135
|
+
can_reprint?: boolean;
|
|
10136
|
+
country_code?: string | null;
|
|
10137
|
+
created_at?: string;
|
|
10138
|
+
id?: string;
|
|
10139
|
+
station_id?: string | null;
|
|
10140
|
+
task_id?: string | null;
|
|
10141
|
+
updated_at?: string;
|
|
10142
|
+
urgent_only?: boolean;
|
|
10143
|
+
user_id: string;
|
|
10144
|
+
};
|
|
10145
|
+
Update: {
|
|
10146
|
+
can_break_lock?: boolean;
|
|
10147
|
+
can_cancel?: boolean;
|
|
10148
|
+
can_print?: boolean;
|
|
10149
|
+
can_reprint?: boolean;
|
|
10150
|
+
country_code?: string | null;
|
|
10151
|
+
created_at?: string;
|
|
10152
|
+
id?: string;
|
|
10153
|
+
station_id?: string | null;
|
|
10154
|
+
task_id?: string | null;
|
|
10155
|
+
updated_at?: string;
|
|
10156
|
+
urgent_only?: boolean;
|
|
10157
|
+
user_id?: string;
|
|
10158
|
+
};
|
|
10159
|
+
Relationships: [
|
|
10160
|
+
{
|
|
10161
|
+
foreignKeyName: "pick_station_permissions_station_id_fkey";
|
|
10162
|
+
columns: ["station_id"];
|
|
10163
|
+
isOneToOne: false;
|
|
10164
|
+
referencedRelation: "pick_stations";
|
|
10165
|
+
referencedColumns: ["id"];
|
|
10166
|
+
},
|
|
10167
|
+
{
|
|
10168
|
+
foreignKeyName: "pick_station_permissions_task_id_fkey";
|
|
10169
|
+
columns: ["task_id"];
|
|
10170
|
+
isOneToOne: false;
|
|
10171
|
+
referencedRelation: "pick_station_tasks";
|
|
10172
|
+
referencedColumns: ["id"];
|
|
10173
|
+
}
|
|
10174
|
+
];
|
|
10175
|
+
};
|
|
10176
|
+
pick_station_printers: {
|
|
10177
|
+
Row: {
|
|
10178
|
+
active: boolean;
|
|
10179
|
+
code: string | null;
|
|
10180
|
+
config: Json;
|
|
10181
|
+
connection: string | null;
|
|
10182
|
+
created_at: string;
|
|
10183
|
+
id: string;
|
|
10184
|
+
last_seen_at: string | null;
|
|
10185
|
+
location: string | null;
|
|
10186
|
+
name: string;
|
|
10187
|
+
status: string;
|
|
10188
|
+
status_message: string | null;
|
|
10189
|
+
target: string | null;
|
|
10190
|
+
updated_at: string;
|
|
10191
|
+
};
|
|
10192
|
+
Insert: {
|
|
10193
|
+
active?: boolean;
|
|
10194
|
+
code?: string | null;
|
|
10195
|
+
config?: Json;
|
|
10196
|
+
connection?: string | null;
|
|
10197
|
+
created_at?: string;
|
|
10198
|
+
id?: string;
|
|
10199
|
+
last_seen_at?: string | null;
|
|
10200
|
+
location?: string | null;
|
|
10201
|
+
name: string;
|
|
10202
|
+
status?: string;
|
|
10203
|
+
status_message?: string | null;
|
|
10204
|
+
target?: string | null;
|
|
10205
|
+
updated_at?: string;
|
|
10206
|
+
};
|
|
10207
|
+
Update: {
|
|
10208
|
+
active?: boolean;
|
|
10209
|
+
code?: string | null;
|
|
10210
|
+
config?: Json;
|
|
10211
|
+
connection?: string | null;
|
|
10212
|
+
created_at?: string;
|
|
10213
|
+
id?: string;
|
|
10214
|
+
last_seen_at?: string | null;
|
|
10215
|
+
location?: string | null;
|
|
10216
|
+
name?: string;
|
|
10217
|
+
status?: string;
|
|
10218
|
+
status_message?: string | null;
|
|
10219
|
+
target?: string | null;
|
|
10220
|
+
updated_at?: string;
|
|
10221
|
+
};
|
|
10222
|
+
Relationships: [];
|
|
10223
|
+
};
|
|
10224
|
+
pick_station_screens: {
|
|
10225
|
+
Row: {
|
|
10226
|
+
active: boolean;
|
|
10227
|
+
config: Json;
|
|
10228
|
+
created_at: string;
|
|
10229
|
+
description: string | null;
|
|
10230
|
+
filters: Json;
|
|
10231
|
+
id: string;
|
|
10232
|
+
name: string;
|
|
10233
|
+
printer_id: string | null;
|
|
10234
|
+
screen_type: string;
|
|
10235
|
+
sort_order: number;
|
|
10236
|
+
sort_rules: Json | null;
|
|
10237
|
+
station_id: string;
|
|
10238
|
+
updated_at: string;
|
|
10239
|
+
};
|
|
10240
|
+
Insert: {
|
|
10241
|
+
active?: boolean;
|
|
10242
|
+
config?: Json;
|
|
10243
|
+
created_at?: string;
|
|
10244
|
+
description?: string | null;
|
|
10245
|
+
filters?: Json;
|
|
10246
|
+
id?: string;
|
|
10247
|
+
name: string;
|
|
10248
|
+
printer_id?: string | null;
|
|
10249
|
+
screen_type?: string;
|
|
10250
|
+
sort_order?: number;
|
|
10251
|
+
sort_rules?: Json | null;
|
|
10252
|
+
station_id: string;
|
|
10253
|
+
updated_at?: string;
|
|
10254
|
+
};
|
|
10255
|
+
Update: {
|
|
10256
|
+
active?: boolean;
|
|
10257
|
+
config?: Json;
|
|
10258
|
+
created_at?: string;
|
|
10259
|
+
description?: string | null;
|
|
10260
|
+
filters?: Json;
|
|
10261
|
+
id?: string;
|
|
10262
|
+
name?: string;
|
|
10263
|
+
printer_id?: string | null;
|
|
10264
|
+
screen_type?: string;
|
|
10265
|
+
sort_order?: number;
|
|
10266
|
+
sort_rules?: Json | null;
|
|
10267
|
+
station_id?: string;
|
|
10268
|
+
updated_at?: string;
|
|
10269
|
+
};
|
|
10270
|
+
Relationships: [
|
|
10271
|
+
{
|
|
10272
|
+
foreignKeyName: "pick_station_screens_printer_id_fkey";
|
|
10273
|
+
columns: ["printer_id"];
|
|
10274
|
+
isOneToOne: false;
|
|
10275
|
+
referencedRelation: "pick_station_printers";
|
|
10276
|
+
referencedColumns: ["id"];
|
|
10277
|
+
},
|
|
10278
|
+
{
|
|
10279
|
+
foreignKeyName: "pick_station_screens_station_id_fkey";
|
|
10280
|
+
columns: ["station_id"];
|
|
10281
|
+
isOneToOne: false;
|
|
10282
|
+
referencedRelation: "pick_stations";
|
|
10283
|
+
referencedColumns: ["id"];
|
|
10284
|
+
}
|
|
10285
|
+
];
|
|
10286
|
+
};
|
|
10287
|
+
pick_station_tasks: {
|
|
10288
|
+
Row: {
|
|
10289
|
+
active: boolean;
|
|
10290
|
+
code: string;
|
|
10291
|
+
color: string | null;
|
|
10292
|
+
created_at: string;
|
|
10293
|
+
description: string | null;
|
|
10294
|
+
icon: string | null;
|
|
10295
|
+
id: string;
|
|
10296
|
+
name: string;
|
|
10297
|
+
sort_order: number;
|
|
10298
|
+
updated_at: string;
|
|
10299
|
+
workflow: Json;
|
|
10300
|
+
};
|
|
10301
|
+
Insert: {
|
|
10302
|
+
active?: boolean;
|
|
10303
|
+
code: string;
|
|
10304
|
+
color?: string | null;
|
|
10305
|
+
created_at?: string;
|
|
10306
|
+
description?: string | null;
|
|
10307
|
+
icon?: string | null;
|
|
10308
|
+
id?: string;
|
|
10309
|
+
name: string;
|
|
10310
|
+
sort_order?: number;
|
|
10311
|
+
updated_at?: string;
|
|
10312
|
+
workflow?: Json;
|
|
10313
|
+
};
|
|
10314
|
+
Update: {
|
|
10315
|
+
active?: boolean;
|
|
10316
|
+
code?: string;
|
|
10317
|
+
color?: string | null;
|
|
10318
|
+
created_at?: string;
|
|
10319
|
+
description?: string | null;
|
|
10320
|
+
icon?: string | null;
|
|
10321
|
+
id?: string;
|
|
10322
|
+
name?: string;
|
|
10323
|
+
sort_order?: number;
|
|
10324
|
+
updated_at?: string;
|
|
10325
|
+
workflow?: Json;
|
|
10326
|
+
};
|
|
10327
|
+
Relationships: [];
|
|
10328
|
+
};
|
|
10329
|
+
pick_station_types: {
|
|
10330
|
+
Row: {
|
|
10331
|
+
active: boolean;
|
|
10332
|
+
code: string;
|
|
10333
|
+
color: string | null;
|
|
10334
|
+
created_at: string;
|
|
10335
|
+
description: string | null;
|
|
10336
|
+
icon: string | null;
|
|
10337
|
+
id: string;
|
|
10338
|
+
name: string;
|
|
10339
|
+
sort_order: number;
|
|
10340
|
+
updated_at: string;
|
|
10341
|
+
};
|
|
10342
|
+
Insert: {
|
|
10343
|
+
active?: boolean;
|
|
10344
|
+
code: string;
|
|
10345
|
+
color?: string | null;
|
|
10346
|
+
created_at?: string;
|
|
10347
|
+
description?: string | null;
|
|
10348
|
+
icon?: string | null;
|
|
10349
|
+
id?: string;
|
|
10350
|
+
name: string;
|
|
10351
|
+
sort_order?: number;
|
|
10352
|
+
updated_at?: string;
|
|
10353
|
+
};
|
|
10354
|
+
Update: {
|
|
10355
|
+
active?: boolean;
|
|
10356
|
+
code?: string;
|
|
10357
|
+
color?: string | null;
|
|
10358
|
+
created_at?: string;
|
|
10359
|
+
description?: string | null;
|
|
10360
|
+
icon?: string | null;
|
|
10361
|
+
id?: string;
|
|
10362
|
+
name?: string;
|
|
10363
|
+
sort_order?: number;
|
|
10364
|
+
updated_at?: string;
|
|
10365
|
+
};
|
|
10366
|
+
Relationships: [];
|
|
10367
|
+
};
|
|
10368
|
+
pick_station_users: {
|
|
10369
|
+
Row: {
|
|
10370
|
+
active: boolean;
|
|
10371
|
+
created_at: string;
|
|
10372
|
+
id: string;
|
|
10373
|
+
station_id: string;
|
|
10374
|
+
user_id: string;
|
|
10375
|
+
};
|
|
10376
|
+
Insert: {
|
|
10377
|
+
active?: boolean;
|
|
10378
|
+
created_at?: string;
|
|
10379
|
+
id?: string;
|
|
10380
|
+
station_id: string;
|
|
10381
|
+
user_id: string;
|
|
10382
|
+
};
|
|
10383
|
+
Update: {
|
|
10384
|
+
active?: boolean;
|
|
10385
|
+
created_at?: string;
|
|
10386
|
+
id?: string;
|
|
10387
|
+
station_id?: string;
|
|
10388
|
+
user_id?: string;
|
|
10389
|
+
};
|
|
10390
|
+
Relationships: [
|
|
10391
|
+
{
|
|
10392
|
+
foreignKeyName: "pick_station_users_station_id_fkey";
|
|
10393
|
+
columns: ["station_id"];
|
|
10394
|
+
isOneToOne: false;
|
|
10395
|
+
referencedRelation: "pick_stations";
|
|
10396
|
+
referencedColumns: ["id"];
|
|
10397
|
+
}
|
|
10398
|
+
];
|
|
10399
|
+
};
|
|
10400
|
+
pick_stations: {
|
|
10401
|
+
Row: {
|
|
10402
|
+
active: boolean;
|
|
10403
|
+
allow_multi_screen: boolean;
|
|
10404
|
+
color: string | null;
|
|
10405
|
+
created_at: string;
|
|
10406
|
+
default_printer_id: string | null;
|
|
10407
|
+
department: string | null;
|
|
10408
|
+
description: string | null;
|
|
10409
|
+
icon: string | null;
|
|
10410
|
+
id: string;
|
|
10411
|
+
location: string | null;
|
|
10412
|
+
lock_timeout_seconds: number;
|
|
10413
|
+
name: string;
|
|
10414
|
+
require_country_selection: boolean;
|
|
10415
|
+
sort_order: number;
|
|
10416
|
+
sort_rules: Json;
|
|
10417
|
+
task_id: string | null;
|
|
10418
|
+
type_id: string | null;
|
|
10419
|
+
updated_at: string;
|
|
10420
|
+
};
|
|
10421
|
+
Insert: {
|
|
10422
|
+
active?: boolean;
|
|
10423
|
+
allow_multi_screen?: boolean;
|
|
10424
|
+
color?: string | null;
|
|
10425
|
+
created_at?: string;
|
|
10426
|
+
default_printer_id?: string | null;
|
|
10427
|
+
department?: string | null;
|
|
10428
|
+
description?: string | null;
|
|
10429
|
+
icon?: string | null;
|
|
10430
|
+
id?: string;
|
|
10431
|
+
location?: string | null;
|
|
10432
|
+
lock_timeout_seconds?: number;
|
|
10433
|
+
name: string;
|
|
10434
|
+
require_country_selection?: boolean;
|
|
10435
|
+
sort_order?: number;
|
|
10436
|
+
sort_rules?: Json;
|
|
10437
|
+
task_id?: string | null;
|
|
10438
|
+
type_id?: string | null;
|
|
10439
|
+
updated_at?: string;
|
|
10440
|
+
};
|
|
10441
|
+
Update: {
|
|
10442
|
+
active?: boolean;
|
|
10443
|
+
allow_multi_screen?: boolean;
|
|
10444
|
+
color?: string | null;
|
|
10445
|
+
created_at?: string;
|
|
10446
|
+
default_printer_id?: string | null;
|
|
10447
|
+
department?: string | null;
|
|
10448
|
+
description?: string | null;
|
|
10449
|
+
icon?: string | null;
|
|
10450
|
+
id?: string;
|
|
10451
|
+
location?: string | null;
|
|
10452
|
+
lock_timeout_seconds?: number;
|
|
10453
|
+
name?: string;
|
|
10454
|
+
require_country_selection?: boolean;
|
|
10455
|
+
sort_order?: number;
|
|
10456
|
+
sort_rules?: Json;
|
|
10457
|
+
task_id?: string | null;
|
|
10458
|
+
type_id?: string | null;
|
|
10459
|
+
updated_at?: string;
|
|
10460
|
+
};
|
|
10461
|
+
Relationships: [
|
|
10462
|
+
{
|
|
10463
|
+
foreignKeyName: "pick_stations_default_printer_id_fkey";
|
|
10464
|
+
columns: ["default_printer_id"];
|
|
10465
|
+
isOneToOne: false;
|
|
10466
|
+
referencedRelation: "pick_station_printers";
|
|
10467
|
+
referencedColumns: ["id"];
|
|
10468
|
+
},
|
|
10469
|
+
{
|
|
10470
|
+
foreignKeyName: "pick_stations_task_id_fkey";
|
|
10471
|
+
columns: ["task_id"];
|
|
10472
|
+
isOneToOne: false;
|
|
10473
|
+
referencedRelation: "pick_station_tasks";
|
|
10474
|
+
referencedColumns: ["id"];
|
|
10475
|
+
},
|
|
10476
|
+
{
|
|
10477
|
+
foreignKeyName: "pick_stations_type_id_fkey";
|
|
10478
|
+
columns: ["type_id"];
|
|
10479
|
+
isOneToOne: false;
|
|
10480
|
+
referencedRelation: "pick_station_types";
|
|
10481
|
+
referencedColumns: ["id"];
|
|
10482
|
+
}
|
|
10483
|
+
];
|
|
10484
|
+
};
|
|
10485
|
+
pick_task_document_types: {
|
|
10486
|
+
Row: {
|
|
10487
|
+
created_at: string;
|
|
10488
|
+
document_type_id: string;
|
|
10489
|
+
id: string;
|
|
10490
|
+
task_id: string;
|
|
10491
|
+
};
|
|
10492
|
+
Insert: {
|
|
10493
|
+
created_at?: string;
|
|
10494
|
+
document_type_id: string;
|
|
10495
|
+
id?: string;
|
|
10496
|
+
task_id: string;
|
|
10497
|
+
};
|
|
10498
|
+
Update: {
|
|
10499
|
+
created_at?: string;
|
|
10500
|
+
document_type_id?: string;
|
|
10501
|
+
id?: string;
|
|
10502
|
+
task_id?: string;
|
|
10503
|
+
};
|
|
10504
|
+
Relationships: [
|
|
10505
|
+
{
|
|
10506
|
+
foreignKeyName: "pick_task_document_types_document_type_id_fkey";
|
|
10507
|
+
columns: ["document_type_id"];
|
|
10508
|
+
isOneToOne: false;
|
|
10509
|
+
referencedRelation: "pick_document_types";
|
|
10510
|
+
referencedColumns: ["id"];
|
|
10511
|
+
},
|
|
10512
|
+
{
|
|
10513
|
+
foreignKeyName: "pick_task_document_types_task_id_fkey";
|
|
10514
|
+
columns: ["task_id"];
|
|
10515
|
+
isOneToOne: false;
|
|
10516
|
+
referencedRelation: "pick_station_tasks";
|
|
10517
|
+
referencedColumns: ["id"];
|
|
10518
|
+
}
|
|
10519
|
+
];
|
|
10520
|
+
};
|
|
10521
|
+
pickstation_print_log: {
|
|
10522
|
+
Row: {
|
|
10523
|
+
customer_name: string | null;
|
|
10524
|
+
documents: string[];
|
|
10525
|
+
id: string;
|
|
10526
|
+
ip_address: string | null;
|
|
10527
|
+
order_id: string;
|
|
10528
|
+
order_number: string | null;
|
|
10529
|
+
printed_at: string;
|
|
10530
|
+
};
|
|
10531
|
+
Insert: {
|
|
10532
|
+
customer_name?: string | null;
|
|
10533
|
+
documents?: string[];
|
|
10534
|
+
id?: string;
|
|
10535
|
+
ip_address?: string | null;
|
|
10536
|
+
order_id: string;
|
|
10537
|
+
order_number?: string | null;
|
|
10538
|
+
printed_at?: string;
|
|
10539
|
+
};
|
|
10540
|
+
Update: {
|
|
10541
|
+
customer_name?: string | null;
|
|
10542
|
+
documents?: string[];
|
|
10543
|
+
id?: string;
|
|
8835
10544
|
ip_address?: string | null;
|
|
8836
10545
|
order_id?: string;
|
|
8837
10546
|
order_number?: string | null;
|
|
@@ -8972,6 +10681,334 @@ export type Database = {
|
|
|
8972
10681
|
}
|
|
8973
10682
|
];
|
|
8974
10683
|
};
|
|
10684
|
+
print_job_logs: {
|
|
10685
|
+
Row: {
|
|
10686
|
+
created_at: string;
|
|
10687
|
+
detail: string;
|
|
10688
|
+
gebeurtenis: string;
|
|
10689
|
+
id: string;
|
|
10690
|
+
job_id: string;
|
|
10691
|
+
};
|
|
10692
|
+
Insert: {
|
|
10693
|
+
created_at?: string;
|
|
10694
|
+
detail?: string;
|
|
10695
|
+
gebeurtenis: string;
|
|
10696
|
+
id?: string;
|
|
10697
|
+
job_id: string;
|
|
10698
|
+
};
|
|
10699
|
+
Update: {
|
|
10700
|
+
created_at?: string;
|
|
10701
|
+
detail?: string;
|
|
10702
|
+
gebeurtenis?: string;
|
|
10703
|
+
id?: string;
|
|
10704
|
+
job_id?: string;
|
|
10705
|
+
};
|
|
10706
|
+
Relationships: [
|
|
10707
|
+
{
|
|
10708
|
+
foreignKeyName: "print_job_logs_job_id_fkey";
|
|
10709
|
+
columns: ["job_id"];
|
|
10710
|
+
isOneToOne: false;
|
|
10711
|
+
referencedRelation: "print_jobs";
|
|
10712
|
+
referencedColumns: ["id"];
|
|
10713
|
+
}
|
|
10714
|
+
];
|
|
10715
|
+
};
|
|
10716
|
+
print_jobs: {
|
|
10717
|
+
Row: {
|
|
10718
|
+
bron_job_id: string | null;
|
|
10719
|
+
created_at: string;
|
|
10720
|
+
documentnaam: string;
|
|
10721
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
10722
|
+
foutmelding: string | null;
|
|
10723
|
+
gebruiker_id: string | null;
|
|
10724
|
+
gebruiker_naam: string;
|
|
10725
|
+
gestart_op: string | null;
|
|
10726
|
+
id: string;
|
|
10727
|
+
is_herprint: boolean;
|
|
10728
|
+
kopieen: number;
|
|
10729
|
+
layout_id: string | null;
|
|
10730
|
+
paginas: number;
|
|
10731
|
+
payload: Json;
|
|
10732
|
+
printer_id: string | null;
|
|
10733
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
10734
|
+
updated_at: string;
|
|
10735
|
+
voltooid_op: string | null;
|
|
10736
|
+
};
|
|
10737
|
+
Insert: {
|
|
10738
|
+
bron_job_id?: string | null;
|
|
10739
|
+
created_at?: string;
|
|
10740
|
+
documentnaam?: string;
|
|
10741
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10742
|
+
foutmelding?: string | null;
|
|
10743
|
+
gebruiker_id?: string | null;
|
|
10744
|
+
gebruiker_naam?: string;
|
|
10745
|
+
gestart_op?: string | null;
|
|
10746
|
+
id?: string;
|
|
10747
|
+
is_herprint?: boolean;
|
|
10748
|
+
kopieen?: number;
|
|
10749
|
+
layout_id?: string | null;
|
|
10750
|
+
paginas?: number;
|
|
10751
|
+
payload?: Json;
|
|
10752
|
+
printer_id?: string | null;
|
|
10753
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10754
|
+
updated_at?: string;
|
|
10755
|
+
voltooid_op?: string | null;
|
|
10756
|
+
};
|
|
10757
|
+
Update: {
|
|
10758
|
+
bron_job_id?: string | null;
|
|
10759
|
+
created_at?: string;
|
|
10760
|
+
documentnaam?: string;
|
|
10761
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10762
|
+
foutmelding?: string | null;
|
|
10763
|
+
gebruiker_id?: string | null;
|
|
10764
|
+
gebruiker_naam?: string;
|
|
10765
|
+
gestart_op?: string | null;
|
|
10766
|
+
id?: string;
|
|
10767
|
+
is_herprint?: boolean;
|
|
10768
|
+
kopieen?: number;
|
|
10769
|
+
layout_id?: string | null;
|
|
10770
|
+
paginas?: number;
|
|
10771
|
+
payload?: Json;
|
|
10772
|
+
printer_id?: string | null;
|
|
10773
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10774
|
+
updated_at?: string;
|
|
10775
|
+
voltooid_op?: string | null;
|
|
10776
|
+
};
|
|
10777
|
+
Relationships: [
|
|
10778
|
+
{
|
|
10779
|
+
foreignKeyName: "print_jobs_layout_id_fkey";
|
|
10780
|
+
columns: ["layout_id"];
|
|
10781
|
+
isOneToOne: false;
|
|
10782
|
+
referencedRelation: "document_layouts";
|
|
10783
|
+
referencedColumns: ["id"];
|
|
10784
|
+
},
|
|
10785
|
+
{
|
|
10786
|
+
foreignKeyName: "print_jobs_printer_id_fkey";
|
|
10787
|
+
columns: ["printer_id"];
|
|
10788
|
+
isOneToOne: false;
|
|
10789
|
+
referencedRelation: "printers";
|
|
10790
|
+
referencedColumns: ["id"];
|
|
10791
|
+
}
|
|
10792
|
+
];
|
|
10793
|
+
};
|
|
10794
|
+
print_rules: {
|
|
10795
|
+
Row: {
|
|
10796
|
+
actief: boolean;
|
|
10797
|
+
alleen_eerste_keer: boolean;
|
|
10798
|
+
conditie: Json;
|
|
10799
|
+
created_at: string;
|
|
10800
|
+
id: string;
|
|
10801
|
+
kopieen: number;
|
|
10802
|
+
layout_id: string;
|
|
10803
|
+
naam: string;
|
|
10804
|
+
printer_id: string | null;
|
|
10805
|
+
updated_at: string;
|
|
10806
|
+
volgorde: number;
|
|
10807
|
+
};
|
|
10808
|
+
Insert: {
|
|
10809
|
+
actief?: boolean;
|
|
10810
|
+
alleen_eerste_keer?: boolean;
|
|
10811
|
+
conditie?: Json;
|
|
10812
|
+
created_at?: string;
|
|
10813
|
+
id?: string;
|
|
10814
|
+
kopieen?: number;
|
|
10815
|
+
layout_id: string;
|
|
10816
|
+
naam?: string;
|
|
10817
|
+
printer_id?: string | null;
|
|
10818
|
+
updated_at?: string;
|
|
10819
|
+
volgorde?: number;
|
|
10820
|
+
};
|
|
10821
|
+
Update: {
|
|
10822
|
+
actief?: boolean;
|
|
10823
|
+
alleen_eerste_keer?: boolean;
|
|
10824
|
+
conditie?: Json;
|
|
10825
|
+
created_at?: string;
|
|
10826
|
+
id?: string;
|
|
10827
|
+
kopieen?: number;
|
|
10828
|
+
layout_id?: string;
|
|
10829
|
+
naam?: string;
|
|
10830
|
+
printer_id?: string | null;
|
|
10831
|
+
updated_at?: string;
|
|
10832
|
+
volgorde?: number;
|
|
10833
|
+
};
|
|
10834
|
+
Relationships: [
|
|
10835
|
+
{
|
|
10836
|
+
foreignKeyName: "print_rules_layout_id_fkey";
|
|
10837
|
+
columns: ["layout_id"];
|
|
10838
|
+
isOneToOne: false;
|
|
10839
|
+
referencedRelation: "document_layouts";
|
|
10840
|
+
referencedColumns: ["id"];
|
|
10841
|
+
},
|
|
10842
|
+
{
|
|
10843
|
+
foreignKeyName: "print_rules_printer_id_fkey";
|
|
10844
|
+
columns: ["printer_id"];
|
|
10845
|
+
isOneToOne: false;
|
|
10846
|
+
referencedRelation: "printers";
|
|
10847
|
+
referencedColumns: ["id"];
|
|
10848
|
+
}
|
|
10849
|
+
];
|
|
10850
|
+
};
|
|
10851
|
+
printer_mappings: {
|
|
10852
|
+
Row: {
|
|
10853
|
+
created_at: string;
|
|
10854
|
+
id: string;
|
|
10855
|
+
layout_id: string;
|
|
10856
|
+
printer_id: string;
|
|
10857
|
+
prioriteit: number;
|
|
10858
|
+
updated_at: string;
|
|
10859
|
+
};
|
|
10860
|
+
Insert: {
|
|
10861
|
+
created_at?: string;
|
|
10862
|
+
id?: string;
|
|
10863
|
+
layout_id: string;
|
|
10864
|
+
printer_id: string;
|
|
10865
|
+
prioriteit?: number;
|
|
10866
|
+
updated_at?: string;
|
|
10867
|
+
};
|
|
10868
|
+
Update: {
|
|
10869
|
+
created_at?: string;
|
|
10870
|
+
id?: string;
|
|
10871
|
+
layout_id?: string;
|
|
10872
|
+
printer_id?: string;
|
|
10873
|
+
prioriteit?: number;
|
|
10874
|
+
updated_at?: string;
|
|
10875
|
+
};
|
|
10876
|
+
Relationships: [
|
|
10877
|
+
{
|
|
10878
|
+
foreignKeyName: "printer_mappings_layout_id_fkey";
|
|
10879
|
+
columns: ["layout_id"];
|
|
10880
|
+
isOneToOne: false;
|
|
10881
|
+
referencedRelation: "document_layouts";
|
|
10882
|
+
referencedColumns: ["id"];
|
|
10883
|
+
},
|
|
10884
|
+
{
|
|
10885
|
+
foreignKeyName: "printer_mappings_printer_id_fkey";
|
|
10886
|
+
columns: ["printer_id"];
|
|
10887
|
+
isOneToOne: false;
|
|
10888
|
+
referencedRelation: "printers";
|
|
10889
|
+
referencedColumns: ["id"];
|
|
10890
|
+
}
|
|
10891
|
+
];
|
|
10892
|
+
};
|
|
10893
|
+
printer_profiles: {
|
|
10894
|
+
Row: {
|
|
10895
|
+
auto_schalen: boolean;
|
|
10896
|
+
created_at: string;
|
|
10897
|
+
duplex: boolean;
|
|
10898
|
+
id: string;
|
|
10899
|
+
is_standaard: boolean;
|
|
10900
|
+
kleur: boolean;
|
|
10901
|
+
kopieen: number;
|
|
10902
|
+
label_gap: number;
|
|
10903
|
+
naam: string;
|
|
10904
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
10905
|
+
papierlade: string;
|
|
10906
|
+
printer_id: string;
|
|
10907
|
+
resolutie: number;
|
|
10908
|
+
snijden: boolean;
|
|
10909
|
+
updated_at: string;
|
|
10910
|
+
};
|
|
10911
|
+
Insert: {
|
|
10912
|
+
auto_schalen?: boolean;
|
|
10913
|
+
created_at?: string;
|
|
10914
|
+
duplex?: boolean;
|
|
10915
|
+
id?: string;
|
|
10916
|
+
is_standaard?: boolean;
|
|
10917
|
+
kleur?: boolean;
|
|
10918
|
+
kopieen?: number;
|
|
10919
|
+
label_gap?: number;
|
|
10920
|
+
naam?: string;
|
|
10921
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10922
|
+
papierlade?: string;
|
|
10923
|
+
printer_id: string;
|
|
10924
|
+
resolutie?: number;
|
|
10925
|
+
snijden?: boolean;
|
|
10926
|
+
updated_at?: string;
|
|
10927
|
+
};
|
|
10928
|
+
Update: {
|
|
10929
|
+
auto_schalen?: boolean;
|
|
10930
|
+
created_at?: string;
|
|
10931
|
+
duplex?: boolean;
|
|
10932
|
+
id?: string;
|
|
10933
|
+
is_standaard?: boolean;
|
|
10934
|
+
kleur?: boolean;
|
|
10935
|
+
kopieen?: number;
|
|
10936
|
+
label_gap?: number;
|
|
10937
|
+
naam?: string;
|
|
10938
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10939
|
+
papierlade?: string;
|
|
10940
|
+
printer_id?: string;
|
|
10941
|
+
resolutie?: number;
|
|
10942
|
+
snijden?: boolean;
|
|
10943
|
+
updated_at?: string;
|
|
10944
|
+
};
|
|
10945
|
+
Relationships: [
|
|
10946
|
+
{
|
|
10947
|
+
foreignKeyName: "printer_profiles_printer_id_fkey";
|
|
10948
|
+
columns: ["printer_id"];
|
|
10949
|
+
isOneToOne: false;
|
|
10950
|
+
referencedRelation: "printers";
|
|
10951
|
+
referencedColumns: ["id"];
|
|
10952
|
+
}
|
|
10953
|
+
];
|
|
10954
|
+
};
|
|
10955
|
+
printers: {
|
|
10956
|
+
Row: {
|
|
10957
|
+
actief: boolean;
|
|
10958
|
+
created_at: string;
|
|
10959
|
+
driver: string;
|
|
10960
|
+
id: string;
|
|
10961
|
+
ip_adres: string | null;
|
|
10962
|
+
laatst_gezien: string | null;
|
|
10963
|
+
locatie: string;
|
|
10964
|
+
merk: string;
|
|
10965
|
+
naam: string;
|
|
10966
|
+
omschrijving: string;
|
|
10967
|
+
online: boolean;
|
|
10968
|
+
papierformaat: string;
|
|
10969
|
+
poort: number | null;
|
|
10970
|
+
soort: Database["public"]["Enums"]["printer_kind"];
|
|
10971
|
+
updated_at: string;
|
|
10972
|
+
verbinding: Database["public"]["Enums"]["printer_connection"];
|
|
10973
|
+
};
|
|
10974
|
+
Insert: {
|
|
10975
|
+
actief?: boolean;
|
|
10976
|
+
created_at?: string;
|
|
10977
|
+
driver?: string;
|
|
10978
|
+
id?: string;
|
|
10979
|
+
ip_adres?: string | null;
|
|
10980
|
+
laatst_gezien?: string | null;
|
|
10981
|
+
locatie?: string;
|
|
10982
|
+
merk?: string;
|
|
10983
|
+
naam: string;
|
|
10984
|
+
omschrijving?: string;
|
|
10985
|
+
online?: boolean;
|
|
10986
|
+
papierformaat?: string;
|
|
10987
|
+
poort?: number | null;
|
|
10988
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
10989
|
+
updated_at?: string;
|
|
10990
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
10991
|
+
};
|
|
10992
|
+
Update: {
|
|
10993
|
+
actief?: boolean;
|
|
10994
|
+
created_at?: string;
|
|
10995
|
+
driver?: string;
|
|
10996
|
+
id?: string;
|
|
10997
|
+
ip_adres?: string | null;
|
|
10998
|
+
laatst_gezien?: string | null;
|
|
10999
|
+
locatie?: string;
|
|
11000
|
+
merk?: string;
|
|
11001
|
+
naam?: string;
|
|
11002
|
+
omschrijving?: string;
|
|
11003
|
+
online?: boolean;
|
|
11004
|
+
papierformaat?: string;
|
|
11005
|
+
poort?: number | null;
|
|
11006
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
11007
|
+
updated_at?: string;
|
|
11008
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
11009
|
+
};
|
|
11010
|
+
Relationships: [];
|
|
11011
|
+
};
|
|
8975
11012
|
product_bom_items: {
|
|
8976
11013
|
Row: {
|
|
8977
11014
|
component_product_id: string | null;
|
|
@@ -10891,9 +12928,7 @@ export type Database = {
|
|
|
10891
12928
|
};
|
|
10892
12929
|
twinfield_connections: {
|
|
10893
12930
|
Row: {
|
|
10894
|
-
|
|
10895
|
-
client_id: string;
|
|
10896
|
-
client_secret: string | null;
|
|
12931
|
+
account_key: string | null;
|
|
10897
12932
|
cluster_uri: string | null;
|
|
10898
12933
|
company_code: string | null;
|
|
10899
12934
|
company_name: string | null;
|
|
@@ -10904,94 +12939,39 @@ export type Database = {
|
|
|
10904
12939
|
is_active: boolean;
|
|
10905
12940
|
label: string | null;
|
|
10906
12941
|
office_code: string | null;
|
|
10907
|
-
redirect_uri: string;
|
|
10908
|
-
refresh_token: string | null;
|
|
10909
|
-
token_expires_at: string | null;
|
|
10910
|
-
updated_at: string;
|
|
10911
|
-
user_id: string;
|
|
10912
|
-
};
|
|
10913
|
-
Insert: {
|
|
10914
|
-
access_token?: string | null;
|
|
10915
|
-
client_id: string;
|
|
10916
|
-
client_secret?: string | null;
|
|
10917
|
-
cluster_uri?: string | null;
|
|
10918
|
-
company_code?: string | null;
|
|
10919
|
-
company_name?: string | null;
|
|
10920
|
-
connected_at?: string | null;
|
|
10921
|
-
created_at?: string;
|
|
10922
|
-
environment: string;
|
|
10923
|
-
id?: string;
|
|
10924
|
-
is_active?: boolean;
|
|
10925
|
-
label?: string | null;
|
|
10926
|
-
office_code?: string | null;
|
|
10927
|
-
redirect_uri: string;
|
|
10928
|
-
refresh_token?: string | null;
|
|
10929
|
-
token_expires_at?: string | null;
|
|
10930
|
-
updated_at?: string;
|
|
10931
|
-
user_id: string;
|
|
10932
|
-
};
|
|
10933
|
-
Update: {
|
|
10934
|
-
access_token?: string | null;
|
|
10935
|
-
client_id?: string;
|
|
10936
|
-
client_secret?: string | null;
|
|
10937
|
-
cluster_uri?: string | null;
|
|
10938
|
-
company_code?: string | null;
|
|
10939
|
-
company_name?: string | null;
|
|
10940
|
-
connected_at?: string | null;
|
|
10941
|
-
created_at?: string;
|
|
10942
|
-
environment?: string;
|
|
10943
|
-
id?: string;
|
|
10944
|
-
is_active?: boolean;
|
|
10945
|
-
label?: string | null;
|
|
10946
|
-
office_code?: string | null;
|
|
10947
|
-
redirect_uri?: string;
|
|
10948
|
-
refresh_token?: string | null;
|
|
10949
|
-
token_expires_at?: string | null;
|
|
10950
|
-
updated_at?: string;
|
|
10951
|
-
user_id?: string;
|
|
10952
|
-
};
|
|
10953
|
-
Relationships: [];
|
|
10954
|
-
};
|
|
10955
|
-
twinfield_credentials: {
|
|
10956
|
-
Row: {
|
|
10957
|
-
administration_code: string | null;
|
|
10958
|
-
client_id: string | null;
|
|
10959
|
-
client_secret: string | null;
|
|
10960
|
-
cluster: string | null;
|
|
10961
|
-
connected_at: string | null;
|
|
10962
|
-
created_at: string;
|
|
10963
|
-
environment: string | null;
|
|
10964
|
-
id: string;
|
|
10965
12942
|
redirect_uri: string | null;
|
|
10966
|
-
refresh_token: string | null;
|
|
10967
12943
|
updated_at: string;
|
|
10968
12944
|
user_id: string;
|
|
10969
12945
|
};
|
|
10970
12946
|
Insert: {
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
12947
|
+
account_key?: string | null;
|
|
12948
|
+
cluster_uri?: string | null;
|
|
12949
|
+
company_code?: string | null;
|
|
12950
|
+
company_name?: string | null;
|
|
10975
12951
|
connected_at?: string | null;
|
|
10976
12952
|
created_at?: string;
|
|
10977
|
-
environment
|
|
12953
|
+
environment: string;
|
|
10978
12954
|
id?: string;
|
|
12955
|
+
is_active?: boolean;
|
|
12956
|
+
label?: string | null;
|
|
12957
|
+
office_code?: string | null;
|
|
10979
12958
|
redirect_uri?: string | null;
|
|
10980
|
-
refresh_token?: string | null;
|
|
10981
12959
|
updated_at?: string;
|
|
10982
12960
|
user_id: string;
|
|
10983
12961
|
};
|
|
10984
12962
|
Update: {
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
12963
|
+
account_key?: string | null;
|
|
12964
|
+
cluster_uri?: string | null;
|
|
12965
|
+
company_code?: string | null;
|
|
12966
|
+
company_name?: string | null;
|
|
10989
12967
|
connected_at?: string | null;
|
|
10990
12968
|
created_at?: string;
|
|
10991
|
-
environment?: string
|
|
12969
|
+
environment?: string;
|
|
10992
12970
|
id?: string;
|
|
12971
|
+
is_active?: boolean;
|
|
12972
|
+
label?: string | null;
|
|
12973
|
+
office_code?: string | null;
|
|
10993
12974
|
redirect_uri?: string | null;
|
|
10994
|
-
refresh_token?: string | null;
|
|
10995
12975
|
updated_at?: string;
|
|
10996
12976
|
user_id?: string;
|
|
10997
12977
|
};
|
|
@@ -11446,12 +13426,15 @@ export type Database = {
|
|
|
11446
13426
|
currency: string | null;
|
|
11447
13427
|
customer_code: string | null;
|
|
11448
13428
|
data: Json;
|
|
13429
|
+
deleted_at: string | null;
|
|
11449
13430
|
due_date: string | null;
|
|
11450
13431
|
fetched_at: string;
|
|
11451
13432
|
invoice_date: string | null;
|
|
11452
13433
|
invoice_number: string;
|
|
13434
|
+
lines_fetched_at: string | null;
|
|
11453
13435
|
modified_at: string | null;
|
|
11454
13436
|
outstanding_amount: number | null;
|
|
13437
|
+
paid_at: string | null;
|
|
11455
13438
|
status: string | null;
|
|
11456
13439
|
status_label: string | null;
|
|
11457
13440
|
total_excl: number | null;
|
|
@@ -11463,12 +13446,15 @@ export type Database = {
|
|
|
11463
13446
|
currency?: string | null;
|
|
11464
13447
|
customer_code?: string | null;
|
|
11465
13448
|
data?: Json;
|
|
13449
|
+
deleted_at?: string | null;
|
|
11466
13450
|
due_date?: string | null;
|
|
11467
13451
|
fetched_at?: string;
|
|
11468
13452
|
invoice_date?: string | null;
|
|
11469
13453
|
invoice_number: string;
|
|
13454
|
+
lines_fetched_at?: string | null;
|
|
11470
13455
|
modified_at?: string | null;
|
|
11471
13456
|
outstanding_amount?: number | null;
|
|
13457
|
+
paid_at?: string | null;
|
|
11472
13458
|
status?: string | null;
|
|
11473
13459
|
status_label?: string | null;
|
|
11474
13460
|
total_excl?: number | null;
|
|
@@ -11480,12 +13466,15 @@ export type Database = {
|
|
|
11480
13466
|
currency?: string | null;
|
|
11481
13467
|
customer_code?: string | null;
|
|
11482
13468
|
data?: Json;
|
|
13469
|
+
deleted_at?: string | null;
|
|
11483
13470
|
due_date?: string | null;
|
|
11484
13471
|
fetched_at?: string;
|
|
11485
13472
|
invoice_date?: string | null;
|
|
11486
13473
|
invoice_number?: string;
|
|
13474
|
+
lines_fetched_at?: string | null;
|
|
11487
13475
|
modified_at?: string | null;
|
|
11488
13476
|
outstanding_amount?: number | null;
|
|
13477
|
+
paid_at?: string | null;
|
|
11489
13478
|
status?: string | null;
|
|
11490
13479
|
status_label?: string | null;
|
|
11491
13480
|
total_excl?: number | null;
|
|
@@ -11502,30 +13491,6 @@ export type Database = {
|
|
|
11502
13491
|
}
|
|
11503
13492
|
];
|
|
11504
13493
|
};
|
|
11505
|
-
twinfield_oauth_state: {
|
|
11506
|
-
Row: {
|
|
11507
|
-
created_at: string;
|
|
11508
|
-
environment: string;
|
|
11509
|
-
nonce: string | null;
|
|
11510
|
-
state: string;
|
|
11511
|
-
user_id: string;
|
|
11512
|
-
};
|
|
11513
|
-
Insert: {
|
|
11514
|
-
created_at?: string;
|
|
11515
|
-
environment: string;
|
|
11516
|
-
nonce?: string | null;
|
|
11517
|
-
state: string;
|
|
11518
|
-
user_id: string;
|
|
11519
|
-
};
|
|
11520
|
-
Update: {
|
|
11521
|
-
created_at?: string;
|
|
11522
|
-
environment?: string;
|
|
11523
|
-
nonce?: string | null;
|
|
11524
|
-
state?: string;
|
|
11525
|
-
user_id?: string;
|
|
11526
|
-
};
|
|
11527
|
-
Relationships: [];
|
|
11528
|
-
};
|
|
11529
13494
|
twinfield_push_queue: {
|
|
11530
13495
|
Row: {
|
|
11531
13496
|
action: string;
|
|
@@ -11696,41 +13661,6 @@ export type Database = {
|
|
|
11696
13661
|
}
|
|
11697
13662
|
];
|
|
11698
13663
|
};
|
|
11699
|
-
twinfield_token_refresh_log: {
|
|
11700
|
-
Row: {
|
|
11701
|
-
attempted_at: string;
|
|
11702
|
-
connection_id: string;
|
|
11703
|
-
error: string | null;
|
|
11704
|
-
expires_at: string | null;
|
|
11705
|
-
id: string;
|
|
11706
|
-
ok: boolean;
|
|
11707
|
-
};
|
|
11708
|
-
Insert: {
|
|
11709
|
-
attempted_at?: string;
|
|
11710
|
-
connection_id: string;
|
|
11711
|
-
error?: string | null;
|
|
11712
|
-
expires_at?: string | null;
|
|
11713
|
-
id?: string;
|
|
11714
|
-
ok: boolean;
|
|
11715
|
-
};
|
|
11716
|
-
Update: {
|
|
11717
|
-
attempted_at?: string;
|
|
11718
|
-
connection_id?: string;
|
|
11719
|
-
error?: string | null;
|
|
11720
|
-
expires_at?: string | null;
|
|
11721
|
-
id?: string;
|
|
11722
|
-
ok?: boolean;
|
|
11723
|
-
};
|
|
11724
|
-
Relationships: [
|
|
11725
|
-
{
|
|
11726
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
11727
|
-
columns: ["connection_id"];
|
|
11728
|
-
isOneToOne: false;
|
|
11729
|
-
referencedRelation: "twinfield_connections";
|
|
11730
|
-
referencedColumns: ["id"];
|
|
11731
|
-
}
|
|
11732
|
-
];
|
|
11733
|
-
};
|
|
11734
13664
|
user_roles: {
|
|
11735
13665
|
Row: {
|
|
11736
13666
|
created_at: string;
|
|
@@ -11760,6 +13690,48 @@ export type Database = {
|
|
|
11760
13690
|
}
|
|
11761
13691
|
];
|
|
11762
13692
|
};
|
|
13693
|
+
voorraad_custom_fields: {
|
|
13694
|
+
Row: {
|
|
13695
|
+
created_at: string;
|
|
13696
|
+
field_key: string;
|
|
13697
|
+
field_label: string;
|
|
13698
|
+
field_type: string;
|
|
13699
|
+
id: string;
|
|
13700
|
+
options: string[];
|
|
13701
|
+
show_in_columns: boolean;
|
|
13702
|
+
show_in_detail: boolean;
|
|
13703
|
+
show_in_template: boolean;
|
|
13704
|
+
sort_order: number;
|
|
13705
|
+
updated_at: string;
|
|
13706
|
+
};
|
|
13707
|
+
Insert: {
|
|
13708
|
+
created_at?: string;
|
|
13709
|
+
field_key: string;
|
|
13710
|
+
field_label: string;
|
|
13711
|
+
field_type?: string;
|
|
13712
|
+
id?: string;
|
|
13713
|
+
options?: string[];
|
|
13714
|
+
show_in_columns?: boolean;
|
|
13715
|
+
show_in_detail?: boolean;
|
|
13716
|
+
show_in_template?: boolean;
|
|
13717
|
+
sort_order?: number;
|
|
13718
|
+
updated_at?: string;
|
|
13719
|
+
};
|
|
13720
|
+
Update: {
|
|
13721
|
+
created_at?: string;
|
|
13722
|
+
field_key?: string;
|
|
13723
|
+
field_label?: string;
|
|
13724
|
+
field_type?: string;
|
|
13725
|
+
id?: string;
|
|
13726
|
+
options?: string[];
|
|
13727
|
+
show_in_columns?: boolean;
|
|
13728
|
+
show_in_detail?: boolean;
|
|
13729
|
+
show_in_template?: boolean;
|
|
13730
|
+
sort_order?: number;
|
|
13731
|
+
updated_at?: string;
|
|
13732
|
+
};
|
|
13733
|
+
Relationships: [];
|
|
13734
|
+
};
|
|
11763
13735
|
voorraad_media_upload_failures: {
|
|
11764
13736
|
Row: {
|
|
11765
13737
|
action: string;
|
|
@@ -12437,6 +14409,9 @@ export type Database = {
|
|
|
12437
14409
|
status: string | null;
|
|
12438
14410
|
token_expires_at: string | null;
|
|
12439
14411
|
updated_at: string | null;
|
|
14412
|
+
webhook_last_attempt_at: string | null;
|
|
14413
|
+
webhook_last_error: string | null;
|
|
14414
|
+
webhook_status: string | null;
|
|
12440
14415
|
};
|
|
12441
14416
|
Insert: {
|
|
12442
14417
|
account_email?: string | null;
|
|
@@ -12471,6 +14446,9 @@ export type Database = {
|
|
|
12471
14446
|
status?: string | null;
|
|
12472
14447
|
token_expires_at?: string | null;
|
|
12473
14448
|
updated_at?: string | null;
|
|
14449
|
+
webhook_last_attempt_at?: string | null;
|
|
14450
|
+
webhook_last_error?: string | null;
|
|
14451
|
+
webhook_status?: string | null;
|
|
12474
14452
|
};
|
|
12475
14453
|
Update: {
|
|
12476
14454
|
account_email?: string | null;
|
|
@@ -12505,6 +14483,9 @@ export type Database = {
|
|
|
12505
14483
|
status?: string | null;
|
|
12506
14484
|
token_expires_at?: string | null;
|
|
12507
14485
|
updated_at?: string | null;
|
|
14486
|
+
webhook_last_attempt_at?: string | null;
|
|
14487
|
+
webhook_last_error?: string | null;
|
|
14488
|
+
webhook_status?: string | null;
|
|
12508
14489
|
};
|
|
12509
14490
|
Relationships: [];
|
|
12510
14491
|
};
|
|
@@ -12791,6 +14772,81 @@ export type Database = {
|
|
|
12791
14772
|
}
|
|
12792
14773
|
];
|
|
12793
14774
|
};
|
|
14775
|
+
v_external_customers_local: {
|
|
14776
|
+
Row: {
|
|
14777
|
+
city: string | null;
|
|
14778
|
+
commercial_name: string | null;
|
|
14779
|
+
company_name: string | null;
|
|
14780
|
+
connection_id: string | null;
|
|
14781
|
+
contact_person: string | null;
|
|
14782
|
+
country: string | null;
|
|
14783
|
+
email: string | null;
|
|
14784
|
+
external_id: string | null;
|
|
14785
|
+
fetched_at: string | null;
|
|
14786
|
+
gln: string | null;
|
|
14787
|
+
house_number: string | null;
|
|
14788
|
+
is_active: boolean | null;
|
|
14789
|
+
is_deleted: boolean | null;
|
|
14790
|
+
logo_url: string | null;
|
|
14791
|
+
phone: string | null;
|
|
14792
|
+
postal_code: string | null;
|
|
14793
|
+
provider: string | null;
|
|
14794
|
+
raw: Json | null;
|
|
14795
|
+
status: string | null;
|
|
14796
|
+
street: string | null;
|
|
14797
|
+
vat_number: string | null;
|
|
14798
|
+
website: string | null;
|
|
14799
|
+
};
|
|
14800
|
+
Insert: {
|
|
14801
|
+
city?: string | null;
|
|
14802
|
+
commercial_name?: string | null;
|
|
14803
|
+
company_name?: string | null;
|
|
14804
|
+
connection_id?: never;
|
|
14805
|
+
contact_person?: string | null;
|
|
14806
|
+
country?: string | null;
|
|
14807
|
+
email?: string | null;
|
|
14808
|
+
external_id?: never;
|
|
14809
|
+
fetched_at?: never;
|
|
14810
|
+
gln?: string | null;
|
|
14811
|
+
house_number?: string | null;
|
|
14812
|
+
is_active?: never;
|
|
14813
|
+
is_deleted?: never;
|
|
14814
|
+
logo_url?: string | null;
|
|
14815
|
+
phone?: string | null;
|
|
14816
|
+
postal_code?: string | null;
|
|
14817
|
+
provider?: never;
|
|
14818
|
+
raw?: never;
|
|
14819
|
+
status?: string | null;
|
|
14820
|
+
street?: string | null;
|
|
14821
|
+
vat_number?: string | null;
|
|
14822
|
+
website?: string | null;
|
|
14823
|
+
};
|
|
14824
|
+
Update: {
|
|
14825
|
+
city?: string | null;
|
|
14826
|
+
commercial_name?: string | null;
|
|
14827
|
+
company_name?: string | null;
|
|
14828
|
+
connection_id?: never;
|
|
14829
|
+
contact_person?: string | null;
|
|
14830
|
+
country?: string | null;
|
|
14831
|
+
email?: string | null;
|
|
14832
|
+
external_id?: never;
|
|
14833
|
+
fetched_at?: never;
|
|
14834
|
+
gln?: string | null;
|
|
14835
|
+
house_number?: string | null;
|
|
14836
|
+
is_active?: never;
|
|
14837
|
+
is_deleted?: never;
|
|
14838
|
+
logo_url?: string | null;
|
|
14839
|
+
phone?: string | null;
|
|
14840
|
+
postal_code?: string | null;
|
|
14841
|
+
provider?: never;
|
|
14842
|
+
raw?: never;
|
|
14843
|
+
status?: string | null;
|
|
14844
|
+
street?: string | null;
|
|
14845
|
+
vat_number?: string | null;
|
|
14846
|
+
website?: string | null;
|
|
14847
|
+
};
|
|
14848
|
+
Relationships: [];
|
|
14849
|
+
};
|
|
12794
14850
|
v_external_customers_twinfield: {
|
|
12795
14851
|
Row: {
|
|
12796
14852
|
city: string | null;
|
|
@@ -13725,6 +15781,170 @@ export type Database = {
|
|
|
13725
15781
|
};
|
|
13726
15782
|
Returns: string;
|
|
13727
15783
|
};
|
|
15784
|
+
pick_claim_document: {
|
|
15785
|
+
Args: {
|
|
15786
|
+
_queue_item_id: string;
|
|
15787
|
+
_screen_id: string;
|
|
15788
|
+
_session_id: string;
|
|
15789
|
+
_station_id: string;
|
|
15790
|
+
_timeout_seconds?: number;
|
|
15791
|
+
};
|
|
15792
|
+
Returns: {
|
|
15793
|
+
announced_at: string;
|
|
15794
|
+
assigned_user_id: string | null;
|
|
15795
|
+
barcode: string | null;
|
|
15796
|
+
cancelled_at: string | null;
|
|
15797
|
+
cart_count: number;
|
|
15798
|
+
completed_at: string | null;
|
|
15799
|
+
country_code: string | null;
|
|
15800
|
+
created_at: string;
|
|
15801
|
+
customer_name: string | null;
|
|
15802
|
+
delivery_address: string | null;
|
|
15803
|
+
document_number: string | null;
|
|
15804
|
+
document_type_id: string | null;
|
|
15805
|
+
due_at: string | null;
|
|
15806
|
+
id: string;
|
|
15807
|
+
is_urgent: boolean;
|
|
15808
|
+
line_count: number;
|
|
15809
|
+
order_number: string | null;
|
|
15810
|
+
order_type: string | null;
|
|
15811
|
+
payload: Json;
|
|
15812
|
+
print_count: number;
|
|
15813
|
+
printed_at: string | null;
|
|
15814
|
+
printed_by: string | null;
|
|
15815
|
+
printer_id: string | null;
|
|
15816
|
+
priority: number;
|
|
15817
|
+
reference: string | null;
|
|
15818
|
+
route: string | null;
|
|
15819
|
+
screen_id: string | null;
|
|
15820
|
+
station_id: string | null;
|
|
15821
|
+
status_id: string | null;
|
|
15822
|
+
updated_at: string;
|
|
15823
|
+
warnings: Json;
|
|
15824
|
+
};
|
|
15825
|
+
SetofOptions: {
|
|
15826
|
+
from: "*";
|
|
15827
|
+
to: "pick_queue";
|
|
15828
|
+
isOneToOne: true;
|
|
15829
|
+
isSetofReturn: false;
|
|
15830
|
+
};
|
|
15831
|
+
};
|
|
15832
|
+
pick_claim_next_document: {
|
|
15833
|
+
Args: {
|
|
15834
|
+
_country_code: string;
|
|
15835
|
+
_screen_id: string;
|
|
15836
|
+
_session_id: string;
|
|
15837
|
+
_station_id: string;
|
|
15838
|
+
_timeout_seconds?: number;
|
|
15839
|
+
};
|
|
15840
|
+
Returns: {
|
|
15841
|
+
announced_at: string;
|
|
15842
|
+
assigned_user_id: string | null;
|
|
15843
|
+
barcode: string | null;
|
|
15844
|
+
cancelled_at: string | null;
|
|
15845
|
+
cart_count: number;
|
|
15846
|
+
completed_at: string | null;
|
|
15847
|
+
country_code: string | null;
|
|
15848
|
+
created_at: string;
|
|
15849
|
+
customer_name: string | null;
|
|
15850
|
+
delivery_address: string | null;
|
|
15851
|
+
document_number: string | null;
|
|
15852
|
+
document_type_id: string | null;
|
|
15853
|
+
due_at: string | null;
|
|
15854
|
+
id: string;
|
|
15855
|
+
is_urgent: boolean;
|
|
15856
|
+
line_count: number;
|
|
15857
|
+
order_number: string | null;
|
|
15858
|
+
order_type: string | null;
|
|
15859
|
+
payload: Json;
|
|
15860
|
+
print_count: number;
|
|
15861
|
+
printed_at: string | null;
|
|
15862
|
+
printed_by: string | null;
|
|
15863
|
+
printer_id: string | null;
|
|
15864
|
+
priority: number;
|
|
15865
|
+
reference: string | null;
|
|
15866
|
+
route: string | null;
|
|
15867
|
+
screen_id: string | null;
|
|
15868
|
+
station_id: string | null;
|
|
15869
|
+
status_id: string | null;
|
|
15870
|
+
updated_at: string;
|
|
15871
|
+
warnings: Json;
|
|
15872
|
+
};
|
|
15873
|
+
SetofOptions: {
|
|
15874
|
+
from: "*";
|
|
15875
|
+
to: "pick_queue";
|
|
15876
|
+
isOneToOne: true;
|
|
15877
|
+
isSetofReturn: false;
|
|
15878
|
+
};
|
|
15879
|
+
};
|
|
15880
|
+
pick_complete_print: {
|
|
15881
|
+
Args: {
|
|
15882
|
+
_printer_id: string;
|
|
15883
|
+
_queue_item_id: string;
|
|
15884
|
+
_session_id: string;
|
|
15885
|
+
};
|
|
15886
|
+
Returns: {
|
|
15887
|
+
announced_at: string;
|
|
15888
|
+
assigned_user_id: string | null;
|
|
15889
|
+
barcode: string | null;
|
|
15890
|
+
cancelled_at: string | null;
|
|
15891
|
+
cart_count: number;
|
|
15892
|
+
completed_at: string | null;
|
|
15893
|
+
country_code: string | null;
|
|
15894
|
+
created_at: string;
|
|
15895
|
+
customer_name: string | null;
|
|
15896
|
+
delivery_address: string | null;
|
|
15897
|
+
document_number: string | null;
|
|
15898
|
+
document_type_id: string | null;
|
|
15899
|
+
due_at: string | null;
|
|
15900
|
+
id: string;
|
|
15901
|
+
is_urgent: boolean;
|
|
15902
|
+
line_count: number;
|
|
15903
|
+
order_number: string | null;
|
|
15904
|
+
order_type: string | null;
|
|
15905
|
+
payload: Json;
|
|
15906
|
+
print_count: number;
|
|
15907
|
+
printed_at: string | null;
|
|
15908
|
+
printed_by: string | null;
|
|
15909
|
+
printer_id: string | null;
|
|
15910
|
+
priority: number;
|
|
15911
|
+
reference: string | null;
|
|
15912
|
+
route: string | null;
|
|
15913
|
+
screen_id: string | null;
|
|
15914
|
+
station_id: string | null;
|
|
15915
|
+
status_id: string | null;
|
|
15916
|
+
updated_at: string;
|
|
15917
|
+
warnings: Json;
|
|
15918
|
+
};
|
|
15919
|
+
SetofOptions: {
|
|
15920
|
+
from: "*";
|
|
15921
|
+
to: "pick_queue";
|
|
15922
|
+
isOneToOne: true;
|
|
15923
|
+
isSetofReturn: false;
|
|
15924
|
+
};
|
|
15925
|
+
};
|
|
15926
|
+
pick_release_expired_locks: {
|
|
15927
|
+
Args: never;
|
|
15928
|
+
Returns: number;
|
|
15929
|
+
};
|
|
15930
|
+
pick_release_lock: {
|
|
15931
|
+
Args: {
|
|
15932
|
+
_queue_item_id: string;
|
|
15933
|
+
};
|
|
15934
|
+
Returns: undefined;
|
|
15935
|
+
};
|
|
15936
|
+
pick_station_dashboard: {
|
|
15937
|
+
Args: never;
|
|
15938
|
+
Returns: {
|
|
15939
|
+
active: number;
|
|
15940
|
+
active_sessions: number;
|
|
15941
|
+
avg_wait_seconds: number;
|
|
15942
|
+
done_today: number;
|
|
15943
|
+
station_id: string;
|
|
15944
|
+
station_name: string;
|
|
15945
|
+
waiting: number;
|
|
15946
|
+
}[];
|
|
15947
|
+
};
|
|
13728
15948
|
pickstation_get_orders_raw: {
|
|
13729
15949
|
Args: never;
|
|
13730
15950
|
Returns: Json;
|
|
@@ -13826,6 +16046,13 @@ export type Database = {
|
|
|
13826
16046
|
};
|
|
13827
16047
|
Returns: number;
|
|
13828
16048
|
};
|
|
16049
|
+
release_debtor_lock: {
|
|
16050
|
+
Args: {
|
|
16051
|
+
_group_key: string;
|
|
16052
|
+
_user_id: string;
|
|
16053
|
+
};
|
|
16054
|
+
Returns: boolean;
|
|
16055
|
+
};
|
|
13829
16056
|
reorder_customer_price_groups: {
|
|
13830
16057
|
Args: {
|
|
13831
16058
|
_ids: string[];
|
|
@@ -14205,15 +16432,30 @@ export type Database = {
|
|
|
14205
16432
|
};
|
|
14206
16433
|
Returns: undefined;
|
|
14207
16434
|
};
|
|
14208
|
-
|
|
16435
|
+
try_debtor_lock: {
|
|
14209
16436
|
Args: {
|
|
14210
|
-
|
|
16437
|
+
_group_key: string;
|
|
16438
|
+
_user_id: string;
|
|
14211
16439
|
};
|
|
14212
|
-
Returns:
|
|
16440
|
+
Returns: boolean;
|
|
14213
16441
|
};
|
|
14214
|
-
|
|
16442
|
+
twinfield_register_cron: {
|
|
14215
16443
|
Args: {
|
|
14216
|
-
|
|
16444
|
+
apikey: string;
|
|
16445
|
+
base_url: string;
|
|
16446
|
+
};
|
|
16447
|
+
Returns: Json;
|
|
16448
|
+
};
|
|
16449
|
+
twinfield_upsert_connection_by_account_key: {
|
|
16450
|
+
Args: {
|
|
16451
|
+
p_account_key: string;
|
|
16452
|
+
p_cluster_uri?: string;
|
|
16453
|
+
p_company_code?: string;
|
|
16454
|
+
p_company_name?: string;
|
|
16455
|
+
p_environment: string;
|
|
16456
|
+
p_office_code?: string;
|
|
16457
|
+
p_status?: string;
|
|
16458
|
+
p_user_id: string;
|
|
14217
16459
|
};
|
|
14218
16460
|
Returns: string;
|
|
14219
16461
|
};
|
|
@@ -14230,12 +16472,18 @@ export type Database = {
|
|
|
14230
16472
|
};
|
|
14231
16473
|
};
|
|
14232
16474
|
Enums: {
|
|
16475
|
+
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
14233
16476
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
16477
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
16478
|
+
doc_orientation: "portrait" | "landscape";
|
|
14234
16479
|
exact_env: "staging" | "live";
|
|
14235
16480
|
exact_push_status: "pending" | "sent" | "error";
|
|
14236
16481
|
itk_customer_segment: "Business" | "Private";
|
|
14237
16482
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
14238
16483
|
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
16484
|
+
print_job_status: "wachtend" | "bezig" | "voltooid" | "mislukt" | "geannuleerd";
|
|
16485
|
+
printer_connection: "ipp" | "raw9100" | "printnode" | "cups" | "usb" | "windows" | "airprint" | "cloud";
|
|
16486
|
+
printer_kind: "labelprinter" | "laserprinter" | "inkjet" | "thermal" | "kantoorprinter" | "overig";
|
|
14239
16487
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
14240
16488
|
};
|
|
14241
16489
|
CompositeTypes: {
|
|
@@ -14295,12 +16543,18 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
14295
16543
|
export declare const Constants: {
|
|
14296
16544
|
readonly public: {
|
|
14297
16545
|
readonly Enums: {
|
|
16546
|
+
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
14298
16547
|
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
16548
|
+
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
16549
|
+
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
14299
16550
|
readonly exact_env: readonly ["staging", "live"];
|
|
14300
16551
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|
|
14301
16552
|
readonly itk_customer_segment: readonly ["Business", "Private"];
|
|
14302
16553
|
readonly itk_dynamic_field_type: readonly ["text", "select", "date", "checkbox"];
|
|
14303
16554
|
readonly planning_item_status: readonly ["gepland", "bezig", "afgerond", "geannuleerd", "concept", "vrijgegeven"];
|
|
16555
|
+
readonly print_job_status: readonly ["wachtend", "bezig", "voltooid", "mislukt", "geannuleerd"];
|
|
16556
|
+
readonly printer_connection: readonly ["ipp", "raw9100", "printnode", "cups", "usb", "windows", "airprint", "cloud"];
|
|
16557
|
+
readonly printer_kind: readonly ["labelprinter", "laserprinter", "inkjet", "thermal", "kantoorprinter", "overig"];
|
|
14304
16558
|
readonly quote_status: readonly ["concept", "verzonden", "bekeken", "in_behandeling", "geaccepteerd", "afgewezen", "verlopen", "gearchiveerd"];
|
|
14305
16559
|
};
|
|
14306
16560
|
};
|