@flowselections/floriday-afhandeling-module 1.0.123 → 1.0.124
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/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +18 -2
- package/dist-lib/components/afhandeling/DagDetailDialog.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/hooks/useCapacityDayOrders.d.ts +1 -1
- package/dist-lib/hooks/useCapacityDayOrders.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderBuffers.d.ts +2 -2
- package/dist-lib/hooks/useOrderBuffers.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderMeldingen.d.ts +1 -1
- package/dist-lib/hooks/useOrderMeldingen.d.ts.map +1 -1
- package/dist-lib/hooks/usePickMode.d.ts +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +408 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/orderInzicht.d.ts +12 -0
- package/dist-lib/lib/orderInzicht.d.ts.map +1 -1
- package/dist-lib/lib/orderInzicht.js +10 -0
- package/package.json +1 -1
- package/schema/90_afhandeling.sql +2 -1
|
@@ -394,6 +394,39 @@ export type Database = {
|
|
|
394
394
|
};
|
|
395
395
|
Relationships: [];
|
|
396
396
|
};
|
|
397
|
+
afh_belading_vangnet: {
|
|
398
|
+
Row: {
|
|
399
|
+
bijgewerkt_at: string;
|
|
400
|
+
levering_sleutel: string;
|
|
401
|
+
opgelost_at: string | null;
|
|
402
|
+
order_id: string;
|
|
403
|
+
order_ids: string[];
|
|
404
|
+
ordernummers: string | null;
|
|
405
|
+
reden: string | null;
|
|
406
|
+
sinds: string;
|
|
407
|
+
};
|
|
408
|
+
Insert: {
|
|
409
|
+
bijgewerkt_at?: string;
|
|
410
|
+
levering_sleutel: string;
|
|
411
|
+
opgelost_at?: string | null;
|
|
412
|
+
order_id: string;
|
|
413
|
+
order_ids?: string[];
|
|
414
|
+
ordernummers?: string | null;
|
|
415
|
+
reden?: string | null;
|
|
416
|
+
sinds?: string;
|
|
417
|
+
};
|
|
418
|
+
Update: {
|
|
419
|
+
bijgewerkt_at?: string;
|
|
420
|
+
levering_sleutel?: string;
|
|
421
|
+
opgelost_at?: string | null;
|
|
422
|
+
order_id?: string;
|
|
423
|
+
order_ids?: string[];
|
|
424
|
+
ordernummers?: string | null;
|
|
425
|
+
reden?: string | null;
|
|
426
|
+
sinds?: string;
|
|
427
|
+
};
|
|
428
|
+
Relationships: [];
|
|
429
|
+
};
|
|
397
430
|
afh_cmr_stand: {
|
|
398
431
|
Row: {
|
|
399
432
|
code: string;
|
|
@@ -13290,6 +13323,13 @@ export type Database = {
|
|
|
13290
13323
|
referencedRelation: "werkbonnen";
|
|
13291
13324
|
referencedColumns: ["id"];
|
|
13292
13325
|
},
|
|
13326
|
+
{
|
|
13327
|
+
foreignKeyName: "invoices_werkbon_id_fkey";
|
|
13328
|
+
columns: ["werkbon_id"];
|
|
13329
|
+
isOneToOne: false;
|
|
13330
|
+
referencedRelation: "werkbonnen_lijst";
|
|
13331
|
+
referencedColumns: ["id"];
|
|
13332
|
+
},
|
|
13293
13333
|
{
|
|
13294
13334
|
foreignKeyName: "invoices_werkbon_id_fkey";
|
|
13295
13335
|
columns: ["werkbon_id"];
|
|
@@ -14738,6 +14778,13 @@ export type Database = {
|
|
|
14738
14778
|
referencedRelation: "werkbonnen";
|
|
14739
14779
|
referencedColumns: ["id"];
|
|
14740
14780
|
},
|
|
14781
|
+
{
|
|
14782
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
14783
|
+
columns: ["follow_up_werkbon_id"];
|
|
14784
|
+
isOneToOne: false;
|
|
14785
|
+
referencedRelation: "werkbonnen_lijst";
|
|
14786
|
+
referencedColumns: ["id"];
|
|
14787
|
+
},
|
|
14741
14788
|
{
|
|
14742
14789
|
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
14743
14790
|
columns: ["follow_up_werkbon_id"];
|
|
@@ -14752,6 +14799,13 @@ export type Database = {
|
|
|
14752
14799
|
referencedRelation: "werkbonnen";
|
|
14753
14800
|
referencedColumns: ["id"];
|
|
14754
14801
|
},
|
|
14802
|
+
{
|
|
14803
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
14804
|
+
columns: ["werkbon_id"];
|
|
14805
|
+
isOneToOne: false;
|
|
14806
|
+
referencedRelation: "werkbonnen_lijst";
|
|
14807
|
+
referencedColumns: ["id"];
|
|
14808
|
+
},
|
|
14755
14809
|
{
|
|
14756
14810
|
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
14757
14811
|
columns: ["werkbon_id"];
|
|
@@ -27772,6 +27826,13 @@ export type Database = {
|
|
|
27772
27826
|
isOneToOne: false;
|
|
27773
27827
|
referencedRelation: "planning_overview";
|
|
27774
27828
|
referencedColumns: ["id"];
|
|
27829
|
+
},
|
|
27830
|
+
{
|
|
27831
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
27832
|
+
columns: ["planning_item_id"];
|
|
27833
|
+
isOneToOne: false;
|
|
27834
|
+
referencedRelation: "werkbonnen_lijst";
|
|
27835
|
+
referencedColumns: ["planning_item_id"];
|
|
27775
27836
|
}
|
|
27776
27837
|
];
|
|
27777
27838
|
};
|
|
@@ -27808,6 +27869,13 @@ export type Database = {
|
|
|
27808
27869
|
isOneToOne: false;
|
|
27809
27870
|
referencedRelation: "planning_overview";
|
|
27810
27871
|
referencedColumns: ["id"];
|
|
27872
|
+
},
|
|
27873
|
+
{
|
|
27874
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
27875
|
+
columns: ["planning_item_id"];
|
|
27876
|
+
isOneToOne: false;
|
|
27877
|
+
referencedRelation: "werkbonnen_lijst";
|
|
27878
|
+
referencedColumns: ["planning_item_id"];
|
|
27811
27879
|
}
|
|
27812
27880
|
];
|
|
27813
27881
|
};
|
|
@@ -27856,6 +27924,13 @@ export type Database = {
|
|
|
27856
27924
|
referencedRelation: "werkbonnen";
|
|
27857
27925
|
referencedColumns: ["id"];
|
|
27858
27926
|
},
|
|
27927
|
+
{
|
|
27928
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
27929
|
+
columns: ["werkbon_id"];
|
|
27930
|
+
isOneToOne: false;
|
|
27931
|
+
referencedRelation: "werkbonnen_lijst";
|
|
27932
|
+
referencedColumns: ["id"];
|
|
27933
|
+
},
|
|
27859
27934
|
{
|
|
27860
27935
|
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
27861
27936
|
columns: ["werkbon_id"];
|
|
@@ -28075,6 +28150,13 @@ export type Database = {
|
|
|
28075
28150
|
isOneToOne: true;
|
|
28076
28151
|
referencedRelation: "planning_overview";
|
|
28077
28152
|
referencedColumns: ["id"];
|
|
28153
|
+
},
|
|
28154
|
+
{
|
|
28155
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
28156
|
+
columns: ["planning_item_id"];
|
|
28157
|
+
isOneToOne: true;
|
|
28158
|
+
referencedRelation: "werkbonnen_lijst";
|
|
28159
|
+
referencedColumns: ["planning_item_id"];
|
|
28078
28160
|
}
|
|
28079
28161
|
];
|
|
28080
28162
|
};
|
|
@@ -28120,6 +28202,13 @@ export type Database = {
|
|
|
28120
28202
|
isOneToOne: false;
|
|
28121
28203
|
referencedRelation: "planning_overview";
|
|
28122
28204
|
referencedColumns: ["id"];
|
|
28205
|
+
},
|
|
28206
|
+
{
|
|
28207
|
+
foreignKeyName: "planning_overrun_mail_log_planning_item_id_fkey";
|
|
28208
|
+
columns: ["planning_item_id"];
|
|
28209
|
+
isOneToOne: false;
|
|
28210
|
+
referencedRelation: "werkbonnen_lijst";
|
|
28211
|
+
referencedColumns: ["planning_item_id"];
|
|
28123
28212
|
}
|
|
28124
28213
|
];
|
|
28125
28214
|
};
|
|
@@ -28225,6 +28314,13 @@ export type Database = {
|
|
|
28225
28314
|
isOneToOne: false;
|
|
28226
28315
|
referencedRelation: "planning_overview";
|
|
28227
28316
|
referencedColumns: ["id"];
|
|
28317
|
+
},
|
|
28318
|
+
{
|
|
28319
|
+
foreignKeyName: "planning_status_history_planning_item_id_fkey";
|
|
28320
|
+
columns: ["planning_item_id"];
|
|
28321
|
+
isOneToOne: false;
|
|
28322
|
+
referencedRelation: "werkbonnen_lijst";
|
|
28323
|
+
referencedColumns: ["planning_item_id"];
|
|
28228
28324
|
}
|
|
28229
28325
|
];
|
|
28230
28326
|
};
|
|
@@ -28304,6 +28400,13 @@ export type Database = {
|
|
|
28304
28400
|
referencedRelation: "planning_overview";
|
|
28305
28401
|
referencedColumns: ["id"];
|
|
28306
28402
|
},
|
|
28403
|
+
{
|
|
28404
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
28405
|
+
columns: ["planning_item_id"];
|
|
28406
|
+
isOneToOne: false;
|
|
28407
|
+
referencedRelation: "werkbonnen_lijst";
|
|
28408
|
+
referencedColumns: ["planning_item_id"];
|
|
28409
|
+
},
|
|
28307
28410
|
{
|
|
28308
28411
|
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
28309
28412
|
columns: ["shared_after_item_id"];
|
|
@@ -28318,6 +28421,13 @@ export type Database = {
|
|
|
28318
28421
|
referencedRelation: "planning_overview";
|
|
28319
28422
|
referencedColumns: ["id"];
|
|
28320
28423
|
},
|
|
28424
|
+
{
|
|
28425
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
28426
|
+
columns: ["shared_after_item_id"];
|
|
28427
|
+
isOneToOne: false;
|
|
28428
|
+
referencedRelation: "werkbonnen_lijst";
|
|
28429
|
+
referencedColumns: ["planning_item_id"];
|
|
28430
|
+
},
|
|
28321
28431
|
{
|
|
28322
28432
|
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
28323
28433
|
columns: ["shared_before_item_id"];
|
|
@@ -28331,6 +28441,13 @@ export type Database = {
|
|
|
28331
28441
|
isOneToOne: false;
|
|
28332
28442
|
referencedRelation: "planning_overview";
|
|
28333
28443
|
referencedColumns: ["id"];
|
|
28444
|
+
},
|
|
28445
|
+
{
|
|
28446
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
28447
|
+
columns: ["shared_before_item_id"];
|
|
28448
|
+
isOneToOne: false;
|
|
28449
|
+
referencedRelation: "werkbonnen_lijst";
|
|
28450
|
+
referencedColumns: ["planning_item_id"];
|
|
28334
28451
|
}
|
|
28335
28452
|
];
|
|
28336
28453
|
};
|
|
@@ -33845,6 +33962,13 @@ export type Database = {
|
|
|
33845
33962
|
referencedRelation: "werkbonnen";
|
|
33846
33963
|
referencedColumns: ["id"];
|
|
33847
33964
|
},
|
|
33965
|
+
{
|
|
33966
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
33967
|
+
columns: ["work_order_id"];
|
|
33968
|
+
isOneToOne: false;
|
|
33969
|
+
referencedRelation: "werkbonnen_lijst";
|
|
33970
|
+
referencedColumns: ["id"];
|
|
33971
|
+
},
|
|
33848
33972
|
{
|
|
33849
33973
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
33850
33974
|
columns: ["work_order_id"];
|
|
@@ -35902,6 +36026,13 @@ export type Database = {
|
|
|
35902
36026
|
referencedRelation: "werkbonnen";
|
|
35903
36027
|
referencedColumns: ["id"];
|
|
35904
36028
|
},
|
|
36029
|
+
{
|
|
36030
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
36031
|
+
columns: ["werkbon_id"];
|
|
36032
|
+
isOneToOne: false;
|
|
36033
|
+
referencedRelation: "werkbonnen_lijst";
|
|
36034
|
+
referencedColumns: ["id"];
|
|
36035
|
+
},
|
|
35905
36036
|
{
|
|
35906
36037
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
35907
36038
|
columns: ["werkbon_id"];
|
|
@@ -39230,6 +39361,13 @@ export type Database = {
|
|
|
39230
39361
|
referencedRelation: "werkbonnen";
|
|
39231
39362
|
referencedColumns: ["id"];
|
|
39232
39363
|
},
|
|
39364
|
+
{
|
|
39365
|
+
foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
|
|
39366
|
+
columns: ["werkbon_id"];
|
|
39367
|
+
isOneToOne: true;
|
|
39368
|
+
referencedRelation: "werkbonnen_lijst";
|
|
39369
|
+
referencedColumns: ["id"];
|
|
39370
|
+
},
|
|
39233
39371
|
{
|
|
39234
39372
|
foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
|
|
39235
39373
|
columns: ["werkbon_id"];
|
|
@@ -39367,6 +39505,13 @@ export type Database = {
|
|
|
39367
39505
|
referencedRelation: "werkbonnen";
|
|
39368
39506
|
referencedColumns: ["id"];
|
|
39369
39507
|
},
|
|
39508
|
+
{
|
|
39509
|
+
foreignKeyName: "werkbon_formulieren_werkbon_id_fkey";
|
|
39510
|
+
columns: ["werkbon_id"];
|
|
39511
|
+
isOneToOne: false;
|
|
39512
|
+
referencedRelation: "werkbonnen_lijst";
|
|
39513
|
+
referencedColumns: ["id"];
|
|
39514
|
+
},
|
|
39370
39515
|
{
|
|
39371
39516
|
foreignKeyName: "werkbon_formulieren_werkbon_id_fkey";
|
|
39372
39517
|
columns: ["werkbon_id"];
|
|
@@ -39621,6 +39766,13 @@ export type Database = {
|
|
|
39621
39766
|
referencedRelation: "werkbonnen";
|
|
39622
39767
|
referencedColumns: ["id"];
|
|
39623
39768
|
},
|
|
39769
|
+
{
|
|
39770
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
39771
|
+
columns: ["werkbon_id"];
|
|
39772
|
+
isOneToOne: false;
|
|
39773
|
+
referencedRelation: "werkbonnen_lijst";
|
|
39774
|
+
referencedColumns: ["id"];
|
|
39775
|
+
},
|
|
39624
39776
|
{
|
|
39625
39777
|
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
39626
39778
|
columns: ["werkbon_id"];
|
|
@@ -39729,6 +39881,13 @@ export type Database = {
|
|
|
39729
39881
|
referencedRelation: "werkbonnen";
|
|
39730
39882
|
referencedColumns: ["id"];
|
|
39731
39883
|
},
|
|
39884
|
+
{
|
|
39885
|
+
foreignKeyName: "werkbon_notes_werkbon_id_fkey";
|
|
39886
|
+
columns: ["werkbon_id"];
|
|
39887
|
+
isOneToOne: false;
|
|
39888
|
+
referencedRelation: "werkbonnen_lijst";
|
|
39889
|
+
referencedColumns: ["id"];
|
|
39890
|
+
},
|
|
39732
39891
|
{
|
|
39733
39892
|
foreignKeyName: "werkbon_notes_werkbon_id_fkey";
|
|
39734
39893
|
columns: ["werkbon_id"];
|
|
@@ -39960,6 +40119,13 @@ export type Database = {
|
|
|
39960
40119
|
referencedRelation: "werkbonnen";
|
|
39961
40120
|
referencedColumns: ["id"];
|
|
39962
40121
|
},
|
|
40122
|
+
{
|
|
40123
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
40124
|
+
columns: ["werkbon_id"];
|
|
40125
|
+
isOneToOne: false;
|
|
40126
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40127
|
+
referencedColumns: ["id"];
|
|
40128
|
+
},
|
|
39963
40129
|
{
|
|
39964
40130
|
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
39965
40131
|
columns: ["werkbon_id"];
|
|
@@ -40136,6 +40302,13 @@ export type Database = {
|
|
|
40136
40302
|
referencedRelation: "werkbonnen";
|
|
40137
40303
|
referencedColumns: ["id"];
|
|
40138
40304
|
},
|
|
40305
|
+
{
|
|
40306
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
40307
|
+
columns: ["werkbon_id"];
|
|
40308
|
+
isOneToOne: false;
|
|
40309
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40310
|
+
referencedColumns: ["id"];
|
|
40311
|
+
},
|
|
40139
40312
|
{
|
|
40140
40313
|
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
40141
40314
|
columns: ["werkbon_id"];
|
|
@@ -40468,6 +40641,13 @@ export type Database = {
|
|
|
40468
40641
|
referencedRelation: "werkbonnen";
|
|
40469
40642
|
referencedColumns: ["id"];
|
|
40470
40643
|
},
|
|
40644
|
+
{
|
|
40645
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
40646
|
+
columns: ["werkbon_id"];
|
|
40647
|
+
isOneToOne: false;
|
|
40648
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40649
|
+
referencedColumns: ["id"];
|
|
40650
|
+
},
|
|
40471
40651
|
{
|
|
40472
40652
|
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
40473
40653
|
columns: ["werkbon_id"];
|
|
@@ -40534,6 +40714,13 @@ export type Database = {
|
|
|
40534
40714
|
referencedRelation: "werkbonnen";
|
|
40535
40715
|
referencedColumns: ["id"];
|
|
40536
40716
|
},
|
|
40717
|
+
{
|
|
40718
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
40719
|
+
columns: ["werkbon_id"];
|
|
40720
|
+
isOneToOne: false;
|
|
40721
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40722
|
+
referencedColumns: ["id"];
|
|
40723
|
+
},
|
|
40537
40724
|
{
|
|
40538
40725
|
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
40539
40726
|
columns: ["werkbon_id"];
|
|
@@ -40567,6 +40754,13 @@ export type Database = {
|
|
|
40567
40754
|
referencedRelation: "werkbonnen";
|
|
40568
40755
|
referencedColumns: ["id"];
|
|
40569
40756
|
},
|
|
40757
|
+
{
|
|
40758
|
+
foreignKeyName: "werkbon_vereiste_competenties_werkbon_id_fkey";
|
|
40759
|
+
columns: ["werkbon_id"];
|
|
40760
|
+
isOneToOne: false;
|
|
40761
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40762
|
+
referencedColumns: ["id"];
|
|
40763
|
+
},
|
|
40570
40764
|
{
|
|
40571
40765
|
foreignKeyName: "werkbon_vereiste_competenties_werkbon_id_fkey";
|
|
40572
40766
|
columns: ["werkbon_id"];
|
|
@@ -40633,6 +40827,13 @@ export type Database = {
|
|
|
40633
40827
|
referencedRelation: "werkbonnen";
|
|
40634
40828
|
referencedColumns: ["id"];
|
|
40635
40829
|
},
|
|
40830
|
+
{
|
|
40831
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
40832
|
+
columns: ["bron_werkbon_id"];
|
|
40833
|
+
isOneToOne: false;
|
|
40834
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40835
|
+
referencedColumns: ["id"];
|
|
40836
|
+
},
|
|
40636
40837
|
{
|
|
40637
40838
|
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
40638
40839
|
columns: ["bron_werkbon_id"];
|
|
@@ -40647,6 +40848,13 @@ export type Database = {
|
|
|
40647
40848
|
referencedRelation: "werkbonnen";
|
|
40648
40849
|
referencedColumns: ["id"];
|
|
40649
40850
|
},
|
|
40851
|
+
{
|
|
40852
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
40853
|
+
columns: ["werkbon_id"];
|
|
40854
|
+
isOneToOne: false;
|
|
40855
|
+
referencedRelation: "werkbonnen_lijst";
|
|
40856
|
+
referencedColumns: ["id"];
|
|
40857
|
+
},
|
|
40650
40858
|
{
|
|
40651
40859
|
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
40652
40860
|
columns: ["werkbon_id"];
|
|
@@ -40679,6 +40887,7 @@ export type Database = {
|
|
|
40679
40887
|
import_batch_id: string | null;
|
|
40680
40888
|
import_bestand: string | null;
|
|
40681
40889
|
import_status: string | null;
|
|
40890
|
+
import_was_gereed: boolean;
|
|
40682
40891
|
internal_notes: string | null;
|
|
40683
40892
|
klant_adres_bron: string | null;
|
|
40684
40893
|
monteur_naam_historisch: string | null;
|
|
@@ -40738,6 +40947,7 @@ export type Database = {
|
|
|
40738
40947
|
import_batch_id?: string | null;
|
|
40739
40948
|
import_bestand?: string | null;
|
|
40740
40949
|
import_status?: string | null;
|
|
40950
|
+
import_was_gereed?: boolean;
|
|
40741
40951
|
internal_notes?: string | null;
|
|
40742
40952
|
klant_adres_bron?: string | null;
|
|
40743
40953
|
monteur_naam_historisch?: string | null;
|
|
@@ -40797,6 +41007,7 @@ export type Database = {
|
|
|
40797
41007
|
import_batch_id?: string | null;
|
|
40798
41008
|
import_bestand?: string | null;
|
|
40799
41009
|
import_status?: string | null;
|
|
41010
|
+
import_was_gereed?: boolean;
|
|
40800
41011
|
internal_notes?: string | null;
|
|
40801
41012
|
klant_adres_bron?: string | null;
|
|
40802
41013
|
monteur_naam_historisch?: string | null;
|
|
@@ -40842,6 +41053,13 @@ export type Database = {
|
|
|
40842
41053
|
referencedRelation: "werkbonnen";
|
|
40843
41054
|
referencedColumns: ["id"];
|
|
40844
41055
|
},
|
|
41056
|
+
{
|
|
41057
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
41058
|
+
columns: ["parent_werkbon_id"];
|
|
41059
|
+
isOneToOne: false;
|
|
41060
|
+
referencedRelation: "werkbonnen_lijst";
|
|
41061
|
+
referencedColumns: ["id"];
|
|
41062
|
+
},
|
|
40845
41063
|
{
|
|
40846
41064
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
40847
41065
|
columns: ["parent_werkbon_id"];
|
|
@@ -41731,6 +41949,13 @@ export type Database = {
|
|
|
41731
41949
|
referencedRelation: "werkbonnen";
|
|
41732
41950
|
referencedColumns: ["id"];
|
|
41733
41951
|
},
|
|
41952
|
+
{
|
|
41953
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
41954
|
+
columns: ["werkbon_id"];
|
|
41955
|
+
isOneToOne: false;
|
|
41956
|
+
referencedRelation: "werkbonnen_lijst";
|
|
41957
|
+
referencedColumns: ["id"];
|
|
41958
|
+
},
|
|
41734
41959
|
{
|
|
41735
41960
|
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
41736
41961
|
columns: ["werkbon_id"];
|
|
@@ -42223,6 +42448,13 @@ export type Database = {
|
|
|
42223
42448
|
referencedRelation: "werkbonnen";
|
|
42224
42449
|
referencedColumns: ["id"];
|
|
42225
42450
|
},
|
|
42451
|
+
{
|
|
42452
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
42453
|
+
columns: ["werkbon_id"];
|
|
42454
|
+
isOneToOne: false;
|
|
42455
|
+
referencedRelation: "werkbonnen_lijst";
|
|
42456
|
+
referencedColumns: ["id"];
|
|
42457
|
+
},
|
|
42226
42458
|
{
|
|
42227
42459
|
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
42228
42460
|
columns: ["werkbon_id"];
|
|
@@ -42232,6 +42464,80 @@ export type Database = {
|
|
|
42232
42464
|
}
|
|
42233
42465
|
];
|
|
42234
42466
|
};
|
|
42467
|
+
werkbonnen_lijst: {
|
|
42468
|
+
Row: {
|
|
42469
|
+
afgerond_op: string | null;
|
|
42470
|
+
assigned_user_id: string | null;
|
|
42471
|
+
boom_pad: string[] | null;
|
|
42472
|
+
budget_mandate_cents: number | null;
|
|
42473
|
+
complaint_description: string | null;
|
|
42474
|
+
created_at: string | null;
|
|
42475
|
+
customer_id: string | null;
|
|
42476
|
+
depth: number | null;
|
|
42477
|
+
estimated_duration_minutes: number | null;
|
|
42478
|
+
factuur_blok: boolean | null;
|
|
42479
|
+
factuur_root_datum: string | null;
|
|
42480
|
+
factuur_root_id: string | null;
|
|
42481
|
+
factuur_status: string | null;
|
|
42482
|
+
factuur_telt: boolean | null;
|
|
42483
|
+
first_time_fix: boolean | null;
|
|
42484
|
+
gereed_door_planner: boolean | null;
|
|
42485
|
+
has_planning_item: boolean | null;
|
|
42486
|
+
herkomst_label: string | null;
|
|
42487
|
+
id: string | null;
|
|
42488
|
+
import_batch_id: string | null;
|
|
42489
|
+
import_was_gereed: boolean | null;
|
|
42490
|
+
invoice_number: string | null;
|
|
42491
|
+
klantnaam: string | null;
|
|
42492
|
+
klusdatum: string | null;
|
|
42493
|
+
monteurnaam: string | null;
|
|
42494
|
+
needs_detail_review: boolean | null;
|
|
42495
|
+
offerte_teruggestuurd_id: string | null;
|
|
42496
|
+
ooit_factuur: boolean | null;
|
|
42497
|
+
oud_bonnummer: string | null;
|
|
42498
|
+
parent_werkbon_id: string | null;
|
|
42499
|
+
planning_end: string | null;
|
|
42500
|
+
planning_item_id: string | null;
|
|
42501
|
+
planning_monteur_id: string | null;
|
|
42502
|
+
planning_rank: number | null;
|
|
42503
|
+
planning_start: string | null;
|
|
42504
|
+
planning_status: string | null;
|
|
42505
|
+
project_number: string | null;
|
|
42506
|
+
review_reasons: string[] | null;
|
|
42507
|
+
room_number: string | null;
|
|
42508
|
+
scheduled_start_time: string | null;
|
|
42509
|
+
source_type: string | null;
|
|
42510
|
+
status: string | null;
|
|
42511
|
+
status_rank: number | null;
|
|
42512
|
+
technician_id: string | null;
|
|
42513
|
+
technician_task_description: string | null;
|
|
42514
|
+
updated_at: string | null;
|
|
42515
|
+
work_address: string | null;
|
|
42516
|
+
};
|
|
42517
|
+
Relationships: [
|
|
42518
|
+
{
|
|
42519
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
42520
|
+
columns: ["parent_werkbon_id"];
|
|
42521
|
+
isOneToOne: false;
|
|
42522
|
+
referencedRelation: "werkbonnen";
|
|
42523
|
+
referencedColumns: ["id"];
|
|
42524
|
+
},
|
|
42525
|
+
{
|
|
42526
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
42527
|
+
columns: ["parent_werkbon_id"];
|
|
42528
|
+
isOneToOne: false;
|
|
42529
|
+
referencedRelation: "werkbonnen_lijst";
|
|
42530
|
+
referencedColumns: ["id"];
|
|
42531
|
+
},
|
|
42532
|
+
{
|
|
42533
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
42534
|
+
columns: ["parent_werkbon_id"];
|
|
42535
|
+
isOneToOne: false;
|
|
42536
|
+
referencedRelation: "wo_overview";
|
|
42537
|
+
referencedColumns: ["id"];
|
|
42538
|
+
}
|
|
42539
|
+
];
|
|
42540
|
+
};
|
|
42235
42541
|
wo_overview: {
|
|
42236
42542
|
Row: {
|
|
42237
42543
|
assigned_user_id: string | null;
|
|
@@ -42295,6 +42601,13 @@ export type Database = {
|
|
|
42295
42601
|
referencedRelation: "werkbonnen";
|
|
42296
42602
|
referencedColumns: ["id"];
|
|
42297
42603
|
},
|
|
42604
|
+
{
|
|
42605
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
42606
|
+
columns: ["parent_werkbon_id"];
|
|
42607
|
+
isOneToOne: false;
|
|
42608
|
+
referencedRelation: "werkbonnen_lijst";
|
|
42609
|
+
referencedColumns: ["id"];
|
|
42610
|
+
},
|
|
42298
42611
|
{
|
|
42299
42612
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
42300
42613
|
columns: ["parent_werkbon_id"];
|
|
@@ -42337,6 +42650,15 @@ export type Database = {
|
|
|
42337
42650
|
};
|
|
42338
42651
|
Returns: string;
|
|
42339
42652
|
};
|
|
42653
|
+
_afh_afleverbrief_regels: {
|
|
42654
|
+
Args: {
|
|
42655
|
+
p_cart_id: string;
|
|
42656
|
+
p_order_id: string;
|
|
42657
|
+
p_ordernummer: string;
|
|
42658
|
+
p_stickers: Json;
|
|
42659
|
+
};
|
|
42660
|
+
Returns: Json;
|
|
42661
|
+
};
|
|
42340
42662
|
_afh_afleverbrief_stand_een: {
|
|
42341
42663
|
Args: {
|
|
42342
42664
|
p_cart_id: string;
|
|
@@ -42348,6 +42670,19 @@ export type Database = {
|
|
|
42348
42670
|
Args: never;
|
|
42349
42671
|
Returns: Json;
|
|
42350
42672
|
};
|
|
42673
|
+
_afh_belading_engine_reden: {
|
|
42674
|
+
Args: {
|
|
42675
|
+
p_order_id: string;
|
|
42676
|
+
};
|
|
42677
|
+
Returns: string;
|
|
42678
|
+
};
|
|
42679
|
+
_afh_belading_verstuurd: {
|
|
42680
|
+
Args: {
|
|
42681
|
+
p_order_ids: string[];
|
|
42682
|
+
p_ref: string;
|
|
42683
|
+
};
|
|
42684
|
+
Returns: boolean;
|
|
42685
|
+
};
|
|
42351
42686
|
_afh_cmr_stand: {
|
|
42352
42687
|
Args: {
|
|
42353
42688
|
p_code: string;
|
|
@@ -43928,10 +44263,18 @@ export type Database = {
|
|
|
43928
44263
|
Args: never;
|
|
43929
44264
|
Returns: boolean;
|
|
43930
44265
|
};
|
|
44266
|
+
afh_belading_aandacht: {
|
|
44267
|
+
Args: never;
|
|
44268
|
+
Returns: Json;
|
|
44269
|
+
};
|
|
43931
44270
|
afh_belading_inhalen: {
|
|
43932
44271
|
Args: never;
|
|
43933
44272
|
Returns: Json;
|
|
43934
44273
|
};
|
|
44274
|
+
afh_belading_vangnet: {
|
|
44275
|
+
Args: never;
|
|
44276
|
+
Returns: Json;
|
|
44277
|
+
};
|
|
43935
44278
|
afh_can_manage_carriers: {
|
|
43936
44279
|
Args: {
|
|
43937
44280
|
p_user: string;
|
|
@@ -51954,6 +52297,14 @@ export type Database = {
|
|
|
51954
52297
|
toelichting: string;
|
|
51955
52298
|
}[];
|
|
51956
52299
|
};
|
|
52300
|
+
logistics_install_check_21d: {
|
|
52301
|
+
Args: never;
|
|
52302
|
+
Returns: {
|
|
52303
|
+
ok: boolean;
|
|
52304
|
+
onderdeel: string;
|
|
52305
|
+
toelichting: string;
|
|
52306
|
+
}[];
|
|
52307
|
+
};
|
|
51957
52308
|
logistics_install_check_220: {
|
|
51958
52309
|
Args: never;
|
|
51959
52310
|
Returns: {
|
|
@@ -52655,6 +53006,18 @@ export type Database = {
|
|
|
52655
53006
|
};
|
|
52656
53007
|
Returns: Json;
|
|
52657
53008
|
};
|
|
53009
|
+
logistics_ladingdrager_nummers: {
|
|
53010
|
+
Args: {
|
|
53011
|
+
p_cart_ids: string[];
|
|
53012
|
+
};
|
|
53013
|
+
Returns: {
|
|
53014
|
+
buffer_id: string;
|
|
53015
|
+
cart_id: string;
|
|
53016
|
+
order_id: string;
|
|
53017
|
+
seq: number;
|
|
53018
|
+
totaal: number;
|
|
53019
|
+
}[];
|
|
53020
|
+
};
|
|
52658
53021
|
logistics_ladingdrager_referentie: {
|
|
52659
53022
|
Args: never;
|
|
52660
53023
|
Returns: {
|
|
@@ -52703,6 +53066,20 @@ export type Database = {
|
|
|
52703
53066
|
voorstel: number;
|
|
52704
53067
|
}[];
|
|
52705
53068
|
};
|
|
53069
|
+
logistics_ladingdragers_hernummer: {
|
|
53070
|
+
Args: {
|
|
53071
|
+
p_buffer_id: string;
|
|
53072
|
+
p_order_id: string;
|
|
53073
|
+
};
|
|
53074
|
+
Returns: Json;
|
|
53075
|
+
};
|
|
53076
|
+
logistics_ladingdragers_herstel: {
|
|
53077
|
+
Args: {
|
|
53078
|
+
p_budget_ms?: number;
|
|
53079
|
+
p_max?: number;
|
|
53080
|
+
};
|
|
53081
|
+
Returns: Json;
|
|
53082
|
+
};
|
|
52706
53083
|
logistics_ladingdragers_herstel_kern: {
|
|
52707
53084
|
Args: {
|
|
52708
53085
|
p_codes: string[];
|
|
@@ -52714,6 +53091,16 @@ export type Database = {
|
|
|
52714
53091
|
Args: never;
|
|
52715
53092
|
Returns: number;
|
|
52716
53093
|
};
|
|
53094
|
+
logistics_ladingdragers_open: {
|
|
53095
|
+
Args: {
|
|
53096
|
+
p_max?: number;
|
|
53097
|
+
};
|
|
53098
|
+
Returns: {
|
|
53099
|
+
buffer_id: string;
|
|
53100
|
+
karren: number;
|
|
53101
|
+
order_id: string;
|
|
53102
|
+
}[];
|
|
53103
|
+
};
|
|
52717
53104
|
logistics_ladingdragers_standaard: {
|
|
52718
53105
|
Args: never;
|
|
52719
53106
|
Returns: Json;
|
|
@@ -65388,6 +65775,12 @@ export type Database = {
|
|
|
65388
65775
|
};
|
|
65389
65776
|
Returns: Json;
|
|
65390
65777
|
};
|
|
65778
|
+
wo_import_preview: {
|
|
65779
|
+
Args: {
|
|
65780
|
+
_rijen: Json;
|
|
65781
|
+
};
|
|
65782
|
+
Returns: Json;
|
|
65783
|
+
};
|
|
65391
65784
|
wo_imports_overzicht: {
|
|
65392
65785
|
Args: {
|
|
65393
65786
|
_limit?: number;
|
|
@@ -65405,6 +65798,14 @@ export type Database = {
|
|
|
65405
65798
|
};
|
|
65406
65799
|
Returns: boolean;
|
|
65407
65800
|
};
|
|
65801
|
+
wo_lijst_volgorde: {
|
|
65802
|
+
Args: {
|
|
65803
|
+
_boom?: boolean;
|
|
65804
|
+
_dir: string;
|
|
65805
|
+
_sort: string;
|
|
65806
|
+
};
|
|
65807
|
+
Returns: string;
|
|
65808
|
+
};
|
|
65408
65809
|
wo_list_colleague_planning: {
|
|
65409
65810
|
Args: {
|
|
65410
65811
|
_from: string;
|
|
@@ -65459,6 +65860,13 @@ export type Database = {
|
|
|
65459
65860
|
};
|
|
65460
65861
|
Returns: boolean;
|
|
65461
65862
|
};
|
|
65863
|
+
wo_neighbors: {
|
|
65864
|
+
Args: {
|
|
65865
|
+
_filters?: Json;
|
|
65866
|
+
_id: string;
|
|
65867
|
+
};
|
|
65868
|
+
Returns: Json;
|
|
65869
|
+
};
|
|
65462
65870
|
wo_notitie_toevoegen: {
|
|
65463
65871
|
Args: {
|
|
65464
65872
|
_tekst: string;
|