@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
|
@@ -8011,6 +8011,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8011
8011
|
};
|
|
8012
8012
|
fust_types: {
|
|
8013
8013
|
Row: {
|
|
8014
|
+
capacity_units: number | null;
|
|
8014
8015
|
connection_id: string | null;
|
|
8015
8016
|
created_at: string;
|
|
8016
8017
|
custom_package_id: string | null;
|
|
@@ -8031,6 +8032,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8031
8032
|
width_mm: number | null;
|
|
8032
8033
|
};
|
|
8033
8034
|
Insert: {
|
|
8035
|
+
capacity_units?: number | null;
|
|
8034
8036
|
connection_id?: string | null;
|
|
8035
8037
|
created_at?: string;
|
|
8036
8038
|
custom_package_id?: string | null;
|
|
@@ -8051,6 +8053,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8051
8053
|
width_mm?: number | null;
|
|
8052
8054
|
};
|
|
8053
8055
|
Update: {
|
|
8056
|
+
capacity_units?: number | null;
|
|
8054
8057
|
connection_id?: string | null;
|
|
8055
8058
|
created_at?: string;
|
|
8056
8059
|
custom_package_id?: string | null;
|
|
@@ -8282,6 +8285,72 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8282
8285
|
};
|
|
8283
8286
|
Relationships: [];
|
|
8284
8287
|
};
|
|
8288
|
+
invoice_branding_settings: {
|
|
8289
|
+
Row: {
|
|
8290
|
+
address: string;
|
|
8291
|
+
chamber_of_commerce_number: string;
|
|
8292
|
+
city: string;
|
|
8293
|
+
company_name: string;
|
|
8294
|
+
created_at: string;
|
|
8295
|
+
email: string;
|
|
8296
|
+
email_purpose: string | null;
|
|
8297
|
+
iban: string;
|
|
8298
|
+
logo_path: string | null;
|
|
8299
|
+
payment_term_days: number;
|
|
8300
|
+
phone: string;
|
|
8301
|
+
postal_code: string;
|
|
8302
|
+
primary_color: string;
|
|
8303
|
+
secondary_color: string;
|
|
8304
|
+
show_company_name: boolean;
|
|
8305
|
+
singleton_key: boolean;
|
|
8306
|
+
updated_at: string;
|
|
8307
|
+
vat_identification_number: string;
|
|
8308
|
+
website: string;
|
|
8309
|
+
};
|
|
8310
|
+
Insert: {
|
|
8311
|
+
address?: string;
|
|
8312
|
+
chamber_of_commerce_number?: string;
|
|
8313
|
+
city?: string;
|
|
8314
|
+
company_name?: string;
|
|
8315
|
+
created_at?: string;
|
|
8316
|
+
email?: string;
|
|
8317
|
+
email_purpose?: string | null;
|
|
8318
|
+
iban?: string;
|
|
8319
|
+
logo_path?: string | null;
|
|
8320
|
+
payment_term_days?: number;
|
|
8321
|
+
phone?: string;
|
|
8322
|
+
postal_code?: string;
|
|
8323
|
+
primary_color?: string;
|
|
8324
|
+
secondary_color?: string;
|
|
8325
|
+
show_company_name?: boolean;
|
|
8326
|
+
singleton_key?: boolean;
|
|
8327
|
+
updated_at?: string;
|
|
8328
|
+
vat_identification_number?: string;
|
|
8329
|
+
website?: string;
|
|
8330
|
+
};
|
|
8331
|
+
Update: {
|
|
8332
|
+
address?: string;
|
|
8333
|
+
chamber_of_commerce_number?: string;
|
|
8334
|
+
city?: string;
|
|
8335
|
+
company_name?: string;
|
|
8336
|
+
created_at?: string;
|
|
8337
|
+
email?: string;
|
|
8338
|
+
email_purpose?: string | null;
|
|
8339
|
+
iban?: string;
|
|
8340
|
+
logo_path?: string | null;
|
|
8341
|
+
payment_term_days?: number;
|
|
8342
|
+
phone?: string;
|
|
8343
|
+
postal_code?: string;
|
|
8344
|
+
primary_color?: string;
|
|
8345
|
+
secondary_color?: string;
|
|
8346
|
+
show_company_name?: boolean;
|
|
8347
|
+
singleton_key?: boolean;
|
|
8348
|
+
updated_at?: string;
|
|
8349
|
+
vat_identification_number?: string;
|
|
8350
|
+
website?: string;
|
|
8351
|
+
};
|
|
8352
|
+
Relationships: [];
|
|
8353
|
+
};
|
|
8285
8354
|
invoice_items: {
|
|
8286
8355
|
Row: {
|
|
8287
8356
|
created_at: string;
|
|
@@ -8295,6 +8364,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8295
8364
|
total_cents: number;
|
|
8296
8365
|
unit: string;
|
|
8297
8366
|
unit_price_cents: number;
|
|
8367
|
+
vat_rate: number | null;
|
|
8298
8368
|
};
|
|
8299
8369
|
Insert: {
|
|
8300
8370
|
created_at?: string;
|
|
@@ -8308,6 +8378,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8308
8378
|
total_cents?: number;
|
|
8309
8379
|
unit?: string;
|
|
8310
8380
|
unit_price_cents?: number;
|
|
8381
|
+
vat_rate?: number | null;
|
|
8311
8382
|
};
|
|
8312
8383
|
Update: {
|
|
8313
8384
|
created_at?: string;
|
|
@@ -8321,6 +8392,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8321
8392
|
total_cents?: number;
|
|
8322
8393
|
unit?: string;
|
|
8323
8394
|
unit_price_cents?: number;
|
|
8395
|
+
vat_rate?: number | null;
|
|
8324
8396
|
};
|
|
8325
8397
|
Relationships: [{
|
|
8326
8398
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8566,15 +8638,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8566
8638
|
};
|
|
8567
8639
|
invoices: {
|
|
8568
8640
|
Row: {
|
|
8641
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8569
8642
|
created_at: string;
|
|
8570
8643
|
created_by: string | null;
|
|
8644
|
+
customer_address: string | null;
|
|
8645
|
+
customer_attention: string | null;
|
|
8646
|
+
customer_city: string | null;
|
|
8571
8647
|
customer_id: string | null;
|
|
8572
8648
|
customer_name: string | null;
|
|
8649
|
+
customer_postal_code: string | null;
|
|
8650
|
+
customer_vat_number: string | null;
|
|
8651
|
+
debtor_number: string | null;
|
|
8573
8652
|
due_date: string | null;
|
|
8653
|
+
execution_date: string | null;
|
|
8574
8654
|
id: string;
|
|
8575
8655
|
invoice_date: string;
|
|
8576
8656
|
invoice_number: string | null;
|
|
8577
8657
|
note: string | null;
|
|
8658
|
+
payment_term_days: number;
|
|
8659
|
+
reference: string | null;
|
|
8660
|
+
sent_at: string | null;
|
|
8661
|
+
sent_to: string | null;
|
|
8578
8662
|
source_number: string | null;
|
|
8579
8663
|
source_ref: string | null;
|
|
8580
8664
|
source_type: string;
|
|
@@ -8584,17 +8668,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8584
8668
|
updated_at: string;
|
|
8585
8669
|
vat_cents: number;
|
|
8586
8670
|
vat_rate: number;
|
|
8671
|
+
work_address: string | null;
|
|
8587
8672
|
};
|
|
8588
8673
|
Insert: {
|
|
8674
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8589
8675
|
created_at?: string;
|
|
8590
8676
|
created_by?: string | null;
|
|
8677
|
+
customer_address?: string | null;
|
|
8678
|
+
customer_attention?: string | null;
|
|
8679
|
+
customer_city?: string | null;
|
|
8591
8680
|
customer_id?: string | null;
|
|
8592
8681
|
customer_name?: string | null;
|
|
8682
|
+
customer_postal_code?: string | null;
|
|
8683
|
+
customer_vat_number?: string | null;
|
|
8684
|
+
debtor_number?: string | null;
|
|
8593
8685
|
due_date?: string | null;
|
|
8686
|
+
execution_date?: string | null;
|
|
8594
8687
|
id?: string;
|
|
8595
8688
|
invoice_date?: string;
|
|
8596
8689
|
invoice_number?: string | null;
|
|
8597
8690
|
note?: string | null;
|
|
8691
|
+
payment_term_days?: number;
|
|
8692
|
+
reference?: string | null;
|
|
8693
|
+
sent_at?: string | null;
|
|
8694
|
+
sent_to?: string | null;
|
|
8598
8695
|
source_number?: string | null;
|
|
8599
8696
|
source_ref?: string | null;
|
|
8600
8697
|
source_type?: string;
|
|
@@ -8604,17 +8701,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8604
8701
|
updated_at?: string;
|
|
8605
8702
|
vat_cents?: number;
|
|
8606
8703
|
vat_rate?: number;
|
|
8704
|
+
work_address?: string | null;
|
|
8607
8705
|
};
|
|
8608
8706
|
Update: {
|
|
8707
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8609
8708
|
created_at?: string;
|
|
8610
8709
|
created_by?: string | null;
|
|
8710
|
+
customer_address?: string | null;
|
|
8711
|
+
customer_attention?: string | null;
|
|
8712
|
+
customer_city?: string | null;
|
|
8611
8713
|
customer_id?: string | null;
|
|
8612
8714
|
customer_name?: string | null;
|
|
8715
|
+
customer_postal_code?: string | null;
|
|
8716
|
+
customer_vat_number?: string | null;
|
|
8717
|
+
debtor_number?: string | null;
|
|
8613
8718
|
due_date?: string | null;
|
|
8719
|
+
execution_date?: string | null;
|
|
8614
8720
|
id?: string;
|
|
8615
8721
|
invoice_date?: string;
|
|
8616
8722
|
invoice_number?: string | null;
|
|
8617
8723
|
note?: string | null;
|
|
8724
|
+
payment_term_days?: number;
|
|
8725
|
+
reference?: string | null;
|
|
8726
|
+
sent_at?: string | null;
|
|
8727
|
+
sent_to?: string | null;
|
|
8618
8728
|
source_number?: string | null;
|
|
8619
8729
|
source_ref?: string | null;
|
|
8620
8730
|
source_type?: string;
|
|
@@ -8624,6 +8734,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8624
8734
|
updated_at?: string;
|
|
8625
8735
|
vat_cents?: number;
|
|
8626
8736
|
vat_rate?: number;
|
|
8737
|
+
work_address?: string | null;
|
|
8627
8738
|
};
|
|
8628
8739
|
Relationships: [{
|
|
8629
8740
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9322,6 +9433,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9322
9433
|
quantity: number;
|
|
9323
9434
|
sort_order: number;
|
|
9324
9435
|
source: string;
|
|
9436
|
+
unit: string | null;
|
|
9325
9437
|
unit_price_cents: number;
|
|
9326
9438
|
updated_at: string;
|
|
9327
9439
|
};
|
|
@@ -9335,6 +9447,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9335
9447
|
quantity?: number;
|
|
9336
9448
|
sort_order?: number;
|
|
9337
9449
|
source?: string;
|
|
9450
|
+
unit?: string | null;
|
|
9338
9451
|
unit_price_cents?: number;
|
|
9339
9452
|
updated_at?: string;
|
|
9340
9453
|
};
|
|
@@ -9348,6 +9461,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9348
9461
|
quantity?: number;
|
|
9349
9462
|
sort_order?: number;
|
|
9350
9463
|
source?: string;
|
|
9464
|
+
unit?: string | null;
|
|
9351
9465
|
unit_price_cents?: number;
|
|
9352
9466
|
updated_at?: string;
|
|
9353
9467
|
};
|
|
@@ -9371,6 +9485,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9371
9485
|
created_at: string;
|
|
9372
9486
|
default_geldigheid_dagen: number;
|
|
9373
9487
|
default_vat_rate: number;
|
|
9488
|
+
email_purpose: string | null;
|
|
9374
9489
|
id: string;
|
|
9375
9490
|
singleton: boolean;
|
|
9376
9491
|
updated_at: string;
|
|
@@ -9380,6 +9495,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9380
9495
|
created_at?: string;
|
|
9381
9496
|
default_geldigheid_dagen?: number;
|
|
9382
9497
|
default_vat_rate?: number;
|
|
9498
|
+
email_purpose?: string | null;
|
|
9383
9499
|
id?: string;
|
|
9384
9500
|
singleton?: boolean;
|
|
9385
9501
|
updated_at?: string;
|
|
@@ -9389,12 +9505,49 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9389
9505
|
created_at?: string;
|
|
9390
9506
|
default_geldigheid_dagen?: number;
|
|
9391
9507
|
default_vat_rate?: number;
|
|
9508
|
+
email_purpose?: string | null;
|
|
9392
9509
|
id?: string;
|
|
9393
9510
|
singleton?: boolean;
|
|
9394
9511
|
updated_at?: string;
|
|
9395
9512
|
};
|
|
9396
9513
|
Relationships: [];
|
|
9397
9514
|
};
|
|
9515
|
+
itk_offerte_voorstel_status: {
|
|
9516
|
+
Row: {
|
|
9517
|
+
ai_concept: import("../integrations/supabase/types").Json | null;
|
|
9518
|
+
created_at: string;
|
|
9519
|
+
id: string;
|
|
9520
|
+
offerte_id: string | null;
|
|
9521
|
+
proposal_id: string;
|
|
9522
|
+
seen_at: string | null;
|
|
9523
|
+
updated_at: string;
|
|
9524
|
+
};
|
|
9525
|
+
Insert: {
|
|
9526
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9527
|
+
created_at?: string;
|
|
9528
|
+
id?: string;
|
|
9529
|
+
offerte_id?: string | null;
|
|
9530
|
+
proposal_id: string;
|
|
9531
|
+
seen_at?: string | null;
|
|
9532
|
+
updated_at?: string;
|
|
9533
|
+
};
|
|
9534
|
+
Update: {
|
|
9535
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9536
|
+
created_at?: string;
|
|
9537
|
+
id?: string;
|
|
9538
|
+
offerte_id?: string | null;
|
|
9539
|
+
proposal_id?: string;
|
|
9540
|
+
seen_at?: string | null;
|
|
9541
|
+
updated_at?: string;
|
|
9542
|
+
};
|
|
9543
|
+
Relationships: [{
|
|
9544
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9545
|
+
columns: ["offerte_id"];
|
|
9546
|
+
isOneToOne: false;
|
|
9547
|
+
referencedRelation: "itk_offertes";
|
|
9548
|
+
referencedColumns: ["id"];
|
|
9549
|
+
}];
|
|
9550
|
+
};
|
|
9398
9551
|
itk_offerte_werkbon_queue: {
|
|
9399
9552
|
Row: {
|
|
9400
9553
|
bron_werkbon_id: string | null;
|
|
@@ -9445,6 +9598,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9445
9598
|
};
|
|
9446
9599
|
itk_offertes: {
|
|
9447
9600
|
Row: {
|
|
9601
|
+
aandachtspunten: string | null;
|
|
9448
9602
|
ai_generated: boolean;
|
|
9449
9603
|
approved_at: string | null;
|
|
9450
9604
|
binnen_mandaat: boolean;
|
|
@@ -9460,6 +9614,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9460
9614
|
notities: string | null;
|
|
9461
9615
|
offerte_number: string | null;
|
|
9462
9616
|
omschrijving: string;
|
|
9617
|
+
onderwerp: string | null;
|
|
9463
9618
|
rejected_at: string | null;
|
|
9464
9619
|
sent_at: string | null;
|
|
9465
9620
|
source_number: string | null;
|
|
@@ -9472,12 +9627,15 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9472
9627
|
valid_until: string | null;
|
|
9473
9628
|
vat_cents: number;
|
|
9474
9629
|
vat_rate: number;
|
|
9630
|
+
verzonden_naar: string | null;
|
|
9475
9631
|
viewed_at: string | null;
|
|
9476
9632
|
volgnummer: number | null;
|
|
9633
|
+
voorwaarden: string | null;
|
|
9477
9634
|
werkbon_id: string | null;
|
|
9478
9635
|
work_location_id: string | null;
|
|
9479
9636
|
};
|
|
9480
9637
|
Insert: {
|
|
9638
|
+
aandachtspunten?: string | null;
|
|
9481
9639
|
ai_generated?: boolean;
|
|
9482
9640
|
approved_at?: string | null;
|
|
9483
9641
|
binnen_mandaat?: boolean;
|
|
@@ -9493,6 +9651,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9493
9651
|
notities?: string | null;
|
|
9494
9652
|
offerte_number?: string | null;
|
|
9495
9653
|
omschrijving?: string;
|
|
9654
|
+
onderwerp?: string | null;
|
|
9496
9655
|
rejected_at?: string | null;
|
|
9497
9656
|
sent_at?: string | null;
|
|
9498
9657
|
source_number?: string | null;
|
|
@@ -9505,12 +9664,15 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9505
9664
|
valid_until?: string | null;
|
|
9506
9665
|
vat_cents?: number;
|
|
9507
9666
|
vat_rate?: number;
|
|
9667
|
+
verzonden_naar?: string | null;
|
|
9508
9668
|
viewed_at?: string | null;
|
|
9509
9669
|
volgnummer?: number | null;
|
|
9670
|
+
voorwaarden?: string | null;
|
|
9510
9671
|
werkbon_id?: string | null;
|
|
9511
9672
|
work_location_id?: string | null;
|
|
9512
9673
|
};
|
|
9513
9674
|
Update: {
|
|
9675
|
+
aandachtspunten?: string | null;
|
|
9514
9676
|
ai_generated?: boolean;
|
|
9515
9677
|
approved_at?: string | null;
|
|
9516
9678
|
binnen_mandaat?: boolean;
|
|
@@ -9526,6 +9688,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9526
9688
|
notities?: string | null;
|
|
9527
9689
|
offerte_number?: string | null;
|
|
9528
9690
|
omschrijving?: string;
|
|
9691
|
+
onderwerp?: string | null;
|
|
9529
9692
|
rejected_at?: string | null;
|
|
9530
9693
|
sent_at?: string | null;
|
|
9531
9694
|
source_number?: string | null;
|
|
@@ -9538,8 +9701,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9538
9701
|
valid_until?: string | null;
|
|
9539
9702
|
vat_cents?: number;
|
|
9540
9703
|
vat_rate?: number;
|
|
9704
|
+
verzonden_naar?: string | null;
|
|
9541
9705
|
viewed_at?: string | null;
|
|
9542
9706
|
volgnummer?: number | null;
|
|
9707
|
+
voorwaarden?: string | null;
|
|
9543
9708
|
werkbon_id?: string | null;
|
|
9544
9709
|
work_location_id?: string | null;
|
|
9545
9710
|
};
|
|
@@ -9715,6 +9880,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9715
9880
|
};
|
|
9716
9881
|
leave_requests: {
|
|
9717
9882
|
Row: {
|
|
9883
|
+
cancellation_requested_at: string | null;
|
|
9884
|
+
cancellation_status: string | null;
|
|
9718
9885
|
created_at: string;
|
|
9719
9886
|
decided_at: string | null;
|
|
9720
9887
|
decided_by: string | null;
|
|
@@ -9725,6 +9892,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9725
9892
|
leave_type: string;
|
|
9726
9893
|
monteur_id: string | null;
|
|
9727
9894
|
reason: string | null;
|
|
9895
|
+
reden_afkeur: string | null;
|
|
9728
9896
|
start_date: string;
|
|
9729
9897
|
start_time: string | null;
|
|
9730
9898
|
status: string;
|
|
@@ -9732,6 +9900,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9732
9900
|
user_id: string;
|
|
9733
9901
|
};
|
|
9734
9902
|
Insert: {
|
|
9903
|
+
cancellation_requested_at?: string | null;
|
|
9904
|
+
cancellation_status?: string | null;
|
|
9735
9905
|
created_at?: string;
|
|
9736
9906
|
decided_at?: string | null;
|
|
9737
9907
|
decided_by?: string | null;
|
|
@@ -9742,6 +9912,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9742
9912
|
leave_type?: string;
|
|
9743
9913
|
monteur_id?: string | null;
|
|
9744
9914
|
reason?: string | null;
|
|
9915
|
+
reden_afkeur?: string | null;
|
|
9745
9916
|
start_date: string;
|
|
9746
9917
|
start_time?: string | null;
|
|
9747
9918
|
status?: string;
|
|
@@ -9749,6 +9920,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9749
9920
|
user_id: string;
|
|
9750
9921
|
};
|
|
9751
9922
|
Update: {
|
|
9923
|
+
cancellation_requested_at?: string | null;
|
|
9924
|
+
cancellation_status?: string | null;
|
|
9752
9925
|
created_at?: string;
|
|
9753
9926
|
decided_at?: string | null;
|
|
9754
9927
|
decided_by?: string | null;
|
|
@@ -9759,6 +9932,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9759
9932
|
leave_type?: string;
|
|
9760
9933
|
monteur_id?: string | null;
|
|
9761
9934
|
reason?: string | null;
|
|
9935
|
+
reden_afkeur?: string | null;
|
|
9762
9936
|
start_date?: string;
|
|
9763
9937
|
start_time?: string | null;
|
|
9764
9938
|
status?: string;
|
|
@@ -10901,6 +11075,54 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10901
11075
|
};
|
|
10902
11076
|
Relationships: [];
|
|
10903
11077
|
};
|
|
11078
|
+
logistics_order_finalize_queue: {
|
|
11079
|
+
Row: {
|
|
11080
|
+
attempts: number;
|
|
11081
|
+
claimed_at: string | null;
|
|
11082
|
+
created_at: string;
|
|
11083
|
+
finished_at: string | null;
|
|
11084
|
+
last_error: string | null;
|
|
11085
|
+
lease_until: string | null;
|
|
11086
|
+
max_attempts: number;
|
|
11087
|
+
next_attempt_at: string;
|
|
11088
|
+
order_id: string;
|
|
11089
|
+
reason: string | null;
|
|
11090
|
+
requested_at: string;
|
|
11091
|
+
status: string;
|
|
11092
|
+
updated_at: string;
|
|
11093
|
+
};
|
|
11094
|
+
Insert: {
|
|
11095
|
+
attempts?: number;
|
|
11096
|
+
claimed_at?: string | null;
|
|
11097
|
+
created_at?: string;
|
|
11098
|
+
finished_at?: string | null;
|
|
11099
|
+
last_error?: string | null;
|
|
11100
|
+
lease_until?: string | null;
|
|
11101
|
+
max_attempts?: number;
|
|
11102
|
+
next_attempt_at?: string;
|
|
11103
|
+
order_id: string;
|
|
11104
|
+
reason?: string | null;
|
|
11105
|
+
requested_at?: string;
|
|
11106
|
+
status?: string;
|
|
11107
|
+
updated_at?: string;
|
|
11108
|
+
};
|
|
11109
|
+
Update: {
|
|
11110
|
+
attempts?: number;
|
|
11111
|
+
claimed_at?: string | null;
|
|
11112
|
+
created_at?: string;
|
|
11113
|
+
finished_at?: string | null;
|
|
11114
|
+
last_error?: string | null;
|
|
11115
|
+
lease_until?: string | null;
|
|
11116
|
+
max_attempts?: number;
|
|
11117
|
+
next_attempt_at?: string;
|
|
11118
|
+
order_id?: string;
|
|
11119
|
+
reason?: string | null;
|
|
11120
|
+
requested_at?: string;
|
|
11121
|
+
status?: string;
|
|
11122
|
+
updated_at?: string;
|
|
11123
|
+
};
|
|
11124
|
+
Relationships: [];
|
|
11125
|
+
};
|
|
10904
11126
|
logistics_order_merges: {
|
|
10905
11127
|
Row: {
|
|
10906
11128
|
group_key: string;
|
|
@@ -10937,6 +11159,72 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10937
11159
|
};
|
|
10938
11160
|
Relationships: [];
|
|
10939
11161
|
};
|
|
11162
|
+
logistics_packing_deviations: {
|
|
11163
|
+
Row: {
|
|
11164
|
+
auto_fixed_at: string | null;
|
|
11165
|
+
created_at: string;
|
|
11166
|
+
dev_key: string;
|
|
11167
|
+
first_seen_at: string;
|
|
11168
|
+
floriday_packing: import("../integrations/supabase/types").Json;
|
|
11169
|
+
human_reason: string | null;
|
|
11170
|
+
id: string;
|
|
11171
|
+
last_seen_at: string;
|
|
11172
|
+
local_packing: import("../integrations/supabase/types").Json;
|
|
11173
|
+
needs_human: boolean;
|
|
11174
|
+
order_id: string | null;
|
|
11175
|
+
order_item_id: string | null;
|
|
11176
|
+
order_number: string | null;
|
|
11177
|
+
product_id: string | null;
|
|
11178
|
+
product_name: string | null;
|
|
11179
|
+
resolved_at: string | null;
|
|
11180
|
+
scope: string;
|
|
11181
|
+
trade_item_id: string | null;
|
|
11182
|
+
updated_at: string;
|
|
11183
|
+
};
|
|
11184
|
+
Insert: {
|
|
11185
|
+
auto_fixed_at?: string | null;
|
|
11186
|
+
created_at?: string;
|
|
11187
|
+
dev_key: string;
|
|
11188
|
+
first_seen_at?: string;
|
|
11189
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11190
|
+
human_reason?: string | null;
|
|
11191
|
+
id?: string;
|
|
11192
|
+
last_seen_at?: string;
|
|
11193
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11194
|
+
needs_human?: boolean;
|
|
11195
|
+
order_id?: string | null;
|
|
11196
|
+
order_item_id?: string | null;
|
|
11197
|
+
order_number?: string | null;
|
|
11198
|
+
product_id?: string | null;
|
|
11199
|
+
product_name?: string | null;
|
|
11200
|
+
resolved_at?: string | null;
|
|
11201
|
+
scope: string;
|
|
11202
|
+
trade_item_id?: string | null;
|
|
11203
|
+
updated_at?: string;
|
|
11204
|
+
};
|
|
11205
|
+
Update: {
|
|
11206
|
+
auto_fixed_at?: string | null;
|
|
11207
|
+
created_at?: string;
|
|
11208
|
+
dev_key?: string;
|
|
11209
|
+
first_seen_at?: string;
|
|
11210
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11211
|
+
human_reason?: string | null;
|
|
11212
|
+
id?: string;
|
|
11213
|
+
last_seen_at?: string;
|
|
11214
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11215
|
+
needs_human?: boolean;
|
|
11216
|
+
order_id?: string | null;
|
|
11217
|
+
order_item_id?: string | null;
|
|
11218
|
+
order_number?: string | null;
|
|
11219
|
+
product_id?: string | null;
|
|
11220
|
+
product_name?: string | null;
|
|
11221
|
+
resolved_at?: string | null;
|
|
11222
|
+
scope?: string;
|
|
11223
|
+
trade_item_id?: string | null;
|
|
11224
|
+
updated_at?: string;
|
|
11225
|
+
};
|
|
11226
|
+
Relationships: [];
|
|
11227
|
+
};
|
|
10940
11228
|
logistics_pick_data_requests: {
|
|
10941
11229
|
Row: {
|
|
10942
11230
|
actions: import("../integrations/supabase/types").Json;
|
|
@@ -11174,14 +11462,70 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11174
11462
|
};
|
|
11175
11463
|
Relationships: [];
|
|
11176
11464
|
};
|
|
11465
|
+
logistics_planner_diff_runs: {
|
|
11466
|
+
Row: {
|
|
11467
|
+
after_snapshot: import("../integrations/supabase/types").Json | null;
|
|
11468
|
+
before_snapshot: import("../integrations/supabase/types").Json;
|
|
11469
|
+
buffer_id: string | null;
|
|
11470
|
+
carts_after: number | null;
|
|
11471
|
+
carts_before: number | null;
|
|
11472
|
+
compared_at: string | null;
|
|
11473
|
+
created_at: string;
|
|
11474
|
+
differences: import("../integrations/supabase/types").Json | null;
|
|
11475
|
+
id: string;
|
|
11476
|
+
identical: boolean | null;
|
|
11477
|
+
mode: string;
|
|
11478
|
+
order_id: string;
|
|
11479
|
+
order_ref: string | null;
|
|
11480
|
+
reason: string | null;
|
|
11481
|
+
status: string;
|
|
11482
|
+
};
|
|
11483
|
+
Insert: {
|
|
11484
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11485
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11486
|
+
buffer_id?: string | null;
|
|
11487
|
+
carts_after?: number | null;
|
|
11488
|
+
carts_before?: number | null;
|
|
11489
|
+
compared_at?: string | null;
|
|
11490
|
+
created_at?: string;
|
|
11491
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11492
|
+
id?: string;
|
|
11493
|
+
identical?: boolean | null;
|
|
11494
|
+
mode: string;
|
|
11495
|
+
order_id: string;
|
|
11496
|
+
order_ref?: string | null;
|
|
11497
|
+
reason?: string | null;
|
|
11498
|
+
status?: string;
|
|
11499
|
+
};
|
|
11500
|
+
Update: {
|
|
11501
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11502
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11503
|
+
buffer_id?: string | null;
|
|
11504
|
+
carts_after?: number | null;
|
|
11505
|
+
carts_before?: number | null;
|
|
11506
|
+
compared_at?: string | null;
|
|
11507
|
+
created_at?: string;
|
|
11508
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11509
|
+
id?: string;
|
|
11510
|
+
identical?: boolean | null;
|
|
11511
|
+
mode?: string;
|
|
11512
|
+
order_id?: string;
|
|
11513
|
+
order_ref?: string | null;
|
|
11514
|
+
reason?: string | null;
|
|
11515
|
+
status?: string;
|
|
11516
|
+
};
|
|
11517
|
+
Relationships: [];
|
|
11518
|
+
};
|
|
11177
11519
|
logistics_rebuffer_state: {
|
|
11178
11520
|
Row: {
|
|
11179
11521
|
created_at: string;
|
|
11180
11522
|
id: boolean;
|
|
11181
11523
|
last_checked: number;
|
|
11182
11524
|
last_duration_ms: number;
|
|
11525
|
+
last_mode: string | null;
|
|
11183
11526
|
last_run_at: string | null;
|
|
11184
11527
|
last_updated: number;
|
|
11528
|
+
last_would_change: number | null;
|
|
11185
11529
|
pending: boolean;
|
|
11186
11530
|
requested_at: string | null;
|
|
11187
11531
|
updated_at: string;
|
|
@@ -11191,8 +11535,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11191
11535
|
id?: boolean;
|
|
11192
11536
|
last_checked?: number;
|
|
11193
11537
|
last_duration_ms?: number;
|
|
11538
|
+
last_mode?: string | null;
|
|
11194
11539
|
last_run_at?: string | null;
|
|
11195
11540
|
last_updated?: number;
|
|
11541
|
+
last_would_change?: number | null;
|
|
11196
11542
|
pending?: boolean;
|
|
11197
11543
|
requested_at?: string | null;
|
|
11198
11544
|
updated_at?: string;
|
|
@@ -11202,8 +11548,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11202
11548
|
id?: boolean;
|
|
11203
11549
|
last_checked?: number;
|
|
11204
11550
|
last_duration_ms?: number;
|
|
11551
|
+
last_mode?: string | null;
|
|
11205
11552
|
last_run_at?: string | null;
|
|
11206
11553
|
last_updated?: number;
|
|
11554
|
+
last_would_change?: number | null;
|
|
11207
11555
|
pending?: boolean;
|
|
11208
11556
|
requested_at?: string | null;
|
|
11209
11557
|
updated_at?: string;
|
|
@@ -13199,6 +13547,42 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13199
13547
|
};
|
|
13200
13548
|
Relationships: [];
|
|
13201
13549
|
};
|
|
13550
|
+
monteur_contracten: {
|
|
13551
|
+
Row: {
|
|
13552
|
+
contract_type: string;
|
|
13553
|
+
created_at: string;
|
|
13554
|
+
days_per_week: number;
|
|
13555
|
+
hours_per_week: number;
|
|
13556
|
+
id: string;
|
|
13557
|
+
updated_at: string;
|
|
13558
|
+
user_id: string;
|
|
13559
|
+
vacation_day_hours: number;
|
|
13560
|
+
vacation_days_per_year: number;
|
|
13561
|
+
};
|
|
13562
|
+
Insert: {
|
|
13563
|
+
contract_type?: string;
|
|
13564
|
+
created_at?: string;
|
|
13565
|
+
days_per_week?: number;
|
|
13566
|
+
hours_per_week?: number;
|
|
13567
|
+
id?: string;
|
|
13568
|
+
updated_at?: string;
|
|
13569
|
+
user_id: string;
|
|
13570
|
+
vacation_day_hours?: number;
|
|
13571
|
+
vacation_days_per_year?: number;
|
|
13572
|
+
};
|
|
13573
|
+
Update: {
|
|
13574
|
+
contract_type?: string;
|
|
13575
|
+
created_at?: string;
|
|
13576
|
+
days_per_week?: number;
|
|
13577
|
+
hours_per_week?: number;
|
|
13578
|
+
id?: string;
|
|
13579
|
+
updated_at?: string;
|
|
13580
|
+
user_id?: string;
|
|
13581
|
+
vacation_day_hours?: number;
|
|
13582
|
+
vacation_days_per_year?: number;
|
|
13583
|
+
};
|
|
13584
|
+
Relationships: [];
|
|
13585
|
+
};
|
|
13202
13586
|
nmbrs_component_mapping: {
|
|
13203
13587
|
Row: {
|
|
13204
13588
|
created_at: string;
|
|
@@ -13678,6 +14062,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13678
14062
|
id: string;
|
|
13679
14063
|
items: import("../integrations/supabase/types").Json;
|
|
13680
14064
|
notes: string | null;
|
|
14065
|
+
order_creation_error: string | null;
|
|
14066
|
+
order_creation_failed_at: string | null;
|
|
14067
|
+
order_id: string | null;
|
|
13681
14068
|
order_number: string | null;
|
|
13682
14069
|
recipient_id: string;
|
|
13683
14070
|
total_amount: number;
|
|
@@ -13692,6 +14079,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13692
14079
|
id?: string;
|
|
13693
14080
|
items?: import("../integrations/supabase/types").Json;
|
|
13694
14081
|
notes?: string | null;
|
|
14082
|
+
order_creation_error?: string | null;
|
|
14083
|
+
order_creation_failed_at?: string | null;
|
|
14084
|
+
order_id?: string | null;
|
|
13695
14085
|
order_number?: string | null;
|
|
13696
14086
|
recipient_id: string;
|
|
13697
14087
|
total_amount?: number;
|
|
@@ -13706,6 +14096,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13706
14096
|
id?: string;
|
|
13707
14097
|
items?: import("../integrations/supabase/types").Json;
|
|
13708
14098
|
notes?: string | null;
|
|
14099
|
+
order_creation_error?: string | null;
|
|
14100
|
+
order_creation_failed_at?: string | null;
|
|
14101
|
+
order_id?: string | null;
|
|
13709
14102
|
order_number?: string | null;
|
|
13710
14103
|
recipient_id?: string;
|
|
13711
14104
|
total_amount?: number;
|
|
@@ -13722,6 +14115,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13722
14115
|
isOneToOne: false;
|
|
13723
14116
|
referencedRelation: "customers";
|
|
13724
14117
|
referencedColumns: ["id"];
|
|
14118
|
+
}, {
|
|
14119
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14120
|
+
columns: ["order_id"];
|
|
14121
|
+
isOneToOne: false;
|
|
14122
|
+
referencedRelation: "orders";
|
|
14123
|
+
referencedColumns: ["id"];
|
|
13725
14124
|
}, {
|
|
13726
14125
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13727
14126
|
columns: ["recipient_id"];
|
|
@@ -13862,6 +14261,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13862
14261
|
};
|
|
13863
14262
|
Relationships: [];
|
|
13864
14263
|
};
|
|
14264
|
+
order_block_notifications: {
|
|
14265
|
+
Row: {
|
|
14266
|
+
id: string;
|
|
14267
|
+
notified_at: string;
|
|
14268
|
+
order_id: string;
|
|
14269
|
+
reason: string | null;
|
|
14270
|
+
reason_key: string;
|
|
14271
|
+
};
|
|
14272
|
+
Insert: {
|
|
14273
|
+
id?: string;
|
|
14274
|
+
notified_at?: string;
|
|
14275
|
+
order_id: string;
|
|
14276
|
+
reason?: string | null;
|
|
14277
|
+
reason_key: string;
|
|
14278
|
+
};
|
|
14279
|
+
Update: {
|
|
14280
|
+
id?: string;
|
|
14281
|
+
notified_at?: string;
|
|
14282
|
+
order_id?: string;
|
|
14283
|
+
reason?: string | null;
|
|
14284
|
+
reason_key?: string;
|
|
14285
|
+
};
|
|
14286
|
+
Relationships: [];
|
|
14287
|
+
};
|
|
13865
14288
|
order_buffers: {
|
|
13866
14289
|
Row: {
|
|
13867
14290
|
buffer_key: string;
|
|
@@ -14331,10 +14754,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14331
14754
|
id: string;
|
|
14332
14755
|
layers_per_cart: number | null;
|
|
14333
14756
|
order_id: string;
|
|
14757
|
+
packing_locked_at: string | null;
|
|
14758
|
+
packing_locked_by: string | null;
|
|
14334
14759
|
plants_per_crate: number | null;
|
|
14335
14760
|
product_id: string | null;
|
|
14336
14761
|
product_name: string;
|
|
14337
14762
|
quantity: number;
|
|
14763
|
+
source_line_key: string | null;
|
|
14338
14764
|
unit: string;
|
|
14339
14765
|
unit_price: number | null;
|
|
14340
14766
|
};
|
|
@@ -14344,10 +14770,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14344
14770
|
id?: string;
|
|
14345
14771
|
layers_per_cart?: number | null;
|
|
14346
14772
|
order_id: string;
|
|
14773
|
+
packing_locked_at?: string | null;
|
|
14774
|
+
packing_locked_by?: string | null;
|
|
14347
14775
|
plants_per_crate?: number | null;
|
|
14348
14776
|
product_id?: string | null;
|
|
14349
14777
|
product_name: string;
|
|
14350
14778
|
quantity?: number;
|
|
14779
|
+
source_line_key?: string | null;
|
|
14351
14780
|
unit?: string;
|
|
14352
14781
|
unit_price?: number | null;
|
|
14353
14782
|
};
|
|
@@ -14357,10 +14786,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14357
14786
|
id?: string;
|
|
14358
14787
|
layers_per_cart?: number | null;
|
|
14359
14788
|
order_id?: string;
|
|
14789
|
+
packing_locked_at?: string | null;
|
|
14790
|
+
packing_locked_by?: string | null;
|
|
14360
14791
|
plants_per_crate?: number | null;
|
|
14361
14792
|
product_id?: string | null;
|
|
14362
14793
|
product_name?: string;
|
|
14363
14794
|
quantity?: number;
|
|
14795
|
+
source_line_key?: string | null;
|
|
14364
14796
|
unit?: string;
|
|
14365
14797
|
unit_price?: number | null;
|
|
14366
14798
|
};
|
|
@@ -15869,26 +16301,215 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
15869
16301
|
referencedColumns: ["id"];
|
|
15870
16302
|
}];
|
|
15871
16303
|
};
|
|
15872
|
-
|
|
16304
|
+
planning_monteur_day_locations: {
|
|
15873
16305
|
Row: {
|
|
15874
|
-
action: string;
|
|
15875
16306
|
created_at: string;
|
|
16307
|
+
day: string;
|
|
16308
|
+
end_at: string;
|
|
15876
16309
|
id: string;
|
|
15877
|
-
|
|
15878
|
-
|
|
15879
|
-
|
|
15880
|
-
raw: import("../integrations/supabase/types").Json;
|
|
15881
|
-
row_number: number;
|
|
15882
|
-
supplier_product_id: string | null;
|
|
16310
|
+
monteur_id: string;
|
|
16311
|
+
start_from: string;
|
|
16312
|
+
updated_at: string;
|
|
15883
16313
|
};
|
|
15884
16314
|
Insert: {
|
|
15885
|
-
action?: string;
|
|
15886
16315
|
created_at?: string;
|
|
16316
|
+
day: string;
|
|
16317
|
+
end_at?: string;
|
|
15887
16318
|
id?: string;
|
|
15888
|
-
|
|
15889
|
-
|
|
15890
|
-
|
|
15891
|
-
|
|
16319
|
+
monteur_id: string;
|
|
16320
|
+
start_from?: string;
|
|
16321
|
+
updated_at?: string;
|
|
16322
|
+
};
|
|
16323
|
+
Update: {
|
|
16324
|
+
created_at?: string;
|
|
16325
|
+
day?: string;
|
|
16326
|
+
end_at?: string;
|
|
16327
|
+
id?: string;
|
|
16328
|
+
monteur_id?: string;
|
|
16329
|
+
start_from?: string;
|
|
16330
|
+
updated_at?: string;
|
|
16331
|
+
};
|
|
16332
|
+
Relationships: [];
|
|
16333
|
+
};
|
|
16334
|
+
planning_monteur_locations: {
|
|
16335
|
+
Row: {
|
|
16336
|
+
created_at: string;
|
|
16337
|
+
default_end: string;
|
|
16338
|
+
default_start: string;
|
|
16339
|
+
end_address: string | null;
|
|
16340
|
+
home_address: string | null;
|
|
16341
|
+
id: string;
|
|
16342
|
+
monteur_id: string;
|
|
16343
|
+
start_address: string | null;
|
|
16344
|
+
updated_at: string;
|
|
16345
|
+
};
|
|
16346
|
+
Insert: {
|
|
16347
|
+
created_at?: string;
|
|
16348
|
+
default_end?: string;
|
|
16349
|
+
default_start?: string;
|
|
16350
|
+
end_address?: string | null;
|
|
16351
|
+
home_address?: string | null;
|
|
16352
|
+
id?: string;
|
|
16353
|
+
monteur_id: string;
|
|
16354
|
+
start_address?: string | null;
|
|
16355
|
+
updated_at?: string;
|
|
16356
|
+
};
|
|
16357
|
+
Update: {
|
|
16358
|
+
created_at?: string;
|
|
16359
|
+
default_end?: string;
|
|
16360
|
+
default_start?: string;
|
|
16361
|
+
end_address?: string | null;
|
|
16362
|
+
home_address?: string | null;
|
|
16363
|
+
id?: string;
|
|
16364
|
+
monteur_id?: string;
|
|
16365
|
+
start_address?: string | null;
|
|
16366
|
+
updated_at?: string;
|
|
16367
|
+
};
|
|
16368
|
+
Relationships: [];
|
|
16369
|
+
};
|
|
16370
|
+
planning_settings: {
|
|
16371
|
+
Row: {
|
|
16372
|
+
company_address: string | null;
|
|
16373
|
+
created_at: string;
|
|
16374
|
+
id: string;
|
|
16375
|
+
singleton: boolean;
|
|
16376
|
+
updated_at: string;
|
|
16377
|
+
};
|
|
16378
|
+
Insert: {
|
|
16379
|
+
company_address?: string | null;
|
|
16380
|
+
created_at?: string;
|
|
16381
|
+
id?: string;
|
|
16382
|
+
singleton?: boolean;
|
|
16383
|
+
updated_at?: string;
|
|
16384
|
+
};
|
|
16385
|
+
Update: {
|
|
16386
|
+
company_address?: string | null;
|
|
16387
|
+
created_at?: string;
|
|
16388
|
+
id?: string;
|
|
16389
|
+
singleton?: boolean;
|
|
16390
|
+
updated_at?: string;
|
|
16391
|
+
};
|
|
16392
|
+
Relationships: [];
|
|
16393
|
+
};
|
|
16394
|
+
planning_travel_legs: {
|
|
16395
|
+
Row: {
|
|
16396
|
+
after_min: number;
|
|
16397
|
+
after_reason: string | null;
|
|
16398
|
+
after_status: string;
|
|
16399
|
+
after_to_address: string | null;
|
|
16400
|
+
before_from_address: string | null;
|
|
16401
|
+
before_min: number;
|
|
16402
|
+
before_reason: string | null;
|
|
16403
|
+
before_status: string;
|
|
16404
|
+
computed_at: string;
|
|
16405
|
+
computed_end_at: string | null;
|
|
16406
|
+
computed_start_at: string | null;
|
|
16407
|
+
created_at: string;
|
|
16408
|
+
id: string;
|
|
16409
|
+
monteur_id: string;
|
|
16410
|
+
planning_item_id: string;
|
|
16411
|
+
shared_after_item_id: string | null;
|
|
16412
|
+
shared_before_item_id: string | null;
|
|
16413
|
+
updated_at: string;
|
|
16414
|
+
};
|
|
16415
|
+
Insert: {
|
|
16416
|
+
after_min?: number;
|
|
16417
|
+
after_reason?: string | null;
|
|
16418
|
+
after_status?: string;
|
|
16419
|
+
after_to_address?: string | null;
|
|
16420
|
+
before_from_address?: string | null;
|
|
16421
|
+
before_min?: number;
|
|
16422
|
+
before_reason?: string | null;
|
|
16423
|
+
before_status?: string;
|
|
16424
|
+
computed_at?: string;
|
|
16425
|
+
computed_end_at?: string | null;
|
|
16426
|
+
computed_start_at?: string | null;
|
|
16427
|
+
created_at?: string;
|
|
16428
|
+
id?: string;
|
|
16429
|
+
monteur_id: string;
|
|
16430
|
+
planning_item_id: string;
|
|
16431
|
+
shared_after_item_id?: string | null;
|
|
16432
|
+
shared_before_item_id?: string | null;
|
|
16433
|
+
updated_at?: string;
|
|
16434
|
+
};
|
|
16435
|
+
Update: {
|
|
16436
|
+
after_min?: number;
|
|
16437
|
+
after_reason?: string | null;
|
|
16438
|
+
after_status?: string;
|
|
16439
|
+
after_to_address?: string | null;
|
|
16440
|
+
before_from_address?: string | null;
|
|
16441
|
+
before_min?: number;
|
|
16442
|
+
before_reason?: string | null;
|
|
16443
|
+
before_status?: string;
|
|
16444
|
+
computed_at?: string;
|
|
16445
|
+
computed_end_at?: string | null;
|
|
16446
|
+
computed_start_at?: string | null;
|
|
16447
|
+
created_at?: string;
|
|
16448
|
+
id?: string;
|
|
16449
|
+
monteur_id?: string;
|
|
16450
|
+
planning_item_id?: string;
|
|
16451
|
+
shared_after_item_id?: string | null;
|
|
16452
|
+
shared_before_item_id?: string | null;
|
|
16453
|
+
updated_at?: string;
|
|
16454
|
+
};
|
|
16455
|
+
Relationships: [{
|
|
16456
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16457
|
+
columns: ["planning_item_id"];
|
|
16458
|
+
isOneToOne: false;
|
|
16459
|
+
referencedRelation: "planning_items";
|
|
16460
|
+
referencedColumns: ["id"];
|
|
16461
|
+
}, {
|
|
16462
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16463
|
+
columns: ["planning_item_id"];
|
|
16464
|
+
isOneToOne: false;
|
|
16465
|
+
referencedRelation: "planning_overview";
|
|
16466
|
+
referencedColumns: ["id"];
|
|
16467
|
+
}, {
|
|
16468
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16469
|
+
columns: ["shared_after_item_id"];
|
|
16470
|
+
isOneToOne: false;
|
|
16471
|
+
referencedRelation: "planning_items";
|
|
16472
|
+
referencedColumns: ["id"];
|
|
16473
|
+
}, {
|
|
16474
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16475
|
+
columns: ["shared_after_item_id"];
|
|
16476
|
+
isOneToOne: false;
|
|
16477
|
+
referencedRelation: "planning_overview";
|
|
16478
|
+
referencedColumns: ["id"];
|
|
16479
|
+
}, {
|
|
16480
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16481
|
+
columns: ["shared_before_item_id"];
|
|
16482
|
+
isOneToOne: false;
|
|
16483
|
+
referencedRelation: "planning_items";
|
|
16484
|
+
referencedColumns: ["id"];
|
|
16485
|
+
}, {
|
|
16486
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16487
|
+
columns: ["shared_before_item_id"];
|
|
16488
|
+
isOneToOne: false;
|
|
16489
|
+
referencedRelation: "planning_overview";
|
|
16490
|
+
referencedColumns: ["id"];
|
|
16491
|
+
}];
|
|
16492
|
+
};
|
|
16493
|
+
price_list_rows: {
|
|
16494
|
+
Row: {
|
|
16495
|
+
action: string;
|
|
16496
|
+
created_at: string;
|
|
16497
|
+
id: string;
|
|
16498
|
+
message: string | null;
|
|
16499
|
+
parsed: import("../integrations/supabase/types").Json;
|
|
16500
|
+
price_list_id: string;
|
|
16501
|
+
raw: import("../integrations/supabase/types").Json;
|
|
16502
|
+
row_number: number;
|
|
16503
|
+
supplier_product_id: string | null;
|
|
16504
|
+
};
|
|
16505
|
+
Insert: {
|
|
16506
|
+
action?: string;
|
|
16507
|
+
created_at?: string;
|
|
16508
|
+
id?: string;
|
|
16509
|
+
message?: string | null;
|
|
16510
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
16511
|
+
price_list_id: string;
|
|
16512
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
15892
16513
|
row_number: number;
|
|
15893
16514
|
supplier_product_id?: string | null;
|
|
15894
16515
|
};
|
|
@@ -17041,6 +17662,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17041
17662
|
};
|
|
17042
17663
|
product_load_settings: {
|
|
17043
17664
|
Row: {
|
|
17665
|
+
build: import("../integrations/supabase/types").Json | null;
|
|
17666
|
+
build_status: string;
|
|
17044
17667
|
created_at: string;
|
|
17045
17668
|
id: string;
|
|
17046
17669
|
is_package: boolean;
|
|
@@ -17058,6 +17681,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17058
17681
|
updated_at: string;
|
|
17059
17682
|
};
|
|
17060
17683
|
Insert: {
|
|
17684
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17685
|
+
build_status?: string;
|
|
17061
17686
|
created_at?: string;
|
|
17062
17687
|
id?: string;
|
|
17063
17688
|
is_package?: boolean;
|
|
@@ -17075,6 +17700,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17075
17700
|
updated_at?: string;
|
|
17076
17701
|
};
|
|
17077
17702
|
Update: {
|
|
17703
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17704
|
+
build_status?: string;
|
|
17078
17705
|
created_at?: string;
|
|
17079
17706
|
id?: string;
|
|
17080
17707
|
is_package?: boolean;
|
|
@@ -17144,6 +17771,108 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17144
17771
|
};
|
|
17145
17772
|
Relationships: [];
|
|
17146
17773
|
};
|
|
17774
|
+
product_suppliers: {
|
|
17775
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
17802
|
+
created_at?: string;
|
|
17803
|
+
id?: string;
|
|
17804
|
+
is_preferred?: boolean;
|
|
17805
|
+
lead_time_days?: number | null;
|
|
17806
|
+
min_order_quantity?: number | null;
|
|
17807
|
+
notes?: string | null;
|
|
17808
|
+
product_id?: string;
|
|
17809
|
+
purchase_price_cents?: number | null;
|
|
17810
|
+
supplier_article_number?: string | null;
|
|
17811
|
+
supplier_id?: string;
|
|
17812
|
+
updated_at?: string;
|
|
17813
|
+
};
|
|
17814
|
+
Relationships: [{
|
|
17815
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17816
|
+
columns: ["product_id"];
|
|
17817
|
+
isOneToOne: false;
|
|
17818
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17819
|
+
referencedColumns: ["product_id"];
|
|
17820
|
+
}, {
|
|
17821
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17822
|
+
columns: ["product_id"];
|
|
17823
|
+
isOneToOne: false;
|
|
17824
|
+
referencedRelation: "products";
|
|
17825
|
+
referencedColumns: ["id"];
|
|
17826
|
+
}, {
|
|
17827
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17828
|
+
columns: ["supplier_id"];
|
|
17829
|
+
isOneToOne: false;
|
|
17830
|
+
referencedRelation: "suppliers";
|
|
17831
|
+
referencedColumns: ["id"];
|
|
17832
|
+
}];
|
|
17833
|
+
};
|
|
17834
|
+
product_tray_stickers: {
|
|
17835
|
+
Row: {
|
|
17836
|
+
bestand_url: string;
|
|
17837
|
+
bestandsgrootte: number | null;
|
|
17838
|
+
bestandsnaam: string | null;
|
|
17839
|
+
bestandspad: string | null;
|
|
17840
|
+
created_at: string;
|
|
17841
|
+
product_id: string;
|
|
17842
|
+
updated_at: string;
|
|
17843
|
+
};
|
|
17844
|
+
Insert: {
|
|
17845
|
+
bestand_url: string;
|
|
17846
|
+
bestandsgrootte?: number | null;
|
|
17847
|
+
bestandsnaam?: string | null;
|
|
17848
|
+
bestandspad?: string | null;
|
|
17849
|
+
created_at?: string;
|
|
17850
|
+
product_id: string;
|
|
17851
|
+
updated_at?: string;
|
|
17852
|
+
};
|
|
17853
|
+
Update: {
|
|
17854
|
+
bestand_url?: string;
|
|
17855
|
+
bestandsgrootte?: number | null;
|
|
17856
|
+
bestandsnaam?: string | null;
|
|
17857
|
+
bestandspad?: string | null;
|
|
17858
|
+
created_at?: string;
|
|
17859
|
+
product_id?: string;
|
|
17860
|
+
updated_at?: string;
|
|
17861
|
+
};
|
|
17862
|
+
Relationships: [{
|
|
17863
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17864
|
+
columns: ["product_id"];
|
|
17865
|
+
isOneToOne: true;
|
|
17866
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17867
|
+
referencedColumns: ["product_id"];
|
|
17868
|
+
}, {
|
|
17869
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17870
|
+
columns: ["product_id"];
|
|
17871
|
+
isOneToOne: true;
|
|
17872
|
+
referencedRelation: "products";
|
|
17873
|
+
referencedColumns: ["id"];
|
|
17874
|
+
}];
|
|
17875
|
+
};
|
|
17147
17876
|
products: {
|
|
17148
17877
|
Row: {
|
|
17149
17878
|
article_number: string | null;
|
|
@@ -17152,6 +17881,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17152
17881
|
crates_per_layer: number;
|
|
17153
17882
|
created_at: string;
|
|
17154
17883
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
17884
|
+
floriday_packing_confirmed_at: string | null;
|
|
17885
|
+
floriday_packing_source: string | null;
|
|
17155
17886
|
floriday_trade_item_id: string | null;
|
|
17156
17887
|
fust_type_id: string | null;
|
|
17157
17888
|
id: string;
|
|
@@ -17180,6 +17911,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17180
17911
|
crates_per_layer?: number;
|
|
17181
17912
|
created_at?: string;
|
|
17182
17913
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
17914
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17915
|
+
floriday_packing_source?: string | null;
|
|
17183
17916
|
floriday_trade_item_id?: string | null;
|
|
17184
17917
|
fust_type_id?: string | null;
|
|
17185
17918
|
id?: string;
|
|
@@ -17208,6 +17941,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17208
17941
|
crates_per_layer?: number;
|
|
17209
17942
|
created_at?: string;
|
|
17210
17943
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
17944
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17945
|
+
floriday_packing_source?: string | null;
|
|
17211
17946
|
floriday_trade_item_id?: string | null;
|
|
17212
17947
|
fust_type_id?: string | null;
|
|
17213
17948
|
id?: string;
|
|
@@ -17307,6 +18042,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17307
18042
|
id: string;
|
|
17308
18043
|
is_superadmin: boolean;
|
|
17309
18044
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
18045
|
+
phone: string | null;
|
|
17310
18046
|
tenant_id: string | null;
|
|
17311
18047
|
updated_at: string;
|
|
17312
18048
|
};
|
|
@@ -17319,6 +18055,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17319
18055
|
id: string;
|
|
17320
18056
|
is_superadmin?: boolean;
|
|
17321
18057
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18058
|
+
phone?: string | null;
|
|
17322
18059
|
tenant_id?: string | null;
|
|
17323
18060
|
updated_at?: string;
|
|
17324
18061
|
};
|
|
@@ -17331,6 +18068,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17331
18068
|
id?: string;
|
|
17332
18069
|
is_superadmin?: boolean;
|
|
17333
18070
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18071
|
+
phone?: string | null;
|
|
17334
18072
|
tenant_id?: string | null;
|
|
17335
18073
|
updated_at?: string;
|
|
17336
18074
|
};
|
|
@@ -19074,40 +19812,52 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19074
19812
|
Row: {
|
|
19075
19813
|
approved_at: string | null;
|
|
19076
19814
|
approved_by: string | null;
|
|
19815
|
+
contract_hours: number;
|
|
19077
19816
|
created_at: string;
|
|
19078
19817
|
employee_id: string;
|
|
19079
19818
|
id: string;
|
|
19080
19819
|
locked: boolean;
|
|
19820
|
+
monteur_toelichting: string | null;
|
|
19081
19821
|
notes: string | null;
|
|
19822
|
+
planned_hours: number;
|
|
19082
19823
|
status: string;
|
|
19083
19824
|
submitted_at: string | null;
|
|
19084
19825
|
updated_at: string;
|
|
19826
|
+
variance_hours: number;
|
|
19085
19827
|
week_start: string;
|
|
19086
19828
|
};
|
|
19087
19829
|
Insert: {
|
|
19088
19830
|
approved_at?: string | null;
|
|
19089
19831
|
approved_by?: string | null;
|
|
19832
|
+
contract_hours?: number;
|
|
19090
19833
|
created_at?: string;
|
|
19091
19834
|
employee_id: string;
|
|
19092
19835
|
id?: string;
|
|
19093
19836
|
locked?: boolean;
|
|
19837
|
+
monteur_toelichting?: string | null;
|
|
19094
19838
|
notes?: string | null;
|
|
19839
|
+
planned_hours?: number;
|
|
19095
19840
|
status?: string;
|
|
19096
19841
|
submitted_at?: string | null;
|
|
19097
19842
|
updated_at?: string;
|
|
19843
|
+
variance_hours?: number;
|
|
19098
19844
|
week_start: string;
|
|
19099
19845
|
};
|
|
19100
19846
|
Update: {
|
|
19101
19847
|
approved_at?: string | null;
|
|
19102
19848
|
approved_by?: string | null;
|
|
19849
|
+
contract_hours?: number;
|
|
19103
19850
|
created_at?: string;
|
|
19104
19851
|
employee_id?: string;
|
|
19105
19852
|
id?: string;
|
|
19106
19853
|
locked?: boolean;
|
|
19854
|
+
monteur_toelichting?: string | null;
|
|
19107
19855
|
notes?: string | null;
|
|
19856
|
+
planned_hours?: number;
|
|
19108
19857
|
status?: string;
|
|
19109
19858
|
submitted_at?: string | null;
|
|
19110
19859
|
updated_at?: string;
|
|
19860
|
+
variance_hours?: number;
|
|
19111
19861
|
week_start?: string;
|
|
19112
19862
|
};
|
|
19113
19863
|
Relationships: [{
|
|
@@ -20394,16 +21144,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20394
21144
|
Row: {
|
|
20395
21145
|
active_environment: string;
|
|
20396
21146
|
id: number;
|
|
21147
|
+
public_base_url: string | null;
|
|
20397
21148
|
updated_at: string;
|
|
20398
21149
|
};
|
|
20399
21150
|
Insert: {
|
|
20400
21151
|
active_environment?: string;
|
|
20401
21152
|
id?: number;
|
|
21153
|
+
public_base_url?: string | null;
|
|
20402
21154
|
updated_at?: string;
|
|
20403
21155
|
};
|
|
20404
21156
|
Update: {
|
|
20405
21157
|
active_environment?: string;
|
|
20406
21158
|
id?: number;
|
|
21159
|
+
public_base_url?: string | null;
|
|
20407
21160
|
updated_at?: string;
|
|
20408
21161
|
};
|
|
20409
21162
|
Relationships: [];
|
|
@@ -20441,6 +21194,45 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20441
21194
|
referencedColumns: ["id"];
|
|
20442
21195
|
}];
|
|
20443
21196
|
};
|
|
21197
|
+
uren_beschikbare_dagen: {
|
|
21198
|
+
Row: {
|
|
21199
|
+
bron: string;
|
|
21200
|
+
created_at: string;
|
|
21201
|
+
datum: string;
|
|
21202
|
+
eind_tijd: string | null;
|
|
21203
|
+
half_hour_slots: number[];
|
|
21204
|
+
id: string;
|
|
21205
|
+
monteur_id: string;
|
|
21206
|
+
start_tijd: string | null;
|
|
21207
|
+
updated_at: string;
|
|
21208
|
+
uren: number;
|
|
21209
|
+
};
|
|
21210
|
+
Insert: {
|
|
21211
|
+
bron?: string;
|
|
21212
|
+
created_at?: string;
|
|
21213
|
+
datum: string;
|
|
21214
|
+
eind_tijd?: string | null;
|
|
21215
|
+
half_hour_slots?: number[];
|
|
21216
|
+
id?: string;
|
|
21217
|
+
monteur_id: string;
|
|
21218
|
+
start_tijd?: string | null;
|
|
21219
|
+
updated_at?: string;
|
|
21220
|
+
uren?: number;
|
|
21221
|
+
};
|
|
21222
|
+
Update: {
|
|
21223
|
+
bron?: string;
|
|
21224
|
+
created_at?: string;
|
|
21225
|
+
datum?: string;
|
|
21226
|
+
eind_tijd?: string | null;
|
|
21227
|
+
half_hour_slots?: number[];
|
|
21228
|
+
id?: string;
|
|
21229
|
+
monteur_id?: string;
|
|
21230
|
+
start_tijd?: string | null;
|
|
21231
|
+
updated_at?: string;
|
|
21232
|
+
uren?: number;
|
|
21233
|
+
};
|
|
21234
|
+
Relationships: [];
|
|
21235
|
+
};
|
|
20444
21236
|
uren_cao_profiles: {
|
|
20445
21237
|
Row: {
|
|
20446
21238
|
break_minutes: number | null;
|
|
@@ -20579,32 +21371,161 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20579
21371
|
};
|
|
20580
21372
|
Relationships: [];
|
|
20581
21373
|
};
|
|
20582
|
-
|
|
21374
|
+
uren_maandafsluitingen: {
|
|
20583
21375
|
Row: {
|
|
20584
|
-
|
|
21376
|
+
afgesloten_at: string | null;
|
|
21377
|
+
afgesloten_door: string | null;
|
|
21378
|
+
contract_minuten: number;
|
|
21379
|
+
correctie_reden: string | null;
|
|
20585
21380
|
created_at: string;
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
|
|
20591
|
-
|
|
21381
|
+
gecorrigeerd_at: string | null;
|
|
21382
|
+
gecorrigeerd_door: string | null;
|
|
21383
|
+
gewerkte_minuten: number;
|
|
21384
|
+
id: string;
|
|
21385
|
+
maand: string;
|
|
21386
|
+
min_minuten: number;
|
|
21387
|
+
monteur_id: string;
|
|
21388
|
+
netto_verschil_minuten: number;
|
|
21389
|
+
normaal_uitbetaald_minuten: number;
|
|
21390
|
+
omgezet_vakantie_minuten: number;
|
|
21391
|
+
overdracht_vorige_minuten: number;
|
|
21392
|
+
overuren_minuten: number;
|
|
21393
|
+
plus_minuten: number;
|
|
21394
|
+
rest_overuren_minuten: number;
|
|
21395
|
+
status: string;
|
|
21396
|
+
totaal_uitbetaald_minuten: number;
|
|
20592
21397
|
updated_at: string;
|
|
20593
|
-
|
|
20594
|
-
workday_end: string;
|
|
20595
|
-
workday_start: string;
|
|
21398
|
+
vakantie_uren_bijgeschreven: number;
|
|
20596
21399
|
};
|
|
20597
21400
|
Insert: {
|
|
20598
|
-
|
|
21401
|
+
afgesloten_at?: string | null;
|
|
21402
|
+
afgesloten_door?: string | null;
|
|
21403
|
+
contract_minuten?: number;
|
|
21404
|
+
correctie_reden?: string | null;
|
|
20599
21405
|
created_at?: string;
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
|
|
20604
|
-
|
|
20605
|
-
|
|
21406
|
+
gecorrigeerd_at?: string | null;
|
|
21407
|
+
gecorrigeerd_door?: string | null;
|
|
21408
|
+
gewerkte_minuten?: number;
|
|
21409
|
+
id?: string;
|
|
21410
|
+
maand: string;
|
|
21411
|
+
min_minuten?: number;
|
|
21412
|
+
monteur_id: string;
|
|
21413
|
+
netto_verschil_minuten?: number;
|
|
21414
|
+
normaal_uitbetaald_minuten?: number;
|
|
21415
|
+
omgezet_vakantie_minuten?: number;
|
|
21416
|
+
overdracht_vorige_minuten?: number;
|
|
21417
|
+
overuren_minuten?: number;
|
|
21418
|
+
plus_minuten?: number;
|
|
21419
|
+
rest_overuren_minuten?: number;
|
|
21420
|
+
status?: string;
|
|
21421
|
+
totaal_uitbetaald_minuten?: number;
|
|
20606
21422
|
updated_at?: string;
|
|
20607
|
-
|
|
21423
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21424
|
+
};
|
|
21425
|
+
Update: {
|
|
21426
|
+
afgesloten_at?: string | null;
|
|
21427
|
+
afgesloten_door?: string | null;
|
|
21428
|
+
contract_minuten?: number;
|
|
21429
|
+
correctie_reden?: string | null;
|
|
21430
|
+
created_at?: string;
|
|
21431
|
+
gecorrigeerd_at?: string | null;
|
|
21432
|
+
gecorrigeerd_door?: string | null;
|
|
21433
|
+
gewerkte_minuten?: number;
|
|
21434
|
+
id?: string;
|
|
21435
|
+
maand?: string;
|
|
21436
|
+
min_minuten?: number;
|
|
21437
|
+
monteur_id?: string;
|
|
21438
|
+
netto_verschil_minuten?: number;
|
|
21439
|
+
normaal_uitbetaald_minuten?: number;
|
|
21440
|
+
omgezet_vakantie_minuten?: number;
|
|
21441
|
+
overdracht_vorige_minuten?: number;
|
|
21442
|
+
overuren_minuten?: number;
|
|
21443
|
+
plus_minuten?: number;
|
|
21444
|
+
rest_overuren_minuten?: number;
|
|
21445
|
+
status?: string;
|
|
21446
|
+
totaal_uitbetaald_minuten?: number;
|
|
21447
|
+
updated_at?: string;
|
|
21448
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21449
|
+
};
|
|
21450
|
+
Relationships: [];
|
|
21451
|
+
};
|
|
21452
|
+
uren_overuren_verklaringen: {
|
|
21453
|
+
Row: {
|
|
21454
|
+
beoordeeld_door: string | null;
|
|
21455
|
+
beoordeeld_op: string | null;
|
|
21456
|
+
created_at: string;
|
|
21457
|
+
datum: string;
|
|
21458
|
+
eind_tijd: string | null;
|
|
21459
|
+
id: string;
|
|
21460
|
+
ingediend_at: string;
|
|
21461
|
+
monteur_id: string;
|
|
21462
|
+
overuren: number;
|
|
21463
|
+
reden_afkeur: string | null;
|
|
21464
|
+
start_tijd: string | null;
|
|
21465
|
+
status: string;
|
|
21466
|
+
toelichting: string;
|
|
21467
|
+
updated_at: string;
|
|
21468
|
+
};
|
|
21469
|
+
Insert: {
|
|
21470
|
+
beoordeeld_door?: string | null;
|
|
21471
|
+
beoordeeld_op?: string | null;
|
|
21472
|
+
created_at?: string;
|
|
21473
|
+
datum: string;
|
|
21474
|
+
eind_tijd?: string | null;
|
|
21475
|
+
id?: string;
|
|
21476
|
+
ingediend_at?: string;
|
|
21477
|
+
monteur_id: string;
|
|
21478
|
+
overuren: number;
|
|
21479
|
+
reden_afkeur?: string | null;
|
|
21480
|
+
start_tijd?: string | null;
|
|
21481
|
+
status?: string;
|
|
21482
|
+
toelichting: string;
|
|
21483
|
+
updated_at?: string;
|
|
21484
|
+
};
|
|
21485
|
+
Update: {
|
|
21486
|
+
beoordeeld_door?: string | null;
|
|
21487
|
+
beoordeeld_op?: string | null;
|
|
21488
|
+
created_at?: string;
|
|
21489
|
+
datum?: string;
|
|
21490
|
+
eind_tijd?: string | null;
|
|
21491
|
+
id?: string;
|
|
21492
|
+
ingediend_at?: string;
|
|
21493
|
+
monteur_id?: string;
|
|
21494
|
+
overuren?: number;
|
|
21495
|
+
reden_afkeur?: string | null;
|
|
21496
|
+
start_tijd?: string | null;
|
|
21497
|
+
status?: string;
|
|
21498
|
+
toelichting?: string;
|
|
21499
|
+
updated_at?: string;
|
|
21500
|
+
};
|
|
21501
|
+
Relationships: [];
|
|
21502
|
+
};
|
|
21503
|
+
uren_settings: {
|
|
21504
|
+
Row: {
|
|
21505
|
+
break_minutes: number;
|
|
21506
|
+
created_at: string;
|
|
21507
|
+
daily_threshold_hours: number;
|
|
21508
|
+
id: boolean;
|
|
21509
|
+
include_travel: boolean;
|
|
21510
|
+
min_occupancy_monteurs: number;
|
|
21511
|
+
ov02_percentage: number;
|
|
21512
|
+
ov03_percentage: number;
|
|
21513
|
+
updated_at: string;
|
|
21514
|
+
weekly_threshold_hours: number;
|
|
21515
|
+
workday_end: string;
|
|
21516
|
+
workday_start: string;
|
|
21517
|
+
};
|
|
21518
|
+
Insert: {
|
|
21519
|
+
break_minutes?: number;
|
|
21520
|
+
created_at?: string;
|
|
21521
|
+
daily_threshold_hours?: number;
|
|
21522
|
+
id?: boolean;
|
|
21523
|
+
include_travel?: boolean;
|
|
21524
|
+
min_occupancy_monteurs?: number;
|
|
21525
|
+
ov02_percentage?: number;
|
|
21526
|
+
ov03_percentage?: number;
|
|
21527
|
+
updated_at?: string;
|
|
21528
|
+
weekly_threshold_hours?: number;
|
|
20608
21529
|
workday_end?: string;
|
|
20609
21530
|
workday_start?: string;
|
|
20610
21531
|
};
|
|
@@ -20624,6 +21545,75 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20624
21545
|
};
|
|
20625
21546
|
Relationships: [];
|
|
20626
21547
|
};
|
|
21548
|
+
uren_standaardweek: {
|
|
21549
|
+
Row: {
|
|
21550
|
+
created_at: string;
|
|
21551
|
+
eind_slot: number;
|
|
21552
|
+
id: string;
|
|
21553
|
+
monteur_id: string;
|
|
21554
|
+
start_slot: number;
|
|
21555
|
+
updated_at: string;
|
|
21556
|
+
weekdag: number;
|
|
21557
|
+
};
|
|
21558
|
+
Insert: {
|
|
21559
|
+
created_at?: string;
|
|
21560
|
+
eind_slot: number;
|
|
21561
|
+
id?: string;
|
|
21562
|
+
monteur_id: string;
|
|
21563
|
+
start_slot: number;
|
|
21564
|
+
updated_at?: string;
|
|
21565
|
+
weekdag: number;
|
|
21566
|
+
};
|
|
21567
|
+
Update: {
|
|
21568
|
+
created_at?: string;
|
|
21569
|
+
eind_slot?: number;
|
|
21570
|
+
id?: string;
|
|
21571
|
+
monteur_id?: string;
|
|
21572
|
+
start_slot?: number;
|
|
21573
|
+
updated_at?: string;
|
|
21574
|
+
weekdag?: number;
|
|
21575
|
+
};
|
|
21576
|
+
Relationships: [];
|
|
21577
|
+
};
|
|
21578
|
+
uren_standaardweek_wijzigingen: {
|
|
21579
|
+
Row: {
|
|
21580
|
+
beoordeeld_door: string | null;
|
|
21581
|
+
beoordeeld_op: string | null;
|
|
21582
|
+
created_at: string;
|
|
21583
|
+
huidig: import("../integrations/supabase/types").Json;
|
|
21584
|
+
id: string;
|
|
21585
|
+
monteur_id: string;
|
|
21586
|
+
reden_afkeur: string | null;
|
|
21587
|
+
status: string;
|
|
21588
|
+
updated_at: string;
|
|
21589
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21590
|
+
};
|
|
21591
|
+
Insert: {
|
|
21592
|
+
beoordeeld_door?: string | null;
|
|
21593
|
+
beoordeeld_op?: string | null;
|
|
21594
|
+
created_at?: string;
|
|
21595
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21596
|
+
id?: string;
|
|
21597
|
+
monteur_id: string;
|
|
21598
|
+
reden_afkeur?: string | null;
|
|
21599
|
+
status?: string;
|
|
21600
|
+
updated_at?: string;
|
|
21601
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21602
|
+
};
|
|
21603
|
+
Update: {
|
|
21604
|
+
beoordeeld_door?: string | null;
|
|
21605
|
+
beoordeeld_op?: string | null;
|
|
21606
|
+
created_at?: string;
|
|
21607
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21608
|
+
id?: string;
|
|
21609
|
+
monteur_id?: string;
|
|
21610
|
+
reden_afkeur?: string | null;
|
|
21611
|
+
status?: string;
|
|
21612
|
+
updated_at?: string;
|
|
21613
|
+
voorstel?: import("../integrations/supabase/types").Json;
|
|
21614
|
+
};
|
|
21615
|
+
Relationships: [];
|
|
21616
|
+
};
|
|
20627
21617
|
uren_tarieven: {
|
|
20628
21618
|
Row: {
|
|
20629
21619
|
created_at: string;
|
|
@@ -20708,6 +21698,39 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20708
21698
|
};
|
|
20709
21699
|
Relationships: [];
|
|
20710
21700
|
};
|
|
21701
|
+
uren_tijd_spiegel: {
|
|
21702
|
+
Row: {
|
|
21703
|
+
created_at: string;
|
|
21704
|
+
id: string;
|
|
21705
|
+
time_log_id: string;
|
|
21706
|
+
werkbon_time_log_id: string;
|
|
21707
|
+
};
|
|
21708
|
+
Insert: {
|
|
21709
|
+
created_at?: string;
|
|
21710
|
+
id?: string;
|
|
21711
|
+
time_log_id: string;
|
|
21712
|
+
werkbon_time_log_id: string;
|
|
21713
|
+
};
|
|
21714
|
+
Update: {
|
|
21715
|
+
created_at?: string;
|
|
21716
|
+
id?: string;
|
|
21717
|
+
time_log_id?: string;
|
|
21718
|
+
werkbon_time_log_id?: string;
|
|
21719
|
+
};
|
|
21720
|
+
Relationships: [{
|
|
21721
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21722
|
+
columns: ["time_log_id"];
|
|
21723
|
+
isOneToOne: true;
|
|
21724
|
+
referencedRelation: "time_logs";
|
|
21725
|
+
referencedColumns: ["id"];
|
|
21726
|
+
}, {
|
|
21727
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21728
|
+
columns: ["werkbon_time_log_id"];
|
|
21729
|
+
isOneToOne: true;
|
|
21730
|
+
referencedRelation: "werkbon_time_logs";
|
|
21731
|
+
referencedColumns: ["id"];
|
|
21732
|
+
}];
|
|
21733
|
+
};
|
|
20711
21734
|
uren_weekstaten: {
|
|
20712
21735
|
Row: {
|
|
20713
21736
|
approved_at: string | null;
|
|
@@ -20750,6 +21773,33 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20750
21773
|
};
|
|
20751
21774
|
Relationships: [];
|
|
20752
21775
|
};
|
|
21776
|
+
uren_werktijd_voorkeuren: {
|
|
21777
|
+
Row: {
|
|
21778
|
+
created_at: string;
|
|
21779
|
+
eind_slot: number;
|
|
21780
|
+
id: string;
|
|
21781
|
+
monteur_id: string;
|
|
21782
|
+
start_slot: number;
|
|
21783
|
+
updated_at: string;
|
|
21784
|
+
};
|
|
21785
|
+
Insert: {
|
|
21786
|
+
created_at?: string;
|
|
21787
|
+
eind_slot?: number;
|
|
21788
|
+
id?: string;
|
|
21789
|
+
monteur_id: string;
|
|
21790
|
+
start_slot?: number;
|
|
21791
|
+
updated_at?: string;
|
|
21792
|
+
};
|
|
21793
|
+
Update: {
|
|
21794
|
+
created_at?: string;
|
|
21795
|
+
eind_slot?: number;
|
|
21796
|
+
id?: string;
|
|
21797
|
+
monteur_id?: string;
|
|
21798
|
+
start_slot?: number;
|
|
21799
|
+
updated_at?: string;
|
|
21800
|
+
};
|
|
21801
|
+
Relationships: [];
|
|
21802
|
+
};
|
|
20753
21803
|
user_module_permissions: {
|
|
20754
21804
|
Row: {
|
|
20755
21805
|
created_at: string;
|
|
@@ -20807,6 +21857,51 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20807
21857
|
referencedColumns: ["id"];
|
|
20808
21858
|
}];
|
|
20809
21859
|
};
|
|
21860
|
+
vakantie_uitbetalingen: {
|
|
21861
|
+
Row: {
|
|
21862
|
+
created_at: string;
|
|
21863
|
+
created_by: string | null;
|
|
21864
|
+
days: number;
|
|
21865
|
+
id: string;
|
|
21866
|
+
note: string | null;
|
|
21867
|
+
updated_at: string;
|
|
21868
|
+
user_id: string;
|
|
21869
|
+
year: number;
|
|
21870
|
+
};
|
|
21871
|
+
Insert: {
|
|
21872
|
+
created_at?: string;
|
|
21873
|
+
created_by?: string | null;
|
|
21874
|
+
days: number;
|
|
21875
|
+
id?: string;
|
|
21876
|
+
note?: string | null;
|
|
21877
|
+
updated_at?: string;
|
|
21878
|
+
user_id: string;
|
|
21879
|
+
year?: number;
|
|
21880
|
+
};
|
|
21881
|
+
Update: {
|
|
21882
|
+
created_at?: string;
|
|
21883
|
+
created_by?: string | null;
|
|
21884
|
+
days?: number;
|
|
21885
|
+
id?: string;
|
|
21886
|
+
note?: string | null;
|
|
21887
|
+
updated_at?: string;
|
|
21888
|
+
user_id?: string;
|
|
21889
|
+
year?: number;
|
|
21890
|
+
};
|
|
21891
|
+
Relationships: [{
|
|
21892
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
21893
|
+
columns: ["created_by"];
|
|
21894
|
+
isOneToOne: false;
|
|
21895
|
+
referencedRelation: "profiles";
|
|
21896
|
+
referencedColumns: ["id"];
|
|
21897
|
+
}, {
|
|
21898
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
21899
|
+
columns: ["user_id"];
|
|
21900
|
+
isOneToOne: false;
|
|
21901
|
+
referencedRelation: "profiles";
|
|
21902
|
+
referencedColumns: ["id"];
|
|
21903
|
+
}];
|
|
21904
|
+
};
|
|
20810
21905
|
van_inventories: {
|
|
20811
21906
|
Row: {
|
|
20812
21907
|
barcode: string | null;
|
|
@@ -21681,10 +22776,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21681
22776
|
Row: {
|
|
21682
22777
|
article_number: string | null;
|
|
21683
22778
|
artikel_id: string | null;
|
|
22779
|
+
cost_price_cents: number;
|
|
21684
22780
|
created_at: string;
|
|
21685
22781
|
gtin: string | null;
|
|
21686
22782
|
id: string;
|
|
21687
22783
|
manufacturer: string | null;
|
|
22784
|
+
margin_percent: number | null;
|
|
21688
22785
|
omschrijving: string;
|
|
21689
22786
|
package_id: string;
|
|
21690
22787
|
price_synced_at: string | null;
|
|
@@ -21699,10 +22796,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21699
22796
|
Insert: {
|
|
21700
22797
|
article_number?: string | null;
|
|
21701
22798
|
artikel_id?: string | null;
|
|
22799
|
+
cost_price_cents?: number;
|
|
21702
22800
|
created_at?: string;
|
|
21703
22801
|
gtin?: string | null;
|
|
21704
22802
|
id?: string;
|
|
21705
22803
|
manufacturer?: string | null;
|
|
22804
|
+
margin_percent?: number | null;
|
|
21706
22805
|
omschrijving: string;
|
|
21707
22806
|
package_id: string;
|
|
21708
22807
|
price_synced_at?: string | null;
|
|
@@ -21717,10 +22816,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21717
22816
|
Update: {
|
|
21718
22817
|
article_number?: string | null;
|
|
21719
22818
|
artikel_id?: string | null;
|
|
22819
|
+
cost_price_cents?: number;
|
|
21720
22820
|
created_at?: string;
|
|
21721
22821
|
gtin?: string | null;
|
|
21722
22822
|
id?: string;
|
|
21723
22823
|
manufacturer?: string | null;
|
|
22824
|
+
margin_percent?: number | null;
|
|
21724
22825
|
omschrijving?: string;
|
|
21725
22826
|
package_id?: string;
|
|
21726
22827
|
price_synced_at?: string | null;
|
|
@@ -22085,6 +23186,78 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22085
23186
|
referencedColumns: ["id"];
|
|
22086
23187
|
}];
|
|
22087
23188
|
};
|
|
23189
|
+
werkbon_voorstellen: {
|
|
23190
|
+
Row: {
|
|
23191
|
+
bron_werkbon_id: string;
|
|
23192
|
+
budget_mandate_cents: number;
|
|
23193
|
+
created_at: string;
|
|
23194
|
+
created_by: string;
|
|
23195
|
+
customer_id: string | null;
|
|
23196
|
+
id: string;
|
|
23197
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23198
|
+
reden: string | null;
|
|
23199
|
+
status: string;
|
|
23200
|
+
updated_at: string;
|
|
23201
|
+
verwerkt_door: string | null;
|
|
23202
|
+
verwerkt_op: string | null;
|
|
23203
|
+
werkbon_id: string | null;
|
|
23204
|
+
};
|
|
23205
|
+
Insert: {
|
|
23206
|
+
bron_werkbon_id: string;
|
|
23207
|
+
budget_mandate_cents?: number;
|
|
23208
|
+
created_at?: string;
|
|
23209
|
+
created_by?: string;
|
|
23210
|
+
customer_id?: string | null;
|
|
23211
|
+
id?: string;
|
|
23212
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23213
|
+
reden?: string | null;
|
|
23214
|
+
status?: string;
|
|
23215
|
+
updated_at?: string;
|
|
23216
|
+
verwerkt_door?: string | null;
|
|
23217
|
+
verwerkt_op?: string | null;
|
|
23218
|
+
werkbon_id?: string | null;
|
|
23219
|
+
};
|
|
23220
|
+
Update: {
|
|
23221
|
+
bron_werkbon_id?: string;
|
|
23222
|
+
budget_mandate_cents?: number;
|
|
23223
|
+
created_at?: string;
|
|
23224
|
+
created_by?: string;
|
|
23225
|
+
customer_id?: string | null;
|
|
23226
|
+
id?: string;
|
|
23227
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23228
|
+
reden?: string | null;
|
|
23229
|
+
status?: string;
|
|
23230
|
+
updated_at?: string;
|
|
23231
|
+
verwerkt_door?: string | null;
|
|
23232
|
+
verwerkt_op?: string | null;
|
|
23233
|
+
werkbon_id?: string | null;
|
|
23234
|
+
};
|
|
23235
|
+
Relationships: [{
|
|
23236
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23237
|
+
columns: ["bron_werkbon_id"];
|
|
23238
|
+
isOneToOne: false;
|
|
23239
|
+
referencedRelation: "werkbonnen";
|
|
23240
|
+
referencedColumns: ["id"];
|
|
23241
|
+
}, {
|
|
23242
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23243
|
+
columns: ["bron_werkbon_id"];
|
|
23244
|
+
isOneToOne: false;
|
|
23245
|
+
referencedRelation: "wo_overview";
|
|
23246
|
+
referencedColumns: ["id"];
|
|
23247
|
+
}, {
|
|
23248
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23249
|
+
columns: ["werkbon_id"];
|
|
23250
|
+
isOneToOne: false;
|
|
23251
|
+
referencedRelation: "werkbonnen";
|
|
23252
|
+
referencedColumns: ["id"];
|
|
23253
|
+
}, {
|
|
23254
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23255
|
+
columns: ["werkbon_id"];
|
|
23256
|
+
isOneToOne: false;
|
|
23257
|
+
referencedRelation: "wo_overview";
|
|
23258
|
+
referencedColumns: ["id"];
|
|
23259
|
+
}];
|
|
23260
|
+
};
|
|
22088
23261
|
werkbonnen: {
|
|
22089
23262
|
Row: {
|
|
22090
23263
|
assigned_user_id: string | null;
|
|
@@ -22692,6 +23865,21 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22692
23865
|
};
|
|
22693
23866
|
Relationships: [];
|
|
22694
23867
|
};
|
|
23868
|
+
logistics_packing_diff: {
|
|
23869
|
+
Row: {
|
|
23870
|
+
dev_key: string | null;
|
|
23871
|
+
floriday_packing: import("../integrations/supabase/types").Json | null;
|
|
23872
|
+
local_packing: import("../integrations/supabase/types").Json | null;
|
|
23873
|
+
order_id: string | null;
|
|
23874
|
+
order_item_id: string | null;
|
|
23875
|
+
order_number: string | null;
|
|
23876
|
+
product_id: string | null;
|
|
23877
|
+
product_name: string | null;
|
|
23878
|
+
scope: string | null;
|
|
23879
|
+
trade_item_id: string | null;
|
|
23880
|
+
};
|
|
23881
|
+
Relationships: [];
|
|
23882
|
+
};
|
|
22695
23883
|
logistics_product_dimensions: {
|
|
22696
23884
|
Row: {
|
|
22697
23885
|
dimension_source: string | null;
|
|
@@ -23310,6 +24498,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23310
24498
|
};
|
|
23311
24499
|
Returns: undefined;
|
|
23312
24500
|
};
|
|
24501
|
+
_wo_is_planner: {
|
|
24502
|
+
Args: never;
|
|
24503
|
+
Returns: boolean;
|
|
24504
|
+
};
|
|
23313
24505
|
afh_city_code: {
|
|
23314
24506
|
Args: {
|
|
23315
24507
|
_city: string;
|
|
@@ -23920,10 +25112,32 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23920
25112
|
};
|
|
23921
25113
|
Returns: number;
|
|
23922
25114
|
};
|
|
25115
|
+
control_mark_carts_delivered_detail: {
|
|
25116
|
+
Args: {
|
|
25117
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
25118
|
+
};
|
|
25119
|
+
Returns: {
|
|
25120
|
+
cart_index: number;
|
|
25121
|
+
frozen: boolean;
|
|
25122
|
+
message: string;
|
|
25123
|
+
order_id: string;
|
|
25124
|
+
order_source: string;
|
|
25125
|
+
outcome: string;
|
|
25126
|
+
}[];
|
|
25127
|
+
};
|
|
23923
25128
|
count_distinct_regulatory_products: {
|
|
23924
25129
|
Args: never;
|
|
23925
25130
|
Returns: number;
|
|
23926
25131
|
};
|
|
25132
|
+
create_order_from_public_offer: {
|
|
25133
|
+
Args: {
|
|
25134
|
+
p_carrier_id?: string;
|
|
25135
|
+
p_delivery_date?: string;
|
|
25136
|
+
p_delivery_garden_id?: string;
|
|
25137
|
+
p_offer_order_id: string;
|
|
25138
|
+
};
|
|
25139
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25140
|
+
};
|
|
23927
25141
|
current_monteur_id: {
|
|
23928
25142
|
Args: never;
|
|
23929
25143
|
Returns: string;
|
|
@@ -24400,6 +25614,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24400
25614
|
};
|
|
24401
25615
|
Returns: number;
|
|
24402
25616
|
};
|
|
25617
|
+
get_product_stock: {
|
|
25618
|
+
Args: {
|
|
25619
|
+
p_product_id: string;
|
|
25620
|
+
};
|
|
25621
|
+
Returns: {
|
|
25622
|
+
connection_id: string;
|
|
25623
|
+
incoming_stock: number;
|
|
25624
|
+
minimum_stock: number;
|
|
25625
|
+
notes: string;
|
|
25626
|
+
physical_stock: number;
|
|
25627
|
+
product_id: string;
|
|
25628
|
+
reserved_stock: number;
|
|
25629
|
+
trade_item_key: string;
|
|
25630
|
+
updated_at: string;
|
|
25631
|
+
}[];
|
|
25632
|
+
};
|
|
24403
25633
|
get_room_busy_windows: {
|
|
24404
25634
|
Args: {
|
|
24405
25635
|
p_from: string;
|
|
@@ -24704,6 +25934,26 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24704
25934
|
};
|
|
24705
25935
|
Returns: import("../integrations/supabase/types").Json;
|
|
24706
25936
|
};
|
|
25937
|
+
inkoop_list_artikelen: {
|
|
25938
|
+
Args: never;
|
|
25939
|
+
Returns: {
|
|
25940
|
+
article_number: string;
|
|
25941
|
+
barcode: string;
|
|
25942
|
+
id: string;
|
|
25943
|
+
incoming_quantity: number;
|
|
25944
|
+
is_layer: boolean;
|
|
25945
|
+
location: string;
|
|
25946
|
+
min_quantity: number;
|
|
25947
|
+
preferred_supplier_name: string;
|
|
25948
|
+
product: string;
|
|
25949
|
+
product_type: string;
|
|
25950
|
+
purchase_price: number;
|
|
25951
|
+
quantity: number;
|
|
25952
|
+
sale_price: number;
|
|
25953
|
+
supplier_count: number;
|
|
25954
|
+
unit: string;
|
|
25955
|
+
}[];
|
|
25956
|
+
};
|
|
24707
25957
|
inkoop_next_order_number: {
|
|
24708
25958
|
Args: never;
|
|
24709
25959
|
Returns: string;
|
|
@@ -24718,6 +25968,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24718
25968
|
to_address: string;
|
|
24719
25969
|
}[];
|
|
24720
25970
|
};
|
|
25971
|
+
inkoop_set_preferred_supplier: {
|
|
25972
|
+
Args: {
|
|
25973
|
+
_product_id: string;
|
|
25974
|
+
_supplier_id: string;
|
|
25975
|
+
};
|
|
25976
|
+
Returns: undefined;
|
|
25977
|
+
};
|
|
24721
25978
|
instructie_get: {
|
|
24722
25979
|
Args: {
|
|
24723
25980
|
_sleutel: string;
|
|
@@ -24737,6 +25994,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24737
25994
|
};
|
|
24738
25995
|
Returns: number;
|
|
24739
25996
|
};
|
|
25997
|
+
invoice_branding_snapshot: {
|
|
25998
|
+
Args: never;
|
|
25999
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26000
|
+
};
|
|
24740
26001
|
invoice_create_from_source: {
|
|
24741
26002
|
Args: {
|
|
24742
26003
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -24771,12 +26032,41 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24771
26032
|
};
|
|
24772
26033
|
Returns: import("../integrations/supabase/types").Json;
|
|
24773
26034
|
};
|
|
26035
|
+
invoice_mark_sent: {
|
|
26036
|
+
Args: {
|
|
26037
|
+
_invoice_id: string;
|
|
26038
|
+
_to: string;
|
|
26039
|
+
};
|
|
26040
|
+
Returns: undefined;
|
|
26041
|
+
};
|
|
26042
|
+
invoice_peek_next_number: {
|
|
26043
|
+
Args: never;
|
|
26044
|
+
Returns: string;
|
|
26045
|
+
};
|
|
26046
|
+
invoice_ready_work_orders: {
|
|
26047
|
+
Args: {
|
|
26048
|
+
_limit?: number;
|
|
26049
|
+
};
|
|
26050
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26051
|
+
};
|
|
24774
26052
|
invoice_recalc_totals: {
|
|
24775
26053
|
Args: {
|
|
24776
26054
|
_invoice_id: string;
|
|
24777
26055
|
};
|
|
24778
26056
|
Returns: import("../integrations/supabase/types").Json;
|
|
24779
26057
|
};
|
|
26058
|
+
invoice_save_branding_settings: {
|
|
26059
|
+
Args: {
|
|
26060
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26061
|
+
};
|
|
26062
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26063
|
+
};
|
|
26064
|
+
invoice_set_email_purpose: {
|
|
26065
|
+
Args: {
|
|
26066
|
+
_purpose: string;
|
|
26067
|
+
};
|
|
26068
|
+
Returns: string;
|
|
26069
|
+
};
|
|
24780
26070
|
invoice_source_lines: {
|
|
24781
26071
|
Args: {
|
|
24782
26072
|
_source_id: string;
|
|
@@ -24784,6 +26074,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24784
26074
|
};
|
|
24785
26075
|
Returns: import("../integrations/supabase/types").Json;
|
|
24786
26076
|
};
|
|
26077
|
+
invoice_update_full: {
|
|
26078
|
+
Args: {
|
|
26079
|
+
_invoice_id: string;
|
|
26080
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26081
|
+
};
|
|
26082
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26083
|
+
};
|
|
26084
|
+
invoice_work_order_locked: {
|
|
26085
|
+
Args: {
|
|
26086
|
+
_werkbon_id: string;
|
|
26087
|
+
};
|
|
26088
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26089
|
+
};
|
|
24787
26090
|
is_authenticated: {
|
|
24788
26091
|
Args: never;
|
|
24789
26092
|
Returns: boolean;
|
|
@@ -25016,6 +26319,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25016
26319
|
};
|
|
25017
26320
|
Returns: import("../integrations/supabase/types").Json;
|
|
25018
26321
|
};
|
|
26322
|
+
logistics_buffer_decision_for_settings: {
|
|
26323
|
+
Args: {
|
|
26324
|
+
p_order: import("../integrations/supabase/types").Json;
|
|
26325
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
26326
|
+
p_user_id?: string;
|
|
26327
|
+
};
|
|
26328
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26329
|
+
};
|
|
25019
26330
|
logistics_buffer_detach_late_orders: {
|
|
25020
26331
|
Args: {
|
|
25021
26332
|
p_buffer?: string;
|
|
@@ -25049,6 +26360,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25049
26360
|
};
|
|
25050
26361
|
Returns: string;
|
|
25051
26362
|
};
|
|
26363
|
+
logistics_buffer_payload: {
|
|
26364
|
+
Args: {
|
|
26365
|
+
p_order_id: string;
|
|
26366
|
+
};
|
|
26367
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26368
|
+
};
|
|
25052
26369
|
logistics_buffer_simulate: {
|
|
25053
26370
|
Args: {
|
|
25054
26371
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -25107,6 +26424,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25107
26424
|
};
|
|
25108
26425
|
Returns: string;
|
|
25109
26426
|
};
|
|
26427
|
+
logistics_cart_coverage_check: {
|
|
26428
|
+
Args: never;
|
|
26429
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26430
|
+
};
|
|
25110
26431
|
logistics_cart_handled: {
|
|
25111
26432
|
Args: {
|
|
25112
26433
|
p_cart_index: number;
|
|
@@ -25350,6 +26671,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25350
26671
|
isSetofReturn: false;
|
|
25351
26672
|
};
|
|
25352
26673
|
};
|
|
26674
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26675
|
+
Args: {
|
|
26676
|
+
p_limit?: number;
|
|
26677
|
+
p_order_id: string;
|
|
26678
|
+
};
|
|
26679
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26680
|
+
};
|
|
26681
|
+
logistics_cleanup_history: {
|
|
26682
|
+
Args: {
|
|
26683
|
+
p_limit?: number;
|
|
26684
|
+
};
|
|
26685
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26686
|
+
};
|
|
25353
26687
|
logistics_cleanup_orphan_print_jobs: {
|
|
25354
26688
|
Args: never;
|
|
25355
26689
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -25507,6 +26841,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25507
26841
|
Args: never;
|
|
25508
26842
|
Returns: import("../integrations/supabase/types").Json;
|
|
25509
26843
|
};
|
|
26844
|
+
logistics_cron_health: {
|
|
26845
|
+
Args: never;
|
|
26846
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26847
|
+
};
|
|
25510
26848
|
logistics_day_windows: {
|
|
25511
26849
|
Args: {
|
|
25512
26850
|
p_day: string;
|
|
@@ -25856,6 +27194,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25856
27194
|
};
|
|
25857
27195
|
Returns: number;
|
|
25858
27196
|
};
|
|
27197
|
+
logistics_merge_decision: {
|
|
27198
|
+
Args: {
|
|
27199
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
27200
|
+
};
|
|
27201
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27202
|
+
};
|
|
25859
27203
|
logistics_merge_floriday_lines: {
|
|
25860
27204
|
Args: {
|
|
25861
27205
|
p_order_id: string;
|
|
@@ -25902,6 +27246,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25902
27246
|
Args: never;
|
|
25903
27247
|
Returns: string;
|
|
25904
27248
|
};
|
|
27249
|
+
logistics_order_backlog_info: {
|
|
27250
|
+
Args: {
|
|
27251
|
+
p_order_id: string;
|
|
27252
|
+
};
|
|
27253
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27254
|
+
};
|
|
25905
27255
|
logistics_order_cart_approval: {
|
|
25906
27256
|
Args: {
|
|
25907
27257
|
_order_ref: string;
|
|
@@ -25936,6 +27286,50 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25936
27286
|
};
|
|
25937
27287
|
Returns: boolean;
|
|
25938
27288
|
};
|
|
27289
|
+
logistics_order_finalize_enqueue: {
|
|
27290
|
+
Args: {
|
|
27291
|
+
p_order_id: string;
|
|
27292
|
+
p_reason?: string;
|
|
27293
|
+
};
|
|
27294
|
+
Returns: undefined;
|
|
27295
|
+
};
|
|
27296
|
+
logistics_order_finalize_overview: {
|
|
27297
|
+
Args: never;
|
|
27298
|
+
Returns: {
|
|
27299
|
+
bezig: number;
|
|
27300
|
+
laatst_afgerond: string;
|
|
27301
|
+
laatste_fout: string;
|
|
27302
|
+
mislukt: number;
|
|
27303
|
+
oudste_wachttijd_seconden: number;
|
|
27304
|
+
wachtend: number;
|
|
27305
|
+
}[];
|
|
27306
|
+
};
|
|
27307
|
+
logistics_order_finalize_prune: {
|
|
27308
|
+
Args: {
|
|
27309
|
+
p_days?: number;
|
|
27310
|
+
};
|
|
27311
|
+
Returns: number;
|
|
27312
|
+
};
|
|
27313
|
+
logistics_order_finalize_reconcile: {
|
|
27314
|
+
Args: {
|
|
27315
|
+
p_days?: number;
|
|
27316
|
+
p_limit?: number;
|
|
27317
|
+
};
|
|
27318
|
+
Returns: number;
|
|
27319
|
+
};
|
|
27320
|
+
logistics_order_finalize_retry: {
|
|
27321
|
+
Args: {
|
|
27322
|
+
p_order_id: string;
|
|
27323
|
+
};
|
|
27324
|
+
Returns: boolean;
|
|
27325
|
+
};
|
|
27326
|
+
logistics_order_finalize_run: {
|
|
27327
|
+
Args: {
|
|
27328
|
+
p_lease_seconds?: number;
|
|
27329
|
+
p_limit?: number;
|
|
27330
|
+
};
|
|
27331
|
+
Returns: number;
|
|
27332
|
+
};
|
|
25939
27333
|
logistics_order_frozen: {
|
|
25940
27334
|
Args: {
|
|
25941
27335
|
p_order_id: string;
|
|
@@ -25948,6 +27342,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25948
27342
|
};
|
|
25949
27343
|
Returns: boolean;
|
|
25950
27344
|
};
|
|
27345
|
+
logistics_order_is_backlog: {
|
|
27346
|
+
Args: {
|
|
27347
|
+
p_order_id: string;
|
|
27348
|
+
};
|
|
27349
|
+
Returns: boolean;
|
|
27350
|
+
};
|
|
25951
27351
|
logistics_order_is_topick: {
|
|
25952
27352
|
Args: {
|
|
25953
27353
|
p_order_id: string;
|
|
@@ -25955,6 +27355,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25955
27355
|
};
|
|
25956
27356
|
Returns: boolean;
|
|
25957
27357
|
};
|
|
27358
|
+
logistics_order_line_duplicates: {
|
|
27359
|
+
Args: {
|
|
27360
|
+
p_order_id: string;
|
|
27361
|
+
};
|
|
27362
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27363
|
+
};
|
|
25958
27364
|
logistics_order_merge_key: {
|
|
25959
27365
|
Args: {
|
|
25960
27366
|
p_group_key: string;
|
|
@@ -25998,6 +27404,63 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25998
27404
|
};
|
|
25999
27405
|
Returns: boolean;
|
|
26000
27406
|
};
|
|
27407
|
+
logistics_packing_autofix: {
|
|
27408
|
+
Args: {
|
|
27409
|
+
p_limit?: number;
|
|
27410
|
+
};
|
|
27411
|
+
Returns: number;
|
|
27412
|
+
};
|
|
27413
|
+
logistics_packing_block_reason: {
|
|
27414
|
+
Args: {
|
|
27415
|
+
p_order_id: string;
|
|
27416
|
+
p_order_item_id: string;
|
|
27417
|
+
};
|
|
27418
|
+
Returns: string;
|
|
27419
|
+
};
|
|
27420
|
+
logistics_packing_dismiss: {
|
|
27421
|
+
Args: {
|
|
27422
|
+
p_id: string;
|
|
27423
|
+
p_note?: string;
|
|
27424
|
+
};
|
|
27425
|
+
Returns: boolean;
|
|
27426
|
+
};
|
|
27427
|
+
logistics_packing_overview: {
|
|
27428
|
+
Args: never;
|
|
27429
|
+
Returns: {
|
|
27430
|
+
beoordelen: number;
|
|
27431
|
+
herstelbaar: number;
|
|
27432
|
+
laatst_gemeten: string;
|
|
27433
|
+
laatst_hersteld: string;
|
|
27434
|
+
open_totaal: number;
|
|
27435
|
+
orders: number;
|
|
27436
|
+
oudste_seconden: number;
|
|
27437
|
+
producten: number;
|
|
27438
|
+
}[];
|
|
27439
|
+
};
|
|
27440
|
+
logistics_packing_reconcile: {
|
|
27441
|
+
Args: {
|
|
27442
|
+
p_fix_limit?: number;
|
|
27443
|
+
p_scan_limit?: number;
|
|
27444
|
+
};
|
|
27445
|
+
Returns: {
|
|
27446
|
+
beoordelen: number;
|
|
27447
|
+
gevonden: number;
|
|
27448
|
+
hersteld: number;
|
|
27449
|
+
}[];
|
|
27450
|
+
};
|
|
27451
|
+
logistics_packing_scan: {
|
|
27452
|
+
Args: {
|
|
27453
|
+
p_limit?: number;
|
|
27454
|
+
};
|
|
27455
|
+
Returns: number;
|
|
27456
|
+
};
|
|
27457
|
+
logistics_packing_set_manual: {
|
|
27458
|
+
Args: {
|
|
27459
|
+
p_manual?: boolean;
|
|
27460
|
+
p_order_item_id: string;
|
|
27461
|
+
};
|
|
27462
|
+
Returns: boolean;
|
|
27463
|
+
};
|
|
26001
27464
|
logistics_parse_pickup: {
|
|
26002
27465
|
Args: {
|
|
26003
27466
|
p_value: string;
|
|
@@ -26026,6 +27489,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26026
27489
|
shifted_count: number;
|
|
26027
27490
|
}[];
|
|
26028
27491
|
};
|
|
27492
|
+
logistics_pick_backlog_max_days: {
|
|
27493
|
+
Args: never;
|
|
27494
|
+
Returns: number;
|
|
27495
|
+
};
|
|
26029
27496
|
logistics_pick_barcode_enabled: {
|
|
26030
27497
|
Args: never;
|
|
26031
27498
|
Returns: boolean;
|
|
@@ -26247,6 +27714,21 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26247
27714
|
Args: never;
|
|
26248
27715
|
Returns: number;
|
|
26249
27716
|
};
|
|
27717
|
+
logistics_planner_cart_snapshot: {
|
|
27718
|
+
Args: {
|
|
27719
|
+
p_buffer_id: string;
|
|
27720
|
+
p_order_id: string;
|
|
27721
|
+
};
|
|
27722
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27723
|
+
};
|
|
27724
|
+
logistics_planner_diff_mode: {
|
|
27725
|
+
Args: never;
|
|
27726
|
+
Returns: string;
|
|
27727
|
+
};
|
|
27728
|
+
logistics_planner_diff_prune: {
|
|
27729
|
+
Args: never;
|
|
27730
|
+
Returns: number;
|
|
27731
|
+
};
|
|
26250
27732
|
logistics_prepare_pick_documents: {
|
|
26251
27733
|
Args: {
|
|
26252
27734
|
p_limit?: number;
|
|
@@ -26257,6 +27739,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26257
27739
|
Args: never;
|
|
26258
27740
|
Returns: number;
|
|
26259
27741
|
};
|
|
27742
|
+
logistics_prune_cron_history: {
|
|
27743
|
+
Args: {
|
|
27744
|
+
p_days?: number;
|
|
27745
|
+
};
|
|
27746
|
+
Returns: number;
|
|
27747
|
+
};
|
|
26260
27748
|
logistics_prune_handled_pick_queue: {
|
|
26261
27749
|
Args: never;
|
|
26262
27750
|
Returns: number;
|
|
@@ -26293,6 +27781,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26293
27781
|
Args: never;
|
|
26294
27782
|
Returns: import("../integrations/supabase/types").Json;
|
|
26295
27783
|
};
|
|
27784
|
+
logistics_recalc_tick_kick: {
|
|
27785
|
+
Args: never;
|
|
27786
|
+
Returns: number;
|
|
27787
|
+
};
|
|
27788
|
+
logistics_reconcile_missing_plan_queue: {
|
|
27789
|
+
Args: never;
|
|
27790
|
+
Returns: number;
|
|
27791
|
+
};
|
|
26296
27792
|
logistics_refresh_pick_queue_status: {
|
|
26297
27793
|
Args: {
|
|
26298
27794
|
p_ref: string;
|
|
@@ -26323,11 +27819,24 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26323
27819
|
};
|
|
26324
27820
|
Returns: import("../integrations/supabase/types").Json;
|
|
26325
27821
|
};
|
|
27822
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
27823
|
+
Args: {
|
|
27824
|
+
p_order_id: string;
|
|
27825
|
+
p_reason: string;
|
|
27826
|
+
};
|
|
27827
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27828
|
+
};
|
|
26326
27829
|
logistics_replan_order_journey: {
|
|
26327
27830
|
Args: {
|
|
26328
27831
|
p_order_ref: string;
|
|
26329
27832
|
};
|
|
26330
27833
|
Returns: import("../integrations/supabase/types").Json;
|
|
27834
|
+
} | {
|
|
27835
|
+
Args: {
|
|
27836
|
+
p_order_ref: string;
|
|
27837
|
+
p_reason: string;
|
|
27838
|
+
};
|
|
27839
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26331
27840
|
};
|
|
26332
27841
|
logistics_report_delay: {
|
|
26333
27842
|
Args: {
|
|
@@ -26373,6 +27882,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26373
27882
|
};
|
|
26374
27883
|
Returns: import("../integrations/supabase/types").Json;
|
|
26375
27884
|
};
|
|
27885
|
+
logistics_reserved_stock_nightly: {
|
|
27886
|
+
Args: never;
|
|
27887
|
+
Returns: undefined;
|
|
27888
|
+
};
|
|
26376
27889
|
logistics_resolve_pick_document: {
|
|
26377
27890
|
Args: {
|
|
26378
27891
|
_is_herprint: boolean;
|
|
@@ -26396,6 +27909,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26396
27909
|
};
|
|
26397
27910
|
Returns: import("../integrations/supabase/types").Json;
|
|
26398
27911
|
};
|
|
27912
|
+
logistics_retention_days: {
|
|
27913
|
+
Args: {
|
|
27914
|
+
p_key: string;
|
|
27915
|
+
};
|
|
27916
|
+
Returns: number;
|
|
27917
|
+
};
|
|
26399
27918
|
logistics_rule_bool: {
|
|
26400
27919
|
Args: {
|
|
26401
27920
|
p_default: boolean;
|
|
@@ -26589,12 +28108,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26589
28108
|
Args: never;
|
|
26590
28109
|
Returns: import("../integrations/supabase/types").Json;
|
|
26591
28110
|
};
|
|
28111
|
+
logistics_sync_pick_queue_backlog: {
|
|
28112
|
+
Args: never;
|
|
28113
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28114
|
+
};
|
|
28115
|
+
logistics_sync_pick_queue_core: {
|
|
28116
|
+
Args: never;
|
|
28117
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28118
|
+
};
|
|
26592
28119
|
logistics_sync_task_carriers: {
|
|
26593
28120
|
Args: {
|
|
26594
28121
|
p_order_ref?: string;
|
|
26595
28122
|
};
|
|
26596
28123
|
Returns: number;
|
|
26597
28124
|
};
|
|
28125
|
+
logistics_task_open_counts: {
|
|
28126
|
+
Args: never;
|
|
28127
|
+
Returns: {
|
|
28128
|
+
open_count: number;
|
|
28129
|
+
owner_module: string;
|
|
28130
|
+
}[];
|
|
28131
|
+
};
|
|
26598
28132
|
logistics_task_owner: {
|
|
26599
28133
|
Args: {
|
|
26600
28134
|
p_task_type: string;
|
|
@@ -26612,6 +28146,16 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26612
28146
|
Args: never;
|
|
26613
28147
|
Returns: number;
|
|
26614
28148
|
};
|
|
28149
|
+
logistics_tasks_prune: {
|
|
28150
|
+
Args: {
|
|
28151
|
+
p_days?: number;
|
|
28152
|
+
};
|
|
28153
|
+
Returns: number;
|
|
28154
|
+
};
|
|
28155
|
+
logistics_tick: {
|
|
28156
|
+
Args: never;
|
|
28157
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28158
|
+
};
|
|
26615
28159
|
logistics_tick_ping: {
|
|
26616
28160
|
Args: never;
|
|
26617
28161
|
Returns: string;
|
|
@@ -26952,6 +28496,17 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26952
28496
|
};
|
|
26953
28497
|
Returns: boolean;
|
|
26954
28498
|
};
|
|
28499
|
+
order_items_duplicate_report: {
|
|
28500
|
+
Args: {
|
|
28501
|
+
_order_ref?: string;
|
|
28502
|
+
};
|
|
28503
|
+
Returns: {
|
|
28504
|
+
distinct_products: number;
|
|
28505
|
+
duplicate_factor: number;
|
|
28506
|
+
lines: number;
|
|
28507
|
+
order_number: string;
|
|
28508
|
+
}[];
|
|
28509
|
+
};
|
|
26955
28510
|
order_number_prefix: {
|
|
26956
28511
|
Args: {
|
|
26957
28512
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -27735,6 +29290,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
27735
29290
|
};
|
|
27736
29291
|
Returns: undefined;
|
|
27737
29292
|
};
|
|
29293
|
+
planning_apply_schedule_updates: {
|
|
29294
|
+
Args: {
|
|
29295
|
+
_updates: import("../integrations/supabase/types").Json;
|
|
29296
|
+
};
|
|
29297
|
+
Returns: undefined;
|
|
29298
|
+
};
|
|
29299
|
+
planning_assert_no_overlaps: {
|
|
29300
|
+
Args: never;
|
|
29301
|
+
Returns: undefined;
|
|
29302
|
+
};
|
|
29303
|
+
planning_assert_no_overlaps_for_items: {
|
|
29304
|
+
Args: {
|
|
29305
|
+
_item_ids: string[];
|
|
29306
|
+
};
|
|
29307
|
+
Returns: undefined;
|
|
29308
|
+
};
|
|
27738
29309
|
planning_cancel_item: {
|
|
27739
29310
|
Args: {
|
|
27740
29311
|
_id: string;
|
|
@@ -27846,6 +29417,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
27846
29417
|
};
|
|
27847
29418
|
Returns: boolean;
|
|
27848
29419
|
};
|
|
29420
|
+
quote_assign_number: {
|
|
29421
|
+
Args: {
|
|
29422
|
+
_offerte_id: string;
|
|
29423
|
+
};
|
|
29424
|
+
Returns: string;
|
|
29425
|
+
};
|
|
29426
|
+
quote_create_follow_up_now: {
|
|
29427
|
+
Args: {
|
|
29428
|
+
_offerte_id: string;
|
|
29429
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29430
|
+
};
|
|
29431
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29432
|
+
};
|
|
27849
29433
|
quote_create_from_source: {
|
|
27850
29434
|
Args: {
|
|
27851
29435
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28089,6 +29673,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28089
29673
|
Args: never;
|
|
28090
29674
|
Returns: undefined;
|
|
28091
29675
|
};
|
|
29676
|
+
run_order_auto_invoice_tick: {
|
|
29677
|
+
Args: never;
|
|
29678
|
+
Returns: number;
|
|
29679
|
+
};
|
|
28092
29680
|
run_print_queue_ticks: {
|
|
28093
29681
|
Args: never;
|
|
28094
29682
|
Returns: number;
|
|
@@ -28466,6 +30054,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28466
30054
|
};
|
|
28467
30055
|
Returns: number;
|
|
28468
30056
|
};
|
|
30057
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30058
|
+
Args: {
|
|
30059
|
+
p_apikey: string;
|
|
30060
|
+
p_url: string;
|
|
30061
|
+
};
|
|
30062
|
+
Returns: number;
|
|
30063
|
+
};
|
|
28469
30064
|
schedule_floriday_trade_items_sync: {
|
|
28470
30065
|
Args: {
|
|
28471
30066
|
p_apikey: string;
|
|
@@ -28548,6 +30143,26 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28548
30143
|
};
|
|
28549
30144
|
Returns: undefined;
|
|
28550
30145
|
};
|
|
30146
|
+
set_product_stock: {
|
|
30147
|
+
Args: {
|
|
30148
|
+
p_incoming_stock?: number;
|
|
30149
|
+
p_minimum_stock?: number;
|
|
30150
|
+
p_notes?: string;
|
|
30151
|
+
p_physical_stock: number;
|
|
30152
|
+
p_product_id: string;
|
|
30153
|
+
};
|
|
30154
|
+
Returns: {
|
|
30155
|
+
connection_id: string;
|
|
30156
|
+
incoming_stock: number;
|
|
30157
|
+
minimum_stock: number;
|
|
30158
|
+
notes: string;
|
|
30159
|
+
physical_stock: number;
|
|
30160
|
+
product_id: string;
|
|
30161
|
+
reserved_stock: number;
|
|
30162
|
+
trade_item_key: string;
|
|
30163
|
+
updated_at: string;
|
|
30164
|
+
}[];
|
|
30165
|
+
};
|
|
28551
30166
|
show_limit: {
|
|
28552
30167
|
Args: never;
|
|
28553
30168
|
Returns: number;
|
|
@@ -28790,6 +30405,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28790
30405
|
Args: never;
|
|
28791
30406
|
Returns: boolean;
|
|
28792
30407
|
};
|
|
30408
|
+
uren_is_werkdag: {
|
|
30409
|
+
Args: {
|
|
30410
|
+
_date: string;
|
|
30411
|
+
_monteur: string;
|
|
30412
|
+
};
|
|
30413
|
+
Returns: boolean;
|
|
30414
|
+
};
|
|
30415
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30416
|
+
Args: {
|
|
30417
|
+
_datum: string;
|
|
30418
|
+
_eind: string;
|
|
30419
|
+
_reden: string;
|
|
30420
|
+
_start: string;
|
|
30421
|
+
};
|
|
30422
|
+
Returns: string;
|
|
30423
|
+
};
|
|
28793
30424
|
uren_list_medewerkers: {
|
|
28794
30425
|
Args: never;
|
|
28795
30426
|
Returns: {
|
|
@@ -28810,6 +30441,45 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28810
30441
|
roles: string[];
|
|
28811
30442
|
}[];
|
|
28812
30443
|
};
|
|
30444
|
+
uren_list_planner_contacten: {
|
|
30445
|
+
Args: never;
|
|
30446
|
+
Returns: {
|
|
30447
|
+
display_name: string;
|
|
30448
|
+
id: string;
|
|
30449
|
+
phone: string;
|
|
30450
|
+
}[];
|
|
30451
|
+
};
|
|
30452
|
+
uren_maand_afsluiten: {
|
|
30453
|
+
Args: {
|
|
30454
|
+
_maand: string;
|
|
30455
|
+
_monteur: string;
|
|
30456
|
+
};
|
|
30457
|
+
Returns: undefined;
|
|
30458
|
+
};
|
|
30459
|
+
uren_maand_berekenen: {
|
|
30460
|
+
Args: {
|
|
30461
|
+
_maand: string;
|
|
30462
|
+
_monteur: string;
|
|
30463
|
+
};
|
|
30464
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30465
|
+
};
|
|
30466
|
+
uren_maand_corrigeren: {
|
|
30467
|
+
Args: {
|
|
30468
|
+
_maand: string;
|
|
30469
|
+
_monteur: string;
|
|
30470
|
+
_overuren_minuten: number;
|
|
30471
|
+
_reden: string;
|
|
30472
|
+
};
|
|
30473
|
+
Returns: undefined;
|
|
30474
|
+
};
|
|
30475
|
+
uren_mijn_contracturen: {
|
|
30476
|
+
Args: never;
|
|
30477
|
+
Returns: number;
|
|
30478
|
+
};
|
|
30479
|
+
uren_mijn_vakantiesaldo: {
|
|
30480
|
+
Args: never;
|
|
30481
|
+
Returns: number;
|
|
30482
|
+
};
|
|
28813
30483
|
uren_my_monteur_id: {
|
|
28814
30484
|
Args: never;
|
|
28815
30485
|
Returns: string;
|
|
@@ -28843,6 +30513,37 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28843
30513
|
};
|
|
28844
30514
|
Returns: number;
|
|
28845
30515
|
};
|
|
30516
|
+
uren_spiegel_bezig: {
|
|
30517
|
+
Args: never;
|
|
30518
|
+
Returns: boolean;
|
|
30519
|
+
};
|
|
30520
|
+
uren_standaardweek_beoordelen: {
|
|
30521
|
+
Args: {
|
|
30522
|
+
_goedkeuren: boolean;
|
|
30523
|
+
_id: string;
|
|
30524
|
+
_reden?: string;
|
|
30525
|
+
};
|
|
30526
|
+
Returns: undefined;
|
|
30527
|
+
};
|
|
30528
|
+
uren_standaardweek_doorzetten: {
|
|
30529
|
+
Args: {
|
|
30530
|
+
_monteur: string;
|
|
30531
|
+
};
|
|
30532
|
+
Returns: undefined;
|
|
30533
|
+
};
|
|
30534
|
+
uren_standaardweek_instellen: {
|
|
30535
|
+
Args: {
|
|
30536
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
30537
|
+
};
|
|
30538
|
+
Returns: string;
|
|
30539
|
+
};
|
|
30540
|
+
uren_standaardweek_toepassen: {
|
|
30541
|
+
Args: {
|
|
30542
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
30543
|
+
_monteur: string;
|
|
30544
|
+
};
|
|
30545
|
+
Returns: undefined;
|
|
30546
|
+
};
|
|
28846
30547
|
uren_stop_time_log: {
|
|
28847
30548
|
Args: {
|
|
28848
30549
|
p_employee_id: string;
|
|
@@ -28868,6 +30569,165 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28868
30569
|
};
|
|
28869
30570
|
Returns: number;
|
|
28870
30571
|
};
|
|
30572
|
+
uren_vakantie_aanvragen: {
|
|
30573
|
+
Args: {
|
|
30574
|
+
_end_date: string;
|
|
30575
|
+
_hours?: number;
|
|
30576
|
+
_start_date: string;
|
|
30577
|
+
};
|
|
30578
|
+
Returns: string;
|
|
30579
|
+
};
|
|
30580
|
+
uren_vakantiedag_wijzigen: {
|
|
30581
|
+
Args: {
|
|
30582
|
+
_date: string;
|
|
30583
|
+
};
|
|
30584
|
+
Returns: string;
|
|
30585
|
+
};
|
|
30586
|
+
uren_vakantiesaldo_uren: {
|
|
30587
|
+
Args: {
|
|
30588
|
+
_monteur: string;
|
|
30589
|
+
};
|
|
30590
|
+
Returns: number;
|
|
30591
|
+
};
|
|
30592
|
+
uren_week_start: {
|
|
30593
|
+
Args: {
|
|
30594
|
+
_datum: string;
|
|
30595
|
+
};
|
|
30596
|
+
Returns: string;
|
|
30597
|
+
};
|
|
30598
|
+
uren_werkweek_opsturen: {
|
|
30599
|
+
Args: {
|
|
30600
|
+
_week_start: string;
|
|
30601
|
+
};
|
|
30602
|
+
Returns: {
|
|
30603
|
+
approved_at: string | null;
|
|
30604
|
+
approved_by: string | null;
|
|
30605
|
+
contract_hours: number;
|
|
30606
|
+
created_at: string;
|
|
30607
|
+
employee_id: string;
|
|
30608
|
+
id: string;
|
|
30609
|
+
locked: boolean;
|
|
30610
|
+
monteur_toelichting: string | null;
|
|
30611
|
+
notes: string | null;
|
|
30612
|
+
planned_hours: number;
|
|
30613
|
+
status: string;
|
|
30614
|
+
submitted_at: string | null;
|
|
30615
|
+
updated_at: string;
|
|
30616
|
+
variance_hours: number;
|
|
30617
|
+
week_start: string;
|
|
30618
|
+
};
|
|
30619
|
+
SetofOptions: {
|
|
30620
|
+
from: "*";
|
|
30621
|
+
to: "time_log_week_approvals";
|
|
30622
|
+
isOneToOne: true;
|
|
30623
|
+
isSetofReturn: false;
|
|
30624
|
+
};
|
|
30625
|
+
} | {
|
|
30626
|
+
Args: {
|
|
30627
|
+
_vrije_dagen?: string[];
|
|
30628
|
+
_week_start: string;
|
|
30629
|
+
};
|
|
30630
|
+
Returns: {
|
|
30631
|
+
approved_at: string | null;
|
|
30632
|
+
approved_by: string | null;
|
|
30633
|
+
contract_hours: number;
|
|
30634
|
+
created_at: string;
|
|
30635
|
+
employee_id: string;
|
|
30636
|
+
id: string;
|
|
30637
|
+
locked: boolean;
|
|
30638
|
+
monteur_toelichting: string | null;
|
|
30639
|
+
notes: string | null;
|
|
30640
|
+
planned_hours: number;
|
|
30641
|
+
status: string;
|
|
30642
|
+
submitted_at: string | null;
|
|
30643
|
+
updated_at: string;
|
|
30644
|
+
variance_hours: number;
|
|
30645
|
+
week_start: string;
|
|
30646
|
+
};
|
|
30647
|
+
SetofOptions: {
|
|
30648
|
+
from: "*";
|
|
30649
|
+
to: "time_log_week_approvals";
|
|
30650
|
+
isOneToOne: true;
|
|
30651
|
+
isSetofReturn: false;
|
|
30652
|
+
};
|
|
30653
|
+
} | {
|
|
30654
|
+
Args: {
|
|
30655
|
+
_toelichting?: string;
|
|
30656
|
+
_vrije_dagen?: string[];
|
|
30657
|
+
_week_start: string;
|
|
30658
|
+
};
|
|
30659
|
+
Returns: {
|
|
30660
|
+
approved_at: string | null;
|
|
30661
|
+
approved_by: string | null;
|
|
30662
|
+
contract_hours: number;
|
|
30663
|
+
created_at: string;
|
|
30664
|
+
employee_id: string;
|
|
30665
|
+
id: string;
|
|
30666
|
+
locked: boolean;
|
|
30667
|
+
monteur_toelichting: string | null;
|
|
30668
|
+
notes: string | null;
|
|
30669
|
+
planned_hours: number;
|
|
30670
|
+
status: string;
|
|
30671
|
+
submitted_at: string | null;
|
|
30672
|
+
updated_at: string;
|
|
30673
|
+
variance_hours: number;
|
|
30674
|
+
week_start: string;
|
|
30675
|
+
};
|
|
30676
|
+
SetofOptions: {
|
|
30677
|
+
from: "*";
|
|
30678
|
+
to: "time_log_week_approvals";
|
|
30679
|
+
isOneToOne: true;
|
|
30680
|
+
isSetofReturn: false;
|
|
30681
|
+
};
|
|
30682
|
+
};
|
|
30683
|
+
vakantie_dagen_gebruikt: {
|
|
30684
|
+
Args: {
|
|
30685
|
+
_user_id: string;
|
|
30686
|
+
_year: number;
|
|
30687
|
+
};
|
|
30688
|
+
Returns: number;
|
|
30689
|
+
};
|
|
30690
|
+
vakantie_overuren: {
|
|
30691
|
+
Args: {
|
|
30692
|
+
_user_id: string;
|
|
30693
|
+
_year?: number;
|
|
30694
|
+
};
|
|
30695
|
+
Returns: number;
|
|
30696
|
+
};
|
|
30697
|
+
vakantie_saldo: {
|
|
30698
|
+
Args: {
|
|
30699
|
+
_user_id: string;
|
|
30700
|
+
_year?: number;
|
|
30701
|
+
};
|
|
30702
|
+
Returns: {
|
|
30703
|
+
day_hours: number;
|
|
30704
|
+
earned_from_overtime_days: number;
|
|
30705
|
+
entitlement_days: number;
|
|
30706
|
+
hours_to_next_day: number;
|
|
30707
|
+
overtime_hours: number;
|
|
30708
|
+
overtime_remainder_hours: number;
|
|
30709
|
+
paid_out_days: number;
|
|
30710
|
+
remaining_days: number;
|
|
30711
|
+
used_days: number;
|
|
30712
|
+
}[];
|
|
30713
|
+
};
|
|
30714
|
+
vakantie_saldo_overzicht: {
|
|
30715
|
+
Args: {
|
|
30716
|
+
_year?: number;
|
|
30717
|
+
};
|
|
30718
|
+
Returns: {
|
|
30719
|
+
day_hours: number;
|
|
30720
|
+
earned_from_overtime_days: number;
|
|
30721
|
+
entitlement_days: number;
|
|
30722
|
+
hours_to_next_day: number;
|
|
30723
|
+
overtime_hours: number;
|
|
30724
|
+
overtime_remainder_hours: number;
|
|
30725
|
+
paid_out_days: number;
|
|
30726
|
+
remaining_days: number;
|
|
30727
|
+
used_days: number;
|
|
30728
|
+
user_id: string;
|
|
30729
|
+
}[];
|
|
30730
|
+
};
|
|
28871
30731
|
voorraad_cleanup_old_rows: {
|
|
28872
30732
|
Args: never;
|
|
28873
30733
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -28916,12 +30776,25 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28916
30776
|
};
|
|
28917
30777
|
Returns: import("../integrations/supabase/types").Json;
|
|
28918
30778
|
};
|
|
30779
|
+
wo_list_proposals: {
|
|
30780
|
+
Args: {
|
|
30781
|
+
_status?: string;
|
|
30782
|
+
};
|
|
30783
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30784
|
+
};
|
|
28919
30785
|
wo_process_offerte_request: {
|
|
28920
30786
|
Args: {
|
|
28921
30787
|
_queue_id: string;
|
|
28922
30788
|
};
|
|
28923
30789
|
Returns: import("../integrations/supabase/types").Json;
|
|
28924
30790
|
};
|
|
30791
|
+
wo_process_proposal: {
|
|
30792
|
+
Args: {
|
|
30793
|
+
_id: string;
|
|
30794
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
30795
|
+
};
|
|
30796
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30797
|
+
};
|
|
28925
30798
|
wo_reject_offerte_request: {
|
|
28926
30799
|
Args: {
|
|
28927
30800
|
_queue_id: string;
|
|
@@ -28929,6 +30802,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28929
30802
|
};
|
|
28930
30803
|
Returns: import("../integrations/supabase/types").Json;
|
|
28931
30804
|
};
|
|
30805
|
+
wo_reject_proposal: {
|
|
30806
|
+
Args: {
|
|
30807
|
+
_id: string;
|
|
30808
|
+
_reden?: string;
|
|
30809
|
+
};
|
|
30810
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30811
|
+
};
|
|
28932
30812
|
wo_set_status: {
|
|
28933
30813
|
Args: {
|
|
28934
30814
|
_reason?: string;
|