@flowselections/mailbox-orders 1.0.19 → 1.0.21
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/MailboxProcessedPage.js +1 -1
- package/dist-lib/components/MailboxProposalsPage.js +5 -5
- package/dist-lib/components/settings/MailboxAiPromptCard.js +2 -2
- package/dist-lib/components/settings/MailboxOrderTemplateCard.js +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2 -28697
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +6 -13
- package/dist-lib/integrations/supabase/client.server.d.ts +1576 -63
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1581 -55
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/ai-config.server.d.ts +1 -1
- package/dist-lib/lib/mailbox-ai-settings.functions.js +1 -1
- package/dist-lib/lib/mailbox-ai.server.d.ts +1 -1
- package/dist-lib/lib/mailbox-ingest.server.d.ts +1 -1
- package/dist-lib/lib/mailbox-ingest.server.js +1 -1
- package/dist-lib/lib/mailbox-template.functions.js +1 -1
- package/dist-lib/lib/mailbox.functions.d.ts +3 -3
- package/dist-lib/lib/mailbox.functions.js +22 -22
- package/package.json +3 -3
- package/dist-lib/components/CartAssignmentWizard.d.ts +0 -6
- package/dist-lib/components/CartAssignmentWizard.d.ts.map +0 -1
- package/dist-lib/components/CartAssignmentWizard.js +0 -199
- package/dist-lib/components/MailboxInboxPage.d.ts +0 -2
- package/dist-lib/components/MailboxInboxPage.d.ts.map +0 -1
- package/dist-lib/components/MailboxInboxPage.js +0 -120
- package/dist-lib/components/settings/ImapAccountsCard.d.ts +0 -2
- package/dist-lib/components/settings/ImapAccountsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/ImapAccountsCard.js +0 -136
- package/dist-lib/components/settings/ImapProfilesCard.d.ts +0 -2
- package/dist-lib/components/settings/ImapProfilesCard.d.ts.map +0 -1
- package/dist-lib/components/settings/ImapProfilesCard.js +0 -101
- package/dist-lib/components/settings/MailboxSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/MailboxSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/MailboxSettingsCard.js +0 -85
- package/dist-lib/lib/imap.functions.d.ts +0 -32852
- package/dist-lib/lib/imap.functions.d.ts.map +0 -1
- package/dist-lib/lib/imap.functions.js +0 -235
- package/dist-lib/lib/mailbox-auto.server.d.ts +0 -9
- package/dist-lib/lib/mailbox-auto.server.d.ts.map +0 -1
- package/dist-lib/lib/mailbox-auto.server.js +0 -198
|
@@ -6,6 +6,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
6
6
|
Row: {
|
|
7
7
|
auto_print_delivery_note: boolean;
|
|
8
8
|
auto_process_paused: boolean;
|
|
9
|
+
control_bulk_max_carts: number;
|
|
9
10
|
created_at: string;
|
|
10
11
|
extra_pick_days_with_stickers: number;
|
|
11
12
|
id: string;
|
|
@@ -23,6 +24,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
23
24
|
Insert: {
|
|
24
25
|
auto_print_delivery_note?: boolean;
|
|
25
26
|
auto_process_paused?: boolean;
|
|
27
|
+
control_bulk_max_carts?: number;
|
|
26
28
|
created_at?: string;
|
|
27
29
|
extra_pick_days_with_stickers?: number;
|
|
28
30
|
id?: string;
|
|
@@ -40,6 +42,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
40
42
|
Update: {
|
|
41
43
|
auto_print_delivery_note?: boolean;
|
|
42
44
|
auto_process_paused?: boolean;
|
|
45
|
+
control_bulk_max_carts?: number;
|
|
43
46
|
created_at?: string;
|
|
44
47
|
extra_pick_days_with_stickers?: number;
|
|
45
48
|
id?: string;
|
|
@@ -540,7 +543,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
540
543
|
Row: {
|
|
541
544
|
consumer_module_id: string;
|
|
542
545
|
created_at: string;
|
|
543
|
-
credential_id: string
|
|
546
|
+
credential_id: string;
|
|
544
547
|
id: string;
|
|
545
548
|
is_default: boolean;
|
|
546
549
|
label: string | null;
|
|
@@ -551,7 +554,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
551
554
|
Insert: {
|
|
552
555
|
consumer_module_id: string;
|
|
553
556
|
created_at?: string;
|
|
554
|
-
credential_id
|
|
557
|
+
credential_id: string;
|
|
555
558
|
id?: string;
|
|
556
559
|
is_default?: boolean;
|
|
557
560
|
label?: string | null;
|
|
@@ -562,7 +565,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
562
565
|
Update: {
|
|
563
566
|
consumer_module_id?: string;
|
|
564
567
|
created_at?: string;
|
|
565
|
-
credential_id?: string
|
|
568
|
+
credential_id?: string;
|
|
566
569
|
id?: string;
|
|
567
570
|
is_default?: boolean;
|
|
568
571
|
label?: string | null;
|
|
@@ -1382,6 +1385,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
1382
1385
|
id: string;
|
|
1383
1386
|
notes: string | null;
|
|
1384
1387
|
performed_at: string;
|
|
1388
|
+
request_key: string | null;
|
|
1385
1389
|
rescheduled_count: number;
|
|
1386
1390
|
stock_consumed_at: string | null;
|
|
1387
1391
|
total_carts: number;
|
|
@@ -1396,6 +1400,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
1396
1400
|
id?: string;
|
|
1397
1401
|
notes?: string | null;
|
|
1398
1402
|
performed_at?: string;
|
|
1403
|
+
request_key?: string | null;
|
|
1399
1404
|
rescheduled_count?: number;
|
|
1400
1405
|
stock_consumed_at?: string | null;
|
|
1401
1406
|
total_carts?: number;
|
|
@@ -1410,6 +1415,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
1410
1415
|
id?: string;
|
|
1411
1416
|
notes?: string | null;
|
|
1412
1417
|
performed_at?: string;
|
|
1418
|
+
request_key?: string | null;
|
|
1413
1419
|
rescheduled_count?: number;
|
|
1414
1420
|
stock_consumed_at?: string | null;
|
|
1415
1421
|
total_carts?: number;
|
|
@@ -1422,9 +1428,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
1422
1428
|
Row: {
|
|
1423
1429
|
assigned_at: string;
|
|
1424
1430
|
cart_index: number;
|
|
1425
|
-
cart_number: string
|
|
1431
|
+
cart_number: string;
|
|
1426
1432
|
day_seq: number | null;
|
|
1427
1433
|
delivered_at: string | null;
|
|
1434
|
+
engine_cart_label: string | null;
|
|
1428
1435
|
id: string;
|
|
1429
1436
|
order_id: string;
|
|
1430
1437
|
order_source: string;
|
|
@@ -1434,9 +1441,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
1434
1441
|
Insert: {
|
|
1435
1442
|
assigned_at?: string;
|
|
1436
1443
|
cart_index: number;
|
|
1437
|
-
cart_number
|
|
1444
|
+
cart_number: string;
|
|
1438
1445
|
day_seq?: number | null;
|
|
1439
1446
|
delivered_at?: string | null;
|
|
1447
|
+
engine_cart_label?: string | null;
|
|
1440
1448
|
id?: string;
|
|
1441
1449
|
order_id: string;
|
|
1442
1450
|
order_source: string;
|
|
@@ -1446,9 +1454,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
1446
1454
|
Update: {
|
|
1447
1455
|
assigned_at?: string;
|
|
1448
1456
|
cart_index?: number;
|
|
1449
|
-
cart_number?: string
|
|
1457
|
+
cart_number?: string;
|
|
1450
1458
|
day_seq?: number | null;
|
|
1451
1459
|
delivered_at?: string | null;
|
|
1460
|
+
engine_cart_label?: string | null;
|
|
1452
1461
|
id?: string;
|
|
1453
1462
|
order_id?: string;
|
|
1454
1463
|
order_source?: string;
|
|
@@ -8538,13 +8547,22 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
8538
8547
|
Row: {
|
|
8539
8548
|
created_at: string;
|
|
8540
8549
|
created_by: string | null;
|
|
8550
|
+
customer_address: string | null;
|
|
8551
|
+
customer_attention: string | null;
|
|
8552
|
+
customer_city: string | null;
|
|
8541
8553
|
customer_id: string | null;
|
|
8542
8554
|
customer_name: string | null;
|
|
8555
|
+
customer_postal_code: string | null;
|
|
8556
|
+
customer_vat_number: string | null;
|
|
8557
|
+
debtor_number: string | null;
|
|
8543
8558
|
due_date: string | null;
|
|
8559
|
+
execution_date: string | null;
|
|
8544
8560
|
id: string;
|
|
8545
8561
|
invoice_date: string;
|
|
8546
8562
|
invoice_number: string | null;
|
|
8547
8563
|
note: string | null;
|
|
8564
|
+
payment_term_days: number;
|
|
8565
|
+
reference: string | null;
|
|
8548
8566
|
source_number: string | null;
|
|
8549
8567
|
source_ref: string | null;
|
|
8550
8568
|
source_type: string;
|
|
@@ -8554,17 +8572,27 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
8554
8572
|
updated_at: string;
|
|
8555
8573
|
vat_cents: number;
|
|
8556
8574
|
vat_rate: number;
|
|
8575
|
+
work_address: string | null;
|
|
8557
8576
|
};
|
|
8558
8577
|
Insert: {
|
|
8559
8578
|
created_at?: string;
|
|
8560
8579
|
created_by?: string | null;
|
|
8580
|
+
customer_address?: string | null;
|
|
8581
|
+
customer_attention?: string | null;
|
|
8582
|
+
customer_city?: string | null;
|
|
8561
8583
|
customer_id?: string | null;
|
|
8562
8584
|
customer_name?: string | null;
|
|
8585
|
+
customer_postal_code?: string | null;
|
|
8586
|
+
customer_vat_number?: string | null;
|
|
8587
|
+
debtor_number?: string | null;
|
|
8563
8588
|
due_date?: string | null;
|
|
8589
|
+
execution_date?: string | null;
|
|
8564
8590
|
id?: string;
|
|
8565
8591
|
invoice_date?: string;
|
|
8566
8592
|
invoice_number?: string | null;
|
|
8567
8593
|
note?: string | null;
|
|
8594
|
+
payment_term_days?: number;
|
|
8595
|
+
reference?: string | null;
|
|
8568
8596
|
source_number?: string | null;
|
|
8569
8597
|
source_ref?: string | null;
|
|
8570
8598
|
source_type?: string;
|
|
@@ -8574,17 +8602,27 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
8574
8602
|
updated_at?: string;
|
|
8575
8603
|
vat_cents?: number;
|
|
8576
8604
|
vat_rate?: number;
|
|
8605
|
+
work_address?: string | null;
|
|
8577
8606
|
};
|
|
8578
8607
|
Update: {
|
|
8579
8608
|
created_at?: string;
|
|
8580
8609
|
created_by?: string | null;
|
|
8610
|
+
customer_address?: string | null;
|
|
8611
|
+
customer_attention?: string | null;
|
|
8612
|
+
customer_city?: string | null;
|
|
8581
8613
|
customer_id?: string | null;
|
|
8582
8614
|
customer_name?: string | null;
|
|
8615
|
+
customer_postal_code?: string | null;
|
|
8616
|
+
customer_vat_number?: string | null;
|
|
8617
|
+
debtor_number?: string | null;
|
|
8583
8618
|
due_date?: string | null;
|
|
8619
|
+
execution_date?: string | null;
|
|
8584
8620
|
id?: string;
|
|
8585
8621
|
invoice_date?: string;
|
|
8586
8622
|
invoice_number?: string | null;
|
|
8587
8623
|
note?: string | null;
|
|
8624
|
+
payment_term_days?: number;
|
|
8625
|
+
reference?: string | null;
|
|
8588
8626
|
source_number?: string | null;
|
|
8589
8627
|
source_ref?: string | null;
|
|
8590
8628
|
source_type?: string;
|
|
@@ -8594,6 +8632,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
8594
8632
|
updated_at?: string;
|
|
8595
8633
|
vat_cents?: number;
|
|
8596
8634
|
vat_rate?: number;
|
|
8635
|
+
work_address?: string | null;
|
|
8597
8636
|
};
|
|
8598
8637
|
Relationships: [{
|
|
8599
8638
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9365,6 +9404,42 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9365
9404
|
};
|
|
9366
9405
|
Relationships: [];
|
|
9367
9406
|
};
|
|
9407
|
+
itk_offerte_voorstel_status: {
|
|
9408
|
+
Row: {
|
|
9409
|
+
ai_concept: import("./types").Json | null;
|
|
9410
|
+
created_at: string;
|
|
9411
|
+
id: string;
|
|
9412
|
+
offerte_id: string | null;
|
|
9413
|
+
proposal_id: string;
|
|
9414
|
+
seen_at: string | null;
|
|
9415
|
+
updated_at: string;
|
|
9416
|
+
};
|
|
9417
|
+
Insert: {
|
|
9418
|
+
ai_concept?: import("./types").Json | null;
|
|
9419
|
+
created_at?: string;
|
|
9420
|
+
id?: string;
|
|
9421
|
+
offerte_id?: string | null;
|
|
9422
|
+
proposal_id: string;
|
|
9423
|
+
seen_at?: string | null;
|
|
9424
|
+
updated_at?: string;
|
|
9425
|
+
};
|
|
9426
|
+
Update: {
|
|
9427
|
+
ai_concept?: import("./types").Json | null;
|
|
9428
|
+
created_at?: string;
|
|
9429
|
+
id?: string;
|
|
9430
|
+
offerte_id?: string | null;
|
|
9431
|
+
proposal_id?: string;
|
|
9432
|
+
seen_at?: string | null;
|
|
9433
|
+
updated_at?: string;
|
|
9434
|
+
};
|
|
9435
|
+
Relationships: [{
|
|
9436
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9437
|
+
columns: ["offerte_id"];
|
|
9438
|
+
isOneToOne: false;
|
|
9439
|
+
referencedRelation: "itk_offertes";
|
|
9440
|
+
referencedColumns: ["id"];
|
|
9441
|
+
}];
|
|
9442
|
+
};
|
|
9368
9443
|
itk_offerte_werkbon_queue: {
|
|
9369
9444
|
Row: {
|
|
9370
9445
|
bron_werkbon_id: string | null;
|
|
@@ -9685,6 +9760,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9685
9760
|
};
|
|
9686
9761
|
leave_requests: {
|
|
9687
9762
|
Row: {
|
|
9763
|
+
cancellation_requested_at: string | null;
|
|
9764
|
+
cancellation_status: string | null;
|
|
9688
9765
|
created_at: string;
|
|
9689
9766
|
decided_at: string | null;
|
|
9690
9767
|
decided_by: string | null;
|
|
@@ -9695,6 +9772,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9695
9772
|
leave_type: string;
|
|
9696
9773
|
monteur_id: string | null;
|
|
9697
9774
|
reason: string | null;
|
|
9775
|
+
reden_afkeur: string | null;
|
|
9698
9776
|
start_date: string;
|
|
9699
9777
|
start_time: string | null;
|
|
9700
9778
|
status: string;
|
|
@@ -9702,6 +9780,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9702
9780
|
user_id: string;
|
|
9703
9781
|
};
|
|
9704
9782
|
Insert: {
|
|
9783
|
+
cancellation_requested_at?: string | null;
|
|
9784
|
+
cancellation_status?: string | null;
|
|
9705
9785
|
created_at?: string;
|
|
9706
9786
|
decided_at?: string | null;
|
|
9707
9787
|
decided_by?: string | null;
|
|
@@ -9712,6 +9792,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9712
9792
|
leave_type?: string;
|
|
9713
9793
|
monteur_id?: string | null;
|
|
9714
9794
|
reason?: string | null;
|
|
9795
|
+
reden_afkeur?: string | null;
|
|
9715
9796
|
start_date: string;
|
|
9716
9797
|
start_time?: string | null;
|
|
9717
9798
|
status?: string;
|
|
@@ -9719,6 +9800,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9719
9800
|
user_id: string;
|
|
9720
9801
|
};
|
|
9721
9802
|
Update: {
|
|
9803
|
+
cancellation_requested_at?: string | null;
|
|
9804
|
+
cancellation_status?: string | null;
|
|
9722
9805
|
created_at?: string;
|
|
9723
9806
|
decided_at?: string | null;
|
|
9724
9807
|
decided_by?: string | null;
|
|
@@ -9729,6 +9812,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
9729
9812
|
leave_type?: string;
|
|
9730
9813
|
monteur_id?: string | null;
|
|
9731
9814
|
reason?: string | null;
|
|
9815
|
+
reden_afkeur?: string | null;
|
|
9732
9816
|
start_date?: string;
|
|
9733
9817
|
start_time?: string | null;
|
|
9734
9818
|
status?: string;
|
|
@@ -10871,6 +10955,54 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
10871
10955
|
};
|
|
10872
10956
|
Relationships: [];
|
|
10873
10957
|
};
|
|
10958
|
+
logistics_order_finalize_queue: {
|
|
10959
|
+
Row: {
|
|
10960
|
+
attempts: number;
|
|
10961
|
+
claimed_at: string | null;
|
|
10962
|
+
created_at: string;
|
|
10963
|
+
finished_at: string | null;
|
|
10964
|
+
last_error: string | null;
|
|
10965
|
+
lease_until: string | null;
|
|
10966
|
+
max_attempts: number;
|
|
10967
|
+
next_attempt_at: string;
|
|
10968
|
+
order_id: string;
|
|
10969
|
+
reason: string | null;
|
|
10970
|
+
requested_at: string;
|
|
10971
|
+
status: string;
|
|
10972
|
+
updated_at: string;
|
|
10973
|
+
};
|
|
10974
|
+
Insert: {
|
|
10975
|
+
attempts?: number;
|
|
10976
|
+
claimed_at?: string | null;
|
|
10977
|
+
created_at?: string;
|
|
10978
|
+
finished_at?: string | null;
|
|
10979
|
+
last_error?: string | null;
|
|
10980
|
+
lease_until?: string | null;
|
|
10981
|
+
max_attempts?: number;
|
|
10982
|
+
next_attempt_at?: string;
|
|
10983
|
+
order_id: string;
|
|
10984
|
+
reason?: string | null;
|
|
10985
|
+
requested_at?: string;
|
|
10986
|
+
status?: string;
|
|
10987
|
+
updated_at?: string;
|
|
10988
|
+
};
|
|
10989
|
+
Update: {
|
|
10990
|
+
attempts?: number;
|
|
10991
|
+
claimed_at?: string | null;
|
|
10992
|
+
created_at?: string;
|
|
10993
|
+
finished_at?: string | null;
|
|
10994
|
+
last_error?: string | null;
|
|
10995
|
+
lease_until?: string | null;
|
|
10996
|
+
max_attempts?: number;
|
|
10997
|
+
next_attempt_at?: string;
|
|
10998
|
+
order_id?: string;
|
|
10999
|
+
reason?: string | null;
|
|
11000
|
+
requested_at?: string;
|
|
11001
|
+
status?: string;
|
|
11002
|
+
updated_at?: string;
|
|
11003
|
+
};
|
|
11004
|
+
Relationships: [];
|
|
11005
|
+
};
|
|
10874
11006
|
logistics_order_merges: {
|
|
10875
11007
|
Row: {
|
|
10876
11008
|
group_key: string;
|
|
@@ -10907,6 +11039,72 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
10907
11039
|
};
|
|
10908
11040
|
Relationships: [];
|
|
10909
11041
|
};
|
|
11042
|
+
logistics_packing_deviations: {
|
|
11043
|
+
Row: {
|
|
11044
|
+
auto_fixed_at: string | null;
|
|
11045
|
+
created_at: string;
|
|
11046
|
+
dev_key: string;
|
|
11047
|
+
first_seen_at: string;
|
|
11048
|
+
floriday_packing: import("./types").Json;
|
|
11049
|
+
human_reason: string | null;
|
|
11050
|
+
id: string;
|
|
11051
|
+
last_seen_at: string;
|
|
11052
|
+
local_packing: import("./types").Json;
|
|
11053
|
+
needs_human: boolean;
|
|
11054
|
+
order_id: string | null;
|
|
11055
|
+
order_item_id: string | null;
|
|
11056
|
+
order_number: string | null;
|
|
11057
|
+
product_id: string | null;
|
|
11058
|
+
product_name: string | null;
|
|
11059
|
+
resolved_at: string | null;
|
|
11060
|
+
scope: string;
|
|
11061
|
+
trade_item_id: string | null;
|
|
11062
|
+
updated_at: string;
|
|
11063
|
+
};
|
|
11064
|
+
Insert: {
|
|
11065
|
+
auto_fixed_at?: string | null;
|
|
11066
|
+
created_at?: string;
|
|
11067
|
+
dev_key: string;
|
|
11068
|
+
first_seen_at?: string;
|
|
11069
|
+
floriday_packing?: import("./types").Json;
|
|
11070
|
+
human_reason?: string | null;
|
|
11071
|
+
id?: string;
|
|
11072
|
+
last_seen_at?: string;
|
|
11073
|
+
local_packing?: import("./types").Json;
|
|
11074
|
+
needs_human?: boolean;
|
|
11075
|
+
order_id?: string | null;
|
|
11076
|
+
order_item_id?: string | null;
|
|
11077
|
+
order_number?: string | null;
|
|
11078
|
+
product_id?: string | null;
|
|
11079
|
+
product_name?: string | null;
|
|
11080
|
+
resolved_at?: string | null;
|
|
11081
|
+
scope: string;
|
|
11082
|
+
trade_item_id?: string | null;
|
|
11083
|
+
updated_at?: string;
|
|
11084
|
+
};
|
|
11085
|
+
Update: {
|
|
11086
|
+
auto_fixed_at?: string | null;
|
|
11087
|
+
created_at?: string;
|
|
11088
|
+
dev_key?: string;
|
|
11089
|
+
first_seen_at?: string;
|
|
11090
|
+
floriday_packing?: import("./types").Json;
|
|
11091
|
+
human_reason?: string | null;
|
|
11092
|
+
id?: string;
|
|
11093
|
+
last_seen_at?: string;
|
|
11094
|
+
local_packing?: import("./types").Json;
|
|
11095
|
+
needs_human?: boolean;
|
|
11096
|
+
order_id?: string | null;
|
|
11097
|
+
order_item_id?: string | null;
|
|
11098
|
+
order_number?: string | null;
|
|
11099
|
+
product_id?: string | null;
|
|
11100
|
+
product_name?: string | null;
|
|
11101
|
+
resolved_at?: string | null;
|
|
11102
|
+
scope?: string;
|
|
11103
|
+
trade_item_id?: string | null;
|
|
11104
|
+
updated_at?: string;
|
|
11105
|
+
};
|
|
11106
|
+
Relationships: [];
|
|
11107
|
+
};
|
|
10910
11108
|
logistics_pick_data_requests: {
|
|
10911
11109
|
Row: {
|
|
10912
11110
|
actions: import("./types").Json;
|
|
@@ -10985,6 +11183,30 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
10985
11183
|
};
|
|
10986
11184
|
Relationships: [];
|
|
10987
11185
|
};
|
|
11186
|
+
logistics_plan_locks: {
|
|
11187
|
+
Row: {
|
|
11188
|
+
created_at: string;
|
|
11189
|
+
lock_key: string;
|
|
11190
|
+
locked_until: string;
|
|
11191
|
+
owner: string | null;
|
|
11192
|
+
updated_at: string;
|
|
11193
|
+
};
|
|
11194
|
+
Insert: {
|
|
11195
|
+
created_at?: string;
|
|
11196
|
+
lock_key: string;
|
|
11197
|
+
locked_until: string;
|
|
11198
|
+
owner?: string | null;
|
|
11199
|
+
updated_at?: string;
|
|
11200
|
+
};
|
|
11201
|
+
Update: {
|
|
11202
|
+
created_at?: string;
|
|
11203
|
+
lock_key?: string;
|
|
11204
|
+
locked_until?: string;
|
|
11205
|
+
owner?: string | null;
|
|
11206
|
+
updated_at?: string;
|
|
11207
|
+
};
|
|
11208
|
+
Relationships: [];
|
|
11209
|
+
};
|
|
10988
11210
|
logistics_plan_queue: {
|
|
10989
11211
|
Row: {
|
|
10990
11212
|
attempts: number;
|
|
@@ -11126,8 +11348,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
11126
11348
|
id: boolean;
|
|
11127
11349
|
last_checked: number;
|
|
11128
11350
|
last_duration_ms: number;
|
|
11351
|
+
last_mode: string | null;
|
|
11129
11352
|
last_run_at: string | null;
|
|
11130
11353
|
last_updated: number;
|
|
11354
|
+
last_would_change: number | null;
|
|
11131
11355
|
pending: boolean;
|
|
11132
11356
|
requested_at: string | null;
|
|
11133
11357
|
updated_at: string;
|
|
@@ -11137,8 +11361,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
11137
11361
|
id?: boolean;
|
|
11138
11362
|
last_checked?: number;
|
|
11139
11363
|
last_duration_ms?: number;
|
|
11364
|
+
last_mode?: string | null;
|
|
11140
11365
|
last_run_at?: string | null;
|
|
11141
11366
|
last_updated?: number;
|
|
11367
|
+
last_would_change?: number | null;
|
|
11142
11368
|
pending?: boolean;
|
|
11143
11369
|
requested_at?: string | null;
|
|
11144
11370
|
updated_at?: string;
|
|
@@ -11148,8 +11374,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
11148
11374
|
id?: boolean;
|
|
11149
11375
|
last_checked?: number;
|
|
11150
11376
|
last_duration_ms?: number;
|
|
11377
|
+
last_mode?: string | null;
|
|
11151
11378
|
last_run_at?: string | null;
|
|
11152
11379
|
last_updated?: number;
|
|
11380
|
+
last_would_change?: number | null;
|
|
11153
11381
|
pending?: boolean;
|
|
11154
11382
|
requested_at?: string | null;
|
|
11155
11383
|
updated_at?: string;
|
|
@@ -11939,42 +12167,165 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
11939
12167
|
};
|
|
11940
12168
|
Relationships: [];
|
|
11941
12169
|
};
|
|
11942
|
-
|
|
12170
|
+
logistics_trace_events_archive: {
|
|
11943
12171
|
Row: {
|
|
12172
|
+
actor: string | null;
|
|
12173
|
+
attempts: number;
|
|
12174
|
+
calc: import("./types").Json | null;
|
|
12175
|
+
cart_ref: string | null;
|
|
11944
12176
|
created_at: string;
|
|
11945
|
-
|
|
11946
|
-
|
|
12177
|
+
db_action: string | null;
|
|
12178
|
+
db_new: import("./types").Json | null;
|
|
12179
|
+
db_old: import("./types").Json | null;
|
|
12180
|
+
db_record: string | null;
|
|
12181
|
+
db_table: string | null;
|
|
12182
|
+
decision: string | null;
|
|
12183
|
+
duration_ms: number | null;
|
|
12184
|
+
error: string | null;
|
|
12185
|
+
error_class: string | null;
|
|
12186
|
+
external_action: string | null;
|
|
12187
|
+
external_ref: string | null;
|
|
12188
|
+
external_response: import("./types").Json | null;
|
|
12189
|
+
external_status: string | null;
|
|
12190
|
+
external_system: string | null;
|
|
11947
12191
|
id: string;
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
12192
|
+
input: import("./types").Json | null;
|
|
12193
|
+
next_attempt_at: string | null;
|
|
12194
|
+
next_step: string | null;
|
|
12195
|
+
node_id: string | null;
|
|
12196
|
+
order_ref: string | null;
|
|
12197
|
+
order_source: string | null;
|
|
12198
|
+
output: import("./types").Json | null;
|
|
12199
|
+
phase: string;
|
|
12200
|
+
reads: import("./types").Json | null;
|
|
12201
|
+
reason: string | null;
|
|
12202
|
+
rule: string | null;
|
|
12203
|
+
slip_ref: string | null;
|
|
12204
|
+
status: string;
|
|
12205
|
+
step: string;
|
|
12206
|
+
superseded_at: string;
|
|
12207
|
+
superseded_reason: string | null;
|
|
12208
|
+
trace_id: string;
|
|
12209
|
+
values_used: import("./types").Json | null;
|
|
11954
12210
|
};
|
|
11955
12211
|
Insert: {
|
|
12212
|
+
actor?: string | null;
|
|
12213
|
+
attempts?: number;
|
|
12214
|
+
calc?: import("./types").Json | null;
|
|
12215
|
+
cart_ref?: string | null;
|
|
11956
12216
|
created_at?: string;
|
|
11957
|
-
|
|
11958
|
-
|
|
12217
|
+
db_action?: string | null;
|
|
12218
|
+
db_new?: import("./types").Json | null;
|
|
12219
|
+
db_old?: import("./types").Json | null;
|
|
12220
|
+
db_record?: string | null;
|
|
12221
|
+
db_table?: string | null;
|
|
12222
|
+
decision?: string | null;
|
|
12223
|
+
duration_ms?: number | null;
|
|
12224
|
+
error?: string | null;
|
|
12225
|
+
error_class?: string | null;
|
|
12226
|
+
external_action?: string | null;
|
|
12227
|
+
external_ref?: string | null;
|
|
12228
|
+
external_response?: import("./types").Json | null;
|
|
12229
|
+
external_status?: string | null;
|
|
12230
|
+
external_system?: string | null;
|
|
11959
12231
|
id?: string;
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
12232
|
+
input?: import("./types").Json | null;
|
|
12233
|
+
next_attempt_at?: string | null;
|
|
12234
|
+
next_step?: string | null;
|
|
12235
|
+
node_id?: string | null;
|
|
12236
|
+
order_ref?: string | null;
|
|
12237
|
+
order_source?: string | null;
|
|
12238
|
+
output?: import("./types").Json | null;
|
|
12239
|
+
phase: string;
|
|
12240
|
+
reads?: import("./types").Json | null;
|
|
12241
|
+
reason?: string | null;
|
|
12242
|
+
rule?: string | null;
|
|
12243
|
+
slip_ref?: string | null;
|
|
12244
|
+
status: string;
|
|
12245
|
+
step: string;
|
|
12246
|
+
superseded_at?: string;
|
|
12247
|
+
superseded_reason?: string | null;
|
|
12248
|
+
trace_id?: string;
|
|
12249
|
+
values_used?: import("./types").Json | null;
|
|
11966
12250
|
};
|
|
11967
12251
|
Update: {
|
|
12252
|
+
actor?: string | null;
|
|
12253
|
+
attempts?: number;
|
|
12254
|
+
calc?: import("./types").Json | null;
|
|
12255
|
+
cart_ref?: string | null;
|
|
11968
12256
|
created_at?: string;
|
|
11969
|
-
|
|
11970
|
-
|
|
12257
|
+
db_action?: string | null;
|
|
12258
|
+
db_new?: import("./types").Json | null;
|
|
12259
|
+
db_old?: import("./types").Json | null;
|
|
12260
|
+
db_record?: string | null;
|
|
12261
|
+
db_table?: string | null;
|
|
12262
|
+
decision?: string | null;
|
|
12263
|
+
duration_ms?: number | null;
|
|
12264
|
+
error?: string | null;
|
|
12265
|
+
error_class?: string | null;
|
|
12266
|
+
external_action?: string | null;
|
|
12267
|
+
external_ref?: string | null;
|
|
12268
|
+
external_response?: import("./types").Json | null;
|
|
12269
|
+
external_status?: string | null;
|
|
12270
|
+
external_system?: string | null;
|
|
11971
12271
|
id?: string;
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
12272
|
+
input?: import("./types").Json | null;
|
|
12273
|
+
next_attempt_at?: string | null;
|
|
12274
|
+
next_step?: string | null;
|
|
12275
|
+
node_id?: string | null;
|
|
12276
|
+
order_ref?: string | null;
|
|
12277
|
+
order_source?: string | null;
|
|
12278
|
+
output?: import("./types").Json | null;
|
|
12279
|
+
phase?: string;
|
|
12280
|
+
reads?: import("./types").Json | null;
|
|
12281
|
+
reason?: string | null;
|
|
12282
|
+
rule?: string | null;
|
|
12283
|
+
slip_ref?: string | null;
|
|
12284
|
+
status?: string;
|
|
12285
|
+
step?: string;
|
|
12286
|
+
superseded_at?: string;
|
|
12287
|
+
superseded_reason?: string | null;
|
|
12288
|
+
trace_id?: string;
|
|
12289
|
+
values_used?: import("./types").Json | null;
|
|
12290
|
+
};
|
|
12291
|
+
Relationships: [];
|
|
12292
|
+
};
|
|
12293
|
+
logistics_variables: {
|
|
12294
|
+
Row: {
|
|
12295
|
+
created_at: string;
|
|
12296
|
+
default_value: string | null;
|
|
12297
|
+
description: string | null;
|
|
12298
|
+
id: string;
|
|
12299
|
+
is_builtin: boolean;
|
|
12300
|
+
key: string;
|
|
12301
|
+
label: string;
|
|
12302
|
+
updated_at: string;
|
|
12303
|
+
user_id: string;
|
|
12304
|
+
value_type: string;
|
|
12305
|
+
};
|
|
12306
|
+
Insert: {
|
|
12307
|
+
created_at?: string;
|
|
12308
|
+
default_value?: string | null;
|
|
12309
|
+
description?: string | null;
|
|
12310
|
+
id?: string;
|
|
12311
|
+
is_builtin?: boolean;
|
|
12312
|
+
key: string;
|
|
12313
|
+
label: string;
|
|
12314
|
+
updated_at?: string;
|
|
12315
|
+
user_id: string;
|
|
12316
|
+
value_type: string;
|
|
12317
|
+
};
|
|
12318
|
+
Update: {
|
|
12319
|
+
created_at?: string;
|
|
12320
|
+
default_value?: string | null;
|
|
12321
|
+
description?: string | null;
|
|
12322
|
+
id?: string;
|
|
12323
|
+
is_builtin?: boolean;
|
|
12324
|
+
key?: string;
|
|
12325
|
+
label?: string;
|
|
12326
|
+
updated_at?: string;
|
|
12327
|
+
user_id?: string;
|
|
12328
|
+
value_type?: string;
|
|
11978
12329
|
};
|
|
11979
12330
|
Relationships: [];
|
|
11980
12331
|
};
|
|
@@ -13022,6 +13373,42 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
13022
13373
|
};
|
|
13023
13374
|
Relationships: [];
|
|
13024
13375
|
};
|
|
13376
|
+
monteur_contracten: {
|
|
13377
|
+
Row: {
|
|
13378
|
+
contract_type: string;
|
|
13379
|
+
created_at: string;
|
|
13380
|
+
days_per_week: number;
|
|
13381
|
+
hours_per_week: number;
|
|
13382
|
+
id: string;
|
|
13383
|
+
updated_at: string;
|
|
13384
|
+
user_id: string;
|
|
13385
|
+
vacation_day_hours: number;
|
|
13386
|
+
vacation_days_per_year: number;
|
|
13387
|
+
};
|
|
13388
|
+
Insert: {
|
|
13389
|
+
contract_type?: string;
|
|
13390
|
+
created_at?: string;
|
|
13391
|
+
days_per_week?: number;
|
|
13392
|
+
hours_per_week?: number;
|
|
13393
|
+
id?: string;
|
|
13394
|
+
updated_at?: string;
|
|
13395
|
+
user_id: string;
|
|
13396
|
+
vacation_day_hours?: number;
|
|
13397
|
+
vacation_days_per_year?: number;
|
|
13398
|
+
};
|
|
13399
|
+
Update: {
|
|
13400
|
+
contract_type?: string;
|
|
13401
|
+
created_at?: string;
|
|
13402
|
+
days_per_week?: number;
|
|
13403
|
+
hours_per_week?: number;
|
|
13404
|
+
id?: string;
|
|
13405
|
+
updated_at?: string;
|
|
13406
|
+
user_id?: string;
|
|
13407
|
+
vacation_day_hours?: number;
|
|
13408
|
+
vacation_days_per_year?: number;
|
|
13409
|
+
};
|
|
13410
|
+
Relationships: [];
|
|
13411
|
+
};
|
|
13025
13412
|
nmbrs_component_mapping: {
|
|
13026
13413
|
Row: {
|
|
13027
13414
|
created_at: string;
|
|
@@ -13501,6 +13888,9 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
13501
13888
|
id: string;
|
|
13502
13889
|
items: import("./types").Json;
|
|
13503
13890
|
notes: string | null;
|
|
13891
|
+
order_creation_error: string | null;
|
|
13892
|
+
order_creation_failed_at: string | null;
|
|
13893
|
+
order_id: string | null;
|
|
13504
13894
|
order_number: string | null;
|
|
13505
13895
|
recipient_id: string;
|
|
13506
13896
|
total_amount: number;
|
|
@@ -13515,6 +13905,9 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
13515
13905
|
id?: string;
|
|
13516
13906
|
items?: import("./types").Json;
|
|
13517
13907
|
notes?: string | null;
|
|
13908
|
+
order_creation_error?: string | null;
|
|
13909
|
+
order_creation_failed_at?: string | null;
|
|
13910
|
+
order_id?: string | null;
|
|
13518
13911
|
order_number?: string | null;
|
|
13519
13912
|
recipient_id: string;
|
|
13520
13913
|
total_amount?: number;
|
|
@@ -13529,6 +13922,9 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
13529
13922
|
id?: string;
|
|
13530
13923
|
items?: import("./types").Json;
|
|
13531
13924
|
notes?: string | null;
|
|
13925
|
+
order_creation_error?: string | null;
|
|
13926
|
+
order_creation_failed_at?: string | null;
|
|
13927
|
+
order_id?: string | null;
|
|
13532
13928
|
order_number?: string | null;
|
|
13533
13929
|
recipient_id?: string;
|
|
13534
13930
|
total_amount?: number;
|
|
@@ -13545,6 +13941,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
13545
13941
|
isOneToOne: false;
|
|
13546
13942
|
referencedRelation: "customers";
|
|
13547
13943
|
referencedColumns: ["id"];
|
|
13944
|
+
}, {
|
|
13945
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
13946
|
+
columns: ["order_id"];
|
|
13947
|
+
isOneToOne: false;
|
|
13948
|
+
referencedRelation: "orders";
|
|
13949
|
+
referencedColumns: ["id"];
|
|
13548
13950
|
}, {
|
|
13549
13951
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13550
13952
|
columns: ["recipient_id"];
|
|
@@ -13685,6 +14087,30 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
13685
14087
|
};
|
|
13686
14088
|
Relationships: [];
|
|
13687
14089
|
};
|
|
14090
|
+
order_block_notifications: {
|
|
14091
|
+
Row: {
|
|
14092
|
+
id: string;
|
|
14093
|
+
notified_at: string;
|
|
14094
|
+
order_id: string;
|
|
14095
|
+
reason: string | null;
|
|
14096
|
+
reason_key: string;
|
|
14097
|
+
};
|
|
14098
|
+
Insert: {
|
|
14099
|
+
id?: string;
|
|
14100
|
+
notified_at?: string;
|
|
14101
|
+
order_id: string;
|
|
14102
|
+
reason?: string | null;
|
|
14103
|
+
reason_key: string;
|
|
14104
|
+
};
|
|
14105
|
+
Update: {
|
|
14106
|
+
id?: string;
|
|
14107
|
+
notified_at?: string;
|
|
14108
|
+
order_id?: string;
|
|
14109
|
+
reason?: string | null;
|
|
14110
|
+
reason_key?: string;
|
|
14111
|
+
};
|
|
14112
|
+
Relationships: [];
|
|
14113
|
+
};
|
|
13688
14114
|
order_buffers: {
|
|
13689
14115
|
Row: {
|
|
13690
14116
|
buffer_key: string;
|
|
@@ -14154,10 +14580,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
14154
14580
|
id: string;
|
|
14155
14581
|
layers_per_cart: number | null;
|
|
14156
14582
|
order_id: string;
|
|
14583
|
+
packing_locked_at: string | null;
|
|
14584
|
+
packing_locked_by: string | null;
|
|
14157
14585
|
plants_per_crate: number | null;
|
|
14158
14586
|
product_id: string | null;
|
|
14159
14587
|
product_name: string;
|
|
14160
14588
|
quantity: number;
|
|
14589
|
+
source_line_key: string | null;
|
|
14161
14590
|
unit: string;
|
|
14162
14591
|
unit_price: number | null;
|
|
14163
14592
|
};
|
|
@@ -14167,10 +14596,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
14167
14596
|
id?: string;
|
|
14168
14597
|
layers_per_cart?: number | null;
|
|
14169
14598
|
order_id: string;
|
|
14599
|
+
packing_locked_at?: string | null;
|
|
14600
|
+
packing_locked_by?: string | null;
|
|
14170
14601
|
plants_per_crate?: number | null;
|
|
14171
14602
|
product_id?: string | null;
|
|
14172
14603
|
product_name: string;
|
|
14173
14604
|
quantity?: number;
|
|
14605
|
+
source_line_key?: string | null;
|
|
14174
14606
|
unit?: string;
|
|
14175
14607
|
unit_price?: number | null;
|
|
14176
14608
|
};
|
|
@@ -14180,10 +14612,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
14180
14612
|
id?: string;
|
|
14181
14613
|
layers_per_cart?: number | null;
|
|
14182
14614
|
order_id?: string;
|
|
14615
|
+
packing_locked_at?: string | null;
|
|
14616
|
+
packing_locked_by?: string | null;
|
|
14183
14617
|
plants_per_crate?: number | null;
|
|
14184
14618
|
product_id?: string | null;
|
|
14185
14619
|
product_name?: string;
|
|
14186
14620
|
quantity?: number;
|
|
14621
|
+
source_line_key?: string | null;
|
|
14187
14622
|
unit?: string;
|
|
14188
14623
|
unit_price?: number | null;
|
|
14189
14624
|
};
|
|
@@ -15692,6 +16127,195 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
15692
16127
|
referencedColumns: ["id"];
|
|
15693
16128
|
}];
|
|
15694
16129
|
};
|
|
16130
|
+
planning_monteur_day_locations: {
|
|
16131
|
+
Row: {
|
|
16132
|
+
created_at: string;
|
|
16133
|
+
day: string;
|
|
16134
|
+
end_at: string;
|
|
16135
|
+
id: string;
|
|
16136
|
+
monteur_id: string;
|
|
16137
|
+
start_from: string;
|
|
16138
|
+
updated_at: string;
|
|
16139
|
+
};
|
|
16140
|
+
Insert: {
|
|
16141
|
+
created_at?: string;
|
|
16142
|
+
day: string;
|
|
16143
|
+
end_at?: string;
|
|
16144
|
+
id?: string;
|
|
16145
|
+
monteur_id: string;
|
|
16146
|
+
start_from?: string;
|
|
16147
|
+
updated_at?: string;
|
|
16148
|
+
};
|
|
16149
|
+
Update: {
|
|
16150
|
+
created_at?: string;
|
|
16151
|
+
day?: string;
|
|
16152
|
+
end_at?: string;
|
|
16153
|
+
id?: string;
|
|
16154
|
+
monteur_id?: string;
|
|
16155
|
+
start_from?: string;
|
|
16156
|
+
updated_at?: string;
|
|
16157
|
+
};
|
|
16158
|
+
Relationships: [];
|
|
16159
|
+
};
|
|
16160
|
+
planning_monteur_locations: {
|
|
16161
|
+
Row: {
|
|
16162
|
+
created_at: string;
|
|
16163
|
+
default_end: string;
|
|
16164
|
+
default_start: string;
|
|
16165
|
+
end_address: string | null;
|
|
16166
|
+
home_address: string | null;
|
|
16167
|
+
id: string;
|
|
16168
|
+
monteur_id: string;
|
|
16169
|
+
start_address: string | null;
|
|
16170
|
+
updated_at: string;
|
|
16171
|
+
};
|
|
16172
|
+
Insert: {
|
|
16173
|
+
created_at?: string;
|
|
16174
|
+
default_end?: string;
|
|
16175
|
+
default_start?: string;
|
|
16176
|
+
end_address?: string | null;
|
|
16177
|
+
home_address?: string | null;
|
|
16178
|
+
id?: string;
|
|
16179
|
+
monteur_id: string;
|
|
16180
|
+
start_address?: string | null;
|
|
16181
|
+
updated_at?: string;
|
|
16182
|
+
};
|
|
16183
|
+
Update: {
|
|
16184
|
+
created_at?: string;
|
|
16185
|
+
default_end?: string;
|
|
16186
|
+
default_start?: string;
|
|
16187
|
+
end_address?: string | null;
|
|
16188
|
+
home_address?: string | null;
|
|
16189
|
+
id?: string;
|
|
16190
|
+
monteur_id?: string;
|
|
16191
|
+
start_address?: string | null;
|
|
16192
|
+
updated_at?: string;
|
|
16193
|
+
};
|
|
16194
|
+
Relationships: [];
|
|
16195
|
+
};
|
|
16196
|
+
planning_settings: {
|
|
16197
|
+
Row: {
|
|
16198
|
+
company_address: string | null;
|
|
16199
|
+
created_at: string;
|
|
16200
|
+
id: string;
|
|
16201
|
+
singleton: boolean;
|
|
16202
|
+
updated_at: string;
|
|
16203
|
+
};
|
|
16204
|
+
Insert: {
|
|
16205
|
+
company_address?: string | null;
|
|
16206
|
+
created_at?: string;
|
|
16207
|
+
id?: string;
|
|
16208
|
+
singleton?: boolean;
|
|
16209
|
+
updated_at?: string;
|
|
16210
|
+
};
|
|
16211
|
+
Update: {
|
|
16212
|
+
company_address?: string | null;
|
|
16213
|
+
created_at?: string;
|
|
16214
|
+
id?: string;
|
|
16215
|
+
singleton?: boolean;
|
|
16216
|
+
updated_at?: string;
|
|
16217
|
+
};
|
|
16218
|
+
Relationships: [];
|
|
16219
|
+
};
|
|
16220
|
+
planning_travel_legs: {
|
|
16221
|
+
Row: {
|
|
16222
|
+
after_min: number;
|
|
16223
|
+
after_reason: string | null;
|
|
16224
|
+
after_status: string;
|
|
16225
|
+
after_to_address: string | null;
|
|
16226
|
+
before_from_address: string | null;
|
|
16227
|
+
before_min: number;
|
|
16228
|
+
before_reason: string | null;
|
|
16229
|
+
before_status: string;
|
|
16230
|
+
computed_at: string;
|
|
16231
|
+
computed_end_at: string | null;
|
|
16232
|
+
computed_start_at: string | null;
|
|
16233
|
+
created_at: string;
|
|
16234
|
+
id: string;
|
|
16235
|
+
monteur_id: string;
|
|
16236
|
+
planning_item_id: string;
|
|
16237
|
+
shared_after_item_id: string | null;
|
|
16238
|
+
shared_before_item_id: string | null;
|
|
16239
|
+
updated_at: string;
|
|
16240
|
+
};
|
|
16241
|
+
Insert: {
|
|
16242
|
+
after_min?: number;
|
|
16243
|
+
after_reason?: string | null;
|
|
16244
|
+
after_status?: string;
|
|
16245
|
+
after_to_address?: string | null;
|
|
16246
|
+
before_from_address?: string | null;
|
|
16247
|
+
before_min?: number;
|
|
16248
|
+
before_reason?: string | null;
|
|
16249
|
+
before_status?: string;
|
|
16250
|
+
computed_at?: string;
|
|
16251
|
+
computed_end_at?: string | null;
|
|
16252
|
+
computed_start_at?: string | null;
|
|
16253
|
+
created_at?: string;
|
|
16254
|
+
id?: string;
|
|
16255
|
+
monteur_id: string;
|
|
16256
|
+
planning_item_id: string;
|
|
16257
|
+
shared_after_item_id?: string | null;
|
|
16258
|
+
shared_before_item_id?: string | null;
|
|
16259
|
+
updated_at?: string;
|
|
16260
|
+
};
|
|
16261
|
+
Update: {
|
|
16262
|
+
after_min?: number;
|
|
16263
|
+
after_reason?: string | null;
|
|
16264
|
+
after_status?: string;
|
|
16265
|
+
after_to_address?: string | null;
|
|
16266
|
+
before_from_address?: string | null;
|
|
16267
|
+
before_min?: number;
|
|
16268
|
+
before_reason?: string | null;
|
|
16269
|
+
before_status?: string;
|
|
16270
|
+
computed_at?: string;
|
|
16271
|
+
computed_end_at?: string | null;
|
|
16272
|
+
computed_start_at?: string | null;
|
|
16273
|
+
created_at?: string;
|
|
16274
|
+
id?: string;
|
|
16275
|
+
monteur_id?: string;
|
|
16276
|
+
planning_item_id?: string;
|
|
16277
|
+
shared_after_item_id?: string | null;
|
|
16278
|
+
shared_before_item_id?: string | null;
|
|
16279
|
+
updated_at?: string;
|
|
16280
|
+
};
|
|
16281
|
+
Relationships: [{
|
|
16282
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16283
|
+
columns: ["planning_item_id"];
|
|
16284
|
+
isOneToOne: false;
|
|
16285
|
+
referencedRelation: "planning_items";
|
|
16286
|
+
referencedColumns: ["id"];
|
|
16287
|
+
}, {
|
|
16288
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16289
|
+
columns: ["planning_item_id"];
|
|
16290
|
+
isOneToOne: false;
|
|
16291
|
+
referencedRelation: "planning_overview";
|
|
16292
|
+
referencedColumns: ["id"];
|
|
16293
|
+
}, {
|
|
16294
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16295
|
+
columns: ["shared_after_item_id"];
|
|
16296
|
+
isOneToOne: false;
|
|
16297
|
+
referencedRelation: "planning_items";
|
|
16298
|
+
referencedColumns: ["id"];
|
|
16299
|
+
}, {
|
|
16300
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16301
|
+
columns: ["shared_after_item_id"];
|
|
16302
|
+
isOneToOne: false;
|
|
16303
|
+
referencedRelation: "planning_overview";
|
|
16304
|
+
referencedColumns: ["id"];
|
|
16305
|
+
}, {
|
|
16306
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16307
|
+
columns: ["shared_before_item_id"];
|
|
16308
|
+
isOneToOne: false;
|
|
16309
|
+
referencedRelation: "planning_items";
|
|
16310
|
+
referencedColumns: ["id"];
|
|
16311
|
+
}, {
|
|
16312
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16313
|
+
columns: ["shared_before_item_id"];
|
|
16314
|
+
isOneToOne: false;
|
|
16315
|
+
referencedRelation: "planning_overview";
|
|
16316
|
+
referencedColumns: ["id"];
|
|
16317
|
+
}];
|
|
16318
|
+
};
|
|
15695
16319
|
price_list_rows: {
|
|
15696
16320
|
Row: {
|
|
15697
16321
|
action: string;
|
|
@@ -16975,6 +17599,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
16975
17599
|
crates_per_layer: number;
|
|
16976
17600
|
created_at: string;
|
|
16977
17601
|
custom_fields: import("./types").Json;
|
|
17602
|
+
floriday_packing_confirmed_at: string | null;
|
|
17603
|
+
floriday_packing_source: string | null;
|
|
16978
17604
|
floriday_trade_item_id: string | null;
|
|
16979
17605
|
fust_type_id: string | null;
|
|
16980
17606
|
id: string;
|
|
@@ -17003,6 +17629,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
17003
17629
|
crates_per_layer?: number;
|
|
17004
17630
|
created_at?: string;
|
|
17005
17631
|
custom_fields?: import("./types").Json;
|
|
17632
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17633
|
+
floriday_packing_source?: string | null;
|
|
17006
17634
|
floriday_trade_item_id?: string | null;
|
|
17007
17635
|
fust_type_id?: string | null;
|
|
17008
17636
|
id?: string;
|
|
@@ -17031,6 +17659,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
17031
17659
|
crates_per_layer?: number;
|
|
17032
17660
|
created_at?: string;
|
|
17033
17661
|
custom_fields?: import("./types").Json;
|
|
17662
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17663
|
+
floriday_packing_source?: string | null;
|
|
17034
17664
|
floriday_trade_item_id?: string | null;
|
|
17035
17665
|
fust_type_id?: string | null;
|
|
17036
17666
|
id?: string;
|
|
@@ -17130,6 +17760,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
17130
17760
|
id: string;
|
|
17131
17761
|
is_superadmin: boolean;
|
|
17132
17762
|
notification_preferences: import("./types").Json;
|
|
17763
|
+
phone: string | null;
|
|
17133
17764
|
tenant_id: string | null;
|
|
17134
17765
|
updated_at: string;
|
|
17135
17766
|
};
|
|
@@ -17142,6 +17773,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
17142
17773
|
id: string;
|
|
17143
17774
|
is_superadmin?: boolean;
|
|
17144
17775
|
notification_preferences?: import("./types").Json;
|
|
17776
|
+
phone?: string | null;
|
|
17145
17777
|
tenant_id?: string | null;
|
|
17146
17778
|
updated_at?: string;
|
|
17147
17779
|
};
|
|
@@ -17154,6 +17786,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
17154
17786
|
id?: string;
|
|
17155
17787
|
is_superadmin?: boolean;
|
|
17156
17788
|
notification_preferences?: import("./types").Json;
|
|
17789
|
+
phone?: string | null;
|
|
17157
17790
|
tenant_id?: string | null;
|
|
17158
17791
|
updated_at?: string;
|
|
17159
17792
|
};
|
|
@@ -18897,40 +19530,52 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
18897
19530
|
Row: {
|
|
18898
19531
|
approved_at: string | null;
|
|
18899
19532
|
approved_by: string | null;
|
|
19533
|
+
contract_hours: number;
|
|
18900
19534
|
created_at: string;
|
|
18901
19535
|
employee_id: string;
|
|
18902
19536
|
id: string;
|
|
18903
19537
|
locked: boolean;
|
|
19538
|
+
monteur_toelichting: string | null;
|
|
18904
19539
|
notes: string | null;
|
|
19540
|
+
planned_hours: number;
|
|
18905
19541
|
status: string;
|
|
18906
19542
|
submitted_at: string | null;
|
|
18907
19543
|
updated_at: string;
|
|
19544
|
+
variance_hours: number;
|
|
18908
19545
|
week_start: string;
|
|
18909
19546
|
};
|
|
18910
19547
|
Insert: {
|
|
18911
19548
|
approved_at?: string | null;
|
|
18912
19549
|
approved_by?: string | null;
|
|
19550
|
+
contract_hours?: number;
|
|
18913
19551
|
created_at?: string;
|
|
18914
19552
|
employee_id: string;
|
|
18915
19553
|
id?: string;
|
|
18916
19554
|
locked?: boolean;
|
|
19555
|
+
monteur_toelichting?: string | null;
|
|
18917
19556
|
notes?: string | null;
|
|
19557
|
+
planned_hours?: number;
|
|
18918
19558
|
status?: string;
|
|
18919
19559
|
submitted_at?: string | null;
|
|
18920
19560
|
updated_at?: string;
|
|
19561
|
+
variance_hours?: number;
|
|
18921
19562
|
week_start: string;
|
|
18922
19563
|
};
|
|
18923
19564
|
Update: {
|
|
18924
19565
|
approved_at?: string | null;
|
|
18925
19566
|
approved_by?: string | null;
|
|
19567
|
+
contract_hours?: number;
|
|
18926
19568
|
created_at?: string;
|
|
18927
19569
|
employee_id?: string;
|
|
18928
19570
|
id?: string;
|
|
18929
19571
|
locked?: boolean;
|
|
19572
|
+
monteur_toelichting?: string | null;
|
|
18930
19573
|
notes?: string | null;
|
|
19574
|
+
planned_hours?: number;
|
|
18931
19575
|
status?: string;
|
|
18932
19576
|
submitted_at?: string | null;
|
|
18933
19577
|
updated_at?: string;
|
|
19578
|
+
variance_hours?: number;
|
|
18934
19579
|
week_start?: string;
|
|
18935
19580
|
};
|
|
18936
19581
|
Relationships: [{
|
|
@@ -20264,6 +20909,45 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
20264
20909
|
referencedColumns: ["id"];
|
|
20265
20910
|
}];
|
|
20266
20911
|
};
|
|
20912
|
+
uren_beschikbare_dagen: {
|
|
20913
|
+
Row: {
|
|
20914
|
+
bron: string;
|
|
20915
|
+
created_at: string;
|
|
20916
|
+
datum: string;
|
|
20917
|
+
eind_tijd: string | null;
|
|
20918
|
+
half_hour_slots: number[];
|
|
20919
|
+
id: string;
|
|
20920
|
+
monteur_id: string;
|
|
20921
|
+
start_tijd: string | null;
|
|
20922
|
+
updated_at: string;
|
|
20923
|
+
uren: number;
|
|
20924
|
+
};
|
|
20925
|
+
Insert: {
|
|
20926
|
+
bron?: string;
|
|
20927
|
+
created_at?: string;
|
|
20928
|
+
datum: string;
|
|
20929
|
+
eind_tijd?: string | null;
|
|
20930
|
+
half_hour_slots?: number[];
|
|
20931
|
+
id?: string;
|
|
20932
|
+
monteur_id: string;
|
|
20933
|
+
start_tijd?: string | null;
|
|
20934
|
+
updated_at?: string;
|
|
20935
|
+
uren?: number;
|
|
20936
|
+
};
|
|
20937
|
+
Update: {
|
|
20938
|
+
bron?: string;
|
|
20939
|
+
created_at?: string;
|
|
20940
|
+
datum?: string;
|
|
20941
|
+
eind_tijd?: string | null;
|
|
20942
|
+
half_hour_slots?: number[];
|
|
20943
|
+
id?: string;
|
|
20944
|
+
monteur_id?: string;
|
|
20945
|
+
start_tijd?: string | null;
|
|
20946
|
+
updated_at?: string;
|
|
20947
|
+
uren?: number;
|
|
20948
|
+
};
|
|
20949
|
+
Relationships: [];
|
|
20950
|
+
};
|
|
20267
20951
|
uren_cao_profiles: {
|
|
20268
20952
|
Row: {
|
|
20269
20953
|
break_minutes: number | null;
|
|
@@ -20402,18 +21086,135 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
20402
21086
|
};
|
|
20403
21087
|
Relationships: [];
|
|
20404
21088
|
};
|
|
20405
|
-
|
|
21089
|
+
uren_maandafsluitingen: {
|
|
20406
21090
|
Row: {
|
|
20407
|
-
|
|
21091
|
+
afgesloten_at: string | null;
|
|
21092
|
+
afgesloten_door: string | null;
|
|
21093
|
+
contract_minuten: number;
|
|
21094
|
+
correctie_reden: string | null;
|
|
20408
21095
|
created_at: string;
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
|
|
21096
|
+
gecorrigeerd_at: string | null;
|
|
21097
|
+
gecorrigeerd_door: string | null;
|
|
21098
|
+
gewerkte_minuten: number;
|
|
21099
|
+
id: string;
|
|
21100
|
+
maand: string;
|
|
21101
|
+
min_minuten: number;
|
|
21102
|
+
monteur_id: string;
|
|
21103
|
+
netto_verschil_minuten: number;
|
|
21104
|
+
normaal_uitbetaald_minuten: number;
|
|
21105
|
+
overuren_minuten: number;
|
|
21106
|
+
plus_minuten: number;
|
|
21107
|
+
status: string;
|
|
21108
|
+
totaal_uitbetaald_minuten: number;
|
|
20415
21109
|
updated_at: string;
|
|
20416
|
-
|
|
21110
|
+
};
|
|
21111
|
+
Insert: {
|
|
21112
|
+
afgesloten_at?: string | null;
|
|
21113
|
+
afgesloten_door?: string | null;
|
|
21114
|
+
contract_minuten?: number;
|
|
21115
|
+
correctie_reden?: string | null;
|
|
21116
|
+
created_at?: string;
|
|
21117
|
+
gecorrigeerd_at?: string | null;
|
|
21118
|
+
gecorrigeerd_door?: string | null;
|
|
21119
|
+
gewerkte_minuten?: number;
|
|
21120
|
+
id?: string;
|
|
21121
|
+
maand: string;
|
|
21122
|
+
min_minuten?: number;
|
|
21123
|
+
monteur_id: string;
|
|
21124
|
+
netto_verschil_minuten?: number;
|
|
21125
|
+
normaal_uitbetaald_minuten?: number;
|
|
21126
|
+
overuren_minuten?: number;
|
|
21127
|
+
plus_minuten?: number;
|
|
21128
|
+
status?: string;
|
|
21129
|
+
totaal_uitbetaald_minuten?: number;
|
|
21130
|
+
updated_at?: string;
|
|
21131
|
+
};
|
|
21132
|
+
Update: {
|
|
21133
|
+
afgesloten_at?: string | null;
|
|
21134
|
+
afgesloten_door?: string | null;
|
|
21135
|
+
contract_minuten?: number;
|
|
21136
|
+
correctie_reden?: string | null;
|
|
21137
|
+
created_at?: string;
|
|
21138
|
+
gecorrigeerd_at?: string | null;
|
|
21139
|
+
gecorrigeerd_door?: string | null;
|
|
21140
|
+
gewerkte_minuten?: number;
|
|
21141
|
+
id?: string;
|
|
21142
|
+
maand?: string;
|
|
21143
|
+
min_minuten?: number;
|
|
21144
|
+
monteur_id?: string;
|
|
21145
|
+
netto_verschil_minuten?: number;
|
|
21146
|
+
normaal_uitbetaald_minuten?: number;
|
|
21147
|
+
overuren_minuten?: number;
|
|
21148
|
+
plus_minuten?: number;
|
|
21149
|
+
status?: string;
|
|
21150
|
+
totaal_uitbetaald_minuten?: number;
|
|
21151
|
+
updated_at?: string;
|
|
21152
|
+
};
|
|
21153
|
+
Relationships: [];
|
|
21154
|
+
};
|
|
21155
|
+
uren_overuren_verklaringen: {
|
|
21156
|
+
Row: {
|
|
21157
|
+
beoordeeld_door: string | null;
|
|
21158
|
+
beoordeeld_op: string | null;
|
|
21159
|
+
created_at: string;
|
|
21160
|
+
datum: string;
|
|
21161
|
+
eind_tijd: string | null;
|
|
21162
|
+
id: string;
|
|
21163
|
+
ingediend_at: string;
|
|
21164
|
+
monteur_id: string;
|
|
21165
|
+
overuren: number;
|
|
21166
|
+
reden_afkeur: string | null;
|
|
21167
|
+
start_tijd: string | null;
|
|
21168
|
+
status: string;
|
|
21169
|
+
toelichting: string;
|
|
21170
|
+
updated_at: string;
|
|
21171
|
+
};
|
|
21172
|
+
Insert: {
|
|
21173
|
+
beoordeeld_door?: string | null;
|
|
21174
|
+
beoordeeld_op?: string | null;
|
|
21175
|
+
created_at?: string;
|
|
21176
|
+
datum: string;
|
|
21177
|
+
eind_tijd?: string | null;
|
|
21178
|
+
id?: string;
|
|
21179
|
+
ingediend_at?: string;
|
|
21180
|
+
monteur_id: string;
|
|
21181
|
+
overuren: number;
|
|
21182
|
+
reden_afkeur?: string | null;
|
|
21183
|
+
start_tijd?: string | null;
|
|
21184
|
+
status?: string;
|
|
21185
|
+
toelichting: string;
|
|
21186
|
+
updated_at?: string;
|
|
21187
|
+
};
|
|
21188
|
+
Update: {
|
|
21189
|
+
beoordeeld_door?: string | null;
|
|
21190
|
+
beoordeeld_op?: string | null;
|
|
21191
|
+
created_at?: string;
|
|
21192
|
+
datum?: string;
|
|
21193
|
+
eind_tijd?: string | null;
|
|
21194
|
+
id?: string;
|
|
21195
|
+
ingediend_at?: string;
|
|
21196
|
+
monteur_id?: string;
|
|
21197
|
+
overuren?: number;
|
|
21198
|
+
reden_afkeur?: string | null;
|
|
21199
|
+
start_tijd?: string | null;
|
|
21200
|
+
status?: string;
|
|
21201
|
+
toelichting?: string;
|
|
21202
|
+
updated_at?: string;
|
|
21203
|
+
};
|
|
21204
|
+
Relationships: [];
|
|
21205
|
+
};
|
|
21206
|
+
uren_settings: {
|
|
21207
|
+
Row: {
|
|
21208
|
+
break_minutes: number;
|
|
21209
|
+
created_at: string;
|
|
21210
|
+
daily_threshold_hours: number;
|
|
21211
|
+
id: boolean;
|
|
21212
|
+
include_travel: boolean;
|
|
21213
|
+
min_occupancy_monteurs: number;
|
|
21214
|
+
ov02_percentage: number;
|
|
21215
|
+
ov03_percentage: number;
|
|
21216
|
+
updated_at: string;
|
|
21217
|
+
weekly_threshold_hours: number;
|
|
20417
21218
|
workday_end: string;
|
|
20418
21219
|
workday_start: string;
|
|
20419
21220
|
};
|
|
@@ -20447,6 +21248,75 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
20447
21248
|
};
|
|
20448
21249
|
Relationships: [];
|
|
20449
21250
|
};
|
|
21251
|
+
uren_standaardweek: {
|
|
21252
|
+
Row: {
|
|
21253
|
+
created_at: string;
|
|
21254
|
+
eind_slot: number;
|
|
21255
|
+
id: string;
|
|
21256
|
+
monteur_id: string;
|
|
21257
|
+
start_slot: number;
|
|
21258
|
+
updated_at: string;
|
|
21259
|
+
weekdag: number;
|
|
21260
|
+
};
|
|
21261
|
+
Insert: {
|
|
21262
|
+
created_at?: string;
|
|
21263
|
+
eind_slot: number;
|
|
21264
|
+
id?: string;
|
|
21265
|
+
monteur_id: string;
|
|
21266
|
+
start_slot: number;
|
|
21267
|
+
updated_at?: string;
|
|
21268
|
+
weekdag: number;
|
|
21269
|
+
};
|
|
21270
|
+
Update: {
|
|
21271
|
+
created_at?: string;
|
|
21272
|
+
eind_slot?: number;
|
|
21273
|
+
id?: string;
|
|
21274
|
+
monteur_id?: string;
|
|
21275
|
+
start_slot?: number;
|
|
21276
|
+
updated_at?: string;
|
|
21277
|
+
weekdag?: number;
|
|
21278
|
+
};
|
|
21279
|
+
Relationships: [];
|
|
21280
|
+
};
|
|
21281
|
+
uren_standaardweek_wijzigingen: {
|
|
21282
|
+
Row: {
|
|
21283
|
+
beoordeeld_door: string | null;
|
|
21284
|
+
beoordeeld_op: string | null;
|
|
21285
|
+
created_at: string;
|
|
21286
|
+
huidig: import("./types").Json;
|
|
21287
|
+
id: string;
|
|
21288
|
+
monteur_id: string;
|
|
21289
|
+
reden_afkeur: string | null;
|
|
21290
|
+
status: string;
|
|
21291
|
+
updated_at: string;
|
|
21292
|
+
voorstel: import("./types").Json;
|
|
21293
|
+
};
|
|
21294
|
+
Insert: {
|
|
21295
|
+
beoordeeld_door?: string | null;
|
|
21296
|
+
beoordeeld_op?: string | null;
|
|
21297
|
+
created_at?: string;
|
|
21298
|
+
huidig?: import("./types").Json;
|
|
21299
|
+
id?: string;
|
|
21300
|
+
monteur_id: string;
|
|
21301
|
+
reden_afkeur?: string | null;
|
|
21302
|
+
status?: string;
|
|
21303
|
+
updated_at?: string;
|
|
21304
|
+
voorstel: import("./types").Json;
|
|
21305
|
+
};
|
|
21306
|
+
Update: {
|
|
21307
|
+
beoordeeld_door?: string | null;
|
|
21308
|
+
beoordeeld_op?: string | null;
|
|
21309
|
+
created_at?: string;
|
|
21310
|
+
huidig?: import("./types").Json;
|
|
21311
|
+
id?: string;
|
|
21312
|
+
monteur_id?: string;
|
|
21313
|
+
reden_afkeur?: string | null;
|
|
21314
|
+
status?: string;
|
|
21315
|
+
updated_at?: string;
|
|
21316
|
+
voorstel?: import("./types").Json;
|
|
21317
|
+
};
|
|
21318
|
+
Relationships: [];
|
|
21319
|
+
};
|
|
20450
21320
|
uren_tarieven: {
|
|
20451
21321
|
Row: {
|
|
20452
21322
|
created_at: string;
|
|
@@ -20531,6 +21401,39 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
20531
21401
|
};
|
|
20532
21402
|
Relationships: [];
|
|
20533
21403
|
};
|
|
21404
|
+
uren_tijd_spiegel: {
|
|
21405
|
+
Row: {
|
|
21406
|
+
created_at: string;
|
|
21407
|
+
id: string;
|
|
21408
|
+
time_log_id: string;
|
|
21409
|
+
werkbon_time_log_id: string;
|
|
21410
|
+
};
|
|
21411
|
+
Insert: {
|
|
21412
|
+
created_at?: string;
|
|
21413
|
+
id?: string;
|
|
21414
|
+
time_log_id: string;
|
|
21415
|
+
werkbon_time_log_id: string;
|
|
21416
|
+
};
|
|
21417
|
+
Update: {
|
|
21418
|
+
created_at?: string;
|
|
21419
|
+
id?: string;
|
|
21420
|
+
time_log_id?: string;
|
|
21421
|
+
werkbon_time_log_id?: string;
|
|
21422
|
+
};
|
|
21423
|
+
Relationships: [{
|
|
21424
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21425
|
+
columns: ["time_log_id"];
|
|
21426
|
+
isOneToOne: true;
|
|
21427
|
+
referencedRelation: "time_logs";
|
|
21428
|
+
referencedColumns: ["id"];
|
|
21429
|
+
}, {
|
|
21430
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21431
|
+
columns: ["werkbon_time_log_id"];
|
|
21432
|
+
isOneToOne: true;
|
|
21433
|
+
referencedRelation: "werkbon_time_logs";
|
|
21434
|
+
referencedColumns: ["id"];
|
|
21435
|
+
}];
|
|
21436
|
+
};
|
|
20534
21437
|
uren_weekstaten: {
|
|
20535
21438
|
Row: {
|
|
20536
21439
|
approved_at: string | null;
|
|
@@ -20573,6 +21476,33 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
20573
21476
|
};
|
|
20574
21477
|
Relationships: [];
|
|
20575
21478
|
};
|
|
21479
|
+
uren_werktijd_voorkeuren: {
|
|
21480
|
+
Row: {
|
|
21481
|
+
created_at: string;
|
|
21482
|
+
eind_slot: number;
|
|
21483
|
+
id: string;
|
|
21484
|
+
monteur_id: string;
|
|
21485
|
+
start_slot: number;
|
|
21486
|
+
updated_at: string;
|
|
21487
|
+
};
|
|
21488
|
+
Insert: {
|
|
21489
|
+
created_at?: string;
|
|
21490
|
+
eind_slot?: number;
|
|
21491
|
+
id?: string;
|
|
21492
|
+
monteur_id: string;
|
|
21493
|
+
start_slot?: number;
|
|
21494
|
+
updated_at?: string;
|
|
21495
|
+
};
|
|
21496
|
+
Update: {
|
|
21497
|
+
created_at?: string;
|
|
21498
|
+
eind_slot?: number;
|
|
21499
|
+
id?: string;
|
|
21500
|
+
monteur_id?: string;
|
|
21501
|
+
start_slot?: number;
|
|
21502
|
+
updated_at?: string;
|
|
21503
|
+
};
|
|
21504
|
+
Relationships: [];
|
|
21505
|
+
};
|
|
20576
21506
|
user_module_permissions: {
|
|
20577
21507
|
Row: {
|
|
20578
21508
|
created_at: string;
|
|
@@ -21504,10 +22434,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
21504
22434
|
Row: {
|
|
21505
22435
|
article_number: string | null;
|
|
21506
22436
|
artikel_id: string | null;
|
|
22437
|
+
cost_price_cents: number;
|
|
21507
22438
|
created_at: string;
|
|
21508
22439
|
gtin: string | null;
|
|
21509
22440
|
id: string;
|
|
21510
22441
|
manufacturer: string | null;
|
|
22442
|
+
margin_percent: number | null;
|
|
21511
22443
|
omschrijving: string;
|
|
21512
22444
|
package_id: string;
|
|
21513
22445
|
price_synced_at: string | null;
|
|
@@ -21522,10 +22454,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
21522
22454
|
Insert: {
|
|
21523
22455
|
article_number?: string | null;
|
|
21524
22456
|
artikel_id?: string | null;
|
|
22457
|
+
cost_price_cents?: number;
|
|
21525
22458
|
created_at?: string;
|
|
21526
22459
|
gtin?: string | null;
|
|
21527
22460
|
id?: string;
|
|
21528
22461
|
manufacturer?: string | null;
|
|
22462
|
+
margin_percent?: number | null;
|
|
21529
22463
|
omschrijving: string;
|
|
21530
22464
|
package_id: string;
|
|
21531
22465
|
price_synced_at?: string | null;
|
|
@@ -21540,10 +22474,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
21540
22474
|
Update: {
|
|
21541
22475
|
article_number?: string | null;
|
|
21542
22476
|
artikel_id?: string | null;
|
|
22477
|
+
cost_price_cents?: number;
|
|
21543
22478
|
created_at?: string;
|
|
21544
22479
|
gtin?: string | null;
|
|
21545
22480
|
id?: string;
|
|
21546
22481
|
manufacturer?: string | null;
|
|
22482
|
+
margin_percent?: number | null;
|
|
21547
22483
|
omschrijving?: string;
|
|
21548
22484
|
package_id?: string;
|
|
21549
22485
|
price_synced_at?: string | null;
|
|
@@ -22515,6 +23451,21 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
22515
23451
|
};
|
|
22516
23452
|
Relationships: [];
|
|
22517
23453
|
};
|
|
23454
|
+
logistics_packing_diff: {
|
|
23455
|
+
Row: {
|
|
23456
|
+
dev_key: string | null;
|
|
23457
|
+
floriday_packing: import("./types").Json | null;
|
|
23458
|
+
local_packing: import("./types").Json | null;
|
|
23459
|
+
order_id: string | null;
|
|
23460
|
+
order_item_id: string | null;
|
|
23461
|
+
order_number: string | null;
|
|
23462
|
+
product_id: string | null;
|
|
23463
|
+
product_name: string | null;
|
|
23464
|
+
scope: string | null;
|
|
23465
|
+
trade_item_id: string | null;
|
|
23466
|
+
};
|
|
23467
|
+
Relationships: [];
|
|
23468
|
+
};
|
|
22518
23469
|
logistics_product_dimensions: {
|
|
22519
23470
|
Row: {
|
|
22520
23471
|
dimension_source: string | null;
|
|
@@ -23238,6 +24189,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
23238
24189
|
};
|
|
23239
24190
|
Returns: string;
|
|
23240
24191
|
};
|
|
24192
|
+
backfill_cart_numbers_day_seq: {
|
|
24193
|
+
Args: never;
|
|
24194
|
+
Returns: number;
|
|
24195
|
+
};
|
|
23241
24196
|
backfill_open_order_reservations: {
|
|
23242
24197
|
Args: never;
|
|
23243
24198
|
Returns: {
|
|
@@ -23724,8 +24679,6 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
23724
24679
|
cart_index: number;
|
|
23725
24680
|
cart_number: string;
|
|
23726
24681
|
cart_number_id: string;
|
|
23727
|
-
cart_seq: number;
|
|
23728
|
-
cart_total: number;
|
|
23729
24682
|
order_id: string;
|
|
23730
24683
|
order_number: string;
|
|
23731
24684
|
order_source: string;
|
|
@@ -23741,10 +24694,32 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
23741
24694
|
};
|
|
23742
24695
|
Returns: number;
|
|
23743
24696
|
};
|
|
24697
|
+
control_mark_carts_delivered_detail: {
|
|
24698
|
+
Args: {
|
|
24699
|
+
p_carts: import("./types").Json;
|
|
24700
|
+
};
|
|
24701
|
+
Returns: {
|
|
24702
|
+
cart_index: number;
|
|
24703
|
+
frozen: boolean;
|
|
24704
|
+
message: string;
|
|
24705
|
+
order_id: string;
|
|
24706
|
+
order_source: string;
|
|
24707
|
+
outcome: string;
|
|
24708
|
+
}[];
|
|
24709
|
+
};
|
|
23744
24710
|
count_distinct_regulatory_products: {
|
|
23745
24711
|
Args: never;
|
|
23746
24712
|
Returns: number;
|
|
23747
24713
|
};
|
|
24714
|
+
create_order_from_public_offer: {
|
|
24715
|
+
Args: {
|
|
24716
|
+
p_carrier_id?: string;
|
|
24717
|
+
p_delivery_date?: string;
|
|
24718
|
+
p_delivery_garden_id?: string;
|
|
24719
|
+
p_offer_order_id: string;
|
|
24720
|
+
};
|
|
24721
|
+
Returns: import("./types").Json;
|
|
24722
|
+
};
|
|
23748
24723
|
current_monteur_id: {
|
|
23749
24724
|
Args: never;
|
|
23750
24725
|
Returns: string;
|
|
@@ -24592,6 +25567,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
24592
25567
|
};
|
|
24593
25568
|
Returns: import("./types").Json;
|
|
24594
25569
|
};
|
|
25570
|
+
invoice_ready_work_orders: {
|
|
25571
|
+
Args: {
|
|
25572
|
+
_limit?: number;
|
|
25573
|
+
};
|
|
25574
|
+
Returns: import("./types").Json;
|
|
25575
|
+
};
|
|
24595
25576
|
invoice_recalc_totals: {
|
|
24596
25577
|
Args: {
|
|
24597
25578
|
_invoice_id: string;
|
|
@@ -24837,6 +25818,14 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
24837
25818
|
};
|
|
24838
25819
|
Returns: import("./types").Json;
|
|
24839
25820
|
};
|
|
25821
|
+
logistics_buffer_decision_for_settings: {
|
|
25822
|
+
Args: {
|
|
25823
|
+
p_order: import("./types").Json;
|
|
25824
|
+
p_settings: import("./types").Json;
|
|
25825
|
+
p_user_id?: string;
|
|
25826
|
+
};
|
|
25827
|
+
Returns: import("./types").Json;
|
|
25828
|
+
};
|
|
24840
25829
|
logistics_buffer_detach_late_orders: {
|
|
24841
25830
|
Args: {
|
|
24842
25831
|
p_buffer?: string;
|
|
@@ -24870,6 +25859,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
24870
25859
|
};
|
|
24871
25860
|
Returns: string;
|
|
24872
25861
|
};
|
|
25862
|
+
logistics_buffer_payload: {
|
|
25863
|
+
Args: {
|
|
25864
|
+
p_order_id: string;
|
|
25865
|
+
};
|
|
25866
|
+
Returns: import("./types").Json;
|
|
25867
|
+
};
|
|
24873
25868
|
logistics_buffer_simulate: {
|
|
24874
25869
|
Args: {
|
|
24875
25870
|
p_orders?: import("./types").Json;
|
|
@@ -25171,10 +26166,29 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25171
26166
|
isSetofReturn: false;
|
|
25172
26167
|
};
|
|
25173
26168
|
};
|
|
26169
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26170
|
+
Args: {
|
|
26171
|
+
p_limit?: number;
|
|
26172
|
+
p_order_id: string;
|
|
26173
|
+
};
|
|
26174
|
+
Returns: import("./types").Json;
|
|
26175
|
+
};
|
|
26176
|
+
logistics_cleanup_history: {
|
|
26177
|
+
Args: {
|
|
26178
|
+
p_limit?: number;
|
|
26179
|
+
};
|
|
26180
|
+
Returns: import("./types").Json;
|
|
26181
|
+
};
|
|
25174
26182
|
logistics_cleanup_orphan_print_jobs: {
|
|
25175
26183
|
Args: never;
|
|
25176
26184
|
Returns: import("./types").Json;
|
|
25177
26185
|
};
|
|
26186
|
+
logistics_cleanup_tasks: {
|
|
26187
|
+
Args: {
|
|
26188
|
+
p_limit?: number;
|
|
26189
|
+
};
|
|
26190
|
+
Returns: import("./types").Json;
|
|
26191
|
+
};
|
|
25178
26192
|
logistics_complete_task: {
|
|
25179
26193
|
Args: {
|
|
25180
26194
|
p_result?: import("./types").Json;
|
|
@@ -25322,6 +26336,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25322
26336
|
Args: never;
|
|
25323
26337
|
Returns: import("./types").Json;
|
|
25324
26338
|
};
|
|
26339
|
+
logistics_cron_health: {
|
|
26340
|
+
Args: never;
|
|
26341
|
+
Returns: import("./types").Json;
|
|
26342
|
+
};
|
|
25325
26343
|
logistics_day_windows: {
|
|
25326
26344
|
Args: {
|
|
25327
26345
|
p_day: string;
|
|
@@ -25671,6 +26689,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25671
26689
|
};
|
|
25672
26690
|
Returns: number;
|
|
25673
26691
|
};
|
|
26692
|
+
logistics_merge_decision: {
|
|
26693
|
+
Args: {
|
|
26694
|
+
p_lines: import("./types").Json;
|
|
26695
|
+
};
|
|
26696
|
+
Returns: import("./types").Json;
|
|
26697
|
+
};
|
|
25674
26698
|
logistics_merge_floriday_lines: {
|
|
25675
26699
|
Args: {
|
|
25676
26700
|
p_order_id: string;
|
|
@@ -25717,6 +26741,15 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25717
26741
|
Args: never;
|
|
25718
26742
|
Returns: string;
|
|
25719
26743
|
};
|
|
26744
|
+
logistics_order_cart_approval: {
|
|
26745
|
+
Args: {
|
|
26746
|
+
_order_ref: string;
|
|
26747
|
+
};
|
|
26748
|
+
Returns: {
|
|
26749
|
+
approved: number;
|
|
26750
|
+
total: number;
|
|
26751
|
+
}[];
|
|
26752
|
+
};
|
|
25720
26753
|
logistics_order_cart_count: {
|
|
25721
26754
|
Args: {
|
|
25722
26755
|
p_order_ref: string;
|
|
@@ -25730,48 +26763,110 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25730
26763
|
};
|
|
25731
26764
|
Returns: undefined;
|
|
25732
26765
|
};
|
|
25733
|
-
|
|
26766
|
+
logistics_order_documents_ready: {
|
|
25734
26767
|
Args: {
|
|
25735
|
-
|
|
26768
|
+
p_order_ref: string;
|
|
25736
26769
|
};
|
|
25737
|
-
Returns:
|
|
26770
|
+
Returns: import("./types").Json;
|
|
25738
26771
|
};
|
|
25739
|
-
|
|
26772
|
+
logistics_order_documents_ready_bool: {
|
|
25740
26773
|
Args: {
|
|
25741
|
-
|
|
26774
|
+
p_order_ref: string;
|
|
25742
26775
|
};
|
|
25743
26776
|
Returns: boolean;
|
|
25744
26777
|
};
|
|
25745
|
-
|
|
26778
|
+
logistics_order_finalize_enqueue: {
|
|
25746
26779
|
Args: {
|
|
25747
26780
|
p_order_id: string;
|
|
25748
|
-
|
|
26781
|
+
p_reason?: string;
|
|
25749
26782
|
};
|
|
25750
|
-
Returns:
|
|
26783
|
+
Returns: undefined;
|
|
25751
26784
|
};
|
|
25752
|
-
|
|
26785
|
+
logistics_order_finalize_overview: {
|
|
26786
|
+
Args: never;
|
|
26787
|
+
Returns: {
|
|
26788
|
+
bezig: number;
|
|
26789
|
+
laatst_afgerond: string;
|
|
26790
|
+
laatste_fout: string;
|
|
26791
|
+
mislukt: number;
|
|
26792
|
+
oudste_wachttijd_seconden: number;
|
|
26793
|
+
wachtend: number;
|
|
26794
|
+
}[];
|
|
26795
|
+
};
|
|
26796
|
+
logistics_order_finalize_prune: {
|
|
25753
26797
|
Args: {
|
|
25754
|
-
|
|
26798
|
+
p_days?: number;
|
|
25755
26799
|
};
|
|
25756
|
-
Returns:
|
|
26800
|
+
Returns: number;
|
|
25757
26801
|
};
|
|
25758
|
-
|
|
26802
|
+
logistics_order_finalize_reconcile: {
|
|
26803
|
+
Args: {
|
|
26804
|
+
p_days?: number;
|
|
26805
|
+
p_limit?: number;
|
|
26806
|
+
};
|
|
26807
|
+
Returns: number;
|
|
26808
|
+
};
|
|
26809
|
+
logistics_order_finalize_retry: {
|
|
25759
26810
|
Args: {
|
|
25760
26811
|
p_order_id: string;
|
|
25761
26812
|
};
|
|
25762
26813
|
Returns: boolean;
|
|
25763
26814
|
};
|
|
25764
|
-
|
|
26815
|
+
logistics_order_finalize_run: {
|
|
25765
26816
|
Args: {
|
|
25766
|
-
|
|
25767
|
-
|
|
26817
|
+
p_lease_seconds?: number;
|
|
26818
|
+
p_limit?: number;
|
|
25768
26819
|
};
|
|
25769
|
-
Returns:
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
26820
|
+
Returns: number;
|
|
26821
|
+
};
|
|
26822
|
+
logistics_order_frozen: {
|
|
26823
|
+
Args: {
|
|
26824
|
+
p_order_id: string;
|
|
26825
|
+
};
|
|
26826
|
+
Returns: boolean;
|
|
26827
|
+
};
|
|
26828
|
+
logistics_order_handled: {
|
|
26829
|
+
Args: {
|
|
26830
|
+
p_order_uuid: string;
|
|
26831
|
+
};
|
|
26832
|
+
Returns: boolean;
|
|
26833
|
+
};
|
|
26834
|
+
logistics_order_is_topick: {
|
|
26835
|
+
Args: {
|
|
26836
|
+
p_order_id: string;
|
|
26837
|
+
p_order_number: string;
|
|
26838
|
+
};
|
|
26839
|
+
Returns: boolean;
|
|
26840
|
+
};
|
|
26841
|
+
logistics_order_line_duplicates: {
|
|
26842
|
+
Args: {
|
|
26843
|
+
p_order_id: string;
|
|
26844
|
+
};
|
|
26845
|
+
Returns: import("./types").Json;
|
|
26846
|
+
};
|
|
26847
|
+
logistics_order_merge_key: {
|
|
26848
|
+
Args: {
|
|
26849
|
+
p_group_key: string;
|
|
26850
|
+
};
|
|
26851
|
+
Returns: string;
|
|
26852
|
+
};
|
|
26853
|
+
logistics_order_mergeable: {
|
|
26854
|
+
Args: {
|
|
26855
|
+
p_order_id: string;
|
|
26856
|
+
};
|
|
26857
|
+
Returns: boolean;
|
|
26858
|
+
};
|
|
26859
|
+
logistics_order_overview: {
|
|
26860
|
+
Args: {
|
|
26861
|
+
p_from?: string;
|
|
26862
|
+
p_to?: string;
|
|
26863
|
+
};
|
|
26864
|
+
Returns: {
|
|
26865
|
+
cart_count: number;
|
|
26866
|
+
customer_name: string;
|
|
26867
|
+
delivery_date: string;
|
|
26868
|
+
order_number: string;
|
|
26869
|
+
order_source: string;
|
|
25775
26870
|
order_uuid: string;
|
|
25776
26871
|
pick_date: string;
|
|
25777
26872
|
plant_count: number;
|
|
@@ -25792,6 +26887,63 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25792
26887
|
};
|
|
25793
26888
|
Returns: boolean;
|
|
25794
26889
|
};
|
|
26890
|
+
logistics_packing_autofix: {
|
|
26891
|
+
Args: {
|
|
26892
|
+
p_limit?: number;
|
|
26893
|
+
};
|
|
26894
|
+
Returns: number;
|
|
26895
|
+
};
|
|
26896
|
+
logistics_packing_block_reason: {
|
|
26897
|
+
Args: {
|
|
26898
|
+
p_order_id: string;
|
|
26899
|
+
p_order_item_id: string;
|
|
26900
|
+
};
|
|
26901
|
+
Returns: string;
|
|
26902
|
+
};
|
|
26903
|
+
logistics_packing_dismiss: {
|
|
26904
|
+
Args: {
|
|
26905
|
+
p_id: string;
|
|
26906
|
+
p_note?: string;
|
|
26907
|
+
};
|
|
26908
|
+
Returns: boolean;
|
|
26909
|
+
};
|
|
26910
|
+
logistics_packing_overview: {
|
|
26911
|
+
Args: never;
|
|
26912
|
+
Returns: {
|
|
26913
|
+
beoordelen: number;
|
|
26914
|
+
herstelbaar: number;
|
|
26915
|
+
laatst_gemeten: string;
|
|
26916
|
+
laatst_hersteld: string;
|
|
26917
|
+
open_totaal: number;
|
|
26918
|
+
orders: number;
|
|
26919
|
+
oudste_seconden: number;
|
|
26920
|
+
producten: number;
|
|
26921
|
+
}[];
|
|
26922
|
+
};
|
|
26923
|
+
logistics_packing_reconcile: {
|
|
26924
|
+
Args: {
|
|
26925
|
+
p_fix_limit?: number;
|
|
26926
|
+
p_scan_limit?: number;
|
|
26927
|
+
};
|
|
26928
|
+
Returns: {
|
|
26929
|
+
beoordelen: number;
|
|
26930
|
+
gevonden: number;
|
|
26931
|
+
hersteld: number;
|
|
26932
|
+
}[];
|
|
26933
|
+
};
|
|
26934
|
+
logistics_packing_scan: {
|
|
26935
|
+
Args: {
|
|
26936
|
+
p_limit?: number;
|
|
26937
|
+
};
|
|
26938
|
+
Returns: number;
|
|
26939
|
+
};
|
|
26940
|
+
logistics_packing_set_manual: {
|
|
26941
|
+
Args: {
|
|
26942
|
+
p_manual?: boolean;
|
|
26943
|
+
p_order_item_id: string;
|
|
26944
|
+
};
|
|
26945
|
+
Returns: boolean;
|
|
26946
|
+
};
|
|
25795
26947
|
logistics_parse_pickup: {
|
|
25796
26948
|
Args: {
|
|
25797
26949
|
p_value: string;
|
|
@@ -25944,6 +27096,21 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
25944
27096
|
Args: never;
|
|
25945
27097
|
Returns: undefined;
|
|
25946
27098
|
};
|
|
27099
|
+
logistics_plan_lock_acquire: {
|
|
27100
|
+
Args: {
|
|
27101
|
+
_key: string;
|
|
27102
|
+
_owner?: string;
|
|
27103
|
+
_ttl_seconds?: number;
|
|
27104
|
+
};
|
|
27105
|
+
Returns: boolean;
|
|
27106
|
+
};
|
|
27107
|
+
logistics_plan_lock_release: {
|
|
27108
|
+
Args: {
|
|
27109
|
+
_key: string;
|
|
27110
|
+
_owner?: string;
|
|
27111
|
+
};
|
|
27112
|
+
Returns: undefined;
|
|
27113
|
+
};
|
|
25947
27114
|
logistics_plan_progress: {
|
|
25948
27115
|
Args: {
|
|
25949
27116
|
p_refs: string[];
|
|
@@ -26036,6 +27203,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26036
27203
|
Args: never;
|
|
26037
27204
|
Returns: number;
|
|
26038
27205
|
};
|
|
27206
|
+
logistics_prune_cron_history: {
|
|
27207
|
+
Args: {
|
|
27208
|
+
p_days?: number;
|
|
27209
|
+
};
|
|
27210
|
+
Returns: number;
|
|
27211
|
+
};
|
|
26039
27212
|
logistics_prune_handled_pick_queue: {
|
|
26040
27213
|
Args: never;
|
|
26041
27214
|
Returns: number;
|
|
@@ -26072,6 +27245,14 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26072
27245
|
Args: never;
|
|
26073
27246
|
Returns: import("./types").Json;
|
|
26074
27247
|
};
|
|
27248
|
+
logistics_recalc_tick_kick: {
|
|
27249
|
+
Args: never;
|
|
27250
|
+
Returns: number;
|
|
27251
|
+
};
|
|
27252
|
+
logistics_reconcile_missing_plan_queue: {
|
|
27253
|
+
Args: never;
|
|
27254
|
+
Returns: number;
|
|
27255
|
+
};
|
|
26075
27256
|
logistics_refresh_pick_queue_status: {
|
|
26076
27257
|
Args: {
|
|
26077
27258
|
p_ref: string;
|
|
@@ -26107,6 +27288,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26107
27288
|
p_order_ref: string;
|
|
26108
27289
|
};
|
|
26109
27290
|
Returns: import("./types").Json;
|
|
27291
|
+
} | {
|
|
27292
|
+
Args: {
|
|
27293
|
+
p_order_ref: string;
|
|
27294
|
+
p_reason: string;
|
|
27295
|
+
};
|
|
27296
|
+
Returns: import("./types").Json;
|
|
26110
27297
|
};
|
|
26111
27298
|
logistics_report_delay: {
|
|
26112
27299
|
Args: {
|
|
@@ -26152,6 +27339,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26152
27339
|
};
|
|
26153
27340
|
Returns: import("./types").Json;
|
|
26154
27341
|
};
|
|
27342
|
+
logistics_reserved_stock_nightly: {
|
|
27343
|
+
Args: never;
|
|
27344
|
+
Returns: undefined;
|
|
27345
|
+
};
|
|
26155
27346
|
logistics_resolve_pick_document: {
|
|
26156
27347
|
Args: {
|
|
26157
27348
|
_is_herprint: boolean;
|
|
@@ -26175,6 +27366,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26175
27366
|
};
|
|
26176
27367
|
Returns: import("./types").Json;
|
|
26177
27368
|
};
|
|
27369
|
+
logistics_retention_days: {
|
|
27370
|
+
Args: {
|
|
27371
|
+
p_key: string;
|
|
27372
|
+
};
|
|
27373
|
+
Returns: number;
|
|
27374
|
+
};
|
|
26178
27375
|
logistics_rule_bool: {
|
|
26179
27376
|
Args: {
|
|
26180
27377
|
p_default: boolean;
|
|
@@ -26229,6 +27426,11 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26229
27426
|
logistics_schedule_tasks: {
|
|
26230
27427
|
Args: never;
|
|
26231
27428
|
Returns: number;
|
|
27429
|
+
} | {
|
|
27430
|
+
Args: {
|
|
27431
|
+
p_order_ref?: string;
|
|
27432
|
+
};
|
|
27433
|
+
Returns: number;
|
|
26232
27434
|
};
|
|
26233
27435
|
logistics_set_order_priority: {
|
|
26234
27436
|
Args: {
|
|
@@ -26252,6 +27454,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26252
27454
|
};
|
|
26253
27455
|
Returns: string;
|
|
26254
27456
|
};
|
|
27457
|
+
logistics_shipping_note_diagnose: {
|
|
27458
|
+
Args: {
|
|
27459
|
+
p_order_number: string;
|
|
27460
|
+
};
|
|
27461
|
+
Returns: import("./types").Json;
|
|
27462
|
+
};
|
|
26255
27463
|
logistics_shipping_note_follows_slip: {
|
|
26256
27464
|
Args: never;
|
|
26257
27465
|
Returns: boolean;
|
|
@@ -26376,6 +27584,20 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26376
27584
|
};
|
|
26377
27585
|
Returns: number;
|
|
26378
27586
|
};
|
|
27587
|
+
logistics_task_retention_days: {
|
|
27588
|
+
Args: never;
|
|
27589
|
+
Returns: number;
|
|
27590
|
+
};
|
|
27591
|
+
logistics_tasks_prune: {
|
|
27592
|
+
Args: {
|
|
27593
|
+
p_days?: number;
|
|
27594
|
+
};
|
|
27595
|
+
Returns: number;
|
|
27596
|
+
};
|
|
27597
|
+
logistics_tick: {
|
|
27598
|
+
Args: never;
|
|
27599
|
+
Returns: import("./types").Json;
|
|
27600
|
+
};
|
|
26379
27601
|
logistics_tick_ping: {
|
|
26380
27602
|
Args: never;
|
|
26381
27603
|
Returns: string;
|
|
@@ -26399,12 +27621,25 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26399
27621
|
};
|
|
26400
27622
|
Returns: import("./types").Json;
|
|
26401
27623
|
};
|
|
27624
|
+
logistics_trace_archive_order: {
|
|
27625
|
+
Args: {
|
|
27626
|
+
p_order_ref: string;
|
|
27627
|
+
p_reason: string;
|
|
27628
|
+
};
|
|
27629
|
+
Returns: number;
|
|
27630
|
+
};
|
|
26402
27631
|
logistics_trace_batch: {
|
|
26403
27632
|
Args: {
|
|
26404
27633
|
p: import("./types").Json;
|
|
26405
27634
|
};
|
|
26406
27635
|
Returns: number;
|
|
26407
27636
|
};
|
|
27637
|
+
logistics_trace_derive: {
|
|
27638
|
+
Args: {
|
|
27639
|
+
p: import("./types").Json;
|
|
27640
|
+
};
|
|
27641
|
+
Returns: number;
|
|
27642
|
+
};
|
|
26408
27643
|
logistics_trace_node: {
|
|
26409
27644
|
Args: {
|
|
26410
27645
|
p_op?: string;
|
|
@@ -26467,6 +27702,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26467
27702
|
};
|
|
26468
27703
|
Returns: import("./types").Json;
|
|
26469
27704
|
};
|
|
27705
|
+
logistics_trace_pick_state: {
|
|
27706
|
+
Args: {
|
|
27707
|
+
p_order_number: string;
|
|
27708
|
+
};
|
|
27709
|
+
Returns: undefined;
|
|
27710
|
+
};
|
|
26470
27711
|
logistics_trace_progress: {
|
|
26471
27712
|
Args: {
|
|
26472
27713
|
p_limit?: number;
|
|
@@ -26622,6 +27863,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26622
27863
|
permission: string;
|
|
26623
27864
|
}[];
|
|
26624
27865
|
};
|
|
27866
|
+
next_cart_day_seq: {
|
|
27867
|
+
Args: {
|
|
27868
|
+
p_date: string;
|
|
27869
|
+
};
|
|
27870
|
+
Returns: number;
|
|
27871
|
+
};
|
|
26625
27872
|
next_manufacture_partij: {
|
|
26626
27873
|
Args: {
|
|
26627
27874
|
_tenant_id: string;
|
|
@@ -26691,6 +27938,17 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
26691
27938
|
};
|
|
26692
27939
|
Returns: boolean;
|
|
26693
27940
|
};
|
|
27941
|
+
order_items_duplicate_report: {
|
|
27942
|
+
Args: {
|
|
27943
|
+
_order_ref?: string;
|
|
27944
|
+
};
|
|
27945
|
+
Returns: {
|
|
27946
|
+
distinct_products: number;
|
|
27947
|
+
duplicate_factor: number;
|
|
27948
|
+
lines: number;
|
|
27949
|
+
order_number: string;
|
|
27950
|
+
}[];
|
|
27951
|
+
};
|
|
26694
27952
|
order_number_prefix: {
|
|
26695
27953
|
Args: {
|
|
26696
27954
|
p_custom_fields?: import("./types").Json;
|
|
@@ -27474,6 +28732,22 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
27474
28732
|
};
|
|
27475
28733
|
Returns: undefined;
|
|
27476
28734
|
};
|
|
28735
|
+
planning_apply_schedule_updates: {
|
|
28736
|
+
Args: {
|
|
28737
|
+
_updates: import("./types").Json;
|
|
28738
|
+
};
|
|
28739
|
+
Returns: undefined;
|
|
28740
|
+
};
|
|
28741
|
+
planning_assert_no_overlaps: {
|
|
28742
|
+
Args: never;
|
|
28743
|
+
Returns: undefined;
|
|
28744
|
+
};
|
|
28745
|
+
planning_assert_no_overlaps_for_items: {
|
|
28746
|
+
Args: {
|
|
28747
|
+
_item_ids: string[];
|
|
28748
|
+
};
|
|
28749
|
+
Returns: undefined;
|
|
28750
|
+
};
|
|
27477
28751
|
planning_cancel_item: {
|
|
27478
28752
|
Args: {
|
|
27479
28753
|
_id: string;
|
|
@@ -27828,6 +29102,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
27828
29102
|
Args: never;
|
|
27829
29103
|
Returns: undefined;
|
|
27830
29104
|
};
|
|
29105
|
+
run_order_auto_invoice_tick: {
|
|
29106
|
+
Args: never;
|
|
29107
|
+
Returns: number;
|
|
29108
|
+
};
|
|
27831
29109
|
run_print_queue_ticks: {
|
|
27832
29110
|
Args: never;
|
|
27833
29111
|
Returns: number;
|
|
@@ -28205,6 +29483,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
28205
29483
|
};
|
|
28206
29484
|
Returns: number;
|
|
28207
29485
|
};
|
|
29486
|
+
schedule_floriday_trade_items_reconcile: {
|
|
29487
|
+
Args: {
|
|
29488
|
+
p_apikey: string;
|
|
29489
|
+
p_url: string;
|
|
29490
|
+
};
|
|
29491
|
+
Returns: number;
|
|
29492
|
+
};
|
|
28208
29493
|
schedule_floriday_trade_items_sync: {
|
|
28209
29494
|
Args: {
|
|
28210
29495
|
p_apikey: string;
|
|
@@ -28529,6 +29814,22 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
28529
29814
|
Args: never;
|
|
28530
29815
|
Returns: boolean;
|
|
28531
29816
|
};
|
|
29817
|
+
uren_is_werkdag: {
|
|
29818
|
+
Args: {
|
|
29819
|
+
_date: string;
|
|
29820
|
+
_monteur: string;
|
|
29821
|
+
};
|
|
29822
|
+
Returns: boolean;
|
|
29823
|
+
};
|
|
29824
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
29825
|
+
Args: {
|
|
29826
|
+
_datum: string;
|
|
29827
|
+
_eind: string;
|
|
29828
|
+
_reden: string;
|
|
29829
|
+
_start: string;
|
|
29830
|
+
};
|
|
29831
|
+
Returns: string;
|
|
29832
|
+
};
|
|
28532
29833
|
uren_list_medewerkers: {
|
|
28533
29834
|
Args: never;
|
|
28534
29835
|
Returns: {
|
|
@@ -28549,6 +29850,45 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
28549
29850
|
roles: string[];
|
|
28550
29851
|
}[];
|
|
28551
29852
|
};
|
|
29853
|
+
uren_list_planner_contacten: {
|
|
29854
|
+
Args: never;
|
|
29855
|
+
Returns: {
|
|
29856
|
+
display_name: string;
|
|
29857
|
+
id: string;
|
|
29858
|
+
phone: string;
|
|
29859
|
+
}[];
|
|
29860
|
+
};
|
|
29861
|
+
uren_maand_afsluiten: {
|
|
29862
|
+
Args: {
|
|
29863
|
+
_maand: string;
|
|
29864
|
+
_monteur: string;
|
|
29865
|
+
};
|
|
29866
|
+
Returns: undefined;
|
|
29867
|
+
};
|
|
29868
|
+
uren_maand_berekenen: {
|
|
29869
|
+
Args: {
|
|
29870
|
+
_maand: string;
|
|
29871
|
+
_monteur: string;
|
|
29872
|
+
};
|
|
29873
|
+
Returns: import("./types").Json;
|
|
29874
|
+
};
|
|
29875
|
+
uren_maand_corrigeren: {
|
|
29876
|
+
Args: {
|
|
29877
|
+
_maand: string;
|
|
29878
|
+
_monteur: string;
|
|
29879
|
+
_overuren_minuten: number;
|
|
29880
|
+
_reden: string;
|
|
29881
|
+
};
|
|
29882
|
+
Returns: undefined;
|
|
29883
|
+
};
|
|
29884
|
+
uren_mijn_contracturen: {
|
|
29885
|
+
Args: never;
|
|
29886
|
+
Returns: number;
|
|
29887
|
+
};
|
|
29888
|
+
uren_mijn_vakantiesaldo: {
|
|
29889
|
+
Args: never;
|
|
29890
|
+
Returns: number;
|
|
29891
|
+
};
|
|
28552
29892
|
uren_my_monteur_id: {
|
|
28553
29893
|
Args: never;
|
|
28554
29894
|
Returns: string;
|
|
@@ -28582,6 +29922,37 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
28582
29922
|
};
|
|
28583
29923
|
Returns: number;
|
|
28584
29924
|
};
|
|
29925
|
+
uren_spiegel_bezig: {
|
|
29926
|
+
Args: never;
|
|
29927
|
+
Returns: boolean;
|
|
29928
|
+
};
|
|
29929
|
+
uren_standaardweek_beoordelen: {
|
|
29930
|
+
Args: {
|
|
29931
|
+
_goedkeuren: boolean;
|
|
29932
|
+
_id: string;
|
|
29933
|
+
_reden?: string;
|
|
29934
|
+
};
|
|
29935
|
+
Returns: undefined;
|
|
29936
|
+
};
|
|
29937
|
+
uren_standaardweek_doorzetten: {
|
|
29938
|
+
Args: {
|
|
29939
|
+
_monteur: string;
|
|
29940
|
+
};
|
|
29941
|
+
Returns: undefined;
|
|
29942
|
+
};
|
|
29943
|
+
uren_standaardweek_instellen: {
|
|
29944
|
+
Args: {
|
|
29945
|
+
_dagen: import("./types").Json;
|
|
29946
|
+
};
|
|
29947
|
+
Returns: string;
|
|
29948
|
+
};
|
|
29949
|
+
uren_standaardweek_toepassen: {
|
|
29950
|
+
Args: {
|
|
29951
|
+
_dagen: import("./types").Json;
|
|
29952
|
+
_monteur: string;
|
|
29953
|
+
};
|
|
29954
|
+
Returns: undefined;
|
|
29955
|
+
};
|
|
28585
29956
|
uren_stop_time_log: {
|
|
28586
29957
|
Args: {
|
|
28587
29958
|
p_employee_id: string;
|
|
@@ -28607,6 +29978,148 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
|
|
|
28607
29978
|
};
|
|
28608
29979
|
Returns: number;
|
|
28609
29980
|
};
|
|
29981
|
+
uren_vakantie_aanvragen: {
|
|
29982
|
+
Args: {
|
|
29983
|
+
_end_date: string;
|
|
29984
|
+
_hours?: number;
|
|
29985
|
+
_start_date: string;
|
|
29986
|
+
};
|
|
29987
|
+
Returns: string;
|
|
29988
|
+
};
|
|
29989
|
+
uren_vakantiedag_wijzigen: {
|
|
29990
|
+
Args: {
|
|
29991
|
+
_date: string;
|
|
29992
|
+
};
|
|
29993
|
+
Returns: string;
|
|
29994
|
+
};
|
|
29995
|
+
uren_vakantiesaldo_uren: {
|
|
29996
|
+
Args: {
|
|
29997
|
+
_monteur: string;
|
|
29998
|
+
};
|
|
29999
|
+
Returns: number;
|
|
30000
|
+
};
|
|
30001
|
+
uren_week_start: {
|
|
30002
|
+
Args: {
|
|
30003
|
+
_datum: string;
|
|
30004
|
+
};
|
|
30005
|
+
Returns: string;
|
|
30006
|
+
};
|
|
30007
|
+
uren_werkweek_opsturen: {
|
|
30008
|
+
Args: {
|
|
30009
|
+
_week_start: string;
|
|
30010
|
+
};
|
|
30011
|
+
Returns: {
|
|
30012
|
+
approved_at: string | null;
|
|
30013
|
+
approved_by: string | null;
|
|
30014
|
+
contract_hours: number;
|
|
30015
|
+
created_at: string;
|
|
30016
|
+
employee_id: string;
|
|
30017
|
+
id: string;
|
|
30018
|
+
locked: boolean;
|
|
30019
|
+
monteur_toelichting: string | null;
|
|
30020
|
+
notes: string | null;
|
|
30021
|
+
planned_hours: number;
|
|
30022
|
+
status: string;
|
|
30023
|
+
submitted_at: string | null;
|
|
30024
|
+
updated_at: string;
|
|
30025
|
+
variance_hours: number;
|
|
30026
|
+
week_start: string;
|
|
30027
|
+
};
|
|
30028
|
+
SetofOptions: {
|
|
30029
|
+
from: "*";
|
|
30030
|
+
to: "time_log_week_approvals";
|
|
30031
|
+
isOneToOne: true;
|
|
30032
|
+
isSetofReturn: false;
|
|
30033
|
+
};
|
|
30034
|
+
} | {
|
|
30035
|
+
Args: {
|
|
30036
|
+
_vrije_dagen?: string[];
|
|
30037
|
+
_week_start: string;
|
|
30038
|
+
};
|
|
30039
|
+
Returns: {
|
|
30040
|
+
approved_at: string | null;
|
|
30041
|
+
approved_by: string | null;
|
|
30042
|
+
contract_hours: number;
|
|
30043
|
+
created_at: string;
|
|
30044
|
+
employee_id: string;
|
|
30045
|
+
id: string;
|
|
30046
|
+
locked: boolean;
|
|
30047
|
+
monteur_toelichting: string | null;
|
|
30048
|
+
notes: string | null;
|
|
30049
|
+
planned_hours: number;
|
|
30050
|
+
status: string;
|
|
30051
|
+
submitted_at: string | null;
|
|
30052
|
+
updated_at: string;
|
|
30053
|
+
variance_hours: number;
|
|
30054
|
+
week_start: string;
|
|
30055
|
+
};
|
|
30056
|
+
SetofOptions: {
|
|
30057
|
+
from: "*";
|
|
30058
|
+
to: "time_log_week_approvals";
|
|
30059
|
+
isOneToOne: true;
|
|
30060
|
+
isSetofReturn: false;
|
|
30061
|
+
};
|
|
30062
|
+
} | {
|
|
30063
|
+
Args: {
|
|
30064
|
+
_toelichting?: string;
|
|
30065
|
+
_vrije_dagen?: string[];
|
|
30066
|
+
_week_start: string;
|
|
30067
|
+
};
|
|
30068
|
+
Returns: {
|
|
30069
|
+
approved_at: string | null;
|
|
30070
|
+
approved_by: string | null;
|
|
30071
|
+
contract_hours: number;
|
|
30072
|
+
created_at: string;
|
|
30073
|
+
employee_id: string;
|
|
30074
|
+
id: string;
|
|
30075
|
+
locked: boolean;
|
|
30076
|
+
monteur_toelichting: string | null;
|
|
30077
|
+
notes: string | null;
|
|
30078
|
+
planned_hours: number;
|
|
30079
|
+
status: string;
|
|
30080
|
+
submitted_at: string | null;
|
|
30081
|
+
updated_at: string;
|
|
30082
|
+
variance_hours: number;
|
|
30083
|
+
week_start: string;
|
|
30084
|
+
};
|
|
30085
|
+
SetofOptions: {
|
|
30086
|
+
from: "*";
|
|
30087
|
+
to: "time_log_week_approvals";
|
|
30088
|
+
isOneToOne: true;
|
|
30089
|
+
isSetofReturn: false;
|
|
30090
|
+
};
|
|
30091
|
+
};
|
|
30092
|
+
vakantie_dagen_gebruikt: {
|
|
30093
|
+
Args: {
|
|
30094
|
+
_user_id: string;
|
|
30095
|
+
_year: number;
|
|
30096
|
+
};
|
|
30097
|
+
Returns: number;
|
|
30098
|
+
};
|
|
30099
|
+
vakantie_saldo: {
|
|
30100
|
+
Args: {
|
|
30101
|
+
_user_id: string;
|
|
30102
|
+
_year?: number;
|
|
30103
|
+
};
|
|
30104
|
+
Returns: {
|
|
30105
|
+
day_hours: number;
|
|
30106
|
+
entitlement_days: number;
|
|
30107
|
+
remaining_days: number;
|
|
30108
|
+
used_days: number;
|
|
30109
|
+
}[];
|
|
30110
|
+
};
|
|
30111
|
+
vakantie_saldo_overzicht: {
|
|
30112
|
+
Args: {
|
|
30113
|
+
_year?: number;
|
|
30114
|
+
};
|
|
30115
|
+
Returns: {
|
|
30116
|
+
day_hours: number;
|
|
30117
|
+
entitlement_days: number;
|
|
30118
|
+
remaining_days: number;
|
|
30119
|
+
used_days: number;
|
|
30120
|
+
user_id: string;
|
|
30121
|
+
}[];
|
|
30122
|
+
};
|
|
28610
30123
|
voorraad_cleanup_old_rows: {
|
|
28611
30124
|
Args: never;
|
|
28612
30125
|
Returns: import("./types").Json;
|