@flowselections/logistiek-engine 1.0.219 → 1.0.224
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/db/schema/logistiek-engine.sql +1325 -1
- package/dist-lib/integrations/supabase/types.d.ts +360 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +59 -0
- package/dist-lib/lib/moduleVersion.d.ts +1 -1
- package/dist-lib/lib/moduleVersion.js +1 -1
- package/package.json +2 -2
|
@@ -11025,6 +11025,7 @@ export type Database = {
|
|
|
11025
11025
|
invoice_date: string;
|
|
11026
11026
|
invoice_number: string | null;
|
|
11027
11027
|
note: string | null;
|
|
11028
|
+
paid_at: string | null;
|
|
11028
11029
|
payment_term_days: number;
|
|
11029
11030
|
reference: string | null;
|
|
11030
11031
|
sent_at: string | null;
|
|
@@ -11058,6 +11059,7 @@ export type Database = {
|
|
|
11058
11059
|
invoice_date?: string;
|
|
11059
11060
|
invoice_number?: string | null;
|
|
11060
11061
|
note?: string | null;
|
|
11062
|
+
paid_at?: string | null;
|
|
11061
11063
|
payment_term_days?: number;
|
|
11062
11064
|
reference?: string | null;
|
|
11063
11065
|
sent_at?: string | null;
|
|
@@ -11091,6 +11093,7 @@ export type Database = {
|
|
|
11091
11093
|
invoice_date?: string;
|
|
11092
11094
|
invoice_number?: string | null;
|
|
11093
11095
|
note?: string | null;
|
|
11096
|
+
paid_at?: string | null;
|
|
11094
11097
|
payment_term_days?: number;
|
|
11095
11098
|
reference?: string | null;
|
|
11096
11099
|
sent_at?: string | null;
|
|
@@ -11157,6 +11160,30 @@ export type Database = {
|
|
|
11157
11160
|
}
|
|
11158
11161
|
];
|
|
11159
11162
|
};
|
|
11163
|
+
itk_cost_settings: {
|
|
11164
|
+
Row: {
|
|
11165
|
+
created_at: string;
|
|
11166
|
+
labour_cost_cents_per_hour: number | null;
|
|
11167
|
+
singleton: boolean;
|
|
11168
|
+
travel_cost_cents_per_hour: number | null;
|
|
11169
|
+
updated_at: string;
|
|
11170
|
+
};
|
|
11171
|
+
Insert: {
|
|
11172
|
+
created_at?: string;
|
|
11173
|
+
labour_cost_cents_per_hour?: number | null;
|
|
11174
|
+
singleton?: boolean;
|
|
11175
|
+
travel_cost_cents_per_hour?: number | null;
|
|
11176
|
+
updated_at?: string;
|
|
11177
|
+
};
|
|
11178
|
+
Update: {
|
|
11179
|
+
created_at?: string;
|
|
11180
|
+
labour_cost_cents_per_hour?: number | null;
|
|
11181
|
+
singleton?: boolean;
|
|
11182
|
+
travel_cost_cents_per_hour?: number | null;
|
|
11183
|
+
updated_at?: string;
|
|
11184
|
+
};
|
|
11185
|
+
Relationships: [];
|
|
11186
|
+
};
|
|
11160
11187
|
itk_customer_dynamic_values: {
|
|
11161
11188
|
Row: {
|
|
11162
11189
|
created_at: string;
|
|
@@ -17538,6 +17565,7 @@ export type Database = {
|
|
|
17538
17565
|
};
|
|
17539
17566
|
monteur_contracten: {
|
|
17540
17567
|
Row: {
|
|
17568
|
+
bruto_uurloon: number | null;
|
|
17541
17569
|
contract_type: string;
|
|
17542
17570
|
created_at: string;
|
|
17543
17571
|
days_per_week: number;
|
|
@@ -17549,6 +17577,7 @@ export type Database = {
|
|
|
17549
17577
|
vacation_days_per_year: number;
|
|
17550
17578
|
};
|
|
17551
17579
|
Insert: {
|
|
17580
|
+
bruto_uurloon?: number | null;
|
|
17552
17581
|
contract_type?: string;
|
|
17553
17582
|
created_at?: string;
|
|
17554
17583
|
days_per_week?: number;
|
|
@@ -17560,6 +17589,7 @@ export type Database = {
|
|
|
17560
17589
|
vacation_days_per_year?: number;
|
|
17561
17590
|
};
|
|
17562
17591
|
Update: {
|
|
17592
|
+
bruto_uurloon?: number | null;
|
|
17563
17593
|
contract_type?: string;
|
|
17564
17594
|
created_at?: string;
|
|
17565
17595
|
days_per_week?: number;
|
|
@@ -24151,6 +24181,7 @@ export type Database = {
|
|
|
24151
24181
|
key: string;
|
|
24152
24182
|
name: string;
|
|
24153
24183
|
permissions_initialized: boolean;
|
|
24184
|
+
start_path: string | null;
|
|
24154
24185
|
updated_at: string;
|
|
24155
24186
|
};
|
|
24156
24187
|
Insert: {
|
|
@@ -24160,6 +24191,7 @@ export type Database = {
|
|
|
24160
24191
|
key: string;
|
|
24161
24192
|
name: string;
|
|
24162
24193
|
permissions_initialized?: boolean;
|
|
24194
|
+
start_path?: string | null;
|
|
24163
24195
|
updated_at?: string;
|
|
24164
24196
|
};
|
|
24165
24197
|
Update: {
|
|
@@ -24169,6 +24201,7 @@ export type Database = {
|
|
|
24169
24201
|
key?: string;
|
|
24170
24202
|
name?: string;
|
|
24171
24203
|
permissions_initialized?: boolean;
|
|
24204
|
+
start_path?: string | null;
|
|
24172
24205
|
updated_at?: string;
|
|
24173
24206
|
};
|
|
24174
24207
|
Relationships: [];
|
|
@@ -28470,6 +28503,39 @@ export type Database = {
|
|
|
28470
28503
|
};
|
|
28471
28504
|
Relationships: [];
|
|
28472
28505
|
};
|
|
28506
|
+
uren_tekort_toelichtingen: {
|
|
28507
|
+
Row: {
|
|
28508
|
+
created_at: string;
|
|
28509
|
+
datum: string;
|
|
28510
|
+
geregistreerd_minuten: number;
|
|
28511
|
+
id: string;
|
|
28512
|
+
monteur_id: string;
|
|
28513
|
+
toelichting: string;
|
|
28514
|
+
updated_at: string;
|
|
28515
|
+
verwacht_minuten: number;
|
|
28516
|
+
};
|
|
28517
|
+
Insert: {
|
|
28518
|
+
created_at?: string;
|
|
28519
|
+
datum: string;
|
|
28520
|
+
geregistreerd_minuten?: number;
|
|
28521
|
+
id?: string;
|
|
28522
|
+
monteur_id: string;
|
|
28523
|
+
toelichting: string;
|
|
28524
|
+
updated_at?: string;
|
|
28525
|
+
verwacht_minuten?: number;
|
|
28526
|
+
};
|
|
28527
|
+
Update: {
|
|
28528
|
+
created_at?: string;
|
|
28529
|
+
datum?: string;
|
|
28530
|
+
geregistreerd_minuten?: number;
|
|
28531
|
+
id?: string;
|
|
28532
|
+
monteur_id?: string;
|
|
28533
|
+
toelichting?: string;
|
|
28534
|
+
updated_at?: string;
|
|
28535
|
+
verwacht_minuten?: number;
|
|
28536
|
+
};
|
|
28537
|
+
Relationships: [];
|
|
28538
|
+
};
|
|
28473
28539
|
uren_tijd_spiegel: {
|
|
28474
28540
|
Row: {
|
|
28475
28541
|
created_at: string;
|
|
@@ -29984,6 +30050,27 @@ export type Database = {
|
|
|
29984
30050
|
}
|
|
29985
30051
|
];
|
|
29986
30052
|
};
|
|
30053
|
+
werkbon_package_settings: {
|
|
30054
|
+
Row: {
|
|
30055
|
+
avg_mechanic_rate_cents: number;
|
|
30056
|
+
created_at: string;
|
|
30057
|
+
id: number;
|
|
30058
|
+
updated_at: string;
|
|
30059
|
+
};
|
|
30060
|
+
Insert: {
|
|
30061
|
+
avg_mechanic_rate_cents?: number;
|
|
30062
|
+
created_at?: string;
|
|
30063
|
+
id?: number;
|
|
30064
|
+
updated_at?: string;
|
|
30065
|
+
};
|
|
30066
|
+
Update: {
|
|
30067
|
+
avg_mechanic_rate_cents?: number;
|
|
30068
|
+
created_at?: string;
|
|
30069
|
+
id?: number;
|
|
30070
|
+
updated_at?: string;
|
|
30071
|
+
};
|
|
30072
|
+
Relationships: [];
|
|
30073
|
+
};
|
|
29987
30074
|
werkbon_packages: {
|
|
29988
30075
|
Row: {
|
|
29989
30076
|
active: boolean;
|
|
@@ -30484,6 +30571,7 @@ export type Database = {
|
|
|
30484
30571
|
signature_accepted_at: string | null;
|
|
30485
30572
|
signature_by_user_id: string | null;
|
|
30486
30573
|
signature_image_path: string | null;
|
|
30574
|
+
signature_missing_reason: string | null;
|
|
30487
30575
|
signature_name: string | null;
|
|
30488
30576
|
source_email_meta: Json | null;
|
|
30489
30577
|
source_mailbox_message_id: string | null;
|
|
@@ -30533,6 +30621,7 @@ export type Database = {
|
|
|
30533
30621
|
signature_accepted_at?: string | null;
|
|
30534
30622
|
signature_by_user_id?: string | null;
|
|
30535
30623
|
signature_image_path?: string | null;
|
|
30624
|
+
signature_missing_reason?: string | null;
|
|
30536
30625
|
signature_name?: string | null;
|
|
30537
30626
|
source_email_meta?: Json | null;
|
|
30538
30627
|
source_mailbox_message_id?: string | null;
|
|
@@ -30582,6 +30671,7 @@ export type Database = {
|
|
|
30582
30671
|
signature_accepted_at?: string | null;
|
|
30583
30672
|
signature_by_user_id?: string | null;
|
|
30584
30673
|
signature_image_path?: string | null;
|
|
30674
|
+
signature_missing_reason?: string | null;
|
|
30585
30675
|
signature_name?: string | null;
|
|
30586
30676
|
source_email_meta?: Json | null;
|
|
30587
30677
|
source_mailbox_message_id?: string | null;
|
|
@@ -32278,6 +32368,12 @@ export type Database = {
|
|
|
32278
32368
|
};
|
|
32279
32369
|
Returns: Json;
|
|
32280
32370
|
};
|
|
32371
|
+
afh_signup_sender: {
|
|
32372
|
+
Args: {
|
|
32373
|
+
p_purpose: string;
|
|
32374
|
+
};
|
|
32375
|
+
Returns: Json;
|
|
32376
|
+
};
|
|
32281
32377
|
afh_subtract_workdays: {
|
|
32282
32378
|
Args: {
|
|
32283
32379
|
_date: string;
|
|
@@ -33413,6 +33509,12 @@ export type Database = {
|
|
|
33413
33509
|
};
|
|
33414
33510
|
Returns: Json;
|
|
33415
33511
|
};
|
|
33512
|
+
erp_invoice_error_plain: {
|
|
33513
|
+
Args: {
|
|
33514
|
+
p_err: string;
|
|
33515
|
+
};
|
|
33516
|
+
Returns: string;
|
|
33517
|
+
};
|
|
33416
33518
|
erp_invoice_finalize: {
|
|
33417
33519
|
Args: {
|
|
33418
33520
|
p_actor: string;
|
|
@@ -33439,6 +33541,34 @@ export type Database = {
|
|
|
33439
33541
|
};
|
|
33440
33542
|
Returns: string;
|
|
33441
33543
|
};
|
|
33544
|
+
erp_invoice_status_for_orders: {
|
|
33545
|
+
Args: {
|
|
33546
|
+
p_order_ids: string[];
|
|
33547
|
+
};
|
|
33548
|
+
Returns: {
|
|
33549
|
+
booked_at: string;
|
|
33550
|
+
credit_invoice_number: string;
|
|
33551
|
+
credit_status: string;
|
|
33552
|
+
credit_status_group: string;
|
|
33553
|
+
invoice_id: string;
|
|
33554
|
+
invoice_number: string;
|
|
33555
|
+
is_credit: boolean;
|
|
33556
|
+
last_error_plain: string;
|
|
33557
|
+
order_id: string;
|
|
33558
|
+
sent_at: string;
|
|
33559
|
+
sent_to: string;
|
|
33560
|
+
status: string;
|
|
33561
|
+
status_group: string;
|
|
33562
|
+
total_incl: number;
|
|
33563
|
+
updated_at: string;
|
|
33564
|
+
}[];
|
|
33565
|
+
};
|
|
33566
|
+
erp_invoice_status_group: {
|
|
33567
|
+
Args: {
|
|
33568
|
+
p_status: string;
|
|
33569
|
+
};
|
|
33570
|
+
Returns: string;
|
|
33571
|
+
};
|
|
33442
33572
|
erp_invoice_transition: {
|
|
33443
33573
|
Args: {
|
|
33444
33574
|
p_actor: string;
|
|
@@ -33458,6 +33588,7 @@ export type Database = {
|
|
|
33458
33588
|
invoice_date: string;
|
|
33459
33589
|
invoice_number: string;
|
|
33460
33590
|
kind: string;
|
|
33591
|
+
original_invoice_id: string;
|
|
33461
33592
|
payment_status: string;
|
|
33462
33593
|
source: string;
|
|
33463
33594
|
status: string;
|
|
@@ -33975,6 +34106,14 @@ export type Database = {
|
|
|
33975
34106
|
Args: never;
|
|
33976
34107
|
Returns: string;
|
|
33977
34108
|
};
|
|
34109
|
+
flowselections_cron_paths: {
|
|
34110
|
+
Args: never;
|
|
34111
|
+
Returns: string[];
|
|
34112
|
+
};
|
|
34113
|
+
flowselections_cron_paths_eigen_sleutel: {
|
|
34114
|
+
Args: never;
|
|
34115
|
+
Returns: string[];
|
|
34116
|
+
};
|
|
33978
34117
|
flowselections_cron_post: {
|
|
33979
34118
|
Args: {
|
|
33980
34119
|
p_auth?: string;
|
|
@@ -33984,6 +34123,16 @@ export type Database = {
|
|
|
33984
34123
|
};
|
|
33985
34124
|
Returns: number;
|
|
33986
34125
|
};
|
|
34126
|
+
flowselections_cron_secret: {
|
|
34127
|
+
Args: never;
|
|
34128
|
+
Returns: string;
|
|
34129
|
+
};
|
|
34130
|
+
flowselections_set_anon_key: {
|
|
34131
|
+
Args: {
|
|
34132
|
+
p_key: string;
|
|
34133
|
+
};
|
|
34134
|
+
Returns: string;
|
|
34135
|
+
};
|
|
33987
34136
|
flowselections_set_central_link: {
|
|
33988
34137
|
Args: {
|
|
33989
34138
|
p_central_url: string;
|
|
@@ -34824,11 +34973,35 @@ export type Database = {
|
|
|
34824
34973
|
};
|
|
34825
34974
|
Returns: {
|
|
34826
34975
|
afgerond: number;
|
|
34976
|
+
arbeid_kosten_cents: number;
|
|
34827
34977
|
bezig: number;
|
|
34828
34978
|
customer_id: string;
|
|
34979
|
+
gem_betaaltermijn_dagen: number;
|
|
34829
34980
|
klussen: number;
|
|
34981
|
+
materiaal_kosten_cents: number;
|
|
34982
|
+
monteurs_zonder_loon: string[];
|
|
34830
34983
|
omzet_cents: number;
|
|
34831
34984
|
open: number;
|
|
34985
|
+
reis_minuten: number;
|
|
34986
|
+
te_laat: number;
|
|
34987
|
+
te_laat_open: number;
|
|
34988
|
+
werk_minuten: number;
|
|
34989
|
+
}[];
|
|
34990
|
+
};
|
|
34991
|
+
itk_month_trend: {
|
|
34992
|
+
Args: {
|
|
34993
|
+
_today: string;
|
|
34994
|
+
};
|
|
34995
|
+
Returns: {
|
|
34996
|
+
arbeid_kosten_cents: number;
|
|
34997
|
+
materiaal_kosten_cents: number;
|
|
34998
|
+
monteurs_zonder_loon: string[];
|
|
34999
|
+
omzet_cents: number;
|
|
35000
|
+
periode: string;
|
|
35001
|
+
reis_minuten: number;
|
|
35002
|
+
tot: string;
|
|
35003
|
+
van: string;
|
|
35004
|
+
werk_minuten: number;
|
|
34832
35005
|
}[];
|
|
34833
35006
|
};
|
|
34834
35007
|
itk_offerte_naar_werkbon: {
|
|
@@ -35290,6 +35463,18 @@ export type Database = {
|
|
|
35290
35463
|
};
|
|
35291
35464
|
Returns: boolean;
|
|
35292
35465
|
};
|
|
35466
|
+
logistics_allocation_stale: {
|
|
35467
|
+
Args: {
|
|
35468
|
+
p_order_item_id: string;
|
|
35469
|
+
};
|
|
35470
|
+
Returns: boolean;
|
|
35471
|
+
};
|
|
35472
|
+
logistics_allocation_stale_reden: {
|
|
35473
|
+
Args: {
|
|
35474
|
+
p_order_item_id: string;
|
|
35475
|
+
};
|
|
35476
|
+
Returns: string;
|
|
35477
|
+
};
|
|
35293
35478
|
logistics_allowed_load_carriers: {
|
|
35294
35479
|
Args: {
|
|
35295
35480
|
p_strategy_id?: string;
|
|
@@ -35332,6 +35517,19 @@ export type Database = {
|
|
|
35332
35517
|
};
|
|
35333
35518
|
Returns: boolean;
|
|
35334
35519
|
};
|
|
35520
|
+
logistics_archive_stale_buffer_carts: {
|
|
35521
|
+
Args: {
|
|
35522
|
+
p_uitvoeren?: boolean;
|
|
35523
|
+
};
|
|
35524
|
+
Returns: Json;
|
|
35525
|
+
};
|
|
35526
|
+
logistics_archive_stale_buffer_carts_core: {
|
|
35527
|
+
Args: {
|
|
35528
|
+
p_buffer: string;
|
|
35529
|
+
p_uitvoeren: boolean;
|
|
35530
|
+
};
|
|
35531
|
+
Returns: Json;
|
|
35532
|
+
};
|
|
35335
35533
|
logistics_archived_orders: {
|
|
35336
35534
|
Args: never;
|
|
35337
35535
|
Returns: {
|
|
@@ -35528,6 +35726,12 @@ export type Database = {
|
|
|
35528
35726
|
};
|
|
35529
35727
|
Returns: Json;
|
|
35530
35728
|
};
|
|
35729
|
+
logistics_buffer_carts: {
|
|
35730
|
+
Args: {
|
|
35731
|
+
p_buffer_id: string;
|
|
35732
|
+
};
|
|
35733
|
+
Returns: Json;
|
|
35734
|
+
};
|
|
35531
35735
|
logistics_buffer_closed_for_join: {
|
|
35532
35736
|
Args: {
|
|
35533
35737
|
p_buffer: string;
|
|
@@ -35670,6 +35874,12 @@ export type Database = {
|
|
|
35670
35874
|
zonder_kar: number;
|
|
35671
35875
|
}[];
|
|
35672
35876
|
};
|
|
35877
|
+
logistics_capacity_day_orders: {
|
|
35878
|
+
Args: {
|
|
35879
|
+
p_date: string;
|
|
35880
|
+
};
|
|
35881
|
+
Returns: Json;
|
|
35882
|
+
};
|
|
35673
35883
|
logistics_capacity_plan_day: {
|
|
35674
35884
|
Args: {
|
|
35675
35885
|
p_date: string;
|
|
@@ -35847,6 +36057,12 @@ export type Database = {
|
|
|
35847
36057
|
Args: never;
|
|
35848
36058
|
Returns: Json;
|
|
35849
36059
|
};
|
|
36060
|
+
logistics_cart_eerdere_buffer: {
|
|
36061
|
+
Args: {
|
|
36062
|
+
p_cart_id: string;
|
|
36063
|
+
};
|
|
36064
|
+
Returns: Json;
|
|
36065
|
+
};
|
|
35850
36066
|
logistics_cart_extra_fields: {
|
|
35851
36067
|
Args: {
|
|
35852
36068
|
p_cart_id: string;
|
|
@@ -36126,6 +36342,12 @@ export type Database = {
|
|
|
36126
36342
|
};
|
|
36127
36343
|
Returns: Json;
|
|
36128
36344
|
};
|
|
36345
|
+
logistics_cart_verouderd_redenen: {
|
|
36346
|
+
Args: {
|
|
36347
|
+
p_cart_id: string;
|
|
36348
|
+
};
|
|
36349
|
+
Returns: Json;
|
|
36350
|
+
};
|
|
36129
36351
|
logistics_cart_vervoer_gemengd: {
|
|
36130
36352
|
Args: {
|
|
36131
36353
|
p_cart_id: string;
|
|
@@ -36148,6 +36370,15 @@ export type Database = {
|
|
|
36148
36370
|
Args: never;
|
|
36149
36371
|
Returns: number;
|
|
36150
36372
|
};
|
|
36373
|
+
logistics_carts_verouderd_set: {
|
|
36374
|
+
Args: {
|
|
36375
|
+
p_cart_ids: string[];
|
|
36376
|
+
};
|
|
36377
|
+
Returns: {
|
|
36378
|
+
cart_id: string;
|
|
36379
|
+
redenen: Json;
|
|
36380
|
+
}[];
|
|
36381
|
+
};
|
|
36151
36382
|
logistics_check_190: {
|
|
36152
36383
|
Args: never;
|
|
36153
36384
|
Returns: {
|
|
@@ -37140,6 +37371,38 @@ export type Database = {
|
|
|
37140
37371
|
uitleg: string;
|
|
37141
37372
|
}[];
|
|
37142
37373
|
};
|
|
37374
|
+
logistics_install_check_220: {
|
|
37375
|
+
Args: never;
|
|
37376
|
+
Returns: {
|
|
37377
|
+
ok: boolean;
|
|
37378
|
+
punt: string;
|
|
37379
|
+
uitleg: string;
|
|
37380
|
+
}[];
|
|
37381
|
+
};
|
|
37382
|
+
logistics_install_check_221: {
|
|
37383
|
+
Args: never;
|
|
37384
|
+
Returns: {
|
|
37385
|
+
ok: boolean;
|
|
37386
|
+
punt: string;
|
|
37387
|
+
uitleg: string;
|
|
37388
|
+
}[];
|
|
37389
|
+
};
|
|
37390
|
+
logistics_install_check_222: {
|
|
37391
|
+
Args: never;
|
|
37392
|
+
Returns: {
|
|
37393
|
+
ok: boolean;
|
|
37394
|
+
punt: string;
|
|
37395
|
+
uitleg: string;
|
|
37396
|
+
}[];
|
|
37397
|
+
};
|
|
37398
|
+
logistics_install_check_223: {
|
|
37399
|
+
Args: never;
|
|
37400
|
+
Returns: {
|
|
37401
|
+
ok: boolean;
|
|
37402
|
+
punt: string;
|
|
37403
|
+
uitleg: string;
|
|
37404
|
+
}[];
|
|
37405
|
+
};
|
|
37143
37406
|
logistics_is_beheer: {
|
|
37144
37407
|
Args: never;
|
|
37145
37408
|
Returns: boolean;
|
|
@@ -37518,6 +37781,13 @@ export type Database = {
|
|
|
37518
37781
|
};
|
|
37519
37782
|
Returns: string[];
|
|
37520
37783
|
};
|
|
37784
|
+
logistics_order_dag: {
|
|
37785
|
+
Args: {
|
|
37786
|
+
p_delivery_date: string;
|
|
37787
|
+
p_planned_start: string;
|
|
37788
|
+
};
|
|
37789
|
+
Returns: string;
|
|
37790
|
+
};
|
|
37521
37791
|
logistics_order_date: {
|
|
37522
37792
|
Args: {
|
|
37523
37793
|
p: string;
|
|
@@ -37771,6 +38041,23 @@ export type Database = {
|
|
|
37771
38041
|
};
|
|
37772
38042
|
Returns: string;
|
|
37773
38043
|
};
|
|
38044
|
+
logistics_order_pick_progress: {
|
|
38045
|
+
Args: {
|
|
38046
|
+
p_order_ids: string[];
|
|
38047
|
+
};
|
|
38048
|
+
Returns: {
|
|
38049
|
+
blocked: boolean;
|
|
38050
|
+
blocked_reason_plain: string;
|
|
38051
|
+
carts_archived: boolean;
|
|
38052
|
+
carts_printed: number;
|
|
38053
|
+
carts_scanned: number;
|
|
38054
|
+
carts_total: number;
|
|
38055
|
+
first_printed_at: string;
|
|
38056
|
+
last_scanned_at: string;
|
|
38057
|
+
order_uuid: string;
|
|
38058
|
+
pick_date: string;
|
|
38059
|
+
}[];
|
|
38060
|
+
};
|
|
37774
38061
|
logistics_order_plan_coverage: {
|
|
37775
38062
|
Args: {
|
|
37776
38063
|
p_order_id: string;
|
|
@@ -38103,6 +38390,12 @@ export type Database = {
|
|
|
38103
38390
|
};
|
|
38104
38391
|
Returns: number;
|
|
38105
38392
|
};
|
|
38393
|
+
logistics_pick_queue_fix_cancelled_status: {
|
|
38394
|
+
Args: {
|
|
38395
|
+
p_uitvoeren?: boolean;
|
|
38396
|
+
};
|
|
38397
|
+
Returns: Json;
|
|
38398
|
+
};
|
|
38106
38399
|
logistics_pick_start_estimate: {
|
|
38107
38400
|
Args: {
|
|
38108
38401
|
p_order: Json;
|
|
@@ -38767,6 +39060,19 @@ export type Database = {
|
|
|
38767
39060
|
};
|
|
38768
39061
|
Returns: Json;
|
|
38769
39062
|
};
|
|
39063
|
+
logistics_reservation_repair_stale: {
|
|
39064
|
+
Args: {
|
|
39065
|
+
p_uitvoeren?: boolean;
|
|
39066
|
+
};
|
|
39067
|
+
Returns: Json;
|
|
39068
|
+
};
|
|
39069
|
+
logistics_reservation_repair_stale_core: {
|
|
39070
|
+
Args: {
|
|
39071
|
+
p_order_item_ids: string[];
|
|
39072
|
+
p_uitvoeren: boolean;
|
|
39073
|
+
};
|
|
39074
|
+
Returns: Json;
|
|
39075
|
+
};
|
|
38770
39076
|
logistics_reserved_fast_skip: {
|
|
38771
39077
|
Args: {
|
|
38772
39078
|
p_key: string;
|
|
@@ -39207,6 +39513,23 @@ export type Database = {
|
|
|
39207
39513
|
};
|
|
39208
39514
|
Returns: undefined;
|
|
39209
39515
|
};
|
|
39516
|
+
logistics_stale_buffer_carts: {
|
|
39517
|
+
Args: {
|
|
39518
|
+
p_buffer?: string;
|
|
39519
|
+
};
|
|
39520
|
+
Returns: {
|
|
39521
|
+
actieve_order: boolean;
|
|
39522
|
+
afgerond: boolean;
|
|
39523
|
+
besluit: string;
|
|
39524
|
+
cart_id: string;
|
|
39525
|
+
geprint: boolean;
|
|
39526
|
+
gescand: boolean;
|
|
39527
|
+
karnummer: number;
|
|
39528
|
+
nieuwe_buffer: string;
|
|
39529
|
+
orders: string;
|
|
39530
|
+
oude_buffer: string;
|
|
39531
|
+
}[];
|
|
39532
|
+
};
|
|
39210
39533
|
logistics_startlijst: {
|
|
39211
39534
|
Args: never;
|
|
39212
39535
|
Returns: Json;
|
|
@@ -44377,6 +44700,20 @@ export type Database = {
|
|
|
44377
44700
|
};
|
|
44378
44701
|
Returns: number;
|
|
44379
44702
|
};
|
|
44703
|
+
uren_tekort_dagen: {
|
|
44704
|
+
Args: {
|
|
44705
|
+
_monteur: string;
|
|
44706
|
+
_tot: string;
|
|
44707
|
+
_van: string;
|
|
44708
|
+
};
|
|
44709
|
+
Returns: {
|
|
44710
|
+
datum: string;
|
|
44711
|
+
geregistreerd_minuten: number;
|
|
44712
|
+
tekort_minuten: number;
|
|
44713
|
+
toelichting: string;
|
|
44714
|
+
verwacht_minuten: number;
|
|
44715
|
+
}[];
|
|
44716
|
+
};
|
|
44380
44717
|
uren_timer_minuten: {
|
|
44381
44718
|
Args: {
|
|
44382
44719
|
_monteur: string;
|
|
@@ -44930,6 +45267,12 @@ export type Database = {
|
|
|
44930
45267
|
};
|
|
44931
45268
|
Returns: Json;
|
|
44932
45269
|
};
|
|
45270
|
+
voorraad_correctie_1136: {
|
|
45271
|
+
Args: {
|
|
45272
|
+
p_uitvoeren?: boolean;
|
|
45273
|
+
};
|
|
45274
|
+
Returns: Json;
|
|
45275
|
+
};
|
|
44933
45276
|
voorraad_correctie_status: {
|
|
44934
45277
|
Args: {
|
|
44935
45278
|
p_correctie?: string;
|
|
@@ -45103,6 +45446,15 @@ export type Database = {
|
|
|
45103
45446
|
};
|
|
45104
45447
|
Returns: number;
|
|
45105
45448
|
};
|
|
45449
|
+
werkbon_arbeidskosten_schatting: {
|
|
45450
|
+
Args: {
|
|
45451
|
+
_werkbon_id: string;
|
|
45452
|
+
};
|
|
45453
|
+
Returns: {
|
|
45454
|
+
estimated_labor_cents: number;
|
|
45455
|
+
labor_minutes: number;
|
|
45456
|
+
}[];
|
|
45457
|
+
};
|
|
45106
45458
|
werkbon_format_project_number: {
|
|
45107
45459
|
Args: {
|
|
45108
45460
|
_parent_project_number?: string;
|
|
@@ -45238,6 +45590,14 @@ export type Database = {
|
|
|
45238
45590
|
};
|
|
45239
45591
|
Returns: string;
|
|
45240
45592
|
};
|
|
45593
|
+
wo_planner_contacten: {
|
|
45594
|
+
Args: never;
|
|
45595
|
+
Returns: {
|
|
45596
|
+
naam: string;
|
|
45597
|
+
telefoon: string;
|
|
45598
|
+
user_id: string;
|
|
45599
|
+
}[];
|
|
45600
|
+
};
|
|
45241
45601
|
wo_process_offerte_request: {
|
|
45242
45602
|
Args: {
|
|
45243
45603
|
_queue_id: string;
|