@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
|
@@ -742,6 +742,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
742
742
|
};
|
|
743
743
|
Relationships: [];
|
|
744
744
|
};
|
|
745
|
+
artikelen_instellingen: {
|
|
746
|
+
Row: {
|
|
747
|
+
created_at: string;
|
|
748
|
+
id: number;
|
|
749
|
+
marge_procent: number;
|
|
750
|
+
updated_at: string;
|
|
751
|
+
};
|
|
752
|
+
Insert: {
|
|
753
|
+
created_at?: string;
|
|
754
|
+
id?: number;
|
|
755
|
+
marge_procent?: number;
|
|
756
|
+
updated_at?: string;
|
|
757
|
+
};
|
|
758
|
+
Update: {
|
|
759
|
+
created_at?: string;
|
|
760
|
+
id?: number;
|
|
761
|
+
marge_procent?: number;
|
|
762
|
+
updated_at?: string;
|
|
763
|
+
};
|
|
764
|
+
Relationships: [];
|
|
765
|
+
};
|
|
745
766
|
artikelen_veldconfig: {
|
|
746
767
|
Row: {
|
|
747
768
|
bron_pad: string;
|
|
@@ -7998,6 +8019,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
7998
8019
|
};
|
|
7999
8020
|
fust_types: {
|
|
8000
8021
|
Row: {
|
|
8022
|
+
capacity_units: number | null;
|
|
8001
8023
|
connection_id: string | null;
|
|
8002
8024
|
created_at: string;
|
|
8003
8025
|
custom_package_id: string | null;
|
|
@@ -8018,6 +8040,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8018
8040
|
width_mm: number | null;
|
|
8019
8041
|
};
|
|
8020
8042
|
Insert: {
|
|
8043
|
+
capacity_units?: number | null;
|
|
8021
8044
|
connection_id?: string | null;
|
|
8022
8045
|
created_at?: string;
|
|
8023
8046
|
custom_package_id?: string | null;
|
|
@@ -8038,6 +8061,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8038
8061
|
width_mm?: number | null;
|
|
8039
8062
|
};
|
|
8040
8063
|
Update: {
|
|
8064
|
+
capacity_units?: number | null;
|
|
8041
8065
|
connection_id?: string | null;
|
|
8042
8066
|
created_at?: string;
|
|
8043
8067
|
custom_package_id?: string | null;
|
|
@@ -8269,6 +8293,72 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8269
8293
|
};
|
|
8270
8294
|
Relationships: [];
|
|
8271
8295
|
};
|
|
8296
|
+
invoice_branding_settings: {
|
|
8297
|
+
Row: {
|
|
8298
|
+
address: string;
|
|
8299
|
+
chamber_of_commerce_number: string;
|
|
8300
|
+
city: string;
|
|
8301
|
+
company_name: string;
|
|
8302
|
+
created_at: string;
|
|
8303
|
+
email: string;
|
|
8304
|
+
email_purpose: string | null;
|
|
8305
|
+
iban: string;
|
|
8306
|
+
logo_path: string | null;
|
|
8307
|
+
payment_term_days: number;
|
|
8308
|
+
phone: string;
|
|
8309
|
+
postal_code: string;
|
|
8310
|
+
primary_color: string;
|
|
8311
|
+
secondary_color: string;
|
|
8312
|
+
show_company_name: boolean;
|
|
8313
|
+
singleton_key: boolean;
|
|
8314
|
+
updated_at: string;
|
|
8315
|
+
vat_identification_number: string;
|
|
8316
|
+
website: string;
|
|
8317
|
+
};
|
|
8318
|
+
Insert: {
|
|
8319
|
+
address?: string;
|
|
8320
|
+
chamber_of_commerce_number?: string;
|
|
8321
|
+
city?: string;
|
|
8322
|
+
company_name?: string;
|
|
8323
|
+
created_at?: string;
|
|
8324
|
+
email?: string;
|
|
8325
|
+
email_purpose?: string | null;
|
|
8326
|
+
iban?: string;
|
|
8327
|
+
logo_path?: string | null;
|
|
8328
|
+
payment_term_days?: number;
|
|
8329
|
+
phone?: string;
|
|
8330
|
+
postal_code?: string;
|
|
8331
|
+
primary_color?: string;
|
|
8332
|
+
secondary_color?: string;
|
|
8333
|
+
show_company_name?: boolean;
|
|
8334
|
+
singleton_key?: boolean;
|
|
8335
|
+
updated_at?: string;
|
|
8336
|
+
vat_identification_number?: string;
|
|
8337
|
+
website?: string;
|
|
8338
|
+
};
|
|
8339
|
+
Update: {
|
|
8340
|
+
address?: string;
|
|
8341
|
+
chamber_of_commerce_number?: string;
|
|
8342
|
+
city?: string;
|
|
8343
|
+
company_name?: string;
|
|
8344
|
+
created_at?: string;
|
|
8345
|
+
email?: string;
|
|
8346
|
+
email_purpose?: string | null;
|
|
8347
|
+
iban?: string;
|
|
8348
|
+
logo_path?: string | null;
|
|
8349
|
+
payment_term_days?: number;
|
|
8350
|
+
phone?: string;
|
|
8351
|
+
postal_code?: string;
|
|
8352
|
+
primary_color?: string;
|
|
8353
|
+
secondary_color?: string;
|
|
8354
|
+
show_company_name?: boolean;
|
|
8355
|
+
singleton_key?: boolean;
|
|
8356
|
+
updated_at?: string;
|
|
8357
|
+
vat_identification_number?: string;
|
|
8358
|
+
website?: string;
|
|
8359
|
+
};
|
|
8360
|
+
Relationships: [];
|
|
8361
|
+
};
|
|
8272
8362
|
invoice_items: {
|
|
8273
8363
|
Row: {
|
|
8274
8364
|
created_at: string;
|
|
@@ -8282,6 +8372,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8282
8372
|
total_cents: number;
|
|
8283
8373
|
unit: string;
|
|
8284
8374
|
unit_price_cents: number;
|
|
8375
|
+
vat_rate: number | null;
|
|
8285
8376
|
};
|
|
8286
8377
|
Insert: {
|
|
8287
8378
|
created_at?: string;
|
|
@@ -8295,6 +8386,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8295
8386
|
total_cents?: number;
|
|
8296
8387
|
unit?: string;
|
|
8297
8388
|
unit_price_cents?: number;
|
|
8389
|
+
vat_rate?: number | null;
|
|
8298
8390
|
};
|
|
8299
8391
|
Update: {
|
|
8300
8392
|
created_at?: string;
|
|
@@ -8308,6 +8400,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8308
8400
|
total_cents?: number;
|
|
8309
8401
|
unit?: string;
|
|
8310
8402
|
unit_price_cents?: number;
|
|
8403
|
+
vat_rate?: number | null;
|
|
8311
8404
|
};
|
|
8312
8405
|
Relationships: [{
|
|
8313
8406
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8553,15 +8646,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8553
8646
|
};
|
|
8554
8647
|
invoices: {
|
|
8555
8648
|
Row: {
|
|
8649
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8556
8650
|
created_at: string;
|
|
8557
8651
|
created_by: string | null;
|
|
8652
|
+
customer_address: string | null;
|
|
8653
|
+
customer_attention: string | null;
|
|
8654
|
+
customer_city: string | null;
|
|
8558
8655
|
customer_id: string | null;
|
|
8559
8656
|
customer_name: string | null;
|
|
8657
|
+
customer_postal_code: string | null;
|
|
8658
|
+
customer_vat_number: string | null;
|
|
8659
|
+
debtor_number: string | null;
|
|
8560
8660
|
due_date: string | null;
|
|
8661
|
+
execution_date: string | null;
|
|
8561
8662
|
id: string;
|
|
8562
8663
|
invoice_date: string;
|
|
8563
8664
|
invoice_number: string | null;
|
|
8564
8665
|
note: string | null;
|
|
8666
|
+
payment_term_days: number;
|
|
8667
|
+
reference: string | null;
|
|
8668
|
+
sent_at: string | null;
|
|
8669
|
+
sent_to: string | null;
|
|
8565
8670
|
source_number: string | null;
|
|
8566
8671
|
source_ref: string | null;
|
|
8567
8672
|
source_type: string;
|
|
@@ -8571,17 +8676,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8571
8676
|
updated_at: string;
|
|
8572
8677
|
vat_cents: number;
|
|
8573
8678
|
vat_rate: number;
|
|
8679
|
+
work_address: string | null;
|
|
8574
8680
|
};
|
|
8575
8681
|
Insert: {
|
|
8682
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8576
8683
|
created_at?: string;
|
|
8577
8684
|
created_by?: string | null;
|
|
8685
|
+
customer_address?: string | null;
|
|
8686
|
+
customer_attention?: string | null;
|
|
8687
|
+
customer_city?: string | null;
|
|
8578
8688
|
customer_id?: string | null;
|
|
8579
8689
|
customer_name?: string | null;
|
|
8690
|
+
customer_postal_code?: string | null;
|
|
8691
|
+
customer_vat_number?: string | null;
|
|
8692
|
+
debtor_number?: string | null;
|
|
8580
8693
|
due_date?: string | null;
|
|
8694
|
+
execution_date?: string | null;
|
|
8581
8695
|
id?: string;
|
|
8582
8696
|
invoice_date?: string;
|
|
8583
8697
|
invoice_number?: string | null;
|
|
8584
8698
|
note?: string | null;
|
|
8699
|
+
payment_term_days?: number;
|
|
8700
|
+
reference?: string | null;
|
|
8701
|
+
sent_at?: string | null;
|
|
8702
|
+
sent_to?: string | null;
|
|
8585
8703
|
source_number?: string | null;
|
|
8586
8704
|
source_ref?: string | null;
|
|
8587
8705
|
source_type?: string;
|
|
@@ -8591,17 +8709,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8591
8709
|
updated_at?: string;
|
|
8592
8710
|
vat_cents?: number;
|
|
8593
8711
|
vat_rate?: number;
|
|
8712
|
+
work_address?: string | null;
|
|
8594
8713
|
};
|
|
8595
8714
|
Update: {
|
|
8715
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8596
8716
|
created_at?: string;
|
|
8597
8717
|
created_by?: string | null;
|
|
8718
|
+
customer_address?: string | null;
|
|
8719
|
+
customer_attention?: string | null;
|
|
8720
|
+
customer_city?: string | null;
|
|
8598
8721
|
customer_id?: string | null;
|
|
8599
8722
|
customer_name?: string | null;
|
|
8723
|
+
customer_postal_code?: string | null;
|
|
8724
|
+
customer_vat_number?: string | null;
|
|
8725
|
+
debtor_number?: string | null;
|
|
8600
8726
|
due_date?: string | null;
|
|
8727
|
+
execution_date?: string | null;
|
|
8601
8728
|
id?: string;
|
|
8602
8729
|
invoice_date?: string;
|
|
8603
8730
|
invoice_number?: string | null;
|
|
8604
8731
|
note?: string | null;
|
|
8732
|
+
payment_term_days?: number;
|
|
8733
|
+
reference?: string | null;
|
|
8734
|
+
sent_at?: string | null;
|
|
8735
|
+
sent_to?: string | null;
|
|
8605
8736
|
source_number?: string | null;
|
|
8606
8737
|
source_ref?: string | null;
|
|
8607
8738
|
source_type?: string;
|
|
@@ -8611,6 +8742,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
8611
8742
|
updated_at?: string;
|
|
8612
8743
|
vat_cents?: number;
|
|
8613
8744
|
vat_rate?: number;
|
|
8745
|
+
work_address?: string | null;
|
|
8614
8746
|
};
|
|
8615
8747
|
Relationships: [{
|
|
8616
8748
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9309,6 +9441,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9309
9441
|
quantity: number;
|
|
9310
9442
|
sort_order: number;
|
|
9311
9443
|
source: string;
|
|
9444
|
+
unit: string | null;
|
|
9312
9445
|
unit_price_cents: number;
|
|
9313
9446
|
updated_at: string;
|
|
9314
9447
|
};
|
|
@@ -9322,6 +9455,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9322
9455
|
quantity?: number;
|
|
9323
9456
|
sort_order?: number;
|
|
9324
9457
|
source?: string;
|
|
9458
|
+
unit?: string | null;
|
|
9325
9459
|
unit_price_cents?: number;
|
|
9326
9460
|
updated_at?: string;
|
|
9327
9461
|
};
|
|
@@ -9335,6 +9469,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9335
9469
|
quantity?: number;
|
|
9336
9470
|
sort_order?: number;
|
|
9337
9471
|
source?: string;
|
|
9472
|
+
unit?: string | null;
|
|
9338
9473
|
unit_price_cents?: number;
|
|
9339
9474
|
updated_at?: string;
|
|
9340
9475
|
};
|
|
@@ -9358,6 +9493,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9358
9493
|
created_at: string;
|
|
9359
9494
|
default_geldigheid_dagen: number;
|
|
9360
9495
|
default_vat_rate: number;
|
|
9496
|
+
email_purpose: string | null;
|
|
9361
9497
|
id: string;
|
|
9362
9498
|
singleton: boolean;
|
|
9363
9499
|
updated_at: string;
|
|
@@ -9367,6 +9503,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9367
9503
|
created_at?: string;
|
|
9368
9504
|
default_geldigheid_dagen?: number;
|
|
9369
9505
|
default_vat_rate?: number;
|
|
9506
|
+
email_purpose?: string | null;
|
|
9370
9507
|
id?: string;
|
|
9371
9508
|
singleton?: boolean;
|
|
9372
9509
|
updated_at?: string;
|
|
@@ -9376,12 +9513,49 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9376
9513
|
created_at?: string;
|
|
9377
9514
|
default_geldigheid_dagen?: number;
|
|
9378
9515
|
default_vat_rate?: number;
|
|
9516
|
+
email_purpose?: string | null;
|
|
9379
9517
|
id?: string;
|
|
9380
9518
|
singleton?: boolean;
|
|
9381
9519
|
updated_at?: string;
|
|
9382
9520
|
};
|
|
9383
9521
|
Relationships: [];
|
|
9384
9522
|
};
|
|
9523
|
+
itk_offerte_voorstel_status: {
|
|
9524
|
+
Row: {
|
|
9525
|
+
ai_concept: import("../integrations/supabase/types").Json | null;
|
|
9526
|
+
created_at: string;
|
|
9527
|
+
id: string;
|
|
9528
|
+
offerte_id: string | null;
|
|
9529
|
+
proposal_id: string;
|
|
9530
|
+
seen_at: string | null;
|
|
9531
|
+
updated_at: string;
|
|
9532
|
+
};
|
|
9533
|
+
Insert: {
|
|
9534
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9535
|
+
created_at?: string;
|
|
9536
|
+
id?: string;
|
|
9537
|
+
offerte_id?: string | null;
|
|
9538
|
+
proposal_id: string;
|
|
9539
|
+
seen_at?: string | null;
|
|
9540
|
+
updated_at?: string;
|
|
9541
|
+
};
|
|
9542
|
+
Update: {
|
|
9543
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9544
|
+
created_at?: string;
|
|
9545
|
+
id?: string;
|
|
9546
|
+
offerte_id?: string | null;
|
|
9547
|
+
proposal_id?: string;
|
|
9548
|
+
seen_at?: string | null;
|
|
9549
|
+
updated_at?: string;
|
|
9550
|
+
};
|
|
9551
|
+
Relationships: [{
|
|
9552
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9553
|
+
columns: ["offerte_id"];
|
|
9554
|
+
isOneToOne: false;
|
|
9555
|
+
referencedRelation: "itk_offertes";
|
|
9556
|
+
referencedColumns: ["id"];
|
|
9557
|
+
}];
|
|
9558
|
+
};
|
|
9385
9559
|
itk_offerte_werkbon_queue: {
|
|
9386
9560
|
Row: {
|
|
9387
9561
|
bron_werkbon_id: string | null;
|
|
@@ -9432,6 +9606,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9432
9606
|
};
|
|
9433
9607
|
itk_offertes: {
|
|
9434
9608
|
Row: {
|
|
9609
|
+
aandachtspunten: string | null;
|
|
9435
9610
|
ai_generated: boolean;
|
|
9436
9611
|
approved_at: string | null;
|
|
9437
9612
|
binnen_mandaat: boolean;
|
|
@@ -9447,6 +9622,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9447
9622
|
notities: string | null;
|
|
9448
9623
|
offerte_number: string | null;
|
|
9449
9624
|
omschrijving: string;
|
|
9625
|
+
onderwerp: string | null;
|
|
9450
9626
|
rejected_at: string | null;
|
|
9451
9627
|
sent_at: string | null;
|
|
9452
9628
|
source_number: string | null;
|
|
@@ -9459,12 +9635,15 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9459
9635
|
valid_until: string | null;
|
|
9460
9636
|
vat_cents: number;
|
|
9461
9637
|
vat_rate: number;
|
|
9638
|
+
verzonden_naar: string | null;
|
|
9462
9639
|
viewed_at: string | null;
|
|
9463
9640
|
volgnummer: number | null;
|
|
9641
|
+
voorwaarden: string | null;
|
|
9464
9642
|
werkbon_id: string | null;
|
|
9465
9643
|
work_location_id: string | null;
|
|
9466
9644
|
};
|
|
9467
9645
|
Insert: {
|
|
9646
|
+
aandachtspunten?: string | null;
|
|
9468
9647
|
ai_generated?: boolean;
|
|
9469
9648
|
approved_at?: string | null;
|
|
9470
9649
|
binnen_mandaat?: boolean;
|
|
@@ -9480,6 +9659,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9480
9659
|
notities?: string | null;
|
|
9481
9660
|
offerte_number?: string | null;
|
|
9482
9661
|
omschrijving?: string;
|
|
9662
|
+
onderwerp?: string | null;
|
|
9483
9663
|
rejected_at?: string | null;
|
|
9484
9664
|
sent_at?: string | null;
|
|
9485
9665
|
source_number?: string | null;
|
|
@@ -9492,12 +9672,15 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9492
9672
|
valid_until?: string | null;
|
|
9493
9673
|
vat_cents?: number;
|
|
9494
9674
|
vat_rate?: number;
|
|
9675
|
+
verzonden_naar?: string | null;
|
|
9495
9676
|
viewed_at?: string | null;
|
|
9496
9677
|
volgnummer?: number | null;
|
|
9678
|
+
voorwaarden?: string | null;
|
|
9497
9679
|
werkbon_id?: string | null;
|
|
9498
9680
|
work_location_id?: string | null;
|
|
9499
9681
|
};
|
|
9500
9682
|
Update: {
|
|
9683
|
+
aandachtspunten?: string | null;
|
|
9501
9684
|
ai_generated?: boolean;
|
|
9502
9685
|
approved_at?: string | null;
|
|
9503
9686
|
binnen_mandaat?: boolean;
|
|
@@ -9513,6 +9696,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9513
9696
|
notities?: string | null;
|
|
9514
9697
|
offerte_number?: string | null;
|
|
9515
9698
|
omschrijving?: string;
|
|
9699
|
+
onderwerp?: string | null;
|
|
9516
9700
|
rejected_at?: string | null;
|
|
9517
9701
|
sent_at?: string | null;
|
|
9518
9702
|
source_number?: string | null;
|
|
@@ -9525,8 +9709,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9525
9709
|
valid_until?: string | null;
|
|
9526
9710
|
vat_cents?: number;
|
|
9527
9711
|
vat_rate?: number;
|
|
9712
|
+
verzonden_naar?: string | null;
|
|
9528
9713
|
viewed_at?: string | null;
|
|
9529
9714
|
volgnummer?: number | null;
|
|
9715
|
+
voorwaarden?: string | null;
|
|
9530
9716
|
werkbon_id?: string | null;
|
|
9531
9717
|
work_location_id?: string | null;
|
|
9532
9718
|
};
|
|
@@ -9702,6 +9888,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9702
9888
|
};
|
|
9703
9889
|
leave_requests: {
|
|
9704
9890
|
Row: {
|
|
9891
|
+
cancellation_requested_at: string | null;
|
|
9892
|
+
cancellation_status: string | null;
|
|
9705
9893
|
created_at: string;
|
|
9706
9894
|
decided_at: string | null;
|
|
9707
9895
|
decided_by: string | null;
|
|
@@ -9712,6 +9900,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9712
9900
|
leave_type: string;
|
|
9713
9901
|
monteur_id: string | null;
|
|
9714
9902
|
reason: string | null;
|
|
9903
|
+
reden_afkeur: string | null;
|
|
9715
9904
|
start_date: string;
|
|
9716
9905
|
start_time: string | null;
|
|
9717
9906
|
status: string;
|
|
@@ -9719,6 +9908,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9719
9908
|
user_id: string;
|
|
9720
9909
|
};
|
|
9721
9910
|
Insert: {
|
|
9911
|
+
cancellation_requested_at?: string | null;
|
|
9912
|
+
cancellation_status?: string | null;
|
|
9722
9913
|
created_at?: string;
|
|
9723
9914
|
decided_at?: string | null;
|
|
9724
9915
|
decided_by?: string | null;
|
|
@@ -9729,6 +9920,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9729
9920
|
leave_type?: string;
|
|
9730
9921
|
monteur_id?: string | null;
|
|
9731
9922
|
reason?: string | null;
|
|
9923
|
+
reden_afkeur?: string | null;
|
|
9732
9924
|
start_date: string;
|
|
9733
9925
|
start_time?: string | null;
|
|
9734
9926
|
status?: string;
|
|
@@ -9736,6 +9928,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9736
9928
|
user_id: string;
|
|
9737
9929
|
};
|
|
9738
9930
|
Update: {
|
|
9931
|
+
cancellation_requested_at?: string | null;
|
|
9932
|
+
cancellation_status?: string | null;
|
|
9739
9933
|
created_at?: string;
|
|
9740
9934
|
decided_at?: string | null;
|
|
9741
9935
|
decided_by?: string | null;
|
|
@@ -9746,6 +9940,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
9746
9940
|
leave_type?: string;
|
|
9747
9941
|
monteur_id?: string | null;
|
|
9748
9942
|
reason?: string | null;
|
|
9943
|
+
reden_afkeur?: string | null;
|
|
9749
9944
|
start_date?: string;
|
|
9750
9945
|
start_time?: string | null;
|
|
9751
9946
|
status?: string;
|
|
@@ -10243,6 +10438,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
10243
10438
|
};
|
|
10244
10439
|
Relationships: [];
|
|
10245
10440
|
};
|
|
10441
|
+
logistics_cart_barcode_archief: {
|
|
10442
|
+
Row: {
|
|
10443
|
+
barcode: string;
|
|
10444
|
+
cart_id: string;
|
|
10445
|
+
created_at: string | null;
|
|
10446
|
+
gearchiveerd_op: string;
|
|
10447
|
+
order_id: string | null;
|
|
10448
|
+
};
|
|
10449
|
+
Insert: {
|
|
10450
|
+
barcode: string;
|
|
10451
|
+
cart_id: string;
|
|
10452
|
+
created_at?: string | null;
|
|
10453
|
+
gearchiveerd_op?: string;
|
|
10454
|
+
order_id?: string | null;
|
|
10455
|
+
};
|
|
10456
|
+
Update: {
|
|
10457
|
+
barcode?: string;
|
|
10458
|
+
cart_id?: string;
|
|
10459
|
+
created_at?: string | null;
|
|
10460
|
+
gearchiveerd_op?: string;
|
|
10461
|
+
order_id?: string | null;
|
|
10462
|
+
};
|
|
10463
|
+
Relationships: [];
|
|
10464
|
+
};
|
|
10246
10465
|
logistics_control_scan: {
|
|
10247
10466
|
Row: {
|
|
10248
10467
|
approved_at: string | null;
|
|
@@ -10888,6 +11107,54 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
10888
11107
|
};
|
|
10889
11108
|
Relationships: [];
|
|
10890
11109
|
};
|
|
11110
|
+
logistics_order_finalize_queue: {
|
|
11111
|
+
Row: {
|
|
11112
|
+
attempts: number;
|
|
11113
|
+
claimed_at: string | null;
|
|
11114
|
+
created_at: string;
|
|
11115
|
+
finished_at: string | null;
|
|
11116
|
+
last_error: string | null;
|
|
11117
|
+
lease_until: string | null;
|
|
11118
|
+
max_attempts: number;
|
|
11119
|
+
next_attempt_at: string;
|
|
11120
|
+
order_id: string;
|
|
11121
|
+
reason: string | null;
|
|
11122
|
+
requested_at: string;
|
|
11123
|
+
status: string;
|
|
11124
|
+
updated_at: string;
|
|
11125
|
+
};
|
|
11126
|
+
Insert: {
|
|
11127
|
+
attempts?: number;
|
|
11128
|
+
claimed_at?: string | null;
|
|
11129
|
+
created_at?: string;
|
|
11130
|
+
finished_at?: string | null;
|
|
11131
|
+
last_error?: string | null;
|
|
11132
|
+
lease_until?: string | null;
|
|
11133
|
+
max_attempts?: number;
|
|
11134
|
+
next_attempt_at?: string;
|
|
11135
|
+
order_id: string;
|
|
11136
|
+
reason?: string | null;
|
|
11137
|
+
requested_at?: string;
|
|
11138
|
+
status?: string;
|
|
11139
|
+
updated_at?: string;
|
|
11140
|
+
};
|
|
11141
|
+
Update: {
|
|
11142
|
+
attempts?: number;
|
|
11143
|
+
claimed_at?: string | null;
|
|
11144
|
+
created_at?: string;
|
|
11145
|
+
finished_at?: string | null;
|
|
11146
|
+
last_error?: string | null;
|
|
11147
|
+
lease_until?: string | null;
|
|
11148
|
+
max_attempts?: number;
|
|
11149
|
+
next_attempt_at?: string;
|
|
11150
|
+
order_id?: string;
|
|
11151
|
+
reason?: string | null;
|
|
11152
|
+
requested_at?: string;
|
|
11153
|
+
status?: string;
|
|
11154
|
+
updated_at?: string;
|
|
11155
|
+
};
|
|
11156
|
+
Relationships: [];
|
|
11157
|
+
};
|
|
10891
11158
|
logistics_order_merges: {
|
|
10892
11159
|
Row: {
|
|
10893
11160
|
group_key: string;
|
|
@@ -10924,6 +11191,72 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
10924
11191
|
};
|
|
10925
11192
|
Relationships: [];
|
|
10926
11193
|
};
|
|
11194
|
+
logistics_packing_deviations: {
|
|
11195
|
+
Row: {
|
|
11196
|
+
auto_fixed_at: string | null;
|
|
11197
|
+
created_at: string;
|
|
11198
|
+
dev_key: string;
|
|
11199
|
+
first_seen_at: string;
|
|
11200
|
+
floriday_packing: import("../integrations/supabase/types").Json;
|
|
11201
|
+
human_reason: string | null;
|
|
11202
|
+
id: string;
|
|
11203
|
+
last_seen_at: string;
|
|
11204
|
+
local_packing: import("../integrations/supabase/types").Json;
|
|
11205
|
+
needs_human: boolean;
|
|
11206
|
+
order_id: string | null;
|
|
11207
|
+
order_item_id: string | null;
|
|
11208
|
+
order_number: string | null;
|
|
11209
|
+
product_id: string | null;
|
|
11210
|
+
product_name: string | null;
|
|
11211
|
+
resolved_at: string | null;
|
|
11212
|
+
scope: string;
|
|
11213
|
+
trade_item_id: string | null;
|
|
11214
|
+
updated_at: string;
|
|
11215
|
+
};
|
|
11216
|
+
Insert: {
|
|
11217
|
+
auto_fixed_at?: string | null;
|
|
11218
|
+
created_at?: string;
|
|
11219
|
+
dev_key: string;
|
|
11220
|
+
first_seen_at?: string;
|
|
11221
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11222
|
+
human_reason?: string | null;
|
|
11223
|
+
id?: string;
|
|
11224
|
+
last_seen_at?: string;
|
|
11225
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11226
|
+
needs_human?: boolean;
|
|
11227
|
+
order_id?: string | null;
|
|
11228
|
+
order_item_id?: string | null;
|
|
11229
|
+
order_number?: string | null;
|
|
11230
|
+
product_id?: string | null;
|
|
11231
|
+
product_name?: string | null;
|
|
11232
|
+
resolved_at?: string | null;
|
|
11233
|
+
scope: string;
|
|
11234
|
+
trade_item_id?: string | null;
|
|
11235
|
+
updated_at?: string;
|
|
11236
|
+
};
|
|
11237
|
+
Update: {
|
|
11238
|
+
auto_fixed_at?: string | null;
|
|
11239
|
+
created_at?: string;
|
|
11240
|
+
dev_key?: string;
|
|
11241
|
+
first_seen_at?: string;
|
|
11242
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11243
|
+
human_reason?: string | null;
|
|
11244
|
+
id?: string;
|
|
11245
|
+
last_seen_at?: string;
|
|
11246
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11247
|
+
needs_human?: boolean;
|
|
11248
|
+
order_id?: string | null;
|
|
11249
|
+
order_item_id?: string | null;
|
|
11250
|
+
order_number?: string | null;
|
|
11251
|
+
product_id?: string | null;
|
|
11252
|
+
product_name?: string | null;
|
|
11253
|
+
resolved_at?: string | null;
|
|
11254
|
+
scope?: string;
|
|
11255
|
+
trade_item_id?: string | null;
|
|
11256
|
+
updated_at?: string;
|
|
11257
|
+
};
|
|
11258
|
+
Relationships: [];
|
|
11259
|
+
};
|
|
10927
11260
|
logistics_pick_data_requests: {
|
|
10928
11261
|
Row: {
|
|
10929
11262
|
actions: import("../integrations/supabase/types").Json;
|
|
@@ -11161,14 +11494,70 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
11161
11494
|
};
|
|
11162
11495
|
Relationships: [];
|
|
11163
11496
|
};
|
|
11497
|
+
logistics_planner_diff_runs: {
|
|
11498
|
+
Row: {
|
|
11499
|
+
after_snapshot: import("../integrations/supabase/types").Json | null;
|
|
11500
|
+
before_snapshot: import("../integrations/supabase/types").Json;
|
|
11501
|
+
buffer_id: string | null;
|
|
11502
|
+
carts_after: number | null;
|
|
11503
|
+
carts_before: number | null;
|
|
11504
|
+
compared_at: string | null;
|
|
11505
|
+
created_at: string;
|
|
11506
|
+
differences: import("../integrations/supabase/types").Json | null;
|
|
11507
|
+
id: string;
|
|
11508
|
+
identical: boolean | null;
|
|
11509
|
+
mode: string;
|
|
11510
|
+
order_id: string;
|
|
11511
|
+
order_ref: string | null;
|
|
11512
|
+
reason: string | null;
|
|
11513
|
+
status: string;
|
|
11514
|
+
};
|
|
11515
|
+
Insert: {
|
|
11516
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11517
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11518
|
+
buffer_id?: string | null;
|
|
11519
|
+
carts_after?: number | null;
|
|
11520
|
+
carts_before?: number | null;
|
|
11521
|
+
compared_at?: string | null;
|
|
11522
|
+
created_at?: string;
|
|
11523
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11524
|
+
id?: string;
|
|
11525
|
+
identical?: boolean | null;
|
|
11526
|
+
mode: string;
|
|
11527
|
+
order_id: string;
|
|
11528
|
+
order_ref?: string | null;
|
|
11529
|
+
reason?: string | null;
|
|
11530
|
+
status?: string;
|
|
11531
|
+
};
|
|
11532
|
+
Update: {
|
|
11533
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11534
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11535
|
+
buffer_id?: string | null;
|
|
11536
|
+
carts_after?: number | null;
|
|
11537
|
+
carts_before?: number | null;
|
|
11538
|
+
compared_at?: string | null;
|
|
11539
|
+
created_at?: string;
|
|
11540
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11541
|
+
id?: string;
|
|
11542
|
+
identical?: boolean | null;
|
|
11543
|
+
mode?: string;
|
|
11544
|
+
order_id?: string;
|
|
11545
|
+
order_ref?: string | null;
|
|
11546
|
+
reason?: string | null;
|
|
11547
|
+
status?: string;
|
|
11548
|
+
};
|
|
11549
|
+
Relationships: [];
|
|
11550
|
+
};
|
|
11164
11551
|
logistics_rebuffer_state: {
|
|
11165
11552
|
Row: {
|
|
11166
11553
|
created_at: string;
|
|
11167
11554
|
id: boolean;
|
|
11168
11555
|
last_checked: number;
|
|
11169
11556
|
last_duration_ms: number;
|
|
11557
|
+
last_mode: string | null;
|
|
11170
11558
|
last_run_at: string | null;
|
|
11171
11559
|
last_updated: number;
|
|
11560
|
+
last_would_change: number | null;
|
|
11172
11561
|
pending: boolean;
|
|
11173
11562
|
requested_at: string | null;
|
|
11174
11563
|
updated_at: string;
|
|
@@ -11178,8 +11567,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
11178
11567
|
id?: boolean;
|
|
11179
11568
|
last_checked?: number;
|
|
11180
11569
|
last_duration_ms?: number;
|
|
11570
|
+
last_mode?: string | null;
|
|
11181
11571
|
last_run_at?: string | null;
|
|
11182
11572
|
last_updated?: number;
|
|
11573
|
+
last_would_change?: number | null;
|
|
11183
11574
|
pending?: boolean;
|
|
11184
11575
|
requested_at?: string | null;
|
|
11185
11576
|
updated_at?: string;
|
|
@@ -11189,8 +11580,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
11189
11580
|
id?: boolean;
|
|
11190
11581
|
last_checked?: number;
|
|
11191
11582
|
last_duration_ms?: number;
|
|
11583
|
+
last_mode?: string | null;
|
|
11192
11584
|
last_run_at?: string | null;
|
|
11193
11585
|
last_updated?: number;
|
|
11586
|
+
last_would_change?: number | null;
|
|
11194
11587
|
pending?: boolean;
|
|
11195
11588
|
requested_at?: string | null;
|
|
11196
11589
|
updated_at?: string;
|
|
@@ -13186,6 +13579,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13186
13579
|
};
|
|
13187
13580
|
Relationships: [];
|
|
13188
13581
|
};
|
|
13582
|
+
monteur_contracten: {
|
|
13583
|
+
Row: {
|
|
13584
|
+
contract_type: string;
|
|
13585
|
+
created_at: string;
|
|
13586
|
+
days_per_week: number;
|
|
13587
|
+
hours_per_week: number;
|
|
13588
|
+
id: string;
|
|
13589
|
+
updated_at: string;
|
|
13590
|
+
user_id: string;
|
|
13591
|
+
vacation_day_hours: number;
|
|
13592
|
+
vacation_days_per_year: number;
|
|
13593
|
+
};
|
|
13594
|
+
Insert: {
|
|
13595
|
+
contract_type?: string;
|
|
13596
|
+
created_at?: string;
|
|
13597
|
+
days_per_week?: number;
|
|
13598
|
+
hours_per_week?: number;
|
|
13599
|
+
id?: string;
|
|
13600
|
+
updated_at?: string;
|
|
13601
|
+
user_id: string;
|
|
13602
|
+
vacation_day_hours?: number;
|
|
13603
|
+
vacation_days_per_year?: number;
|
|
13604
|
+
};
|
|
13605
|
+
Update: {
|
|
13606
|
+
contract_type?: string;
|
|
13607
|
+
created_at?: string;
|
|
13608
|
+
days_per_week?: number;
|
|
13609
|
+
hours_per_week?: number;
|
|
13610
|
+
id?: string;
|
|
13611
|
+
updated_at?: string;
|
|
13612
|
+
user_id?: string;
|
|
13613
|
+
vacation_day_hours?: number;
|
|
13614
|
+
vacation_days_per_year?: number;
|
|
13615
|
+
};
|
|
13616
|
+
Relationships: [];
|
|
13617
|
+
};
|
|
13189
13618
|
nmbrs_component_mapping: {
|
|
13190
13619
|
Row: {
|
|
13191
13620
|
created_at: string;
|
|
@@ -13665,6 +14094,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13665
14094
|
id: string;
|
|
13666
14095
|
items: import("../integrations/supabase/types").Json;
|
|
13667
14096
|
notes: string | null;
|
|
14097
|
+
order_creation_error: string | null;
|
|
14098
|
+
order_creation_failed_at: string | null;
|
|
14099
|
+
order_id: string | null;
|
|
13668
14100
|
order_number: string | null;
|
|
13669
14101
|
recipient_id: string;
|
|
13670
14102
|
total_amount: number;
|
|
@@ -13679,6 +14111,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13679
14111
|
id?: string;
|
|
13680
14112
|
items?: import("../integrations/supabase/types").Json;
|
|
13681
14113
|
notes?: string | null;
|
|
14114
|
+
order_creation_error?: string | null;
|
|
14115
|
+
order_creation_failed_at?: string | null;
|
|
14116
|
+
order_id?: string | null;
|
|
13682
14117
|
order_number?: string | null;
|
|
13683
14118
|
recipient_id: string;
|
|
13684
14119
|
total_amount?: number;
|
|
@@ -13693,6 +14128,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13693
14128
|
id?: string;
|
|
13694
14129
|
items?: import("../integrations/supabase/types").Json;
|
|
13695
14130
|
notes?: string | null;
|
|
14131
|
+
order_creation_error?: string | null;
|
|
14132
|
+
order_creation_failed_at?: string | null;
|
|
14133
|
+
order_id?: string | null;
|
|
13696
14134
|
order_number?: string | null;
|
|
13697
14135
|
recipient_id?: string;
|
|
13698
14136
|
total_amount?: number;
|
|
@@ -13710,10 +14148,16 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13710
14148
|
referencedRelation: "customers";
|
|
13711
14149
|
referencedColumns: ["id"];
|
|
13712
14150
|
}, {
|
|
13713
|
-
foreignKeyName: "
|
|
13714
|
-
columns: ["
|
|
14151
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14152
|
+
columns: ["order_id"];
|
|
13715
14153
|
isOneToOne: false;
|
|
13716
|
-
referencedRelation: "
|
|
14154
|
+
referencedRelation: "orders";
|
|
14155
|
+
referencedColumns: ["id"];
|
|
14156
|
+
}, {
|
|
14157
|
+
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
14158
|
+
columns: ["recipient_id"];
|
|
14159
|
+
isOneToOne: false;
|
|
14160
|
+
referencedRelation: "offer_recipients";
|
|
13717
14161
|
referencedColumns: ["id"];
|
|
13718
14162
|
}];
|
|
13719
14163
|
};
|
|
@@ -13849,6 +14293,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
13849
14293
|
};
|
|
13850
14294
|
Relationships: [];
|
|
13851
14295
|
};
|
|
14296
|
+
order_block_notifications: {
|
|
14297
|
+
Row: {
|
|
14298
|
+
id: string;
|
|
14299
|
+
notified_at: string;
|
|
14300
|
+
order_id: string;
|
|
14301
|
+
reason: string | null;
|
|
14302
|
+
reason_key: string;
|
|
14303
|
+
};
|
|
14304
|
+
Insert: {
|
|
14305
|
+
id?: string;
|
|
14306
|
+
notified_at?: string;
|
|
14307
|
+
order_id: string;
|
|
14308
|
+
reason?: string | null;
|
|
14309
|
+
reason_key: string;
|
|
14310
|
+
};
|
|
14311
|
+
Update: {
|
|
14312
|
+
id?: string;
|
|
14313
|
+
notified_at?: string;
|
|
14314
|
+
order_id?: string;
|
|
14315
|
+
reason?: string | null;
|
|
14316
|
+
reason_key?: string;
|
|
14317
|
+
};
|
|
14318
|
+
Relationships: [];
|
|
14319
|
+
};
|
|
13852
14320
|
order_buffers: {
|
|
13853
14321
|
Row: {
|
|
13854
14322
|
buffer_key: string;
|
|
@@ -14280,6 +14748,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14280
14748
|
next_attempt_at: string;
|
|
14281
14749
|
order_id: string;
|
|
14282
14750
|
processed_at: string | null;
|
|
14751
|
+
send_error: string | null;
|
|
14283
14752
|
status: string;
|
|
14284
14753
|
updated_at: string;
|
|
14285
14754
|
};
|
|
@@ -14293,6 +14762,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14293
14762
|
next_attempt_at?: string;
|
|
14294
14763
|
order_id: string;
|
|
14295
14764
|
processed_at?: string | null;
|
|
14765
|
+
send_error?: string | null;
|
|
14296
14766
|
status?: string;
|
|
14297
14767
|
updated_at?: string;
|
|
14298
14768
|
};
|
|
@@ -14306,6 +14776,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14306
14776
|
next_attempt_at?: string;
|
|
14307
14777
|
order_id?: string;
|
|
14308
14778
|
processed_at?: string | null;
|
|
14779
|
+
send_error?: string | null;
|
|
14309
14780
|
status?: string;
|
|
14310
14781
|
updated_at?: string;
|
|
14311
14782
|
};
|
|
@@ -14318,10 +14789,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14318
14789
|
id: string;
|
|
14319
14790
|
layers_per_cart: number | null;
|
|
14320
14791
|
order_id: string;
|
|
14792
|
+
packing_locked_at: string | null;
|
|
14793
|
+
packing_locked_by: string | null;
|
|
14321
14794
|
plants_per_crate: number | null;
|
|
14322
14795
|
product_id: string | null;
|
|
14323
14796
|
product_name: string;
|
|
14324
14797
|
quantity: number;
|
|
14798
|
+
source_line_key: string | null;
|
|
14325
14799
|
unit: string;
|
|
14326
14800
|
unit_price: number | null;
|
|
14327
14801
|
};
|
|
@@ -14331,10 +14805,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14331
14805
|
id?: string;
|
|
14332
14806
|
layers_per_cart?: number | null;
|
|
14333
14807
|
order_id: string;
|
|
14808
|
+
packing_locked_at?: string | null;
|
|
14809
|
+
packing_locked_by?: string | null;
|
|
14334
14810
|
plants_per_crate?: number | null;
|
|
14335
14811
|
product_id?: string | null;
|
|
14336
14812
|
product_name: string;
|
|
14337
14813
|
quantity?: number;
|
|
14814
|
+
source_line_key?: string | null;
|
|
14338
14815
|
unit?: string;
|
|
14339
14816
|
unit_price?: number | null;
|
|
14340
14817
|
};
|
|
@@ -14344,10 +14821,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
14344
14821
|
id?: string;
|
|
14345
14822
|
layers_per_cart?: number | null;
|
|
14346
14823
|
order_id?: string;
|
|
14824
|
+
packing_locked_at?: string | null;
|
|
14825
|
+
packing_locked_by?: string | null;
|
|
14347
14826
|
plants_per_crate?: number | null;
|
|
14348
14827
|
product_id?: string | null;
|
|
14349
14828
|
product_name?: string;
|
|
14350
14829
|
quantity?: number;
|
|
14830
|
+
source_line_key?: string | null;
|
|
14351
14831
|
unit?: string;
|
|
14352
14832
|
unit_price?: number | null;
|
|
14353
14833
|
};
|
|
@@ -15635,18 +16115,24 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
15635
16115
|
Row: {
|
|
15636
16116
|
id: boolean;
|
|
15637
16117
|
last_cleanup_at: string | null;
|
|
16118
|
+
last_error: string | null;
|
|
16119
|
+
last_error_at: string | null;
|
|
15638
16120
|
last_sync_at: string | null;
|
|
15639
16121
|
updated_at: string;
|
|
15640
16122
|
};
|
|
15641
16123
|
Insert: {
|
|
15642
16124
|
id?: boolean;
|
|
15643
16125
|
last_cleanup_at?: string | null;
|
|
16126
|
+
last_error?: string | null;
|
|
16127
|
+
last_error_at?: string | null;
|
|
15644
16128
|
last_sync_at?: string | null;
|
|
15645
16129
|
updated_at?: string;
|
|
15646
16130
|
};
|
|
15647
16131
|
Update: {
|
|
15648
16132
|
id?: boolean;
|
|
15649
16133
|
last_cleanup_at?: string | null;
|
|
16134
|
+
last_error?: string | null;
|
|
16135
|
+
last_error_at?: string | null;
|
|
15650
16136
|
last_sync_at?: string | null;
|
|
15651
16137
|
updated_at?: string;
|
|
15652
16138
|
};
|
|
@@ -15772,6 +16258,54 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
15772
16258
|
};
|
|
15773
16259
|
Relationships: [];
|
|
15774
16260
|
};
|
|
16261
|
+
planning_confirmation_log: {
|
|
16262
|
+
Row: {
|
|
16263
|
+
created_at: string;
|
|
16264
|
+
end_at: string;
|
|
16265
|
+
id: string;
|
|
16266
|
+
outbox_id: string | null;
|
|
16267
|
+
planning_item_id: string;
|
|
16268
|
+
reason: string | null;
|
|
16269
|
+
recipient: string | null;
|
|
16270
|
+
start_at: string;
|
|
16271
|
+
status: string;
|
|
16272
|
+
};
|
|
16273
|
+
Insert: {
|
|
16274
|
+
created_at?: string;
|
|
16275
|
+
end_at: string;
|
|
16276
|
+
id?: string;
|
|
16277
|
+
outbox_id?: string | null;
|
|
16278
|
+
planning_item_id: string;
|
|
16279
|
+
reason?: string | null;
|
|
16280
|
+
recipient?: string | null;
|
|
16281
|
+
start_at: string;
|
|
16282
|
+
status: string;
|
|
16283
|
+
};
|
|
16284
|
+
Update: {
|
|
16285
|
+
created_at?: string;
|
|
16286
|
+
end_at?: string;
|
|
16287
|
+
id?: string;
|
|
16288
|
+
outbox_id?: string | null;
|
|
16289
|
+
planning_item_id?: string;
|
|
16290
|
+
reason?: string | null;
|
|
16291
|
+
recipient?: string | null;
|
|
16292
|
+
start_at?: string;
|
|
16293
|
+
status?: string;
|
|
16294
|
+
};
|
|
16295
|
+
Relationships: [{
|
|
16296
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16297
|
+
columns: ["planning_item_id"];
|
|
16298
|
+
isOneToOne: false;
|
|
16299
|
+
referencedRelation: "planning_items";
|
|
16300
|
+
referencedColumns: ["id"];
|
|
16301
|
+
}, {
|
|
16302
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16303
|
+
columns: ["planning_item_id"];
|
|
16304
|
+
isOneToOne: false;
|
|
16305
|
+
referencedRelation: "planning_overview";
|
|
16306
|
+
referencedColumns: ["id"];
|
|
16307
|
+
}];
|
|
16308
|
+
};
|
|
15775
16309
|
planning_item_assistants: {
|
|
15776
16310
|
Row: {
|
|
15777
16311
|
created_at: string;
|
|
@@ -15856,6 +16390,249 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
15856
16390
|
referencedColumns: ["id"];
|
|
15857
16391
|
}];
|
|
15858
16392
|
};
|
|
16393
|
+
planning_mail_settings: {
|
|
16394
|
+
Row: {
|
|
16395
|
+
body_template: string;
|
|
16396
|
+
cc: string[];
|
|
16397
|
+
connection_id: string | null;
|
|
16398
|
+
created_at: string;
|
|
16399
|
+
enabled: boolean;
|
|
16400
|
+
id: boolean;
|
|
16401
|
+
reply_to: string | null;
|
|
16402
|
+
subject_template: string;
|
|
16403
|
+
timezone: string;
|
|
16404
|
+
updated_at: string;
|
|
16405
|
+
updated_by: string | null;
|
|
16406
|
+
};
|
|
16407
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
16434
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16435
|
+
columns: ["connection_id"];
|
|
16436
|
+
isOneToOne: false;
|
|
16437
|
+
referencedRelation: "email_auth_connections";
|
|
16438
|
+
referencedColumns: ["id"];
|
|
16439
|
+
}, {
|
|
16440
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16441
|
+
columns: ["connection_id"];
|
|
16442
|
+
isOneToOne: false;
|
|
16443
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16444
|
+
referencedColumns: ["id"];
|
|
16445
|
+
}];
|
|
16446
|
+
};
|
|
16447
|
+
planning_monteur_day_locations: {
|
|
16448
|
+
Row: {
|
|
16449
|
+
created_at: string;
|
|
16450
|
+
day: string;
|
|
16451
|
+
end_at: string;
|
|
16452
|
+
id: string;
|
|
16453
|
+
monteur_id: string;
|
|
16454
|
+
start_from: string;
|
|
16455
|
+
updated_at: string;
|
|
16456
|
+
};
|
|
16457
|
+
Insert: {
|
|
16458
|
+
created_at?: string;
|
|
16459
|
+
day: string;
|
|
16460
|
+
end_at?: string;
|
|
16461
|
+
id?: string;
|
|
16462
|
+
monteur_id: string;
|
|
16463
|
+
start_from?: string;
|
|
16464
|
+
updated_at?: string;
|
|
16465
|
+
};
|
|
16466
|
+
Update: {
|
|
16467
|
+
created_at?: string;
|
|
16468
|
+
day?: string;
|
|
16469
|
+
end_at?: string;
|
|
16470
|
+
id?: string;
|
|
16471
|
+
monteur_id?: string;
|
|
16472
|
+
start_from?: string;
|
|
16473
|
+
updated_at?: string;
|
|
16474
|
+
};
|
|
16475
|
+
Relationships: [];
|
|
16476
|
+
};
|
|
16477
|
+
planning_monteur_locations: {
|
|
16478
|
+
Row: {
|
|
16479
|
+
created_at: string;
|
|
16480
|
+
default_end: string;
|
|
16481
|
+
default_start: string;
|
|
16482
|
+
end_address: string | null;
|
|
16483
|
+
home_address: string | null;
|
|
16484
|
+
id: string;
|
|
16485
|
+
monteur_id: string;
|
|
16486
|
+
start_address: string | null;
|
|
16487
|
+
updated_at: string;
|
|
16488
|
+
};
|
|
16489
|
+
Insert: {
|
|
16490
|
+
created_at?: string;
|
|
16491
|
+
default_end?: string;
|
|
16492
|
+
default_start?: string;
|
|
16493
|
+
end_address?: string | null;
|
|
16494
|
+
home_address?: string | null;
|
|
16495
|
+
id?: string;
|
|
16496
|
+
monteur_id: string;
|
|
16497
|
+
start_address?: string | null;
|
|
16498
|
+
updated_at?: string;
|
|
16499
|
+
};
|
|
16500
|
+
Update: {
|
|
16501
|
+
created_at?: string;
|
|
16502
|
+
default_end?: string;
|
|
16503
|
+
default_start?: string;
|
|
16504
|
+
end_address?: string | null;
|
|
16505
|
+
home_address?: string | null;
|
|
16506
|
+
id?: string;
|
|
16507
|
+
monteur_id?: string;
|
|
16508
|
+
start_address?: string | null;
|
|
16509
|
+
updated_at?: string;
|
|
16510
|
+
};
|
|
16511
|
+
Relationships: [];
|
|
16512
|
+
};
|
|
16513
|
+
planning_settings: {
|
|
16514
|
+
Row: {
|
|
16515
|
+
company_address: string | null;
|
|
16516
|
+
created_at: string;
|
|
16517
|
+
id: string;
|
|
16518
|
+
singleton: boolean;
|
|
16519
|
+
updated_at: string;
|
|
16520
|
+
};
|
|
16521
|
+
Insert: {
|
|
16522
|
+
company_address?: string | null;
|
|
16523
|
+
created_at?: string;
|
|
16524
|
+
id?: string;
|
|
16525
|
+
singleton?: boolean;
|
|
16526
|
+
updated_at?: string;
|
|
16527
|
+
};
|
|
16528
|
+
Update: {
|
|
16529
|
+
company_address?: string | null;
|
|
16530
|
+
created_at?: string;
|
|
16531
|
+
id?: string;
|
|
16532
|
+
singleton?: boolean;
|
|
16533
|
+
updated_at?: string;
|
|
16534
|
+
};
|
|
16535
|
+
Relationships: [];
|
|
16536
|
+
};
|
|
16537
|
+
planning_travel_legs: {
|
|
16538
|
+
Row: {
|
|
16539
|
+
after_min: number;
|
|
16540
|
+
after_reason: string | null;
|
|
16541
|
+
after_status: string;
|
|
16542
|
+
after_to_address: string | null;
|
|
16543
|
+
before_from_address: string | null;
|
|
16544
|
+
before_min: number;
|
|
16545
|
+
before_reason: string | null;
|
|
16546
|
+
before_status: string;
|
|
16547
|
+
computed_at: string;
|
|
16548
|
+
computed_end_at: string | null;
|
|
16549
|
+
computed_start_at: string | null;
|
|
16550
|
+
created_at: string;
|
|
16551
|
+
id: string;
|
|
16552
|
+
monteur_id: string;
|
|
16553
|
+
planning_item_id: string;
|
|
16554
|
+
shared_after_item_id: string | null;
|
|
16555
|
+
shared_before_item_id: string | null;
|
|
16556
|
+
updated_at: string;
|
|
16557
|
+
};
|
|
16558
|
+
Insert: {
|
|
16559
|
+
after_min?: number;
|
|
16560
|
+
after_reason?: string | null;
|
|
16561
|
+
after_status?: string;
|
|
16562
|
+
after_to_address?: string | null;
|
|
16563
|
+
before_from_address?: string | null;
|
|
16564
|
+
before_min?: number;
|
|
16565
|
+
before_reason?: string | null;
|
|
16566
|
+
before_status?: string;
|
|
16567
|
+
computed_at?: string;
|
|
16568
|
+
computed_end_at?: string | null;
|
|
16569
|
+
computed_start_at?: string | null;
|
|
16570
|
+
created_at?: string;
|
|
16571
|
+
id?: string;
|
|
16572
|
+
monteur_id: string;
|
|
16573
|
+
planning_item_id: string;
|
|
16574
|
+
shared_after_item_id?: string | null;
|
|
16575
|
+
shared_before_item_id?: string | null;
|
|
16576
|
+
updated_at?: string;
|
|
16577
|
+
};
|
|
16578
|
+
Update: {
|
|
16579
|
+
after_min?: number;
|
|
16580
|
+
after_reason?: string | null;
|
|
16581
|
+
after_status?: string;
|
|
16582
|
+
after_to_address?: string | null;
|
|
16583
|
+
before_from_address?: string | null;
|
|
16584
|
+
before_min?: number;
|
|
16585
|
+
before_reason?: string | null;
|
|
16586
|
+
before_status?: string;
|
|
16587
|
+
computed_at?: string;
|
|
16588
|
+
computed_end_at?: string | null;
|
|
16589
|
+
computed_start_at?: string | null;
|
|
16590
|
+
created_at?: string;
|
|
16591
|
+
id?: string;
|
|
16592
|
+
monteur_id?: string;
|
|
16593
|
+
planning_item_id?: string;
|
|
16594
|
+
shared_after_item_id?: string | null;
|
|
16595
|
+
shared_before_item_id?: string | null;
|
|
16596
|
+
updated_at?: string;
|
|
16597
|
+
};
|
|
16598
|
+
Relationships: [{
|
|
16599
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16600
|
+
columns: ["planning_item_id"];
|
|
16601
|
+
isOneToOne: false;
|
|
16602
|
+
referencedRelation: "planning_items";
|
|
16603
|
+
referencedColumns: ["id"];
|
|
16604
|
+
}, {
|
|
16605
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16606
|
+
columns: ["planning_item_id"];
|
|
16607
|
+
isOneToOne: false;
|
|
16608
|
+
referencedRelation: "planning_overview";
|
|
16609
|
+
referencedColumns: ["id"];
|
|
16610
|
+
}, {
|
|
16611
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16612
|
+
columns: ["shared_after_item_id"];
|
|
16613
|
+
isOneToOne: false;
|
|
16614
|
+
referencedRelation: "planning_items";
|
|
16615
|
+
referencedColumns: ["id"];
|
|
16616
|
+
}, {
|
|
16617
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16618
|
+
columns: ["shared_after_item_id"];
|
|
16619
|
+
isOneToOne: false;
|
|
16620
|
+
referencedRelation: "planning_overview";
|
|
16621
|
+
referencedColumns: ["id"];
|
|
16622
|
+
}, {
|
|
16623
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16624
|
+
columns: ["shared_before_item_id"];
|
|
16625
|
+
isOneToOne: false;
|
|
16626
|
+
referencedRelation: "planning_items";
|
|
16627
|
+
referencedColumns: ["id"];
|
|
16628
|
+
}, {
|
|
16629
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16630
|
+
columns: ["shared_before_item_id"];
|
|
16631
|
+
isOneToOne: false;
|
|
16632
|
+
referencedRelation: "planning_overview";
|
|
16633
|
+
referencedColumns: ["id"];
|
|
16634
|
+
}];
|
|
16635
|
+
};
|
|
15859
16636
|
price_list_rows: {
|
|
15860
16637
|
Row: {
|
|
15861
16638
|
action: string;
|
|
@@ -17028,6 +17805,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17028
17805
|
};
|
|
17029
17806
|
product_load_settings: {
|
|
17030
17807
|
Row: {
|
|
17808
|
+
build: import("../integrations/supabase/types").Json | null;
|
|
17809
|
+
build_status: string;
|
|
17031
17810
|
created_at: string;
|
|
17032
17811
|
id: string;
|
|
17033
17812
|
is_package: boolean;
|
|
@@ -17045,6 +17824,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17045
17824
|
updated_at: string;
|
|
17046
17825
|
};
|
|
17047
17826
|
Insert: {
|
|
17827
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17828
|
+
build_status?: string;
|
|
17048
17829
|
created_at?: string;
|
|
17049
17830
|
id?: string;
|
|
17050
17831
|
is_package?: boolean;
|
|
@@ -17062,6 +17843,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17062
17843
|
updated_at?: string;
|
|
17063
17844
|
};
|
|
17064
17845
|
Update: {
|
|
17846
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17847
|
+
build_status?: string;
|
|
17065
17848
|
created_at?: string;
|
|
17066
17849
|
id?: string;
|
|
17067
17850
|
is_package?: boolean;
|
|
@@ -17131,33 +17914,146 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17131
17914
|
};
|
|
17132
17915
|
Relationships: [];
|
|
17133
17916
|
};
|
|
17134
|
-
|
|
17917
|
+
product_suppliers: {
|
|
17135
17918
|
Row: {
|
|
17136
|
-
article_number: string | null;
|
|
17137
|
-
barcode: string | null;
|
|
17138
|
-
batch: string;
|
|
17139
|
-
crates_per_layer: number;
|
|
17140
17919
|
created_at: string;
|
|
17141
|
-
custom_fields: import("../integrations/supabase/types").Json;
|
|
17142
|
-
floriday_trade_item_id: string | null;
|
|
17143
|
-
fust_type_id: string | null;
|
|
17144
17920
|
id: string;
|
|
17145
|
-
|
|
17146
|
-
|
|
17147
|
-
|
|
17148
|
-
|
|
17149
|
-
|
|
17150
|
-
|
|
17151
|
-
|
|
17152
|
-
|
|
17153
|
-
|
|
17154
|
-
|
|
17155
|
-
|
|
17156
|
-
|
|
17157
|
-
|
|
17158
|
-
|
|
17159
|
-
|
|
17160
|
-
|
|
17921
|
+
is_preferred: boolean;
|
|
17922
|
+
lead_time_days: number | null;
|
|
17923
|
+
min_order_quantity: number | null;
|
|
17924
|
+
notes: string | null;
|
|
17925
|
+
previous_price_cents: number | null;
|
|
17926
|
+
price_source: string;
|
|
17927
|
+
price_updated_at: string | null;
|
|
17928
|
+
product_id: string;
|
|
17929
|
+
purchase_price_cents: number | null;
|
|
17930
|
+
supplier_article_number: string | null;
|
|
17931
|
+
supplier_id: string;
|
|
17932
|
+
updated_at: string;
|
|
17933
|
+
};
|
|
17934
|
+
Insert: {
|
|
17935
|
+
created_at?: string;
|
|
17936
|
+
id?: string;
|
|
17937
|
+
is_preferred?: boolean;
|
|
17938
|
+
lead_time_days?: number | null;
|
|
17939
|
+
min_order_quantity?: number | null;
|
|
17940
|
+
notes?: string | null;
|
|
17941
|
+
previous_price_cents?: number | null;
|
|
17942
|
+
price_source?: string;
|
|
17943
|
+
price_updated_at?: string | null;
|
|
17944
|
+
product_id: string;
|
|
17945
|
+
purchase_price_cents?: number | null;
|
|
17946
|
+
supplier_article_number?: string | null;
|
|
17947
|
+
supplier_id: string;
|
|
17948
|
+
updated_at?: string;
|
|
17949
|
+
};
|
|
17950
|
+
Update: {
|
|
17951
|
+
created_at?: string;
|
|
17952
|
+
id?: string;
|
|
17953
|
+
is_preferred?: boolean;
|
|
17954
|
+
lead_time_days?: number | null;
|
|
17955
|
+
min_order_quantity?: number | null;
|
|
17956
|
+
notes?: string | null;
|
|
17957
|
+
previous_price_cents?: number | null;
|
|
17958
|
+
price_source?: string;
|
|
17959
|
+
price_updated_at?: string | null;
|
|
17960
|
+
product_id?: string;
|
|
17961
|
+
purchase_price_cents?: number | null;
|
|
17962
|
+
supplier_article_number?: string | null;
|
|
17963
|
+
supplier_id?: string;
|
|
17964
|
+
updated_at?: string;
|
|
17965
|
+
};
|
|
17966
|
+
Relationships: [{
|
|
17967
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17968
|
+
columns: ["product_id"];
|
|
17969
|
+
isOneToOne: false;
|
|
17970
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17971
|
+
referencedColumns: ["product_id"];
|
|
17972
|
+
}, {
|
|
17973
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17974
|
+
columns: ["product_id"];
|
|
17975
|
+
isOneToOne: false;
|
|
17976
|
+
referencedRelation: "products";
|
|
17977
|
+
referencedColumns: ["id"];
|
|
17978
|
+
}, {
|
|
17979
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17980
|
+
columns: ["supplier_id"];
|
|
17981
|
+
isOneToOne: false;
|
|
17982
|
+
referencedRelation: "suppliers";
|
|
17983
|
+
referencedColumns: ["id"];
|
|
17984
|
+
}];
|
|
17985
|
+
};
|
|
17986
|
+
product_tray_stickers: {
|
|
17987
|
+
Row: {
|
|
17988
|
+
bestand_url: string;
|
|
17989
|
+
bestandsgrootte: number | null;
|
|
17990
|
+
bestandsnaam: string | null;
|
|
17991
|
+
bestandspad: string | null;
|
|
17992
|
+
created_at: string;
|
|
17993
|
+
product_id: string;
|
|
17994
|
+
updated_at: string;
|
|
17995
|
+
};
|
|
17996
|
+
Insert: {
|
|
17997
|
+
bestand_url: string;
|
|
17998
|
+
bestandsgrootte?: number | null;
|
|
17999
|
+
bestandsnaam?: string | null;
|
|
18000
|
+
bestandspad?: string | null;
|
|
18001
|
+
created_at?: string;
|
|
18002
|
+
product_id: string;
|
|
18003
|
+
updated_at?: string;
|
|
18004
|
+
};
|
|
18005
|
+
Update: {
|
|
18006
|
+
bestand_url?: string;
|
|
18007
|
+
bestandsgrootte?: number | null;
|
|
18008
|
+
bestandsnaam?: string | null;
|
|
18009
|
+
bestandspad?: string | null;
|
|
18010
|
+
created_at?: string;
|
|
18011
|
+
product_id?: string;
|
|
18012
|
+
updated_at?: string;
|
|
18013
|
+
};
|
|
18014
|
+
Relationships: [{
|
|
18015
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18016
|
+
columns: ["product_id"];
|
|
18017
|
+
isOneToOne: true;
|
|
18018
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18019
|
+
referencedColumns: ["product_id"];
|
|
18020
|
+
}, {
|
|
18021
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18022
|
+
columns: ["product_id"];
|
|
18023
|
+
isOneToOne: true;
|
|
18024
|
+
referencedRelation: "products";
|
|
18025
|
+
referencedColumns: ["id"];
|
|
18026
|
+
}];
|
|
18027
|
+
};
|
|
18028
|
+
products: {
|
|
18029
|
+
Row: {
|
|
18030
|
+
article_number: string | null;
|
|
18031
|
+
barcode: string | null;
|
|
18032
|
+
batch: string;
|
|
18033
|
+
crates_per_layer: number;
|
|
18034
|
+
created_at: string;
|
|
18035
|
+
custom_fields: import("../integrations/supabase/types").Json;
|
|
18036
|
+
floriday_packing_confirmed_at: string | null;
|
|
18037
|
+
floriday_packing_source: string | null;
|
|
18038
|
+
floriday_trade_item_id: string | null;
|
|
18039
|
+
fust_type_id: string | null;
|
|
18040
|
+
id: string;
|
|
18041
|
+
image_url: string | null;
|
|
18042
|
+
incoming_quantity: number;
|
|
18043
|
+
is_layer: boolean;
|
|
18044
|
+
layers_per_cart: number;
|
|
18045
|
+
location: string;
|
|
18046
|
+
min_quantity: number;
|
|
18047
|
+
plant_height_cm: number | null;
|
|
18048
|
+
plants_per_crate: number;
|
|
18049
|
+
product: string;
|
|
18050
|
+
product_type: string;
|
|
18051
|
+
purchase_price: number | null;
|
|
18052
|
+
quantity: number;
|
|
18053
|
+
sale_price: number | null;
|
|
18054
|
+
trade_item_key: string | null;
|
|
18055
|
+
unit: string;
|
|
18056
|
+
updated_at: string;
|
|
17161
18057
|
weight: string | null;
|
|
17162
18058
|
};
|
|
17163
18059
|
Insert: {
|
|
@@ -17167,6 +18063,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17167
18063
|
crates_per_layer?: number;
|
|
17168
18064
|
created_at?: string;
|
|
17169
18065
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
18066
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18067
|
+
floriday_packing_source?: string | null;
|
|
17170
18068
|
floriday_trade_item_id?: string | null;
|
|
17171
18069
|
fust_type_id?: string | null;
|
|
17172
18070
|
id?: string;
|
|
@@ -17195,6 +18093,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17195
18093
|
crates_per_layer?: number;
|
|
17196
18094
|
created_at?: string;
|
|
17197
18095
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
18096
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18097
|
+
floriday_packing_source?: string | null;
|
|
17198
18098
|
floriday_trade_item_id?: string | null;
|
|
17199
18099
|
fust_type_id?: string | null;
|
|
17200
18100
|
id?: string;
|
|
@@ -17294,6 +18194,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17294
18194
|
id: string;
|
|
17295
18195
|
is_superadmin: boolean;
|
|
17296
18196
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
18197
|
+
phone: string | null;
|
|
17297
18198
|
tenant_id: string | null;
|
|
17298
18199
|
updated_at: string;
|
|
17299
18200
|
};
|
|
@@ -17306,6 +18207,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17306
18207
|
id: string;
|
|
17307
18208
|
is_superadmin?: boolean;
|
|
17308
18209
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18210
|
+
phone?: string | null;
|
|
17309
18211
|
tenant_id?: string | null;
|
|
17310
18212
|
updated_at?: string;
|
|
17311
18213
|
};
|
|
@@ -17318,6 +18220,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17318
18220
|
id?: string;
|
|
17319
18221
|
is_superadmin?: boolean;
|
|
17320
18222
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
18223
|
+
phone?: string | null;
|
|
17321
18224
|
tenant_id?: string | null;
|
|
17322
18225
|
updated_at?: string;
|
|
17323
18226
|
};
|
|
@@ -17584,9 +18487,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17584
18487
|
purchase_order_items: {
|
|
17585
18488
|
Row: {
|
|
17586
18489
|
article_number: string | null;
|
|
18490
|
+
cancel_reason: string | null;
|
|
18491
|
+
cancelled_at: string | null;
|
|
17587
18492
|
created_at: string;
|
|
17588
18493
|
delivery_date: string | null;
|
|
17589
18494
|
id: string;
|
|
18495
|
+
incoming_booked: number;
|
|
18496
|
+
line_status: string;
|
|
17590
18497
|
name: string;
|
|
17591
18498
|
note: string | null;
|
|
17592
18499
|
pot_size: string | null;
|
|
@@ -17594,6 +18501,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17594
18501
|
product_type: string;
|
|
17595
18502
|
purchase_order_id: string;
|
|
17596
18503
|
quantity: number;
|
|
18504
|
+
received_at: string | null;
|
|
18505
|
+
received_booked: number;
|
|
17597
18506
|
supplier_id: string | null;
|
|
17598
18507
|
supplier_product_id: string | null;
|
|
17599
18508
|
unit_price_cents: number;
|
|
@@ -17601,9 +18510,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17601
18510
|
};
|
|
17602
18511
|
Insert: {
|
|
17603
18512
|
article_number?: string | null;
|
|
18513
|
+
cancel_reason?: string | null;
|
|
18514
|
+
cancelled_at?: string | null;
|
|
17604
18515
|
created_at?: string;
|
|
17605
18516
|
delivery_date?: string | null;
|
|
17606
18517
|
id?: string;
|
|
18518
|
+
incoming_booked?: number;
|
|
18519
|
+
line_status?: string;
|
|
17607
18520
|
name?: string;
|
|
17608
18521
|
note?: string | null;
|
|
17609
18522
|
pot_size?: string | null;
|
|
@@ -17611,6 +18524,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17611
18524
|
product_type?: string;
|
|
17612
18525
|
purchase_order_id: string;
|
|
17613
18526
|
quantity?: number;
|
|
18527
|
+
received_at?: string | null;
|
|
18528
|
+
received_booked?: number;
|
|
17614
18529
|
supplier_id?: string | null;
|
|
17615
18530
|
supplier_product_id?: string | null;
|
|
17616
18531
|
unit_price_cents?: number;
|
|
@@ -17618,9 +18533,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17618
18533
|
};
|
|
17619
18534
|
Update: {
|
|
17620
18535
|
article_number?: string | null;
|
|
18536
|
+
cancel_reason?: string | null;
|
|
18537
|
+
cancelled_at?: string | null;
|
|
17621
18538
|
created_at?: string;
|
|
17622
18539
|
delivery_date?: string | null;
|
|
17623
18540
|
id?: string;
|
|
18541
|
+
incoming_booked?: number;
|
|
18542
|
+
line_status?: string;
|
|
17624
18543
|
name?: string;
|
|
17625
18544
|
note?: string | null;
|
|
17626
18545
|
pot_size?: string | null;
|
|
@@ -17628,6 +18547,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17628
18547
|
product_type?: string;
|
|
17629
18548
|
purchase_order_id?: string;
|
|
17630
18549
|
quantity?: number;
|
|
18550
|
+
received_at?: string | null;
|
|
18551
|
+
received_booked?: number;
|
|
17631
18552
|
supplier_id?: string | null;
|
|
17632
18553
|
supplier_product_id?: string | null;
|
|
17633
18554
|
unit_price_cents?: number;
|
|
@@ -17731,6 +18652,153 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
17731
18652
|
referencedColumns: ["id"];
|
|
17732
18653
|
}];
|
|
17733
18654
|
};
|
|
18655
|
+
purchase_request_events: {
|
|
18656
|
+
Row: {
|
|
18657
|
+
created_at: string;
|
|
18658
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18659
|
+
event_type: string;
|
|
18660
|
+
id: string;
|
|
18661
|
+
request_id: string;
|
|
18662
|
+
};
|
|
18663
|
+
Insert: {
|
|
18664
|
+
created_at?: string;
|
|
18665
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18666
|
+
event_type: string;
|
|
18667
|
+
id?: string;
|
|
18668
|
+
request_id: string;
|
|
18669
|
+
};
|
|
18670
|
+
Update: {
|
|
18671
|
+
created_at?: string;
|
|
18672
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18673
|
+
event_type?: string;
|
|
18674
|
+
id?: string;
|
|
18675
|
+
request_id?: string;
|
|
18676
|
+
};
|
|
18677
|
+
Relationships: [{
|
|
18678
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18679
|
+
columns: ["request_id"];
|
|
18680
|
+
isOneToOne: false;
|
|
18681
|
+
referencedRelation: "purchase_requests";
|
|
18682
|
+
referencedColumns: ["id"];
|
|
18683
|
+
}];
|
|
18684
|
+
};
|
|
18685
|
+
purchase_request_responses: {
|
|
18686
|
+
Row: {
|
|
18687
|
+
confirmed_date: string | null;
|
|
18688
|
+
confirmed_price_cents: number | null;
|
|
18689
|
+
confirmed_quantity: number;
|
|
18690
|
+
created_at: string;
|
|
18691
|
+
id: string;
|
|
18692
|
+
not_available: boolean;
|
|
18693
|
+
note: string | null;
|
|
18694
|
+
purchase_order_item_id: string;
|
|
18695
|
+
request_id: string;
|
|
18696
|
+
updated_at: string;
|
|
18697
|
+
};
|
|
18698
|
+
Insert: {
|
|
18699
|
+
confirmed_date?: string | null;
|
|
18700
|
+
confirmed_price_cents?: number | null;
|
|
18701
|
+
confirmed_quantity?: number;
|
|
18702
|
+
created_at?: string;
|
|
18703
|
+
id?: string;
|
|
18704
|
+
not_available?: boolean;
|
|
18705
|
+
note?: string | null;
|
|
18706
|
+
purchase_order_item_id: string;
|
|
18707
|
+
request_id: string;
|
|
18708
|
+
updated_at?: string;
|
|
18709
|
+
};
|
|
18710
|
+
Update: {
|
|
18711
|
+
confirmed_date?: string | null;
|
|
18712
|
+
confirmed_price_cents?: number | null;
|
|
18713
|
+
confirmed_quantity?: number;
|
|
18714
|
+
created_at?: string;
|
|
18715
|
+
id?: string;
|
|
18716
|
+
not_available?: boolean;
|
|
18717
|
+
note?: string | null;
|
|
18718
|
+
purchase_order_item_id?: string;
|
|
18719
|
+
request_id?: string;
|
|
18720
|
+
updated_at?: string;
|
|
18721
|
+
};
|
|
18722
|
+
Relationships: [{
|
|
18723
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18724
|
+
columns: ["purchase_order_item_id"];
|
|
18725
|
+
isOneToOne: false;
|
|
18726
|
+
referencedRelation: "purchase_order_items";
|
|
18727
|
+
referencedColumns: ["id"];
|
|
18728
|
+
}, {
|
|
18729
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18730
|
+
columns: ["request_id"];
|
|
18731
|
+
isOneToOne: false;
|
|
18732
|
+
referencedRelation: "purchase_requests";
|
|
18733
|
+
referencedColumns: ["id"];
|
|
18734
|
+
}];
|
|
18735
|
+
};
|
|
18736
|
+
purchase_requests: {
|
|
18737
|
+
Row: {
|
|
18738
|
+
created_at: string;
|
|
18739
|
+
expires_at: string;
|
|
18740
|
+
first_viewed_at: string | null;
|
|
18741
|
+
id: string;
|
|
18742
|
+
processed_at: string | null;
|
|
18743
|
+
purchase_order_id: string;
|
|
18744
|
+
responded_at: string | null;
|
|
18745
|
+
sent_at: string;
|
|
18746
|
+
status: string;
|
|
18747
|
+
supplier_id: string | null;
|
|
18748
|
+
supplier_name: string;
|
|
18749
|
+
supplier_note: string | null;
|
|
18750
|
+
to_address: string | null;
|
|
18751
|
+
token_hash: string;
|
|
18752
|
+
updated_at: string;
|
|
18753
|
+
};
|
|
18754
|
+
Insert: {
|
|
18755
|
+
created_at?: string;
|
|
18756
|
+
expires_at?: string;
|
|
18757
|
+
first_viewed_at?: string | null;
|
|
18758
|
+
id?: string;
|
|
18759
|
+
processed_at?: string | null;
|
|
18760
|
+
purchase_order_id: string;
|
|
18761
|
+
responded_at?: string | null;
|
|
18762
|
+
sent_at?: string;
|
|
18763
|
+
status?: string;
|
|
18764
|
+
supplier_id?: string | null;
|
|
18765
|
+
supplier_name?: string;
|
|
18766
|
+
supplier_note?: string | null;
|
|
18767
|
+
to_address?: string | null;
|
|
18768
|
+
token_hash: string;
|
|
18769
|
+
updated_at?: string;
|
|
18770
|
+
};
|
|
18771
|
+
Update: {
|
|
18772
|
+
created_at?: string;
|
|
18773
|
+
expires_at?: string;
|
|
18774
|
+
first_viewed_at?: string | null;
|
|
18775
|
+
id?: string;
|
|
18776
|
+
processed_at?: string | null;
|
|
18777
|
+
purchase_order_id?: string;
|
|
18778
|
+
responded_at?: string | null;
|
|
18779
|
+
sent_at?: string;
|
|
18780
|
+
status?: string;
|
|
18781
|
+
supplier_id?: string | null;
|
|
18782
|
+
supplier_name?: string;
|
|
18783
|
+
supplier_note?: string | null;
|
|
18784
|
+
to_address?: string | null;
|
|
18785
|
+
token_hash?: string;
|
|
18786
|
+
updated_at?: string;
|
|
18787
|
+
};
|
|
18788
|
+
Relationships: [{
|
|
18789
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18790
|
+
columns: ["purchase_order_id"];
|
|
18791
|
+
isOneToOne: false;
|
|
18792
|
+
referencedRelation: "purchase_orders";
|
|
18793
|
+
referencedColumns: ["id"];
|
|
18794
|
+
}, {
|
|
18795
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18796
|
+
columns: ["supplier_id"];
|
|
18797
|
+
isOneToOne: false;
|
|
18798
|
+
referencedRelation: "suppliers";
|
|
18799
|
+
referencedColumns: ["id"];
|
|
18800
|
+
}];
|
|
18801
|
+
};
|
|
17734
18802
|
reception_notifications: {
|
|
17735
18803
|
Row: {
|
|
17736
18804
|
booking_id: string | null;
|
|
@@ -19061,40 +20129,52 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
19061
20129
|
Row: {
|
|
19062
20130
|
approved_at: string | null;
|
|
19063
20131
|
approved_by: string | null;
|
|
20132
|
+
contract_hours: number;
|
|
19064
20133
|
created_at: string;
|
|
19065
20134
|
employee_id: string;
|
|
19066
20135
|
id: string;
|
|
19067
20136
|
locked: boolean;
|
|
20137
|
+
monteur_toelichting: string | null;
|
|
19068
20138
|
notes: string | null;
|
|
20139
|
+
planned_hours: number;
|
|
19069
20140
|
status: string;
|
|
19070
20141
|
submitted_at: string | null;
|
|
19071
20142
|
updated_at: string;
|
|
20143
|
+
variance_hours: number;
|
|
19072
20144
|
week_start: string;
|
|
19073
20145
|
};
|
|
19074
20146
|
Insert: {
|
|
19075
20147
|
approved_at?: string | null;
|
|
19076
20148
|
approved_by?: string | null;
|
|
20149
|
+
contract_hours?: number;
|
|
19077
20150
|
created_at?: string;
|
|
19078
20151
|
employee_id: string;
|
|
19079
20152
|
id?: string;
|
|
19080
20153
|
locked?: boolean;
|
|
20154
|
+
monteur_toelichting?: string | null;
|
|
19081
20155
|
notes?: string | null;
|
|
20156
|
+
planned_hours?: number;
|
|
19082
20157
|
status?: string;
|
|
19083
20158
|
submitted_at?: string | null;
|
|
19084
20159
|
updated_at?: string;
|
|
20160
|
+
variance_hours?: number;
|
|
19085
20161
|
week_start: string;
|
|
19086
20162
|
};
|
|
19087
20163
|
Update: {
|
|
19088
20164
|
approved_at?: string | null;
|
|
19089
20165
|
approved_by?: string | null;
|
|
20166
|
+
contract_hours?: number;
|
|
19090
20167
|
created_at?: string;
|
|
19091
20168
|
employee_id?: string;
|
|
19092
20169
|
id?: string;
|
|
19093
20170
|
locked?: boolean;
|
|
20171
|
+
monteur_toelichting?: string | null;
|
|
19094
20172
|
notes?: string | null;
|
|
20173
|
+
planned_hours?: number;
|
|
19095
20174
|
status?: string;
|
|
19096
20175
|
submitted_at?: string | null;
|
|
19097
20176
|
updated_at?: string;
|
|
20177
|
+
variance_hours?: number;
|
|
19098
20178
|
week_start?: string;
|
|
19099
20179
|
};
|
|
19100
20180
|
Relationships: [{
|
|
@@ -19882,6 +20962,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
19882
20962
|
auto_invoice_enabled: boolean;
|
|
19883
20963
|
auto_invoice_start_date: string | null;
|
|
19884
20964
|
auto_invoice_trigger_statuses: string[];
|
|
20965
|
+
auto_send_mode: string | null;
|
|
19885
20966
|
created_at: string;
|
|
19886
20967
|
debtor_gl_account: string;
|
|
19887
20968
|
default_article_code: string | null;
|
|
@@ -19910,6 +20991,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
19910
20991
|
auto_invoice_enabled?: boolean;
|
|
19911
20992
|
auto_invoice_start_date?: string | null;
|
|
19912
20993
|
auto_invoice_trigger_statuses?: string[];
|
|
20994
|
+
auto_send_mode?: string | null;
|
|
19913
20995
|
created_at?: string;
|
|
19914
20996
|
debtor_gl_account?: string;
|
|
19915
20997
|
default_article_code?: string | null;
|
|
@@ -19938,6 +21020,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
19938
21020
|
auto_invoice_enabled?: boolean;
|
|
19939
21021
|
auto_invoice_start_date?: string | null;
|
|
19940
21022
|
auto_invoice_trigger_statuses?: string[];
|
|
21023
|
+
auto_send_mode?: string | null;
|
|
19941
21024
|
created_at?: string;
|
|
19942
21025
|
debtor_gl_account?: string;
|
|
19943
21026
|
default_article_code?: string | null;
|
|
@@ -20381,16 +21464,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20381
21464
|
Row: {
|
|
20382
21465
|
active_environment: string;
|
|
20383
21466
|
id: number;
|
|
21467
|
+
public_base_url: string | null;
|
|
20384
21468
|
updated_at: string;
|
|
20385
21469
|
};
|
|
20386
21470
|
Insert: {
|
|
20387
21471
|
active_environment?: string;
|
|
20388
21472
|
id?: number;
|
|
21473
|
+
public_base_url?: string | null;
|
|
20389
21474
|
updated_at?: string;
|
|
20390
21475
|
};
|
|
20391
21476
|
Update: {
|
|
20392
21477
|
active_environment?: string;
|
|
20393
21478
|
id?: number;
|
|
21479
|
+
public_base_url?: string | null;
|
|
20394
21480
|
updated_at?: string;
|
|
20395
21481
|
};
|
|
20396
21482
|
Relationships: [];
|
|
@@ -20428,6 +21514,45 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20428
21514
|
referencedColumns: ["id"];
|
|
20429
21515
|
}];
|
|
20430
21516
|
};
|
|
21517
|
+
uren_beschikbare_dagen: {
|
|
21518
|
+
Row: {
|
|
21519
|
+
bron: string;
|
|
21520
|
+
created_at: string;
|
|
21521
|
+
datum: string;
|
|
21522
|
+
eind_tijd: string | null;
|
|
21523
|
+
half_hour_slots: number[];
|
|
21524
|
+
id: string;
|
|
21525
|
+
monteur_id: string;
|
|
21526
|
+
start_tijd: string | null;
|
|
21527
|
+
updated_at: string;
|
|
21528
|
+
uren: number;
|
|
21529
|
+
};
|
|
21530
|
+
Insert: {
|
|
21531
|
+
bron?: string;
|
|
21532
|
+
created_at?: string;
|
|
21533
|
+
datum: string;
|
|
21534
|
+
eind_tijd?: string | null;
|
|
21535
|
+
half_hour_slots?: number[];
|
|
21536
|
+
id?: string;
|
|
21537
|
+
monteur_id: string;
|
|
21538
|
+
start_tijd?: string | null;
|
|
21539
|
+
updated_at?: string;
|
|
21540
|
+
uren?: number;
|
|
21541
|
+
};
|
|
21542
|
+
Update: {
|
|
21543
|
+
bron?: string;
|
|
21544
|
+
created_at?: string;
|
|
21545
|
+
datum?: string;
|
|
21546
|
+
eind_tijd?: string | null;
|
|
21547
|
+
half_hour_slots?: number[];
|
|
21548
|
+
id?: string;
|
|
21549
|
+
monteur_id?: string;
|
|
21550
|
+
start_tijd?: string | null;
|
|
21551
|
+
updated_at?: string;
|
|
21552
|
+
uren?: number;
|
|
21553
|
+
};
|
|
21554
|
+
Relationships: [];
|
|
21555
|
+
};
|
|
20431
21556
|
uren_cao_profiles: {
|
|
20432
21557
|
Row: {
|
|
20433
21558
|
break_minutes: number | null;
|
|
@@ -20566,26 +21691,155 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20566
21691
|
};
|
|
20567
21692
|
Relationships: [];
|
|
20568
21693
|
};
|
|
20569
|
-
|
|
21694
|
+
uren_maandafsluitingen: {
|
|
20570
21695
|
Row: {
|
|
20571
|
-
|
|
21696
|
+
afgesloten_at: string | null;
|
|
21697
|
+
afgesloten_door: string | null;
|
|
21698
|
+
contract_minuten: number;
|
|
21699
|
+
correctie_reden: string | null;
|
|
20572
21700
|
created_at: string;
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
21701
|
+
gecorrigeerd_at: string | null;
|
|
21702
|
+
gecorrigeerd_door: string | null;
|
|
21703
|
+
gewerkte_minuten: number;
|
|
21704
|
+
id: string;
|
|
21705
|
+
maand: string;
|
|
21706
|
+
min_minuten: number;
|
|
21707
|
+
monteur_id: string;
|
|
21708
|
+
netto_verschil_minuten: number;
|
|
21709
|
+
normaal_uitbetaald_minuten: number;
|
|
21710
|
+
omgezet_vakantie_minuten: number;
|
|
21711
|
+
overdracht_vorige_minuten: number;
|
|
21712
|
+
overuren_minuten: number;
|
|
21713
|
+
plus_minuten: number;
|
|
21714
|
+
rest_overuren_minuten: number;
|
|
21715
|
+
status: string;
|
|
21716
|
+
totaal_uitbetaald_minuten: number;
|
|
20579
21717
|
updated_at: string;
|
|
20580
|
-
|
|
20581
|
-
workday_end: string;
|
|
20582
|
-
workday_start: string;
|
|
21718
|
+
vakantie_uren_bijgeschreven: number;
|
|
20583
21719
|
};
|
|
20584
21720
|
Insert: {
|
|
20585
|
-
|
|
21721
|
+
afgesloten_at?: string | null;
|
|
21722
|
+
afgesloten_door?: string | null;
|
|
21723
|
+
contract_minuten?: number;
|
|
21724
|
+
correctie_reden?: string | null;
|
|
20586
21725
|
created_at?: string;
|
|
20587
|
-
|
|
20588
|
-
|
|
21726
|
+
gecorrigeerd_at?: string | null;
|
|
21727
|
+
gecorrigeerd_door?: string | null;
|
|
21728
|
+
gewerkte_minuten?: number;
|
|
21729
|
+
id?: string;
|
|
21730
|
+
maand: string;
|
|
21731
|
+
min_minuten?: number;
|
|
21732
|
+
monteur_id: string;
|
|
21733
|
+
netto_verschil_minuten?: number;
|
|
21734
|
+
normaal_uitbetaald_minuten?: number;
|
|
21735
|
+
omgezet_vakantie_minuten?: number;
|
|
21736
|
+
overdracht_vorige_minuten?: number;
|
|
21737
|
+
overuren_minuten?: number;
|
|
21738
|
+
plus_minuten?: number;
|
|
21739
|
+
rest_overuren_minuten?: number;
|
|
21740
|
+
status?: string;
|
|
21741
|
+
totaal_uitbetaald_minuten?: number;
|
|
21742
|
+
updated_at?: string;
|
|
21743
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21744
|
+
};
|
|
21745
|
+
Update: {
|
|
21746
|
+
afgesloten_at?: string | null;
|
|
21747
|
+
afgesloten_door?: string | null;
|
|
21748
|
+
contract_minuten?: number;
|
|
21749
|
+
correctie_reden?: string | null;
|
|
21750
|
+
created_at?: string;
|
|
21751
|
+
gecorrigeerd_at?: string | null;
|
|
21752
|
+
gecorrigeerd_door?: string | null;
|
|
21753
|
+
gewerkte_minuten?: number;
|
|
21754
|
+
id?: string;
|
|
21755
|
+
maand?: string;
|
|
21756
|
+
min_minuten?: number;
|
|
21757
|
+
monteur_id?: string;
|
|
21758
|
+
netto_verschil_minuten?: number;
|
|
21759
|
+
normaal_uitbetaald_minuten?: number;
|
|
21760
|
+
omgezet_vakantie_minuten?: number;
|
|
21761
|
+
overdracht_vorige_minuten?: number;
|
|
21762
|
+
overuren_minuten?: number;
|
|
21763
|
+
plus_minuten?: number;
|
|
21764
|
+
rest_overuren_minuten?: number;
|
|
21765
|
+
status?: string;
|
|
21766
|
+
totaal_uitbetaald_minuten?: number;
|
|
21767
|
+
updated_at?: string;
|
|
21768
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21769
|
+
};
|
|
21770
|
+
Relationships: [];
|
|
21771
|
+
};
|
|
21772
|
+
uren_overuren_verklaringen: {
|
|
21773
|
+
Row: {
|
|
21774
|
+
beoordeeld_door: string | null;
|
|
21775
|
+
beoordeeld_op: string | null;
|
|
21776
|
+
created_at: string;
|
|
21777
|
+
datum: string;
|
|
21778
|
+
eind_tijd: string | null;
|
|
21779
|
+
id: string;
|
|
21780
|
+
ingediend_at: string;
|
|
21781
|
+
monteur_id: string;
|
|
21782
|
+
overuren: number;
|
|
21783
|
+
reden_afkeur: string | null;
|
|
21784
|
+
start_tijd: string | null;
|
|
21785
|
+
status: string;
|
|
21786
|
+
toelichting: string;
|
|
21787
|
+
updated_at: string;
|
|
21788
|
+
};
|
|
21789
|
+
Insert: {
|
|
21790
|
+
beoordeeld_door?: string | null;
|
|
21791
|
+
beoordeeld_op?: string | null;
|
|
21792
|
+
created_at?: string;
|
|
21793
|
+
datum: string;
|
|
21794
|
+
eind_tijd?: string | null;
|
|
21795
|
+
id?: string;
|
|
21796
|
+
ingediend_at?: string;
|
|
21797
|
+
monteur_id: string;
|
|
21798
|
+
overuren: number;
|
|
21799
|
+
reden_afkeur?: string | null;
|
|
21800
|
+
start_tijd?: string | null;
|
|
21801
|
+
status?: string;
|
|
21802
|
+
toelichting: string;
|
|
21803
|
+
updated_at?: string;
|
|
21804
|
+
};
|
|
21805
|
+
Update: {
|
|
21806
|
+
beoordeeld_door?: string | null;
|
|
21807
|
+
beoordeeld_op?: string | null;
|
|
21808
|
+
created_at?: string;
|
|
21809
|
+
datum?: string;
|
|
21810
|
+
eind_tijd?: string | null;
|
|
21811
|
+
id?: string;
|
|
21812
|
+
ingediend_at?: string;
|
|
21813
|
+
monteur_id?: string;
|
|
21814
|
+
overuren?: number;
|
|
21815
|
+
reden_afkeur?: string | null;
|
|
21816
|
+
start_tijd?: string | null;
|
|
21817
|
+
status?: string;
|
|
21818
|
+
toelichting?: string;
|
|
21819
|
+
updated_at?: string;
|
|
21820
|
+
};
|
|
21821
|
+
Relationships: [];
|
|
21822
|
+
};
|
|
21823
|
+
uren_settings: {
|
|
21824
|
+
Row: {
|
|
21825
|
+
break_minutes: number;
|
|
21826
|
+
created_at: string;
|
|
21827
|
+
daily_threshold_hours: number;
|
|
21828
|
+
id: boolean;
|
|
21829
|
+
include_travel: boolean;
|
|
21830
|
+
min_occupancy_monteurs: number;
|
|
21831
|
+
ov02_percentage: number;
|
|
21832
|
+
ov03_percentage: number;
|
|
21833
|
+
updated_at: string;
|
|
21834
|
+
weekly_threshold_hours: number;
|
|
21835
|
+
workday_end: string;
|
|
21836
|
+
workday_start: string;
|
|
21837
|
+
};
|
|
21838
|
+
Insert: {
|
|
21839
|
+
break_minutes?: number;
|
|
21840
|
+
created_at?: string;
|
|
21841
|
+
daily_threshold_hours?: number;
|
|
21842
|
+
id?: boolean;
|
|
20589
21843
|
include_travel?: boolean;
|
|
20590
21844
|
min_occupancy_monteurs?: number;
|
|
20591
21845
|
ov02_percentage?: number;
|
|
@@ -20611,6 +21865,75 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20611
21865
|
};
|
|
20612
21866
|
Relationships: [];
|
|
20613
21867
|
};
|
|
21868
|
+
uren_standaardweek: {
|
|
21869
|
+
Row: {
|
|
21870
|
+
created_at: string;
|
|
21871
|
+
eind_slot: number;
|
|
21872
|
+
id: string;
|
|
21873
|
+
monteur_id: string;
|
|
21874
|
+
start_slot: number;
|
|
21875
|
+
updated_at: string;
|
|
21876
|
+
weekdag: number;
|
|
21877
|
+
};
|
|
21878
|
+
Insert: {
|
|
21879
|
+
created_at?: string;
|
|
21880
|
+
eind_slot: number;
|
|
21881
|
+
id?: string;
|
|
21882
|
+
monteur_id: string;
|
|
21883
|
+
start_slot: number;
|
|
21884
|
+
updated_at?: string;
|
|
21885
|
+
weekdag: number;
|
|
21886
|
+
};
|
|
21887
|
+
Update: {
|
|
21888
|
+
created_at?: string;
|
|
21889
|
+
eind_slot?: number;
|
|
21890
|
+
id?: string;
|
|
21891
|
+
monteur_id?: string;
|
|
21892
|
+
start_slot?: number;
|
|
21893
|
+
updated_at?: string;
|
|
21894
|
+
weekdag?: number;
|
|
21895
|
+
};
|
|
21896
|
+
Relationships: [];
|
|
21897
|
+
};
|
|
21898
|
+
uren_standaardweek_wijzigingen: {
|
|
21899
|
+
Row: {
|
|
21900
|
+
beoordeeld_door: string | null;
|
|
21901
|
+
beoordeeld_op: string | null;
|
|
21902
|
+
created_at: string;
|
|
21903
|
+
huidig: import("../integrations/supabase/types").Json;
|
|
21904
|
+
id: string;
|
|
21905
|
+
monteur_id: string;
|
|
21906
|
+
reden_afkeur: string | null;
|
|
21907
|
+
status: string;
|
|
21908
|
+
updated_at: string;
|
|
21909
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21910
|
+
};
|
|
21911
|
+
Insert: {
|
|
21912
|
+
beoordeeld_door?: string | null;
|
|
21913
|
+
beoordeeld_op?: string | null;
|
|
21914
|
+
created_at?: string;
|
|
21915
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21916
|
+
id?: string;
|
|
21917
|
+
monteur_id: string;
|
|
21918
|
+
reden_afkeur?: string | null;
|
|
21919
|
+
status?: string;
|
|
21920
|
+
updated_at?: string;
|
|
21921
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21922
|
+
};
|
|
21923
|
+
Update: {
|
|
21924
|
+
beoordeeld_door?: string | null;
|
|
21925
|
+
beoordeeld_op?: string | null;
|
|
21926
|
+
created_at?: string;
|
|
21927
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21928
|
+
id?: string;
|
|
21929
|
+
monteur_id?: string;
|
|
21930
|
+
reden_afkeur?: string | null;
|
|
21931
|
+
status?: string;
|
|
21932
|
+
updated_at?: string;
|
|
21933
|
+
voorstel?: import("../integrations/supabase/types").Json;
|
|
21934
|
+
};
|
|
21935
|
+
Relationships: [];
|
|
21936
|
+
};
|
|
20614
21937
|
uren_tarieven: {
|
|
20615
21938
|
Row: {
|
|
20616
21939
|
created_at: string;
|
|
@@ -20695,6 +22018,39 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20695
22018
|
};
|
|
20696
22019
|
Relationships: [];
|
|
20697
22020
|
};
|
|
22021
|
+
uren_tijd_spiegel: {
|
|
22022
|
+
Row: {
|
|
22023
|
+
created_at: string;
|
|
22024
|
+
id: string;
|
|
22025
|
+
time_log_id: string;
|
|
22026
|
+
werkbon_time_log_id: string;
|
|
22027
|
+
};
|
|
22028
|
+
Insert: {
|
|
22029
|
+
created_at?: string;
|
|
22030
|
+
id?: string;
|
|
22031
|
+
time_log_id: string;
|
|
22032
|
+
werkbon_time_log_id: string;
|
|
22033
|
+
};
|
|
22034
|
+
Update: {
|
|
22035
|
+
created_at?: string;
|
|
22036
|
+
id?: string;
|
|
22037
|
+
time_log_id?: string;
|
|
22038
|
+
werkbon_time_log_id?: string;
|
|
22039
|
+
};
|
|
22040
|
+
Relationships: [{
|
|
22041
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
22042
|
+
columns: ["time_log_id"];
|
|
22043
|
+
isOneToOne: true;
|
|
22044
|
+
referencedRelation: "time_logs";
|
|
22045
|
+
referencedColumns: ["id"];
|
|
22046
|
+
}, {
|
|
22047
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
22048
|
+
columns: ["werkbon_time_log_id"];
|
|
22049
|
+
isOneToOne: true;
|
|
22050
|
+
referencedRelation: "werkbon_time_logs";
|
|
22051
|
+
referencedColumns: ["id"];
|
|
22052
|
+
}];
|
|
22053
|
+
};
|
|
20698
22054
|
uren_weekstaten: {
|
|
20699
22055
|
Row: {
|
|
20700
22056
|
approved_at: string | null;
|
|
@@ -20737,6 +22093,33 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20737
22093
|
};
|
|
20738
22094
|
Relationships: [];
|
|
20739
22095
|
};
|
|
22096
|
+
uren_werktijd_voorkeuren: {
|
|
22097
|
+
Row: {
|
|
22098
|
+
created_at: string;
|
|
22099
|
+
eind_slot: number;
|
|
22100
|
+
id: string;
|
|
22101
|
+
monteur_id: string;
|
|
22102
|
+
start_slot: number;
|
|
22103
|
+
updated_at: string;
|
|
22104
|
+
};
|
|
22105
|
+
Insert: {
|
|
22106
|
+
created_at?: string;
|
|
22107
|
+
eind_slot?: number;
|
|
22108
|
+
id?: string;
|
|
22109
|
+
monteur_id: string;
|
|
22110
|
+
start_slot?: number;
|
|
22111
|
+
updated_at?: string;
|
|
22112
|
+
};
|
|
22113
|
+
Update: {
|
|
22114
|
+
created_at?: string;
|
|
22115
|
+
eind_slot?: number;
|
|
22116
|
+
id?: string;
|
|
22117
|
+
monteur_id?: string;
|
|
22118
|
+
start_slot?: number;
|
|
22119
|
+
updated_at?: string;
|
|
22120
|
+
};
|
|
22121
|
+
Relationships: [];
|
|
22122
|
+
};
|
|
20740
22123
|
user_module_permissions: {
|
|
20741
22124
|
Row: {
|
|
20742
22125
|
created_at: string;
|
|
@@ -20794,6 +22177,51 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
20794
22177
|
referencedColumns: ["id"];
|
|
20795
22178
|
}];
|
|
20796
22179
|
};
|
|
22180
|
+
vakantie_uitbetalingen: {
|
|
22181
|
+
Row: {
|
|
22182
|
+
created_at: string;
|
|
22183
|
+
created_by: string | null;
|
|
22184
|
+
days: number;
|
|
22185
|
+
id: string;
|
|
22186
|
+
note: string | null;
|
|
22187
|
+
updated_at: string;
|
|
22188
|
+
user_id: string;
|
|
22189
|
+
year: number;
|
|
22190
|
+
};
|
|
22191
|
+
Insert: {
|
|
22192
|
+
created_at?: string;
|
|
22193
|
+
created_by?: string | null;
|
|
22194
|
+
days: number;
|
|
22195
|
+
id?: string;
|
|
22196
|
+
note?: string | null;
|
|
22197
|
+
updated_at?: string;
|
|
22198
|
+
user_id: string;
|
|
22199
|
+
year?: number;
|
|
22200
|
+
};
|
|
22201
|
+
Update: {
|
|
22202
|
+
created_at?: string;
|
|
22203
|
+
created_by?: string | null;
|
|
22204
|
+
days?: number;
|
|
22205
|
+
id?: string;
|
|
22206
|
+
note?: string | null;
|
|
22207
|
+
updated_at?: string;
|
|
22208
|
+
user_id?: string;
|
|
22209
|
+
year?: number;
|
|
22210
|
+
};
|
|
22211
|
+
Relationships: [{
|
|
22212
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22213
|
+
columns: ["created_by"];
|
|
22214
|
+
isOneToOne: false;
|
|
22215
|
+
referencedRelation: "profiles";
|
|
22216
|
+
referencedColumns: ["id"];
|
|
22217
|
+
}, {
|
|
22218
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22219
|
+
columns: ["user_id"];
|
|
22220
|
+
isOneToOne: false;
|
|
22221
|
+
referencedRelation: "profiles";
|
|
22222
|
+
referencedColumns: ["id"];
|
|
22223
|
+
}];
|
|
22224
|
+
};
|
|
20797
22225
|
van_inventories: {
|
|
20798
22226
|
Row: {
|
|
20799
22227
|
barcode: string | null;
|
|
@@ -21668,10 +23096,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21668
23096
|
Row: {
|
|
21669
23097
|
article_number: string | null;
|
|
21670
23098
|
artikel_id: string | null;
|
|
23099
|
+
cost_price_cents: number;
|
|
21671
23100
|
created_at: string;
|
|
21672
23101
|
gtin: string | null;
|
|
21673
23102
|
id: string;
|
|
21674
23103
|
manufacturer: string | null;
|
|
23104
|
+
margin_percent: number | null;
|
|
21675
23105
|
omschrijving: string;
|
|
21676
23106
|
package_id: string;
|
|
21677
23107
|
price_synced_at: string | null;
|
|
@@ -21686,10 +23116,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21686
23116
|
Insert: {
|
|
21687
23117
|
article_number?: string | null;
|
|
21688
23118
|
artikel_id?: string | null;
|
|
23119
|
+
cost_price_cents?: number;
|
|
21689
23120
|
created_at?: string;
|
|
21690
23121
|
gtin?: string | null;
|
|
21691
23122
|
id?: string;
|
|
21692
23123
|
manufacturer?: string | null;
|
|
23124
|
+
margin_percent?: number | null;
|
|
21693
23125
|
omschrijving: string;
|
|
21694
23126
|
package_id: string;
|
|
21695
23127
|
price_synced_at?: string | null;
|
|
@@ -21704,10 +23136,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21704
23136
|
Update: {
|
|
21705
23137
|
article_number?: string | null;
|
|
21706
23138
|
artikel_id?: string | null;
|
|
23139
|
+
cost_price_cents?: number;
|
|
21707
23140
|
created_at?: string;
|
|
21708
23141
|
gtin?: string | null;
|
|
21709
23142
|
id?: string;
|
|
21710
23143
|
manufacturer?: string | null;
|
|
23144
|
+
margin_percent?: number | null;
|
|
21711
23145
|
omschrijving?: string;
|
|
21712
23146
|
package_id?: string;
|
|
21713
23147
|
price_synced_at?: string | null;
|
|
@@ -21790,7 +23224,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21790
23224
|
created_at: string;
|
|
21791
23225
|
default_quantity: number;
|
|
21792
23226
|
description: string | null;
|
|
21793
|
-
duration_minutes: number
|
|
23227
|
+
duration_minutes: number;
|
|
21794
23228
|
id: string;
|
|
21795
23229
|
mandaat_type: string | null;
|
|
21796
23230
|
name: string;
|
|
@@ -21807,7 +23241,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21807
23241
|
created_at?: string;
|
|
21808
23242
|
default_quantity?: number;
|
|
21809
23243
|
description?: string | null;
|
|
21810
|
-
duration_minutes?: number
|
|
23244
|
+
duration_minutes?: number;
|
|
21811
23245
|
id?: string;
|
|
21812
23246
|
mandaat_type?: string | null;
|
|
21813
23247
|
name: string;
|
|
@@ -21824,7 +23258,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
21824
23258
|
created_at?: string;
|
|
21825
23259
|
default_quantity?: number;
|
|
21826
23260
|
description?: string | null;
|
|
21827
|
-
duration_minutes?: number
|
|
23261
|
+
duration_minutes?: number;
|
|
21828
23262
|
id?: string;
|
|
21829
23263
|
mandaat_type?: string | null;
|
|
21830
23264
|
name?: string;
|
|
@@ -22072,6 +23506,78 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
22072
23506
|
referencedColumns: ["id"];
|
|
22073
23507
|
}];
|
|
22074
23508
|
};
|
|
23509
|
+
werkbon_voorstellen: {
|
|
23510
|
+
Row: {
|
|
23511
|
+
bron_werkbon_id: string;
|
|
23512
|
+
budget_mandate_cents: number;
|
|
23513
|
+
created_at: string;
|
|
23514
|
+
created_by: string;
|
|
23515
|
+
customer_id: string | null;
|
|
23516
|
+
id: string;
|
|
23517
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23518
|
+
reden: string | null;
|
|
23519
|
+
status: string;
|
|
23520
|
+
updated_at: string;
|
|
23521
|
+
verwerkt_door: string | null;
|
|
23522
|
+
verwerkt_op: string | null;
|
|
23523
|
+
werkbon_id: string | null;
|
|
23524
|
+
};
|
|
23525
|
+
Insert: {
|
|
23526
|
+
bron_werkbon_id: string;
|
|
23527
|
+
budget_mandate_cents?: number;
|
|
23528
|
+
created_at?: string;
|
|
23529
|
+
created_by?: string;
|
|
23530
|
+
customer_id?: string | null;
|
|
23531
|
+
id?: string;
|
|
23532
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23533
|
+
reden?: string | null;
|
|
23534
|
+
status?: string;
|
|
23535
|
+
updated_at?: string;
|
|
23536
|
+
verwerkt_door?: string | null;
|
|
23537
|
+
verwerkt_op?: string | null;
|
|
23538
|
+
werkbon_id?: string | null;
|
|
23539
|
+
};
|
|
23540
|
+
Update: {
|
|
23541
|
+
bron_werkbon_id?: string;
|
|
23542
|
+
budget_mandate_cents?: number;
|
|
23543
|
+
created_at?: string;
|
|
23544
|
+
created_by?: string;
|
|
23545
|
+
customer_id?: string | null;
|
|
23546
|
+
id?: string;
|
|
23547
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23548
|
+
reden?: string | null;
|
|
23549
|
+
status?: string;
|
|
23550
|
+
updated_at?: string;
|
|
23551
|
+
verwerkt_door?: string | null;
|
|
23552
|
+
verwerkt_op?: string | null;
|
|
23553
|
+
werkbon_id?: string | null;
|
|
23554
|
+
};
|
|
23555
|
+
Relationships: [{
|
|
23556
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23557
|
+
columns: ["bron_werkbon_id"];
|
|
23558
|
+
isOneToOne: false;
|
|
23559
|
+
referencedRelation: "werkbonnen";
|
|
23560
|
+
referencedColumns: ["id"];
|
|
23561
|
+
}, {
|
|
23562
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23563
|
+
columns: ["bron_werkbon_id"];
|
|
23564
|
+
isOneToOne: false;
|
|
23565
|
+
referencedRelation: "wo_overview";
|
|
23566
|
+
referencedColumns: ["id"];
|
|
23567
|
+
}, {
|
|
23568
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23569
|
+
columns: ["werkbon_id"];
|
|
23570
|
+
isOneToOne: false;
|
|
23571
|
+
referencedRelation: "werkbonnen";
|
|
23572
|
+
referencedColumns: ["id"];
|
|
23573
|
+
}, {
|
|
23574
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23575
|
+
columns: ["werkbon_id"];
|
|
23576
|
+
isOneToOne: false;
|
|
23577
|
+
referencedRelation: "wo_overview";
|
|
23578
|
+
referencedColumns: ["id"];
|
|
23579
|
+
}];
|
|
23580
|
+
};
|
|
22075
23581
|
werkbonnen: {
|
|
22076
23582
|
Row: {
|
|
22077
23583
|
assigned_user_id: string | null;
|
|
@@ -22679,6 +24185,21 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
22679
24185
|
};
|
|
22680
24186
|
Relationships: [];
|
|
22681
24187
|
};
|
|
24188
|
+
logistics_packing_diff: {
|
|
24189
|
+
Row: {
|
|
24190
|
+
dev_key: string | null;
|
|
24191
|
+
floriday_packing: import("../integrations/supabase/types").Json | null;
|
|
24192
|
+
local_packing: import("../integrations/supabase/types").Json | null;
|
|
24193
|
+
order_id: string | null;
|
|
24194
|
+
order_item_id: string | null;
|
|
24195
|
+
order_number: string | null;
|
|
24196
|
+
product_id: string | null;
|
|
24197
|
+
product_name: string | null;
|
|
24198
|
+
scope: string | null;
|
|
24199
|
+
trade_item_id: string | null;
|
|
24200
|
+
};
|
|
24201
|
+
Relationships: [];
|
|
24202
|
+
};
|
|
22682
24203
|
logistics_product_dimensions: {
|
|
22683
24204
|
Row: {
|
|
22684
24205
|
dimension_source: string | null;
|
|
@@ -23297,6 +24818,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
23297
24818
|
};
|
|
23298
24819
|
Returns: undefined;
|
|
23299
24820
|
};
|
|
24821
|
+
_wo_is_planner: {
|
|
24822
|
+
Args: never;
|
|
24823
|
+
Returns: boolean;
|
|
24824
|
+
};
|
|
23300
24825
|
afh_city_code: {
|
|
23301
24826
|
Args: {
|
|
23302
24827
|
_city: string;
|
|
@@ -23907,10 +25432,32 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
23907
25432
|
};
|
|
23908
25433
|
Returns: number;
|
|
23909
25434
|
};
|
|
23910
|
-
|
|
25435
|
+
control_mark_carts_delivered_detail: {
|
|
25436
|
+
Args: {
|
|
25437
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
25438
|
+
};
|
|
25439
|
+
Returns: {
|
|
25440
|
+
cart_index: number;
|
|
25441
|
+
frozen: boolean;
|
|
25442
|
+
message: string;
|
|
25443
|
+
order_id: string;
|
|
25444
|
+
order_source: string;
|
|
25445
|
+
outcome: string;
|
|
25446
|
+
}[];
|
|
25447
|
+
};
|
|
25448
|
+
count_distinct_regulatory_products: {
|
|
23911
25449
|
Args: never;
|
|
23912
25450
|
Returns: number;
|
|
23913
25451
|
};
|
|
25452
|
+
create_order_from_public_offer: {
|
|
25453
|
+
Args: {
|
|
25454
|
+
p_carrier_id?: string;
|
|
25455
|
+
p_delivery_date?: string;
|
|
25456
|
+
p_delivery_garden_id?: string;
|
|
25457
|
+
p_offer_order_id: string;
|
|
25458
|
+
};
|
|
25459
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25460
|
+
};
|
|
23914
25461
|
current_monteur_id: {
|
|
23915
25462
|
Args: never;
|
|
23916
25463
|
Returns: string;
|
|
@@ -24387,6 +25934,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24387
25934
|
};
|
|
24388
25935
|
Returns: number;
|
|
24389
25936
|
};
|
|
25937
|
+
get_product_stock: {
|
|
25938
|
+
Args: {
|
|
25939
|
+
p_product_id: string;
|
|
25940
|
+
};
|
|
25941
|
+
Returns: {
|
|
25942
|
+
connection_id: string;
|
|
25943
|
+
incoming_stock: number;
|
|
25944
|
+
minimum_stock: number;
|
|
25945
|
+
notes: string;
|
|
25946
|
+
physical_stock: number;
|
|
25947
|
+
product_id: string;
|
|
25948
|
+
reserved_stock: number;
|
|
25949
|
+
trade_item_key: string;
|
|
25950
|
+
updated_at: string;
|
|
25951
|
+
}[];
|
|
25952
|
+
};
|
|
24390
25953
|
get_room_busy_windows: {
|
|
24391
25954
|
Args: {
|
|
24392
25955
|
p_from: string;
|
|
@@ -24691,13 +26254,66 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24691
26254
|
};
|
|
24692
26255
|
Returns: import("../integrations/supabase/types").Json;
|
|
24693
26256
|
};
|
|
26257
|
+
inkoop_cancel_line: {
|
|
26258
|
+
Args: {
|
|
26259
|
+
_item_id: string;
|
|
26260
|
+
_reason: string;
|
|
26261
|
+
};
|
|
26262
|
+
Returns: string;
|
|
26263
|
+
};
|
|
26264
|
+
inkoop_get_supplier_request: {
|
|
26265
|
+
Args: {
|
|
26266
|
+
_token: string;
|
|
26267
|
+
};
|
|
26268
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26269
|
+
};
|
|
26270
|
+
inkoop_hash_token: {
|
|
26271
|
+
Args: {
|
|
26272
|
+
_token: string;
|
|
26273
|
+
};
|
|
26274
|
+
Returns: string;
|
|
26275
|
+
};
|
|
26276
|
+
inkoop_html_escape: {
|
|
26277
|
+
Args: {
|
|
26278
|
+
_t: string;
|
|
26279
|
+
};
|
|
26280
|
+
Returns: string;
|
|
26281
|
+
};
|
|
26282
|
+
inkoop_list_artikelen: {
|
|
26283
|
+
Args: never;
|
|
26284
|
+
Returns: {
|
|
26285
|
+
article_number: string;
|
|
26286
|
+
barcode: string;
|
|
26287
|
+
id: string;
|
|
26288
|
+
incoming_quantity: number;
|
|
26289
|
+
is_layer: boolean;
|
|
26290
|
+
location: string;
|
|
26291
|
+
min_quantity: number;
|
|
26292
|
+
preferred_supplier_name: string;
|
|
26293
|
+
product: string;
|
|
26294
|
+
product_type: string;
|
|
26295
|
+
purchase_price: number;
|
|
26296
|
+
quantity: number;
|
|
26297
|
+
sale_price: number;
|
|
26298
|
+
supplier_count: number;
|
|
26299
|
+
unit: string;
|
|
26300
|
+
}[];
|
|
26301
|
+
};
|
|
24694
26302
|
inkoop_next_order_number: {
|
|
24695
26303
|
Args: never;
|
|
24696
26304
|
Returns: string;
|
|
24697
26305
|
};
|
|
26306
|
+
inkoop_process_request: {
|
|
26307
|
+
Args: {
|
|
26308
|
+
_request_id: string;
|
|
26309
|
+
};
|
|
26310
|
+
Returns: undefined;
|
|
26311
|
+
};
|
|
24698
26312
|
inkoop_send_order: {
|
|
24699
26313
|
Args: {
|
|
26314
|
+
_base_url?: string;
|
|
24700
26315
|
_order_id: string;
|
|
26316
|
+
_resend?: boolean;
|
|
24701
26317
|
};
|
|
24702
26318
|
Returns: {
|
|
24703
26319
|
outbox_id: string;
|
|
@@ -24705,6 +26321,33 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24705
26321
|
to_address: string;
|
|
24706
26322
|
}[];
|
|
24707
26323
|
};
|
|
26324
|
+
inkoop_set_preferred_supplier: {
|
|
26325
|
+
Args: {
|
|
26326
|
+
_product_id: string;
|
|
26327
|
+
_supplier_id: string;
|
|
26328
|
+
};
|
|
26329
|
+
Returns: undefined;
|
|
26330
|
+
};
|
|
26331
|
+
inkoop_stock_key: {
|
|
26332
|
+
Args: {
|
|
26333
|
+
p_product_id: string;
|
|
26334
|
+
};
|
|
26335
|
+
Returns: string;
|
|
26336
|
+
};
|
|
26337
|
+
inkoop_submit_supplier_response: {
|
|
26338
|
+
Args: {
|
|
26339
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26340
|
+
_note?: string;
|
|
26341
|
+
_token: string;
|
|
26342
|
+
};
|
|
26343
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26344
|
+
};
|
|
26345
|
+
inkoop_sync_item_stock: {
|
|
26346
|
+
Args: {
|
|
26347
|
+
p_item_id: string;
|
|
26348
|
+
};
|
|
26349
|
+
Returns: undefined;
|
|
26350
|
+
};
|
|
24708
26351
|
instructie_get: {
|
|
24709
26352
|
Args: {
|
|
24710
26353
|
_sleutel: string;
|
|
@@ -24724,6 +26367,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24724
26367
|
};
|
|
24725
26368
|
Returns: number;
|
|
24726
26369
|
};
|
|
26370
|
+
invoice_branding_snapshot: {
|
|
26371
|
+
Args: never;
|
|
26372
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26373
|
+
};
|
|
24727
26374
|
invoice_create_from_source: {
|
|
24728
26375
|
Args: {
|
|
24729
26376
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -24758,12 +26405,41 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24758
26405
|
};
|
|
24759
26406
|
Returns: import("../integrations/supabase/types").Json;
|
|
24760
26407
|
};
|
|
26408
|
+
invoice_mark_sent: {
|
|
26409
|
+
Args: {
|
|
26410
|
+
_invoice_id: string;
|
|
26411
|
+
_to: string;
|
|
26412
|
+
};
|
|
26413
|
+
Returns: undefined;
|
|
26414
|
+
};
|
|
26415
|
+
invoice_peek_next_number: {
|
|
26416
|
+
Args: never;
|
|
26417
|
+
Returns: string;
|
|
26418
|
+
};
|
|
26419
|
+
invoice_ready_work_orders: {
|
|
26420
|
+
Args: {
|
|
26421
|
+
_limit?: number;
|
|
26422
|
+
};
|
|
26423
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26424
|
+
};
|
|
24761
26425
|
invoice_recalc_totals: {
|
|
24762
26426
|
Args: {
|
|
24763
26427
|
_invoice_id: string;
|
|
24764
26428
|
};
|
|
24765
26429
|
Returns: import("../integrations/supabase/types").Json;
|
|
24766
26430
|
};
|
|
26431
|
+
invoice_save_branding_settings: {
|
|
26432
|
+
Args: {
|
|
26433
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26434
|
+
};
|
|
26435
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26436
|
+
};
|
|
26437
|
+
invoice_set_email_purpose: {
|
|
26438
|
+
Args: {
|
|
26439
|
+
_purpose: string;
|
|
26440
|
+
};
|
|
26441
|
+
Returns: string;
|
|
26442
|
+
};
|
|
24767
26443
|
invoice_source_lines: {
|
|
24768
26444
|
Args: {
|
|
24769
26445
|
_source_id: string;
|
|
@@ -24771,6 +26447,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24771
26447
|
};
|
|
24772
26448
|
Returns: import("../integrations/supabase/types").Json;
|
|
24773
26449
|
};
|
|
26450
|
+
invoice_update_full: {
|
|
26451
|
+
Args: {
|
|
26452
|
+
_invoice_id: string;
|
|
26453
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26454
|
+
};
|
|
26455
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26456
|
+
};
|
|
26457
|
+
invoice_work_order_locked: {
|
|
26458
|
+
Args: {
|
|
26459
|
+
_werkbon_id: string;
|
|
26460
|
+
};
|
|
26461
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26462
|
+
};
|
|
24774
26463
|
is_authenticated: {
|
|
24775
26464
|
Args: never;
|
|
24776
26465
|
Returns: boolean;
|
|
@@ -24819,6 +26508,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
24819
26508
|
};
|
|
24820
26509
|
Returns: boolean;
|
|
24821
26510
|
};
|
|
26511
|
+
layout_print_document: {
|
|
26512
|
+
Args: {
|
|
26513
|
+
_documentnaam: string;
|
|
26514
|
+
_documenttype: string;
|
|
26515
|
+
_herkomst?: string;
|
|
26516
|
+
_idempotentie_sleutel?: string;
|
|
26517
|
+
_is_herprint?: boolean;
|
|
26518
|
+
_kopieen?: number;
|
|
26519
|
+
_layout_id?: string;
|
|
26520
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
26521
|
+
_pdf_base64?: string;
|
|
26522
|
+
_pdf_url?: string;
|
|
26523
|
+
_print_plek_id?: string;
|
|
26524
|
+
_werkplek?: string;
|
|
26525
|
+
};
|
|
26526
|
+
Returns: {
|
|
26527
|
+
bestaand: boolean;
|
|
26528
|
+
job_id: string;
|
|
26529
|
+
printer_id: string;
|
|
26530
|
+
}[];
|
|
26531
|
+
};
|
|
24822
26532
|
list_medewerkers: {
|
|
24823
26533
|
Args: never;
|
|
24824
26534
|
Returns: {
|
|
@@ -25003,6 +26713,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25003
26713
|
};
|
|
25004
26714
|
Returns: import("../integrations/supabase/types").Json;
|
|
25005
26715
|
};
|
|
26716
|
+
logistics_buffer_decision_for_settings: {
|
|
26717
|
+
Args: {
|
|
26718
|
+
p_order: import("../integrations/supabase/types").Json;
|
|
26719
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
26720
|
+
p_user_id?: string;
|
|
26721
|
+
};
|
|
26722
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26723
|
+
};
|
|
25006
26724
|
logistics_buffer_detach_late_orders: {
|
|
25007
26725
|
Args: {
|
|
25008
26726
|
p_buffer?: string;
|
|
@@ -25036,6 +26754,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25036
26754
|
};
|
|
25037
26755
|
Returns: string;
|
|
25038
26756
|
};
|
|
26757
|
+
logistics_buffer_payload: {
|
|
26758
|
+
Args: {
|
|
26759
|
+
p_order_id: string;
|
|
26760
|
+
};
|
|
26761
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26762
|
+
};
|
|
25039
26763
|
logistics_buffer_simulate: {
|
|
25040
26764
|
Args: {
|
|
25041
26765
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -25082,6 +26806,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25082
26806
|
};
|
|
25083
26807
|
Returns: number;
|
|
25084
26808
|
};
|
|
26809
|
+
logistics_cart_barcode_opschonen: {
|
|
26810
|
+
Args: {
|
|
26811
|
+
p_portie?: number;
|
|
26812
|
+
};
|
|
26813
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26814
|
+
};
|
|
25085
26815
|
logistics_cart_barcode_value: {
|
|
25086
26816
|
Args: {
|
|
25087
26817
|
_cart_id: string;
|
|
@@ -25094,6 +26824,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25094
26824
|
};
|
|
25095
26825
|
Returns: string;
|
|
25096
26826
|
};
|
|
26827
|
+
logistics_cart_coverage_check: {
|
|
26828
|
+
Args: never;
|
|
26829
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26830
|
+
};
|
|
25097
26831
|
logistics_cart_handled: {
|
|
25098
26832
|
Args: {
|
|
25099
26833
|
p_cart_index: number;
|
|
@@ -25337,6 +27071,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25337
27071
|
isSetofReturn: false;
|
|
25338
27072
|
};
|
|
25339
27073
|
};
|
|
27074
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
27075
|
+
Args: {
|
|
27076
|
+
p_limit?: number;
|
|
27077
|
+
p_order_id: string;
|
|
27078
|
+
};
|
|
27079
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27080
|
+
};
|
|
27081
|
+
logistics_cleanup_history: {
|
|
27082
|
+
Args: {
|
|
27083
|
+
p_limit?: number;
|
|
27084
|
+
};
|
|
27085
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27086
|
+
};
|
|
25340
27087
|
logistics_cleanup_orphan_print_jobs: {
|
|
25341
27088
|
Args: never;
|
|
25342
27089
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -25484,6 +27231,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25484
27231
|
};
|
|
25485
27232
|
Returns: import("../integrations/supabase/types").Json;
|
|
25486
27233
|
};
|
|
27234
|
+
logistics_control_scan_print_own: {
|
|
27235
|
+
Args: {
|
|
27236
|
+
p_is_herprint?: boolean;
|
|
27237
|
+
p_scan_id: string;
|
|
27238
|
+
};
|
|
27239
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27240
|
+
};
|
|
25487
27241
|
logistics_control_scan_retry: {
|
|
25488
27242
|
Args: {
|
|
25489
27243
|
_id: string;
|
|
@@ -25494,6 +27248,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25494
27248
|
Args: never;
|
|
25495
27249
|
Returns: import("../integrations/supabase/types").Json;
|
|
25496
27250
|
};
|
|
27251
|
+
logistics_cron_health: {
|
|
27252
|
+
Args: never;
|
|
27253
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27254
|
+
};
|
|
25497
27255
|
logistics_day_windows: {
|
|
25498
27256
|
Args: {
|
|
25499
27257
|
p_day: string;
|
|
@@ -25843,6 +27601,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25843
27601
|
};
|
|
25844
27602
|
Returns: number;
|
|
25845
27603
|
};
|
|
27604
|
+
logistics_merge_decision: {
|
|
27605
|
+
Args: {
|
|
27606
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
27607
|
+
};
|
|
27608
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27609
|
+
};
|
|
25846
27610
|
logistics_merge_floriday_lines: {
|
|
25847
27611
|
Args: {
|
|
25848
27612
|
p_order_id: string;
|
|
@@ -25889,6 +27653,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25889
27653
|
Args: never;
|
|
25890
27654
|
Returns: string;
|
|
25891
27655
|
};
|
|
27656
|
+
logistics_order_backlog_info: {
|
|
27657
|
+
Args: {
|
|
27658
|
+
p_order_id: string;
|
|
27659
|
+
};
|
|
27660
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27661
|
+
};
|
|
25892
27662
|
logistics_order_cart_approval: {
|
|
25893
27663
|
Args: {
|
|
25894
27664
|
_order_ref: string;
|
|
@@ -25923,6 +27693,50 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25923
27693
|
};
|
|
25924
27694
|
Returns: boolean;
|
|
25925
27695
|
};
|
|
27696
|
+
logistics_order_finalize_enqueue: {
|
|
27697
|
+
Args: {
|
|
27698
|
+
p_order_id: string;
|
|
27699
|
+
p_reason?: string;
|
|
27700
|
+
};
|
|
27701
|
+
Returns: undefined;
|
|
27702
|
+
};
|
|
27703
|
+
logistics_order_finalize_overview: {
|
|
27704
|
+
Args: never;
|
|
27705
|
+
Returns: {
|
|
27706
|
+
bezig: number;
|
|
27707
|
+
laatst_afgerond: string;
|
|
27708
|
+
laatste_fout: string;
|
|
27709
|
+
mislukt: number;
|
|
27710
|
+
oudste_wachttijd_seconden: number;
|
|
27711
|
+
wachtend: number;
|
|
27712
|
+
}[];
|
|
27713
|
+
};
|
|
27714
|
+
logistics_order_finalize_prune: {
|
|
27715
|
+
Args: {
|
|
27716
|
+
p_days?: number;
|
|
27717
|
+
};
|
|
27718
|
+
Returns: number;
|
|
27719
|
+
};
|
|
27720
|
+
logistics_order_finalize_reconcile: {
|
|
27721
|
+
Args: {
|
|
27722
|
+
p_days?: number;
|
|
27723
|
+
p_limit?: number;
|
|
27724
|
+
};
|
|
27725
|
+
Returns: number;
|
|
27726
|
+
};
|
|
27727
|
+
logistics_order_finalize_retry: {
|
|
27728
|
+
Args: {
|
|
27729
|
+
p_order_id: string;
|
|
27730
|
+
};
|
|
27731
|
+
Returns: boolean;
|
|
27732
|
+
};
|
|
27733
|
+
logistics_order_finalize_run: {
|
|
27734
|
+
Args: {
|
|
27735
|
+
p_lease_seconds?: number;
|
|
27736
|
+
p_limit?: number;
|
|
27737
|
+
};
|
|
27738
|
+
Returns: number;
|
|
27739
|
+
};
|
|
25926
27740
|
logistics_order_frozen: {
|
|
25927
27741
|
Args: {
|
|
25928
27742
|
p_order_id: string;
|
|
@@ -25935,6 +27749,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25935
27749
|
};
|
|
25936
27750
|
Returns: boolean;
|
|
25937
27751
|
};
|
|
27752
|
+
logistics_order_is_backlog: {
|
|
27753
|
+
Args: {
|
|
27754
|
+
p_order_id: string;
|
|
27755
|
+
};
|
|
27756
|
+
Returns: boolean;
|
|
27757
|
+
};
|
|
25938
27758
|
logistics_order_is_topick: {
|
|
25939
27759
|
Args: {
|
|
25940
27760
|
p_order_id: string;
|
|
@@ -25942,6 +27762,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25942
27762
|
};
|
|
25943
27763
|
Returns: boolean;
|
|
25944
27764
|
};
|
|
27765
|
+
logistics_order_line_duplicates: {
|
|
27766
|
+
Args: {
|
|
27767
|
+
p_order_id: string;
|
|
27768
|
+
};
|
|
27769
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27770
|
+
};
|
|
25945
27771
|
logistics_order_merge_key: {
|
|
25946
27772
|
Args: {
|
|
25947
27773
|
p_group_key: string;
|
|
@@ -25985,6 +27811,63 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
25985
27811
|
};
|
|
25986
27812
|
Returns: boolean;
|
|
25987
27813
|
};
|
|
27814
|
+
logistics_packing_autofix: {
|
|
27815
|
+
Args: {
|
|
27816
|
+
p_limit?: number;
|
|
27817
|
+
};
|
|
27818
|
+
Returns: number;
|
|
27819
|
+
};
|
|
27820
|
+
logistics_packing_block_reason: {
|
|
27821
|
+
Args: {
|
|
27822
|
+
p_order_id: string;
|
|
27823
|
+
p_order_item_id: string;
|
|
27824
|
+
};
|
|
27825
|
+
Returns: string;
|
|
27826
|
+
};
|
|
27827
|
+
logistics_packing_dismiss: {
|
|
27828
|
+
Args: {
|
|
27829
|
+
p_id: string;
|
|
27830
|
+
p_note?: string;
|
|
27831
|
+
};
|
|
27832
|
+
Returns: boolean;
|
|
27833
|
+
};
|
|
27834
|
+
logistics_packing_overview: {
|
|
27835
|
+
Args: never;
|
|
27836
|
+
Returns: {
|
|
27837
|
+
beoordelen: number;
|
|
27838
|
+
herstelbaar: number;
|
|
27839
|
+
laatst_gemeten: string;
|
|
27840
|
+
laatst_hersteld: string;
|
|
27841
|
+
open_totaal: number;
|
|
27842
|
+
orders: number;
|
|
27843
|
+
oudste_seconden: number;
|
|
27844
|
+
producten: number;
|
|
27845
|
+
}[];
|
|
27846
|
+
};
|
|
27847
|
+
logistics_packing_reconcile: {
|
|
27848
|
+
Args: {
|
|
27849
|
+
p_fix_limit?: number;
|
|
27850
|
+
p_scan_limit?: number;
|
|
27851
|
+
};
|
|
27852
|
+
Returns: {
|
|
27853
|
+
beoordelen: number;
|
|
27854
|
+
gevonden: number;
|
|
27855
|
+
hersteld: number;
|
|
27856
|
+
}[];
|
|
27857
|
+
};
|
|
27858
|
+
logistics_packing_scan: {
|
|
27859
|
+
Args: {
|
|
27860
|
+
p_limit?: number;
|
|
27861
|
+
};
|
|
27862
|
+
Returns: number;
|
|
27863
|
+
};
|
|
27864
|
+
logistics_packing_set_manual: {
|
|
27865
|
+
Args: {
|
|
27866
|
+
p_manual?: boolean;
|
|
27867
|
+
p_order_item_id: string;
|
|
27868
|
+
};
|
|
27869
|
+
Returns: boolean;
|
|
27870
|
+
};
|
|
25988
27871
|
logistics_parse_pickup: {
|
|
25989
27872
|
Args: {
|
|
25990
27873
|
p_value: string;
|
|
@@ -26013,6 +27896,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26013
27896
|
shifted_count: number;
|
|
26014
27897
|
}[];
|
|
26015
27898
|
};
|
|
27899
|
+
logistics_pick_backlog_max_days: {
|
|
27900
|
+
Args: never;
|
|
27901
|
+
Returns: number;
|
|
27902
|
+
};
|
|
26016
27903
|
logistics_pick_barcode_enabled: {
|
|
26017
27904
|
Args: never;
|
|
26018
27905
|
Returns: boolean;
|
|
@@ -26234,16 +28121,52 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26234
28121
|
Args: never;
|
|
26235
28122
|
Returns: number;
|
|
26236
28123
|
};
|
|
28124
|
+
logistics_planner_cart_snapshot: {
|
|
28125
|
+
Args: {
|
|
28126
|
+
p_buffer_id: string;
|
|
28127
|
+
p_order_id: string;
|
|
28128
|
+
};
|
|
28129
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28130
|
+
};
|
|
28131
|
+
logistics_planner_diff_mode: {
|
|
28132
|
+
Args: never;
|
|
28133
|
+
Returns: string;
|
|
28134
|
+
};
|
|
28135
|
+
logistics_planner_diff_prune: {
|
|
28136
|
+
Args: never;
|
|
28137
|
+
Returns: number;
|
|
28138
|
+
};
|
|
26237
28139
|
logistics_prepare_pick_documents: {
|
|
26238
28140
|
Args: {
|
|
26239
28141
|
p_limit?: number;
|
|
26240
28142
|
};
|
|
26241
28143
|
Returns: import("../integrations/supabase/types").Json;
|
|
26242
28144
|
};
|
|
28145
|
+
logistics_print_via_layout: {
|
|
28146
|
+
Args: {
|
|
28147
|
+
_documentnaam: string;
|
|
28148
|
+
_documenttype: string;
|
|
28149
|
+
_herkomst: string;
|
|
28150
|
+
_idempotentie_sleutel: string;
|
|
28151
|
+
_is_herprint: boolean;
|
|
28152
|
+
_layout_id: string;
|
|
28153
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
28154
|
+
_pdf_base64: string;
|
|
28155
|
+
_pdf_url: string;
|
|
28156
|
+
_print_plek_id: string;
|
|
28157
|
+
};
|
|
28158
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28159
|
+
};
|
|
26243
28160
|
logistics_prune_buffer_member_queue: {
|
|
26244
28161
|
Args: never;
|
|
26245
28162
|
Returns: number;
|
|
26246
28163
|
};
|
|
28164
|
+
logistics_prune_cron_history: {
|
|
28165
|
+
Args: {
|
|
28166
|
+
p_days?: number;
|
|
28167
|
+
};
|
|
28168
|
+
Returns: number;
|
|
28169
|
+
};
|
|
26247
28170
|
logistics_prune_handled_pick_queue: {
|
|
26248
28171
|
Args: never;
|
|
26249
28172
|
Returns: number;
|
|
@@ -26280,6 +28203,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26280
28203
|
Args: never;
|
|
26281
28204
|
Returns: import("../integrations/supabase/types").Json;
|
|
26282
28205
|
};
|
|
28206
|
+
logistics_recalc_tick_kick: {
|
|
28207
|
+
Args: never;
|
|
28208
|
+
Returns: number;
|
|
28209
|
+
};
|
|
28210
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28211
|
+
Args: never;
|
|
28212
|
+
Returns: number;
|
|
28213
|
+
};
|
|
26283
28214
|
logistics_refresh_pick_queue_status: {
|
|
26284
28215
|
Args: {
|
|
26285
28216
|
p_ref: string;
|
|
@@ -26310,11 +28241,24 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26310
28241
|
};
|
|
26311
28242
|
Returns: import("../integrations/supabase/types").Json;
|
|
26312
28243
|
};
|
|
28244
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
28245
|
+
Args: {
|
|
28246
|
+
p_order_id: string;
|
|
28247
|
+
p_reason: string;
|
|
28248
|
+
};
|
|
28249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28250
|
+
};
|
|
26313
28251
|
logistics_replan_order_journey: {
|
|
26314
28252
|
Args: {
|
|
26315
28253
|
p_order_ref: string;
|
|
26316
28254
|
};
|
|
26317
28255
|
Returns: import("../integrations/supabase/types").Json;
|
|
28256
|
+
} | {
|
|
28257
|
+
Args: {
|
|
28258
|
+
p_order_ref: string;
|
|
28259
|
+
p_reason: string;
|
|
28260
|
+
};
|
|
28261
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26318
28262
|
};
|
|
26319
28263
|
logistics_report_delay: {
|
|
26320
28264
|
Args: {
|
|
@@ -26360,6 +28304,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26360
28304
|
};
|
|
26361
28305
|
Returns: import("../integrations/supabase/types").Json;
|
|
26362
28306
|
};
|
|
28307
|
+
logistics_reserved_stock_nightly: {
|
|
28308
|
+
Args: never;
|
|
28309
|
+
Returns: undefined;
|
|
28310
|
+
};
|
|
26363
28311
|
logistics_resolve_pick_document: {
|
|
26364
28312
|
Args: {
|
|
26365
28313
|
_is_herprint: boolean;
|
|
@@ -26383,6 +28331,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26383
28331
|
};
|
|
26384
28332
|
Returns: import("../integrations/supabase/types").Json;
|
|
26385
28333
|
};
|
|
28334
|
+
logistics_retention_days: {
|
|
28335
|
+
Args: {
|
|
28336
|
+
p_key: string;
|
|
28337
|
+
};
|
|
28338
|
+
Returns: number;
|
|
28339
|
+
};
|
|
26386
28340
|
logistics_rule_bool: {
|
|
26387
28341
|
Args: {
|
|
26388
28342
|
p_default: boolean;
|
|
@@ -26489,6 +28443,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26489
28443
|
};
|
|
26490
28444
|
Returns: string;
|
|
26491
28445
|
};
|
|
28446
|
+
logistics_shipping_note_status: {
|
|
28447
|
+
Args: {
|
|
28448
|
+
p_cart_id?: string;
|
|
28449
|
+
p_slip_job_id?: string;
|
|
28450
|
+
};
|
|
28451
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28452
|
+
};
|
|
26492
28453
|
logistics_shipping_notes_wake_all: {
|
|
26493
28454
|
Args: never;
|
|
26494
28455
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -26551,6 +28512,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26551
28512
|
};
|
|
26552
28513
|
Returns: undefined;
|
|
26553
28514
|
};
|
|
28515
|
+
logistics_slip_note_retry: {
|
|
28516
|
+
Args: {
|
|
28517
|
+
_id: string;
|
|
28518
|
+
};
|
|
28519
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28520
|
+
};
|
|
26554
28521
|
logistics_sticker_follows_slip: {
|
|
26555
28522
|
Args: never;
|
|
26556
28523
|
Returns: boolean;
|
|
@@ -26576,12 +28543,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26576
28543
|
Args: never;
|
|
26577
28544
|
Returns: import("../integrations/supabase/types").Json;
|
|
26578
28545
|
};
|
|
28546
|
+
logistics_sync_pick_queue_backlog: {
|
|
28547
|
+
Args: never;
|
|
28548
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28549
|
+
};
|
|
28550
|
+
logistics_sync_pick_queue_core: {
|
|
28551
|
+
Args: never;
|
|
28552
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28553
|
+
};
|
|
26579
28554
|
logistics_sync_task_carriers: {
|
|
26580
28555
|
Args: {
|
|
26581
28556
|
p_order_ref?: string;
|
|
26582
28557
|
};
|
|
26583
28558
|
Returns: number;
|
|
26584
28559
|
};
|
|
28560
|
+
logistics_task_open_counts: {
|
|
28561
|
+
Args: never;
|
|
28562
|
+
Returns: {
|
|
28563
|
+
open_count: number;
|
|
28564
|
+
owner_module: string;
|
|
28565
|
+
}[];
|
|
28566
|
+
};
|
|
26585
28567
|
logistics_task_owner: {
|
|
26586
28568
|
Args: {
|
|
26587
28569
|
p_task_type: string;
|
|
@@ -26599,6 +28581,16 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26599
28581
|
Args: never;
|
|
26600
28582
|
Returns: number;
|
|
26601
28583
|
};
|
|
28584
|
+
logistics_tasks_prune: {
|
|
28585
|
+
Args: {
|
|
28586
|
+
p_days?: number;
|
|
28587
|
+
};
|
|
28588
|
+
Returns: number;
|
|
28589
|
+
};
|
|
28590
|
+
logistics_tick: {
|
|
28591
|
+
Args: never;
|
|
28592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28593
|
+
};
|
|
26602
28594
|
logistics_tick_ping: {
|
|
26603
28595
|
Args: never;
|
|
26604
28596
|
Returns: string;
|
|
@@ -26939,6 +28931,17 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
26939
28931
|
};
|
|
26940
28932
|
Returns: boolean;
|
|
26941
28933
|
};
|
|
28934
|
+
order_items_duplicate_report: {
|
|
28935
|
+
Args: {
|
|
28936
|
+
_order_ref?: string;
|
|
28937
|
+
};
|
|
28938
|
+
Returns: {
|
|
28939
|
+
distinct_products: number;
|
|
28940
|
+
duplicate_factor: number;
|
|
28941
|
+
lines: number;
|
|
28942
|
+
order_number: string;
|
|
28943
|
+
}[];
|
|
28944
|
+
};
|
|
26942
28945
|
order_number_prefix: {
|
|
26943
28946
|
Args: {
|
|
26944
28947
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -27259,6 +29262,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
27259
29262
|
};
|
|
27260
29263
|
Returns: string;
|
|
27261
29264
|
};
|
|
29265
|
+
pick_is_reference_admin: {
|
|
29266
|
+
Args: never;
|
|
29267
|
+
Returns: boolean;
|
|
29268
|
+
};
|
|
27262
29269
|
pick_mark_printed: {
|
|
27263
29270
|
Args: {
|
|
27264
29271
|
_queue_item_id: string;
|
|
@@ -27722,6 +29729,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
27722
29729
|
};
|
|
27723
29730
|
Returns: undefined;
|
|
27724
29731
|
};
|
|
29732
|
+
planning_apply_schedule_updates: {
|
|
29733
|
+
Args: {
|
|
29734
|
+
_updates: import("../integrations/supabase/types").Json;
|
|
29735
|
+
};
|
|
29736
|
+
Returns: undefined;
|
|
29737
|
+
};
|
|
29738
|
+
planning_assert_no_overlaps: {
|
|
29739
|
+
Args: never;
|
|
29740
|
+
Returns: undefined;
|
|
29741
|
+
};
|
|
29742
|
+
planning_assert_no_overlaps_for_items: {
|
|
29743
|
+
Args: {
|
|
29744
|
+
_item_ids: string[];
|
|
29745
|
+
};
|
|
29746
|
+
Returns: undefined;
|
|
29747
|
+
};
|
|
27725
29748
|
planning_cancel_item: {
|
|
27726
29749
|
Args: {
|
|
27727
29750
|
_id: string;
|
|
@@ -27833,6 +29856,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
27833
29856
|
};
|
|
27834
29857
|
Returns: boolean;
|
|
27835
29858
|
};
|
|
29859
|
+
quote_assign_number: {
|
|
29860
|
+
Args: {
|
|
29861
|
+
_offerte_id: string;
|
|
29862
|
+
};
|
|
29863
|
+
Returns: string;
|
|
29864
|
+
};
|
|
29865
|
+
quote_create_follow_up_now: {
|
|
29866
|
+
Args: {
|
|
29867
|
+
_offerte_id: string;
|
|
29868
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29869
|
+
};
|
|
29870
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29871
|
+
};
|
|
27836
29872
|
quote_create_from_source: {
|
|
27837
29873
|
Args: {
|
|
27838
29874
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28076,6 +30112,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28076
30112
|
Args: never;
|
|
28077
30113
|
Returns: undefined;
|
|
28078
30114
|
};
|
|
30115
|
+
run_order_auto_invoice_tick: {
|
|
30116
|
+
Args: never;
|
|
30117
|
+
Returns: number;
|
|
30118
|
+
};
|
|
28079
30119
|
run_print_queue_ticks: {
|
|
28080
30120
|
Args: never;
|
|
28081
30121
|
Returns: number;
|
|
@@ -28099,6 +30139,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28099
30139
|
};
|
|
28100
30140
|
Returns: import("../integrations/supabase/types").Json;
|
|
28101
30141
|
};
|
|
30142
|
+
scan_controleer_pincode: {
|
|
30143
|
+
Args: {
|
|
30144
|
+
p_pin: string;
|
|
30145
|
+
p_scanner_id: string;
|
|
30146
|
+
};
|
|
30147
|
+
Returns: boolean;
|
|
30148
|
+
};
|
|
28102
30149
|
scan_dashboard_stats: {
|
|
28103
30150
|
Args: {
|
|
28104
30151
|
p_dagen?: number;
|
|
@@ -28118,6 +30165,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28118
30165
|
};
|
|
28119
30166
|
Returns: import("../integrations/supabase/types").Json;
|
|
28120
30167
|
};
|
|
30168
|
+
scan_heeft_pincode: {
|
|
30169
|
+
Args: {
|
|
30170
|
+
p_scanner_id: string;
|
|
30171
|
+
};
|
|
30172
|
+
Returns: boolean;
|
|
30173
|
+
};
|
|
28121
30174
|
scan_kar_compleet: {
|
|
28122
30175
|
Args: {
|
|
28123
30176
|
p_allow_reprint?: boolean;
|
|
@@ -28135,6 +30188,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28135
30188
|
Args: {
|
|
28136
30189
|
p_code: string;
|
|
28137
30190
|
p_latency_ms?: number;
|
|
30191
|
+
p_medewerker?: string;
|
|
28138
30192
|
p_message?: string;
|
|
28139
30193
|
p_result: string;
|
|
28140
30194
|
p_scanner_key?: string;
|
|
@@ -28207,6 +30261,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28207
30261
|
};
|
|
28208
30262
|
Returns: undefined;
|
|
28209
30263
|
};
|
|
30264
|
+
scan_scanner_info: {
|
|
30265
|
+
Args: {
|
|
30266
|
+
p_slug: string;
|
|
30267
|
+
};
|
|
30268
|
+
Returns: {
|
|
30269
|
+
actief: boolean;
|
|
30270
|
+
heeft_pincode: boolean;
|
|
30271
|
+
id: string;
|
|
30272
|
+
naam: string;
|
|
30273
|
+
omschrijving: string;
|
|
30274
|
+
printer_id: string;
|
|
30275
|
+
type: string;
|
|
30276
|
+
vereist_medewerker: boolean;
|
|
30277
|
+
werkplek: string;
|
|
30278
|
+
}[];
|
|
30279
|
+
};
|
|
28210
30280
|
scan_sessie_annuleren: {
|
|
28211
30281
|
Args: {
|
|
28212
30282
|
p_sessie_id: string;
|
|
@@ -28453,6 +30523,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28453
30523
|
};
|
|
28454
30524
|
Returns: number;
|
|
28455
30525
|
};
|
|
30526
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30527
|
+
Args: {
|
|
30528
|
+
p_apikey: string;
|
|
30529
|
+
p_url: string;
|
|
30530
|
+
};
|
|
30531
|
+
Returns: number;
|
|
30532
|
+
};
|
|
28456
30533
|
schedule_floriday_trade_items_sync: {
|
|
28457
30534
|
Args: {
|
|
28458
30535
|
p_apikey: string;
|
|
@@ -28535,6 +30612,26 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28535
30612
|
};
|
|
28536
30613
|
Returns: undefined;
|
|
28537
30614
|
};
|
|
30615
|
+
set_product_stock: {
|
|
30616
|
+
Args: {
|
|
30617
|
+
p_incoming_stock?: number;
|
|
30618
|
+
p_minimum_stock?: number;
|
|
30619
|
+
p_notes?: string;
|
|
30620
|
+
p_physical_stock: number;
|
|
30621
|
+
p_product_id: string;
|
|
30622
|
+
};
|
|
30623
|
+
Returns: {
|
|
30624
|
+
connection_id: string;
|
|
30625
|
+
incoming_stock: number;
|
|
30626
|
+
minimum_stock: number;
|
|
30627
|
+
notes: string;
|
|
30628
|
+
physical_stock: number;
|
|
30629
|
+
product_id: string;
|
|
30630
|
+
reserved_stock: number;
|
|
30631
|
+
trade_item_key: string;
|
|
30632
|
+
updated_at: string;
|
|
30633
|
+
}[];
|
|
30634
|
+
};
|
|
28538
30635
|
show_limit: {
|
|
28539
30636
|
Args: never;
|
|
28540
30637
|
Returns: number;
|
|
@@ -28777,6 +30874,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28777
30874
|
Args: never;
|
|
28778
30875
|
Returns: boolean;
|
|
28779
30876
|
};
|
|
30877
|
+
uren_is_werkdag: {
|
|
30878
|
+
Args: {
|
|
30879
|
+
_date: string;
|
|
30880
|
+
_monteur: string;
|
|
30881
|
+
};
|
|
30882
|
+
Returns: boolean;
|
|
30883
|
+
};
|
|
30884
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30885
|
+
Args: {
|
|
30886
|
+
_datum: string;
|
|
30887
|
+
_eind: string;
|
|
30888
|
+
_reden: string;
|
|
30889
|
+
_start: string;
|
|
30890
|
+
};
|
|
30891
|
+
Returns: string;
|
|
30892
|
+
};
|
|
28780
30893
|
uren_list_medewerkers: {
|
|
28781
30894
|
Args: never;
|
|
28782
30895
|
Returns: {
|
|
@@ -28797,6 +30910,45 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28797
30910
|
roles: string[];
|
|
28798
30911
|
}[];
|
|
28799
30912
|
};
|
|
30913
|
+
uren_list_planner_contacten: {
|
|
30914
|
+
Args: never;
|
|
30915
|
+
Returns: {
|
|
30916
|
+
display_name: string;
|
|
30917
|
+
id: string;
|
|
30918
|
+
phone: string;
|
|
30919
|
+
}[];
|
|
30920
|
+
};
|
|
30921
|
+
uren_maand_afsluiten: {
|
|
30922
|
+
Args: {
|
|
30923
|
+
_maand: string;
|
|
30924
|
+
_monteur: string;
|
|
30925
|
+
};
|
|
30926
|
+
Returns: undefined;
|
|
30927
|
+
};
|
|
30928
|
+
uren_maand_berekenen: {
|
|
30929
|
+
Args: {
|
|
30930
|
+
_maand: string;
|
|
30931
|
+
_monteur: string;
|
|
30932
|
+
};
|
|
30933
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30934
|
+
};
|
|
30935
|
+
uren_maand_corrigeren: {
|
|
30936
|
+
Args: {
|
|
30937
|
+
_maand: string;
|
|
30938
|
+
_monteur: string;
|
|
30939
|
+
_overuren_minuten: number;
|
|
30940
|
+
_reden: string;
|
|
30941
|
+
};
|
|
30942
|
+
Returns: undefined;
|
|
30943
|
+
};
|
|
30944
|
+
uren_mijn_contracturen: {
|
|
30945
|
+
Args: never;
|
|
30946
|
+
Returns: number;
|
|
30947
|
+
};
|
|
30948
|
+
uren_mijn_vakantiesaldo: {
|
|
30949
|
+
Args: never;
|
|
30950
|
+
Returns: number;
|
|
30951
|
+
};
|
|
28800
30952
|
uren_my_monteur_id: {
|
|
28801
30953
|
Args: never;
|
|
28802
30954
|
Returns: string;
|
|
@@ -28830,6 +30982,37 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28830
30982
|
};
|
|
28831
30983
|
Returns: number;
|
|
28832
30984
|
};
|
|
30985
|
+
uren_spiegel_bezig: {
|
|
30986
|
+
Args: never;
|
|
30987
|
+
Returns: boolean;
|
|
30988
|
+
};
|
|
30989
|
+
uren_standaardweek_beoordelen: {
|
|
30990
|
+
Args: {
|
|
30991
|
+
_goedkeuren: boolean;
|
|
30992
|
+
_id: string;
|
|
30993
|
+
_reden?: string;
|
|
30994
|
+
};
|
|
30995
|
+
Returns: undefined;
|
|
30996
|
+
};
|
|
30997
|
+
uren_standaardweek_doorzetten: {
|
|
30998
|
+
Args: {
|
|
30999
|
+
_monteur: string;
|
|
31000
|
+
};
|
|
31001
|
+
Returns: undefined;
|
|
31002
|
+
};
|
|
31003
|
+
uren_standaardweek_instellen: {
|
|
31004
|
+
Args: {
|
|
31005
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
31006
|
+
};
|
|
31007
|
+
Returns: string;
|
|
31008
|
+
};
|
|
31009
|
+
uren_standaardweek_toepassen: {
|
|
31010
|
+
Args: {
|
|
31011
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
31012
|
+
_monteur: string;
|
|
31013
|
+
};
|
|
31014
|
+
Returns: undefined;
|
|
31015
|
+
};
|
|
28833
31016
|
uren_stop_time_log: {
|
|
28834
31017
|
Args: {
|
|
28835
31018
|
p_employee_id: string;
|
|
@@ -28855,6 +31038,165 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28855
31038
|
};
|
|
28856
31039
|
Returns: number;
|
|
28857
31040
|
};
|
|
31041
|
+
uren_vakantie_aanvragen: {
|
|
31042
|
+
Args: {
|
|
31043
|
+
_end_date: string;
|
|
31044
|
+
_hours?: number;
|
|
31045
|
+
_start_date: string;
|
|
31046
|
+
};
|
|
31047
|
+
Returns: string;
|
|
31048
|
+
};
|
|
31049
|
+
uren_vakantiedag_wijzigen: {
|
|
31050
|
+
Args: {
|
|
31051
|
+
_date: string;
|
|
31052
|
+
};
|
|
31053
|
+
Returns: string;
|
|
31054
|
+
};
|
|
31055
|
+
uren_vakantiesaldo_uren: {
|
|
31056
|
+
Args: {
|
|
31057
|
+
_monteur: string;
|
|
31058
|
+
};
|
|
31059
|
+
Returns: number;
|
|
31060
|
+
};
|
|
31061
|
+
uren_week_start: {
|
|
31062
|
+
Args: {
|
|
31063
|
+
_datum: string;
|
|
31064
|
+
};
|
|
31065
|
+
Returns: string;
|
|
31066
|
+
};
|
|
31067
|
+
uren_werkweek_opsturen: {
|
|
31068
|
+
Args: {
|
|
31069
|
+
_week_start: string;
|
|
31070
|
+
};
|
|
31071
|
+
Returns: {
|
|
31072
|
+
approved_at: string | null;
|
|
31073
|
+
approved_by: string | null;
|
|
31074
|
+
contract_hours: number;
|
|
31075
|
+
created_at: string;
|
|
31076
|
+
employee_id: string;
|
|
31077
|
+
id: string;
|
|
31078
|
+
locked: boolean;
|
|
31079
|
+
monteur_toelichting: string | null;
|
|
31080
|
+
notes: string | null;
|
|
31081
|
+
planned_hours: number;
|
|
31082
|
+
status: string;
|
|
31083
|
+
submitted_at: string | null;
|
|
31084
|
+
updated_at: string;
|
|
31085
|
+
variance_hours: number;
|
|
31086
|
+
week_start: string;
|
|
31087
|
+
};
|
|
31088
|
+
SetofOptions: {
|
|
31089
|
+
from: "*";
|
|
31090
|
+
to: "time_log_week_approvals";
|
|
31091
|
+
isOneToOne: true;
|
|
31092
|
+
isSetofReturn: false;
|
|
31093
|
+
};
|
|
31094
|
+
} | {
|
|
31095
|
+
Args: {
|
|
31096
|
+
_vrije_dagen?: string[];
|
|
31097
|
+
_week_start: string;
|
|
31098
|
+
};
|
|
31099
|
+
Returns: {
|
|
31100
|
+
approved_at: string | null;
|
|
31101
|
+
approved_by: string | null;
|
|
31102
|
+
contract_hours: number;
|
|
31103
|
+
created_at: string;
|
|
31104
|
+
employee_id: string;
|
|
31105
|
+
id: string;
|
|
31106
|
+
locked: boolean;
|
|
31107
|
+
monteur_toelichting: string | null;
|
|
31108
|
+
notes: string | null;
|
|
31109
|
+
planned_hours: number;
|
|
31110
|
+
status: string;
|
|
31111
|
+
submitted_at: string | null;
|
|
31112
|
+
updated_at: string;
|
|
31113
|
+
variance_hours: number;
|
|
31114
|
+
week_start: string;
|
|
31115
|
+
};
|
|
31116
|
+
SetofOptions: {
|
|
31117
|
+
from: "*";
|
|
31118
|
+
to: "time_log_week_approvals";
|
|
31119
|
+
isOneToOne: true;
|
|
31120
|
+
isSetofReturn: false;
|
|
31121
|
+
};
|
|
31122
|
+
} | {
|
|
31123
|
+
Args: {
|
|
31124
|
+
_toelichting?: string;
|
|
31125
|
+
_vrije_dagen?: string[];
|
|
31126
|
+
_week_start: string;
|
|
31127
|
+
};
|
|
31128
|
+
Returns: {
|
|
31129
|
+
approved_at: string | null;
|
|
31130
|
+
approved_by: string | null;
|
|
31131
|
+
contract_hours: number;
|
|
31132
|
+
created_at: string;
|
|
31133
|
+
employee_id: string;
|
|
31134
|
+
id: string;
|
|
31135
|
+
locked: boolean;
|
|
31136
|
+
monteur_toelichting: string | null;
|
|
31137
|
+
notes: string | null;
|
|
31138
|
+
planned_hours: number;
|
|
31139
|
+
status: string;
|
|
31140
|
+
submitted_at: string | null;
|
|
31141
|
+
updated_at: string;
|
|
31142
|
+
variance_hours: number;
|
|
31143
|
+
week_start: string;
|
|
31144
|
+
};
|
|
31145
|
+
SetofOptions: {
|
|
31146
|
+
from: "*";
|
|
31147
|
+
to: "time_log_week_approvals";
|
|
31148
|
+
isOneToOne: true;
|
|
31149
|
+
isSetofReturn: false;
|
|
31150
|
+
};
|
|
31151
|
+
};
|
|
31152
|
+
vakantie_dagen_gebruikt: {
|
|
31153
|
+
Args: {
|
|
31154
|
+
_user_id: string;
|
|
31155
|
+
_year: number;
|
|
31156
|
+
};
|
|
31157
|
+
Returns: number;
|
|
31158
|
+
};
|
|
31159
|
+
vakantie_overuren: {
|
|
31160
|
+
Args: {
|
|
31161
|
+
_user_id: string;
|
|
31162
|
+
_year?: number;
|
|
31163
|
+
};
|
|
31164
|
+
Returns: number;
|
|
31165
|
+
};
|
|
31166
|
+
vakantie_saldo: {
|
|
31167
|
+
Args: {
|
|
31168
|
+
_user_id: string;
|
|
31169
|
+
_year?: number;
|
|
31170
|
+
};
|
|
31171
|
+
Returns: {
|
|
31172
|
+
day_hours: number;
|
|
31173
|
+
earned_from_overtime_days: number;
|
|
31174
|
+
entitlement_days: number;
|
|
31175
|
+
hours_to_next_day: number;
|
|
31176
|
+
overtime_hours: number;
|
|
31177
|
+
overtime_remainder_hours: number;
|
|
31178
|
+
paid_out_days: number;
|
|
31179
|
+
remaining_days: number;
|
|
31180
|
+
used_days: number;
|
|
31181
|
+
}[];
|
|
31182
|
+
};
|
|
31183
|
+
vakantie_saldo_overzicht: {
|
|
31184
|
+
Args: {
|
|
31185
|
+
_year?: number;
|
|
31186
|
+
};
|
|
31187
|
+
Returns: {
|
|
31188
|
+
day_hours: number;
|
|
31189
|
+
earned_from_overtime_days: number;
|
|
31190
|
+
entitlement_days: number;
|
|
31191
|
+
hours_to_next_day: number;
|
|
31192
|
+
overtime_hours: number;
|
|
31193
|
+
overtime_remainder_hours: number;
|
|
31194
|
+
paid_out_days: number;
|
|
31195
|
+
remaining_days: number;
|
|
31196
|
+
used_days: number;
|
|
31197
|
+
user_id: string;
|
|
31198
|
+
}[];
|
|
31199
|
+
};
|
|
28858
31200
|
voorraad_cleanup_old_rows: {
|
|
28859
31201
|
Args: never;
|
|
28860
31202
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -28897,18 +31239,46 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28897
31239
|
};
|
|
28898
31240
|
Returns: import("../integrations/supabase/types").Json;
|
|
28899
31241
|
};
|
|
31242
|
+
wo_list_colleague_planning: {
|
|
31243
|
+
Args: {
|
|
31244
|
+
_from: string;
|
|
31245
|
+
_monteur_id: string;
|
|
31246
|
+
_to: string;
|
|
31247
|
+
};
|
|
31248
|
+
Returns: {
|
|
31249
|
+
end_at: string;
|
|
31250
|
+
id: string;
|
|
31251
|
+
role: string;
|
|
31252
|
+
start_at: string;
|
|
31253
|
+
status: string;
|
|
31254
|
+
werkbon_id: string;
|
|
31255
|
+
}[];
|
|
31256
|
+
};
|
|
28900
31257
|
wo_list_offerte_requests: {
|
|
28901
31258
|
Args: {
|
|
28902
31259
|
_status?: string;
|
|
28903
31260
|
};
|
|
28904
31261
|
Returns: import("../integrations/supabase/types").Json;
|
|
28905
31262
|
};
|
|
31263
|
+
wo_list_proposals: {
|
|
31264
|
+
Args: {
|
|
31265
|
+
_status?: string;
|
|
31266
|
+
};
|
|
31267
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31268
|
+
};
|
|
28906
31269
|
wo_process_offerte_request: {
|
|
28907
31270
|
Args: {
|
|
28908
31271
|
_queue_id: string;
|
|
28909
31272
|
};
|
|
28910
31273
|
Returns: import("../integrations/supabase/types").Json;
|
|
28911
31274
|
};
|
|
31275
|
+
wo_process_proposal: {
|
|
31276
|
+
Args: {
|
|
31277
|
+
_id: string;
|
|
31278
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
31279
|
+
};
|
|
31280
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31281
|
+
};
|
|
28912
31282
|
wo_reject_offerte_request: {
|
|
28913
31283
|
Args: {
|
|
28914
31284
|
_queue_id: string;
|
|
@@ -28916,6 +31286,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
|
|
|
28916
31286
|
};
|
|
28917
31287
|
Returns: import("../integrations/supabase/types").Json;
|
|
28918
31288
|
};
|
|
31289
|
+
wo_reject_proposal: {
|
|
31290
|
+
Args: {
|
|
31291
|
+
_id: string;
|
|
31292
|
+
_reden?: string;
|
|
31293
|
+
};
|
|
31294
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31295
|
+
};
|
|
28919
31296
|
wo_set_status: {
|
|
28920
31297
|
Args: {
|
|
28921
31298
|
_reason?: string;
|