@flowselections/floriday-afhandeling-module 1.0.45 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/ControlePage.js +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +1 -1
- package/dist-lib/components/afhandeling/ScanControleView.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.d.ts +9 -9
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.js +28 -28
- package/dist-lib/components/ui/responsive-dialog.js +1 -1
- package/dist-lib/hooks/usePickMode.d.ts +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1912 -32
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1912 -32
- 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/moduleClient.d.ts +1912 -32
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.js +8 -1
- package/dist-lib/integrations/supabase/types.d.ts +1929 -21
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +3760 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +9400 -0
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +9400 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +20680 -0
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNote.functions.d.ts +1912 -32
- package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNotePrint.d.ts +33 -33
- package/dist-lib/lib/deliveryNotePrint.js +219 -219
- package/dist-lib/lib/engineLayouts.functions.d.ts +1912 -32
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +3760 -0
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/capacity.js +1 -1
- package/dist-lib/lib/logisticsEngine/staffPlanning.js +1 -1
- package/dist-lib/lib/orderFulfilment.functions.d.ts +1912 -32
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +1912 -32
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -7998,6 +7998,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
7998
7998
|
};
|
|
7999
7999
|
fust_types: {
|
|
8000
8000
|
Row: {
|
|
8001
|
+
capacity_units: number | null;
|
|
8001
8002
|
connection_id: string | null;
|
|
8002
8003
|
created_at: string;
|
|
8003
8004
|
custom_package_id: string | null;
|
|
@@ -8018,6 +8019,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8018
8019
|
width_mm: number | null;
|
|
8019
8020
|
};
|
|
8020
8021
|
Insert: {
|
|
8022
|
+
capacity_units?: number | null;
|
|
8021
8023
|
connection_id?: string | null;
|
|
8022
8024
|
created_at?: string;
|
|
8023
8025
|
custom_package_id?: string | null;
|
|
@@ -8038,6 +8040,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8038
8040
|
width_mm?: number | null;
|
|
8039
8041
|
};
|
|
8040
8042
|
Update: {
|
|
8043
|
+
capacity_units?: number | null;
|
|
8041
8044
|
connection_id?: string | null;
|
|
8042
8045
|
created_at?: string;
|
|
8043
8046
|
custom_package_id?: string | null;
|
|
@@ -8269,6 +8272,72 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8269
8272
|
};
|
|
8270
8273
|
Relationships: [];
|
|
8271
8274
|
};
|
|
8275
|
+
invoice_branding_settings: {
|
|
8276
|
+
Row: {
|
|
8277
|
+
address: string;
|
|
8278
|
+
chamber_of_commerce_number: string;
|
|
8279
|
+
city: string;
|
|
8280
|
+
company_name: string;
|
|
8281
|
+
created_at: string;
|
|
8282
|
+
email: string;
|
|
8283
|
+
email_purpose: string | null;
|
|
8284
|
+
iban: string;
|
|
8285
|
+
logo_path: string | null;
|
|
8286
|
+
payment_term_days: number;
|
|
8287
|
+
phone: string;
|
|
8288
|
+
postal_code: string;
|
|
8289
|
+
primary_color: string;
|
|
8290
|
+
secondary_color: string;
|
|
8291
|
+
show_company_name: boolean;
|
|
8292
|
+
singleton_key: boolean;
|
|
8293
|
+
updated_at: string;
|
|
8294
|
+
vat_identification_number: string;
|
|
8295
|
+
website: string;
|
|
8296
|
+
};
|
|
8297
|
+
Insert: {
|
|
8298
|
+
address?: string;
|
|
8299
|
+
chamber_of_commerce_number?: string;
|
|
8300
|
+
city?: string;
|
|
8301
|
+
company_name?: string;
|
|
8302
|
+
created_at?: string;
|
|
8303
|
+
email?: string;
|
|
8304
|
+
email_purpose?: string | null;
|
|
8305
|
+
iban?: string;
|
|
8306
|
+
logo_path?: string | null;
|
|
8307
|
+
payment_term_days?: number;
|
|
8308
|
+
phone?: string;
|
|
8309
|
+
postal_code?: string;
|
|
8310
|
+
primary_color?: string;
|
|
8311
|
+
secondary_color?: string;
|
|
8312
|
+
show_company_name?: boolean;
|
|
8313
|
+
singleton_key?: boolean;
|
|
8314
|
+
updated_at?: string;
|
|
8315
|
+
vat_identification_number?: string;
|
|
8316
|
+
website?: string;
|
|
8317
|
+
};
|
|
8318
|
+
Update: {
|
|
8319
|
+
address?: string;
|
|
8320
|
+
chamber_of_commerce_number?: string;
|
|
8321
|
+
city?: string;
|
|
8322
|
+
company_name?: string;
|
|
8323
|
+
created_at?: string;
|
|
8324
|
+
email?: string;
|
|
8325
|
+
email_purpose?: string | null;
|
|
8326
|
+
iban?: string;
|
|
8327
|
+
logo_path?: string | null;
|
|
8328
|
+
payment_term_days?: number;
|
|
8329
|
+
phone?: string;
|
|
8330
|
+
postal_code?: string;
|
|
8331
|
+
primary_color?: string;
|
|
8332
|
+
secondary_color?: string;
|
|
8333
|
+
show_company_name?: boolean;
|
|
8334
|
+
singleton_key?: boolean;
|
|
8335
|
+
updated_at?: string;
|
|
8336
|
+
vat_identification_number?: string;
|
|
8337
|
+
website?: string;
|
|
8338
|
+
};
|
|
8339
|
+
Relationships: [];
|
|
8340
|
+
};
|
|
8272
8341
|
invoice_items: {
|
|
8273
8342
|
Row: {
|
|
8274
8343
|
created_at: string;
|
|
@@ -8282,6 +8351,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8282
8351
|
total_cents: number;
|
|
8283
8352
|
unit: string;
|
|
8284
8353
|
unit_price_cents: number;
|
|
8354
|
+
vat_rate: number | null;
|
|
8285
8355
|
};
|
|
8286
8356
|
Insert: {
|
|
8287
8357
|
created_at?: string;
|
|
@@ -8295,6 +8365,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8295
8365
|
total_cents?: number;
|
|
8296
8366
|
unit?: string;
|
|
8297
8367
|
unit_price_cents?: number;
|
|
8368
|
+
vat_rate?: number | null;
|
|
8298
8369
|
};
|
|
8299
8370
|
Update: {
|
|
8300
8371
|
created_at?: string;
|
|
@@ -8308,6 +8379,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8308
8379
|
total_cents?: number;
|
|
8309
8380
|
unit?: string;
|
|
8310
8381
|
unit_price_cents?: number;
|
|
8382
|
+
vat_rate?: number | null;
|
|
8311
8383
|
};
|
|
8312
8384
|
Relationships: [{
|
|
8313
8385
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8553,15 +8625,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8553
8625
|
};
|
|
8554
8626
|
invoices: {
|
|
8555
8627
|
Row: {
|
|
8628
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8556
8629
|
created_at: string;
|
|
8557
8630
|
created_by: string | null;
|
|
8631
|
+
customer_address: string | null;
|
|
8632
|
+
customer_attention: string | null;
|
|
8633
|
+
customer_city: string | null;
|
|
8558
8634
|
customer_id: string | null;
|
|
8559
8635
|
customer_name: string | null;
|
|
8636
|
+
customer_postal_code: string | null;
|
|
8637
|
+
customer_vat_number: string | null;
|
|
8638
|
+
debtor_number: string | null;
|
|
8560
8639
|
due_date: string | null;
|
|
8640
|
+
execution_date: string | null;
|
|
8561
8641
|
id: string;
|
|
8562
8642
|
invoice_date: string;
|
|
8563
8643
|
invoice_number: string | null;
|
|
8564
8644
|
note: string | null;
|
|
8645
|
+
payment_term_days: number;
|
|
8646
|
+
reference: string | null;
|
|
8647
|
+
sent_at: string | null;
|
|
8648
|
+
sent_to: string | null;
|
|
8565
8649
|
source_number: string | null;
|
|
8566
8650
|
source_ref: string | null;
|
|
8567
8651
|
source_type: string;
|
|
@@ -8571,17 +8655,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8571
8655
|
updated_at: string;
|
|
8572
8656
|
vat_cents: number;
|
|
8573
8657
|
vat_rate: number;
|
|
8658
|
+
work_address: string | null;
|
|
8574
8659
|
};
|
|
8575
8660
|
Insert: {
|
|
8661
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8576
8662
|
created_at?: string;
|
|
8577
8663
|
created_by?: string | null;
|
|
8664
|
+
customer_address?: string | null;
|
|
8665
|
+
customer_attention?: string | null;
|
|
8666
|
+
customer_city?: string | null;
|
|
8578
8667
|
customer_id?: string | null;
|
|
8579
8668
|
customer_name?: string | null;
|
|
8669
|
+
customer_postal_code?: string | null;
|
|
8670
|
+
customer_vat_number?: string | null;
|
|
8671
|
+
debtor_number?: string | null;
|
|
8580
8672
|
due_date?: string | null;
|
|
8673
|
+
execution_date?: string | null;
|
|
8581
8674
|
id?: string;
|
|
8582
8675
|
invoice_date?: string;
|
|
8583
8676
|
invoice_number?: string | null;
|
|
8584
8677
|
note?: string | null;
|
|
8678
|
+
payment_term_days?: number;
|
|
8679
|
+
reference?: string | null;
|
|
8680
|
+
sent_at?: string | null;
|
|
8681
|
+
sent_to?: string | null;
|
|
8585
8682
|
source_number?: string | null;
|
|
8586
8683
|
source_ref?: string | null;
|
|
8587
8684
|
source_type?: string;
|
|
@@ -8591,17 +8688,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8591
8688
|
updated_at?: string;
|
|
8592
8689
|
vat_cents?: number;
|
|
8593
8690
|
vat_rate?: number;
|
|
8691
|
+
work_address?: string | null;
|
|
8594
8692
|
};
|
|
8595
8693
|
Update: {
|
|
8694
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8596
8695
|
created_at?: string;
|
|
8597
8696
|
created_by?: string | null;
|
|
8697
|
+
customer_address?: string | null;
|
|
8698
|
+
customer_attention?: string | null;
|
|
8699
|
+
customer_city?: string | null;
|
|
8598
8700
|
customer_id?: string | null;
|
|
8599
8701
|
customer_name?: string | null;
|
|
8702
|
+
customer_postal_code?: string | null;
|
|
8703
|
+
customer_vat_number?: string | null;
|
|
8704
|
+
debtor_number?: string | null;
|
|
8600
8705
|
due_date?: string | null;
|
|
8706
|
+
execution_date?: string | null;
|
|
8601
8707
|
id?: string;
|
|
8602
8708
|
invoice_date?: string;
|
|
8603
8709
|
invoice_number?: string | null;
|
|
8604
8710
|
note?: string | null;
|
|
8711
|
+
payment_term_days?: number;
|
|
8712
|
+
reference?: string | null;
|
|
8713
|
+
sent_at?: string | null;
|
|
8714
|
+
sent_to?: string | null;
|
|
8605
8715
|
source_number?: string | null;
|
|
8606
8716
|
source_ref?: string | null;
|
|
8607
8717
|
source_type?: string;
|
|
@@ -8611,6 +8721,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8611
8721
|
updated_at?: string;
|
|
8612
8722
|
vat_cents?: number;
|
|
8613
8723
|
vat_rate?: number;
|
|
8724
|
+
work_address?: string | null;
|
|
8614
8725
|
};
|
|
8615
8726
|
Relationships: [{
|
|
8616
8727
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9309,6 +9420,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9309
9420
|
quantity: number;
|
|
9310
9421
|
sort_order: number;
|
|
9311
9422
|
source: string;
|
|
9423
|
+
unit: string | null;
|
|
9312
9424
|
unit_price_cents: number;
|
|
9313
9425
|
updated_at: string;
|
|
9314
9426
|
};
|
|
@@ -9322,6 +9434,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9322
9434
|
quantity?: number;
|
|
9323
9435
|
sort_order?: number;
|
|
9324
9436
|
source?: string;
|
|
9437
|
+
unit?: string | null;
|
|
9325
9438
|
unit_price_cents?: number;
|
|
9326
9439
|
updated_at?: string;
|
|
9327
9440
|
};
|
|
@@ -9335,6 +9448,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9335
9448
|
quantity?: number;
|
|
9336
9449
|
sort_order?: number;
|
|
9337
9450
|
source?: string;
|
|
9451
|
+
unit?: string | null;
|
|
9338
9452
|
unit_price_cents?: number;
|
|
9339
9453
|
updated_at?: string;
|
|
9340
9454
|
};
|
|
@@ -9358,6 +9472,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9358
9472
|
created_at: string;
|
|
9359
9473
|
default_geldigheid_dagen: number;
|
|
9360
9474
|
default_vat_rate: number;
|
|
9475
|
+
email_purpose: string | null;
|
|
9361
9476
|
id: string;
|
|
9362
9477
|
singleton: boolean;
|
|
9363
9478
|
updated_at: string;
|
|
@@ -9367,6 +9482,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9367
9482
|
created_at?: string;
|
|
9368
9483
|
default_geldigheid_dagen?: number;
|
|
9369
9484
|
default_vat_rate?: number;
|
|
9485
|
+
email_purpose?: string | null;
|
|
9370
9486
|
id?: string;
|
|
9371
9487
|
singleton?: boolean;
|
|
9372
9488
|
updated_at?: string;
|
|
@@ -9376,12 +9492,49 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9376
9492
|
created_at?: string;
|
|
9377
9493
|
default_geldigheid_dagen?: number;
|
|
9378
9494
|
default_vat_rate?: number;
|
|
9495
|
+
email_purpose?: string | null;
|
|
9379
9496
|
id?: string;
|
|
9380
9497
|
singleton?: boolean;
|
|
9381
9498
|
updated_at?: string;
|
|
9382
9499
|
};
|
|
9383
9500
|
Relationships: [];
|
|
9384
9501
|
};
|
|
9502
|
+
itk_offerte_voorstel_status: {
|
|
9503
|
+
Row: {
|
|
9504
|
+
ai_concept: import("../integrations/supabase/types").Json | null;
|
|
9505
|
+
created_at: string;
|
|
9506
|
+
id: string;
|
|
9507
|
+
offerte_id: string | null;
|
|
9508
|
+
proposal_id: string;
|
|
9509
|
+
seen_at: string | null;
|
|
9510
|
+
updated_at: string;
|
|
9511
|
+
};
|
|
9512
|
+
Insert: {
|
|
9513
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9514
|
+
created_at?: string;
|
|
9515
|
+
id?: string;
|
|
9516
|
+
offerte_id?: string | null;
|
|
9517
|
+
proposal_id: string;
|
|
9518
|
+
seen_at?: string | null;
|
|
9519
|
+
updated_at?: string;
|
|
9520
|
+
};
|
|
9521
|
+
Update: {
|
|
9522
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9523
|
+
created_at?: string;
|
|
9524
|
+
id?: string;
|
|
9525
|
+
offerte_id?: string | null;
|
|
9526
|
+
proposal_id?: string;
|
|
9527
|
+
seen_at?: string | null;
|
|
9528
|
+
updated_at?: string;
|
|
9529
|
+
};
|
|
9530
|
+
Relationships: [{
|
|
9531
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9532
|
+
columns: ["offerte_id"];
|
|
9533
|
+
isOneToOne: false;
|
|
9534
|
+
referencedRelation: "itk_offertes";
|
|
9535
|
+
referencedColumns: ["id"];
|
|
9536
|
+
}];
|
|
9537
|
+
};
|
|
9385
9538
|
itk_offerte_werkbon_queue: {
|
|
9386
9539
|
Row: {
|
|
9387
9540
|
bron_werkbon_id: string | null;
|
|
@@ -9432,6 +9585,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9432
9585
|
};
|
|
9433
9586
|
itk_offertes: {
|
|
9434
9587
|
Row: {
|
|
9588
|
+
aandachtspunten: string | null;
|
|
9435
9589
|
ai_generated: boolean;
|
|
9436
9590
|
approved_at: string | null;
|
|
9437
9591
|
binnen_mandaat: boolean;
|
|
@@ -9447,6 +9601,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9447
9601
|
notities: string | null;
|
|
9448
9602
|
offerte_number: string | null;
|
|
9449
9603
|
omschrijving: string;
|
|
9604
|
+
onderwerp: string | null;
|
|
9450
9605
|
rejected_at: string | null;
|
|
9451
9606
|
sent_at: string | null;
|
|
9452
9607
|
source_number: string | null;
|
|
@@ -9459,12 +9614,15 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9459
9614
|
valid_until: string | null;
|
|
9460
9615
|
vat_cents: number;
|
|
9461
9616
|
vat_rate: number;
|
|
9617
|
+
verzonden_naar: string | null;
|
|
9462
9618
|
viewed_at: string | null;
|
|
9463
9619
|
volgnummer: number | null;
|
|
9620
|
+
voorwaarden: string | null;
|
|
9464
9621
|
werkbon_id: string | null;
|
|
9465
9622
|
work_location_id: string | null;
|
|
9466
9623
|
};
|
|
9467
9624
|
Insert: {
|
|
9625
|
+
aandachtspunten?: string | null;
|
|
9468
9626
|
ai_generated?: boolean;
|
|
9469
9627
|
approved_at?: string | null;
|
|
9470
9628
|
binnen_mandaat?: boolean;
|
|
@@ -9480,6 +9638,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9480
9638
|
notities?: string | null;
|
|
9481
9639
|
offerte_number?: string | null;
|
|
9482
9640
|
omschrijving?: string;
|
|
9641
|
+
onderwerp?: string | null;
|
|
9483
9642
|
rejected_at?: string | null;
|
|
9484
9643
|
sent_at?: string | null;
|
|
9485
9644
|
source_number?: string | null;
|
|
@@ -9492,12 +9651,15 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9492
9651
|
valid_until?: string | null;
|
|
9493
9652
|
vat_cents?: number;
|
|
9494
9653
|
vat_rate?: number;
|
|
9654
|
+
verzonden_naar?: string | null;
|
|
9495
9655
|
viewed_at?: string | null;
|
|
9496
9656
|
volgnummer?: number | null;
|
|
9657
|
+
voorwaarden?: string | null;
|
|
9497
9658
|
werkbon_id?: string | null;
|
|
9498
9659
|
work_location_id?: string | null;
|
|
9499
9660
|
};
|
|
9500
9661
|
Update: {
|
|
9662
|
+
aandachtspunten?: string | null;
|
|
9501
9663
|
ai_generated?: boolean;
|
|
9502
9664
|
approved_at?: string | null;
|
|
9503
9665
|
binnen_mandaat?: boolean;
|
|
@@ -9513,6 +9675,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9513
9675
|
notities?: string | null;
|
|
9514
9676
|
offerte_number?: string | null;
|
|
9515
9677
|
omschrijving?: string;
|
|
9678
|
+
onderwerp?: string | null;
|
|
9516
9679
|
rejected_at?: string | null;
|
|
9517
9680
|
sent_at?: string | null;
|
|
9518
9681
|
source_number?: string | null;
|
|
@@ -9525,8 +9688,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9525
9688
|
valid_until?: string | null;
|
|
9526
9689
|
vat_cents?: number;
|
|
9527
9690
|
vat_rate?: number;
|
|
9691
|
+
verzonden_naar?: string | null;
|
|
9528
9692
|
viewed_at?: string | null;
|
|
9529
9693
|
volgnummer?: number | null;
|
|
9694
|
+
voorwaarden?: string | null;
|
|
9530
9695
|
werkbon_id?: string | null;
|
|
9531
9696
|
work_location_id?: string | null;
|
|
9532
9697
|
};
|
|
@@ -9702,6 +9867,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9702
9867
|
};
|
|
9703
9868
|
leave_requests: {
|
|
9704
9869
|
Row: {
|
|
9870
|
+
cancellation_requested_at: string | null;
|
|
9871
|
+
cancellation_status: string | null;
|
|
9705
9872
|
created_at: string;
|
|
9706
9873
|
decided_at: string | null;
|
|
9707
9874
|
decided_by: string | null;
|
|
@@ -9712,6 +9879,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9712
9879
|
leave_type: string;
|
|
9713
9880
|
monteur_id: string | null;
|
|
9714
9881
|
reason: string | null;
|
|
9882
|
+
reden_afkeur: string | null;
|
|
9715
9883
|
start_date: string;
|
|
9716
9884
|
start_time: string | null;
|
|
9717
9885
|
status: string;
|
|
@@ -9719,6 +9887,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9719
9887
|
user_id: string;
|
|
9720
9888
|
};
|
|
9721
9889
|
Insert: {
|
|
9890
|
+
cancellation_requested_at?: string | null;
|
|
9891
|
+
cancellation_status?: string | null;
|
|
9722
9892
|
created_at?: string;
|
|
9723
9893
|
decided_at?: string | null;
|
|
9724
9894
|
decided_by?: string | null;
|
|
@@ -9729,6 +9899,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9729
9899
|
leave_type?: string;
|
|
9730
9900
|
monteur_id?: string | null;
|
|
9731
9901
|
reason?: string | null;
|
|
9902
|
+
reden_afkeur?: string | null;
|
|
9732
9903
|
start_date: string;
|
|
9733
9904
|
start_time?: string | null;
|
|
9734
9905
|
status?: string;
|
|
@@ -9736,6 +9907,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9736
9907
|
user_id: string;
|
|
9737
9908
|
};
|
|
9738
9909
|
Update: {
|
|
9910
|
+
cancellation_requested_at?: string | null;
|
|
9911
|
+
cancellation_status?: string | null;
|
|
9739
9912
|
created_at?: string;
|
|
9740
9913
|
decided_at?: string | null;
|
|
9741
9914
|
decided_by?: string | null;
|
|
@@ -9746,6 +9919,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9746
9919
|
leave_type?: string;
|
|
9747
9920
|
monteur_id?: string | null;
|
|
9748
9921
|
reason?: string | null;
|
|
9922
|
+
reden_afkeur?: string | null;
|
|
9749
9923
|
start_date?: string;
|
|
9750
9924
|
start_time?: string | null;
|
|
9751
9925
|
status?: string;
|
|
@@ -10888,6 +11062,54 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
10888
11062
|
};
|
|
10889
11063
|
Relationships: [];
|
|
10890
11064
|
};
|
|
11065
|
+
logistics_order_finalize_queue: {
|
|
11066
|
+
Row: {
|
|
11067
|
+
attempts: number;
|
|
11068
|
+
claimed_at: string | null;
|
|
11069
|
+
created_at: string;
|
|
11070
|
+
finished_at: string | null;
|
|
11071
|
+
last_error: string | null;
|
|
11072
|
+
lease_until: string | null;
|
|
11073
|
+
max_attempts: number;
|
|
11074
|
+
next_attempt_at: string;
|
|
11075
|
+
order_id: string;
|
|
11076
|
+
reason: string | null;
|
|
11077
|
+
requested_at: string;
|
|
11078
|
+
status: string;
|
|
11079
|
+
updated_at: string;
|
|
11080
|
+
};
|
|
11081
|
+
Insert: {
|
|
11082
|
+
attempts?: number;
|
|
11083
|
+
claimed_at?: string | null;
|
|
11084
|
+
created_at?: string;
|
|
11085
|
+
finished_at?: string | null;
|
|
11086
|
+
last_error?: string | null;
|
|
11087
|
+
lease_until?: string | null;
|
|
11088
|
+
max_attempts?: number;
|
|
11089
|
+
next_attempt_at?: string;
|
|
11090
|
+
order_id: string;
|
|
11091
|
+
reason?: string | null;
|
|
11092
|
+
requested_at?: string;
|
|
11093
|
+
status?: string;
|
|
11094
|
+
updated_at?: string;
|
|
11095
|
+
};
|
|
11096
|
+
Update: {
|
|
11097
|
+
attempts?: number;
|
|
11098
|
+
claimed_at?: string | null;
|
|
11099
|
+
created_at?: string;
|
|
11100
|
+
finished_at?: string | null;
|
|
11101
|
+
last_error?: string | null;
|
|
11102
|
+
lease_until?: string | null;
|
|
11103
|
+
max_attempts?: number;
|
|
11104
|
+
next_attempt_at?: string;
|
|
11105
|
+
order_id?: string;
|
|
11106
|
+
reason?: string | null;
|
|
11107
|
+
requested_at?: string;
|
|
11108
|
+
status?: string;
|
|
11109
|
+
updated_at?: string;
|
|
11110
|
+
};
|
|
11111
|
+
Relationships: [];
|
|
11112
|
+
};
|
|
10891
11113
|
logistics_order_merges: {
|
|
10892
11114
|
Row: {
|
|
10893
11115
|
group_key: string;
|
|
@@ -10924,6 +11146,72 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
10924
11146
|
};
|
|
10925
11147
|
Relationships: [];
|
|
10926
11148
|
};
|
|
11149
|
+
logistics_packing_deviations: {
|
|
11150
|
+
Row: {
|
|
11151
|
+
auto_fixed_at: string | null;
|
|
11152
|
+
created_at: string;
|
|
11153
|
+
dev_key: string;
|
|
11154
|
+
first_seen_at: string;
|
|
11155
|
+
floriday_packing: import("../integrations/supabase/types").Json;
|
|
11156
|
+
human_reason: string | null;
|
|
11157
|
+
id: string;
|
|
11158
|
+
last_seen_at: string;
|
|
11159
|
+
local_packing: import("../integrations/supabase/types").Json;
|
|
11160
|
+
needs_human: boolean;
|
|
11161
|
+
order_id: string | null;
|
|
11162
|
+
order_item_id: string | null;
|
|
11163
|
+
order_number: string | null;
|
|
11164
|
+
product_id: string | null;
|
|
11165
|
+
product_name: string | null;
|
|
11166
|
+
resolved_at: string | null;
|
|
11167
|
+
scope: string;
|
|
11168
|
+
trade_item_id: string | null;
|
|
11169
|
+
updated_at: string;
|
|
11170
|
+
};
|
|
11171
|
+
Insert: {
|
|
11172
|
+
auto_fixed_at?: string | null;
|
|
11173
|
+
created_at?: string;
|
|
11174
|
+
dev_key: string;
|
|
11175
|
+
first_seen_at?: string;
|
|
11176
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11177
|
+
human_reason?: string | null;
|
|
11178
|
+
id?: string;
|
|
11179
|
+
last_seen_at?: string;
|
|
11180
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11181
|
+
needs_human?: boolean;
|
|
11182
|
+
order_id?: string | null;
|
|
11183
|
+
order_item_id?: string | null;
|
|
11184
|
+
order_number?: string | null;
|
|
11185
|
+
product_id?: string | null;
|
|
11186
|
+
product_name?: string | null;
|
|
11187
|
+
resolved_at?: string | null;
|
|
11188
|
+
scope: string;
|
|
11189
|
+
trade_item_id?: string | null;
|
|
11190
|
+
updated_at?: string;
|
|
11191
|
+
};
|
|
11192
|
+
Update: {
|
|
11193
|
+
auto_fixed_at?: string | null;
|
|
11194
|
+
created_at?: string;
|
|
11195
|
+
dev_key?: string;
|
|
11196
|
+
first_seen_at?: string;
|
|
11197
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11198
|
+
human_reason?: string | null;
|
|
11199
|
+
id?: string;
|
|
11200
|
+
last_seen_at?: string;
|
|
11201
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11202
|
+
needs_human?: boolean;
|
|
11203
|
+
order_id?: string | null;
|
|
11204
|
+
order_item_id?: string | null;
|
|
11205
|
+
order_number?: string | null;
|
|
11206
|
+
product_id?: string | null;
|
|
11207
|
+
product_name?: string | null;
|
|
11208
|
+
resolved_at?: string | null;
|
|
11209
|
+
scope?: string;
|
|
11210
|
+
trade_item_id?: string | null;
|
|
11211
|
+
updated_at?: string;
|
|
11212
|
+
};
|
|
11213
|
+
Relationships: [];
|
|
11214
|
+
};
|
|
10927
11215
|
logistics_pick_data_requests: {
|
|
10928
11216
|
Row: {
|
|
10929
11217
|
actions: import("../integrations/supabase/types").Json;
|
|
@@ -11161,14 +11449,70 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
11161
11449
|
};
|
|
11162
11450
|
Relationships: [];
|
|
11163
11451
|
};
|
|
11452
|
+
logistics_planner_diff_runs: {
|
|
11453
|
+
Row: {
|
|
11454
|
+
after_snapshot: import("../integrations/supabase/types").Json | null;
|
|
11455
|
+
before_snapshot: import("../integrations/supabase/types").Json;
|
|
11456
|
+
buffer_id: string | null;
|
|
11457
|
+
carts_after: number | null;
|
|
11458
|
+
carts_before: number | null;
|
|
11459
|
+
compared_at: string | null;
|
|
11460
|
+
created_at: string;
|
|
11461
|
+
differences: import("../integrations/supabase/types").Json | null;
|
|
11462
|
+
id: string;
|
|
11463
|
+
identical: boolean | null;
|
|
11464
|
+
mode: string;
|
|
11465
|
+
order_id: string;
|
|
11466
|
+
order_ref: string | null;
|
|
11467
|
+
reason: string | null;
|
|
11468
|
+
status: string;
|
|
11469
|
+
};
|
|
11470
|
+
Insert: {
|
|
11471
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11472
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11473
|
+
buffer_id?: string | null;
|
|
11474
|
+
carts_after?: number | null;
|
|
11475
|
+
carts_before?: number | null;
|
|
11476
|
+
compared_at?: string | null;
|
|
11477
|
+
created_at?: string;
|
|
11478
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11479
|
+
id?: string;
|
|
11480
|
+
identical?: boolean | null;
|
|
11481
|
+
mode: string;
|
|
11482
|
+
order_id: string;
|
|
11483
|
+
order_ref?: string | null;
|
|
11484
|
+
reason?: string | null;
|
|
11485
|
+
status?: string;
|
|
11486
|
+
};
|
|
11487
|
+
Update: {
|
|
11488
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11489
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11490
|
+
buffer_id?: string | null;
|
|
11491
|
+
carts_after?: number | null;
|
|
11492
|
+
carts_before?: number | null;
|
|
11493
|
+
compared_at?: string | null;
|
|
11494
|
+
created_at?: string;
|
|
11495
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11496
|
+
id?: string;
|
|
11497
|
+
identical?: boolean | null;
|
|
11498
|
+
mode?: string;
|
|
11499
|
+
order_id?: string;
|
|
11500
|
+
order_ref?: string | null;
|
|
11501
|
+
reason?: string | null;
|
|
11502
|
+
status?: string;
|
|
11503
|
+
};
|
|
11504
|
+
Relationships: [];
|
|
11505
|
+
};
|
|
11164
11506
|
logistics_rebuffer_state: {
|
|
11165
11507
|
Row: {
|
|
11166
11508
|
created_at: string;
|
|
11167
11509
|
id: boolean;
|
|
11168
11510
|
last_checked: number;
|
|
11169
11511
|
last_duration_ms: number;
|
|
11512
|
+
last_mode: string | null;
|
|
11170
11513
|
last_run_at: string | null;
|
|
11171
11514
|
last_updated: number;
|
|
11515
|
+
last_would_change: number | null;
|
|
11172
11516
|
pending: boolean;
|
|
11173
11517
|
requested_at: string | null;
|
|
11174
11518
|
updated_at: string;
|
|
@@ -11178,8 +11522,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
11178
11522
|
id?: boolean;
|
|
11179
11523
|
last_checked?: number;
|
|
11180
11524
|
last_duration_ms?: number;
|
|
11525
|
+
last_mode?: string | null;
|
|
11181
11526
|
last_run_at?: string | null;
|
|
11182
11527
|
last_updated?: number;
|
|
11528
|
+
last_would_change?: number | null;
|
|
11183
11529
|
pending?: boolean;
|
|
11184
11530
|
requested_at?: string | null;
|
|
11185
11531
|
updated_at?: string;
|
|
@@ -11189,8 +11535,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
11189
11535
|
id?: boolean;
|
|
11190
11536
|
last_checked?: number;
|
|
11191
11537
|
last_duration_ms?: number;
|
|
11538
|
+
last_mode?: string | null;
|
|
11192
11539
|
last_run_at?: string | null;
|
|
11193
11540
|
last_updated?: number;
|
|
11541
|
+
last_would_change?: number | null;
|
|
11194
11542
|
pending?: boolean;
|
|
11195
11543
|
requested_at?: string | null;
|
|
11196
11544
|
updated_at?: string;
|
|
@@ -13186,6 +13534,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13186
13534
|
};
|
|
13187
13535
|
Relationships: [];
|
|
13188
13536
|
};
|
|
13537
|
+
monteur_contracten: {
|
|
13538
|
+
Row: {
|
|
13539
|
+
contract_type: string;
|
|
13540
|
+
created_at: string;
|
|
13541
|
+
days_per_week: number;
|
|
13542
|
+
hours_per_week: number;
|
|
13543
|
+
id: string;
|
|
13544
|
+
updated_at: string;
|
|
13545
|
+
user_id: string;
|
|
13546
|
+
vacation_day_hours: number;
|
|
13547
|
+
vacation_days_per_year: number;
|
|
13548
|
+
};
|
|
13549
|
+
Insert: {
|
|
13550
|
+
contract_type?: string;
|
|
13551
|
+
created_at?: string;
|
|
13552
|
+
days_per_week?: number;
|
|
13553
|
+
hours_per_week?: number;
|
|
13554
|
+
id?: string;
|
|
13555
|
+
updated_at?: string;
|
|
13556
|
+
user_id: string;
|
|
13557
|
+
vacation_day_hours?: number;
|
|
13558
|
+
vacation_days_per_year?: number;
|
|
13559
|
+
};
|
|
13560
|
+
Update: {
|
|
13561
|
+
contract_type?: string;
|
|
13562
|
+
created_at?: string;
|
|
13563
|
+
days_per_week?: number;
|
|
13564
|
+
hours_per_week?: number;
|
|
13565
|
+
id?: string;
|
|
13566
|
+
updated_at?: string;
|
|
13567
|
+
user_id?: string;
|
|
13568
|
+
vacation_day_hours?: number;
|
|
13569
|
+
vacation_days_per_year?: number;
|
|
13570
|
+
};
|
|
13571
|
+
Relationships: [];
|
|
13572
|
+
};
|
|
13189
13573
|
nmbrs_component_mapping: {
|
|
13190
13574
|
Row: {
|
|
13191
13575
|
created_at: string;
|
|
@@ -13665,6 +14049,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13665
14049
|
id: string;
|
|
13666
14050
|
items: import("../integrations/supabase/types").Json;
|
|
13667
14051
|
notes: string | null;
|
|
14052
|
+
order_creation_error: string | null;
|
|
14053
|
+
order_creation_failed_at: string | null;
|
|
14054
|
+
order_id: string | null;
|
|
13668
14055
|
order_number: string | null;
|
|
13669
14056
|
recipient_id: string;
|
|
13670
14057
|
total_amount: number;
|
|
@@ -13679,6 +14066,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13679
14066
|
id?: string;
|
|
13680
14067
|
items?: import("../integrations/supabase/types").Json;
|
|
13681
14068
|
notes?: string | null;
|
|
14069
|
+
order_creation_error?: string | null;
|
|
14070
|
+
order_creation_failed_at?: string | null;
|
|
14071
|
+
order_id?: string | null;
|
|
13682
14072
|
order_number?: string | null;
|
|
13683
14073
|
recipient_id: string;
|
|
13684
14074
|
total_amount?: number;
|
|
@@ -13693,6 +14083,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13693
14083
|
id?: string;
|
|
13694
14084
|
items?: import("../integrations/supabase/types").Json;
|
|
13695
14085
|
notes?: string | null;
|
|
14086
|
+
order_creation_error?: string | null;
|
|
14087
|
+
order_creation_failed_at?: string | null;
|
|
14088
|
+
order_id?: string | null;
|
|
13696
14089
|
order_number?: string | null;
|
|
13697
14090
|
recipient_id?: string;
|
|
13698
14091
|
total_amount?: number;
|
|
@@ -13709,6 +14102,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13709
14102
|
isOneToOne: false;
|
|
13710
14103
|
referencedRelation: "customers";
|
|
13711
14104
|
referencedColumns: ["id"];
|
|
14105
|
+
}, {
|
|
14106
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14107
|
+
columns: ["order_id"];
|
|
14108
|
+
isOneToOne: false;
|
|
14109
|
+
referencedRelation: "orders";
|
|
14110
|
+
referencedColumns: ["id"];
|
|
13712
14111
|
}, {
|
|
13713
14112
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13714
14113
|
columns: ["recipient_id"];
|
|
@@ -13849,6 +14248,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13849
14248
|
};
|
|
13850
14249
|
Relationships: [];
|
|
13851
14250
|
};
|
|
14251
|
+
order_block_notifications: {
|
|
14252
|
+
Row: {
|
|
14253
|
+
id: string;
|
|
14254
|
+
notified_at: string;
|
|
14255
|
+
order_id: string;
|
|
14256
|
+
reason: string | null;
|
|
14257
|
+
reason_key: string;
|
|
14258
|
+
};
|
|
14259
|
+
Insert: {
|
|
14260
|
+
id?: string;
|
|
14261
|
+
notified_at?: string;
|
|
14262
|
+
order_id: string;
|
|
14263
|
+
reason?: string | null;
|
|
14264
|
+
reason_key: string;
|
|
14265
|
+
};
|
|
14266
|
+
Update: {
|
|
14267
|
+
id?: string;
|
|
14268
|
+
notified_at?: string;
|
|
14269
|
+
order_id?: string;
|
|
14270
|
+
reason?: string | null;
|
|
14271
|
+
reason_key?: string;
|
|
14272
|
+
};
|
|
14273
|
+
Relationships: [];
|
|
14274
|
+
};
|
|
13852
14275
|
order_buffers: {
|
|
13853
14276
|
Row: {
|
|
13854
14277
|
buffer_key: string;
|
|
@@ -14318,10 +14741,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14318
14741
|
id: string;
|
|
14319
14742
|
layers_per_cart: number | null;
|
|
14320
14743
|
order_id: string;
|
|
14744
|
+
packing_locked_at: string | null;
|
|
14745
|
+
packing_locked_by: string | null;
|
|
14321
14746
|
plants_per_crate: number | null;
|
|
14322
14747
|
product_id: string | null;
|
|
14323
14748
|
product_name: string;
|
|
14324
14749
|
quantity: number;
|
|
14750
|
+
source_line_key: string | null;
|
|
14325
14751
|
unit: string;
|
|
14326
14752
|
unit_price: number | null;
|
|
14327
14753
|
};
|
|
@@ -14331,10 +14757,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14331
14757
|
id?: string;
|
|
14332
14758
|
layers_per_cart?: number | null;
|
|
14333
14759
|
order_id: string;
|
|
14760
|
+
packing_locked_at?: string | null;
|
|
14761
|
+
packing_locked_by?: string | null;
|
|
14334
14762
|
plants_per_crate?: number | null;
|
|
14335
14763
|
product_id?: string | null;
|
|
14336
14764
|
product_name: string;
|
|
14337
14765
|
quantity?: number;
|
|
14766
|
+
source_line_key?: string | null;
|
|
14338
14767
|
unit?: string;
|
|
14339
14768
|
unit_price?: number | null;
|
|
14340
14769
|
};
|
|
@@ -14344,10 +14773,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14344
14773
|
id?: string;
|
|
14345
14774
|
layers_per_cart?: number | null;
|
|
14346
14775
|
order_id?: string;
|
|
14776
|
+
packing_locked_at?: string | null;
|
|
14777
|
+
packing_locked_by?: string | null;
|
|
14347
14778
|
plants_per_crate?: number | null;
|
|
14348
14779
|
product_id?: string | null;
|
|
14349
14780
|
product_name?: string;
|
|
14350
14781
|
quantity?: number;
|
|
14782
|
+
source_line_key?: string | null;
|
|
14351
14783
|
unit?: string;
|
|
14352
14784
|
unit_price?: number | null;
|
|
14353
14785
|
};
|
|
@@ -15856,26 +16288,215 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
15856
16288
|
referencedColumns: ["id"];
|
|
15857
16289
|
}];
|
|
15858
16290
|
};
|
|
15859
|
-
|
|
16291
|
+
planning_monteur_day_locations: {
|
|
15860
16292
|
Row: {
|
|
15861
|
-
action: string;
|
|
15862
16293
|
created_at: string;
|
|
16294
|
+
day: string;
|
|
16295
|
+
end_at: string;
|
|
15863
16296
|
id: string;
|
|
15864
|
-
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
raw: import("../integrations/supabase/types").Json;
|
|
15868
|
-
row_number: number;
|
|
15869
|
-
supplier_product_id: string | null;
|
|
16297
|
+
monteur_id: string;
|
|
16298
|
+
start_from: string;
|
|
16299
|
+
updated_at: string;
|
|
15870
16300
|
};
|
|
15871
16301
|
Insert: {
|
|
15872
|
-
action?: string;
|
|
15873
16302
|
created_at?: string;
|
|
16303
|
+
day: string;
|
|
16304
|
+
end_at?: string;
|
|
15874
16305
|
id?: string;
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
15878
|
-
|
|
16306
|
+
monteur_id: string;
|
|
16307
|
+
start_from?: string;
|
|
16308
|
+
updated_at?: string;
|
|
16309
|
+
};
|
|
16310
|
+
Update: {
|
|
16311
|
+
created_at?: string;
|
|
16312
|
+
day?: string;
|
|
16313
|
+
end_at?: string;
|
|
16314
|
+
id?: string;
|
|
16315
|
+
monteur_id?: string;
|
|
16316
|
+
start_from?: string;
|
|
16317
|
+
updated_at?: string;
|
|
16318
|
+
};
|
|
16319
|
+
Relationships: [];
|
|
16320
|
+
};
|
|
16321
|
+
planning_monteur_locations: {
|
|
16322
|
+
Row: {
|
|
16323
|
+
created_at: string;
|
|
16324
|
+
default_end: string;
|
|
16325
|
+
default_start: string;
|
|
16326
|
+
end_address: string | null;
|
|
16327
|
+
home_address: string | null;
|
|
16328
|
+
id: string;
|
|
16329
|
+
monteur_id: string;
|
|
16330
|
+
start_address: string | null;
|
|
16331
|
+
updated_at: string;
|
|
16332
|
+
};
|
|
16333
|
+
Insert: {
|
|
16334
|
+
created_at?: string;
|
|
16335
|
+
default_end?: string;
|
|
16336
|
+
default_start?: string;
|
|
16337
|
+
end_address?: string | null;
|
|
16338
|
+
home_address?: string | null;
|
|
16339
|
+
id?: string;
|
|
16340
|
+
monteur_id: string;
|
|
16341
|
+
start_address?: string | null;
|
|
16342
|
+
updated_at?: string;
|
|
16343
|
+
};
|
|
16344
|
+
Update: {
|
|
16345
|
+
created_at?: string;
|
|
16346
|
+
default_end?: string;
|
|
16347
|
+
default_start?: string;
|
|
16348
|
+
end_address?: string | null;
|
|
16349
|
+
home_address?: string | null;
|
|
16350
|
+
id?: string;
|
|
16351
|
+
monteur_id?: string;
|
|
16352
|
+
start_address?: string | null;
|
|
16353
|
+
updated_at?: string;
|
|
16354
|
+
};
|
|
16355
|
+
Relationships: [];
|
|
16356
|
+
};
|
|
16357
|
+
planning_settings: {
|
|
16358
|
+
Row: {
|
|
16359
|
+
company_address: string | null;
|
|
16360
|
+
created_at: string;
|
|
16361
|
+
id: string;
|
|
16362
|
+
singleton: boolean;
|
|
16363
|
+
updated_at: string;
|
|
16364
|
+
};
|
|
16365
|
+
Insert: {
|
|
16366
|
+
company_address?: string | null;
|
|
16367
|
+
created_at?: string;
|
|
16368
|
+
id?: string;
|
|
16369
|
+
singleton?: boolean;
|
|
16370
|
+
updated_at?: string;
|
|
16371
|
+
};
|
|
16372
|
+
Update: {
|
|
16373
|
+
company_address?: string | null;
|
|
16374
|
+
created_at?: string;
|
|
16375
|
+
id?: string;
|
|
16376
|
+
singleton?: boolean;
|
|
16377
|
+
updated_at?: string;
|
|
16378
|
+
};
|
|
16379
|
+
Relationships: [];
|
|
16380
|
+
};
|
|
16381
|
+
planning_travel_legs: {
|
|
16382
|
+
Row: {
|
|
16383
|
+
after_min: number;
|
|
16384
|
+
after_reason: string | null;
|
|
16385
|
+
after_status: string;
|
|
16386
|
+
after_to_address: string | null;
|
|
16387
|
+
before_from_address: string | null;
|
|
16388
|
+
before_min: number;
|
|
16389
|
+
before_reason: string | null;
|
|
16390
|
+
before_status: string;
|
|
16391
|
+
computed_at: string;
|
|
16392
|
+
computed_end_at: string | null;
|
|
16393
|
+
computed_start_at: string | null;
|
|
16394
|
+
created_at: string;
|
|
16395
|
+
id: string;
|
|
16396
|
+
monteur_id: string;
|
|
16397
|
+
planning_item_id: string;
|
|
16398
|
+
shared_after_item_id: string | null;
|
|
16399
|
+
shared_before_item_id: string | null;
|
|
16400
|
+
updated_at: string;
|
|
16401
|
+
};
|
|
16402
|
+
Insert: {
|
|
16403
|
+
after_min?: number;
|
|
16404
|
+
after_reason?: string | null;
|
|
16405
|
+
after_status?: string;
|
|
16406
|
+
after_to_address?: string | null;
|
|
16407
|
+
before_from_address?: string | null;
|
|
16408
|
+
before_min?: number;
|
|
16409
|
+
before_reason?: string | null;
|
|
16410
|
+
before_status?: string;
|
|
16411
|
+
computed_at?: string;
|
|
16412
|
+
computed_end_at?: string | null;
|
|
16413
|
+
computed_start_at?: string | null;
|
|
16414
|
+
created_at?: string;
|
|
16415
|
+
id?: string;
|
|
16416
|
+
monteur_id: string;
|
|
16417
|
+
planning_item_id: string;
|
|
16418
|
+
shared_after_item_id?: string | null;
|
|
16419
|
+
shared_before_item_id?: string | null;
|
|
16420
|
+
updated_at?: string;
|
|
16421
|
+
};
|
|
16422
|
+
Update: {
|
|
16423
|
+
after_min?: number;
|
|
16424
|
+
after_reason?: string | null;
|
|
16425
|
+
after_status?: string;
|
|
16426
|
+
after_to_address?: string | null;
|
|
16427
|
+
before_from_address?: string | null;
|
|
16428
|
+
before_min?: number;
|
|
16429
|
+
before_reason?: string | null;
|
|
16430
|
+
before_status?: string;
|
|
16431
|
+
computed_at?: string;
|
|
16432
|
+
computed_end_at?: string | null;
|
|
16433
|
+
computed_start_at?: string | null;
|
|
16434
|
+
created_at?: string;
|
|
16435
|
+
id?: string;
|
|
16436
|
+
monteur_id?: string;
|
|
16437
|
+
planning_item_id?: string;
|
|
16438
|
+
shared_after_item_id?: string | null;
|
|
16439
|
+
shared_before_item_id?: string | null;
|
|
16440
|
+
updated_at?: string;
|
|
16441
|
+
};
|
|
16442
|
+
Relationships: [{
|
|
16443
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16444
|
+
columns: ["planning_item_id"];
|
|
16445
|
+
isOneToOne: false;
|
|
16446
|
+
referencedRelation: "planning_items";
|
|
16447
|
+
referencedColumns: ["id"];
|
|
16448
|
+
}, {
|
|
16449
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16450
|
+
columns: ["planning_item_id"];
|
|
16451
|
+
isOneToOne: false;
|
|
16452
|
+
referencedRelation: "planning_overview";
|
|
16453
|
+
referencedColumns: ["id"];
|
|
16454
|
+
}, {
|
|
16455
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16456
|
+
columns: ["shared_after_item_id"];
|
|
16457
|
+
isOneToOne: false;
|
|
16458
|
+
referencedRelation: "planning_items";
|
|
16459
|
+
referencedColumns: ["id"];
|
|
16460
|
+
}, {
|
|
16461
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16462
|
+
columns: ["shared_after_item_id"];
|
|
16463
|
+
isOneToOne: false;
|
|
16464
|
+
referencedRelation: "planning_overview";
|
|
16465
|
+
referencedColumns: ["id"];
|
|
16466
|
+
}, {
|
|
16467
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16468
|
+
columns: ["shared_before_item_id"];
|
|
16469
|
+
isOneToOne: false;
|
|
16470
|
+
referencedRelation: "planning_items";
|
|
16471
|
+
referencedColumns: ["id"];
|
|
16472
|
+
}, {
|
|
16473
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16474
|
+
columns: ["shared_before_item_id"];
|
|
16475
|
+
isOneToOne: false;
|
|
16476
|
+
referencedRelation: "planning_overview";
|
|
16477
|
+
referencedColumns: ["id"];
|
|
16478
|
+
}];
|
|
16479
|
+
};
|
|
16480
|
+
price_list_rows: {
|
|
16481
|
+
Row: {
|
|
16482
|
+
action: string;
|
|
16483
|
+
created_at: string;
|
|
16484
|
+
id: string;
|
|
16485
|
+
message: string | null;
|
|
16486
|
+
parsed: import("../integrations/supabase/types").Json;
|
|
16487
|
+
price_list_id: string;
|
|
16488
|
+
raw: import("../integrations/supabase/types").Json;
|
|
16489
|
+
row_number: number;
|
|
16490
|
+
supplier_product_id: string | null;
|
|
16491
|
+
};
|
|
16492
|
+
Insert: {
|
|
16493
|
+
action?: string;
|
|
16494
|
+
created_at?: string;
|
|
16495
|
+
id?: string;
|
|
16496
|
+
message?: string | null;
|
|
16497
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
16498
|
+
price_list_id: string;
|
|
16499
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
15879
16500
|
row_number: number;
|
|
15880
16501
|
supplier_product_id?: string | null;
|
|
15881
16502
|
};
|
|
@@ -17028,6 +17649,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17028
17649
|
};
|
|
17029
17650
|
product_load_settings: {
|
|
17030
17651
|
Row: {
|
|
17652
|
+
build: import("../integrations/supabase/types").Json | null;
|
|
17653
|
+
build_status: string;
|
|
17031
17654
|
created_at: string;
|
|
17032
17655
|
id: string;
|
|
17033
17656
|
is_package: boolean;
|
|
@@ -17045,6 +17668,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17045
17668
|
updated_at: string;
|
|
17046
17669
|
};
|
|
17047
17670
|
Insert: {
|
|
17671
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17672
|
+
build_status?: string;
|
|
17048
17673
|
created_at?: string;
|
|
17049
17674
|
id?: string;
|
|
17050
17675
|
is_package?: boolean;
|
|
@@ -17062,6 +17687,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17062
17687
|
updated_at?: string;
|
|
17063
17688
|
};
|
|
17064
17689
|
Update: {
|
|
17690
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17691
|
+
build_status?: string;
|
|
17065
17692
|
created_at?: string;
|
|
17066
17693
|
id?: string;
|
|
17067
17694
|
is_package?: boolean;
|
|
@@ -17131,6 +17758,108 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17131
17758
|
};
|
|
17132
17759
|
Relationships: [];
|
|
17133
17760
|
};
|
|
17761
|
+
product_suppliers: {
|
|
17762
|
+
Row: {
|
|
17763
|
+
created_at: string;
|
|
17764
|
+
id: string;
|
|
17765
|
+
is_preferred: boolean;
|
|
17766
|
+
lead_time_days: number | null;
|
|
17767
|
+
min_order_quantity: number | null;
|
|
17768
|
+
notes: string | null;
|
|
17769
|
+
product_id: string;
|
|
17770
|
+
purchase_price_cents: number | null;
|
|
17771
|
+
supplier_article_number: string | null;
|
|
17772
|
+
supplier_id: string;
|
|
17773
|
+
updated_at: string;
|
|
17774
|
+
};
|
|
17775
|
+
Insert: {
|
|
17776
|
+
created_at?: string;
|
|
17777
|
+
id?: string;
|
|
17778
|
+
is_preferred?: boolean;
|
|
17779
|
+
lead_time_days?: number | null;
|
|
17780
|
+
min_order_quantity?: number | null;
|
|
17781
|
+
notes?: string | null;
|
|
17782
|
+
product_id: string;
|
|
17783
|
+
purchase_price_cents?: number | null;
|
|
17784
|
+
supplier_article_number?: string | null;
|
|
17785
|
+
supplier_id: string;
|
|
17786
|
+
updated_at?: string;
|
|
17787
|
+
};
|
|
17788
|
+
Update: {
|
|
17789
|
+
created_at?: string;
|
|
17790
|
+
id?: string;
|
|
17791
|
+
is_preferred?: boolean;
|
|
17792
|
+
lead_time_days?: number | null;
|
|
17793
|
+
min_order_quantity?: number | null;
|
|
17794
|
+
notes?: string | null;
|
|
17795
|
+
product_id?: string;
|
|
17796
|
+
purchase_price_cents?: number | null;
|
|
17797
|
+
supplier_article_number?: string | null;
|
|
17798
|
+
supplier_id?: string;
|
|
17799
|
+
updated_at?: string;
|
|
17800
|
+
};
|
|
17801
|
+
Relationships: [{
|
|
17802
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17803
|
+
columns: ["product_id"];
|
|
17804
|
+
isOneToOne: false;
|
|
17805
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17806
|
+
referencedColumns: ["product_id"];
|
|
17807
|
+
}, {
|
|
17808
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17809
|
+
columns: ["product_id"];
|
|
17810
|
+
isOneToOne: false;
|
|
17811
|
+
referencedRelation: "products";
|
|
17812
|
+
referencedColumns: ["id"];
|
|
17813
|
+
}, {
|
|
17814
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17815
|
+
columns: ["supplier_id"];
|
|
17816
|
+
isOneToOne: false;
|
|
17817
|
+
referencedRelation: "suppliers";
|
|
17818
|
+
referencedColumns: ["id"];
|
|
17819
|
+
}];
|
|
17820
|
+
};
|
|
17821
|
+
product_tray_stickers: {
|
|
17822
|
+
Row: {
|
|
17823
|
+
bestand_url: string;
|
|
17824
|
+
bestandsgrootte: number | null;
|
|
17825
|
+
bestandsnaam: string | null;
|
|
17826
|
+
bestandspad: string | null;
|
|
17827
|
+
created_at: string;
|
|
17828
|
+
product_id: string;
|
|
17829
|
+
updated_at: string;
|
|
17830
|
+
};
|
|
17831
|
+
Insert: {
|
|
17832
|
+
bestand_url: string;
|
|
17833
|
+
bestandsgrootte?: number | null;
|
|
17834
|
+
bestandsnaam?: string | null;
|
|
17835
|
+
bestandspad?: string | null;
|
|
17836
|
+
created_at?: string;
|
|
17837
|
+
product_id: string;
|
|
17838
|
+
updated_at?: string;
|
|
17839
|
+
};
|
|
17840
|
+
Update: {
|
|
17841
|
+
bestand_url?: string;
|
|
17842
|
+
bestandsgrootte?: number | null;
|
|
17843
|
+
bestandsnaam?: string | null;
|
|
17844
|
+
bestandspad?: string | null;
|
|
17845
|
+
created_at?: string;
|
|
17846
|
+
product_id?: string;
|
|
17847
|
+
updated_at?: string;
|
|
17848
|
+
};
|
|
17849
|
+
Relationships: [{
|
|
17850
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17851
|
+
columns: ["product_id"];
|
|
17852
|
+
isOneToOne: true;
|
|
17853
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17854
|
+
referencedColumns: ["product_id"];
|
|
17855
|
+
}, {
|
|
17856
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17857
|
+
columns: ["product_id"];
|
|
17858
|
+
isOneToOne: true;
|
|
17859
|
+
referencedRelation: "products";
|
|
17860
|
+
referencedColumns: ["id"];
|
|
17861
|
+
}];
|
|
17862
|
+
};
|
|
17134
17863
|
products: {
|
|
17135
17864
|
Row: {
|
|
17136
17865
|
article_number: string | null;
|
|
@@ -17139,6 +17868,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17139
17868
|
crates_per_layer: number;
|
|
17140
17869
|
created_at: string;
|
|
17141
17870
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
17871
|
+
floriday_packing_confirmed_at: string | null;
|
|
17872
|
+
floriday_packing_source: string | null;
|
|
17142
17873
|
floriday_trade_item_id: string | null;
|
|
17143
17874
|
fust_type_id: string | null;
|
|
17144
17875
|
id: string;
|
|
@@ -17167,6 +17898,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17167
17898
|
crates_per_layer?: number;
|
|
17168
17899
|
created_at?: string;
|
|
17169
17900
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
17901
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17902
|
+
floriday_packing_source?: string | null;
|
|
17170
17903
|
floriday_trade_item_id?: string | null;
|
|
17171
17904
|
fust_type_id?: string | null;
|
|
17172
17905
|
id?: string;
|
|
@@ -17195,6 +17928,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17195
17928
|
crates_per_layer?: number;
|
|
17196
17929
|
created_at?: string;
|
|
17197
17930
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
17931
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17932
|
+
floriday_packing_source?: string | null;
|
|
17198
17933
|
floriday_trade_item_id?: string | null;
|
|
17199
17934
|
fust_type_id?: string | null;
|
|
17200
17935
|
id?: string;
|
|
@@ -17294,6 +18029,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17294
18029
|
id: string;
|
|
17295
18030
|
is_superadmin: boolean;
|
|
17296
18031
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
18032
|
+
phone: string | null;
|
|
17297
18033
|
tenant_id: string | null;
|
|
17298
18034
|
updated_at: string;
|
|
17299
18035
|
};
|
|
@@ -17306,6 +18042,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17306
18042
|
id: string;
|
|
17307
18043
|
is_superadmin?: boolean;
|
|
17308
18044
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18045
|
+
phone?: string | null;
|
|
17309
18046
|
tenant_id?: string | null;
|
|
17310
18047
|
updated_at?: string;
|
|
17311
18048
|
};
|
|
@@ -17318,6 +18055,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17318
18055
|
id?: string;
|
|
17319
18056
|
is_superadmin?: boolean;
|
|
17320
18057
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18058
|
+
phone?: string | null;
|
|
17321
18059
|
tenant_id?: string | null;
|
|
17322
18060
|
updated_at?: string;
|
|
17323
18061
|
};
|
|
@@ -19061,40 +19799,52 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
19061
19799
|
Row: {
|
|
19062
19800
|
approved_at: string | null;
|
|
19063
19801
|
approved_by: string | null;
|
|
19802
|
+
contract_hours: number;
|
|
19064
19803
|
created_at: string;
|
|
19065
19804
|
employee_id: string;
|
|
19066
19805
|
id: string;
|
|
19067
19806
|
locked: boolean;
|
|
19807
|
+
monteur_toelichting: string | null;
|
|
19068
19808
|
notes: string | null;
|
|
19809
|
+
planned_hours: number;
|
|
19069
19810
|
status: string;
|
|
19070
19811
|
submitted_at: string | null;
|
|
19071
19812
|
updated_at: string;
|
|
19813
|
+
variance_hours: number;
|
|
19072
19814
|
week_start: string;
|
|
19073
19815
|
};
|
|
19074
19816
|
Insert: {
|
|
19075
19817
|
approved_at?: string | null;
|
|
19076
19818
|
approved_by?: string | null;
|
|
19819
|
+
contract_hours?: number;
|
|
19077
19820
|
created_at?: string;
|
|
19078
19821
|
employee_id: string;
|
|
19079
19822
|
id?: string;
|
|
19080
19823
|
locked?: boolean;
|
|
19824
|
+
monteur_toelichting?: string | null;
|
|
19081
19825
|
notes?: string | null;
|
|
19826
|
+
planned_hours?: number;
|
|
19082
19827
|
status?: string;
|
|
19083
19828
|
submitted_at?: string | null;
|
|
19084
19829
|
updated_at?: string;
|
|
19830
|
+
variance_hours?: number;
|
|
19085
19831
|
week_start: string;
|
|
19086
19832
|
};
|
|
19087
19833
|
Update: {
|
|
19088
19834
|
approved_at?: string | null;
|
|
19089
19835
|
approved_by?: string | null;
|
|
19836
|
+
contract_hours?: number;
|
|
19090
19837
|
created_at?: string;
|
|
19091
19838
|
employee_id?: string;
|
|
19092
19839
|
id?: string;
|
|
19093
19840
|
locked?: boolean;
|
|
19841
|
+
monteur_toelichting?: string | null;
|
|
19094
19842
|
notes?: string | null;
|
|
19843
|
+
planned_hours?: number;
|
|
19095
19844
|
status?: string;
|
|
19096
19845
|
submitted_at?: string | null;
|
|
19097
19846
|
updated_at?: string;
|
|
19847
|
+
variance_hours?: number;
|
|
19098
19848
|
week_start?: string;
|
|
19099
19849
|
};
|
|
19100
19850
|
Relationships: [{
|
|
@@ -20381,16 +21131,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20381
21131
|
Row: {
|
|
20382
21132
|
active_environment: string;
|
|
20383
21133
|
id: number;
|
|
21134
|
+
public_base_url: string | null;
|
|
20384
21135
|
updated_at: string;
|
|
20385
21136
|
};
|
|
20386
21137
|
Insert: {
|
|
20387
21138
|
active_environment?: string;
|
|
20388
21139
|
id?: number;
|
|
21140
|
+
public_base_url?: string | null;
|
|
20389
21141
|
updated_at?: string;
|
|
20390
21142
|
};
|
|
20391
21143
|
Update: {
|
|
20392
21144
|
active_environment?: string;
|
|
20393
21145
|
id?: number;
|
|
21146
|
+
public_base_url?: string | null;
|
|
20394
21147
|
updated_at?: string;
|
|
20395
21148
|
};
|
|
20396
21149
|
Relationships: [];
|
|
@@ -20428,6 +21181,45 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20428
21181
|
referencedColumns: ["id"];
|
|
20429
21182
|
}];
|
|
20430
21183
|
};
|
|
21184
|
+
uren_beschikbare_dagen: {
|
|
21185
|
+
Row: {
|
|
21186
|
+
bron: string;
|
|
21187
|
+
created_at: string;
|
|
21188
|
+
datum: string;
|
|
21189
|
+
eind_tijd: string | null;
|
|
21190
|
+
half_hour_slots: number[];
|
|
21191
|
+
id: string;
|
|
21192
|
+
monteur_id: string;
|
|
21193
|
+
start_tijd: string | null;
|
|
21194
|
+
updated_at: string;
|
|
21195
|
+
uren: number;
|
|
21196
|
+
};
|
|
21197
|
+
Insert: {
|
|
21198
|
+
bron?: string;
|
|
21199
|
+
created_at?: string;
|
|
21200
|
+
datum: string;
|
|
21201
|
+
eind_tijd?: string | null;
|
|
21202
|
+
half_hour_slots?: number[];
|
|
21203
|
+
id?: string;
|
|
21204
|
+
monteur_id: string;
|
|
21205
|
+
start_tijd?: string | null;
|
|
21206
|
+
updated_at?: string;
|
|
21207
|
+
uren?: number;
|
|
21208
|
+
};
|
|
21209
|
+
Update: {
|
|
21210
|
+
bron?: string;
|
|
21211
|
+
created_at?: string;
|
|
21212
|
+
datum?: string;
|
|
21213
|
+
eind_tijd?: string | null;
|
|
21214
|
+
half_hour_slots?: number[];
|
|
21215
|
+
id?: string;
|
|
21216
|
+
monteur_id?: string;
|
|
21217
|
+
start_tijd?: string | null;
|
|
21218
|
+
updated_at?: string;
|
|
21219
|
+
uren?: number;
|
|
21220
|
+
};
|
|
21221
|
+
Relationships: [];
|
|
21222
|
+
};
|
|
20431
21223
|
uren_cao_profiles: {
|
|
20432
21224
|
Row: {
|
|
20433
21225
|
break_minutes: number | null;
|
|
@@ -20566,32 +21358,161 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20566
21358
|
};
|
|
20567
21359
|
Relationships: [];
|
|
20568
21360
|
};
|
|
20569
|
-
|
|
21361
|
+
uren_maandafsluitingen: {
|
|
20570
21362
|
Row: {
|
|
20571
|
-
|
|
21363
|
+
afgesloten_at: string | null;
|
|
21364
|
+
afgesloten_door: string | null;
|
|
21365
|
+
contract_minuten: number;
|
|
21366
|
+
correctie_reden: string | null;
|
|
20572
21367
|
created_at: string;
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
21368
|
+
gecorrigeerd_at: string | null;
|
|
21369
|
+
gecorrigeerd_door: string | null;
|
|
21370
|
+
gewerkte_minuten: number;
|
|
21371
|
+
id: string;
|
|
21372
|
+
maand: string;
|
|
21373
|
+
min_minuten: number;
|
|
21374
|
+
monteur_id: string;
|
|
21375
|
+
netto_verschil_minuten: number;
|
|
21376
|
+
normaal_uitbetaald_minuten: number;
|
|
21377
|
+
omgezet_vakantie_minuten: number;
|
|
21378
|
+
overdracht_vorige_minuten: number;
|
|
21379
|
+
overuren_minuten: number;
|
|
21380
|
+
plus_minuten: number;
|
|
21381
|
+
rest_overuren_minuten: number;
|
|
21382
|
+
status: string;
|
|
21383
|
+
totaal_uitbetaald_minuten: number;
|
|
20579
21384
|
updated_at: string;
|
|
20580
|
-
|
|
20581
|
-
workday_end: string;
|
|
20582
|
-
workday_start: string;
|
|
21385
|
+
vakantie_uren_bijgeschreven: number;
|
|
20583
21386
|
};
|
|
20584
21387
|
Insert: {
|
|
20585
|
-
|
|
21388
|
+
afgesloten_at?: string | null;
|
|
21389
|
+
afgesloten_door?: string | null;
|
|
21390
|
+
contract_minuten?: number;
|
|
21391
|
+
correctie_reden?: string | null;
|
|
20586
21392
|
created_at?: string;
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
|
|
20591
|
-
|
|
20592
|
-
|
|
21393
|
+
gecorrigeerd_at?: string | null;
|
|
21394
|
+
gecorrigeerd_door?: string | null;
|
|
21395
|
+
gewerkte_minuten?: number;
|
|
21396
|
+
id?: string;
|
|
21397
|
+
maand: string;
|
|
21398
|
+
min_minuten?: number;
|
|
21399
|
+
monteur_id: string;
|
|
21400
|
+
netto_verschil_minuten?: number;
|
|
21401
|
+
normaal_uitbetaald_minuten?: number;
|
|
21402
|
+
omgezet_vakantie_minuten?: number;
|
|
21403
|
+
overdracht_vorige_minuten?: number;
|
|
21404
|
+
overuren_minuten?: number;
|
|
21405
|
+
plus_minuten?: number;
|
|
21406
|
+
rest_overuren_minuten?: number;
|
|
21407
|
+
status?: string;
|
|
21408
|
+
totaal_uitbetaald_minuten?: number;
|
|
20593
21409
|
updated_at?: string;
|
|
20594
|
-
|
|
21410
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21411
|
+
};
|
|
21412
|
+
Update: {
|
|
21413
|
+
afgesloten_at?: string | null;
|
|
21414
|
+
afgesloten_door?: string | null;
|
|
21415
|
+
contract_minuten?: number;
|
|
21416
|
+
correctie_reden?: string | null;
|
|
21417
|
+
created_at?: string;
|
|
21418
|
+
gecorrigeerd_at?: string | null;
|
|
21419
|
+
gecorrigeerd_door?: string | null;
|
|
21420
|
+
gewerkte_minuten?: number;
|
|
21421
|
+
id?: string;
|
|
21422
|
+
maand?: string;
|
|
21423
|
+
min_minuten?: number;
|
|
21424
|
+
monteur_id?: string;
|
|
21425
|
+
netto_verschil_minuten?: number;
|
|
21426
|
+
normaal_uitbetaald_minuten?: number;
|
|
21427
|
+
omgezet_vakantie_minuten?: number;
|
|
21428
|
+
overdracht_vorige_minuten?: number;
|
|
21429
|
+
overuren_minuten?: number;
|
|
21430
|
+
plus_minuten?: number;
|
|
21431
|
+
rest_overuren_minuten?: number;
|
|
21432
|
+
status?: string;
|
|
21433
|
+
totaal_uitbetaald_minuten?: number;
|
|
21434
|
+
updated_at?: string;
|
|
21435
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21436
|
+
};
|
|
21437
|
+
Relationships: [];
|
|
21438
|
+
};
|
|
21439
|
+
uren_overuren_verklaringen: {
|
|
21440
|
+
Row: {
|
|
21441
|
+
beoordeeld_door: string | null;
|
|
21442
|
+
beoordeeld_op: string | null;
|
|
21443
|
+
created_at: string;
|
|
21444
|
+
datum: string;
|
|
21445
|
+
eind_tijd: string | null;
|
|
21446
|
+
id: string;
|
|
21447
|
+
ingediend_at: string;
|
|
21448
|
+
monteur_id: string;
|
|
21449
|
+
overuren: number;
|
|
21450
|
+
reden_afkeur: string | null;
|
|
21451
|
+
start_tijd: string | null;
|
|
21452
|
+
status: string;
|
|
21453
|
+
toelichting: string;
|
|
21454
|
+
updated_at: string;
|
|
21455
|
+
};
|
|
21456
|
+
Insert: {
|
|
21457
|
+
beoordeeld_door?: string | null;
|
|
21458
|
+
beoordeeld_op?: string | null;
|
|
21459
|
+
created_at?: string;
|
|
21460
|
+
datum: string;
|
|
21461
|
+
eind_tijd?: string | null;
|
|
21462
|
+
id?: string;
|
|
21463
|
+
ingediend_at?: string;
|
|
21464
|
+
monteur_id: string;
|
|
21465
|
+
overuren: number;
|
|
21466
|
+
reden_afkeur?: string | null;
|
|
21467
|
+
start_tijd?: string | null;
|
|
21468
|
+
status?: string;
|
|
21469
|
+
toelichting: string;
|
|
21470
|
+
updated_at?: string;
|
|
21471
|
+
};
|
|
21472
|
+
Update: {
|
|
21473
|
+
beoordeeld_door?: string | null;
|
|
21474
|
+
beoordeeld_op?: string | null;
|
|
21475
|
+
created_at?: string;
|
|
21476
|
+
datum?: string;
|
|
21477
|
+
eind_tijd?: string | null;
|
|
21478
|
+
id?: string;
|
|
21479
|
+
ingediend_at?: string;
|
|
21480
|
+
monteur_id?: string;
|
|
21481
|
+
overuren?: number;
|
|
21482
|
+
reden_afkeur?: string | null;
|
|
21483
|
+
start_tijd?: string | null;
|
|
21484
|
+
status?: string;
|
|
21485
|
+
toelichting?: string;
|
|
21486
|
+
updated_at?: string;
|
|
21487
|
+
};
|
|
21488
|
+
Relationships: [];
|
|
21489
|
+
};
|
|
21490
|
+
uren_settings: {
|
|
21491
|
+
Row: {
|
|
21492
|
+
break_minutes: number;
|
|
21493
|
+
created_at: string;
|
|
21494
|
+
daily_threshold_hours: number;
|
|
21495
|
+
id: boolean;
|
|
21496
|
+
include_travel: boolean;
|
|
21497
|
+
min_occupancy_monteurs: number;
|
|
21498
|
+
ov02_percentage: number;
|
|
21499
|
+
ov03_percentage: number;
|
|
21500
|
+
updated_at: string;
|
|
21501
|
+
weekly_threshold_hours: number;
|
|
21502
|
+
workday_end: string;
|
|
21503
|
+
workday_start: string;
|
|
21504
|
+
};
|
|
21505
|
+
Insert: {
|
|
21506
|
+
break_minutes?: number;
|
|
21507
|
+
created_at?: string;
|
|
21508
|
+
daily_threshold_hours?: number;
|
|
21509
|
+
id?: boolean;
|
|
21510
|
+
include_travel?: boolean;
|
|
21511
|
+
min_occupancy_monteurs?: number;
|
|
21512
|
+
ov02_percentage?: number;
|
|
21513
|
+
ov03_percentage?: number;
|
|
21514
|
+
updated_at?: string;
|
|
21515
|
+
weekly_threshold_hours?: number;
|
|
20595
21516
|
workday_end?: string;
|
|
20596
21517
|
workday_start?: string;
|
|
20597
21518
|
};
|
|
@@ -20611,6 +21532,75 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20611
21532
|
};
|
|
20612
21533
|
Relationships: [];
|
|
20613
21534
|
};
|
|
21535
|
+
uren_standaardweek: {
|
|
21536
|
+
Row: {
|
|
21537
|
+
created_at: string;
|
|
21538
|
+
eind_slot: number;
|
|
21539
|
+
id: string;
|
|
21540
|
+
monteur_id: string;
|
|
21541
|
+
start_slot: number;
|
|
21542
|
+
updated_at: string;
|
|
21543
|
+
weekdag: number;
|
|
21544
|
+
};
|
|
21545
|
+
Insert: {
|
|
21546
|
+
created_at?: string;
|
|
21547
|
+
eind_slot: number;
|
|
21548
|
+
id?: string;
|
|
21549
|
+
monteur_id: string;
|
|
21550
|
+
start_slot: number;
|
|
21551
|
+
updated_at?: string;
|
|
21552
|
+
weekdag: number;
|
|
21553
|
+
};
|
|
21554
|
+
Update: {
|
|
21555
|
+
created_at?: string;
|
|
21556
|
+
eind_slot?: number;
|
|
21557
|
+
id?: string;
|
|
21558
|
+
monteur_id?: string;
|
|
21559
|
+
start_slot?: number;
|
|
21560
|
+
updated_at?: string;
|
|
21561
|
+
weekdag?: number;
|
|
21562
|
+
};
|
|
21563
|
+
Relationships: [];
|
|
21564
|
+
};
|
|
21565
|
+
uren_standaardweek_wijzigingen: {
|
|
21566
|
+
Row: {
|
|
21567
|
+
beoordeeld_door: string | null;
|
|
21568
|
+
beoordeeld_op: string | null;
|
|
21569
|
+
created_at: string;
|
|
21570
|
+
huidig: import("../integrations/supabase/types").Json;
|
|
21571
|
+
id: string;
|
|
21572
|
+
monteur_id: string;
|
|
21573
|
+
reden_afkeur: string | null;
|
|
21574
|
+
status: string;
|
|
21575
|
+
updated_at: string;
|
|
21576
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21577
|
+
};
|
|
21578
|
+
Insert: {
|
|
21579
|
+
beoordeeld_door?: string | null;
|
|
21580
|
+
beoordeeld_op?: string | null;
|
|
21581
|
+
created_at?: string;
|
|
21582
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21583
|
+
id?: string;
|
|
21584
|
+
monteur_id: string;
|
|
21585
|
+
reden_afkeur?: string | null;
|
|
21586
|
+
status?: string;
|
|
21587
|
+
updated_at?: string;
|
|
21588
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21589
|
+
};
|
|
21590
|
+
Update: {
|
|
21591
|
+
beoordeeld_door?: string | null;
|
|
21592
|
+
beoordeeld_op?: string | null;
|
|
21593
|
+
created_at?: string;
|
|
21594
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21595
|
+
id?: string;
|
|
21596
|
+
monteur_id?: string;
|
|
21597
|
+
reden_afkeur?: string | null;
|
|
21598
|
+
status?: string;
|
|
21599
|
+
updated_at?: string;
|
|
21600
|
+
voorstel?: import("../integrations/supabase/types").Json;
|
|
21601
|
+
};
|
|
21602
|
+
Relationships: [];
|
|
21603
|
+
};
|
|
20614
21604
|
uren_tarieven: {
|
|
20615
21605
|
Row: {
|
|
20616
21606
|
created_at: string;
|
|
@@ -20695,6 +21685,39 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20695
21685
|
};
|
|
20696
21686
|
Relationships: [];
|
|
20697
21687
|
};
|
|
21688
|
+
uren_tijd_spiegel: {
|
|
21689
|
+
Row: {
|
|
21690
|
+
created_at: string;
|
|
21691
|
+
id: string;
|
|
21692
|
+
time_log_id: string;
|
|
21693
|
+
werkbon_time_log_id: string;
|
|
21694
|
+
};
|
|
21695
|
+
Insert: {
|
|
21696
|
+
created_at?: string;
|
|
21697
|
+
id?: string;
|
|
21698
|
+
time_log_id: string;
|
|
21699
|
+
werkbon_time_log_id: string;
|
|
21700
|
+
};
|
|
21701
|
+
Update: {
|
|
21702
|
+
created_at?: string;
|
|
21703
|
+
id?: string;
|
|
21704
|
+
time_log_id?: string;
|
|
21705
|
+
werkbon_time_log_id?: string;
|
|
21706
|
+
};
|
|
21707
|
+
Relationships: [{
|
|
21708
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21709
|
+
columns: ["time_log_id"];
|
|
21710
|
+
isOneToOne: true;
|
|
21711
|
+
referencedRelation: "time_logs";
|
|
21712
|
+
referencedColumns: ["id"];
|
|
21713
|
+
}, {
|
|
21714
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21715
|
+
columns: ["werkbon_time_log_id"];
|
|
21716
|
+
isOneToOne: true;
|
|
21717
|
+
referencedRelation: "werkbon_time_logs";
|
|
21718
|
+
referencedColumns: ["id"];
|
|
21719
|
+
}];
|
|
21720
|
+
};
|
|
20698
21721
|
uren_weekstaten: {
|
|
20699
21722
|
Row: {
|
|
20700
21723
|
approved_at: string | null;
|
|
@@ -20737,6 +21760,33 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20737
21760
|
};
|
|
20738
21761
|
Relationships: [];
|
|
20739
21762
|
};
|
|
21763
|
+
uren_werktijd_voorkeuren: {
|
|
21764
|
+
Row: {
|
|
21765
|
+
created_at: string;
|
|
21766
|
+
eind_slot: number;
|
|
21767
|
+
id: string;
|
|
21768
|
+
monteur_id: string;
|
|
21769
|
+
start_slot: number;
|
|
21770
|
+
updated_at: string;
|
|
21771
|
+
};
|
|
21772
|
+
Insert: {
|
|
21773
|
+
created_at?: string;
|
|
21774
|
+
eind_slot?: number;
|
|
21775
|
+
id?: string;
|
|
21776
|
+
monteur_id: string;
|
|
21777
|
+
start_slot?: number;
|
|
21778
|
+
updated_at?: string;
|
|
21779
|
+
};
|
|
21780
|
+
Update: {
|
|
21781
|
+
created_at?: string;
|
|
21782
|
+
eind_slot?: number;
|
|
21783
|
+
id?: string;
|
|
21784
|
+
monteur_id?: string;
|
|
21785
|
+
start_slot?: number;
|
|
21786
|
+
updated_at?: string;
|
|
21787
|
+
};
|
|
21788
|
+
Relationships: [];
|
|
21789
|
+
};
|
|
20740
21790
|
user_module_permissions: {
|
|
20741
21791
|
Row: {
|
|
20742
21792
|
created_at: string;
|
|
@@ -20794,6 +21844,51 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20794
21844
|
referencedColumns: ["id"];
|
|
20795
21845
|
}];
|
|
20796
21846
|
};
|
|
21847
|
+
vakantie_uitbetalingen: {
|
|
21848
|
+
Row: {
|
|
21849
|
+
created_at: string;
|
|
21850
|
+
created_by: string | null;
|
|
21851
|
+
days: number;
|
|
21852
|
+
id: string;
|
|
21853
|
+
note: string | null;
|
|
21854
|
+
updated_at: string;
|
|
21855
|
+
user_id: string;
|
|
21856
|
+
year: number;
|
|
21857
|
+
};
|
|
21858
|
+
Insert: {
|
|
21859
|
+
created_at?: string;
|
|
21860
|
+
created_by?: string | null;
|
|
21861
|
+
days: number;
|
|
21862
|
+
id?: string;
|
|
21863
|
+
note?: string | null;
|
|
21864
|
+
updated_at?: string;
|
|
21865
|
+
user_id: string;
|
|
21866
|
+
year?: number;
|
|
21867
|
+
};
|
|
21868
|
+
Update: {
|
|
21869
|
+
created_at?: string;
|
|
21870
|
+
created_by?: string | null;
|
|
21871
|
+
days?: number;
|
|
21872
|
+
id?: string;
|
|
21873
|
+
note?: string | null;
|
|
21874
|
+
updated_at?: string;
|
|
21875
|
+
user_id?: string;
|
|
21876
|
+
year?: number;
|
|
21877
|
+
};
|
|
21878
|
+
Relationships: [{
|
|
21879
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
21880
|
+
columns: ["created_by"];
|
|
21881
|
+
isOneToOne: false;
|
|
21882
|
+
referencedRelation: "profiles";
|
|
21883
|
+
referencedColumns: ["id"];
|
|
21884
|
+
}, {
|
|
21885
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
21886
|
+
columns: ["user_id"];
|
|
21887
|
+
isOneToOne: false;
|
|
21888
|
+
referencedRelation: "profiles";
|
|
21889
|
+
referencedColumns: ["id"];
|
|
21890
|
+
}];
|
|
21891
|
+
};
|
|
20797
21892
|
van_inventories: {
|
|
20798
21893
|
Row: {
|
|
20799
21894
|
barcode: string | null;
|
|
@@ -21668,10 +22763,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21668
22763
|
Row: {
|
|
21669
22764
|
article_number: string | null;
|
|
21670
22765
|
artikel_id: string | null;
|
|
22766
|
+
cost_price_cents: number;
|
|
21671
22767
|
created_at: string;
|
|
21672
22768
|
gtin: string | null;
|
|
21673
22769
|
id: string;
|
|
21674
22770
|
manufacturer: string | null;
|
|
22771
|
+
margin_percent: number | null;
|
|
21675
22772
|
omschrijving: string;
|
|
21676
22773
|
package_id: string;
|
|
21677
22774
|
price_synced_at: string | null;
|
|
@@ -21686,10 +22783,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21686
22783
|
Insert: {
|
|
21687
22784
|
article_number?: string | null;
|
|
21688
22785
|
artikel_id?: string | null;
|
|
22786
|
+
cost_price_cents?: number;
|
|
21689
22787
|
created_at?: string;
|
|
21690
22788
|
gtin?: string | null;
|
|
21691
22789
|
id?: string;
|
|
21692
22790
|
manufacturer?: string | null;
|
|
22791
|
+
margin_percent?: number | null;
|
|
21693
22792
|
omschrijving: string;
|
|
21694
22793
|
package_id: string;
|
|
21695
22794
|
price_synced_at?: string | null;
|
|
@@ -21704,10 +22803,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21704
22803
|
Update: {
|
|
21705
22804
|
article_number?: string | null;
|
|
21706
22805
|
artikel_id?: string | null;
|
|
22806
|
+
cost_price_cents?: number;
|
|
21707
22807
|
created_at?: string;
|
|
21708
22808
|
gtin?: string | null;
|
|
21709
22809
|
id?: string;
|
|
21710
22810
|
manufacturer?: string | null;
|
|
22811
|
+
margin_percent?: number | null;
|
|
21711
22812
|
omschrijving?: string;
|
|
21712
22813
|
package_id?: string;
|
|
21713
22814
|
price_synced_at?: string | null;
|
|
@@ -22072,6 +23173,78 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
22072
23173
|
referencedColumns: ["id"];
|
|
22073
23174
|
}];
|
|
22074
23175
|
};
|
|
23176
|
+
werkbon_voorstellen: {
|
|
23177
|
+
Row: {
|
|
23178
|
+
bron_werkbon_id: string;
|
|
23179
|
+
budget_mandate_cents: number;
|
|
23180
|
+
created_at: string;
|
|
23181
|
+
created_by: string;
|
|
23182
|
+
customer_id: string | null;
|
|
23183
|
+
id: string;
|
|
23184
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23185
|
+
reden: string | null;
|
|
23186
|
+
status: string;
|
|
23187
|
+
updated_at: string;
|
|
23188
|
+
verwerkt_door: string | null;
|
|
23189
|
+
verwerkt_op: string | null;
|
|
23190
|
+
werkbon_id: string | null;
|
|
23191
|
+
};
|
|
23192
|
+
Insert: {
|
|
23193
|
+
bron_werkbon_id: string;
|
|
23194
|
+
budget_mandate_cents?: number;
|
|
23195
|
+
created_at?: string;
|
|
23196
|
+
created_by?: string;
|
|
23197
|
+
customer_id?: string | null;
|
|
23198
|
+
id?: string;
|
|
23199
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23200
|
+
reden?: string | null;
|
|
23201
|
+
status?: string;
|
|
23202
|
+
updated_at?: string;
|
|
23203
|
+
verwerkt_door?: string | null;
|
|
23204
|
+
verwerkt_op?: string | null;
|
|
23205
|
+
werkbon_id?: string | null;
|
|
23206
|
+
};
|
|
23207
|
+
Update: {
|
|
23208
|
+
bron_werkbon_id?: string;
|
|
23209
|
+
budget_mandate_cents?: number;
|
|
23210
|
+
created_at?: string;
|
|
23211
|
+
created_by?: string;
|
|
23212
|
+
customer_id?: string | null;
|
|
23213
|
+
id?: string;
|
|
23214
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23215
|
+
reden?: string | null;
|
|
23216
|
+
status?: string;
|
|
23217
|
+
updated_at?: string;
|
|
23218
|
+
verwerkt_door?: string | null;
|
|
23219
|
+
verwerkt_op?: string | null;
|
|
23220
|
+
werkbon_id?: string | null;
|
|
23221
|
+
};
|
|
23222
|
+
Relationships: [{
|
|
23223
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23224
|
+
columns: ["bron_werkbon_id"];
|
|
23225
|
+
isOneToOne: false;
|
|
23226
|
+
referencedRelation: "werkbonnen";
|
|
23227
|
+
referencedColumns: ["id"];
|
|
23228
|
+
}, {
|
|
23229
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23230
|
+
columns: ["bron_werkbon_id"];
|
|
23231
|
+
isOneToOne: false;
|
|
23232
|
+
referencedRelation: "wo_overview";
|
|
23233
|
+
referencedColumns: ["id"];
|
|
23234
|
+
}, {
|
|
23235
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23236
|
+
columns: ["werkbon_id"];
|
|
23237
|
+
isOneToOne: false;
|
|
23238
|
+
referencedRelation: "werkbonnen";
|
|
23239
|
+
referencedColumns: ["id"];
|
|
23240
|
+
}, {
|
|
23241
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23242
|
+
columns: ["werkbon_id"];
|
|
23243
|
+
isOneToOne: false;
|
|
23244
|
+
referencedRelation: "wo_overview";
|
|
23245
|
+
referencedColumns: ["id"];
|
|
23246
|
+
}];
|
|
23247
|
+
};
|
|
22075
23248
|
werkbonnen: {
|
|
22076
23249
|
Row: {
|
|
22077
23250
|
assigned_user_id: string | null;
|
|
@@ -22679,6 +23852,21 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
22679
23852
|
};
|
|
22680
23853
|
Relationships: [];
|
|
22681
23854
|
};
|
|
23855
|
+
logistics_packing_diff: {
|
|
23856
|
+
Row: {
|
|
23857
|
+
dev_key: string | null;
|
|
23858
|
+
floriday_packing: import("../integrations/supabase/types").Json | null;
|
|
23859
|
+
local_packing: import("../integrations/supabase/types").Json | null;
|
|
23860
|
+
order_id: string | null;
|
|
23861
|
+
order_item_id: string | null;
|
|
23862
|
+
order_number: string | null;
|
|
23863
|
+
product_id: string | null;
|
|
23864
|
+
product_name: string | null;
|
|
23865
|
+
scope: string | null;
|
|
23866
|
+
trade_item_id: string | null;
|
|
23867
|
+
};
|
|
23868
|
+
Relationships: [];
|
|
23869
|
+
};
|
|
22682
23870
|
logistics_product_dimensions: {
|
|
22683
23871
|
Row: {
|
|
22684
23872
|
dimension_source: string | null;
|
|
@@ -23297,6 +24485,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
23297
24485
|
};
|
|
23298
24486
|
Returns: undefined;
|
|
23299
24487
|
};
|
|
24488
|
+
_wo_is_planner: {
|
|
24489
|
+
Args: never;
|
|
24490
|
+
Returns: boolean;
|
|
24491
|
+
};
|
|
23300
24492
|
afh_city_code: {
|
|
23301
24493
|
Args: {
|
|
23302
24494
|
_city: string;
|
|
@@ -23907,10 +25099,32 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
23907
25099
|
};
|
|
23908
25100
|
Returns: number;
|
|
23909
25101
|
};
|
|
25102
|
+
control_mark_carts_delivered_detail: {
|
|
25103
|
+
Args: {
|
|
25104
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
25105
|
+
};
|
|
25106
|
+
Returns: {
|
|
25107
|
+
cart_index: number;
|
|
25108
|
+
frozen: boolean;
|
|
25109
|
+
message: string;
|
|
25110
|
+
order_id: string;
|
|
25111
|
+
order_source: string;
|
|
25112
|
+
outcome: string;
|
|
25113
|
+
}[];
|
|
25114
|
+
};
|
|
23910
25115
|
count_distinct_regulatory_products: {
|
|
23911
25116
|
Args: never;
|
|
23912
25117
|
Returns: number;
|
|
23913
25118
|
};
|
|
25119
|
+
create_order_from_public_offer: {
|
|
25120
|
+
Args: {
|
|
25121
|
+
p_carrier_id?: string;
|
|
25122
|
+
p_delivery_date?: string;
|
|
25123
|
+
p_delivery_garden_id?: string;
|
|
25124
|
+
p_offer_order_id: string;
|
|
25125
|
+
};
|
|
25126
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25127
|
+
};
|
|
23914
25128
|
current_monteur_id: {
|
|
23915
25129
|
Args: never;
|
|
23916
25130
|
Returns: string;
|
|
@@ -24387,6 +25601,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24387
25601
|
};
|
|
24388
25602
|
Returns: number;
|
|
24389
25603
|
};
|
|
25604
|
+
get_product_stock: {
|
|
25605
|
+
Args: {
|
|
25606
|
+
p_product_id: string;
|
|
25607
|
+
};
|
|
25608
|
+
Returns: {
|
|
25609
|
+
connection_id: string;
|
|
25610
|
+
incoming_stock: number;
|
|
25611
|
+
minimum_stock: number;
|
|
25612
|
+
notes: string;
|
|
25613
|
+
physical_stock: number;
|
|
25614
|
+
product_id: string;
|
|
25615
|
+
reserved_stock: number;
|
|
25616
|
+
trade_item_key: string;
|
|
25617
|
+
updated_at: string;
|
|
25618
|
+
}[];
|
|
25619
|
+
};
|
|
24390
25620
|
get_room_busy_windows: {
|
|
24391
25621
|
Args: {
|
|
24392
25622
|
p_from: string;
|
|
@@ -24691,6 +25921,26 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24691
25921
|
};
|
|
24692
25922
|
Returns: import("../integrations/supabase/types").Json;
|
|
24693
25923
|
};
|
|
25924
|
+
inkoop_list_artikelen: {
|
|
25925
|
+
Args: never;
|
|
25926
|
+
Returns: {
|
|
25927
|
+
article_number: string;
|
|
25928
|
+
barcode: string;
|
|
25929
|
+
id: string;
|
|
25930
|
+
incoming_quantity: number;
|
|
25931
|
+
is_layer: boolean;
|
|
25932
|
+
location: string;
|
|
25933
|
+
min_quantity: number;
|
|
25934
|
+
preferred_supplier_name: string;
|
|
25935
|
+
product: string;
|
|
25936
|
+
product_type: string;
|
|
25937
|
+
purchase_price: number;
|
|
25938
|
+
quantity: number;
|
|
25939
|
+
sale_price: number;
|
|
25940
|
+
supplier_count: number;
|
|
25941
|
+
unit: string;
|
|
25942
|
+
}[];
|
|
25943
|
+
};
|
|
24694
25944
|
inkoop_next_order_number: {
|
|
24695
25945
|
Args: never;
|
|
24696
25946
|
Returns: string;
|
|
@@ -24705,6 +25955,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24705
25955
|
to_address: string;
|
|
24706
25956
|
}[];
|
|
24707
25957
|
};
|
|
25958
|
+
inkoop_set_preferred_supplier: {
|
|
25959
|
+
Args: {
|
|
25960
|
+
_product_id: string;
|
|
25961
|
+
_supplier_id: string;
|
|
25962
|
+
};
|
|
25963
|
+
Returns: undefined;
|
|
25964
|
+
};
|
|
24708
25965
|
instructie_get: {
|
|
24709
25966
|
Args: {
|
|
24710
25967
|
_sleutel: string;
|
|
@@ -24724,6 +25981,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24724
25981
|
};
|
|
24725
25982
|
Returns: number;
|
|
24726
25983
|
};
|
|
25984
|
+
invoice_branding_snapshot: {
|
|
25985
|
+
Args: never;
|
|
25986
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25987
|
+
};
|
|
24727
25988
|
invoice_create_from_source: {
|
|
24728
25989
|
Args: {
|
|
24729
25990
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -24758,12 +26019,41 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24758
26019
|
};
|
|
24759
26020
|
Returns: import("../integrations/supabase/types").Json;
|
|
24760
26021
|
};
|
|
26022
|
+
invoice_mark_sent: {
|
|
26023
|
+
Args: {
|
|
26024
|
+
_invoice_id: string;
|
|
26025
|
+
_to: string;
|
|
26026
|
+
};
|
|
26027
|
+
Returns: undefined;
|
|
26028
|
+
};
|
|
26029
|
+
invoice_peek_next_number: {
|
|
26030
|
+
Args: never;
|
|
26031
|
+
Returns: string;
|
|
26032
|
+
};
|
|
26033
|
+
invoice_ready_work_orders: {
|
|
26034
|
+
Args: {
|
|
26035
|
+
_limit?: number;
|
|
26036
|
+
};
|
|
26037
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26038
|
+
};
|
|
24761
26039
|
invoice_recalc_totals: {
|
|
24762
26040
|
Args: {
|
|
24763
26041
|
_invoice_id: string;
|
|
24764
26042
|
};
|
|
24765
26043
|
Returns: import("../integrations/supabase/types").Json;
|
|
24766
26044
|
};
|
|
26045
|
+
invoice_save_branding_settings: {
|
|
26046
|
+
Args: {
|
|
26047
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26048
|
+
};
|
|
26049
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26050
|
+
};
|
|
26051
|
+
invoice_set_email_purpose: {
|
|
26052
|
+
Args: {
|
|
26053
|
+
_purpose: string;
|
|
26054
|
+
};
|
|
26055
|
+
Returns: string;
|
|
26056
|
+
};
|
|
24767
26057
|
invoice_source_lines: {
|
|
24768
26058
|
Args: {
|
|
24769
26059
|
_source_id: string;
|
|
@@ -24771,6 +26061,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24771
26061
|
};
|
|
24772
26062
|
Returns: import("../integrations/supabase/types").Json;
|
|
24773
26063
|
};
|
|
26064
|
+
invoice_update_full: {
|
|
26065
|
+
Args: {
|
|
26066
|
+
_invoice_id: string;
|
|
26067
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26068
|
+
};
|
|
26069
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26070
|
+
};
|
|
26071
|
+
invoice_work_order_locked: {
|
|
26072
|
+
Args: {
|
|
26073
|
+
_werkbon_id: string;
|
|
26074
|
+
};
|
|
26075
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26076
|
+
};
|
|
24774
26077
|
is_authenticated: {
|
|
24775
26078
|
Args: never;
|
|
24776
26079
|
Returns: boolean;
|
|
@@ -25003,6 +26306,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25003
26306
|
};
|
|
25004
26307
|
Returns: import("../integrations/supabase/types").Json;
|
|
25005
26308
|
};
|
|
26309
|
+
logistics_buffer_decision_for_settings: {
|
|
26310
|
+
Args: {
|
|
26311
|
+
p_order: import("../integrations/supabase/types").Json;
|
|
26312
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
26313
|
+
p_user_id?: string;
|
|
26314
|
+
};
|
|
26315
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26316
|
+
};
|
|
25006
26317
|
logistics_buffer_detach_late_orders: {
|
|
25007
26318
|
Args: {
|
|
25008
26319
|
p_buffer?: string;
|
|
@@ -25036,6 +26347,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25036
26347
|
};
|
|
25037
26348
|
Returns: string;
|
|
25038
26349
|
};
|
|
26350
|
+
logistics_buffer_payload: {
|
|
26351
|
+
Args: {
|
|
26352
|
+
p_order_id: string;
|
|
26353
|
+
};
|
|
26354
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26355
|
+
};
|
|
25039
26356
|
logistics_buffer_simulate: {
|
|
25040
26357
|
Args: {
|
|
25041
26358
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -25094,6 +26411,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25094
26411
|
};
|
|
25095
26412
|
Returns: string;
|
|
25096
26413
|
};
|
|
26414
|
+
logistics_cart_coverage_check: {
|
|
26415
|
+
Args: never;
|
|
26416
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26417
|
+
};
|
|
25097
26418
|
logistics_cart_handled: {
|
|
25098
26419
|
Args: {
|
|
25099
26420
|
p_cart_index: number;
|
|
@@ -25337,6 +26658,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25337
26658
|
isSetofReturn: false;
|
|
25338
26659
|
};
|
|
25339
26660
|
};
|
|
26661
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26662
|
+
Args: {
|
|
26663
|
+
p_limit?: number;
|
|
26664
|
+
p_order_id: string;
|
|
26665
|
+
};
|
|
26666
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26667
|
+
};
|
|
26668
|
+
logistics_cleanup_history: {
|
|
26669
|
+
Args: {
|
|
26670
|
+
p_limit?: number;
|
|
26671
|
+
};
|
|
26672
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26673
|
+
};
|
|
25340
26674
|
logistics_cleanup_orphan_print_jobs: {
|
|
25341
26675
|
Args: never;
|
|
25342
26676
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -25494,6 +26828,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25494
26828
|
Args: never;
|
|
25495
26829
|
Returns: import("../integrations/supabase/types").Json;
|
|
25496
26830
|
};
|
|
26831
|
+
logistics_cron_health: {
|
|
26832
|
+
Args: never;
|
|
26833
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26834
|
+
};
|
|
25497
26835
|
logistics_day_windows: {
|
|
25498
26836
|
Args: {
|
|
25499
26837
|
p_day: string;
|
|
@@ -25843,6 +27181,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25843
27181
|
};
|
|
25844
27182
|
Returns: number;
|
|
25845
27183
|
};
|
|
27184
|
+
logistics_merge_decision: {
|
|
27185
|
+
Args: {
|
|
27186
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
27187
|
+
};
|
|
27188
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27189
|
+
};
|
|
25846
27190
|
logistics_merge_floriday_lines: {
|
|
25847
27191
|
Args: {
|
|
25848
27192
|
p_order_id: string;
|
|
@@ -25889,6 +27233,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25889
27233
|
Args: never;
|
|
25890
27234
|
Returns: string;
|
|
25891
27235
|
};
|
|
27236
|
+
logistics_order_backlog_info: {
|
|
27237
|
+
Args: {
|
|
27238
|
+
p_order_id: string;
|
|
27239
|
+
};
|
|
27240
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27241
|
+
};
|
|
25892
27242
|
logistics_order_cart_approval: {
|
|
25893
27243
|
Args: {
|
|
25894
27244
|
_order_ref: string;
|
|
@@ -25923,6 +27273,50 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25923
27273
|
};
|
|
25924
27274
|
Returns: boolean;
|
|
25925
27275
|
};
|
|
27276
|
+
logistics_order_finalize_enqueue: {
|
|
27277
|
+
Args: {
|
|
27278
|
+
p_order_id: string;
|
|
27279
|
+
p_reason?: string;
|
|
27280
|
+
};
|
|
27281
|
+
Returns: undefined;
|
|
27282
|
+
};
|
|
27283
|
+
logistics_order_finalize_overview: {
|
|
27284
|
+
Args: never;
|
|
27285
|
+
Returns: {
|
|
27286
|
+
bezig: number;
|
|
27287
|
+
laatst_afgerond: string;
|
|
27288
|
+
laatste_fout: string;
|
|
27289
|
+
mislukt: number;
|
|
27290
|
+
oudste_wachttijd_seconden: number;
|
|
27291
|
+
wachtend: number;
|
|
27292
|
+
}[];
|
|
27293
|
+
};
|
|
27294
|
+
logistics_order_finalize_prune: {
|
|
27295
|
+
Args: {
|
|
27296
|
+
p_days?: number;
|
|
27297
|
+
};
|
|
27298
|
+
Returns: number;
|
|
27299
|
+
};
|
|
27300
|
+
logistics_order_finalize_reconcile: {
|
|
27301
|
+
Args: {
|
|
27302
|
+
p_days?: number;
|
|
27303
|
+
p_limit?: number;
|
|
27304
|
+
};
|
|
27305
|
+
Returns: number;
|
|
27306
|
+
};
|
|
27307
|
+
logistics_order_finalize_retry: {
|
|
27308
|
+
Args: {
|
|
27309
|
+
p_order_id: string;
|
|
27310
|
+
};
|
|
27311
|
+
Returns: boolean;
|
|
27312
|
+
};
|
|
27313
|
+
logistics_order_finalize_run: {
|
|
27314
|
+
Args: {
|
|
27315
|
+
p_lease_seconds?: number;
|
|
27316
|
+
p_limit?: number;
|
|
27317
|
+
};
|
|
27318
|
+
Returns: number;
|
|
27319
|
+
};
|
|
25926
27320
|
logistics_order_frozen: {
|
|
25927
27321
|
Args: {
|
|
25928
27322
|
p_order_id: string;
|
|
@@ -25935,6 +27329,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25935
27329
|
};
|
|
25936
27330
|
Returns: boolean;
|
|
25937
27331
|
};
|
|
27332
|
+
logistics_order_is_backlog: {
|
|
27333
|
+
Args: {
|
|
27334
|
+
p_order_id: string;
|
|
27335
|
+
};
|
|
27336
|
+
Returns: boolean;
|
|
27337
|
+
};
|
|
25938
27338
|
logistics_order_is_topick: {
|
|
25939
27339
|
Args: {
|
|
25940
27340
|
p_order_id: string;
|
|
@@ -25942,6 +27342,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25942
27342
|
};
|
|
25943
27343
|
Returns: boolean;
|
|
25944
27344
|
};
|
|
27345
|
+
logistics_order_line_duplicates: {
|
|
27346
|
+
Args: {
|
|
27347
|
+
p_order_id: string;
|
|
27348
|
+
};
|
|
27349
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27350
|
+
};
|
|
25945
27351
|
logistics_order_merge_key: {
|
|
25946
27352
|
Args: {
|
|
25947
27353
|
p_group_key: string;
|
|
@@ -25985,6 +27391,63 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25985
27391
|
};
|
|
25986
27392
|
Returns: boolean;
|
|
25987
27393
|
};
|
|
27394
|
+
logistics_packing_autofix: {
|
|
27395
|
+
Args: {
|
|
27396
|
+
p_limit?: number;
|
|
27397
|
+
};
|
|
27398
|
+
Returns: number;
|
|
27399
|
+
};
|
|
27400
|
+
logistics_packing_block_reason: {
|
|
27401
|
+
Args: {
|
|
27402
|
+
p_order_id: string;
|
|
27403
|
+
p_order_item_id: string;
|
|
27404
|
+
};
|
|
27405
|
+
Returns: string;
|
|
27406
|
+
};
|
|
27407
|
+
logistics_packing_dismiss: {
|
|
27408
|
+
Args: {
|
|
27409
|
+
p_id: string;
|
|
27410
|
+
p_note?: string;
|
|
27411
|
+
};
|
|
27412
|
+
Returns: boolean;
|
|
27413
|
+
};
|
|
27414
|
+
logistics_packing_overview: {
|
|
27415
|
+
Args: never;
|
|
27416
|
+
Returns: {
|
|
27417
|
+
beoordelen: number;
|
|
27418
|
+
herstelbaar: number;
|
|
27419
|
+
laatst_gemeten: string;
|
|
27420
|
+
laatst_hersteld: string;
|
|
27421
|
+
open_totaal: number;
|
|
27422
|
+
orders: number;
|
|
27423
|
+
oudste_seconden: number;
|
|
27424
|
+
producten: number;
|
|
27425
|
+
}[];
|
|
27426
|
+
};
|
|
27427
|
+
logistics_packing_reconcile: {
|
|
27428
|
+
Args: {
|
|
27429
|
+
p_fix_limit?: number;
|
|
27430
|
+
p_scan_limit?: number;
|
|
27431
|
+
};
|
|
27432
|
+
Returns: {
|
|
27433
|
+
beoordelen: number;
|
|
27434
|
+
gevonden: number;
|
|
27435
|
+
hersteld: number;
|
|
27436
|
+
}[];
|
|
27437
|
+
};
|
|
27438
|
+
logistics_packing_scan: {
|
|
27439
|
+
Args: {
|
|
27440
|
+
p_limit?: number;
|
|
27441
|
+
};
|
|
27442
|
+
Returns: number;
|
|
27443
|
+
};
|
|
27444
|
+
logistics_packing_set_manual: {
|
|
27445
|
+
Args: {
|
|
27446
|
+
p_manual?: boolean;
|
|
27447
|
+
p_order_item_id: string;
|
|
27448
|
+
};
|
|
27449
|
+
Returns: boolean;
|
|
27450
|
+
};
|
|
25988
27451
|
logistics_parse_pickup: {
|
|
25989
27452
|
Args: {
|
|
25990
27453
|
p_value: string;
|
|
@@ -26013,6 +27476,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26013
27476
|
shifted_count: number;
|
|
26014
27477
|
}[];
|
|
26015
27478
|
};
|
|
27479
|
+
logistics_pick_backlog_max_days: {
|
|
27480
|
+
Args: never;
|
|
27481
|
+
Returns: number;
|
|
27482
|
+
};
|
|
26016
27483
|
logistics_pick_barcode_enabled: {
|
|
26017
27484
|
Args: never;
|
|
26018
27485
|
Returns: boolean;
|
|
@@ -26234,6 +27701,21 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26234
27701
|
Args: never;
|
|
26235
27702
|
Returns: number;
|
|
26236
27703
|
};
|
|
27704
|
+
logistics_planner_cart_snapshot: {
|
|
27705
|
+
Args: {
|
|
27706
|
+
p_buffer_id: string;
|
|
27707
|
+
p_order_id: string;
|
|
27708
|
+
};
|
|
27709
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27710
|
+
};
|
|
27711
|
+
logistics_planner_diff_mode: {
|
|
27712
|
+
Args: never;
|
|
27713
|
+
Returns: string;
|
|
27714
|
+
};
|
|
27715
|
+
logistics_planner_diff_prune: {
|
|
27716
|
+
Args: never;
|
|
27717
|
+
Returns: number;
|
|
27718
|
+
};
|
|
26237
27719
|
logistics_prepare_pick_documents: {
|
|
26238
27720
|
Args: {
|
|
26239
27721
|
p_limit?: number;
|
|
@@ -26244,6 +27726,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26244
27726
|
Args: never;
|
|
26245
27727
|
Returns: number;
|
|
26246
27728
|
};
|
|
27729
|
+
logistics_prune_cron_history: {
|
|
27730
|
+
Args: {
|
|
27731
|
+
p_days?: number;
|
|
27732
|
+
};
|
|
27733
|
+
Returns: number;
|
|
27734
|
+
};
|
|
26247
27735
|
logistics_prune_handled_pick_queue: {
|
|
26248
27736
|
Args: never;
|
|
26249
27737
|
Returns: number;
|
|
@@ -26280,6 +27768,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26280
27768
|
Args: never;
|
|
26281
27769
|
Returns: import("../integrations/supabase/types").Json;
|
|
26282
27770
|
};
|
|
27771
|
+
logistics_recalc_tick_kick: {
|
|
27772
|
+
Args: never;
|
|
27773
|
+
Returns: number;
|
|
27774
|
+
};
|
|
27775
|
+
logistics_reconcile_missing_plan_queue: {
|
|
27776
|
+
Args: never;
|
|
27777
|
+
Returns: number;
|
|
27778
|
+
};
|
|
26283
27779
|
logistics_refresh_pick_queue_status: {
|
|
26284
27780
|
Args: {
|
|
26285
27781
|
p_ref: string;
|
|
@@ -26310,11 +27806,24 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26310
27806
|
};
|
|
26311
27807
|
Returns: import("../integrations/supabase/types").Json;
|
|
26312
27808
|
};
|
|
27809
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
27810
|
+
Args: {
|
|
27811
|
+
p_order_id: string;
|
|
27812
|
+
p_reason: string;
|
|
27813
|
+
};
|
|
27814
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27815
|
+
};
|
|
26313
27816
|
logistics_replan_order_journey: {
|
|
26314
27817
|
Args: {
|
|
26315
27818
|
p_order_ref: string;
|
|
26316
27819
|
};
|
|
26317
27820
|
Returns: import("../integrations/supabase/types").Json;
|
|
27821
|
+
} | {
|
|
27822
|
+
Args: {
|
|
27823
|
+
p_order_ref: string;
|
|
27824
|
+
p_reason: string;
|
|
27825
|
+
};
|
|
27826
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26318
27827
|
};
|
|
26319
27828
|
logistics_report_delay: {
|
|
26320
27829
|
Args: {
|
|
@@ -26360,6 +27869,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26360
27869
|
};
|
|
26361
27870
|
Returns: import("../integrations/supabase/types").Json;
|
|
26362
27871
|
};
|
|
27872
|
+
logistics_reserved_stock_nightly: {
|
|
27873
|
+
Args: never;
|
|
27874
|
+
Returns: undefined;
|
|
27875
|
+
};
|
|
26363
27876
|
logistics_resolve_pick_document: {
|
|
26364
27877
|
Args: {
|
|
26365
27878
|
_is_herprint: boolean;
|
|
@@ -26383,6 +27896,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26383
27896
|
};
|
|
26384
27897
|
Returns: import("../integrations/supabase/types").Json;
|
|
26385
27898
|
};
|
|
27899
|
+
logistics_retention_days: {
|
|
27900
|
+
Args: {
|
|
27901
|
+
p_key: string;
|
|
27902
|
+
};
|
|
27903
|
+
Returns: number;
|
|
27904
|
+
};
|
|
26386
27905
|
logistics_rule_bool: {
|
|
26387
27906
|
Args: {
|
|
26388
27907
|
p_default: boolean;
|
|
@@ -26576,12 +28095,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26576
28095
|
Args: never;
|
|
26577
28096
|
Returns: import("../integrations/supabase/types").Json;
|
|
26578
28097
|
};
|
|
28098
|
+
logistics_sync_pick_queue_backlog: {
|
|
28099
|
+
Args: never;
|
|
28100
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28101
|
+
};
|
|
28102
|
+
logistics_sync_pick_queue_core: {
|
|
28103
|
+
Args: never;
|
|
28104
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28105
|
+
};
|
|
26579
28106
|
logistics_sync_task_carriers: {
|
|
26580
28107
|
Args: {
|
|
26581
28108
|
p_order_ref?: string;
|
|
26582
28109
|
};
|
|
26583
28110
|
Returns: number;
|
|
26584
28111
|
};
|
|
28112
|
+
logistics_task_open_counts: {
|
|
28113
|
+
Args: never;
|
|
28114
|
+
Returns: {
|
|
28115
|
+
open_count: number;
|
|
28116
|
+
owner_module: string;
|
|
28117
|
+
}[];
|
|
28118
|
+
};
|
|
26585
28119
|
logistics_task_owner: {
|
|
26586
28120
|
Args: {
|
|
26587
28121
|
p_task_type: string;
|
|
@@ -26599,6 +28133,16 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26599
28133
|
Args: never;
|
|
26600
28134
|
Returns: number;
|
|
26601
28135
|
};
|
|
28136
|
+
logistics_tasks_prune: {
|
|
28137
|
+
Args: {
|
|
28138
|
+
p_days?: number;
|
|
28139
|
+
};
|
|
28140
|
+
Returns: number;
|
|
28141
|
+
};
|
|
28142
|
+
logistics_tick: {
|
|
28143
|
+
Args: never;
|
|
28144
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28145
|
+
};
|
|
26602
28146
|
logistics_tick_ping: {
|
|
26603
28147
|
Args: never;
|
|
26604
28148
|
Returns: string;
|
|
@@ -26939,6 +28483,17 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26939
28483
|
};
|
|
26940
28484
|
Returns: boolean;
|
|
26941
28485
|
};
|
|
28486
|
+
order_items_duplicate_report: {
|
|
28487
|
+
Args: {
|
|
28488
|
+
_order_ref?: string;
|
|
28489
|
+
};
|
|
28490
|
+
Returns: {
|
|
28491
|
+
distinct_products: number;
|
|
28492
|
+
duplicate_factor: number;
|
|
28493
|
+
lines: number;
|
|
28494
|
+
order_number: string;
|
|
28495
|
+
}[];
|
|
28496
|
+
};
|
|
26942
28497
|
order_number_prefix: {
|
|
26943
28498
|
Args: {
|
|
26944
28499
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -27722,6 +29277,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
27722
29277
|
};
|
|
27723
29278
|
Returns: undefined;
|
|
27724
29279
|
};
|
|
29280
|
+
planning_apply_schedule_updates: {
|
|
29281
|
+
Args: {
|
|
29282
|
+
_updates: import("../integrations/supabase/types").Json;
|
|
29283
|
+
};
|
|
29284
|
+
Returns: undefined;
|
|
29285
|
+
};
|
|
29286
|
+
planning_assert_no_overlaps: {
|
|
29287
|
+
Args: never;
|
|
29288
|
+
Returns: undefined;
|
|
29289
|
+
};
|
|
29290
|
+
planning_assert_no_overlaps_for_items: {
|
|
29291
|
+
Args: {
|
|
29292
|
+
_item_ids: string[];
|
|
29293
|
+
};
|
|
29294
|
+
Returns: undefined;
|
|
29295
|
+
};
|
|
27725
29296
|
planning_cancel_item: {
|
|
27726
29297
|
Args: {
|
|
27727
29298
|
_id: string;
|
|
@@ -27833,6 +29404,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
27833
29404
|
};
|
|
27834
29405
|
Returns: boolean;
|
|
27835
29406
|
};
|
|
29407
|
+
quote_assign_number: {
|
|
29408
|
+
Args: {
|
|
29409
|
+
_offerte_id: string;
|
|
29410
|
+
};
|
|
29411
|
+
Returns: string;
|
|
29412
|
+
};
|
|
29413
|
+
quote_create_follow_up_now: {
|
|
29414
|
+
Args: {
|
|
29415
|
+
_offerte_id: string;
|
|
29416
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29417
|
+
};
|
|
29418
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29419
|
+
};
|
|
27836
29420
|
quote_create_from_source: {
|
|
27837
29421
|
Args: {
|
|
27838
29422
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28076,6 +29660,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28076
29660
|
Args: never;
|
|
28077
29661
|
Returns: undefined;
|
|
28078
29662
|
};
|
|
29663
|
+
run_order_auto_invoice_tick: {
|
|
29664
|
+
Args: never;
|
|
29665
|
+
Returns: number;
|
|
29666
|
+
};
|
|
28079
29667
|
run_print_queue_ticks: {
|
|
28080
29668
|
Args: never;
|
|
28081
29669
|
Returns: number;
|
|
@@ -28453,6 +30041,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28453
30041
|
};
|
|
28454
30042
|
Returns: number;
|
|
28455
30043
|
};
|
|
30044
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30045
|
+
Args: {
|
|
30046
|
+
p_apikey: string;
|
|
30047
|
+
p_url: string;
|
|
30048
|
+
};
|
|
30049
|
+
Returns: number;
|
|
30050
|
+
};
|
|
28456
30051
|
schedule_floriday_trade_items_sync: {
|
|
28457
30052
|
Args: {
|
|
28458
30053
|
p_apikey: string;
|
|
@@ -28535,6 +30130,26 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28535
30130
|
};
|
|
28536
30131
|
Returns: undefined;
|
|
28537
30132
|
};
|
|
30133
|
+
set_product_stock: {
|
|
30134
|
+
Args: {
|
|
30135
|
+
p_incoming_stock?: number;
|
|
30136
|
+
p_minimum_stock?: number;
|
|
30137
|
+
p_notes?: string;
|
|
30138
|
+
p_physical_stock: number;
|
|
30139
|
+
p_product_id: string;
|
|
30140
|
+
};
|
|
30141
|
+
Returns: {
|
|
30142
|
+
connection_id: string;
|
|
30143
|
+
incoming_stock: number;
|
|
30144
|
+
minimum_stock: number;
|
|
30145
|
+
notes: string;
|
|
30146
|
+
physical_stock: number;
|
|
30147
|
+
product_id: string;
|
|
30148
|
+
reserved_stock: number;
|
|
30149
|
+
trade_item_key: string;
|
|
30150
|
+
updated_at: string;
|
|
30151
|
+
}[];
|
|
30152
|
+
};
|
|
28538
30153
|
show_limit: {
|
|
28539
30154
|
Args: never;
|
|
28540
30155
|
Returns: number;
|
|
@@ -28777,6 +30392,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28777
30392
|
Args: never;
|
|
28778
30393
|
Returns: boolean;
|
|
28779
30394
|
};
|
|
30395
|
+
uren_is_werkdag: {
|
|
30396
|
+
Args: {
|
|
30397
|
+
_date: string;
|
|
30398
|
+
_monteur: string;
|
|
30399
|
+
};
|
|
30400
|
+
Returns: boolean;
|
|
30401
|
+
};
|
|
30402
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30403
|
+
Args: {
|
|
30404
|
+
_datum: string;
|
|
30405
|
+
_eind: string;
|
|
30406
|
+
_reden: string;
|
|
30407
|
+
_start: string;
|
|
30408
|
+
};
|
|
30409
|
+
Returns: string;
|
|
30410
|
+
};
|
|
28780
30411
|
uren_list_medewerkers: {
|
|
28781
30412
|
Args: never;
|
|
28782
30413
|
Returns: {
|
|
@@ -28797,6 +30428,45 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28797
30428
|
roles: string[];
|
|
28798
30429
|
}[];
|
|
28799
30430
|
};
|
|
30431
|
+
uren_list_planner_contacten: {
|
|
30432
|
+
Args: never;
|
|
30433
|
+
Returns: {
|
|
30434
|
+
display_name: string;
|
|
30435
|
+
id: string;
|
|
30436
|
+
phone: string;
|
|
30437
|
+
}[];
|
|
30438
|
+
};
|
|
30439
|
+
uren_maand_afsluiten: {
|
|
30440
|
+
Args: {
|
|
30441
|
+
_maand: string;
|
|
30442
|
+
_monteur: string;
|
|
30443
|
+
};
|
|
30444
|
+
Returns: undefined;
|
|
30445
|
+
};
|
|
30446
|
+
uren_maand_berekenen: {
|
|
30447
|
+
Args: {
|
|
30448
|
+
_maand: string;
|
|
30449
|
+
_monteur: string;
|
|
30450
|
+
};
|
|
30451
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30452
|
+
};
|
|
30453
|
+
uren_maand_corrigeren: {
|
|
30454
|
+
Args: {
|
|
30455
|
+
_maand: string;
|
|
30456
|
+
_monteur: string;
|
|
30457
|
+
_overuren_minuten: number;
|
|
30458
|
+
_reden: string;
|
|
30459
|
+
};
|
|
30460
|
+
Returns: undefined;
|
|
30461
|
+
};
|
|
30462
|
+
uren_mijn_contracturen: {
|
|
30463
|
+
Args: never;
|
|
30464
|
+
Returns: number;
|
|
30465
|
+
};
|
|
30466
|
+
uren_mijn_vakantiesaldo: {
|
|
30467
|
+
Args: never;
|
|
30468
|
+
Returns: number;
|
|
30469
|
+
};
|
|
28800
30470
|
uren_my_monteur_id: {
|
|
28801
30471
|
Args: never;
|
|
28802
30472
|
Returns: string;
|
|
@@ -28830,6 +30500,37 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28830
30500
|
};
|
|
28831
30501
|
Returns: number;
|
|
28832
30502
|
};
|
|
30503
|
+
uren_spiegel_bezig: {
|
|
30504
|
+
Args: never;
|
|
30505
|
+
Returns: boolean;
|
|
30506
|
+
};
|
|
30507
|
+
uren_standaardweek_beoordelen: {
|
|
30508
|
+
Args: {
|
|
30509
|
+
_goedkeuren: boolean;
|
|
30510
|
+
_id: string;
|
|
30511
|
+
_reden?: string;
|
|
30512
|
+
};
|
|
30513
|
+
Returns: undefined;
|
|
30514
|
+
};
|
|
30515
|
+
uren_standaardweek_doorzetten: {
|
|
30516
|
+
Args: {
|
|
30517
|
+
_monteur: string;
|
|
30518
|
+
};
|
|
30519
|
+
Returns: undefined;
|
|
30520
|
+
};
|
|
30521
|
+
uren_standaardweek_instellen: {
|
|
30522
|
+
Args: {
|
|
30523
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
30524
|
+
};
|
|
30525
|
+
Returns: string;
|
|
30526
|
+
};
|
|
30527
|
+
uren_standaardweek_toepassen: {
|
|
30528
|
+
Args: {
|
|
30529
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
30530
|
+
_monteur: string;
|
|
30531
|
+
};
|
|
30532
|
+
Returns: undefined;
|
|
30533
|
+
};
|
|
28833
30534
|
uren_stop_time_log: {
|
|
28834
30535
|
Args: {
|
|
28835
30536
|
p_employee_id: string;
|
|
@@ -28855,6 +30556,165 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28855
30556
|
};
|
|
28856
30557
|
Returns: number;
|
|
28857
30558
|
};
|
|
30559
|
+
uren_vakantie_aanvragen: {
|
|
30560
|
+
Args: {
|
|
30561
|
+
_end_date: string;
|
|
30562
|
+
_hours?: number;
|
|
30563
|
+
_start_date: string;
|
|
30564
|
+
};
|
|
30565
|
+
Returns: string;
|
|
30566
|
+
};
|
|
30567
|
+
uren_vakantiedag_wijzigen: {
|
|
30568
|
+
Args: {
|
|
30569
|
+
_date: string;
|
|
30570
|
+
};
|
|
30571
|
+
Returns: string;
|
|
30572
|
+
};
|
|
30573
|
+
uren_vakantiesaldo_uren: {
|
|
30574
|
+
Args: {
|
|
30575
|
+
_monteur: string;
|
|
30576
|
+
};
|
|
30577
|
+
Returns: number;
|
|
30578
|
+
};
|
|
30579
|
+
uren_week_start: {
|
|
30580
|
+
Args: {
|
|
30581
|
+
_datum: string;
|
|
30582
|
+
};
|
|
30583
|
+
Returns: string;
|
|
30584
|
+
};
|
|
30585
|
+
uren_werkweek_opsturen: {
|
|
30586
|
+
Args: {
|
|
30587
|
+
_week_start: string;
|
|
30588
|
+
};
|
|
30589
|
+
Returns: {
|
|
30590
|
+
approved_at: string | null;
|
|
30591
|
+
approved_by: string | null;
|
|
30592
|
+
contract_hours: number;
|
|
30593
|
+
created_at: string;
|
|
30594
|
+
employee_id: string;
|
|
30595
|
+
id: string;
|
|
30596
|
+
locked: boolean;
|
|
30597
|
+
monteur_toelichting: string | null;
|
|
30598
|
+
notes: string | null;
|
|
30599
|
+
planned_hours: number;
|
|
30600
|
+
status: string;
|
|
30601
|
+
submitted_at: string | null;
|
|
30602
|
+
updated_at: string;
|
|
30603
|
+
variance_hours: number;
|
|
30604
|
+
week_start: string;
|
|
30605
|
+
};
|
|
30606
|
+
SetofOptions: {
|
|
30607
|
+
from: "*";
|
|
30608
|
+
to: "time_log_week_approvals";
|
|
30609
|
+
isOneToOne: true;
|
|
30610
|
+
isSetofReturn: false;
|
|
30611
|
+
};
|
|
30612
|
+
} | {
|
|
30613
|
+
Args: {
|
|
30614
|
+
_vrije_dagen?: string[];
|
|
30615
|
+
_week_start: string;
|
|
30616
|
+
};
|
|
30617
|
+
Returns: {
|
|
30618
|
+
approved_at: string | null;
|
|
30619
|
+
approved_by: string | null;
|
|
30620
|
+
contract_hours: number;
|
|
30621
|
+
created_at: string;
|
|
30622
|
+
employee_id: string;
|
|
30623
|
+
id: string;
|
|
30624
|
+
locked: boolean;
|
|
30625
|
+
monteur_toelichting: string | null;
|
|
30626
|
+
notes: string | null;
|
|
30627
|
+
planned_hours: number;
|
|
30628
|
+
status: string;
|
|
30629
|
+
submitted_at: string | null;
|
|
30630
|
+
updated_at: string;
|
|
30631
|
+
variance_hours: number;
|
|
30632
|
+
week_start: string;
|
|
30633
|
+
};
|
|
30634
|
+
SetofOptions: {
|
|
30635
|
+
from: "*";
|
|
30636
|
+
to: "time_log_week_approvals";
|
|
30637
|
+
isOneToOne: true;
|
|
30638
|
+
isSetofReturn: false;
|
|
30639
|
+
};
|
|
30640
|
+
} | {
|
|
30641
|
+
Args: {
|
|
30642
|
+
_toelichting?: string;
|
|
30643
|
+
_vrije_dagen?: string[];
|
|
30644
|
+
_week_start: string;
|
|
30645
|
+
};
|
|
30646
|
+
Returns: {
|
|
30647
|
+
approved_at: string | null;
|
|
30648
|
+
approved_by: string | null;
|
|
30649
|
+
contract_hours: number;
|
|
30650
|
+
created_at: string;
|
|
30651
|
+
employee_id: string;
|
|
30652
|
+
id: string;
|
|
30653
|
+
locked: boolean;
|
|
30654
|
+
monteur_toelichting: string | null;
|
|
30655
|
+
notes: string | null;
|
|
30656
|
+
planned_hours: number;
|
|
30657
|
+
status: string;
|
|
30658
|
+
submitted_at: string | null;
|
|
30659
|
+
updated_at: string;
|
|
30660
|
+
variance_hours: number;
|
|
30661
|
+
week_start: string;
|
|
30662
|
+
};
|
|
30663
|
+
SetofOptions: {
|
|
30664
|
+
from: "*";
|
|
30665
|
+
to: "time_log_week_approvals";
|
|
30666
|
+
isOneToOne: true;
|
|
30667
|
+
isSetofReturn: false;
|
|
30668
|
+
};
|
|
30669
|
+
};
|
|
30670
|
+
vakantie_dagen_gebruikt: {
|
|
30671
|
+
Args: {
|
|
30672
|
+
_user_id: string;
|
|
30673
|
+
_year: number;
|
|
30674
|
+
};
|
|
30675
|
+
Returns: number;
|
|
30676
|
+
};
|
|
30677
|
+
vakantie_overuren: {
|
|
30678
|
+
Args: {
|
|
30679
|
+
_user_id: string;
|
|
30680
|
+
_year?: number;
|
|
30681
|
+
};
|
|
30682
|
+
Returns: number;
|
|
30683
|
+
};
|
|
30684
|
+
vakantie_saldo: {
|
|
30685
|
+
Args: {
|
|
30686
|
+
_user_id: string;
|
|
30687
|
+
_year?: number;
|
|
30688
|
+
};
|
|
30689
|
+
Returns: {
|
|
30690
|
+
day_hours: number;
|
|
30691
|
+
earned_from_overtime_days: number;
|
|
30692
|
+
entitlement_days: number;
|
|
30693
|
+
hours_to_next_day: number;
|
|
30694
|
+
overtime_hours: number;
|
|
30695
|
+
overtime_remainder_hours: number;
|
|
30696
|
+
paid_out_days: number;
|
|
30697
|
+
remaining_days: number;
|
|
30698
|
+
used_days: number;
|
|
30699
|
+
}[];
|
|
30700
|
+
};
|
|
30701
|
+
vakantie_saldo_overzicht: {
|
|
30702
|
+
Args: {
|
|
30703
|
+
_year?: number;
|
|
30704
|
+
};
|
|
30705
|
+
Returns: {
|
|
30706
|
+
day_hours: number;
|
|
30707
|
+
earned_from_overtime_days: number;
|
|
30708
|
+
entitlement_days: number;
|
|
30709
|
+
hours_to_next_day: number;
|
|
30710
|
+
overtime_hours: number;
|
|
30711
|
+
overtime_remainder_hours: number;
|
|
30712
|
+
paid_out_days: number;
|
|
30713
|
+
remaining_days: number;
|
|
30714
|
+
used_days: number;
|
|
30715
|
+
user_id: string;
|
|
30716
|
+
}[];
|
|
30717
|
+
};
|
|
28858
30718
|
voorraad_cleanup_old_rows: {
|
|
28859
30719
|
Args: never;
|
|
28860
30720
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -28903,12 +30763,25 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28903
30763
|
};
|
|
28904
30764
|
Returns: import("../integrations/supabase/types").Json;
|
|
28905
30765
|
};
|
|
30766
|
+
wo_list_proposals: {
|
|
30767
|
+
Args: {
|
|
30768
|
+
_status?: string;
|
|
30769
|
+
};
|
|
30770
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30771
|
+
};
|
|
28906
30772
|
wo_process_offerte_request: {
|
|
28907
30773
|
Args: {
|
|
28908
30774
|
_queue_id: string;
|
|
28909
30775
|
};
|
|
28910
30776
|
Returns: import("../integrations/supabase/types").Json;
|
|
28911
30777
|
};
|
|
30778
|
+
wo_process_proposal: {
|
|
30779
|
+
Args: {
|
|
30780
|
+
_id: string;
|
|
30781
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
30782
|
+
};
|
|
30783
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30784
|
+
};
|
|
28912
30785
|
wo_reject_offerte_request: {
|
|
28913
30786
|
Args: {
|
|
28914
30787
|
_queue_id: string;
|
|
@@ -28916,6 +30789,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28916
30789
|
};
|
|
28917
30790
|
Returns: import("../integrations/supabase/types").Json;
|
|
28918
30791
|
};
|
|
30792
|
+
wo_reject_proposal: {
|
|
30793
|
+
Args: {
|
|
30794
|
+
_id: string;
|
|
30795
|
+
_reden?: string;
|
|
30796
|
+
};
|
|
30797
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30798
|
+
};
|
|
28919
30799
|
wo_set_status: {
|
|
28920
30800
|
Args: {
|
|
28921
30801
|
_reason?: string;
|