@flowselections/floriday-afhandeling-module 1.0.45 → 1.0.47
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.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +32 -9
- 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 +2422 -45
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2422 -45
- 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 +2422 -45
- 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 +2461 -42
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +4760 -6
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +11900 -15
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +43261 -42
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.js +69 -0
- package/dist-lib/lib/cartControl.functions.d.ts +26180 -33
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNote.functions.d.ts +2422 -45
- 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 +2422 -45
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +4760 -6
- 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 +2422 -45
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +2422 -45
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -755,6 +755,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
755
755
|
};
|
|
756
756
|
Relationships: [];
|
|
757
757
|
};
|
|
758
|
+
artikelen_instellingen: {
|
|
759
|
+
Row: {
|
|
760
|
+
created_at: string;
|
|
761
|
+
id: number;
|
|
762
|
+
marge_procent: number;
|
|
763
|
+
updated_at: string;
|
|
764
|
+
};
|
|
765
|
+
Insert: {
|
|
766
|
+
created_at?: string;
|
|
767
|
+
id?: number;
|
|
768
|
+
marge_procent?: number;
|
|
769
|
+
updated_at?: string;
|
|
770
|
+
};
|
|
771
|
+
Update: {
|
|
772
|
+
created_at?: string;
|
|
773
|
+
id?: number;
|
|
774
|
+
marge_procent?: number;
|
|
775
|
+
updated_at?: string;
|
|
776
|
+
};
|
|
777
|
+
Relationships: [];
|
|
778
|
+
};
|
|
758
779
|
artikelen_veldconfig: {
|
|
759
780
|
Row: {
|
|
760
781
|
bron_pad: string;
|
|
@@ -8011,6 +8032,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8011
8032
|
};
|
|
8012
8033
|
fust_types: {
|
|
8013
8034
|
Row: {
|
|
8035
|
+
capacity_units: number | null;
|
|
8014
8036
|
connection_id: string | null;
|
|
8015
8037
|
created_at: string;
|
|
8016
8038
|
custom_package_id: string | null;
|
|
@@ -8031,6 +8053,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8031
8053
|
width_mm: number | null;
|
|
8032
8054
|
};
|
|
8033
8055
|
Insert: {
|
|
8056
|
+
capacity_units?: number | null;
|
|
8034
8057
|
connection_id?: string | null;
|
|
8035
8058
|
created_at?: string;
|
|
8036
8059
|
custom_package_id?: string | null;
|
|
@@ -8051,6 +8074,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8051
8074
|
width_mm?: number | null;
|
|
8052
8075
|
};
|
|
8053
8076
|
Update: {
|
|
8077
|
+
capacity_units?: number | null;
|
|
8054
8078
|
connection_id?: string | null;
|
|
8055
8079
|
created_at?: string;
|
|
8056
8080
|
custom_package_id?: string | null;
|
|
@@ -8282,6 +8306,72 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8282
8306
|
};
|
|
8283
8307
|
Relationships: [];
|
|
8284
8308
|
};
|
|
8309
|
+
invoice_branding_settings: {
|
|
8310
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
8353
|
+
address?: string;
|
|
8354
|
+
chamber_of_commerce_number?: string;
|
|
8355
|
+
city?: string;
|
|
8356
|
+
company_name?: string;
|
|
8357
|
+
created_at?: string;
|
|
8358
|
+
email?: string;
|
|
8359
|
+
email_purpose?: string | null;
|
|
8360
|
+
iban?: string;
|
|
8361
|
+
logo_path?: string | null;
|
|
8362
|
+
payment_term_days?: number;
|
|
8363
|
+
phone?: string;
|
|
8364
|
+
postal_code?: string;
|
|
8365
|
+
primary_color?: string;
|
|
8366
|
+
secondary_color?: string;
|
|
8367
|
+
show_company_name?: boolean;
|
|
8368
|
+
singleton_key?: boolean;
|
|
8369
|
+
updated_at?: string;
|
|
8370
|
+
vat_identification_number?: string;
|
|
8371
|
+
website?: string;
|
|
8372
|
+
};
|
|
8373
|
+
Relationships: [];
|
|
8374
|
+
};
|
|
8285
8375
|
invoice_items: {
|
|
8286
8376
|
Row: {
|
|
8287
8377
|
created_at: string;
|
|
@@ -8295,6 +8385,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8295
8385
|
total_cents: number;
|
|
8296
8386
|
unit: string;
|
|
8297
8387
|
unit_price_cents: number;
|
|
8388
|
+
vat_rate: number | null;
|
|
8298
8389
|
};
|
|
8299
8390
|
Insert: {
|
|
8300
8391
|
created_at?: string;
|
|
@@ -8308,6 +8399,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8308
8399
|
total_cents?: number;
|
|
8309
8400
|
unit?: string;
|
|
8310
8401
|
unit_price_cents?: number;
|
|
8402
|
+
vat_rate?: number | null;
|
|
8311
8403
|
};
|
|
8312
8404
|
Update: {
|
|
8313
8405
|
created_at?: string;
|
|
@@ -8321,6 +8413,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8321
8413
|
total_cents?: number;
|
|
8322
8414
|
unit?: string;
|
|
8323
8415
|
unit_price_cents?: number;
|
|
8416
|
+
vat_rate?: number | null;
|
|
8324
8417
|
};
|
|
8325
8418
|
Relationships: [{
|
|
8326
8419
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8566,15 +8659,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8566
8659
|
};
|
|
8567
8660
|
invoices: {
|
|
8568
8661
|
Row: {
|
|
8662
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8569
8663
|
created_at: string;
|
|
8570
8664
|
created_by: string | null;
|
|
8665
|
+
customer_address: string | null;
|
|
8666
|
+
customer_attention: string | null;
|
|
8667
|
+
customer_city: string | null;
|
|
8571
8668
|
customer_id: string | null;
|
|
8572
8669
|
customer_name: string | null;
|
|
8670
|
+
customer_postal_code: string | null;
|
|
8671
|
+
customer_vat_number: string | null;
|
|
8672
|
+
debtor_number: string | null;
|
|
8573
8673
|
due_date: string | null;
|
|
8674
|
+
execution_date: string | null;
|
|
8574
8675
|
id: string;
|
|
8575
8676
|
invoice_date: string;
|
|
8576
8677
|
invoice_number: string | null;
|
|
8577
8678
|
note: string | null;
|
|
8679
|
+
payment_term_days: number;
|
|
8680
|
+
reference: string | null;
|
|
8681
|
+
sent_at: string | null;
|
|
8682
|
+
sent_to: string | null;
|
|
8578
8683
|
source_number: string | null;
|
|
8579
8684
|
source_ref: string | null;
|
|
8580
8685
|
source_type: string;
|
|
@@ -8584,17 +8689,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8584
8689
|
updated_at: string;
|
|
8585
8690
|
vat_cents: number;
|
|
8586
8691
|
vat_rate: number;
|
|
8692
|
+
work_address: string | null;
|
|
8587
8693
|
};
|
|
8588
8694
|
Insert: {
|
|
8695
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8589
8696
|
created_at?: string;
|
|
8590
8697
|
created_by?: string | null;
|
|
8698
|
+
customer_address?: string | null;
|
|
8699
|
+
customer_attention?: string | null;
|
|
8700
|
+
customer_city?: string | null;
|
|
8591
8701
|
customer_id?: string | null;
|
|
8592
8702
|
customer_name?: string | null;
|
|
8703
|
+
customer_postal_code?: string | null;
|
|
8704
|
+
customer_vat_number?: string | null;
|
|
8705
|
+
debtor_number?: string | null;
|
|
8593
8706
|
due_date?: string | null;
|
|
8707
|
+
execution_date?: string | null;
|
|
8594
8708
|
id?: string;
|
|
8595
8709
|
invoice_date?: string;
|
|
8596
8710
|
invoice_number?: string | null;
|
|
8597
8711
|
note?: string | null;
|
|
8712
|
+
payment_term_days?: number;
|
|
8713
|
+
reference?: string | null;
|
|
8714
|
+
sent_at?: string | null;
|
|
8715
|
+
sent_to?: string | null;
|
|
8598
8716
|
source_number?: string | null;
|
|
8599
8717
|
source_ref?: string | null;
|
|
8600
8718
|
source_type?: string;
|
|
@@ -8604,17 +8722,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8604
8722
|
updated_at?: string;
|
|
8605
8723
|
vat_cents?: number;
|
|
8606
8724
|
vat_rate?: number;
|
|
8725
|
+
work_address?: string | null;
|
|
8607
8726
|
};
|
|
8608
8727
|
Update: {
|
|
8728
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8609
8729
|
created_at?: string;
|
|
8610
8730
|
created_by?: string | null;
|
|
8731
|
+
customer_address?: string | null;
|
|
8732
|
+
customer_attention?: string | null;
|
|
8733
|
+
customer_city?: string | null;
|
|
8611
8734
|
customer_id?: string | null;
|
|
8612
8735
|
customer_name?: string | null;
|
|
8736
|
+
customer_postal_code?: string | null;
|
|
8737
|
+
customer_vat_number?: string | null;
|
|
8738
|
+
debtor_number?: string | null;
|
|
8613
8739
|
due_date?: string | null;
|
|
8740
|
+
execution_date?: string | null;
|
|
8614
8741
|
id?: string;
|
|
8615
8742
|
invoice_date?: string;
|
|
8616
8743
|
invoice_number?: string | null;
|
|
8617
8744
|
note?: string | null;
|
|
8745
|
+
payment_term_days?: number;
|
|
8746
|
+
reference?: string | null;
|
|
8747
|
+
sent_at?: string | null;
|
|
8748
|
+
sent_to?: string | null;
|
|
8618
8749
|
source_number?: string | null;
|
|
8619
8750
|
source_ref?: string | null;
|
|
8620
8751
|
source_type?: string;
|
|
@@ -8624,6 +8755,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8624
8755
|
updated_at?: string;
|
|
8625
8756
|
vat_cents?: number;
|
|
8626
8757
|
vat_rate?: number;
|
|
8758
|
+
work_address?: string | null;
|
|
8627
8759
|
};
|
|
8628
8760
|
Relationships: [{
|
|
8629
8761
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9322,6 +9454,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9322
9454
|
quantity: number;
|
|
9323
9455
|
sort_order: number;
|
|
9324
9456
|
source: string;
|
|
9457
|
+
unit: string | null;
|
|
9325
9458
|
unit_price_cents: number;
|
|
9326
9459
|
updated_at: string;
|
|
9327
9460
|
};
|
|
@@ -9335,6 +9468,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9335
9468
|
quantity?: number;
|
|
9336
9469
|
sort_order?: number;
|
|
9337
9470
|
source?: string;
|
|
9471
|
+
unit?: string | null;
|
|
9338
9472
|
unit_price_cents?: number;
|
|
9339
9473
|
updated_at?: string;
|
|
9340
9474
|
};
|
|
@@ -9348,6 +9482,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9348
9482
|
quantity?: number;
|
|
9349
9483
|
sort_order?: number;
|
|
9350
9484
|
source?: string;
|
|
9485
|
+
unit?: string | null;
|
|
9351
9486
|
unit_price_cents?: number;
|
|
9352
9487
|
updated_at?: string;
|
|
9353
9488
|
};
|
|
@@ -9371,6 +9506,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9371
9506
|
created_at: string;
|
|
9372
9507
|
default_geldigheid_dagen: number;
|
|
9373
9508
|
default_vat_rate: number;
|
|
9509
|
+
email_purpose: string | null;
|
|
9374
9510
|
id: string;
|
|
9375
9511
|
singleton: boolean;
|
|
9376
9512
|
updated_at: string;
|
|
@@ -9380,6 +9516,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9380
9516
|
created_at?: string;
|
|
9381
9517
|
default_geldigheid_dagen?: number;
|
|
9382
9518
|
default_vat_rate?: number;
|
|
9519
|
+
email_purpose?: string | null;
|
|
9383
9520
|
id?: string;
|
|
9384
9521
|
singleton?: boolean;
|
|
9385
9522
|
updated_at?: string;
|
|
@@ -9389,12 +9526,49 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9389
9526
|
created_at?: string;
|
|
9390
9527
|
default_geldigheid_dagen?: number;
|
|
9391
9528
|
default_vat_rate?: number;
|
|
9529
|
+
email_purpose?: string | null;
|
|
9392
9530
|
id?: string;
|
|
9393
9531
|
singleton?: boolean;
|
|
9394
9532
|
updated_at?: string;
|
|
9395
9533
|
};
|
|
9396
9534
|
Relationships: [];
|
|
9397
9535
|
};
|
|
9536
|
+
itk_offerte_voorstel_status: {
|
|
9537
|
+
Row: {
|
|
9538
|
+
ai_concept: import("../integrations/supabase/types").Json | null;
|
|
9539
|
+
created_at: string;
|
|
9540
|
+
id: string;
|
|
9541
|
+
offerte_id: string | null;
|
|
9542
|
+
proposal_id: string;
|
|
9543
|
+
seen_at: string | null;
|
|
9544
|
+
updated_at: string;
|
|
9545
|
+
};
|
|
9546
|
+
Insert: {
|
|
9547
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9548
|
+
created_at?: string;
|
|
9549
|
+
id?: string;
|
|
9550
|
+
offerte_id?: string | null;
|
|
9551
|
+
proposal_id: string;
|
|
9552
|
+
seen_at?: string | null;
|
|
9553
|
+
updated_at?: string;
|
|
9554
|
+
};
|
|
9555
|
+
Update: {
|
|
9556
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9557
|
+
created_at?: string;
|
|
9558
|
+
id?: string;
|
|
9559
|
+
offerte_id?: string | null;
|
|
9560
|
+
proposal_id?: string;
|
|
9561
|
+
seen_at?: string | null;
|
|
9562
|
+
updated_at?: string;
|
|
9563
|
+
};
|
|
9564
|
+
Relationships: [{
|
|
9565
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9566
|
+
columns: ["offerte_id"];
|
|
9567
|
+
isOneToOne: false;
|
|
9568
|
+
referencedRelation: "itk_offertes";
|
|
9569
|
+
referencedColumns: ["id"];
|
|
9570
|
+
}];
|
|
9571
|
+
};
|
|
9398
9572
|
itk_offerte_werkbon_queue: {
|
|
9399
9573
|
Row: {
|
|
9400
9574
|
bron_werkbon_id: string | null;
|
|
@@ -9445,6 +9619,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9445
9619
|
};
|
|
9446
9620
|
itk_offertes: {
|
|
9447
9621
|
Row: {
|
|
9622
|
+
aandachtspunten: string | null;
|
|
9448
9623
|
ai_generated: boolean;
|
|
9449
9624
|
approved_at: string | null;
|
|
9450
9625
|
binnen_mandaat: boolean;
|
|
@@ -9460,6 +9635,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9460
9635
|
notities: string | null;
|
|
9461
9636
|
offerte_number: string | null;
|
|
9462
9637
|
omschrijving: string;
|
|
9638
|
+
onderwerp: string | null;
|
|
9463
9639
|
rejected_at: string | null;
|
|
9464
9640
|
sent_at: string | null;
|
|
9465
9641
|
source_number: string | null;
|
|
@@ -9472,12 +9648,15 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9472
9648
|
valid_until: string | null;
|
|
9473
9649
|
vat_cents: number;
|
|
9474
9650
|
vat_rate: number;
|
|
9651
|
+
verzonden_naar: string | null;
|
|
9475
9652
|
viewed_at: string | null;
|
|
9476
9653
|
volgnummer: number | null;
|
|
9654
|
+
voorwaarden: string | null;
|
|
9477
9655
|
werkbon_id: string | null;
|
|
9478
9656
|
work_location_id: string | null;
|
|
9479
9657
|
};
|
|
9480
9658
|
Insert: {
|
|
9659
|
+
aandachtspunten?: string | null;
|
|
9481
9660
|
ai_generated?: boolean;
|
|
9482
9661
|
approved_at?: string | null;
|
|
9483
9662
|
binnen_mandaat?: boolean;
|
|
@@ -9493,6 +9672,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9493
9672
|
notities?: string | null;
|
|
9494
9673
|
offerte_number?: string | null;
|
|
9495
9674
|
omschrijving?: string;
|
|
9675
|
+
onderwerp?: string | null;
|
|
9496
9676
|
rejected_at?: string | null;
|
|
9497
9677
|
sent_at?: string | null;
|
|
9498
9678
|
source_number?: string | null;
|
|
@@ -9505,12 +9685,15 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9505
9685
|
valid_until?: string | null;
|
|
9506
9686
|
vat_cents?: number;
|
|
9507
9687
|
vat_rate?: number;
|
|
9688
|
+
verzonden_naar?: string | null;
|
|
9508
9689
|
viewed_at?: string | null;
|
|
9509
9690
|
volgnummer?: number | null;
|
|
9691
|
+
voorwaarden?: string | null;
|
|
9510
9692
|
werkbon_id?: string | null;
|
|
9511
9693
|
work_location_id?: string | null;
|
|
9512
9694
|
};
|
|
9513
9695
|
Update: {
|
|
9696
|
+
aandachtspunten?: string | null;
|
|
9514
9697
|
ai_generated?: boolean;
|
|
9515
9698
|
approved_at?: string | null;
|
|
9516
9699
|
binnen_mandaat?: boolean;
|
|
@@ -9526,6 +9709,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9526
9709
|
notities?: string | null;
|
|
9527
9710
|
offerte_number?: string | null;
|
|
9528
9711
|
omschrijving?: string;
|
|
9712
|
+
onderwerp?: string | null;
|
|
9529
9713
|
rejected_at?: string | null;
|
|
9530
9714
|
sent_at?: string | null;
|
|
9531
9715
|
source_number?: string | null;
|
|
@@ -9538,8 +9722,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9538
9722
|
valid_until?: string | null;
|
|
9539
9723
|
vat_cents?: number;
|
|
9540
9724
|
vat_rate?: number;
|
|
9725
|
+
verzonden_naar?: string | null;
|
|
9541
9726
|
viewed_at?: string | null;
|
|
9542
9727
|
volgnummer?: number | null;
|
|
9728
|
+
voorwaarden?: string | null;
|
|
9543
9729
|
werkbon_id?: string | null;
|
|
9544
9730
|
work_location_id?: string | null;
|
|
9545
9731
|
};
|
|
@@ -9715,6 +9901,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9715
9901
|
};
|
|
9716
9902
|
leave_requests: {
|
|
9717
9903
|
Row: {
|
|
9904
|
+
cancellation_requested_at: string | null;
|
|
9905
|
+
cancellation_status: string | null;
|
|
9718
9906
|
created_at: string;
|
|
9719
9907
|
decided_at: string | null;
|
|
9720
9908
|
decided_by: string | null;
|
|
@@ -9725,6 +9913,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9725
9913
|
leave_type: string;
|
|
9726
9914
|
monteur_id: string | null;
|
|
9727
9915
|
reason: string | null;
|
|
9916
|
+
reden_afkeur: string | null;
|
|
9728
9917
|
start_date: string;
|
|
9729
9918
|
start_time: string | null;
|
|
9730
9919
|
status: string;
|
|
@@ -9732,6 +9921,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9732
9921
|
user_id: string;
|
|
9733
9922
|
};
|
|
9734
9923
|
Insert: {
|
|
9924
|
+
cancellation_requested_at?: string | null;
|
|
9925
|
+
cancellation_status?: string | null;
|
|
9735
9926
|
created_at?: string;
|
|
9736
9927
|
decided_at?: string | null;
|
|
9737
9928
|
decided_by?: string | null;
|
|
@@ -9742,6 +9933,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9742
9933
|
leave_type?: string;
|
|
9743
9934
|
monteur_id?: string | null;
|
|
9744
9935
|
reason?: string | null;
|
|
9936
|
+
reden_afkeur?: string | null;
|
|
9745
9937
|
start_date: string;
|
|
9746
9938
|
start_time?: string | null;
|
|
9747
9939
|
status?: string;
|
|
@@ -9749,6 +9941,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9749
9941
|
user_id: string;
|
|
9750
9942
|
};
|
|
9751
9943
|
Update: {
|
|
9944
|
+
cancellation_requested_at?: string | null;
|
|
9945
|
+
cancellation_status?: string | null;
|
|
9752
9946
|
created_at?: string;
|
|
9753
9947
|
decided_at?: string | null;
|
|
9754
9948
|
decided_by?: string | null;
|
|
@@ -9759,6 +9953,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9759
9953
|
leave_type?: string;
|
|
9760
9954
|
monteur_id?: string | null;
|
|
9761
9955
|
reason?: string | null;
|
|
9956
|
+
reden_afkeur?: string | null;
|
|
9762
9957
|
start_date?: string;
|
|
9763
9958
|
start_time?: string | null;
|
|
9764
9959
|
status?: string;
|
|
@@ -10256,6 +10451,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10256
10451
|
};
|
|
10257
10452
|
Relationships: [];
|
|
10258
10453
|
};
|
|
10454
|
+
logistics_cart_barcode_archief: {
|
|
10455
|
+
Row: {
|
|
10456
|
+
barcode: string;
|
|
10457
|
+
cart_id: string;
|
|
10458
|
+
created_at: string | null;
|
|
10459
|
+
gearchiveerd_op: string;
|
|
10460
|
+
order_id: string | null;
|
|
10461
|
+
};
|
|
10462
|
+
Insert: {
|
|
10463
|
+
barcode: string;
|
|
10464
|
+
cart_id: string;
|
|
10465
|
+
created_at?: string | null;
|
|
10466
|
+
gearchiveerd_op?: string;
|
|
10467
|
+
order_id?: string | null;
|
|
10468
|
+
};
|
|
10469
|
+
Update: {
|
|
10470
|
+
barcode?: string;
|
|
10471
|
+
cart_id?: string;
|
|
10472
|
+
created_at?: string | null;
|
|
10473
|
+
gearchiveerd_op?: string;
|
|
10474
|
+
order_id?: string | null;
|
|
10475
|
+
};
|
|
10476
|
+
Relationships: [];
|
|
10477
|
+
};
|
|
10259
10478
|
logistics_control_scan: {
|
|
10260
10479
|
Row: {
|
|
10261
10480
|
approved_at: string | null;
|
|
@@ -10901,6 +11120,54 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10901
11120
|
};
|
|
10902
11121
|
Relationships: [];
|
|
10903
11122
|
};
|
|
11123
|
+
logistics_order_finalize_queue: {
|
|
11124
|
+
Row: {
|
|
11125
|
+
attempts: number;
|
|
11126
|
+
claimed_at: string | null;
|
|
11127
|
+
created_at: string;
|
|
11128
|
+
finished_at: string | null;
|
|
11129
|
+
last_error: string | null;
|
|
11130
|
+
lease_until: string | null;
|
|
11131
|
+
max_attempts: number;
|
|
11132
|
+
next_attempt_at: string;
|
|
11133
|
+
order_id: string;
|
|
11134
|
+
reason: string | null;
|
|
11135
|
+
requested_at: string;
|
|
11136
|
+
status: string;
|
|
11137
|
+
updated_at: string;
|
|
11138
|
+
};
|
|
11139
|
+
Insert: {
|
|
11140
|
+
attempts?: number;
|
|
11141
|
+
claimed_at?: string | null;
|
|
11142
|
+
created_at?: string;
|
|
11143
|
+
finished_at?: string | null;
|
|
11144
|
+
last_error?: string | null;
|
|
11145
|
+
lease_until?: string | null;
|
|
11146
|
+
max_attempts?: number;
|
|
11147
|
+
next_attempt_at?: string;
|
|
11148
|
+
order_id: string;
|
|
11149
|
+
reason?: string | null;
|
|
11150
|
+
requested_at?: string;
|
|
11151
|
+
status?: string;
|
|
11152
|
+
updated_at?: string;
|
|
11153
|
+
};
|
|
11154
|
+
Update: {
|
|
11155
|
+
attempts?: number;
|
|
11156
|
+
claimed_at?: string | null;
|
|
11157
|
+
created_at?: string;
|
|
11158
|
+
finished_at?: string | null;
|
|
11159
|
+
last_error?: string | null;
|
|
11160
|
+
lease_until?: string | null;
|
|
11161
|
+
max_attempts?: number;
|
|
11162
|
+
next_attempt_at?: string;
|
|
11163
|
+
order_id?: string;
|
|
11164
|
+
reason?: string | null;
|
|
11165
|
+
requested_at?: string;
|
|
11166
|
+
status?: string;
|
|
11167
|
+
updated_at?: string;
|
|
11168
|
+
};
|
|
11169
|
+
Relationships: [];
|
|
11170
|
+
};
|
|
10904
11171
|
logistics_order_merges: {
|
|
10905
11172
|
Row: {
|
|
10906
11173
|
group_key: string;
|
|
@@ -10937,6 +11204,72 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10937
11204
|
};
|
|
10938
11205
|
Relationships: [];
|
|
10939
11206
|
};
|
|
11207
|
+
logistics_packing_deviations: {
|
|
11208
|
+
Row: {
|
|
11209
|
+
auto_fixed_at: string | null;
|
|
11210
|
+
created_at: string;
|
|
11211
|
+
dev_key: string;
|
|
11212
|
+
first_seen_at: string;
|
|
11213
|
+
floriday_packing: import("../integrations/supabase/types").Json;
|
|
11214
|
+
human_reason: string | null;
|
|
11215
|
+
id: string;
|
|
11216
|
+
last_seen_at: string;
|
|
11217
|
+
local_packing: import("../integrations/supabase/types").Json;
|
|
11218
|
+
needs_human: boolean;
|
|
11219
|
+
order_id: string | null;
|
|
11220
|
+
order_item_id: string | null;
|
|
11221
|
+
order_number: string | null;
|
|
11222
|
+
product_id: string | null;
|
|
11223
|
+
product_name: string | null;
|
|
11224
|
+
resolved_at: string | null;
|
|
11225
|
+
scope: string;
|
|
11226
|
+
trade_item_id: string | null;
|
|
11227
|
+
updated_at: string;
|
|
11228
|
+
};
|
|
11229
|
+
Insert: {
|
|
11230
|
+
auto_fixed_at?: string | null;
|
|
11231
|
+
created_at?: string;
|
|
11232
|
+
dev_key: string;
|
|
11233
|
+
first_seen_at?: string;
|
|
11234
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11235
|
+
human_reason?: string | null;
|
|
11236
|
+
id?: string;
|
|
11237
|
+
last_seen_at?: string;
|
|
11238
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11239
|
+
needs_human?: boolean;
|
|
11240
|
+
order_id?: string | null;
|
|
11241
|
+
order_item_id?: string | null;
|
|
11242
|
+
order_number?: string | null;
|
|
11243
|
+
product_id?: string | null;
|
|
11244
|
+
product_name?: string | null;
|
|
11245
|
+
resolved_at?: string | null;
|
|
11246
|
+
scope: string;
|
|
11247
|
+
trade_item_id?: string | null;
|
|
11248
|
+
updated_at?: string;
|
|
11249
|
+
};
|
|
11250
|
+
Update: {
|
|
11251
|
+
auto_fixed_at?: string | null;
|
|
11252
|
+
created_at?: string;
|
|
11253
|
+
dev_key?: string;
|
|
11254
|
+
first_seen_at?: string;
|
|
11255
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11256
|
+
human_reason?: string | null;
|
|
11257
|
+
id?: string;
|
|
11258
|
+
last_seen_at?: string;
|
|
11259
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11260
|
+
needs_human?: boolean;
|
|
11261
|
+
order_id?: string | null;
|
|
11262
|
+
order_item_id?: string | null;
|
|
11263
|
+
order_number?: string | null;
|
|
11264
|
+
product_id?: string | null;
|
|
11265
|
+
product_name?: string | null;
|
|
11266
|
+
resolved_at?: string | null;
|
|
11267
|
+
scope?: string;
|
|
11268
|
+
trade_item_id?: string | null;
|
|
11269
|
+
updated_at?: string;
|
|
11270
|
+
};
|
|
11271
|
+
Relationships: [];
|
|
11272
|
+
};
|
|
10940
11273
|
logistics_pick_data_requests: {
|
|
10941
11274
|
Row: {
|
|
10942
11275
|
actions: import("../integrations/supabase/types").Json;
|
|
@@ -11174,14 +11507,70 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11174
11507
|
};
|
|
11175
11508
|
Relationships: [];
|
|
11176
11509
|
};
|
|
11510
|
+
logistics_planner_diff_runs: {
|
|
11511
|
+
Row: {
|
|
11512
|
+
after_snapshot: import("../integrations/supabase/types").Json | null;
|
|
11513
|
+
before_snapshot: import("../integrations/supabase/types").Json;
|
|
11514
|
+
buffer_id: string | null;
|
|
11515
|
+
carts_after: number | null;
|
|
11516
|
+
carts_before: number | null;
|
|
11517
|
+
compared_at: string | null;
|
|
11518
|
+
created_at: string;
|
|
11519
|
+
differences: import("../integrations/supabase/types").Json | null;
|
|
11520
|
+
id: string;
|
|
11521
|
+
identical: boolean | null;
|
|
11522
|
+
mode: string;
|
|
11523
|
+
order_id: string;
|
|
11524
|
+
order_ref: string | null;
|
|
11525
|
+
reason: string | null;
|
|
11526
|
+
status: string;
|
|
11527
|
+
};
|
|
11528
|
+
Insert: {
|
|
11529
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11530
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11531
|
+
buffer_id?: string | null;
|
|
11532
|
+
carts_after?: number | null;
|
|
11533
|
+
carts_before?: number | null;
|
|
11534
|
+
compared_at?: string | null;
|
|
11535
|
+
created_at?: string;
|
|
11536
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11537
|
+
id?: string;
|
|
11538
|
+
identical?: boolean | null;
|
|
11539
|
+
mode: string;
|
|
11540
|
+
order_id: string;
|
|
11541
|
+
order_ref?: string | null;
|
|
11542
|
+
reason?: string | null;
|
|
11543
|
+
status?: string;
|
|
11544
|
+
};
|
|
11545
|
+
Update: {
|
|
11546
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11547
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11548
|
+
buffer_id?: string | null;
|
|
11549
|
+
carts_after?: number | null;
|
|
11550
|
+
carts_before?: number | null;
|
|
11551
|
+
compared_at?: string | null;
|
|
11552
|
+
created_at?: string;
|
|
11553
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11554
|
+
id?: string;
|
|
11555
|
+
identical?: boolean | null;
|
|
11556
|
+
mode?: string;
|
|
11557
|
+
order_id?: string;
|
|
11558
|
+
order_ref?: string | null;
|
|
11559
|
+
reason?: string | null;
|
|
11560
|
+
status?: string;
|
|
11561
|
+
};
|
|
11562
|
+
Relationships: [];
|
|
11563
|
+
};
|
|
11177
11564
|
logistics_rebuffer_state: {
|
|
11178
11565
|
Row: {
|
|
11179
11566
|
created_at: string;
|
|
11180
11567
|
id: boolean;
|
|
11181
11568
|
last_checked: number;
|
|
11182
11569
|
last_duration_ms: number;
|
|
11570
|
+
last_mode: string | null;
|
|
11183
11571
|
last_run_at: string | null;
|
|
11184
11572
|
last_updated: number;
|
|
11573
|
+
last_would_change: number | null;
|
|
11185
11574
|
pending: boolean;
|
|
11186
11575
|
requested_at: string | null;
|
|
11187
11576
|
updated_at: string;
|
|
@@ -11191,8 +11580,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11191
11580
|
id?: boolean;
|
|
11192
11581
|
last_checked?: number;
|
|
11193
11582
|
last_duration_ms?: number;
|
|
11583
|
+
last_mode?: string | null;
|
|
11194
11584
|
last_run_at?: string | null;
|
|
11195
11585
|
last_updated?: number;
|
|
11586
|
+
last_would_change?: number | null;
|
|
11196
11587
|
pending?: boolean;
|
|
11197
11588
|
requested_at?: string | null;
|
|
11198
11589
|
updated_at?: string;
|
|
@@ -11202,8 +11593,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11202
11593
|
id?: boolean;
|
|
11203
11594
|
last_checked?: number;
|
|
11204
11595
|
last_duration_ms?: number;
|
|
11596
|
+
last_mode?: string | null;
|
|
11205
11597
|
last_run_at?: string | null;
|
|
11206
11598
|
last_updated?: number;
|
|
11599
|
+
last_would_change?: number | null;
|
|
11207
11600
|
pending?: boolean;
|
|
11208
11601
|
requested_at?: string | null;
|
|
11209
11602
|
updated_at?: string;
|
|
@@ -13199,6 +13592,42 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13199
13592
|
};
|
|
13200
13593
|
Relationships: [];
|
|
13201
13594
|
};
|
|
13595
|
+
monteur_contracten: {
|
|
13596
|
+
Row: {
|
|
13597
|
+
contract_type: string;
|
|
13598
|
+
created_at: string;
|
|
13599
|
+
days_per_week: number;
|
|
13600
|
+
hours_per_week: number;
|
|
13601
|
+
id: string;
|
|
13602
|
+
updated_at: string;
|
|
13603
|
+
user_id: string;
|
|
13604
|
+
vacation_day_hours: number;
|
|
13605
|
+
vacation_days_per_year: number;
|
|
13606
|
+
};
|
|
13607
|
+
Insert: {
|
|
13608
|
+
contract_type?: string;
|
|
13609
|
+
created_at?: string;
|
|
13610
|
+
days_per_week?: number;
|
|
13611
|
+
hours_per_week?: number;
|
|
13612
|
+
id?: string;
|
|
13613
|
+
updated_at?: string;
|
|
13614
|
+
user_id: string;
|
|
13615
|
+
vacation_day_hours?: number;
|
|
13616
|
+
vacation_days_per_year?: number;
|
|
13617
|
+
};
|
|
13618
|
+
Update: {
|
|
13619
|
+
contract_type?: string;
|
|
13620
|
+
created_at?: string;
|
|
13621
|
+
days_per_week?: number;
|
|
13622
|
+
hours_per_week?: number;
|
|
13623
|
+
id?: string;
|
|
13624
|
+
updated_at?: string;
|
|
13625
|
+
user_id?: string;
|
|
13626
|
+
vacation_day_hours?: number;
|
|
13627
|
+
vacation_days_per_year?: number;
|
|
13628
|
+
};
|
|
13629
|
+
Relationships: [];
|
|
13630
|
+
};
|
|
13202
13631
|
nmbrs_component_mapping: {
|
|
13203
13632
|
Row: {
|
|
13204
13633
|
created_at: string;
|
|
@@ -13678,6 +14107,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13678
14107
|
id: string;
|
|
13679
14108
|
items: import("../integrations/supabase/types").Json;
|
|
13680
14109
|
notes: string | null;
|
|
14110
|
+
order_creation_error: string | null;
|
|
14111
|
+
order_creation_failed_at: string | null;
|
|
14112
|
+
order_id: string | null;
|
|
13681
14113
|
order_number: string | null;
|
|
13682
14114
|
recipient_id: string;
|
|
13683
14115
|
total_amount: number;
|
|
@@ -13692,6 +14124,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13692
14124
|
id?: string;
|
|
13693
14125
|
items?: import("../integrations/supabase/types").Json;
|
|
13694
14126
|
notes?: string | null;
|
|
14127
|
+
order_creation_error?: string | null;
|
|
14128
|
+
order_creation_failed_at?: string | null;
|
|
14129
|
+
order_id?: string | null;
|
|
13695
14130
|
order_number?: string | null;
|
|
13696
14131
|
recipient_id: string;
|
|
13697
14132
|
total_amount?: number;
|
|
@@ -13706,6 +14141,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13706
14141
|
id?: string;
|
|
13707
14142
|
items?: import("../integrations/supabase/types").Json;
|
|
13708
14143
|
notes?: string | null;
|
|
14144
|
+
order_creation_error?: string | null;
|
|
14145
|
+
order_creation_failed_at?: string | null;
|
|
14146
|
+
order_id?: string | null;
|
|
13709
14147
|
order_number?: string | null;
|
|
13710
14148
|
recipient_id?: string;
|
|
13711
14149
|
total_amount?: number;
|
|
@@ -13723,10 +14161,16 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13723
14161
|
referencedRelation: "customers";
|
|
13724
14162
|
referencedColumns: ["id"];
|
|
13725
14163
|
}, {
|
|
13726
|
-
foreignKeyName: "
|
|
13727
|
-
columns: ["
|
|
14164
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14165
|
+
columns: ["order_id"];
|
|
13728
14166
|
isOneToOne: false;
|
|
13729
|
-
referencedRelation: "
|
|
14167
|
+
referencedRelation: "orders";
|
|
14168
|
+
referencedColumns: ["id"];
|
|
14169
|
+
}, {
|
|
14170
|
+
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
14171
|
+
columns: ["recipient_id"];
|
|
14172
|
+
isOneToOne: false;
|
|
14173
|
+
referencedRelation: "offer_recipients";
|
|
13730
14174
|
referencedColumns: ["id"];
|
|
13731
14175
|
}];
|
|
13732
14176
|
};
|
|
@@ -13862,6 +14306,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13862
14306
|
};
|
|
13863
14307
|
Relationships: [];
|
|
13864
14308
|
};
|
|
14309
|
+
order_block_notifications: {
|
|
14310
|
+
Row: {
|
|
14311
|
+
id: string;
|
|
14312
|
+
notified_at: string;
|
|
14313
|
+
order_id: string;
|
|
14314
|
+
reason: string | null;
|
|
14315
|
+
reason_key: string;
|
|
14316
|
+
};
|
|
14317
|
+
Insert: {
|
|
14318
|
+
id?: string;
|
|
14319
|
+
notified_at?: string;
|
|
14320
|
+
order_id: string;
|
|
14321
|
+
reason?: string | null;
|
|
14322
|
+
reason_key: string;
|
|
14323
|
+
};
|
|
14324
|
+
Update: {
|
|
14325
|
+
id?: string;
|
|
14326
|
+
notified_at?: string;
|
|
14327
|
+
order_id?: string;
|
|
14328
|
+
reason?: string | null;
|
|
14329
|
+
reason_key?: string;
|
|
14330
|
+
};
|
|
14331
|
+
Relationships: [];
|
|
14332
|
+
};
|
|
13865
14333
|
order_buffers: {
|
|
13866
14334
|
Row: {
|
|
13867
14335
|
buffer_key: string;
|
|
@@ -14293,6 +14761,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14293
14761
|
next_attempt_at: string;
|
|
14294
14762
|
order_id: string;
|
|
14295
14763
|
processed_at: string | null;
|
|
14764
|
+
send_error: string | null;
|
|
14296
14765
|
status: string;
|
|
14297
14766
|
updated_at: string;
|
|
14298
14767
|
};
|
|
@@ -14306,6 +14775,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14306
14775
|
next_attempt_at?: string;
|
|
14307
14776
|
order_id: string;
|
|
14308
14777
|
processed_at?: string | null;
|
|
14778
|
+
send_error?: string | null;
|
|
14309
14779
|
status?: string;
|
|
14310
14780
|
updated_at?: string;
|
|
14311
14781
|
};
|
|
@@ -14319,6 +14789,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14319
14789
|
next_attempt_at?: string;
|
|
14320
14790
|
order_id?: string;
|
|
14321
14791
|
processed_at?: string | null;
|
|
14792
|
+
send_error?: string | null;
|
|
14322
14793
|
status?: string;
|
|
14323
14794
|
updated_at?: string;
|
|
14324
14795
|
};
|
|
@@ -14331,10 +14802,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14331
14802
|
id: string;
|
|
14332
14803
|
layers_per_cart: number | null;
|
|
14333
14804
|
order_id: string;
|
|
14805
|
+
packing_locked_at: string | null;
|
|
14806
|
+
packing_locked_by: string | null;
|
|
14334
14807
|
plants_per_crate: number | null;
|
|
14335
14808
|
product_id: string | null;
|
|
14336
14809
|
product_name: string;
|
|
14337
14810
|
quantity: number;
|
|
14811
|
+
source_line_key: string | null;
|
|
14338
14812
|
unit: string;
|
|
14339
14813
|
unit_price: number | null;
|
|
14340
14814
|
};
|
|
@@ -14344,10 +14818,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14344
14818
|
id?: string;
|
|
14345
14819
|
layers_per_cart?: number | null;
|
|
14346
14820
|
order_id: string;
|
|
14821
|
+
packing_locked_at?: string | null;
|
|
14822
|
+
packing_locked_by?: string | null;
|
|
14347
14823
|
plants_per_crate?: number | null;
|
|
14348
14824
|
product_id?: string | null;
|
|
14349
14825
|
product_name: string;
|
|
14350
14826
|
quantity?: number;
|
|
14827
|
+
source_line_key?: string | null;
|
|
14351
14828
|
unit?: string;
|
|
14352
14829
|
unit_price?: number | null;
|
|
14353
14830
|
};
|
|
@@ -14357,10 +14834,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14357
14834
|
id?: string;
|
|
14358
14835
|
layers_per_cart?: number | null;
|
|
14359
14836
|
order_id?: string;
|
|
14837
|
+
packing_locked_at?: string | null;
|
|
14838
|
+
packing_locked_by?: string | null;
|
|
14360
14839
|
plants_per_crate?: number | null;
|
|
14361
14840
|
product_id?: string | null;
|
|
14362
14841
|
product_name?: string;
|
|
14363
14842
|
quantity?: number;
|
|
14843
|
+
source_line_key?: string | null;
|
|
14364
14844
|
unit?: string;
|
|
14365
14845
|
unit_price?: number | null;
|
|
14366
14846
|
};
|
|
@@ -15648,18 +16128,24 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
15648
16128
|
Row: {
|
|
15649
16129
|
id: boolean;
|
|
15650
16130
|
last_cleanup_at: string | null;
|
|
16131
|
+
last_error: string | null;
|
|
16132
|
+
last_error_at: string | null;
|
|
15651
16133
|
last_sync_at: string | null;
|
|
15652
16134
|
updated_at: string;
|
|
15653
16135
|
};
|
|
15654
16136
|
Insert: {
|
|
15655
16137
|
id?: boolean;
|
|
15656
16138
|
last_cleanup_at?: string | null;
|
|
16139
|
+
last_error?: string | null;
|
|
16140
|
+
last_error_at?: string | null;
|
|
15657
16141
|
last_sync_at?: string | null;
|
|
15658
16142
|
updated_at?: string;
|
|
15659
16143
|
};
|
|
15660
16144
|
Update: {
|
|
15661
16145
|
id?: boolean;
|
|
15662
16146
|
last_cleanup_at?: string | null;
|
|
16147
|
+
last_error?: string | null;
|
|
16148
|
+
last_error_at?: string | null;
|
|
15663
16149
|
last_sync_at?: string | null;
|
|
15664
16150
|
updated_at?: string;
|
|
15665
16151
|
};
|
|
@@ -15785,6 +16271,54 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
15785
16271
|
};
|
|
15786
16272
|
Relationships: [];
|
|
15787
16273
|
};
|
|
16274
|
+
planning_confirmation_log: {
|
|
16275
|
+
Row: {
|
|
16276
|
+
created_at: string;
|
|
16277
|
+
end_at: string;
|
|
16278
|
+
id: string;
|
|
16279
|
+
outbox_id: string | null;
|
|
16280
|
+
planning_item_id: string;
|
|
16281
|
+
reason: string | null;
|
|
16282
|
+
recipient: string | null;
|
|
16283
|
+
start_at: string;
|
|
16284
|
+
status: string;
|
|
16285
|
+
};
|
|
16286
|
+
Insert: {
|
|
16287
|
+
created_at?: string;
|
|
16288
|
+
end_at: string;
|
|
16289
|
+
id?: string;
|
|
16290
|
+
outbox_id?: string | null;
|
|
16291
|
+
planning_item_id: string;
|
|
16292
|
+
reason?: string | null;
|
|
16293
|
+
recipient?: string | null;
|
|
16294
|
+
start_at: string;
|
|
16295
|
+
status: string;
|
|
16296
|
+
};
|
|
16297
|
+
Update: {
|
|
16298
|
+
created_at?: string;
|
|
16299
|
+
end_at?: string;
|
|
16300
|
+
id?: string;
|
|
16301
|
+
outbox_id?: string | null;
|
|
16302
|
+
planning_item_id?: string;
|
|
16303
|
+
reason?: string | null;
|
|
16304
|
+
recipient?: string | null;
|
|
16305
|
+
start_at?: string;
|
|
16306
|
+
status?: string;
|
|
16307
|
+
};
|
|
16308
|
+
Relationships: [{
|
|
16309
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16310
|
+
columns: ["planning_item_id"];
|
|
16311
|
+
isOneToOne: false;
|
|
16312
|
+
referencedRelation: "planning_items";
|
|
16313
|
+
referencedColumns: ["id"];
|
|
16314
|
+
}, {
|
|
16315
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16316
|
+
columns: ["planning_item_id"];
|
|
16317
|
+
isOneToOne: false;
|
|
16318
|
+
referencedRelation: "planning_overview";
|
|
16319
|
+
referencedColumns: ["id"];
|
|
16320
|
+
}];
|
|
16321
|
+
};
|
|
15788
16322
|
planning_item_assistants: {
|
|
15789
16323
|
Row: {
|
|
15790
16324
|
created_at: string;
|
|
@@ -15869,6 +16403,249 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
15869
16403
|
referencedColumns: ["id"];
|
|
15870
16404
|
}];
|
|
15871
16405
|
};
|
|
16406
|
+
planning_mail_settings: {
|
|
16407
|
+
Row: {
|
|
16408
|
+
body_template: string;
|
|
16409
|
+
cc: string[];
|
|
16410
|
+
connection_id: string | null;
|
|
16411
|
+
created_at: string;
|
|
16412
|
+
enabled: boolean;
|
|
16413
|
+
id: boolean;
|
|
16414
|
+
reply_to: string | null;
|
|
16415
|
+
subject_template: string;
|
|
16416
|
+
timezone: string;
|
|
16417
|
+
updated_at: string;
|
|
16418
|
+
updated_by: string | null;
|
|
16419
|
+
};
|
|
16420
|
+
Insert: {
|
|
16421
|
+
body_template?: string;
|
|
16422
|
+
cc?: string[];
|
|
16423
|
+
connection_id?: string | null;
|
|
16424
|
+
created_at?: string;
|
|
16425
|
+
enabled?: boolean;
|
|
16426
|
+
id?: boolean;
|
|
16427
|
+
reply_to?: string | null;
|
|
16428
|
+
subject_template?: string;
|
|
16429
|
+
timezone?: string;
|
|
16430
|
+
updated_at?: string;
|
|
16431
|
+
updated_by?: string | null;
|
|
16432
|
+
};
|
|
16433
|
+
Update: {
|
|
16434
|
+
body_template?: string;
|
|
16435
|
+
cc?: string[];
|
|
16436
|
+
connection_id?: string | null;
|
|
16437
|
+
created_at?: string;
|
|
16438
|
+
enabled?: boolean;
|
|
16439
|
+
id?: boolean;
|
|
16440
|
+
reply_to?: string | null;
|
|
16441
|
+
subject_template?: string;
|
|
16442
|
+
timezone?: string;
|
|
16443
|
+
updated_at?: string;
|
|
16444
|
+
updated_by?: string | null;
|
|
16445
|
+
};
|
|
16446
|
+
Relationships: [{
|
|
16447
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16448
|
+
columns: ["connection_id"];
|
|
16449
|
+
isOneToOne: false;
|
|
16450
|
+
referencedRelation: "email_auth_connections";
|
|
16451
|
+
referencedColumns: ["id"];
|
|
16452
|
+
}, {
|
|
16453
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16454
|
+
columns: ["connection_id"];
|
|
16455
|
+
isOneToOne: false;
|
|
16456
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16457
|
+
referencedColumns: ["id"];
|
|
16458
|
+
}];
|
|
16459
|
+
};
|
|
16460
|
+
planning_monteur_day_locations: {
|
|
16461
|
+
Row: {
|
|
16462
|
+
created_at: string;
|
|
16463
|
+
day: string;
|
|
16464
|
+
end_at: string;
|
|
16465
|
+
id: string;
|
|
16466
|
+
monteur_id: string;
|
|
16467
|
+
start_from: string;
|
|
16468
|
+
updated_at: string;
|
|
16469
|
+
};
|
|
16470
|
+
Insert: {
|
|
16471
|
+
created_at?: string;
|
|
16472
|
+
day: string;
|
|
16473
|
+
end_at?: string;
|
|
16474
|
+
id?: string;
|
|
16475
|
+
monteur_id: string;
|
|
16476
|
+
start_from?: string;
|
|
16477
|
+
updated_at?: string;
|
|
16478
|
+
};
|
|
16479
|
+
Update: {
|
|
16480
|
+
created_at?: string;
|
|
16481
|
+
day?: string;
|
|
16482
|
+
end_at?: string;
|
|
16483
|
+
id?: string;
|
|
16484
|
+
monteur_id?: string;
|
|
16485
|
+
start_from?: string;
|
|
16486
|
+
updated_at?: string;
|
|
16487
|
+
};
|
|
16488
|
+
Relationships: [];
|
|
16489
|
+
};
|
|
16490
|
+
planning_monteur_locations: {
|
|
16491
|
+
Row: {
|
|
16492
|
+
created_at: string;
|
|
16493
|
+
default_end: string;
|
|
16494
|
+
default_start: string;
|
|
16495
|
+
end_address: string | null;
|
|
16496
|
+
home_address: string | null;
|
|
16497
|
+
id: string;
|
|
16498
|
+
monteur_id: string;
|
|
16499
|
+
start_address: string | null;
|
|
16500
|
+
updated_at: string;
|
|
16501
|
+
};
|
|
16502
|
+
Insert: {
|
|
16503
|
+
created_at?: string;
|
|
16504
|
+
default_end?: string;
|
|
16505
|
+
default_start?: string;
|
|
16506
|
+
end_address?: string | null;
|
|
16507
|
+
home_address?: string | null;
|
|
16508
|
+
id?: string;
|
|
16509
|
+
monteur_id: string;
|
|
16510
|
+
start_address?: string | null;
|
|
16511
|
+
updated_at?: string;
|
|
16512
|
+
};
|
|
16513
|
+
Update: {
|
|
16514
|
+
created_at?: string;
|
|
16515
|
+
default_end?: string;
|
|
16516
|
+
default_start?: string;
|
|
16517
|
+
end_address?: string | null;
|
|
16518
|
+
home_address?: string | null;
|
|
16519
|
+
id?: string;
|
|
16520
|
+
monteur_id?: string;
|
|
16521
|
+
start_address?: string | null;
|
|
16522
|
+
updated_at?: string;
|
|
16523
|
+
};
|
|
16524
|
+
Relationships: [];
|
|
16525
|
+
};
|
|
16526
|
+
planning_settings: {
|
|
16527
|
+
Row: {
|
|
16528
|
+
company_address: string | null;
|
|
16529
|
+
created_at: string;
|
|
16530
|
+
id: string;
|
|
16531
|
+
singleton: boolean;
|
|
16532
|
+
updated_at: string;
|
|
16533
|
+
};
|
|
16534
|
+
Insert: {
|
|
16535
|
+
company_address?: string | null;
|
|
16536
|
+
created_at?: string;
|
|
16537
|
+
id?: string;
|
|
16538
|
+
singleton?: boolean;
|
|
16539
|
+
updated_at?: string;
|
|
16540
|
+
};
|
|
16541
|
+
Update: {
|
|
16542
|
+
company_address?: string | null;
|
|
16543
|
+
created_at?: string;
|
|
16544
|
+
id?: string;
|
|
16545
|
+
singleton?: boolean;
|
|
16546
|
+
updated_at?: string;
|
|
16547
|
+
};
|
|
16548
|
+
Relationships: [];
|
|
16549
|
+
};
|
|
16550
|
+
planning_travel_legs: {
|
|
16551
|
+
Row: {
|
|
16552
|
+
after_min: number;
|
|
16553
|
+
after_reason: string | null;
|
|
16554
|
+
after_status: string;
|
|
16555
|
+
after_to_address: string | null;
|
|
16556
|
+
before_from_address: string | null;
|
|
16557
|
+
before_min: number;
|
|
16558
|
+
before_reason: string | null;
|
|
16559
|
+
before_status: string;
|
|
16560
|
+
computed_at: string;
|
|
16561
|
+
computed_end_at: string | null;
|
|
16562
|
+
computed_start_at: string | null;
|
|
16563
|
+
created_at: string;
|
|
16564
|
+
id: string;
|
|
16565
|
+
monteur_id: string;
|
|
16566
|
+
planning_item_id: string;
|
|
16567
|
+
shared_after_item_id: string | null;
|
|
16568
|
+
shared_before_item_id: string | null;
|
|
16569
|
+
updated_at: string;
|
|
16570
|
+
};
|
|
16571
|
+
Insert: {
|
|
16572
|
+
after_min?: number;
|
|
16573
|
+
after_reason?: string | null;
|
|
16574
|
+
after_status?: string;
|
|
16575
|
+
after_to_address?: string | null;
|
|
16576
|
+
before_from_address?: string | null;
|
|
16577
|
+
before_min?: number;
|
|
16578
|
+
before_reason?: string | null;
|
|
16579
|
+
before_status?: string;
|
|
16580
|
+
computed_at?: string;
|
|
16581
|
+
computed_end_at?: string | null;
|
|
16582
|
+
computed_start_at?: string | null;
|
|
16583
|
+
created_at?: string;
|
|
16584
|
+
id?: string;
|
|
16585
|
+
monteur_id: string;
|
|
16586
|
+
planning_item_id: string;
|
|
16587
|
+
shared_after_item_id?: string | null;
|
|
16588
|
+
shared_before_item_id?: string | null;
|
|
16589
|
+
updated_at?: string;
|
|
16590
|
+
};
|
|
16591
|
+
Update: {
|
|
16592
|
+
after_min?: number;
|
|
16593
|
+
after_reason?: string | null;
|
|
16594
|
+
after_status?: string;
|
|
16595
|
+
after_to_address?: string | null;
|
|
16596
|
+
before_from_address?: string | null;
|
|
16597
|
+
before_min?: number;
|
|
16598
|
+
before_reason?: string | null;
|
|
16599
|
+
before_status?: string;
|
|
16600
|
+
computed_at?: string;
|
|
16601
|
+
computed_end_at?: string | null;
|
|
16602
|
+
computed_start_at?: string | null;
|
|
16603
|
+
created_at?: string;
|
|
16604
|
+
id?: string;
|
|
16605
|
+
monteur_id?: string;
|
|
16606
|
+
planning_item_id?: string;
|
|
16607
|
+
shared_after_item_id?: string | null;
|
|
16608
|
+
shared_before_item_id?: string | null;
|
|
16609
|
+
updated_at?: string;
|
|
16610
|
+
};
|
|
16611
|
+
Relationships: [{
|
|
16612
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16613
|
+
columns: ["planning_item_id"];
|
|
16614
|
+
isOneToOne: false;
|
|
16615
|
+
referencedRelation: "planning_items";
|
|
16616
|
+
referencedColumns: ["id"];
|
|
16617
|
+
}, {
|
|
16618
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16619
|
+
columns: ["planning_item_id"];
|
|
16620
|
+
isOneToOne: false;
|
|
16621
|
+
referencedRelation: "planning_overview";
|
|
16622
|
+
referencedColumns: ["id"];
|
|
16623
|
+
}, {
|
|
16624
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16625
|
+
columns: ["shared_after_item_id"];
|
|
16626
|
+
isOneToOne: false;
|
|
16627
|
+
referencedRelation: "planning_items";
|
|
16628
|
+
referencedColumns: ["id"];
|
|
16629
|
+
}, {
|
|
16630
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16631
|
+
columns: ["shared_after_item_id"];
|
|
16632
|
+
isOneToOne: false;
|
|
16633
|
+
referencedRelation: "planning_overview";
|
|
16634
|
+
referencedColumns: ["id"];
|
|
16635
|
+
}, {
|
|
16636
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16637
|
+
columns: ["shared_before_item_id"];
|
|
16638
|
+
isOneToOne: false;
|
|
16639
|
+
referencedRelation: "planning_items";
|
|
16640
|
+
referencedColumns: ["id"];
|
|
16641
|
+
}, {
|
|
16642
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16643
|
+
columns: ["shared_before_item_id"];
|
|
16644
|
+
isOneToOne: false;
|
|
16645
|
+
referencedRelation: "planning_overview";
|
|
16646
|
+
referencedColumns: ["id"];
|
|
16647
|
+
}];
|
|
16648
|
+
};
|
|
15872
16649
|
price_list_rows: {
|
|
15873
16650
|
Row: {
|
|
15874
16651
|
action: string;
|
|
@@ -17041,6 +17818,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17041
17818
|
};
|
|
17042
17819
|
product_load_settings: {
|
|
17043
17820
|
Row: {
|
|
17821
|
+
build: import("../integrations/supabase/types").Json | null;
|
|
17822
|
+
build_status: string;
|
|
17044
17823
|
created_at: string;
|
|
17045
17824
|
id: string;
|
|
17046
17825
|
is_package: boolean;
|
|
@@ -17058,6 +17837,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17058
17837
|
updated_at: string;
|
|
17059
17838
|
};
|
|
17060
17839
|
Insert: {
|
|
17840
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17841
|
+
build_status?: string;
|
|
17061
17842
|
created_at?: string;
|
|
17062
17843
|
id?: string;
|
|
17063
17844
|
is_package?: boolean;
|
|
@@ -17075,6 +17856,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17075
17856
|
updated_at?: string;
|
|
17076
17857
|
};
|
|
17077
17858
|
Update: {
|
|
17859
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17860
|
+
build_status?: string;
|
|
17078
17861
|
created_at?: string;
|
|
17079
17862
|
id?: string;
|
|
17080
17863
|
is_package?: boolean;
|
|
@@ -17144,33 +17927,146 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17144
17927
|
};
|
|
17145
17928
|
Relationships: [];
|
|
17146
17929
|
};
|
|
17147
|
-
|
|
17930
|
+
product_suppliers: {
|
|
17148
17931
|
Row: {
|
|
17149
|
-
article_number: string | null;
|
|
17150
|
-
barcode: string | null;
|
|
17151
|
-
batch: string;
|
|
17152
|
-
crates_per_layer: number;
|
|
17153
17932
|
created_at: string;
|
|
17154
|
-
custom_fields: import("../integrations/supabase/types").Json;
|
|
17155
|
-
floriday_trade_item_id: string | null;
|
|
17156
|
-
fust_type_id: string | null;
|
|
17157
17933
|
id: string;
|
|
17158
|
-
|
|
17159
|
-
|
|
17160
|
-
|
|
17161
|
-
|
|
17162
|
-
|
|
17163
|
-
|
|
17164
|
-
|
|
17165
|
-
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
|
|
17170
|
-
|
|
17171
|
-
|
|
17172
|
-
|
|
17173
|
-
|
|
17934
|
+
is_preferred: boolean;
|
|
17935
|
+
lead_time_days: number | null;
|
|
17936
|
+
min_order_quantity: number | null;
|
|
17937
|
+
notes: string | null;
|
|
17938
|
+
previous_price_cents: number | null;
|
|
17939
|
+
price_source: string;
|
|
17940
|
+
price_updated_at: string | null;
|
|
17941
|
+
product_id: string;
|
|
17942
|
+
purchase_price_cents: number | null;
|
|
17943
|
+
supplier_article_number: string | null;
|
|
17944
|
+
supplier_id: string;
|
|
17945
|
+
updated_at: string;
|
|
17946
|
+
};
|
|
17947
|
+
Insert: {
|
|
17948
|
+
created_at?: string;
|
|
17949
|
+
id?: string;
|
|
17950
|
+
is_preferred?: boolean;
|
|
17951
|
+
lead_time_days?: number | null;
|
|
17952
|
+
min_order_quantity?: number | null;
|
|
17953
|
+
notes?: string | null;
|
|
17954
|
+
previous_price_cents?: number | null;
|
|
17955
|
+
price_source?: string;
|
|
17956
|
+
price_updated_at?: string | null;
|
|
17957
|
+
product_id: string;
|
|
17958
|
+
purchase_price_cents?: number | null;
|
|
17959
|
+
supplier_article_number?: string | null;
|
|
17960
|
+
supplier_id: string;
|
|
17961
|
+
updated_at?: string;
|
|
17962
|
+
};
|
|
17963
|
+
Update: {
|
|
17964
|
+
created_at?: string;
|
|
17965
|
+
id?: string;
|
|
17966
|
+
is_preferred?: boolean;
|
|
17967
|
+
lead_time_days?: number | null;
|
|
17968
|
+
min_order_quantity?: number | null;
|
|
17969
|
+
notes?: string | null;
|
|
17970
|
+
previous_price_cents?: number | null;
|
|
17971
|
+
price_source?: string;
|
|
17972
|
+
price_updated_at?: string | null;
|
|
17973
|
+
product_id?: string;
|
|
17974
|
+
purchase_price_cents?: number | null;
|
|
17975
|
+
supplier_article_number?: string | null;
|
|
17976
|
+
supplier_id?: string;
|
|
17977
|
+
updated_at?: string;
|
|
17978
|
+
};
|
|
17979
|
+
Relationships: [{
|
|
17980
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17981
|
+
columns: ["product_id"];
|
|
17982
|
+
isOneToOne: false;
|
|
17983
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17984
|
+
referencedColumns: ["product_id"];
|
|
17985
|
+
}, {
|
|
17986
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17987
|
+
columns: ["product_id"];
|
|
17988
|
+
isOneToOne: false;
|
|
17989
|
+
referencedRelation: "products";
|
|
17990
|
+
referencedColumns: ["id"];
|
|
17991
|
+
}, {
|
|
17992
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17993
|
+
columns: ["supplier_id"];
|
|
17994
|
+
isOneToOne: false;
|
|
17995
|
+
referencedRelation: "suppliers";
|
|
17996
|
+
referencedColumns: ["id"];
|
|
17997
|
+
}];
|
|
17998
|
+
};
|
|
17999
|
+
product_tray_stickers: {
|
|
18000
|
+
Row: {
|
|
18001
|
+
bestand_url: string;
|
|
18002
|
+
bestandsgrootte: number | null;
|
|
18003
|
+
bestandsnaam: string | null;
|
|
18004
|
+
bestandspad: string | null;
|
|
18005
|
+
created_at: string;
|
|
18006
|
+
product_id: string;
|
|
18007
|
+
updated_at: string;
|
|
18008
|
+
};
|
|
18009
|
+
Insert: {
|
|
18010
|
+
bestand_url: string;
|
|
18011
|
+
bestandsgrootte?: number | null;
|
|
18012
|
+
bestandsnaam?: string | null;
|
|
18013
|
+
bestandspad?: string | null;
|
|
18014
|
+
created_at?: string;
|
|
18015
|
+
product_id: string;
|
|
18016
|
+
updated_at?: string;
|
|
18017
|
+
};
|
|
18018
|
+
Update: {
|
|
18019
|
+
bestand_url?: string;
|
|
18020
|
+
bestandsgrootte?: number | null;
|
|
18021
|
+
bestandsnaam?: string | null;
|
|
18022
|
+
bestandspad?: string | null;
|
|
18023
|
+
created_at?: string;
|
|
18024
|
+
product_id?: string;
|
|
18025
|
+
updated_at?: string;
|
|
18026
|
+
};
|
|
18027
|
+
Relationships: [{
|
|
18028
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18029
|
+
columns: ["product_id"];
|
|
18030
|
+
isOneToOne: true;
|
|
18031
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18032
|
+
referencedColumns: ["product_id"];
|
|
18033
|
+
}, {
|
|
18034
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18035
|
+
columns: ["product_id"];
|
|
18036
|
+
isOneToOne: true;
|
|
18037
|
+
referencedRelation: "products";
|
|
18038
|
+
referencedColumns: ["id"];
|
|
18039
|
+
}];
|
|
18040
|
+
};
|
|
18041
|
+
products: {
|
|
18042
|
+
Row: {
|
|
18043
|
+
article_number: string | null;
|
|
18044
|
+
barcode: string | null;
|
|
18045
|
+
batch: string;
|
|
18046
|
+
crates_per_layer: number;
|
|
18047
|
+
created_at: string;
|
|
18048
|
+
custom_fields: import("../integrations/supabase/types").Json;
|
|
18049
|
+
floriday_packing_confirmed_at: string | null;
|
|
18050
|
+
floriday_packing_source: string | null;
|
|
18051
|
+
floriday_trade_item_id: string | null;
|
|
18052
|
+
fust_type_id: string | null;
|
|
18053
|
+
id: string;
|
|
18054
|
+
image_url: string | null;
|
|
18055
|
+
incoming_quantity: number;
|
|
18056
|
+
is_layer: boolean;
|
|
18057
|
+
layers_per_cart: number;
|
|
18058
|
+
location: string;
|
|
18059
|
+
min_quantity: number;
|
|
18060
|
+
plant_height_cm: number | null;
|
|
18061
|
+
plants_per_crate: number;
|
|
18062
|
+
product: string;
|
|
18063
|
+
product_type: string;
|
|
18064
|
+
purchase_price: number | null;
|
|
18065
|
+
quantity: number;
|
|
18066
|
+
sale_price: number | null;
|
|
18067
|
+
trade_item_key: string | null;
|
|
18068
|
+
unit: string;
|
|
18069
|
+
updated_at: string;
|
|
17174
18070
|
weight: string | null;
|
|
17175
18071
|
};
|
|
17176
18072
|
Insert: {
|
|
@@ -17180,6 +18076,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17180
18076
|
crates_per_layer?: number;
|
|
17181
18077
|
created_at?: string;
|
|
17182
18078
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
18079
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18080
|
+
floriday_packing_source?: string | null;
|
|
17183
18081
|
floriday_trade_item_id?: string | null;
|
|
17184
18082
|
fust_type_id?: string | null;
|
|
17185
18083
|
id?: string;
|
|
@@ -17208,6 +18106,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17208
18106
|
crates_per_layer?: number;
|
|
17209
18107
|
created_at?: string;
|
|
17210
18108
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
18109
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18110
|
+
floriday_packing_source?: string | null;
|
|
17211
18111
|
floriday_trade_item_id?: string | null;
|
|
17212
18112
|
fust_type_id?: string | null;
|
|
17213
18113
|
id?: string;
|
|
@@ -17307,6 +18207,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17307
18207
|
id: string;
|
|
17308
18208
|
is_superadmin: boolean;
|
|
17309
18209
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
18210
|
+
phone: string | null;
|
|
17310
18211
|
tenant_id: string | null;
|
|
17311
18212
|
updated_at: string;
|
|
17312
18213
|
};
|
|
@@ -17319,6 +18220,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17319
18220
|
id: string;
|
|
17320
18221
|
is_superadmin?: boolean;
|
|
17321
18222
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18223
|
+
phone?: string | null;
|
|
17322
18224
|
tenant_id?: string | null;
|
|
17323
18225
|
updated_at?: string;
|
|
17324
18226
|
};
|
|
@@ -17331,6 +18233,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17331
18233
|
id?: string;
|
|
17332
18234
|
is_superadmin?: boolean;
|
|
17333
18235
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18236
|
+
phone?: string | null;
|
|
17334
18237
|
tenant_id?: string | null;
|
|
17335
18238
|
updated_at?: string;
|
|
17336
18239
|
};
|
|
@@ -17597,9 +18500,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17597
18500
|
purchase_order_items: {
|
|
17598
18501
|
Row: {
|
|
17599
18502
|
article_number: string | null;
|
|
18503
|
+
cancel_reason: string | null;
|
|
18504
|
+
cancelled_at: string | null;
|
|
17600
18505
|
created_at: string;
|
|
17601
18506
|
delivery_date: string | null;
|
|
17602
18507
|
id: string;
|
|
18508
|
+
incoming_booked: number;
|
|
18509
|
+
line_status: string;
|
|
17603
18510
|
name: string;
|
|
17604
18511
|
note: string | null;
|
|
17605
18512
|
pot_size: string | null;
|
|
@@ -17607,6 +18514,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17607
18514
|
product_type: string;
|
|
17608
18515
|
purchase_order_id: string;
|
|
17609
18516
|
quantity: number;
|
|
18517
|
+
received_at: string | null;
|
|
18518
|
+
received_booked: number;
|
|
17610
18519
|
supplier_id: string | null;
|
|
17611
18520
|
supplier_product_id: string | null;
|
|
17612
18521
|
unit_price_cents: number;
|
|
@@ -17614,9 +18523,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17614
18523
|
};
|
|
17615
18524
|
Insert: {
|
|
17616
18525
|
article_number?: string | null;
|
|
18526
|
+
cancel_reason?: string | null;
|
|
18527
|
+
cancelled_at?: string | null;
|
|
17617
18528
|
created_at?: string;
|
|
17618
18529
|
delivery_date?: string | null;
|
|
17619
18530
|
id?: string;
|
|
18531
|
+
incoming_booked?: number;
|
|
18532
|
+
line_status?: string;
|
|
17620
18533
|
name?: string;
|
|
17621
18534
|
note?: string | null;
|
|
17622
18535
|
pot_size?: string | null;
|
|
@@ -17624,6 +18537,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17624
18537
|
product_type?: string;
|
|
17625
18538
|
purchase_order_id: string;
|
|
17626
18539
|
quantity?: number;
|
|
18540
|
+
received_at?: string | null;
|
|
18541
|
+
received_booked?: number;
|
|
17627
18542
|
supplier_id?: string | null;
|
|
17628
18543
|
supplier_product_id?: string | null;
|
|
17629
18544
|
unit_price_cents?: number;
|
|
@@ -17631,9 +18546,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17631
18546
|
};
|
|
17632
18547
|
Update: {
|
|
17633
18548
|
article_number?: string | null;
|
|
18549
|
+
cancel_reason?: string | null;
|
|
18550
|
+
cancelled_at?: string | null;
|
|
17634
18551
|
created_at?: string;
|
|
17635
18552
|
delivery_date?: string | null;
|
|
17636
18553
|
id?: string;
|
|
18554
|
+
incoming_booked?: number;
|
|
18555
|
+
line_status?: string;
|
|
17637
18556
|
name?: string;
|
|
17638
18557
|
note?: string | null;
|
|
17639
18558
|
pot_size?: string | null;
|
|
@@ -17641,6 +18560,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17641
18560
|
product_type?: string;
|
|
17642
18561
|
purchase_order_id?: string;
|
|
17643
18562
|
quantity?: number;
|
|
18563
|
+
received_at?: string | null;
|
|
18564
|
+
received_booked?: number;
|
|
17644
18565
|
supplier_id?: string | null;
|
|
17645
18566
|
supplier_product_id?: string | null;
|
|
17646
18567
|
unit_price_cents?: number;
|
|
@@ -17744,6 +18665,153 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17744
18665
|
referencedColumns: ["id"];
|
|
17745
18666
|
}];
|
|
17746
18667
|
};
|
|
18668
|
+
purchase_request_events: {
|
|
18669
|
+
Row: {
|
|
18670
|
+
created_at: string;
|
|
18671
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18672
|
+
event_type: string;
|
|
18673
|
+
id: string;
|
|
18674
|
+
request_id: string;
|
|
18675
|
+
};
|
|
18676
|
+
Insert: {
|
|
18677
|
+
created_at?: string;
|
|
18678
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18679
|
+
event_type: string;
|
|
18680
|
+
id?: string;
|
|
18681
|
+
request_id: string;
|
|
18682
|
+
};
|
|
18683
|
+
Update: {
|
|
18684
|
+
created_at?: string;
|
|
18685
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18686
|
+
event_type?: string;
|
|
18687
|
+
id?: string;
|
|
18688
|
+
request_id?: string;
|
|
18689
|
+
};
|
|
18690
|
+
Relationships: [{
|
|
18691
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18692
|
+
columns: ["request_id"];
|
|
18693
|
+
isOneToOne: false;
|
|
18694
|
+
referencedRelation: "purchase_requests";
|
|
18695
|
+
referencedColumns: ["id"];
|
|
18696
|
+
}];
|
|
18697
|
+
};
|
|
18698
|
+
purchase_request_responses: {
|
|
18699
|
+
Row: {
|
|
18700
|
+
confirmed_date: string | null;
|
|
18701
|
+
confirmed_price_cents: number | null;
|
|
18702
|
+
confirmed_quantity: number;
|
|
18703
|
+
created_at: string;
|
|
18704
|
+
id: string;
|
|
18705
|
+
not_available: boolean;
|
|
18706
|
+
note: string | null;
|
|
18707
|
+
purchase_order_item_id: string;
|
|
18708
|
+
request_id: string;
|
|
18709
|
+
updated_at: string;
|
|
18710
|
+
};
|
|
18711
|
+
Insert: {
|
|
18712
|
+
confirmed_date?: string | null;
|
|
18713
|
+
confirmed_price_cents?: number | null;
|
|
18714
|
+
confirmed_quantity?: number;
|
|
18715
|
+
created_at?: string;
|
|
18716
|
+
id?: string;
|
|
18717
|
+
not_available?: boolean;
|
|
18718
|
+
note?: string | null;
|
|
18719
|
+
purchase_order_item_id: string;
|
|
18720
|
+
request_id: string;
|
|
18721
|
+
updated_at?: string;
|
|
18722
|
+
};
|
|
18723
|
+
Update: {
|
|
18724
|
+
confirmed_date?: string | null;
|
|
18725
|
+
confirmed_price_cents?: number | null;
|
|
18726
|
+
confirmed_quantity?: number;
|
|
18727
|
+
created_at?: string;
|
|
18728
|
+
id?: string;
|
|
18729
|
+
not_available?: boolean;
|
|
18730
|
+
note?: string | null;
|
|
18731
|
+
purchase_order_item_id?: string;
|
|
18732
|
+
request_id?: string;
|
|
18733
|
+
updated_at?: string;
|
|
18734
|
+
};
|
|
18735
|
+
Relationships: [{
|
|
18736
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18737
|
+
columns: ["purchase_order_item_id"];
|
|
18738
|
+
isOneToOne: false;
|
|
18739
|
+
referencedRelation: "purchase_order_items";
|
|
18740
|
+
referencedColumns: ["id"];
|
|
18741
|
+
}, {
|
|
18742
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18743
|
+
columns: ["request_id"];
|
|
18744
|
+
isOneToOne: false;
|
|
18745
|
+
referencedRelation: "purchase_requests";
|
|
18746
|
+
referencedColumns: ["id"];
|
|
18747
|
+
}];
|
|
18748
|
+
};
|
|
18749
|
+
purchase_requests: {
|
|
18750
|
+
Row: {
|
|
18751
|
+
created_at: string;
|
|
18752
|
+
expires_at: string;
|
|
18753
|
+
first_viewed_at: string | null;
|
|
18754
|
+
id: string;
|
|
18755
|
+
processed_at: string | null;
|
|
18756
|
+
purchase_order_id: string;
|
|
18757
|
+
responded_at: string | null;
|
|
18758
|
+
sent_at: string;
|
|
18759
|
+
status: string;
|
|
18760
|
+
supplier_id: string | null;
|
|
18761
|
+
supplier_name: string;
|
|
18762
|
+
supplier_note: string | null;
|
|
18763
|
+
to_address: string | null;
|
|
18764
|
+
token_hash: string;
|
|
18765
|
+
updated_at: string;
|
|
18766
|
+
};
|
|
18767
|
+
Insert: {
|
|
18768
|
+
created_at?: string;
|
|
18769
|
+
expires_at?: string;
|
|
18770
|
+
first_viewed_at?: string | null;
|
|
18771
|
+
id?: string;
|
|
18772
|
+
processed_at?: string | null;
|
|
18773
|
+
purchase_order_id: string;
|
|
18774
|
+
responded_at?: string | null;
|
|
18775
|
+
sent_at?: string;
|
|
18776
|
+
status?: string;
|
|
18777
|
+
supplier_id?: string | null;
|
|
18778
|
+
supplier_name?: string;
|
|
18779
|
+
supplier_note?: string | null;
|
|
18780
|
+
to_address?: string | null;
|
|
18781
|
+
token_hash: string;
|
|
18782
|
+
updated_at?: string;
|
|
18783
|
+
};
|
|
18784
|
+
Update: {
|
|
18785
|
+
created_at?: string;
|
|
18786
|
+
expires_at?: string;
|
|
18787
|
+
first_viewed_at?: string | null;
|
|
18788
|
+
id?: string;
|
|
18789
|
+
processed_at?: string | null;
|
|
18790
|
+
purchase_order_id?: string;
|
|
18791
|
+
responded_at?: string | null;
|
|
18792
|
+
sent_at?: string;
|
|
18793
|
+
status?: string;
|
|
18794
|
+
supplier_id?: string | null;
|
|
18795
|
+
supplier_name?: string;
|
|
18796
|
+
supplier_note?: string | null;
|
|
18797
|
+
to_address?: string | null;
|
|
18798
|
+
token_hash?: string;
|
|
18799
|
+
updated_at?: string;
|
|
18800
|
+
};
|
|
18801
|
+
Relationships: [{
|
|
18802
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18803
|
+
columns: ["purchase_order_id"];
|
|
18804
|
+
isOneToOne: false;
|
|
18805
|
+
referencedRelation: "purchase_orders";
|
|
18806
|
+
referencedColumns: ["id"];
|
|
18807
|
+
}, {
|
|
18808
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18809
|
+
columns: ["supplier_id"];
|
|
18810
|
+
isOneToOne: false;
|
|
18811
|
+
referencedRelation: "suppliers";
|
|
18812
|
+
referencedColumns: ["id"];
|
|
18813
|
+
}];
|
|
18814
|
+
};
|
|
17747
18815
|
reception_notifications: {
|
|
17748
18816
|
Row: {
|
|
17749
18817
|
booking_id: string | null;
|
|
@@ -19074,40 +20142,52 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19074
20142
|
Row: {
|
|
19075
20143
|
approved_at: string | null;
|
|
19076
20144
|
approved_by: string | null;
|
|
20145
|
+
contract_hours: number;
|
|
19077
20146
|
created_at: string;
|
|
19078
20147
|
employee_id: string;
|
|
19079
20148
|
id: string;
|
|
19080
20149
|
locked: boolean;
|
|
20150
|
+
monteur_toelichting: string | null;
|
|
19081
20151
|
notes: string | null;
|
|
20152
|
+
planned_hours: number;
|
|
19082
20153
|
status: string;
|
|
19083
20154
|
submitted_at: string | null;
|
|
19084
20155
|
updated_at: string;
|
|
20156
|
+
variance_hours: number;
|
|
19085
20157
|
week_start: string;
|
|
19086
20158
|
};
|
|
19087
20159
|
Insert: {
|
|
19088
20160
|
approved_at?: string | null;
|
|
19089
20161
|
approved_by?: string | null;
|
|
20162
|
+
contract_hours?: number;
|
|
19090
20163
|
created_at?: string;
|
|
19091
20164
|
employee_id: string;
|
|
19092
20165
|
id?: string;
|
|
19093
20166
|
locked?: boolean;
|
|
20167
|
+
monteur_toelichting?: string | null;
|
|
19094
20168
|
notes?: string | null;
|
|
20169
|
+
planned_hours?: number;
|
|
19095
20170
|
status?: string;
|
|
19096
20171
|
submitted_at?: string | null;
|
|
19097
20172
|
updated_at?: string;
|
|
20173
|
+
variance_hours?: number;
|
|
19098
20174
|
week_start: string;
|
|
19099
20175
|
};
|
|
19100
20176
|
Update: {
|
|
19101
20177
|
approved_at?: string | null;
|
|
19102
20178
|
approved_by?: string | null;
|
|
20179
|
+
contract_hours?: number;
|
|
19103
20180
|
created_at?: string;
|
|
19104
20181
|
employee_id?: string;
|
|
19105
20182
|
id?: string;
|
|
19106
20183
|
locked?: boolean;
|
|
20184
|
+
monteur_toelichting?: string | null;
|
|
19107
20185
|
notes?: string | null;
|
|
20186
|
+
planned_hours?: number;
|
|
19108
20187
|
status?: string;
|
|
19109
20188
|
submitted_at?: string | null;
|
|
19110
20189
|
updated_at?: string;
|
|
20190
|
+
variance_hours?: number;
|
|
19111
20191
|
week_start?: string;
|
|
19112
20192
|
};
|
|
19113
20193
|
Relationships: [{
|
|
@@ -19895,6 +20975,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19895
20975
|
auto_invoice_enabled: boolean;
|
|
19896
20976
|
auto_invoice_start_date: string | null;
|
|
19897
20977
|
auto_invoice_trigger_statuses: string[];
|
|
20978
|
+
auto_send_mode: string | null;
|
|
19898
20979
|
created_at: string;
|
|
19899
20980
|
debtor_gl_account: string;
|
|
19900
20981
|
default_article_code: string | null;
|
|
@@ -19923,6 +21004,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19923
21004
|
auto_invoice_enabled?: boolean;
|
|
19924
21005
|
auto_invoice_start_date?: string | null;
|
|
19925
21006
|
auto_invoice_trigger_statuses?: string[];
|
|
21007
|
+
auto_send_mode?: string | null;
|
|
19926
21008
|
created_at?: string;
|
|
19927
21009
|
debtor_gl_account?: string;
|
|
19928
21010
|
default_article_code?: string | null;
|
|
@@ -19951,6 +21033,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19951
21033
|
auto_invoice_enabled?: boolean;
|
|
19952
21034
|
auto_invoice_start_date?: string | null;
|
|
19953
21035
|
auto_invoice_trigger_statuses?: string[];
|
|
21036
|
+
auto_send_mode?: string | null;
|
|
19954
21037
|
created_at?: string;
|
|
19955
21038
|
debtor_gl_account?: string;
|
|
19956
21039
|
default_article_code?: string | null;
|
|
@@ -20394,16 +21477,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20394
21477
|
Row: {
|
|
20395
21478
|
active_environment: string;
|
|
20396
21479
|
id: number;
|
|
21480
|
+
public_base_url: string | null;
|
|
20397
21481
|
updated_at: string;
|
|
20398
21482
|
};
|
|
20399
21483
|
Insert: {
|
|
20400
21484
|
active_environment?: string;
|
|
20401
21485
|
id?: number;
|
|
21486
|
+
public_base_url?: string | null;
|
|
20402
21487
|
updated_at?: string;
|
|
20403
21488
|
};
|
|
20404
21489
|
Update: {
|
|
20405
21490
|
active_environment?: string;
|
|
20406
21491
|
id?: number;
|
|
21492
|
+
public_base_url?: string | null;
|
|
20407
21493
|
updated_at?: string;
|
|
20408
21494
|
};
|
|
20409
21495
|
Relationships: [];
|
|
@@ -20441,6 +21527,45 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20441
21527
|
referencedColumns: ["id"];
|
|
20442
21528
|
}];
|
|
20443
21529
|
};
|
|
21530
|
+
uren_beschikbare_dagen: {
|
|
21531
|
+
Row: {
|
|
21532
|
+
bron: string;
|
|
21533
|
+
created_at: string;
|
|
21534
|
+
datum: string;
|
|
21535
|
+
eind_tijd: string | null;
|
|
21536
|
+
half_hour_slots: number[];
|
|
21537
|
+
id: string;
|
|
21538
|
+
monteur_id: string;
|
|
21539
|
+
start_tijd: string | null;
|
|
21540
|
+
updated_at: string;
|
|
21541
|
+
uren: number;
|
|
21542
|
+
};
|
|
21543
|
+
Insert: {
|
|
21544
|
+
bron?: string;
|
|
21545
|
+
created_at?: string;
|
|
21546
|
+
datum: string;
|
|
21547
|
+
eind_tijd?: string | null;
|
|
21548
|
+
half_hour_slots?: number[];
|
|
21549
|
+
id?: string;
|
|
21550
|
+
monteur_id: string;
|
|
21551
|
+
start_tijd?: string | null;
|
|
21552
|
+
updated_at?: string;
|
|
21553
|
+
uren?: number;
|
|
21554
|
+
};
|
|
21555
|
+
Update: {
|
|
21556
|
+
bron?: string;
|
|
21557
|
+
created_at?: string;
|
|
21558
|
+
datum?: string;
|
|
21559
|
+
eind_tijd?: string | null;
|
|
21560
|
+
half_hour_slots?: number[];
|
|
21561
|
+
id?: string;
|
|
21562
|
+
monteur_id?: string;
|
|
21563
|
+
start_tijd?: string | null;
|
|
21564
|
+
updated_at?: string;
|
|
21565
|
+
uren?: number;
|
|
21566
|
+
};
|
|
21567
|
+
Relationships: [];
|
|
21568
|
+
};
|
|
20444
21569
|
uren_cao_profiles: {
|
|
20445
21570
|
Row: {
|
|
20446
21571
|
break_minutes: number | null;
|
|
@@ -20579,26 +21704,155 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20579
21704
|
};
|
|
20580
21705
|
Relationships: [];
|
|
20581
21706
|
};
|
|
20582
|
-
|
|
21707
|
+
uren_maandafsluitingen: {
|
|
20583
21708
|
Row: {
|
|
20584
|
-
|
|
21709
|
+
afgesloten_at: string | null;
|
|
21710
|
+
afgesloten_door: string | null;
|
|
21711
|
+
contract_minuten: number;
|
|
21712
|
+
correctie_reden: string | null;
|
|
20585
21713
|
created_at: string;
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
|
|
20591
|
-
|
|
21714
|
+
gecorrigeerd_at: string | null;
|
|
21715
|
+
gecorrigeerd_door: string | null;
|
|
21716
|
+
gewerkte_minuten: number;
|
|
21717
|
+
id: string;
|
|
21718
|
+
maand: string;
|
|
21719
|
+
min_minuten: number;
|
|
21720
|
+
monteur_id: string;
|
|
21721
|
+
netto_verschil_minuten: number;
|
|
21722
|
+
normaal_uitbetaald_minuten: number;
|
|
21723
|
+
omgezet_vakantie_minuten: number;
|
|
21724
|
+
overdracht_vorige_minuten: number;
|
|
21725
|
+
overuren_minuten: number;
|
|
21726
|
+
plus_minuten: number;
|
|
21727
|
+
rest_overuren_minuten: number;
|
|
21728
|
+
status: string;
|
|
21729
|
+
totaal_uitbetaald_minuten: number;
|
|
20592
21730
|
updated_at: string;
|
|
20593
|
-
|
|
20594
|
-
workday_end: string;
|
|
20595
|
-
workday_start: string;
|
|
21731
|
+
vakantie_uren_bijgeschreven: number;
|
|
20596
21732
|
};
|
|
20597
21733
|
Insert: {
|
|
20598
|
-
|
|
21734
|
+
afgesloten_at?: string | null;
|
|
21735
|
+
afgesloten_door?: string | null;
|
|
21736
|
+
contract_minuten?: number;
|
|
21737
|
+
correctie_reden?: string | null;
|
|
20599
21738
|
created_at?: string;
|
|
20600
|
-
|
|
20601
|
-
|
|
21739
|
+
gecorrigeerd_at?: string | null;
|
|
21740
|
+
gecorrigeerd_door?: string | null;
|
|
21741
|
+
gewerkte_minuten?: number;
|
|
21742
|
+
id?: string;
|
|
21743
|
+
maand: string;
|
|
21744
|
+
min_minuten?: number;
|
|
21745
|
+
monteur_id: string;
|
|
21746
|
+
netto_verschil_minuten?: number;
|
|
21747
|
+
normaal_uitbetaald_minuten?: number;
|
|
21748
|
+
omgezet_vakantie_minuten?: number;
|
|
21749
|
+
overdracht_vorige_minuten?: number;
|
|
21750
|
+
overuren_minuten?: number;
|
|
21751
|
+
plus_minuten?: number;
|
|
21752
|
+
rest_overuren_minuten?: number;
|
|
21753
|
+
status?: string;
|
|
21754
|
+
totaal_uitbetaald_minuten?: number;
|
|
21755
|
+
updated_at?: string;
|
|
21756
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21757
|
+
};
|
|
21758
|
+
Update: {
|
|
21759
|
+
afgesloten_at?: string | null;
|
|
21760
|
+
afgesloten_door?: string | null;
|
|
21761
|
+
contract_minuten?: number;
|
|
21762
|
+
correctie_reden?: string | null;
|
|
21763
|
+
created_at?: string;
|
|
21764
|
+
gecorrigeerd_at?: string | null;
|
|
21765
|
+
gecorrigeerd_door?: string | null;
|
|
21766
|
+
gewerkte_minuten?: number;
|
|
21767
|
+
id?: string;
|
|
21768
|
+
maand?: string;
|
|
21769
|
+
min_minuten?: number;
|
|
21770
|
+
monteur_id?: string;
|
|
21771
|
+
netto_verschil_minuten?: number;
|
|
21772
|
+
normaal_uitbetaald_minuten?: number;
|
|
21773
|
+
omgezet_vakantie_minuten?: number;
|
|
21774
|
+
overdracht_vorige_minuten?: number;
|
|
21775
|
+
overuren_minuten?: number;
|
|
21776
|
+
plus_minuten?: number;
|
|
21777
|
+
rest_overuren_minuten?: number;
|
|
21778
|
+
status?: string;
|
|
21779
|
+
totaal_uitbetaald_minuten?: number;
|
|
21780
|
+
updated_at?: string;
|
|
21781
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21782
|
+
};
|
|
21783
|
+
Relationships: [];
|
|
21784
|
+
};
|
|
21785
|
+
uren_overuren_verklaringen: {
|
|
21786
|
+
Row: {
|
|
21787
|
+
beoordeeld_door: string | null;
|
|
21788
|
+
beoordeeld_op: string | null;
|
|
21789
|
+
created_at: string;
|
|
21790
|
+
datum: string;
|
|
21791
|
+
eind_tijd: string | null;
|
|
21792
|
+
id: string;
|
|
21793
|
+
ingediend_at: string;
|
|
21794
|
+
monteur_id: string;
|
|
21795
|
+
overuren: number;
|
|
21796
|
+
reden_afkeur: string | null;
|
|
21797
|
+
start_tijd: string | null;
|
|
21798
|
+
status: string;
|
|
21799
|
+
toelichting: string;
|
|
21800
|
+
updated_at: string;
|
|
21801
|
+
};
|
|
21802
|
+
Insert: {
|
|
21803
|
+
beoordeeld_door?: string | null;
|
|
21804
|
+
beoordeeld_op?: string | null;
|
|
21805
|
+
created_at?: string;
|
|
21806
|
+
datum: string;
|
|
21807
|
+
eind_tijd?: string | null;
|
|
21808
|
+
id?: string;
|
|
21809
|
+
ingediend_at?: string;
|
|
21810
|
+
monteur_id: string;
|
|
21811
|
+
overuren: number;
|
|
21812
|
+
reden_afkeur?: string | null;
|
|
21813
|
+
start_tijd?: string | null;
|
|
21814
|
+
status?: string;
|
|
21815
|
+
toelichting: string;
|
|
21816
|
+
updated_at?: string;
|
|
21817
|
+
};
|
|
21818
|
+
Update: {
|
|
21819
|
+
beoordeeld_door?: string | null;
|
|
21820
|
+
beoordeeld_op?: string | null;
|
|
21821
|
+
created_at?: string;
|
|
21822
|
+
datum?: string;
|
|
21823
|
+
eind_tijd?: string | null;
|
|
21824
|
+
id?: string;
|
|
21825
|
+
ingediend_at?: string;
|
|
21826
|
+
monteur_id?: string;
|
|
21827
|
+
overuren?: number;
|
|
21828
|
+
reden_afkeur?: string | null;
|
|
21829
|
+
start_tijd?: string | null;
|
|
21830
|
+
status?: string;
|
|
21831
|
+
toelichting?: string;
|
|
21832
|
+
updated_at?: string;
|
|
21833
|
+
};
|
|
21834
|
+
Relationships: [];
|
|
21835
|
+
};
|
|
21836
|
+
uren_settings: {
|
|
21837
|
+
Row: {
|
|
21838
|
+
break_minutes: number;
|
|
21839
|
+
created_at: string;
|
|
21840
|
+
daily_threshold_hours: number;
|
|
21841
|
+
id: boolean;
|
|
21842
|
+
include_travel: boolean;
|
|
21843
|
+
min_occupancy_monteurs: number;
|
|
21844
|
+
ov02_percentage: number;
|
|
21845
|
+
ov03_percentage: number;
|
|
21846
|
+
updated_at: string;
|
|
21847
|
+
weekly_threshold_hours: number;
|
|
21848
|
+
workday_end: string;
|
|
21849
|
+
workday_start: string;
|
|
21850
|
+
};
|
|
21851
|
+
Insert: {
|
|
21852
|
+
break_minutes?: number;
|
|
21853
|
+
created_at?: string;
|
|
21854
|
+
daily_threshold_hours?: number;
|
|
21855
|
+
id?: boolean;
|
|
20602
21856
|
include_travel?: boolean;
|
|
20603
21857
|
min_occupancy_monteurs?: number;
|
|
20604
21858
|
ov02_percentage?: number;
|
|
@@ -20624,6 +21878,75 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20624
21878
|
};
|
|
20625
21879
|
Relationships: [];
|
|
20626
21880
|
};
|
|
21881
|
+
uren_standaardweek: {
|
|
21882
|
+
Row: {
|
|
21883
|
+
created_at: string;
|
|
21884
|
+
eind_slot: number;
|
|
21885
|
+
id: string;
|
|
21886
|
+
monteur_id: string;
|
|
21887
|
+
start_slot: number;
|
|
21888
|
+
updated_at: string;
|
|
21889
|
+
weekdag: number;
|
|
21890
|
+
};
|
|
21891
|
+
Insert: {
|
|
21892
|
+
created_at?: string;
|
|
21893
|
+
eind_slot: number;
|
|
21894
|
+
id?: string;
|
|
21895
|
+
monteur_id: string;
|
|
21896
|
+
start_slot: number;
|
|
21897
|
+
updated_at?: string;
|
|
21898
|
+
weekdag: number;
|
|
21899
|
+
};
|
|
21900
|
+
Update: {
|
|
21901
|
+
created_at?: string;
|
|
21902
|
+
eind_slot?: number;
|
|
21903
|
+
id?: string;
|
|
21904
|
+
monteur_id?: string;
|
|
21905
|
+
start_slot?: number;
|
|
21906
|
+
updated_at?: string;
|
|
21907
|
+
weekdag?: number;
|
|
21908
|
+
};
|
|
21909
|
+
Relationships: [];
|
|
21910
|
+
};
|
|
21911
|
+
uren_standaardweek_wijzigingen: {
|
|
21912
|
+
Row: {
|
|
21913
|
+
beoordeeld_door: string | null;
|
|
21914
|
+
beoordeeld_op: string | null;
|
|
21915
|
+
created_at: string;
|
|
21916
|
+
huidig: import("../integrations/supabase/types").Json;
|
|
21917
|
+
id: string;
|
|
21918
|
+
monteur_id: string;
|
|
21919
|
+
reden_afkeur: string | null;
|
|
21920
|
+
status: string;
|
|
21921
|
+
updated_at: string;
|
|
21922
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21923
|
+
};
|
|
21924
|
+
Insert: {
|
|
21925
|
+
beoordeeld_door?: string | null;
|
|
21926
|
+
beoordeeld_op?: string | null;
|
|
21927
|
+
created_at?: string;
|
|
21928
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21929
|
+
id?: string;
|
|
21930
|
+
monteur_id: string;
|
|
21931
|
+
reden_afkeur?: string | null;
|
|
21932
|
+
status?: string;
|
|
21933
|
+
updated_at?: string;
|
|
21934
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21935
|
+
};
|
|
21936
|
+
Update: {
|
|
21937
|
+
beoordeeld_door?: string | null;
|
|
21938
|
+
beoordeeld_op?: string | null;
|
|
21939
|
+
created_at?: string;
|
|
21940
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21941
|
+
id?: string;
|
|
21942
|
+
monteur_id?: string;
|
|
21943
|
+
reden_afkeur?: string | null;
|
|
21944
|
+
status?: string;
|
|
21945
|
+
updated_at?: string;
|
|
21946
|
+
voorstel?: import("../integrations/supabase/types").Json;
|
|
21947
|
+
};
|
|
21948
|
+
Relationships: [];
|
|
21949
|
+
};
|
|
20627
21950
|
uren_tarieven: {
|
|
20628
21951
|
Row: {
|
|
20629
21952
|
created_at: string;
|
|
@@ -20708,6 +22031,39 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20708
22031
|
};
|
|
20709
22032
|
Relationships: [];
|
|
20710
22033
|
};
|
|
22034
|
+
uren_tijd_spiegel: {
|
|
22035
|
+
Row: {
|
|
22036
|
+
created_at: string;
|
|
22037
|
+
id: string;
|
|
22038
|
+
time_log_id: string;
|
|
22039
|
+
werkbon_time_log_id: string;
|
|
22040
|
+
};
|
|
22041
|
+
Insert: {
|
|
22042
|
+
created_at?: string;
|
|
22043
|
+
id?: string;
|
|
22044
|
+
time_log_id: string;
|
|
22045
|
+
werkbon_time_log_id: string;
|
|
22046
|
+
};
|
|
22047
|
+
Update: {
|
|
22048
|
+
created_at?: string;
|
|
22049
|
+
id?: string;
|
|
22050
|
+
time_log_id?: string;
|
|
22051
|
+
werkbon_time_log_id?: string;
|
|
22052
|
+
};
|
|
22053
|
+
Relationships: [{
|
|
22054
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
22055
|
+
columns: ["time_log_id"];
|
|
22056
|
+
isOneToOne: true;
|
|
22057
|
+
referencedRelation: "time_logs";
|
|
22058
|
+
referencedColumns: ["id"];
|
|
22059
|
+
}, {
|
|
22060
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
22061
|
+
columns: ["werkbon_time_log_id"];
|
|
22062
|
+
isOneToOne: true;
|
|
22063
|
+
referencedRelation: "werkbon_time_logs";
|
|
22064
|
+
referencedColumns: ["id"];
|
|
22065
|
+
}];
|
|
22066
|
+
};
|
|
20711
22067
|
uren_weekstaten: {
|
|
20712
22068
|
Row: {
|
|
20713
22069
|
approved_at: string | null;
|
|
@@ -20750,6 +22106,33 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20750
22106
|
};
|
|
20751
22107
|
Relationships: [];
|
|
20752
22108
|
};
|
|
22109
|
+
uren_werktijd_voorkeuren: {
|
|
22110
|
+
Row: {
|
|
22111
|
+
created_at: string;
|
|
22112
|
+
eind_slot: number;
|
|
22113
|
+
id: string;
|
|
22114
|
+
monteur_id: string;
|
|
22115
|
+
start_slot: number;
|
|
22116
|
+
updated_at: string;
|
|
22117
|
+
};
|
|
22118
|
+
Insert: {
|
|
22119
|
+
created_at?: string;
|
|
22120
|
+
eind_slot?: number;
|
|
22121
|
+
id?: string;
|
|
22122
|
+
monteur_id: string;
|
|
22123
|
+
start_slot?: number;
|
|
22124
|
+
updated_at?: string;
|
|
22125
|
+
};
|
|
22126
|
+
Update: {
|
|
22127
|
+
created_at?: string;
|
|
22128
|
+
eind_slot?: number;
|
|
22129
|
+
id?: string;
|
|
22130
|
+
monteur_id?: string;
|
|
22131
|
+
start_slot?: number;
|
|
22132
|
+
updated_at?: string;
|
|
22133
|
+
};
|
|
22134
|
+
Relationships: [];
|
|
22135
|
+
};
|
|
20753
22136
|
user_module_permissions: {
|
|
20754
22137
|
Row: {
|
|
20755
22138
|
created_at: string;
|
|
@@ -20807,6 +22190,51 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20807
22190
|
referencedColumns: ["id"];
|
|
20808
22191
|
}];
|
|
20809
22192
|
};
|
|
22193
|
+
vakantie_uitbetalingen: {
|
|
22194
|
+
Row: {
|
|
22195
|
+
created_at: string;
|
|
22196
|
+
created_by: string | null;
|
|
22197
|
+
days: number;
|
|
22198
|
+
id: string;
|
|
22199
|
+
note: string | null;
|
|
22200
|
+
updated_at: string;
|
|
22201
|
+
user_id: string;
|
|
22202
|
+
year: number;
|
|
22203
|
+
};
|
|
22204
|
+
Insert: {
|
|
22205
|
+
created_at?: string;
|
|
22206
|
+
created_by?: string | null;
|
|
22207
|
+
days: number;
|
|
22208
|
+
id?: string;
|
|
22209
|
+
note?: string | null;
|
|
22210
|
+
updated_at?: string;
|
|
22211
|
+
user_id: string;
|
|
22212
|
+
year?: number;
|
|
22213
|
+
};
|
|
22214
|
+
Update: {
|
|
22215
|
+
created_at?: string;
|
|
22216
|
+
created_by?: string | null;
|
|
22217
|
+
days?: number;
|
|
22218
|
+
id?: string;
|
|
22219
|
+
note?: string | null;
|
|
22220
|
+
updated_at?: string;
|
|
22221
|
+
user_id?: string;
|
|
22222
|
+
year?: number;
|
|
22223
|
+
};
|
|
22224
|
+
Relationships: [{
|
|
22225
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22226
|
+
columns: ["created_by"];
|
|
22227
|
+
isOneToOne: false;
|
|
22228
|
+
referencedRelation: "profiles";
|
|
22229
|
+
referencedColumns: ["id"];
|
|
22230
|
+
}, {
|
|
22231
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22232
|
+
columns: ["user_id"];
|
|
22233
|
+
isOneToOne: false;
|
|
22234
|
+
referencedRelation: "profiles";
|
|
22235
|
+
referencedColumns: ["id"];
|
|
22236
|
+
}];
|
|
22237
|
+
};
|
|
20810
22238
|
van_inventories: {
|
|
20811
22239
|
Row: {
|
|
20812
22240
|
barcode: string | null;
|
|
@@ -21681,10 +23109,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21681
23109
|
Row: {
|
|
21682
23110
|
article_number: string | null;
|
|
21683
23111
|
artikel_id: string | null;
|
|
23112
|
+
cost_price_cents: number;
|
|
21684
23113
|
created_at: string;
|
|
21685
23114
|
gtin: string | null;
|
|
21686
23115
|
id: string;
|
|
21687
23116
|
manufacturer: string | null;
|
|
23117
|
+
margin_percent: number | null;
|
|
21688
23118
|
omschrijving: string;
|
|
21689
23119
|
package_id: string;
|
|
21690
23120
|
price_synced_at: string | null;
|
|
@@ -21699,10 +23129,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21699
23129
|
Insert: {
|
|
21700
23130
|
article_number?: string | null;
|
|
21701
23131
|
artikel_id?: string | null;
|
|
23132
|
+
cost_price_cents?: number;
|
|
21702
23133
|
created_at?: string;
|
|
21703
23134
|
gtin?: string | null;
|
|
21704
23135
|
id?: string;
|
|
21705
23136
|
manufacturer?: string | null;
|
|
23137
|
+
margin_percent?: number | null;
|
|
21706
23138
|
omschrijving: string;
|
|
21707
23139
|
package_id: string;
|
|
21708
23140
|
price_synced_at?: string | null;
|
|
@@ -21717,10 +23149,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21717
23149
|
Update: {
|
|
21718
23150
|
article_number?: string | null;
|
|
21719
23151
|
artikel_id?: string | null;
|
|
23152
|
+
cost_price_cents?: number;
|
|
21720
23153
|
created_at?: string;
|
|
21721
23154
|
gtin?: string | null;
|
|
21722
23155
|
id?: string;
|
|
21723
23156
|
manufacturer?: string | null;
|
|
23157
|
+
margin_percent?: number | null;
|
|
21724
23158
|
omschrijving?: string;
|
|
21725
23159
|
package_id?: string;
|
|
21726
23160
|
price_synced_at?: string | null;
|
|
@@ -21803,7 +23237,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21803
23237
|
created_at: string;
|
|
21804
23238
|
default_quantity: number;
|
|
21805
23239
|
description: string | null;
|
|
21806
|
-
duration_minutes: number
|
|
23240
|
+
duration_minutes: number;
|
|
21807
23241
|
id: string;
|
|
21808
23242
|
mandaat_type: string | null;
|
|
21809
23243
|
name: string;
|
|
@@ -21820,7 +23254,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21820
23254
|
created_at?: string;
|
|
21821
23255
|
default_quantity?: number;
|
|
21822
23256
|
description?: string | null;
|
|
21823
|
-
duration_minutes?: number
|
|
23257
|
+
duration_minutes?: number;
|
|
21824
23258
|
id?: string;
|
|
21825
23259
|
mandaat_type?: string | null;
|
|
21826
23260
|
name: string;
|
|
@@ -21837,7 +23271,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21837
23271
|
created_at?: string;
|
|
21838
23272
|
default_quantity?: number;
|
|
21839
23273
|
description?: string | null;
|
|
21840
|
-
duration_minutes?: number
|
|
23274
|
+
duration_minutes?: number;
|
|
21841
23275
|
id?: string;
|
|
21842
23276
|
mandaat_type?: string | null;
|
|
21843
23277
|
name?: string;
|
|
@@ -22085,6 +23519,78 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22085
23519
|
referencedColumns: ["id"];
|
|
22086
23520
|
}];
|
|
22087
23521
|
};
|
|
23522
|
+
werkbon_voorstellen: {
|
|
23523
|
+
Row: {
|
|
23524
|
+
bron_werkbon_id: string;
|
|
23525
|
+
budget_mandate_cents: number;
|
|
23526
|
+
created_at: string;
|
|
23527
|
+
created_by: string;
|
|
23528
|
+
customer_id: string | null;
|
|
23529
|
+
id: string;
|
|
23530
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23531
|
+
reden: string | null;
|
|
23532
|
+
status: string;
|
|
23533
|
+
updated_at: string;
|
|
23534
|
+
verwerkt_door: string | null;
|
|
23535
|
+
verwerkt_op: string | null;
|
|
23536
|
+
werkbon_id: string | null;
|
|
23537
|
+
};
|
|
23538
|
+
Insert: {
|
|
23539
|
+
bron_werkbon_id: string;
|
|
23540
|
+
budget_mandate_cents?: number;
|
|
23541
|
+
created_at?: string;
|
|
23542
|
+
created_by?: string;
|
|
23543
|
+
customer_id?: string | null;
|
|
23544
|
+
id?: string;
|
|
23545
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23546
|
+
reden?: string | null;
|
|
23547
|
+
status?: string;
|
|
23548
|
+
updated_at?: string;
|
|
23549
|
+
verwerkt_door?: string | null;
|
|
23550
|
+
verwerkt_op?: string | null;
|
|
23551
|
+
werkbon_id?: string | null;
|
|
23552
|
+
};
|
|
23553
|
+
Update: {
|
|
23554
|
+
bron_werkbon_id?: string;
|
|
23555
|
+
budget_mandate_cents?: number;
|
|
23556
|
+
created_at?: string;
|
|
23557
|
+
created_by?: string;
|
|
23558
|
+
customer_id?: string | null;
|
|
23559
|
+
id?: string;
|
|
23560
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23561
|
+
reden?: string | null;
|
|
23562
|
+
status?: string;
|
|
23563
|
+
updated_at?: string;
|
|
23564
|
+
verwerkt_door?: string | null;
|
|
23565
|
+
verwerkt_op?: string | null;
|
|
23566
|
+
werkbon_id?: string | null;
|
|
23567
|
+
};
|
|
23568
|
+
Relationships: [{
|
|
23569
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23570
|
+
columns: ["bron_werkbon_id"];
|
|
23571
|
+
isOneToOne: false;
|
|
23572
|
+
referencedRelation: "werkbonnen";
|
|
23573
|
+
referencedColumns: ["id"];
|
|
23574
|
+
}, {
|
|
23575
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23576
|
+
columns: ["bron_werkbon_id"];
|
|
23577
|
+
isOneToOne: false;
|
|
23578
|
+
referencedRelation: "wo_overview";
|
|
23579
|
+
referencedColumns: ["id"];
|
|
23580
|
+
}, {
|
|
23581
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23582
|
+
columns: ["werkbon_id"];
|
|
23583
|
+
isOneToOne: false;
|
|
23584
|
+
referencedRelation: "werkbonnen";
|
|
23585
|
+
referencedColumns: ["id"];
|
|
23586
|
+
}, {
|
|
23587
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23588
|
+
columns: ["werkbon_id"];
|
|
23589
|
+
isOneToOne: false;
|
|
23590
|
+
referencedRelation: "wo_overview";
|
|
23591
|
+
referencedColumns: ["id"];
|
|
23592
|
+
}];
|
|
23593
|
+
};
|
|
22088
23594
|
werkbonnen: {
|
|
22089
23595
|
Row: {
|
|
22090
23596
|
assigned_user_id: string | null;
|
|
@@ -22692,6 +24198,21 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22692
24198
|
};
|
|
22693
24199
|
Relationships: [];
|
|
22694
24200
|
};
|
|
24201
|
+
logistics_packing_diff: {
|
|
24202
|
+
Row: {
|
|
24203
|
+
dev_key: string | null;
|
|
24204
|
+
floriday_packing: import("../integrations/supabase/types").Json | null;
|
|
24205
|
+
local_packing: import("../integrations/supabase/types").Json | null;
|
|
24206
|
+
order_id: string | null;
|
|
24207
|
+
order_item_id: string | null;
|
|
24208
|
+
order_number: string | null;
|
|
24209
|
+
product_id: string | null;
|
|
24210
|
+
product_name: string | null;
|
|
24211
|
+
scope: string | null;
|
|
24212
|
+
trade_item_id: string | null;
|
|
24213
|
+
};
|
|
24214
|
+
Relationships: [];
|
|
24215
|
+
};
|
|
22695
24216
|
logistics_product_dimensions: {
|
|
22696
24217
|
Row: {
|
|
22697
24218
|
dimension_source: string | null;
|
|
@@ -23310,6 +24831,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23310
24831
|
};
|
|
23311
24832
|
Returns: undefined;
|
|
23312
24833
|
};
|
|
24834
|
+
_wo_is_planner: {
|
|
24835
|
+
Args: never;
|
|
24836
|
+
Returns: boolean;
|
|
24837
|
+
};
|
|
23313
24838
|
afh_city_code: {
|
|
23314
24839
|
Args: {
|
|
23315
24840
|
_city: string;
|
|
@@ -23920,10 +25445,32 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23920
25445
|
};
|
|
23921
25446
|
Returns: number;
|
|
23922
25447
|
};
|
|
23923
|
-
|
|
25448
|
+
control_mark_carts_delivered_detail: {
|
|
25449
|
+
Args: {
|
|
25450
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
25451
|
+
};
|
|
25452
|
+
Returns: {
|
|
25453
|
+
cart_index: number;
|
|
25454
|
+
frozen: boolean;
|
|
25455
|
+
message: string;
|
|
25456
|
+
order_id: string;
|
|
25457
|
+
order_source: string;
|
|
25458
|
+
outcome: string;
|
|
25459
|
+
}[];
|
|
25460
|
+
};
|
|
25461
|
+
count_distinct_regulatory_products: {
|
|
23924
25462
|
Args: never;
|
|
23925
25463
|
Returns: number;
|
|
23926
25464
|
};
|
|
25465
|
+
create_order_from_public_offer: {
|
|
25466
|
+
Args: {
|
|
25467
|
+
p_carrier_id?: string;
|
|
25468
|
+
p_delivery_date?: string;
|
|
25469
|
+
p_delivery_garden_id?: string;
|
|
25470
|
+
p_offer_order_id: string;
|
|
25471
|
+
};
|
|
25472
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25473
|
+
};
|
|
23927
25474
|
current_monteur_id: {
|
|
23928
25475
|
Args: never;
|
|
23929
25476
|
Returns: string;
|
|
@@ -24400,6 +25947,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24400
25947
|
};
|
|
24401
25948
|
Returns: number;
|
|
24402
25949
|
};
|
|
25950
|
+
get_product_stock: {
|
|
25951
|
+
Args: {
|
|
25952
|
+
p_product_id: string;
|
|
25953
|
+
};
|
|
25954
|
+
Returns: {
|
|
25955
|
+
connection_id: string;
|
|
25956
|
+
incoming_stock: number;
|
|
25957
|
+
minimum_stock: number;
|
|
25958
|
+
notes: string;
|
|
25959
|
+
physical_stock: number;
|
|
25960
|
+
product_id: string;
|
|
25961
|
+
reserved_stock: number;
|
|
25962
|
+
trade_item_key: string;
|
|
25963
|
+
updated_at: string;
|
|
25964
|
+
}[];
|
|
25965
|
+
};
|
|
24403
25966
|
get_room_busy_windows: {
|
|
24404
25967
|
Args: {
|
|
24405
25968
|
p_from: string;
|
|
@@ -24704,13 +26267,66 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24704
26267
|
};
|
|
24705
26268
|
Returns: import("../integrations/supabase/types").Json;
|
|
24706
26269
|
};
|
|
26270
|
+
inkoop_cancel_line: {
|
|
26271
|
+
Args: {
|
|
26272
|
+
_item_id: string;
|
|
26273
|
+
_reason: string;
|
|
26274
|
+
};
|
|
26275
|
+
Returns: string;
|
|
26276
|
+
};
|
|
26277
|
+
inkoop_get_supplier_request: {
|
|
26278
|
+
Args: {
|
|
26279
|
+
_token: string;
|
|
26280
|
+
};
|
|
26281
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26282
|
+
};
|
|
26283
|
+
inkoop_hash_token: {
|
|
26284
|
+
Args: {
|
|
26285
|
+
_token: string;
|
|
26286
|
+
};
|
|
26287
|
+
Returns: string;
|
|
26288
|
+
};
|
|
26289
|
+
inkoop_html_escape: {
|
|
26290
|
+
Args: {
|
|
26291
|
+
_t: string;
|
|
26292
|
+
};
|
|
26293
|
+
Returns: string;
|
|
26294
|
+
};
|
|
26295
|
+
inkoop_list_artikelen: {
|
|
26296
|
+
Args: never;
|
|
26297
|
+
Returns: {
|
|
26298
|
+
article_number: string;
|
|
26299
|
+
barcode: string;
|
|
26300
|
+
id: string;
|
|
26301
|
+
incoming_quantity: number;
|
|
26302
|
+
is_layer: boolean;
|
|
26303
|
+
location: string;
|
|
26304
|
+
min_quantity: number;
|
|
26305
|
+
preferred_supplier_name: string;
|
|
26306
|
+
product: string;
|
|
26307
|
+
product_type: string;
|
|
26308
|
+
purchase_price: number;
|
|
26309
|
+
quantity: number;
|
|
26310
|
+
sale_price: number;
|
|
26311
|
+
supplier_count: number;
|
|
26312
|
+
unit: string;
|
|
26313
|
+
}[];
|
|
26314
|
+
};
|
|
24707
26315
|
inkoop_next_order_number: {
|
|
24708
26316
|
Args: never;
|
|
24709
26317
|
Returns: string;
|
|
24710
26318
|
};
|
|
26319
|
+
inkoop_process_request: {
|
|
26320
|
+
Args: {
|
|
26321
|
+
_request_id: string;
|
|
26322
|
+
};
|
|
26323
|
+
Returns: undefined;
|
|
26324
|
+
};
|
|
24711
26325
|
inkoop_send_order: {
|
|
24712
26326
|
Args: {
|
|
26327
|
+
_base_url?: string;
|
|
24713
26328
|
_order_id: string;
|
|
26329
|
+
_resend?: boolean;
|
|
24714
26330
|
};
|
|
24715
26331
|
Returns: {
|
|
24716
26332
|
outbox_id: string;
|
|
@@ -24718,6 +26334,33 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24718
26334
|
to_address: string;
|
|
24719
26335
|
}[];
|
|
24720
26336
|
};
|
|
26337
|
+
inkoop_set_preferred_supplier: {
|
|
26338
|
+
Args: {
|
|
26339
|
+
_product_id: string;
|
|
26340
|
+
_supplier_id: string;
|
|
26341
|
+
};
|
|
26342
|
+
Returns: undefined;
|
|
26343
|
+
};
|
|
26344
|
+
inkoop_stock_key: {
|
|
26345
|
+
Args: {
|
|
26346
|
+
p_product_id: string;
|
|
26347
|
+
};
|
|
26348
|
+
Returns: string;
|
|
26349
|
+
};
|
|
26350
|
+
inkoop_submit_supplier_response: {
|
|
26351
|
+
Args: {
|
|
26352
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26353
|
+
_note?: string;
|
|
26354
|
+
_token: string;
|
|
26355
|
+
};
|
|
26356
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26357
|
+
};
|
|
26358
|
+
inkoop_sync_item_stock: {
|
|
26359
|
+
Args: {
|
|
26360
|
+
p_item_id: string;
|
|
26361
|
+
};
|
|
26362
|
+
Returns: undefined;
|
|
26363
|
+
};
|
|
24721
26364
|
instructie_get: {
|
|
24722
26365
|
Args: {
|
|
24723
26366
|
_sleutel: string;
|
|
@@ -24737,6 +26380,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24737
26380
|
};
|
|
24738
26381
|
Returns: number;
|
|
24739
26382
|
};
|
|
26383
|
+
invoice_branding_snapshot: {
|
|
26384
|
+
Args: never;
|
|
26385
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26386
|
+
};
|
|
24740
26387
|
invoice_create_from_source: {
|
|
24741
26388
|
Args: {
|
|
24742
26389
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -24771,12 +26418,41 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24771
26418
|
};
|
|
24772
26419
|
Returns: import("../integrations/supabase/types").Json;
|
|
24773
26420
|
};
|
|
26421
|
+
invoice_mark_sent: {
|
|
26422
|
+
Args: {
|
|
26423
|
+
_invoice_id: string;
|
|
26424
|
+
_to: string;
|
|
26425
|
+
};
|
|
26426
|
+
Returns: undefined;
|
|
26427
|
+
};
|
|
26428
|
+
invoice_peek_next_number: {
|
|
26429
|
+
Args: never;
|
|
26430
|
+
Returns: string;
|
|
26431
|
+
};
|
|
26432
|
+
invoice_ready_work_orders: {
|
|
26433
|
+
Args: {
|
|
26434
|
+
_limit?: number;
|
|
26435
|
+
};
|
|
26436
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26437
|
+
};
|
|
24774
26438
|
invoice_recalc_totals: {
|
|
24775
26439
|
Args: {
|
|
24776
26440
|
_invoice_id: string;
|
|
24777
26441
|
};
|
|
24778
26442
|
Returns: import("../integrations/supabase/types").Json;
|
|
24779
26443
|
};
|
|
26444
|
+
invoice_save_branding_settings: {
|
|
26445
|
+
Args: {
|
|
26446
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26447
|
+
};
|
|
26448
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26449
|
+
};
|
|
26450
|
+
invoice_set_email_purpose: {
|
|
26451
|
+
Args: {
|
|
26452
|
+
_purpose: string;
|
|
26453
|
+
};
|
|
26454
|
+
Returns: string;
|
|
26455
|
+
};
|
|
24780
26456
|
invoice_source_lines: {
|
|
24781
26457
|
Args: {
|
|
24782
26458
|
_source_id: string;
|
|
@@ -24784,6 +26460,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24784
26460
|
};
|
|
24785
26461
|
Returns: import("../integrations/supabase/types").Json;
|
|
24786
26462
|
};
|
|
26463
|
+
invoice_update_full: {
|
|
26464
|
+
Args: {
|
|
26465
|
+
_invoice_id: string;
|
|
26466
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26467
|
+
};
|
|
26468
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26469
|
+
};
|
|
26470
|
+
invoice_work_order_locked: {
|
|
26471
|
+
Args: {
|
|
26472
|
+
_werkbon_id: string;
|
|
26473
|
+
};
|
|
26474
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26475
|
+
};
|
|
24787
26476
|
is_authenticated: {
|
|
24788
26477
|
Args: never;
|
|
24789
26478
|
Returns: boolean;
|
|
@@ -24832,6 +26521,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24832
26521
|
};
|
|
24833
26522
|
Returns: boolean;
|
|
24834
26523
|
};
|
|
26524
|
+
layout_print_document: {
|
|
26525
|
+
Args: {
|
|
26526
|
+
_documentnaam: string;
|
|
26527
|
+
_documenttype: string;
|
|
26528
|
+
_herkomst?: string;
|
|
26529
|
+
_idempotentie_sleutel?: string;
|
|
26530
|
+
_is_herprint?: boolean;
|
|
26531
|
+
_kopieen?: number;
|
|
26532
|
+
_layout_id?: string;
|
|
26533
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
26534
|
+
_pdf_base64?: string;
|
|
26535
|
+
_pdf_url?: string;
|
|
26536
|
+
_print_plek_id?: string;
|
|
26537
|
+
_werkplek?: string;
|
|
26538
|
+
};
|
|
26539
|
+
Returns: {
|
|
26540
|
+
bestaand: boolean;
|
|
26541
|
+
job_id: string;
|
|
26542
|
+
printer_id: string;
|
|
26543
|
+
}[];
|
|
26544
|
+
};
|
|
24835
26545
|
list_medewerkers: {
|
|
24836
26546
|
Args: never;
|
|
24837
26547
|
Returns: {
|
|
@@ -25016,6 +26726,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25016
26726
|
};
|
|
25017
26727
|
Returns: import("../integrations/supabase/types").Json;
|
|
25018
26728
|
};
|
|
26729
|
+
logistics_buffer_decision_for_settings: {
|
|
26730
|
+
Args: {
|
|
26731
|
+
p_order: import("../integrations/supabase/types").Json;
|
|
26732
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
26733
|
+
p_user_id?: string;
|
|
26734
|
+
};
|
|
26735
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26736
|
+
};
|
|
25019
26737
|
logistics_buffer_detach_late_orders: {
|
|
25020
26738
|
Args: {
|
|
25021
26739
|
p_buffer?: string;
|
|
@@ -25049,6 +26767,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25049
26767
|
};
|
|
25050
26768
|
Returns: string;
|
|
25051
26769
|
};
|
|
26770
|
+
logistics_buffer_payload: {
|
|
26771
|
+
Args: {
|
|
26772
|
+
p_order_id: string;
|
|
26773
|
+
};
|
|
26774
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26775
|
+
};
|
|
25052
26776
|
logistics_buffer_simulate: {
|
|
25053
26777
|
Args: {
|
|
25054
26778
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -25095,6 +26819,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25095
26819
|
};
|
|
25096
26820
|
Returns: number;
|
|
25097
26821
|
};
|
|
26822
|
+
logistics_cart_barcode_opschonen: {
|
|
26823
|
+
Args: {
|
|
26824
|
+
p_portie?: number;
|
|
26825
|
+
};
|
|
26826
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26827
|
+
};
|
|
25098
26828
|
logistics_cart_barcode_value: {
|
|
25099
26829
|
Args: {
|
|
25100
26830
|
_cart_id: string;
|
|
@@ -25107,6 +26837,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25107
26837
|
};
|
|
25108
26838
|
Returns: string;
|
|
25109
26839
|
};
|
|
26840
|
+
logistics_cart_coverage_check: {
|
|
26841
|
+
Args: never;
|
|
26842
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26843
|
+
};
|
|
25110
26844
|
logistics_cart_handled: {
|
|
25111
26845
|
Args: {
|
|
25112
26846
|
p_cart_index: number;
|
|
@@ -25350,6 +27084,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25350
27084
|
isSetofReturn: false;
|
|
25351
27085
|
};
|
|
25352
27086
|
};
|
|
27087
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
27088
|
+
Args: {
|
|
27089
|
+
p_limit?: number;
|
|
27090
|
+
p_order_id: string;
|
|
27091
|
+
};
|
|
27092
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27093
|
+
};
|
|
27094
|
+
logistics_cleanup_history: {
|
|
27095
|
+
Args: {
|
|
27096
|
+
p_limit?: number;
|
|
27097
|
+
};
|
|
27098
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27099
|
+
};
|
|
25353
27100
|
logistics_cleanup_orphan_print_jobs: {
|
|
25354
27101
|
Args: never;
|
|
25355
27102
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -25497,6 +27244,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25497
27244
|
};
|
|
25498
27245
|
Returns: import("../integrations/supabase/types").Json;
|
|
25499
27246
|
};
|
|
27247
|
+
logistics_control_scan_print_own: {
|
|
27248
|
+
Args: {
|
|
27249
|
+
p_is_herprint?: boolean;
|
|
27250
|
+
p_scan_id: string;
|
|
27251
|
+
};
|
|
27252
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27253
|
+
};
|
|
25500
27254
|
logistics_control_scan_retry: {
|
|
25501
27255
|
Args: {
|
|
25502
27256
|
_id: string;
|
|
@@ -25507,6 +27261,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25507
27261
|
Args: never;
|
|
25508
27262
|
Returns: import("../integrations/supabase/types").Json;
|
|
25509
27263
|
};
|
|
27264
|
+
logistics_cron_health: {
|
|
27265
|
+
Args: never;
|
|
27266
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27267
|
+
};
|
|
25510
27268
|
logistics_day_windows: {
|
|
25511
27269
|
Args: {
|
|
25512
27270
|
p_day: string;
|
|
@@ -25856,6 +27614,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25856
27614
|
};
|
|
25857
27615
|
Returns: number;
|
|
25858
27616
|
};
|
|
27617
|
+
logistics_merge_decision: {
|
|
27618
|
+
Args: {
|
|
27619
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
27620
|
+
};
|
|
27621
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27622
|
+
};
|
|
25859
27623
|
logistics_merge_floriday_lines: {
|
|
25860
27624
|
Args: {
|
|
25861
27625
|
p_order_id: string;
|
|
@@ -25902,6 +27666,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25902
27666
|
Args: never;
|
|
25903
27667
|
Returns: string;
|
|
25904
27668
|
};
|
|
27669
|
+
logistics_order_backlog_info: {
|
|
27670
|
+
Args: {
|
|
27671
|
+
p_order_id: string;
|
|
27672
|
+
};
|
|
27673
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27674
|
+
};
|
|
25905
27675
|
logistics_order_cart_approval: {
|
|
25906
27676
|
Args: {
|
|
25907
27677
|
_order_ref: string;
|
|
@@ -25936,6 +27706,50 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25936
27706
|
};
|
|
25937
27707
|
Returns: boolean;
|
|
25938
27708
|
};
|
|
27709
|
+
logistics_order_finalize_enqueue: {
|
|
27710
|
+
Args: {
|
|
27711
|
+
p_order_id: string;
|
|
27712
|
+
p_reason?: string;
|
|
27713
|
+
};
|
|
27714
|
+
Returns: undefined;
|
|
27715
|
+
};
|
|
27716
|
+
logistics_order_finalize_overview: {
|
|
27717
|
+
Args: never;
|
|
27718
|
+
Returns: {
|
|
27719
|
+
bezig: number;
|
|
27720
|
+
laatst_afgerond: string;
|
|
27721
|
+
laatste_fout: string;
|
|
27722
|
+
mislukt: number;
|
|
27723
|
+
oudste_wachttijd_seconden: number;
|
|
27724
|
+
wachtend: number;
|
|
27725
|
+
}[];
|
|
27726
|
+
};
|
|
27727
|
+
logistics_order_finalize_prune: {
|
|
27728
|
+
Args: {
|
|
27729
|
+
p_days?: number;
|
|
27730
|
+
};
|
|
27731
|
+
Returns: number;
|
|
27732
|
+
};
|
|
27733
|
+
logistics_order_finalize_reconcile: {
|
|
27734
|
+
Args: {
|
|
27735
|
+
p_days?: number;
|
|
27736
|
+
p_limit?: number;
|
|
27737
|
+
};
|
|
27738
|
+
Returns: number;
|
|
27739
|
+
};
|
|
27740
|
+
logistics_order_finalize_retry: {
|
|
27741
|
+
Args: {
|
|
27742
|
+
p_order_id: string;
|
|
27743
|
+
};
|
|
27744
|
+
Returns: boolean;
|
|
27745
|
+
};
|
|
27746
|
+
logistics_order_finalize_run: {
|
|
27747
|
+
Args: {
|
|
27748
|
+
p_lease_seconds?: number;
|
|
27749
|
+
p_limit?: number;
|
|
27750
|
+
};
|
|
27751
|
+
Returns: number;
|
|
27752
|
+
};
|
|
25939
27753
|
logistics_order_frozen: {
|
|
25940
27754
|
Args: {
|
|
25941
27755
|
p_order_id: string;
|
|
@@ -25948,6 +27762,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25948
27762
|
};
|
|
25949
27763
|
Returns: boolean;
|
|
25950
27764
|
};
|
|
27765
|
+
logistics_order_is_backlog: {
|
|
27766
|
+
Args: {
|
|
27767
|
+
p_order_id: string;
|
|
27768
|
+
};
|
|
27769
|
+
Returns: boolean;
|
|
27770
|
+
};
|
|
25951
27771
|
logistics_order_is_topick: {
|
|
25952
27772
|
Args: {
|
|
25953
27773
|
p_order_id: string;
|
|
@@ -25955,6 +27775,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25955
27775
|
};
|
|
25956
27776
|
Returns: boolean;
|
|
25957
27777
|
};
|
|
27778
|
+
logistics_order_line_duplicates: {
|
|
27779
|
+
Args: {
|
|
27780
|
+
p_order_id: string;
|
|
27781
|
+
};
|
|
27782
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27783
|
+
};
|
|
25958
27784
|
logistics_order_merge_key: {
|
|
25959
27785
|
Args: {
|
|
25960
27786
|
p_group_key: string;
|
|
@@ -25998,6 +27824,63 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25998
27824
|
};
|
|
25999
27825
|
Returns: boolean;
|
|
26000
27826
|
};
|
|
27827
|
+
logistics_packing_autofix: {
|
|
27828
|
+
Args: {
|
|
27829
|
+
p_limit?: number;
|
|
27830
|
+
};
|
|
27831
|
+
Returns: number;
|
|
27832
|
+
};
|
|
27833
|
+
logistics_packing_block_reason: {
|
|
27834
|
+
Args: {
|
|
27835
|
+
p_order_id: string;
|
|
27836
|
+
p_order_item_id: string;
|
|
27837
|
+
};
|
|
27838
|
+
Returns: string;
|
|
27839
|
+
};
|
|
27840
|
+
logistics_packing_dismiss: {
|
|
27841
|
+
Args: {
|
|
27842
|
+
p_id: string;
|
|
27843
|
+
p_note?: string;
|
|
27844
|
+
};
|
|
27845
|
+
Returns: boolean;
|
|
27846
|
+
};
|
|
27847
|
+
logistics_packing_overview: {
|
|
27848
|
+
Args: never;
|
|
27849
|
+
Returns: {
|
|
27850
|
+
beoordelen: number;
|
|
27851
|
+
herstelbaar: number;
|
|
27852
|
+
laatst_gemeten: string;
|
|
27853
|
+
laatst_hersteld: string;
|
|
27854
|
+
open_totaal: number;
|
|
27855
|
+
orders: number;
|
|
27856
|
+
oudste_seconden: number;
|
|
27857
|
+
producten: number;
|
|
27858
|
+
}[];
|
|
27859
|
+
};
|
|
27860
|
+
logistics_packing_reconcile: {
|
|
27861
|
+
Args: {
|
|
27862
|
+
p_fix_limit?: number;
|
|
27863
|
+
p_scan_limit?: number;
|
|
27864
|
+
};
|
|
27865
|
+
Returns: {
|
|
27866
|
+
beoordelen: number;
|
|
27867
|
+
gevonden: number;
|
|
27868
|
+
hersteld: number;
|
|
27869
|
+
}[];
|
|
27870
|
+
};
|
|
27871
|
+
logistics_packing_scan: {
|
|
27872
|
+
Args: {
|
|
27873
|
+
p_limit?: number;
|
|
27874
|
+
};
|
|
27875
|
+
Returns: number;
|
|
27876
|
+
};
|
|
27877
|
+
logistics_packing_set_manual: {
|
|
27878
|
+
Args: {
|
|
27879
|
+
p_manual?: boolean;
|
|
27880
|
+
p_order_item_id: string;
|
|
27881
|
+
};
|
|
27882
|
+
Returns: boolean;
|
|
27883
|
+
};
|
|
26001
27884
|
logistics_parse_pickup: {
|
|
26002
27885
|
Args: {
|
|
26003
27886
|
p_value: string;
|
|
@@ -26026,6 +27909,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26026
27909
|
shifted_count: number;
|
|
26027
27910
|
}[];
|
|
26028
27911
|
};
|
|
27912
|
+
logistics_pick_backlog_max_days: {
|
|
27913
|
+
Args: never;
|
|
27914
|
+
Returns: number;
|
|
27915
|
+
};
|
|
26029
27916
|
logistics_pick_barcode_enabled: {
|
|
26030
27917
|
Args: never;
|
|
26031
27918
|
Returns: boolean;
|
|
@@ -26247,16 +28134,52 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26247
28134
|
Args: never;
|
|
26248
28135
|
Returns: number;
|
|
26249
28136
|
};
|
|
28137
|
+
logistics_planner_cart_snapshot: {
|
|
28138
|
+
Args: {
|
|
28139
|
+
p_buffer_id: string;
|
|
28140
|
+
p_order_id: string;
|
|
28141
|
+
};
|
|
28142
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28143
|
+
};
|
|
28144
|
+
logistics_planner_diff_mode: {
|
|
28145
|
+
Args: never;
|
|
28146
|
+
Returns: string;
|
|
28147
|
+
};
|
|
28148
|
+
logistics_planner_diff_prune: {
|
|
28149
|
+
Args: never;
|
|
28150
|
+
Returns: number;
|
|
28151
|
+
};
|
|
26250
28152
|
logistics_prepare_pick_documents: {
|
|
26251
28153
|
Args: {
|
|
26252
28154
|
p_limit?: number;
|
|
26253
28155
|
};
|
|
26254
28156
|
Returns: import("../integrations/supabase/types").Json;
|
|
26255
28157
|
};
|
|
28158
|
+
logistics_print_via_layout: {
|
|
28159
|
+
Args: {
|
|
28160
|
+
_documentnaam: string;
|
|
28161
|
+
_documenttype: string;
|
|
28162
|
+
_herkomst: string;
|
|
28163
|
+
_idempotentie_sleutel: string;
|
|
28164
|
+
_is_herprint: boolean;
|
|
28165
|
+
_layout_id: string;
|
|
28166
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
28167
|
+
_pdf_base64: string;
|
|
28168
|
+
_pdf_url: string;
|
|
28169
|
+
_print_plek_id: string;
|
|
28170
|
+
};
|
|
28171
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28172
|
+
};
|
|
26256
28173
|
logistics_prune_buffer_member_queue: {
|
|
26257
28174
|
Args: never;
|
|
26258
28175
|
Returns: number;
|
|
26259
28176
|
};
|
|
28177
|
+
logistics_prune_cron_history: {
|
|
28178
|
+
Args: {
|
|
28179
|
+
p_days?: number;
|
|
28180
|
+
};
|
|
28181
|
+
Returns: number;
|
|
28182
|
+
};
|
|
26260
28183
|
logistics_prune_handled_pick_queue: {
|
|
26261
28184
|
Args: never;
|
|
26262
28185
|
Returns: number;
|
|
@@ -26293,6 +28216,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26293
28216
|
Args: never;
|
|
26294
28217
|
Returns: import("../integrations/supabase/types").Json;
|
|
26295
28218
|
};
|
|
28219
|
+
logistics_recalc_tick_kick: {
|
|
28220
|
+
Args: never;
|
|
28221
|
+
Returns: number;
|
|
28222
|
+
};
|
|
28223
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28224
|
+
Args: never;
|
|
28225
|
+
Returns: number;
|
|
28226
|
+
};
|
|
26296
28227
|
logistics_refresh_pick_queue_status: {
|
|
26297
28228
|
Args: {
|
|
26298
28229
|
p_ref: string;
|
|
@@ -26323,11 +28254,24 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26323
28254
|
};
|
|
26324
28255
|
Returns: import("../integrations/supabase/types").Json;
|
|
26325
28256
|
};
|
|
28257
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
28258
|
+
Args: {
|
|
28259
|
+
p_order_id: string;
|
|
28260
|
+
p_reason: string;
|
|
28261
|
+
};
|
|
28262
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28263
|
+
};
|
|
26326
28264
|
logistics_replan_order_journey: {
|
|
26327
28265
|
Args: {
|
|
26328
28266
|
p_order_ref: string;
|
|
26329
28267
|
};
|
|
26330
28268
|
Returns: import("../integrations/supabase/types").Json;
|
|
28269
|
+
} | {
|
|
28270
|
+
Args: {
|
|
28271
|
+
p_order_ref: string;
|
|
28272
|
+
p_reason: string;
|
|
28273
|
+
};
|
|
28274
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26331
28275
|
};
|
|
26332
28276
|
logistics_report_delay: {
|
|
26333
28277
|
Args: {
|
|
@@ -26373,6 +28317,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26373
28317
|
};
|
|
26374
28318
|
Returns: import("../integrations/supabase/types").Json;
|
|
26375
28319
|
};
|
|
28320
|
+
logistics_reserved_stock_nightly: {
|
|
28321
|
+
Args: never;
|
|
28322
|
+
Returns: undefined;
|
|
28323
|
+
};
|
|
26376
28324
|
logistics_resolve_pick_document: {
|
|
26377
28325
|
Args: {
|
|
26378
28326
|
_is_herprint: boolean;
|
|
@@ -26396,6 +28344,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26396
28344
|
};
|
|
26397
28345
|
Returns: import("../integrations/supabase/types").Json;
|
|
26398
28346
|
};
|
|
28347
|
+
logistics_retention_days: {
|
|
28348
|
+
Args: {
|
|
28349
|
+
p_key: string;
|
|
28350
|
+
};
|
|
28351
|
+
Returns: number;
|
|
28352
|
+
};
|
|
26399
28353
|
logistics_rule_bool: {
|
|
26400
28354
|
Args: {
|
|
26401
28355
|
p_default: boolean;
|
|
@@ -26502,6 +28456,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26502
28456
|
};
|
|
26503
28457
|
Returns: string;
|
|
26504
28458
|
};
|
|
28459
|
+
logistics_shipping_note_status: {
|
|
28460
|
+
Args: {
|
|
28461
|
+
p_cart_id?: string;
|
|
28462
|
+
p_slip_job_id?: string;
|
|
28463
|
+
};
|
|
28464
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28465
|
+
};
|
|
26505
28466
|
logistics_shipping_notes_wake_all: {
|
|
26506
28467
|
Args: never;
|
|
26507
28468
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -26564,6 +28525,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26564
28525
|
};
|
|
26565
28526
|
Returns: undefined;
|
|
26566
28527
|
};
|
|
28528
|
+
logistics_slip_note_retry: {
|
|
28529
|
+
Args: {
|
|
28530
|
+
_id: string;
|
|
28531
|
+
};
|
|
28532
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28533
|
+
};
|
|
26567
28534
|
logistics_sticker_follows_slip: {
|
|
26568
28535
|
Args: never;
|
|
26569
28536
|
Returns: boolean;
|
|
@@ -26589,12 +28556,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26589
28556
|
Args: never;
|
|
26590
28557
|
Returns: import("../integrations/supabase/types").Json;
|
|
26591
28558
|
};
|
|
28559
|
+
logistics_sync_pick_queue_backlog: {
|
|
28560
|
+
Args: never;
|
|
28561
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28562
|
+
};
|
|
28563
|
+
logistics_sync_pick_queue_core: {
|
|
28564
|
+
Args: never;
|
|
28565
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28566
|
+
};
|
|
26592
28567
|
logistics_sync_task_carriers: {
|
|
26593
28568
|
Args: {
|
|
26594
28569
|
p_order_ref?: string;
|
|
26595
28570
|
};
|
|
26596
28571
|
Returns: number;
|
|
26597
28572
|
};
|
|
28573
|
+
logistics_task_open_counts: {
|
|
28574
|
+
Args: never;
|
|
28575
|
+
Returns: {
|
|
28576
|
+
open_count: number;
|
|
28577
|
+
owner_module: string;
|
|
28578
|
+
}[];
|
|
28579
|
+
};
|
|
26598
28580
|
logistics_task_owner: {
|
|
26599
28581
|
Args: {
|
|
26600
28582
|
p_task_type: string;
|
|
@@ -26612,6 +28594,16 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26612
28594
|
Args: never;
|
|
26613
28595
|
Returns: number;
|
|
26614
28596
|
};
|
|
28597
|
+
logistics_tasks_prune: {
|
|
28598
|
+
Args: {
|
|
28599
|
+
p_days?: number;
|
|
28600
|
+
};
|
|
28601
|
+
Returns: number;
|
|
28602
|
+
};
|
|
28603
|
+
logistics_tick: {
|
|
28604
|
+
Args: never;
|
|
28605
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28606
|
+
};
|
|
26615
28607
|
logistics_tick_ping: {
|
|
26616
28608
|
Args: never;
|
|
26617
28609
|
Returns: string;
|
|
@@ -26952,6 +28944,17 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
26952
28944
|
};
|
|
26953
28945
|
Returns: boolean;
|
|
26954
28946
|
};
|
|
28947
|
+
order_items_duplicate_report: {
|
|
28948
|
+
Args: {
|
|
28949
|
+
_order_ref?: string;
|
|
28950
|
+
};
|
|
28951
|
+
Returns: {
|
|
28952
|
+
distinct_products: number;
|
|
28953
|
+
duplicate_factor: number;
|
|
28954
|
+
lines: number;
|
|
28955
|
+
order_number: string;
|
|
28956
|
+
}[];
|
|
28957
|
+
};
|
|
26955
28958
|
order_number_prefix: {
|
|
26956
28959
|
Args: {
|
|
26957
28960
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -27272,6 +29275,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
27272
29275
|
};
|
|
27273
29276
|
Returns: string;
|
|
27274
29277
|
};
|
|
29278
|
+
pick_is_reference_admin: {
|
|
29279
|
+
Args: never;
|
|
29280
|
+
Returns: boolean;
|
|
29281
|
+
};
|
|
27275
29282
|
pick_mark_printed: {
|
|
27276
29283
|
Args: {
|
|
27277
29284
|
_queue_item_id: string;
|
|
@@ -27735,6 +29742,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
27735
29742
|
};
|
|
27736
29743
|
Returns: undefined;
|
|
27737
29744
|
};
|
|
29745
|
+
planning_apply_schedule_updates: {
|
|
29746
|
+
Args: {
|
|
29747
|
+
_updates: import("../integrations/supabase/types").Json;
|
|
29748
|
+
};
|
|
29749
|
+
Returns: undefined;
|
|
29750
|
+
};
|
|
29751
|
+
planning_assert_no_overlaps: {
|
|
29752
|
+
Args: never;
|
|
29753
|
+
Returns: undefined;
|
|
29754
|
+
};
|
|
29755
|
+
planning_assert_no_overlaps_for_items: {
|
|
29756
|
+
Args: {
|
|
29757
|
+
_item_ids: string[];
|
|
29758
|
+
};
|
|
29759
|
+
Returns: undefined;
|
|
29760
|
+
};
|
|
27738
29761
|
planning_cancel_item: {
|
|
27739
29762
|
Args: {
|
|
27740
29763
|
_id: string;
|
|
@@ -27846,6 +29869,19 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
27846
29869
|
};
|
|
27847
29870
|
Returns: boolean;
|
|
27848
29871
|
};
|
|
29872
|
+
quote_assign_number: {
|
|
29873
|
+
Args: {
|
|
29874
|
+
_offerte_id: string;
|
|
29875
|
+
};
|
|
29876
|
+
Returns: string;
|
|
29877
|
+
};
|
|
29878
|
+
quote_create_follow_up_now: {
|
|
29879
|
+
Args: {
|
|
29880
|
+
_offerte_id: string;
|
|
29881
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29882
|
+
};
|
|
29883
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29884
|
+
};
|
|
27849
29885
|
quote_create_from_source: {
|
|
27850
29886
|
Args: {
|
|
27851
29887
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28089,6 +30125,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28089
30125
|
Args: never;
|
|
28090
30126
|
Returns: undefined;
|
|
28091
30127
|
};
|
|
30128
|
+
run_order_auto_invoice_tick: {
|
|
30129
|
+
Args: never;
|
|
30130
|
+
Returns: number;
|
|
30131
|
+
};
|
|
28092
30132
|
run_print_queue_ticks: {
|
|
28093
30133
|
Args: never;
|
|
28094
30134
|
Returns: number;
|
|
@@ -28112,6 +30152,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28112
30152
|
};
|
|
28113
30153
|
Returns: import("../integrations/supabase/types").Json;
|
|
28114
30154
|
};
|
|
30155
|
+
scan_controleer_pincode: {
|
|
30156
|
+
Args: {
|
|
30157
|
+
p_pin: string;
|
|
30158
|
+
p_scanner_id: string;
|
|
30159
|
+
};
|
|
30160
|
+
Returns: boolean;
|
|
30161
|
+
};
|
|
28115
30162
|
scan_dashboard_stats: {
|
|
28116
30163
|
Args: {
|
|
28117
30164
|
p_dagen?: number;
|
|
@@ -28131,6 +30178,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28131
30178
|
};
|
|
28132
30179
|
Returns: import("../integrations/supabase/types").Json;
|
|
28133
30180
|
};
|
|
30181
|
+
scan_heeft_pincode: {
|
|
30182
|
+
Args: {
|
|
30183
|
+
p_scanner_id: string;
|
|
30184
|
+
};
|
|
30185
|
+
Returns: boolean;
|
|
30186
|
+
};
|
|
28134
30187
|
scan_kar_compleet: {
|
|
28135
30188
|
Args: {
|
|
28136
30189
|
p_allow_reprint?: boolean;
|
|
@@ -28148,6 +30201,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28148
30201
|
Args: {
|
|
28149
30202
|
p_code: string;
|
|
28150
30203
|
p_latency_ms?: number;
|
|
30204
|
+
p_medewerker?: string;
|
|
28151
30205
|
p_message?: string;
|
|
28152
30206
|
p_result: string;
|
|
28153
30207
|
p_scanner_key?: string;
|
|
@@ -28220,6 +30274,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28220
30274
|
};
|
|
28221
30275
|
Returns: undefined;
|
|
28222
30276
|
};
|
|
30277
|
+
scan_scanner_info: {
|
|
30278
|
+
Args: {
|
|
30279
|
+
p_slug: string;
|
|
30280
|
+
};
|
|
30281
|
+
Returns: {
|
|
30282
|
+
actief: boolean;
|
|
30283
|
+
heeft_pincode: boolean;
|
|
30284
|
+
id: string;
|
|
30285
|
+
naam: string;
|
|
30286
|
+
omschrijving: string;
|
|
30287
|
+
printer_id: string;
|
|
30288
|
+
type: string;
|
|
30289
|
+
vereist_medewerker: boolean;
|
|
30290
|
+
werkplek: string;
|
|
30291
|
+
}[];
|
|
30292
|
+
};
|
|
28223
30293
|
scan_sessie_annuleren: {
|
|
28224
30294
|
Args: {
|
|
28225
30295
|
p_sessie_id: string;
|
|
@@ -28466,6 +30536,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28466
30536
|
};
|
|
28467
30537
|
Returns: number;
|
|
28468
30538
|
};
|
|
30539
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30540
|
+
Args: {
|
|
30541
|
+
p_apikey: string;
|
|
30542
|
+
p_url: string;
|
|
30543
|
+
};
|
|
30544
|
+
Returns: number;
|
|
30545
|
+
};
|
|
28469
30546
|
schedule_floriday_trade_items_sync: {
|
|
28470
30547
|
Args: {
|
|
28471
30548
|
p_apikey: string;
|
|
@@ -28548,6 +30625,26 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28548
30625
|
};
|
|
28549
30626
|
Returns: undefined;
|
|
28550
30627
|
};
|
|
30628
|
+
set_product_stock: {
|
|
30629
|
+
Args: {
|
|
30630
|
+
p_incoming_stock?: number;
|
|
30631
|
+
p_minimum_stock?: number;
|
|
30632
|
+
p_notes?: string;
|
|
30633
|
+
p_physical_stock: number;
|
|
30634
|
+
p_product_id: string;
|
|
30635
|
+
};
|
|
30636
|
+
Returns: {
|
|
30637
|
+
connection_id: string;
|
|
30638
|
+
incoming_stock: number;
|
|
30639
|
+
minimum_stock: number;
|
|
30640
|
+
notes: string;
|
|
30641
|
+
physical_stock: number;
|
|
30642
|
+
product_id: string;
|
|
30643
|
+
reserved_stock: number;
|
|
30644
|
+
trade_item_key: string;
|
|
30645
|
+
updated_at: string;
|
|
30646
|
+
}[];
|
|
30647
|
+
};
|
|
28551
30648
|
show_limit: {
|
|
28552
30649
|
Args: never;
|
|
28553
30650
|
Returns: number;
|
|
@@ -28790,6 +30887,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28790
30887
|
Args: never;
|
|
28791
30888
|
Returns: boolean;
|
|
28792
30889
|
};
|
|
30890
|
+
uren_is_werkdag: {
|
|
30891
|
+
Args: {
|
|
30892
|
+
_date: string;
|
|
30893
|
+
_monteur: string;
|
|
30894
|
+
};
|
|
30895
|
+
Returns: boolean;
|
|
30896
|
+
};
|
|
30897
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30898
|
+
Args: {
|
|
30899
|
+
_datum: string;
|
|
30900
|
+
_eind: string;
|
|
30901
|
+
_reden: string;
|
|
30902
|
+
_start: string;
|
|
30903
|
+
};
|
|
30904
|
+
Returns: string;
|
|
30905
|
+
};
|
|
28793
30906
|
uren_list_medewerkers: {
|
|
28794
30907
|
Args: never;
|
|
28795
30908
|
Returns: {
|
|
@@ -28810,6 +30923,45 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28810
30923
|
roles: string[];
|
|
28811
30924
|
}[];
|
|
28812
30925
|
};
|
|
30926
|
+
uren_list_planner_contacten: {
|
|
30927
|
+
Args: never;
|
|
30928
|
+
Returns: {
|
|
30929
|
+
display_name: string;
|
|
30930
|
+
id: string;
|
|
30931
|
+
phone: string;
|
|
30932
|
+
}[];
|
|
30933
|
+
};
|
|
30934
|
+
uren_maand_afsluiten: {
|
|
30935
|
+
Args: {
|
|
30936
|
+
_maand: string;
|
|
30937
|
+
_monteur: string;
|
|
30938
|
+
};
|
|
30939
|
+
Returns: undefined;
|
|
30940
|
+
};
|
|
30941
|
+
uren_maand_berekenen: {
|
|
30942
|
+
Args: {
|
|
30943
|
+
_maand: string;
|
|
30944
|
+
_monteur: string;
|
|
30945
|
+
};
|
|
30946
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30947
|
+
};
|
|
30948
|
+
uren_maand_corrigeren: {
|
|
30949
|
+
Args: {
|
|
30950
|
+
_maand: string;
|
|
30951
|
+
_monteur: string;
|
|
30952
|
+
_overuren_minuten: number;
|
|
30953
|
+
_reden: string;
|
|
30954
|
+
};
|
|
30955
|
+
Returns: undefined;
|
|
30956
|
+
};
|
|
30957
|
+
uren_mijn_contracturen: {
|
|
30958
|
+
Args: never;
|
|
30959
|
+
Returns: number;
|
|
30960
|
+
};
|
|
30961
|
+
uren_mijn_vakantiesaldo: {
|
|
30962
|
+
Args: never;
|
|
30963
|
+
Returns: number;
|
|
30964
|
+
};
|
|
28813
30965
|
uren_my_monteur_id: {
|
|
28814
30966
|
Args: never;
|
|
28815
30967
|
Returns: string;
|
|
@@ -28843,6 +30995,37 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28843
30995
|
};
|
|
28844
30996
|
Returns: number;
|
|
28845
30997
|
};
|
|
30998
|
+
uren_spiegel_bezig: {
|
|
30999
|
+
Args: never;
|
|
31000
|
+
Returns: boolean;
|
|
31001
|
+
};
|
|
31002
|
+
uren_standaardweek_beoordelen: {
|
|
31003
|
+
Args: {
|
|
31004
|
+
_goedkeuren: boolean;
|
|
31005
|
+
_id: string;
|
|
31006
|
+
_reden?: string;
|
|
31007
|
+
};
|
|
31008
|
+
Returns: undefined;
|
|
31009
|
+
};
|
|
31010
|
+
uren_standaardweek_doorzetten: {
|
|
31011
|
+
Args: {
|
|
31012
|
+
_monteur: string;
|
|
31013
|
+
};
|
|
31014
|
+
Returns: undefined;
|
|
31015
|
+
};
|
|
31016
|
+
uren_standaardweek_instellen: {
|
|
31017
|
+
Args: {
|
|
31018
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
31019
|
+
};
|
|
31020
|
+
Returns: string;
|
|
31021
|
+
};
|
|
31022
|
+
uren_standaardweek_toepassen: {
|
|
31023
|
+
Args: {
|
|
31024
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
31025
|
+
_monteur: string;
|
|
31026
|
+
};
|
|
31027
|
+
Returns: undefined;
|
|
31028
|
+
};
|
|
28846
31029
|
uren_stop_time_log: {
|
|
28847
31030
|
Args: {
|
|
28848
31031
|
p_employee_id: string;
|
|
@@ -28868,6 +31051,165 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28868
31051
|
};
|
|
28869
31052
|
Returns: number;
|
|
28870
31053
|
};
|
|
31054
|
+
uren_vakantie_aanvragen: {
|
|
31055
|
+
Args: {
|
|
31056
|
+
_end_date: string;
|
|
31057
|
+
_hours?: number;
|
|
31058
|
+
_start_date: string;
|
|
31059
|
+
};
|
|
31060
|
+
Returns: string;
|
|
31061
|
+
};
|
|
31062
|
+
uren_vakantiedag_wijzigen: {
|
|
31063
|
+
Args: {
|
|
31064
|
+
_date: string;
|
|
31065
|
+
};
|
|
31066
|
+
Returns: string;
|
|
31067
|
+
};
|
|
31068
|
+
uren_vakantiesaldo_uren: {
|
|
31069
|
+
Args: {
|
|
31070
|
+
_monteur: string;
|
|
31071
|
+
};
|
|
31072
|
+
Returns: number;
|
|
31073
|
+
};
|
|
31074
|
+
uren_week_start: {
|
|
31075
|
+
Args: {
|
|
31076
|
+
_datum: string;
|
|
31077
|
+
};
|
|
31078
|
+
Returns: string;
|
|
31079
|
+
};
|
|
31080
|
+
uren_werkweek_opsturen: {
|
|
31081
|
+
Args: {
|
|
31082
|
+
_week_start: string;
|
|
31083
|
+
};
|
|
31084
|
+
Returns: {
|
|
31085
|
+
approved_at: string | null;
|
|
31086
|
+
approved_by: string | null;
|
|
31087
|
+
contract_hours: number;
|
|
31088
|
+
created_at: string;
|
|
31089
|
+
employee_id: string;
|
|
31090
|
+
id: string;
|
|
31091
|
+
locked: boolean;
|
|
31092
|
+
monteur_toelichting: string | null;
|
|
31093
|
+
notes: string | null;
|
|
31094
|
+
planned_hours: number;
|
|
31095
|
+
status: string;
|
|
31096
|
+
submitted_at: string | null;
|
|
31097
|
+
updated_at: string;
|
|
31098
|
+
variance_hours: number;
|
|
31099
|
+
week_start: string;
|
|
31100
|
+
};
|
|
31101
|
+
SetofOptions: {
|
|
31102
|
+
from: "*";
|
|
31103
|
+
to: "time_log_week_approvals";
|
|
31104
|
+
isOneToOne: true;
|
|
31105
|
+
isSetofReturn: false;
|
|
31106
|
+
};
|
|
31107
|
+
} | {
|
|
31108
|
+
Args: {
|
|
31109
|
+
_vrije_dagen?: string[];
|
|
31110
|
+
_week_start: string;
|
|
31111
|
+
};
|
|
31112
|
+
Returns: {
|
|
31113
|
+
approved_at: string | null;
|
|
31114
|
+
approved_by: string | null;
|
|
31115
|
+
contract_hours: number;
|
|
31116
|
+
created_at: string;
|
|
31117
|
+
employee_id: string;
|
|
31118
|
+
id: string;
|
|
31119
|
+
locked: boolean;
|
|
31120
|
+
monteur_toelichting: string | null;
|
|
31121
|
+
notes: string | null;
|
|
31122
|
+
planned_hours: number;
|
|
31123
|
+
status: string;
|
|
31124
|
+
submitted_at: string | null;
|
|
31125
|
+
updated_at: string;
|
|
31126
|
+
variance_hours: number;
|
|
31127
|
+
week_start: string;
|
|
31128
|
+
};
|
|
31129
|
+
SetofOptions: {
|
|
31130
|
+
from: "*";
|
|
31131
|
+
to: "time_log_week_approvals";
|
|
31132
|
+
isOneToOne: true;
|
|
31133
|
+
isSetofReturn: false;
|
|
31134
|
+
};
|
|
31135
|
+
} | {
|
|
31136
|
+
Args: {
|
|
31137
|
+
_toelichting?: string;
|
|
31138
|
+
_vrije_dagen?: string[];
|
|
31139
|
+
_week_start: string;
|
|
31140
|
+
};
|
|
31141
|
+
Returns: {
|
|
31142
|
+
approved_at: string | null;
|
|
31143
|
+
approved_by: string | null;
|
|
31144
|
+
contract_hours: number;
|
|
31145
|
+
created_at: string;
|
|
31146
|
+
employee_id: string;
|
|
31147
|
+
id: string;
|
|
31148
|
+
locked: boolean;
|
|
31149
|
+
monteur_toelichting: string | null;
|
|
31150
|
+
notes: string | null;
|
|
31151
|
+
planned_hours: number;
|
|
31152
|
+
status: string;
|
|
31153
|
+
submitted_at: string | null;
|
|
31154
|
+
updated_at: string;
|
|
31155
|
+
variance_hours: number;
|
|
31156
|
+
week_start: string;
|
|
31157
|
+
};
|
|
31158
|
+
SetofOptions: {
|
|
31159
|
+
from: "*";
|
|
31160
|
+
to: "time_log_week_approvals";
|
|
31161
|
+
isOneToOne: true;
|
|
31162
|
+
isSetofReturn: false;
|
|
31163
|
+
};
|
|
31164
|
+
};
|
|
31165
|
+
vakantie_dagen_gebruikt: {
|
|
31166
|
+
Args: {
|
|
31167
|
+
_user_id: string;
|
|
31168
|
+
_year: number;
|
|
31169
|
+
};
|
|
31170
|
+
Returns: number;
|
|
31171
|
+
};
|
|
31172
|
+
vakantie_overuren: {
|
|
31173
|
+
Args: {
|
|
31174
|
+
_user_id: string;
|
|
31175
|
+
_year?: number;
|
|
31176
|
+
};
|
|
31177
|
+
Returns: number;
|
|
31178
|
+
};
|
|
31179
|
+
vakantie_saldo: {
|
|
31180
|
+
Args: {
|
|
31181
|
+
_user_id: string;
|
|
31182
|
+
_year?: number;
|
|
31183
|
+
};
|
|
31184
|
+
Returns: {
|
|
31185
|
+
day_hours: number;
|
|
31186
|
+
earned_from_overtime_days: number;
|
|
31187
|
+
entitlement_days: number;
|
|
31188
|
+
hours_to_next_day: number;
|
|
31189
|
+
overtime_hours: number;
|
|
31190
|
+
overtime_remainder_hours: number;
|
|
31191
|
+
paid_out_days: number;
|
|
31192
|
+
remaining_days: number;
|
|
31193
|
+
used_days: number;
|
|
31194
|
+
}[];
|
|
31195
|
+
};
|
|
31196
|
+
vakantie_saldo_overzicht: {
|
|
31197
|
+
Args: {
|
|
31198
|
+
_year?: number;
|
|
31199
|
+
};
|
|
31200
|
+
Returns: {
|
|
31201
|
+
day_hours: number;
|
|
31202
|
+
earned_from_overtime_days: number;
|
|
31203
|
+
entitlement_days: number;
|
|
31204
|
+
hours_to_next_day: number;
|
|
31205
|
+
overtime_hours: number;
|
|
31206
|
+
overtime_remainder_hours: number;
|
|
31207
|
+
paid_out_days: number;
|
|
31208
|
+
remaining_days: number;
|
|
31209
|
+
used_days: number;
|
|
31210
|
+
user_id: string;
|
|
31211
|
+
}[];
|
|
31212
|
+
};
|
|
28871
31213
|
voorraad_cleanup_old_rows: {
|
|
28872
31214
|
Args: never;
|
|
28873
31215
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -28910,18 +31252,46 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28910
31252
|
};
|
|
28911
31253
|
Returns: import("../integrations/supabase/types").Json;
|
|
28912
31254
|
};
|
|
31255
|
+
wo_list_colleague_planning: {
|
|
31256
|
+
Args: {
|
|
31257
|
+
_from: string;
|
|
31258
|
+
_monteur_id: string;
|
|
31259
|
+
_to: string;
|
|
31260
|
+
};
|
|
31261
|
+
Returns: {
|
|
31262
|
+
end_at: string;
|
|
31263
|
+
id: string;
|
|
31264
|
+
role: string;
|
|
31265
|
+
start_at: string;
|
|
31266
|
+
status: string;
|
|
31267
|
+
werkbon_id: string;
|
|
31268
|
+
}[];
|
|
31269
|
+
};
|
|
28913
31270
|
wo_list_offerte_requests: {
|
|
28914
31271
|
Args: {
|
|
28915
31272
|
_status?: string;
|
|
28916
31273
|
};
|
|
28917
31274
|
Returns: import("../integrations/supabase/types").Json;
|
|
28918
31275
|
};
|
|
31276
|
+
wo_list_proposals: {
|
|
31277
|
+
Args: {
|
|
31278
|
+
_status?: string;
|
|
31279
|
+
};
|
|
31280
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31281
|
+
};
|
|
28919
31282
|
wo_process_offerte_request: {
|
|
28920
31283
|
Args: {
|
|
28921
31284
|
_queue_id: string;
|
|
28922
31285
|
};
|
|
28923
31286
|
Returns: import("../integrations/supabase/types").Json;
|
|
28924
31287
|
};
|
|
31288
|
+
wo_process_proposal: {
|
|
31289
|
+
Args: {
|
|
31290
|
+
_id: string;
|
|
31291
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
31292
|
+
};
|
|
31293
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31294
|
+
};
|
|
28925
31295
|
wo_reject_offerte_request: {
|
|
28926
31296
|
Args: {
|
|
28927
31297
|
_queue_id: string;
|
|
@@ -28929,6 +31299,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
28929
31299
|
};
|
|
28930
31300
|
Returns: import("../integrations/supabase/types").Json;
|
|
28931
31301
|
};
|
|
31302
|
+
wo_reject_proposal: {
|
|
31303
|
+
Args: {
|
|
31304
|
+
_id: string;
|
|
31305
|
+
_reden?: string;
|
|
31306
|
+
};
|
|
31307
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31308
|
+
};
|
|
28932
31309
|
wo_set_status: {
|
|
28933
31310
|
Args: {
|
|
28934
31311
|
_reason?: string;
|