@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
|
@@ -734,6 +734,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
734
734
|
};
|
|
735
735
|
Relationships: [];
|
|
736
736
|
};
|
|
737
|
+
artikelen_instellingen: {
|
|
738
|
+
Row: {
|
|
739
|
+
created_at: string;
|
|
740
|
+
id: number;
|
|
741
|
+
marge_procent: number;
|
|
742
|
+
updated_at: string;
|
|
743
|
+
};
|
|
744
|
+
Insert: {
|
|
745
|
+
created_at?: string;
|
|
746
|
+
id?: number;
|
|
747
|
+
marge_procent?: number;
|
|
748
|
+
updated_at?: string;
|
|
749
|
+
};
|
|
750
|
+
Update: {
|
|
751
|
+
created_at?: string;
|
|
752
|
+
id?: number;
|
|
753
|
+
marge_procent?: number;
|
|
754
|
+
updated_at?: string;
|
|
755
|
+
};
|
|
756
|
+
Relationships: [];
|
|
757
|
+
};
|
|
737
758
|
artikelen_veldconfig: {
|
|
738
759
|
Row: {
|
|
739
760
|
bron_pad: string;
|
|
@@ -7990,6 +8011,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7990
8011
|
};
|
|
7991
8012
|
fust_types: {
|
|
7992
8013
|
Row: {
|
|
8014
|
+
capacity_units: number | null;
|
|
7993
8015
|
connection_id: string | null;
|
|
7994
8016
|
created_at: string;
|
|
7995
8017
|
custom_package_id: string | null;
|
|
@@ -8010,6 +8032,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8010
8032
|
width_mm: number | null;
|
|
8011
8033
|
};
|
|
8012
8034
|
Insert: {
|
|
8035
|
+
capacity_units?: number | null;
|
|
8013
8036
|
connection_id?: string | null;
|
|
8014
8037
|
created_at?: string;
|
|
8015
8038
|
custom_package_id?: string | null;
|
|
@@ -8030,6 +8053,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8030
8053
|
width_mm?: number | null;
|
|
8031
8054
|
};
|
|
8032
8055
|
Update: {
|
|
8056
|
+
capacity_units?: number | null;
|
|
8033
8057
|
connection_id?: string | null;
|
|
8034
8058
|
created_at?: string;
|
|
8035
8059
|
custom_package_id?: string | null;
|
|
@@ -8261,6 +8285,72 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8261
8285
|
};
|
|
8262
8286
|
Relationships: [];
|
|
8263
8287
|
};
|
|
8288
|
+
invoice_branding_settings: {
|
|
8289
|
+
Row: {
|
|
8290
|
+
address: string;
|
|
8291
|
+
chamber_of_commerce_number: string;
|
|
8292
|
+
city: string;
|
|
8293
|
+
company_name: string;
|
|
8294
|
+
created_at: string;
|
|
8295
|
+
email: string;
|
|
8296
|
+
email_purpose: string | null;
|
|
8297
|
+
iban: string;
|
|
8298
|
+
logo_path: string | null;
|
|
8299
|
+
payment_term_days: number;
|
|
8300
|
+
phone: string;
|
|
8301
|
+
postal_code: string;
|
|
8302
|
+
primary_color: string;
|
|
8303
|
+
secondary_color: string;
|
|
8304
|
+
show_company_name: boolean;
|
|
8305
|
+
singleton_key: boolean;
|
|
8306
|
+
updated_at: string;
|
|
8307
|
+
vat_identification_number: string;
|
|
8308
|
+
website: string;
|
|
8309
|
+
};
|
|
8310
|
+
Insert: {
|
|
8311
|
+
address?: string;
|
|
8312
|
+
chamber_of_commerce_number?: string;
|
|
8313
|
+
city?: string;
|
|
8314
|
+
company_name?: string;
|
|
8315
|
+
created_at?: string;
|
|
8316
|
+
email?: string;
|
|
8317
|
+
email_purpose?: string | null;
|
|
8318
|
+
iban?: string;
|
|
8319
|
+
logo_path?: string | null;
|
|
8320
|
+
payment_term_days?: number;
|
|
8321
|
+
phone?: string;
|
|
8322
|
+
postal_code?: string;
|
|
8323
|
+
primary_color?: string;
|
|
8324
|
+
secondary_color?: string;
|
|
8325
|
+
show_company_name?: boolean;
|
|
8326
|
+
singleton_key?: boolean;
|
|
8327
|
+
updated_at?: string;
|
|
8328
|
+
vat_identification_number?: string;
|
|
8329
|
+
website?: string;
|
|
8330
|
+
};
|
|
8331
|
+
Update: {
|
|
8332
|
+
address?: string;
|
|
8333
|
+
chamber_of_commerce_number?: string;
|
|
8334
|
+
city?: string;
|
|
8335
|
+
company_name?: string;
|
|
8336
|
+
created_at?: string;
|
|
8337
|
+
email?: string;
|
|
8338
|
+
email_purpose?: string | null;
|
|
8339
|
+
iban?: string;
|
|
8340
|
+
logo_path?: string | null;
|
|
8341
|
+
payment_term_days?: number;
|
|
8342
|
+
phone?: string;
|
|
8343
|
+
postal_code?: string;
|
|
8344
|
+
primary_color?: string;
|
|
8345
|
+
secondary_color?: string;
|
|
8346
|
+
show_company_name?: boolean;
|
|
8347
|
+
singleton_key?: boolean;
|
|
8348
|
+
updated_at?: string;
|
|
8349
|
+
vat_identification_number?: string;
|
|
8350
|
+
website?: string;
|
|
8351
|
+
};
|
|
8352
|
+
Relationships: [];
|
|
8353
|
+
};
|
|
8264
8354
|
invoice_items: {
|
|
8265
8355
|
Row: {
|
|
8266
8356
|
created_at: string;
|
|
@@ -8274,6 +8364,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8274
8364
|
total_cents: number;
|
|
8275
8365
|
unit: string;
|
|
8276
8366
|
unit_price_cents: number;
|
|
8367
|
+
vat_rate: number | null;
|
|
8277
8368
|
};
|
|
8278
8369
|
Insert: {
|
|
8279
8370
|
created_at?: string;
|
|
@@ -8287,6 +8378,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8287
8378
|
total_cents?: number;
|
|
8288
8379
|
unit?: string;
|
|
8289
8380
|
unit_price_cents?: number;
|
|
8381
|
+
vat_rate?: number | null;
|
|
8290
8382
|
};
|
|
8291
8383
|
Update: {
|
|
8292
8384
|
created_at?: string;
|
|
@@ -8300,6 +8392,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8300
8392
|
total_cents?: number;
|
|
8301
8393
|
unit?: string;
|
|
8302
8394
|
unit_price_cents?: number;
|
|
8395
|
+
vat_rate?: number | null;
|
|
8303
8396
|
};
|
|
8304
8397
|
Relationships: [{
|
|
8305
8398
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8545,15 +8638,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8545
8638
|
};
|
|
8546
8639
|
invoices: {
|
|
8547
8640
|
Row: {
|
|
8641
|
+
branding_snapshot: import("./types").Json | null;
|
|
8548
8642
|
created_at: string;
|
|
8549
8643
|
created_by: string | null;
|
|
8644
|
+
customer_address: string | null;
|
|
8645
|
+
customer_attention: string | null;
|
|
8646
|
+
customer_city: string | null;
|
|
8550
8647
|
customer_id: string | null;
|
|
8551
8648
|
customer_name: string | null;
|
|
8649
|
+
customer_postal_code: string | null;
|
|
8650
|
+
customer_vat_number: string | null;
|
|
8651
|
+
debtor_number: string | null;
|
|
8552
8652
|
due_date: string | null;
|
|
8653
|
+
execution_date: string | null;
|
|
8553
8654
|
id: string;
|
|
8554
8655
|
invoice_date: string;
|
|
8555
8656
|
invoice_number: string | null;
|
|
8556
8657
|
note: string | null;
|
|
8658
|
+
payment_term_days: number;
|
|
8659
|
+
reference: string | null;
|
|
8660
|
+
sent_at: string | null;
|
|
8661
|
+
sent_to: string | null;
|
|
8557
8662
|
source_number: string | null;
|
|
8558
8663
|
source_ref: string | null;
|
|
8559
8664
|
source_type: string;
|
|
@@ -8563,17 +8668,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8563
8668
|
updated_at: string;
|
|
8564
8669
|
vat_cents: number;
|
|
8565
8670
|
vat_rate: number;
|
|
8671
|
+
work_address: string | null;
|
|
8566
8672
|
};
|
|
8567
8673
|
Insert: {
|
|
8674
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8568
8675
|
created_at?: string;
|
|
8569
8676
|
created_by?: string | null;
|
|
8677
|
+
customer_address?: string | null;
|
|
8678
|
+
customer_attention?: string | null;
|
|
8679
|
+
customer_city?: string | null;
|
|
8570
8680
|
customer_id?: string | null;
|
|
8571
8681
|
customer_name?: string | null;
|
|
8682
|
+
customer_postal_code?: string | null;
|
|
8683
|
+
customer_vat_number?: string | null;
|
|
8684
|
+
debtor_number?: string | null;
|
|
8572
8685
|
due_date?: string | null;
|
|
8686
|
+
execution_date?: string | null;
|
|
8573
8687
|
id?: string;
|
|
8574
8688
|
invoice_date?: string;
|
|
8575
8689
|
invoice_number?: string | null;
|
|
8576
8690
|
note?: string | null;
|
|
8691
|
+
payment_term_days?: number;
|
|
8692
|
+
reference?: string | null;
|
|
8693
|
+
sent_at?: string | null;
|
|
8694
|
+
sent_to?: string | null;
|
|
8577
8695
|
source_number?: string | null;
|
|
8578
8696
|
source_ref?: string | null;
|
|
8579
8697
|
source_type?: string;
|
|
@@ -8583,17 +8701,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8583
8701
|
updated_at?: string;
|
|
8584
8702
|
vat_cents?: number;
|
|
8585
8703
|
vat_rate?: number;
|
|
8704
|
+
work_address?: string | null;
|
|
8586
8705
|
};
|
|
8587
8706
|
Update: {
|
|
8707
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8588
8708
|
created_at?: string;
|
|
8589
8709
|
created_by?: string | null;
|
|
8710
|
+
customer_address?: string | null;
|
|
8711
|
+
customer_attention?: string | null;
|
|
8712
|
+
customer_city?: string | null;
|
|
8590
8713
|
customer_id?: string | null;
|
|
8591
8714
|
customer_name?: string | null;
|
|
8715
|
+
customer_postal_code?: string | null;
|
|
8716
|
+
customer_vat_number?: string | null;
|
|
8717
|
+
debtor_number?: string | null;
|
|
8592
8718
|
due_date?: string | null;
|
|
8719
|
+
execution_date?: string | null;
|
|
8593
8720
|
id?: string;
|
|
8594
8721
|
invoice_date?: string;
|
|
8595
8722
|
invoice_number?: string | null;
|
|
8596
8723
|
note?: string | null;
|
|
8724
|
+
payment_term_days?: number;
|
|
8725
|
+
reference?: string | null;
|
|
8726
|
+
sent_at?: string | null;
|
|
8727
|
+
sent_to?: string | null;
|
|
8597
8728
|
source_number?: string | null;
|
|
8598
8729
|
source_ref?: string | null;
|
|
8599
8730
|
source_type?: string;
|
|
@@ -8603,6 +8734,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8603
8734
|
updated_at?: string;
|
|
8604
8735
|
vat_cents?: number;
|
|
8605
8736
|
vat_rate?: number;
|
|
8737
|
+
work_address?: string | null;
|
|
8606
8738
|
};
|
|
8607
8739
|
Relationships: [{
|
|
8608
8740
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9301,6 +9433,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9301
9433
|
quantity: number;
|
|
9302
9434
|
sort_order: number;
|
|
9303
9435
|
source: string;
|
|
9436
|
+
unit: string | null;
|
|
9304
9437
|
unit_price_cents: number;
|
|
9305
9438
|
updated_at: string;
|
|
9306
9439
|
};
|
|
@@ -9314,6 +9447,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9314
9447
|
quantity?: number;
|
|
9315
9448
|
sort_order?: number;
|
|
9316
9449
|
source?: string;
|
|
9450
|
+
unit?: string | null;
|
|
9317
9451
|
unit_price_cents?: number;
|
|
9318
9452
|
updated_at?: string;
|
|
9319
9453
|
};
|
|
@@ -9327,6 +9461,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9327
9461
|
quantity?: number;
|
|
9328
9462
|
sort_order?: number;
|
|
9329
9463
|
source?: string;
|
|
9464
|
+
unit?: string | null;
|
|
9330
9465
|
unit_price_cents?: number;
|
|
9331
9466
|
updated_at?: string;
|
|
9332
9467
|
};
|
|
@@ -9350,6 +9485,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9350
9485
|
created_at: string;
|
|
9351
9486
|
default_geldigheid_dagen: number;
|
|
9352
9487
|
default_vat_rate: number;
|
|
9488
|
+
email_purpose: string | null;
|
|
9353
9489
|
id: string;
|
|
9354
9490
|
singleton: boolean;
|
|
9355
9491
|
updated_at: string;
|
|
@@ -9359,6 +9495,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9359
9495
|
created_at?: string;
|
|
9360
9496
|
default_geldigheid_dagen?: number;
|
|
9361
9497
|
default_vat_rate?: number;
|
|
9498
|
+
email_purpose?: string | null;
|
|
9362
9499
|
id?: string;
|
|
9363
9500
|
singleton?: boolean;
|
|
9364
9501
|
updated_at?: string;
|
|
@@ -9368,12 +9505,49 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9368
9505
|
created_at?: string;
|
|
9369
9506
|
default_geldigheid_dagen?: number;
|
|
9370
9507
|
default_vat_rate?: number;
|
|
9508
|
+
email_purpose?: string | null;
|
|
9371
9509
|
id?: string;
|
|
9372
9510
|
singleton?: boolean;
|
|
9373
9511
|
updated_at?: string;
|
|
9374
9512
|
};
|
|
9375
9513
|
Relationships: [];
|
|
9376
9514
|
};
|
|
9515
|
+
itk_offerte_voorstel_status: {
|
|
9516
|
+
Row: {
|
|
9517
|
+
ai_concept: import("./types").Json | null;
|
|
9518
|
+
created_at: string;
|
|
9519
|
+
id: string;
|
|
9520
|
+
offerte_id: string | null;
|
|
9521
|
+
proposal_id: string;
|
|
9522
|
+
seen_at: string | null;
|
|
9523
|
+
updated_at: string;
|
|
9524
|
+
};
|
|
9525
|
+
Insert: {
|
|
9526
|
+
ai_concept?: import("./types").Json | null;
|
|
9527
|
+
created_at?: string;
|
|
9528
|
+
id?: string;
|
|
9529
|
+
offerte_id?: string | null;
|
|
9530
|
+
proposal_id: string;
|
|
9531
|
+
seen_at?: string | null;
|
|
9532
|
+
updated_at?: string;
|
|
9533
|
+
};
|
|
9534
|
+
Update: {
|
|
9535
|
+
ai_concept?: import("./types").Json | null;
|
|
9536
|
+
created_at?: string;
|
|
9537
|
+
id?: string;
|
|
9538
|
+
offerte_id?: string | null;
|
|
9539
|
+
proposal_id?: string;
|
|
9540
|
+
seen_at?: string | null;
|
|
9541
|
+
updated_at?: string;
|
|
9542
|
+
};
|
|
9543
|
+
Relationships: [{
|
|
9544
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9545
|
+
columns: ["offerte_id"];
|
|
9546
|
+
isOneToOne: false;
|
|
9547
|
+
referencedRelation: "itk_offertes";
|
|
9548
|
+
referencedColumns: ["id"];
|
|
9549
|
+
}];
|
|
9550
|
+
};
|
|
9377
9551
|
itk_offerte_werkbon_queue: {
|
|
9378
9552
|
Row: {
|
|
9379
9553
|
bron_werkbon_id: string | null;
|
|
@@ -9424,6 +9598,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9424
9598
|
};
|
|
9425
9599
|
itk_offertes: {
|
|
9426
9600
|
Row: {
|
|
9601
|
+
aandachtspunten: string | null;
|
|
9427
9602
|
ai_generated: boolean;
|
|
9428
9603
|
approved_at: string | null;
|
|
9429
9604
|
binnen_mandaat: boolean;
|
|
@@ -9439,6 +9614,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9439
9614
|
notities: string | null;
|
|
9440
9615
|
offerte_number: string | null;
|
|
9441
9616
|
omschrijving: string;
|
|
9617
|
+
onderwerp: string | null;
|
|
9442
9618
|
rejected_at: string | null;
|
|
9443
9619
|
sent_at: string | null;
|
|
9444
9620
|
source_number: string | null;
|
|
@@ -9451,12 +9627,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9451
9627
|
valid_until: string | null;
|
|
9452
9628
|
vat_cents: number;
|
|
9453
9629
|
vat_rate: number;
|
|
9630
|
+
verzonden_naar: string | null;
|
|
9454
9631
|
viewed_at: string | null;
|
|
9455
9632
|
volgnummer: number | null;
|
|
9633
|
+
voorwaarden: string | null;
|
|
9456
9634
|
werkbon_id: string | null;
|
|
9457
9635
|
work_location_id: string | null;
|
|
9458
9636
|
};
|
|
9459
9637
|
Insert: {
|
|
9638
|
+
aandachtspunten?: string | null;
|
|
9460
9639
|
ai_generated?: boolean;
|
|
9461
9640
|
approved_at?: string | null;
|
|
9462
9641
|
binnen_mandaat?: boolean;
|
|
@@ -9472,6 +9651,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9472
9651
|
notities?: string | null;
|
|
9473
9652
|
offerte_number?: string | null;
|
|
9474
9653
|
omschrijving?: string;
|
|
9654
|
+
onderwerp?: string | null;
|
|
9475
9655
|
rejected_at?: string | null;
|
|
9476
9656
|
sent_at?: string | null;
|
|
9477
9657
|
source_number?: string | null;
|
|
@@ -9484,12 +9664,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9484
9664
|
valid_until?: string | null;
|
|
9485
9665
|
vat_cents?: number;
|
|
9486
9666
|
vat_rate?: number;
|
|
9667
|
+
verzonden_naar?: string | null;
|
|
9487
9668
|
viewed_at?: string | null;
|
|
9488
9669
|
volgnummer?: number | null;
|
|
9670
|
+
voorwaarden?: string | null;
|
|
9489
9671
|
werkbon_id?: string | null;
|
|
9490
9672
|
work_location_id?: string | null;
|
|
9491
9673
|
};
|
|
9492
9674
|
Update: {
|
|
9675
|
+
aandachtspunten?: string | null;
|
|
9493
9676
|
ai_generated?: boolean;
|
|
9494
9677
|
approved_at?: string | null;
|
|
9495
9678
|
binnen_mandaat?: boolean;
|
|
@@ -9505,6 +9688,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9505
9688
|
notities?: string | null;
|
|
9506
9689
|
offerte_number?: string | null;
|
|
9507
9690
|
omschrijving?: string;
|
|
9691
|
+
onderwerp?: string | null;
|
|
9508
9692
|
rejected_at?: string | null;
|
|
9509
9693
|
sent_at?: string | null;
|
|
9510
9694
|
source_number?: string | null;
|
|
@@ -9517,8 +9701,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9517
9701
|
valid_until?: string | null;
|
|
9518
9702
|
vat_cents?: number;
|
|
9519
9703
|
vat_rate?: number;
|
|
9704
|
+
verzonden_naar?: string | null;
|
|
9520
9705
|
viewed_at?: string | null;
|
|
9521
9706
|
volgnummer?: number | null;
|
|
9707
|
+
voorwaarden?: string | null;
|
|
9522
9708
|
werkbon_id?: string | null;
|
|
9523
9709
|
work_location_id?: string | null;
|
|
9524
9710
|
};
|
|
@@ -9694,6 +9880,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9694
9880
|
};
|
|
9695
9881
|
leave_requests: {
|
|
9696
9882
|
Row: {
|
|
9883
|
+
cancellation_requested_at: string | null;
|
|
9884
|
+
cancellation_status: string | null;
|
|
9697
9885
|
created_at: string;
|
|
9698
9886
|
decided_at: string | null;
|
|
9699
9887
|
decided_by: string | null;
|
|
@@ -9704,6 +9892,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9704
9892
|
leave_type: string;
|
|
9705
9893
|
monteur_id: string | null;
|
|
9706
9894
|
reason: string | null;
|
|
9895
|
+
reden_afkeur: string | null;
|
|
9707
9896
|
start_date: string;
|
|
9708
9897
|
start_time: string | null;
|
|
9709
9898
|
status: string;
|
|
@@ -9711,6 +9900,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9711
9900
|
user_id: string;
|
|
9712
9901
|
};
|
|
9713
9902
|
Insert: {
|
|
9903
|
+
cancellation_requested_at?: string | null;
|
|
9904
|
+
cancellation_status?: string | null;
|
|
9714
9905
|
created_at?: string;
|
|
9715
9906
|
decided_at?: string | null;
|
|
9716
9907
|
decided_by?: string | null;
|
|
@@ -9721,6 +9912,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9721
9912
|
leave_type?: string;
|
|
9722
9913
|
monteur_id?: string | null;
|
|
9723
9914
|
reason?: string | null;
|
|
9915
|
+
reden_afkeur?: string | null;
|
|
9724
9916
|
start_date: string;
|
|
9725
9917
|
start_time?: string | null;
|
|
9726
9918
|
status?: string;
|
|
@@ -9728,6 +9920,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9728
9920
|
user_id: string;
|
|
9729
9921
|
};
|
|
9730
9922
|
Update: {
|
|
9923
|
+
cancellation_requested_at?: string | null;
|
|
9924
|
+
cancellation_status?: string | null;
|
|
9731
9925
|
created_at?: string;
|
|
9732
9926
|
decided_at?: string | null;
|
|
9733
9927
|
decided_by?: string | null;
|
|
@@ -9738,6 +9932,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9738
9932
|
leave_type?: string;
|
|
9739
9933
|
monteur_id?: string | null;
|
|
9740
9934
|
reason?: string | null;
|
|
9935
|
+
reden_afkeur?: string | null;
|
|
9741
9936
|
start_date?: string;
|
|
9742
9937
|
start_time?: string | null;
|
|
9743
9938
|
status?: string;
|
|
@@ -10235,6 +10430,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10235
10430
|
};
|
|
10236
10431
|
Relationships: [];
|
|
10237
10432
|
};
|
|
10433
|
+
logistics_cart_barcode_archief: {
|
|
10434
|
+
Row: {
|
|
10435
|
+
barcode: string;
|
|
10436
|
+
cart_id: string;
|
|
10437
|
+
created_at: string | null;
|
|
10438
|
+
gearchiveerd_op: string;
|
|
10439
|
+
order_id: string | null;
|
|
10440
|
+
};
|
|
10441
|
+
Insert: {
|
|
10442
|
+
barcode: string;
|
|
10443
|
+
cart_id: string;
|
|
10444
|
+
created_at?: string | null;
|
|
10445
|
+
gearchiveerd_op?: string;
|
|
10446
|
+
order_id?: string | null;
|
|
10447
|
+
};
|
|
10448
|
+
Update: {
|
|
10449
|
+
barcode?: string;
|
|
10450
|
+
cart_id?: string;
|
|
10451
|
+
created_at?: string | null;
|
|
10452
|
+
gearchiveerd_op?: string;
|
|
10453
|
+
order_id?: string | null;
|
|
10454
|
+
};
|
|
10455
|
+
Relationships: [];
|
|
10456
|
+
};
|
|
10238
10457
|
logistics_control_scan: {
|
|
10239
10458
|
Row: {
|
|
10240
10459
|
approved_at: string | null;
|
|
@@ -10880,6 +11099,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10880
11099
|
};
|
|
10881
11100
|
Relationships: [];
|
|
10882
11101
|
};
|
|
11102
|
+
logistics_order_finalize_queue: {
|
|
11103
|
+
Row: {
|
|
11104
|
+
attempts: number;
|
|
11105
|
+
claimed_at: string | null;
|
|
11106
|
+
created_at: string;
|
|
11107
|
+
finished_at: string | null;
|
|
11108
|
+
last_error: string | null;
|
|
11109
|
+
lease_until: string | null;
|
|
11110
|
+
max_attempts: number;
|
|
11111
|
+
next_attempt_at: string;
|
|
11112
|
+
order_id: string;
|
|
11113
|
+
reason: string | null;
|
|
11114
|
+
requested_at: string;
|
|
11115
|
+
status: string;
|
|
11116
|
+
updated_at: string;
|
|
11117
|
+
};
|
|
11118
|
+
Insert: {
|
|
11119
|
+
attempts?: number;
|
|
11120
|
+
claimed_at?: string | null;
|
|
11121
|
+
created_at?: string;
|
|
11122
|
+
finished_at?: string | null;
|
|
11123
|
+
last_error?: string | null;
|
|
11124
|
+
lease_until?: string | null;
|
|
11125
|
+
max_attempts?: number;
|
|
11126
|
+
next_attempt_at?: string;
|
|
11127
|
+
order_id: string;
|
|
11128
|
+
reason?: string | null;
|
|
11129
|
+
requested_at?: string;
|
|
11130
|
+
status?: string;
|
|
11131
|
+
updated_at?: string;
|
|
11132
|
+
};
|
|
11133
|
+
Update: {
|
|
11134
|
+
attempts?: number;
|
|
11135
|
+
claimed_at?: string | null;
|
|
11136
|
+
created_at?: string;
|
|
11137
|
+
finished_at?: string | null;
|
|
11138
|
+
last_error?: string | null;
|
|
11139
|
+
lease_until?: string | null;
|
|
11140
|
+
max_attempts?: number;
|
|
11141
|
+
next_attempt_at?: string;
|
|
11142
|
+
order_id?: string;
|
|
11143
|
+
reason?: string | null;
|
|
11144
|
+
requested_at?: string;
|
|
11145
|
+
status?: string;
|
|
11146
|
+
updated_at?: string;
|
|
11147
|
+
};
|
|
11148
|
+
Relationships: [];
|
|
11149
|
+
};
|
|
10883
11150
|
logistics_order_merges: {
|
|
10884
11151
|
Row: {
|
|
10885
11152
|
group_key: string;
|
|
@@ -10916,6 +11183,72 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10916
11183
|
};
|
|
10917
11184
|
Relationships: [];
|
|
10918
11185
|
};
|
|
11186
|
+
logistics_packing_deviations: {
|
|
11187
|
+
Row: {
|
|
11188
|
+
auto_fixed_at: string | null;
|
|
11189
|
+
created_at: string;
|
|
11190
|
+
dev_key: string;
|
|
11191
|
+
first_seen_at: string;
|
|
11192
|
+
floriday_packing: import("./types").Json;
|
|
11193
|
+
human_reason: string | null;
|
|
11194
|
+
id: string;
|
|
11195
|
+
last_seen_at: string;
|
|
11196
|
+
local_packing: import("./types").Json;
|
|
11197
|
+
needs_human: boolean;
|
|
11198
|
+
order_id: string | null;
|
|
11199
|
+
order_item_id: string | null;
|
|
11200
|
+
order_number: string | null;
|
|
11201
|
+
product_id: string | null;
|
|
11202
|
+
product_name: string | null;
|
|
11203
|
+
resolved_at: string | null;
|
|
11204
|
+
scope: string;
|
|
11205
|
+
trade_item_id: string | null;
|
|
11206
|
+
updated_at: string;
|
|
11207
|
+
};
|
|
11208
|
+
Insert: {
|
|
11209
|
+
auto_fixed_at?: string | null;
|
|
11210
|
+
created_at?: string;
|
|
11211
|
+
dev_key: string;
|
|
11212
|
+
first_seen_at?: string;
|
|
11213
|
+
floriday_packing?: import("./types").Json;
|
|
11214
|
+
human_reason?: string | null;
|
|
11215
|
+
id?: string;
|
|
11216
|
+
last_seen_at?: string;
|
|
11217
|
+
local_packing?: import("./types").Json;
|
|
11218
|
+
needs_human?: boolean;
|
|
11219
|
+
order_id?: string | null;
|
|
11220
|
+
order_item_id?: string | null;
|
|
11221
|
+
order_number?: string | null;
|
|
11222
|
+
product_id?: string | null;
|
|
11223
|
+
product_name?: string | null;
|
|
11224
|
+
resolved_at?: string | null;
|
|
11225
|
+
scope: string;
|
|
11226
|
+
trade_item_id?: string | null;
|
|
11227
|
+
updated_at?: string;
|
|
11228
|
+
};
|
|
11229
|
+
Update: {
|
|
11230
|
+
auto_fixed_at?: string | null;
|
|
11231
|
+
created_at?: string;
|
|
11232
|
+
dev_key?: string;
|
|
11233
|
+
first_seen_at?: string;
|
|
11234
|
+
floriday_packing?: import("./types").Json;
|
|
11235
|
+
human_reason?: string | null;
|
|
11236
|
+
id?: string;
|
|
11237
|
+
last_seen_at?: string;
|
|
11238
|
+
local_packing?: import("./types").Json;
|
|
11239
|
+
needs_human?: boolean;
|
|
11240
|
+
order_id?: string | null;
|
|
11241
|
+
order_item_id?: string | null;
|
|
11242
|
+
order_number?: string | null;
|
|
11243
|
+
product_id?: string | null;
|
|
11244
|
+
product_name?: string | null;
|
|
11245
|
+
resolved_at?: string | null;
|
|
11246
|
+
scope?: string;
|
|
11247
|
+
trade_item_id?: string | null;
|
|
11248
|
+
updated_at?: string;
|
|
11249
|
+
};
|
|
11250
|
+
Relationships: [];
|
|
11251
|
+
};
|
|
10919
11252
|
logistics_pick_data_requests: {
|
|
10920
11253
|
Row: {
|
|
10921
11254
|
actions: import("./types").Json;
|
|
@@ -11153,14 +11486,70 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11153
11486
|
};
|
|
11154
11487
|
Relationships: [];
|
|
11155
11488
|
};
|
|
11489
|
+
logistics_planner_diff_runs: {
|
|
11490
|
+
Row: {
|
|
11491
|
+
after_snapshot: import("./types").Json | null;
|
|
11492
|
+
before_snapshot: import("./types").Json;
|
|
11493
|
+
buffer_id: string | null;
|
|
11494
|
+
carts_after: number | null;
|
|
11495
|
+
carts_before: number | null;
|
|
11496
|
+
compared_at: string | null;
|
|
11497
|
+
created_at: string;
|
|
11498
|
+
differences: import("./types").Json | null;
|
|
11499
|
+
id: string;
|
|
11500
|
+
identical: boolean | null;
|
|
11501
|
+
mode: string;
|
|
11502
|
+
order_id: string;
|
|
11503
|
+
order_ref: string | null;
|
|
11504
|
+
reason: string | null;
|
|
11505
|
+
status: string;
|
|
11506
|
+
};
|
|
11507
|
+
Insert: {
|
|
11508
|
+
after_snapshot?: import("./types").Json | null;
|
|
11509
|
+
before_snapshot?: import("./types").Json;
|
|
11510
|
+
buffer_id?: string | null;
|
|
11511
|
+
carts_after?: number | null;
|
|
11512
|
+
carts_before?: number | null;
|
|
11513
|
+
compared_at?: string | null;
|
|
11514
|
+
created_at?: string;
|
|
11515
|
+
differences?: import("./types").Json | null;
|
|
11516
|
+
id?: string;
|
|
11517
|
+
identical?: boolean | null;
|
|
11518
|
+
mode: string;
|
|
11519
|
+
order_id: string;
|
|
11520
|
+
order_ref?: string | null;
|
|
11521
|
+
reason?: string | null;
|
|
11522
|
+
status?: string;
|
|
11523
|
+
};
|
|
11524
|
+
Update: {
|
|
11525
|
+
after_snapshot?: import("./types").Json | null;
|
|
11526
|
+
before_snapshot?: import("./types").Json;
|
|
11527
|
+
buffer_id?: string | null;
|
|
11528
|
+
carts_after?: number | null;
|
|
11529
|
+
carts_before?: number | null;
|
|
11530
|
+
compared_at?: string | null;
|
|
11531
|
+
created_at?: string;
|
|
11532
|
+
differences?: import("./types").Json | null;
|
|
11533
|
+
id?: string;
|
|
11534
|
+
identical?: boolean | null;
|
|
11535
|
+
mode?: string;
|
|
11536
|
+
order_id?: string;
|
|
11537
|
+
order_ref?: string | null;
|
|
11538
|
+
reason?: string | null;
|
|
11539
|
+
status?: string;
|
|
11540
|
+
};
|
|
11541
|
+
Relationships: [];
|
|
11542
|
+
};
|
|
11156
11543
|
logistics_rebuffer_state: {
|
|
11157
11544
|
Row: {
|
|
11158
11545
|
created_at: string;
|
|
11159
11546
|
id: boolean;
|
|
11160
11547
|
last_checked: number;
|
|
11161
11548
|
last_duration_ms: number;
|
|
11549
|
+
last_mode: string | null;
|
|
11162
11550
|
last_run_at: string | null;
|
|
11163
11551
|
last_updated: number;
|
|
11552
|
+
last_would_change: number | null;
|
|
11164
11553
|
pending: boolean;
|
|
11165
11554
|
requested_at: string | null;
|
|
11166
11555
|
updated_at: string;
|
|
@@ -11170,8 +11559,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11170
11559
|
id?: boolean;
|
|
11171
11560
|
last_checked?: number;
|
|
11172
11561
|
last_duration_ms?: number;
|
|
11562
|
+
last_mode?: string | null;
|
|
11173
11563
|
last_run_at?: string | null;
|
|
11174
11564
|
last_updated?: number;
|
|
11565
|
+
last_would_change?: number | null;
|
|
11175
11566
|
pending?: boolean;
|
|
11176
11567
|
requested_at?: string | null;
|
|
11177
11568
|
updated_at?: string;
|
|
@@ -11181,8 +11572,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11181
11572
|
id?: boolean;
|
|
11182
11573
|
last_checked?: number;
|
|
11183
11574
|
last_duration_ms?: number;
|
|
11575
|
+
last_mode?: string | null;
|
|
11184
11576
|
last_run_at?: string | null;
|
|
11185
11577
|
last_updated?: number;
|
|
11578
|
+
last_would_change?: number | null;
|
|
11186
11579
|
pending?: boolean;
|
|
11187
11580
|
requested_at?: string | null;
|
|
11188
11581
|
updated_at?: string;
|
|
@@ -13178,6 +13571,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13178
13571
|
};
|
|
13179
13572
|
Relationships: [];
|
|
13180
13573
|
};
|
|
13574
|
+
monteur_contracten: {
|
|
13575
|
+
Row: {
|
|
13576
|
+
contract_type: string;
|
|
13577
|
+
created_at: string;
|
|
13578
|
+
days_per_week: number;
|
|
13579
|
+
hours_per_week: number;
|
|
13580
|
+
id: string;
|
|
13581
|
+
updated_at: string;
|
|
13582
|
+
user_id: string;
|
|
13583
|
+
vacation_day_hours: number;
|
|
13584
|
+
vacation_days_per_year: number;
|
|
13585
|
+
};
|
|
13586
|
+
Insert: {
|
|
13587
|
+
contract_type?: string;
|
|
13588
|
+
created_at?: string;
|
|
13589
|
+
days_per_week?: number;
|
|
13590
|
+
hours_per_week?: number;
|
|
13591
|
+
id?: string;
|
|
13592
|
+
updated_at?: string;
|
|
13593
|
+
user_id: string;
|
|
13594
|
+
vacation_day_hours?: number;
|
|
13595
|
+
vacation_days_per_year?: number;
|
|
13596
|
+
};
|
|
13597
|
+
Update: {
|
|
13598
|
+
contract_type?: string;
|
|
13599
|
+
created_at?: string;
|
|
13600
|
+
days_per_week?: number;
|
|
13601
|
+
hours_per_week?: number;
|
|
13602
|
+
id?: string;
|
|
13603
|
+
updated_at?: string;
|
|
13604
|
+
user_id?: string;
|
|
13605
|
+
vacation_day_hours?: number;
|
|
13606
|
+
vacation_days_per_year?: number;
|
|
13607
|
+
};
|
|
13608
|
+
Relationships: [];
|
|
13609
|
+
};
|
|
13181
13610
|
nmbrs_component_mapping: {
|
|
13182
13611
|
Row: {
|
|
13183
13612
|
created_at: string;
|
|
@@ -13657,6 +14086,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13657
14086
|
id: string;
|
|
13658
14087
|
items: import("./types").Json;
|
|
13659
14088
|
notes: string | null;
|
|
14089
|
+
order_creation_error: string | null;
|
|
14090
|
+
order_creation_failed_at: string | null;
|
|
14091
|
+
order_id: string | null;
|
|
13660
14092
|
order_number: string | null;
|
|
13661
14093
|
recipient_id: string;
|
|
13662
14094
|
total_amount: number;
|
|
@@ -13671,6 +14103,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13671
14103
|
id?: string;
|
|
13672
14104
|
items?: import("./types").Json;
|
|
13673
14105
|
notes?: string | null;
|
|
14106
|
+
order_creation_error?: string | null;
|
|
14107
|
+
order_creation_failed_at?: string | null;
|
|
14108
|
+
order_id?: string | null;
|
|
13674
14109
|
order_number?: string | null;
|
|
13675
14110
|
recipient_id: string;
|
|
13676
14111
|
total_amount?: number;
|
|
@@ -13685,6 +14120,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13685
14120
|
id?: string;
|
|
13686
14121
|
items?: import("./types").Json;
|
|
13687
14122
|
notes?: string | null;
|
|
14123
|
+
order_creation_error?: string | null;
|
|
14124
|
+
order_creation_failed_at?: string | null;
|
|
14125
|
+
order_id?: string | null;
|
|
13688
14126
|
order_number?: string | null;
|
|
13689
14127
|
recipient_id?: string;
|
|
13690
14128
|
total_amount?: number;
|
|
@@ -13702,10 +14140,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13702
14140
|
referencedRelation: "customers";
|
|
13703
14141
|
referencedColumns: ["id"];
|
|
13704
14142
|
}, {
|
|
13705
|
-
foreignKeyName: "
|
|
13706
|
-
columns: ["
|
|
14143
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14144
|
+
columns: ["order_id"];
|
|
13707
14145
|
isOneToOne: false;
|
|
13708
|
-
referencedRelation: "
|
|
14146
|
+
referencedRelation: "orders";
|
|
14147
|
+
referencedColumns: ["id"];
|
|
14148
|
+
}, {
|
|
14149
|
+
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
14150
|
+
columns: ["recipient_id"];
|
|
14151
|
+
isOneToOne: false;
|
|
14152
|
+
referencedRelation: "offer_recipients";
|
|
13709
14153
|
referencedColumns: ["id"];
|
|
13710
14154
|
}];
|
|
13711
14155
|
};
|
|
@@ -13841,6 +14285,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13841
14285
|
};
|
|
13842
14286
|
Relationships: [];
|
|
13843
14287
|
};
|
|
14288
|
+
order_block_notifications: {
|
|
14289
|
+
Row: {
|
|
14290
|
+
id: string;
|
|
14291
|
+
notified_at: string;
|
|
14292
|
+
order_id: string;
|
|
14293
|
+
reason: string | null;
|
|
14294
|
+
reason_key: string;
|
|
14295
|
+
};
|
|
14296
|
+
Insert: {
|
|
14297
|
+
id?: string;
|
|
14298
|
+
notified_at?: string;
|
|
14299
|
+
order_id: string;
|
|
14300
|
+
reason?: string | null;
|
|
14301
|
+
reason_key: string;
|
|
14302
|
+
};
|
|
14303
|
+
Update: {
|
|
14304
|
+
id?: string;
|
|
14305
|
+
notified_at?: string;
|
|
14306
|
+
order_id?: string;
|
|
14307
|
+
reason?: string | null;
|
|
14308
|
+
reason_key?: string;
|
|
14309
|
+
};
|
|
14310
|
+
Relationships: [];
|
|
14311
|
+
};
|
|
13844
14312
|
order_buffers: {
|
|
13845
14313
|
Row: {
|
|
13846
14314
|
buffer_key: string;
|
|
@@ -14272,6 +14740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14272
14740
|
next_attempt_at: string;
|
|
14273
14741
|
order_id: string;
|
|
14274
14742
|
processed_at: string | null;
|
|
14743
|
+
send_error: string | null;
|
|
14275
14744
|
status: string;
|
|
14276
14745
|
updated_at: string;
|
|
14277
14746
|
};
|
|
@@ -14285,6 +14754,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14285
14754
|
next_attempt_at?: string;
|
|
14286
14755
|
order_id: string;
|
|
14287
14756
|
processed_at?: string | null;
|
|
14757
|
+
send_error?: string | null;
|
|
14288
14758
|
status?: string;
|
|
14289
14759
|
updated_at?: string;
|
|
14290
14760
|
};
|
|
@@ -14298,6 +14768,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14298
14768
|
next_attempt_at?: string;
|
|
14299
14769
|
order_id?: string;
|
|
14300
14770
|
processed_at?: string | null;
|
|
14771
|
+
send_error?: string | null;
|
|
14301
14772
|
status?: string;
|
|
14302
14773
|
updated_at?: string;
|
|
14303
14774
|
};
|
|
@@ -14310,10 +14781,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14310
14781
|
id: string;
|
|
14311
14782
|
layers_per_cart: number | null;
|
|
14312
14783
|
order_id: string;
|
|
14784
|
+
packing_locked_at: string | null;
|
|
14785
|
+
packing_locked_by: string | null;
|
|
14313
14786
|
plants_per_crate: number | null;
|
|
14314
14787
|
product_id: string | null;
|
|
14315
14788
|
product_name: string;
|
|
14316
14789
|
quantity: number;
|
|
14790
|
+
source_line_key: string | null;
|
|
14317
14791
|
unit: string;
|
|
14318
14792
|
unit_price: number | null;
|
|
14319
14793
|
};
|
|
@@ -14323,10 +14797,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14323
14797
|
id?: string;
|
|
14324
14798
|
layers_per_cart?: number | null;
|
|
14325
14799
|
order_id: string;
|
|
14800
|
+
packing_locked_at?: string | null;
|
|
14801
|
+
packing_locked_by?: string | null;
|
|
14326
14802
|
plants_per_crate?: number | null;
|
|
14327
14803
|
product_id?: string | null;
|
|
14328
14804
|
product_name: string;
|
|
14329
14805
|
quantity?: number;
|
|
14806
|
+
source_line_key?: string | null;
|
|
14330
14807
|
unit?: string;
|
|
14331
14808
|
unit_price?: number | null;
|
|
14332
14809
|
};
|
|
@@ -14336,10 +14813,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14336
14813
|
id?: string;
|
|
14337
14814
|
layers_per_cart?: number | null;
|
|
14338
14815
|
order_id?: string;
|
|
14816
|
+
packing_locked_at?: string | null;
|
|
14817
|
+
packing_locked_by?: string | null;
|
|
14339
14818
|
plants_per_crate?: number | null;
|
|
14340
14819
|
product_id?: string | null;
|
|
14341
14820
|
product_name?: string;
|
|
14342
14821
|
quantity?: number;
|
|
14822
|
+
source_line_key?: string | null;
|
|
14343
14823
|
unit?: string;
|
|
14344
14824
|
unit_price?: number | null;
|
|
14345
14825
|
};
|
|
@@ -15627,18 +16107,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15627
16107
|
Row: {
|
|
15628
16108
|
id: boolean;
|
|
15629
16109
|
last_cleanup_at: string | null;
|
|
16110
|
+
last_error: string | null;
|
|
16111
|
+
last_error_at: string | null;
|
|
15630
16112
|
last_sync_at: string | null;
|
|
15631
16113
|
updated_at: string;
|
|
15632
16114
|
};
|
|
15633
16115
|
Insert: {
|
|
15634
16116
|
id?: boolean;
|
|
15635
16117
|
last_cleanup_at?: string | null;
|
|
16118
|
+
last_error?: string | null;
|
|
16119
|
+
last_error_at?: string | null;
|
|
15636
16120
|
last_sync_at?: string | null;
|
|
15637
16121
|
updated_at?: string;
|
|
15638
16122
|
};
|
|
15639
16123
|
Update: {
|
|
15640
16124
|
id?: boolean;
|
|
15641
16125
|
last_cleanup_at?: string | null;
|
|
16126
|
+
last_error?: string | null;
|
|
16127
|
+
last_error_at?: string | null;
|
|
15642
16128
|
last_sync_at?: string | null;
|
|
15643
16129
|
updated_at?: string;
|
|
15644
16130
|
};
|
|
@@ -15764,6 +16250,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15764
16250
|
};
|
|
15765
16251
|
Relationships: [];
|
|
15766
16252
|
};
|
|
16253
|
+
planning_confirmation_log: {
|
|
16254
|
+
Row: {
|
|
16255
|
+
created_at: string;
|
|
16256
|
+
end_at: string;
|
|
16257
|
+
id: string;
|
|
16258
|
+
outbox_id: string | null;
|
|
16259
|
+
planning_item_id: string;
|
|
16260
|
+
reason: string | null;
|
|
16261
|
+
recipient: string | null;
|
|
16262
|
+
start_at: string;
|
|
16263
|
+
status: string;
|
|
16264
|
+
};
|
|
16265
|
+
Insert: {
|
|
16266
|
+
created_at?: string;
|
|
16267
|
+
end_at: string;
|
|
16268
|
+
id?: string;
|
|
16269
|
+
outbox_id?: string | null;
|
|
16270
|
+
planning_item_id: string;
|
|
16271
|
+
reason?: string | null;
|
|
16272
|
+
recipient?: string | null;
|
|
16273
|
+
start_at: string;
|
|
16274
|
+
status: string;
|
|
16275
|
+
};
|
|
16276
|
+
Update: {
|
|
16277
|
+
created_at?: string;
|
|
16278
|
+
end_at?: string;
|
|
16279
|
+
id?: string;
|
|
16280
|
+
outbox_id?: string | null;
|
|
16281
|
+
planning_item_id?: string;
|
|
16282
|
+
reason?: string | null;
|
|
16283
|
+
recipient?: string | null;
|
|
16284
|
+
start_at?: string;
|
|
16285
|
+
status?: string;
|
|
16286
|
+
};
|
|
16287
|
+
Relationships: [{
|
|
16288
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16289
|
+
columns: ["planning_item_id"];
|
|
16290
|
+
isOneToOne: false;
|
|
16291
|
+
referencedRelation: "planning_items";
|
|
16292
|
+
referencedColumns: ["id"];
|
|
16293
|
+
}, {
|
|
16294
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16295
|
+
columns: ["planning_item_id"];
|
|
16296
|
+
isOneToOne: false;
|
|
16297
|
+
referencedRelation: "planning_overview";
|
|
16298
|
+
referencedColumns: ["id"];
|
|
16299
|
+
}];
|
|
16300
|
+
};
|
|
15767
16301
|
planning_item_assistants: {
|
|
15768
16302
|
Row: {
|
|
15769
16303
|
created_at: string;
|
|
@@ -15848,6 +16382,249 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15848
16382
|
referencedColumns: ["id"];
|
|
15849
16383
|
}];
|
|
15850
16384
|
};
|
|
16385
|
+
planning_mail_settings: {
|
|
16386
|
+
Row: {
|
|
16387
|
+
body_template: string;
|
|
16388
|
+
cc: string[];
|
|
16389
|
+
connection_id: string | null;
|
|
16390
|
+
created_at: string;
|
|
16391
|
+
enabled: boolean;
|
|
16392
|
+
id: boolean;
|
|
16393
|
+
reply_to: string | null;
|
|
16394
|
+
subject_template: string;
|
|
16395
|
+
timezone: string;
|
|
16396
|
+
updated_at: string;
|
|
16397
|
+
updated_by: string | null;
|
|
16398
|
+
};
|
|
16399
|
+
Insert: {
|
|
16400
|
+
body_template?: string;
|
|
16401
|
+
cc?: string[];
|
|
16402
|
+
connection_id?: string | null;
|
|
16403
|
+
created_at?: string;
|
|
16404
|
+
enabled?: boolean;
|
|
16405
|
+
id?: boolean;
|
|
16406
|
+
reply_to?: string | null;
|
|
16407
|
+
subject_template?: string;
|
|
16408
|
+
timezone?: string;
|
|
16409
|
+
updated_at?: string;
|
|
16410
|
+
updated_by?: string | null;
|
|
16411
|
+
};
|
|
16412
|
+
Update: {
|
|
16413
|
+
body_template?: string;
|
|
16414
|
+
cc?: string[];
|
|
16415
|
+
connection_id?: string | null;
|
|
16416
|
+
created_at?: string;
|
|
16417
|
+
enabled?: boolean;
|
|
16418
|
+
id?: boolean;
|
|
16419
|
+
reply_to?: string | null;
|
|
16420
|
+
subject_template?: string;
|
|
16421
|
+
timezone?: string;
|
|
16422
|
+
updated_at?: string;
|
|
16423
|
+
updated_by?: string | null;
|
|
16424
|
+
};
|
|
16425
|
+
Relationships: [{
|
|
16426
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16427
|
+
columns: ["connection_id"];
|
|
16428
|
+
isOneToOne: false;
|
|
16429
|
+
referencedRelation: "email_auth_connections";
|
|
16430
|
+
referencedColumns: ["id"];
|
|
16431
|
+
}, {
|
|
16432
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16433
|
+
columns: ["connection_id"];
|
|
16434
|
+
isOneToOne: false;
|
|
16435
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16436
|
+
referencedColumns: ["id"];
|
|
16437
|
+
}];
|
|
16438
|
+
};
|
|
16439
|
+
planning_monteur_day_locations: {
|
|
16440
|
+
Row: {
|
|
16441
|
+
created_at: string;
|
|
16442
|
+
day: string;
|
|
16443
|
+
end_at: string;
|
|
16444
|
+
id: string;
|
|
16445
|
+
monteur_id: string;
|
|
16446
|
+
start_from: string;
|
|
16447
|
+
updated_at: string;
|
|
16448
|
+
};
|
|
16449
|
+
Insert: {
|
|
16450
|
+
created_at?: string;
|
|
16451
|
+
day: string;
|
|
16452
|
+
end_at?: string;
|
|
16453
|
+
id?: string;
|
|
16454
|
+
monteur_id: string;
|
|
16455
|
+
start_from?: string;
|
|
16456
|
+
updated_at?: string;
|
|
16457
|
+
};
|
|
16458
|
+
Update: {
|
|
16459
|
+
created_at?: string;
|
|
16460
|
+
day?: string;
|
|
16461
|
+
end_at?: string;
|
|
16462
|
+
id?: string;
|
|
16463
|
+
monteur_id?: string;
|
|
16464
|
+
start_from?: string;
|
|
16465
|
+
updated_at?: string;
|
|
16466
|
+
};
|
|
16467
|
+
Relationships: [];
|
|
16468
|
+
};
|
|
16469
|
+
planning_monteur_locations: {
|
|
16470
|
+
Row: {
|
|
16471
|
+
created_at: string;
|
|
16472
|
+
default_end: string;
|
|
16473
|
+
default_start: string;
|
|
16474
|
+
end_address: string | null;
|
|
16475
|
+
home_address: string | null;
|
|
16476
|
+
id: string;
|
|
16477
|
+
monteur_id: string;
|
|
16478
|
+
start_address: string | null;
|
|
16479
|
+
updated_at: string;
|
|
16480
|
+
};
|
|
16481
|
+
Insert: {
|
|
16482
|
+
created_at?: string;
|
|
16483
|
+
default_end?: string;
|
|
16484
|
+
default_start?: string;
|
|
16485
|
+
end_address?: string | null;
|
|
16486
|
+
home_address?: string | null;
|
|
16487
|
+
id?: string;
|
|
16488
|
+
monteur_id: string;
|
|
16489
|
+
start_address?: string | null;
|
|
16490
|
+
updated_at?: string;
|
|
16491
|
+
};
|
|
16492
|
+
Update: {
|
|
16493
|
+
created_at?: string;
|
|
16494
|
+
default_end?: string;
|
|
16495
|
+
default_start?: string;
|
|
16496
|
+
end_address?: string | null;
|
|
16497
|
+
home_address?: string | null;
|
|
16498
|
+
id?: string;
|
|
16499
|
+
monteur_id?: string;
|
|
16500
|
+
start_address?: string | null;
|
|
16501
|
+
updated_at?: string;
|
|
16502
|
+
};
|
|
16503
|
+
Relationships: [];
|
|
16504
|
+
};
|
|
16505
|
+
planning_settings: {
|
|
16506
|
+
Row: {
|
|
16507
|
+
company_address: string | null;
|
|
16508
|
+
created_at: string;
|
|
16509
|
+
id: string;
|
|
16510
|
+
singleton: boolean;
|
|
16511
|
+
updated_at: string;
|
|
16512
|
+
};
|
|
16513
|
+
Insert: {
|
|
16514
|
+
company_address?: string | null;
|
|
16515
|
+
created_at?: string;
|
|
16516
|
+
id?: string;
|
|
16517
|
+
singleton?: boolean;
|
|
16518
|
+
updated_at?: string;
|
|
16519
|
+
};
|
|
16520
|
+
Update: {
|
|
16521
|
+
company_address?: string | null;
|
|
16522
|
+
created_at?: string;
|
|
16523
|
+
id?: string;
|
|
16524
|
+
singleton?: boolean;
|
|
16525
|
+
updated_at?: string;
|
|
16526
|
+
};
|
|
16527
|
+
Relationships: [];
|
|
16528
|
+
};
|
|
16529
|
+
planning_travel_legs: {
|
|
16530
|
+
Row: {
|
|
16531
|
+
after_min: number;
|
|
16532
|
+
after_reason: string | null;
|
|
16533
|
+
after_status: string;
|
|
16534
|
+
after_to_address: string | null;
|
|
16535
|
+
before_from_address: string | null;
|
|
16536
|
+
before_min: number;
|
|
16537
|
+
before_reason: string | null;
|
|
16538
|
+
before_status: string;
|
|
16539
|
+
computed_at: string;
|
|
16540
|
+
computed_end_at: string | null;
|
|
16541
|
+
computed_start_at: string | null;
|
|
16542
|
+
created_at: string;
|
|
16543
|
+
id: string;
|
|
16544
|
+
monteur_id: string;
|
|
16545
|
+
planning_item_id: string;
|
|
16546
|
+
shared_after_item_id: string | null;
|
|
16547
|
+
shared_before_item_id: string | null;
|
|
16548
|
+
updated_at: string;
|
|
16549
|
+
};
|
|
16550
|
+
Insert: {
|
|
16551
|
+
after_min?: number;
|
|
16552
|
+
after_reason?: string | null;
|
|
16553
|
+
after_status?: string;
|
|
16554
|
+
after_to_address?: string | null;
|
|
16555
|
+
before_from_address?: string | null;
|
|
16556
|
+
before_min?: number;
|
|
16557
|
+
before_reason?: string | null;
|
|
16558
|
+
before_status?: string;
|
|
16559
|
+
computed_at?: string;
|
|
16560
|
+
computed_end_at?: string | null;
|
|
16561
|
+
computed_start_at?: string | null;
|
|
16562
|
+
created_at?: string;
|
|
16563
|
+
id?: string;
|
|
16564
|
+
monteur_id: string;
|
|
16565
|
+
planning_item_id: string;
|
|
16566
|
+
shared_after_item_id?: string | null;
|
|
16567
|
+
shared_before_item_id?: string | null;
|
|
16568
|
+
updated_at?: string;
|
|
16569
|
+
};
|
|
16570
|
+
Update: {
|
|
16571
|
+
after_min?: number;
|
|
16572
|
+
after_reason?: string | null;
|
|
16573
|
+
after_status?: string;
|
|
16574
|
+
after_to_address?: string | null;
|
|
16575
|
+
before_from_address?: string | null;
|
|
16576
|
+
before_min?: number;
|
|
16577
|
+
before_reason?: string | null;
|
|
16578
|
+
before_status?: string;
|
|
16579
|
+
computed_at?: string;
|
|
16580
|
+
computed_end_at?: string | null;
|
|
16581
|
+
computed_start_at?: string | null;
|
|
16582
|
+
created_at?: string;
|
|
16583
|
+
id?: string;
|
|
16584
|
+
monteur_id?: string;
|
|
16585
|
+
planning_item_id?: string;
|
|
16586
|
+
shared_after_item_id?: string | null;
|
|
16587
|
+
shared_before_item_id?: string | null;
|
|
16588
|
+
updated_at?: string;
|
|
16589
|
+
};
|
|
16590
|
+
Relationships: [{
|
|
16591
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16592
|
+
columns: ["planning_item_id"];
|
|
16593
|
+
isOneToOne: false;
|
|
16594
|
+
referencedRelation: "planning_items";
|
|
16595
|
+
referencedColumns: ["id"];
|
|
16596
|
+
}, {
|
|
16597
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16598
|
+
columns: ["planning_item_id"];
|
|
16599
|
+
isOneToOne: false;
|
|
16600
|
+
referencedRelation: "planning_overview";
|
|
16601
|
+
referencedColumns: ["id"];
|
|
16602
|
+
}, {
|
|
16603
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16604
|
+
columns: ["shared_after_item_id"];
|
|
16605
|
+
isOneToOne: false;
|
|
16606
|
+
referencedRelation: "planning_items";
|
|
16607
|
+
referencedColumns: ["id"];
|
|
16608
|
+
}, {
|
|
16609
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16610
|
+
columns: ["shared_after_item_id"];
|
|
16611
|
+
isOneToOne: false;
|
|
16612
|
+
referencedRelation: "planning_overview";
|
|
16613
|
+
referencedColumns: ["id"];
|
|
16614
|
+
}, {
|
|
16615
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16616
|
+
columns: ["shared_before_item_id"];
|
|
16617
|
+
isOneToOne: false;
|
|
16618
|
+
referencedRelation: "planning_items";
|
|
16619
|
+
referencedColumns: ["id"];
|
|
16620
|
+
}, {
|
|
16621
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16622
|
+
columns: ["shared_before_item_id"];
|
|
16623
|
+
isOneToOne: false;
|
|
16624
|
+
referencedRelation: "planning_overview";
|
|
16625
|
+
referencedColumns: ["id"];
|
|
16626
|
+
}];
|
|
16627
|
+
};
|
|
15851
16628
|
price_list_rows: {
|
|
15852
16629
|
Row: {
|
|
15853
16630
|
action: string;
|
|
@@ -17020,6 +17797,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17020
17797
|
};
|
|
17021
17798
|
product_load_settings: {
|
|
17022
17799
|
Row: {
|
|
17800
|
+
build: import("./types").Json | null;
|
|
17801
|
+
build_status: string;
|
|
17023
17802
|
created_at: string;
|
|
17024
17803
|
id: string;
|
|
17025
17804
|
is_package: boolean;
|
|
@@ -17037,6 +17816,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17037
17816
|
updated_at: string;
|
|
17038
17817
|
};
|
|
17039
17818
|
Insert: {
|
|
17819
|
+
build?: import("./types").Json | null;
|
|
17820
|
+
build_status?: string;
|
|
17040
17821
|
created_at?: string;
|
|
17041
17822
|
id?: string;
|
|
17042
17823
|
is_package?: boolean;
|
|
@@ -17054,6 +17835,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17054
17835
|
updated_at?: string;
|
|
17055
17836
|
};
|
|
17056
17837
|
Update: {
|
|
17838
|
+
build?: import("./types").Json | null;
|
|
17839
|
+
build_status?: string;
|
|
17057
17840
|
created_at?: string;
|
|
17058
17841
|
id?: string;
|
|
17059
17842
|
is_package?: boolean;
|
|
@@ -17123,33 +17906,146 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17123
17906
|
};
|
|
17124
17907
|
Relationships: [];
|
|
17125
17908
|
};
|
|
17126
|
-
|
|
17909
|
+
product_suppliers: {
|
|
17127
17910
|
Row: {
|
|
17128
|
-
article_number: string | null;
|
|
17129
|
-
barcode: string | null;
|
|
17130
|
-
batch: string;
|
|
17131
|
-
crates_per_layer: number;
|
|
17132
17911
|
created_at: string;
|
|
17133
|
-
custom_fields: import("./types").Json;
|
|
17134
|
-
floriday_trade_item_id: string | null;
|
|
17135
|
-
fust_type_id: string | null;
|
|
17136
17912
|
id: string;
|
|
17137
|
-
|
|
17138
|
-
|
|
17139
|
-
|
|
17140
|
-
|
|
17141
|
-
|
|
17142
|
-
|
|
17143
|
-
|
|
17144
|
-
|
|
17145
|
-
|
|
17146
|
-
|
|
17147
|
-
|
|
17148
|
-
|
|
17149
|
-
|
|
17150
|
-
|
|
17151
|
-
|
|
17152
|
-
|
|
17913
|
+
is_preferred: boolean;
|
|
17914
|
+
lead_time_days: number | null;
|
|
17915
|
+
min_order_quantity: number | null;
|
|
17916
|
+
notes: string | null;
|
|
17917
|
+
previous_price_cents: number | null;
|
|
17918
|
+
price_source: string;
|
|
17919
|
+
price_updated_at: string | null;
|
|
17920
|
+
product_id: string;
|
|
17921
|
+
purchase_price_cents: number | null;
|
|
17922
|
+
supplier_article_number: string | null;
|
|
17923
|
+
supplier_id: string;
|
|
17924
|
+
updated_at: string;
|
|
17925
|
+
};
|
|
17926
|
+
Insert: {
|
|
17927
|
+
created_at?: string;
|
|
17928
|
+
id?: string;
|
|
17929
|
+
is_preferred?: boolean;
|
|
17930
|
+
lead_time_days?: number | null;
|
|
17931
|
+
min_order_quantity?: number | null;
|
|
17932
|
+
notes?: string | null;
|
|
17933
|
+
previous_price_cents?: number | null;
|
|
17934
|
+
price_source?: string;
|
|
17935
|
+
price_updated_at?: string | null;
|
|
17936
|
+
product_id: string;
|
|
17937
|
+
purchase_price_cents?: number | null;
|
|
17938
|
+
supplier_article_number?: string | null;
|
|
17939
|
+
supplier_id: string;
|
|
17940
|
+
updated_at?: string;
|
|
17941
|
+
};
|
|
17942
|
+
Update: {
|
|
17943
|
+
created_at?: string;
|
|
17944
|
+
id?: string;
|
|
17945
|
+
is_preferred?: boolean;
|
|
17946
|
+
lead_time_days?: number | null;
|
|
17947
|
+
min_order_quantity?: number | null;
|
|
17948
|
+
notes?: string | null;
|
|
17949
|
+
previous_price_cents?: number | null;
|
|
17950
|
+
price_source?: string;
|
|
17951
|
+
price_updated_at?: string | null;
|
|
17952
|
+
product_id?: string;
|
|
17953
|
+
purchase_price_cents?: number | null;
|
|
17954
|
+
supplier_article_number?: string | null;
|
|
17955
|
+
supplier_id?: string;
|
|
17956
|
+
updated_at?: string;
|
|
17957
|
+
};
|
|
17958
|
+
Relationships: [{
|
|
17959
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17960
|
+
columns: ["product_id"];
|
|
17961
|
+
isOneToOne: false;
|
|
17962
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17963
|
+
referencedColumns: ["product_id"];
|
|
17964
|
+
}, {
|
|
17965
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17966
|
+
columns: ["product_id"];
|
|
17967
|
+
isOneToOne: false;
|
|
17968
|
+
referencedRelation: "products";
|
|
17969
|
+
referencedColumns: ["id"];
|
|
17970
|
+
}, {
|
|
17971
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17972
|
+
columns: ["supplier_id"];
|
|
17973
|
+
isOneToOne: false;
|
|
17974
|
+
referencedRelation: "suppliers";
|
|
17975
|
+
referencedColumns: ["id"];
|
|
17976
|
+
}];
|
|
17977
|
+
};
|
|
17978
|
+
product_tray_stickers: {
|
|
17979
|
+
Row: {
|
|
17980
|
+
bestand_url: string;
|
|
17981
|
+
bestandsgrootte: number | null;
|
|
17982
|
+
bestandsnaam: string | null;
|
|
17983
|
+
bestandspad: string | null;
|
|
17984
|
+
created_at: string;
|
|
17985
|
+
product_id: string;
|
|
17986
|
+
updated_at: string;
|
|
17987
|
+
};
|
|
17988
|
+
Insert: {
|
|
17989
|
+
bestand_url: string;
|
|
17990
|
+
bestandsgrootte?: number | null;
|
|
17991
|
+
bestandsnaam?: string | null;
|
|
17992
|
+
bestandspad?: string | null;
|
|
17993
|
+
created_at?: string;
|
|
17994
|
+
product_id: string;
|
|
17995
|
+
updated_at?: string;
|
|
17996
|
+
};
|
|
17997
|
+
Update: {
|
|
17998
|
+
bestand_url?: string;
|
|
17999
|
+
bestandsgrootte?: number | null;
|
|
18000
|
+
bestandsnaam?: string | null;
|
|
18001
|
+
bestandspad?: string | null;
|
|
18002
|
+
created_at?: string;
|
|
18003
|
+
product_id?: string;
|
|
18004
|
+
updated_at?: string;
|
|
18005
|
+
};
|
|
18006
|
+
Relationships: [{
|
|
18007
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18008
|
+
columns: ["product_id"];
|
|
18009
|
+
isOneToOne: true;
|
|
18010
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18011
|
+
referencedColumns: ["product_id"];
|
|
18012
|
+
}, {
|
|
18013
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18014
|
+
columns: ["product_id"];
|
|
18015
|
+
isOneToOne: true;
|
|
18016
|
+
referencedRelation: "products";
|
|
18017
|
+
referencedColumns: ["id"];
|
|
18018
|
+
}];
|
|
18019
|
+
};
|
|
18020
|
+
products: {
|
|
18021
|
+
Row: {
|
|
18022
|
+
article_number: string | null;
|
|
18023
|
+
barcode: string | null;
|
|
18024
|
+
batch: string;
|
|
18025
|
+
crates_per_layer: number;
|
|
18026
|
+
created_at: string;
|
|
18027
|
+
custom_fields: import("./types").Json;
|
|
18028
|
+
floriday_packing_confirmed_at: string | null;
|
|
18029
|
+
floriday_packing_source: string | null;
|
|
18030
|
+
floriday_trade_item_id: string | null;
|
|
18031
|
+
fust_type_id: string | null;
|
|
18032
|
+
id: string;
|
|
18033
|
+
image_url: string | null;
|
|
18034
|
+
incoming_quantity: number;
|
|
18035
|
+
is_layer: boolean;
|
|
18036
|
+
layers_per_cart: number;
|
|
18037
|
+
location: string;
|
|
18038
|
+
min_quantity: number;
|
|
18039
|
+
plant_height_cm: number | null;
|
|
18040
|
+
plants_per_crate: number;
|
|
18041
|
+
product: string;
|
|
18042
|
+
product_type: string;
|
|
18043
|
+
purchase_price: number | null;
|
|
18044
|
+
quantity: number;
|
|
18045
|
+
sale_price: number | null;
|
|
18046
|
+
trade_item_key: string | null;
|
|
18047
|
+
unit: string;
|
|
18048
|
+
updated_at: string;
|
|
17153
18049
|
weight: string | null;
|
|
17154
18050
|
};
|
|
17155
18051
|
Insert: {
|
|
@@ -17159,6 +18055,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17159
18055
|
crates_per_layer?: number;
|
|
17160
18056
|
created_at?: string;
|
|
17161
18057
|
custom_fields?: import("./types").Json;
|
|
18058
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18059
|
+
floriday_packing_source?: string | null;
|
|
17162
18060
|
floriday_trade_item_id?: string | null;
|
|
17163
18061
|
fust_type_id?: string | null;
|
|
17164
18062
|
id?: string;
|
|
@@ -17187,6 +18085,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17187
18085
|
crates_per_layer?: number;
|
|
17188
18086
|
created_at?: string;
|
|
17189
18087
|
custom_fields?: import("./types").Json;
|
|
18088
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18089
|
+
floriday_packing_source?: string | null;
|
|
17190
18090
|
floriday_trade_item_id?: string | null;
|
|
17191
18091
|
fust_type_id?: string | null;
|
|
17192
18092
|
id?: string;
|
|
@@ -17286,6 +18186,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17286
18186
|
id: string;
|
|
17287
18187
|
is_superadmin: boolean;
|
|
17288
18188
|
notification_preferences: import("./types").Json;
|
|
18189
|
+
phone: string | null;
|
|
17289
18190
|
tenant_id: string | null;
|
|
17290
18191
|
updated_at: string;
|
|
17291
18192
|
};
|
|
@@ -17298,6 +18199,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17298
18199
|
id: string;
|
|
17299
18200
|
is_superadmin?: boolean;
|
|
17300
18201
|
notification_preferences?: import("./types").Json;
|
|
18202
|
+
phone?: string | null;
|
|
17301
18203
|
tenant_id?: string | null;
|
|
17302
18204
|
updated_at?: string;
|
|
17303
18205
|
};
|
|
@@ -17310,6 +18212,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17310
18212
|
id?: string;
|
|
17311
18213
|
is_superadmin?: boolean;
|
|
17312
18214
|
notification_preferences?: import("./types").Json;
|
|
18215
|
+
phone?: string | null;
|
|
17313
18216
|
tenant_id?: string | null;
|
|
17314
18217
|
updated_at?: string;
|
|
17315
18218
|
};
|
|
@@ -17576,9 +18479,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17576
18479
|
purchase_order_items: {
|
|
17577
18480
|
Row: {
|
|
17578
18481
|
article_number: string | null;
|
|
18482
|
+
cancel_reason: string | null;
|
|
18483
|
+
cancelled_at: string | null;
|
|
17579
18484
|
created_at: string;
|
|
17580
18485
|
delivery_date: string | null;
|
|
17581
18486
|
id: string;
|
|
18487
|
+
incoming_booked: number;
|
|
18488
|
+
line_status: string;
|
|
17582
18489
|
name: string;
|
|
17583
18490
|
note: string | null;
|
|
17584
18491
|
pot_size: string | null;
|
|
@@ -17586,6 +18493,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17586
18493
|
product_type: string;
|
|
17587
18494
|
purchase_order_id: string;
|
|
17588
18495
|
quantity: number;
|
|
18496
|
+
received_at: string | null;
|
|
18497
|
+
received_booked: number;
|
|
17589
18498
|
supplier_id: string | null;
|
|
17590
18499
|
supplier_product_id: string | null;
|
|
17591
18500
|
unit_price_cents: number;
|
|
@@ -17593,9 +18502,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17593
18502
|
};
|
|
17594
18503
|
Insert: {
|
|
17595
18504
|
article_number?: string | null;
|
|
18505
|
+
cancel_reason?: string | null;
|
|
18506
|
+
cancelled_at?: string | null;
|
|
17596
18507
|
created_at?: string;
|
|
17597
18508
|
delivery_date?: string | null;
|
|
17598
18509
|
id?: string;
|
|
18510
|
+
incoming_booked?: number;
|
|
18511
|
+
line_status?: string;
|
|
17599
18512
|
name?: string;
|
|
17600
18513
|
note?: string | null;
|
|
17601
18514
|
pot_size?: string | null;
|
|
@@ -17603,6 +18516,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17603
18516
|
product_type?: string;
|
|
17604
18517
|
purchase_order_id: string;
|
|
17605
18518
|
quantity?: number;
|
|
18519
|
+
received_at?: string | null;
|
|
18520
|
+
received_booked?: number;
|
|
17606
18521
|
supplier_id?: string | null;
|
|
17607
18522
|
supplier_product_id?: string | null;
|
|
17608
18523
|
unit_price_cents?: number;
|
|
@@ -17610,9 +18525,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17610
18525
|
};
|
|
17611
18526
|
Update: {
|
|
17612
18527
|
article_number?: string | null;
|
|
18528
|
+
cancel_reason?: string | null;
|
|
18529
|
+
cancelled_at?: string | null;
|
|
17613
18530
|
created_at?: string;
|
|
17614
18531
|
delivery_date?: string | null;
|
|
17615
18532
|
id?: string;
|
|
18533
|
+
incoming_booked?: number;
|
|
18534
|
+
line_status?: string;
|
|
17616
18535
|
name?: string;
|
|
17617
18536
|
note?: string | null;
|
|
17618
18537
|
pot_size?: string | null;
|
|
@@ -17620,6 +18539,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17620
18539
|
product_type?: string;
|
|
17621
18540
|
purchase_order_id?: string;
|
|
17622
18541
|
quantity?: number;
|
|
18542
|
+
received_at?: string | null;
|
|
18543
|
+
received_booked?: number;
|
|
17623
18544
|
supplier_id?: string | null;
|
|
17624
18545
|
supplier_product_id?: string | null;
|
|
17625
18546
|
unit_price_cents?: number;
|
|
@@ -17723,6 +18644,153 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17723
18644
|
referencedColumns: ["id"];
|
|
17724
18645
|
}];
|
|
17725
18646
|
};
|
|
18647
|
+
purchase_request_events: {
|
|
18648
|
+
Row: {
|
|
18649
|
+
created_at: string;
|
|
18650
|
+
details: import("./types").Json | null;
|
|
18651
|
+
event_type: string;
|
|
18652
|
+
id: string;
|
|
18653
|
+
request_id: string;
|
|
18654
|
+
};
|
|
18655
|
+
Insert: {
|
|
18656
|
+
created_at?: string;
|
|
18657
|
+
details?: import("./types").Json | null;
|
|
18658
|
+
event_type: string;
|
|
18659
|
+
id?: string;
|
|
18660
|
+
request_id: string;
|
|
18661
|
+
};
|
|
18662
|
+
Update: {
|
|
18663
|
+
created_at?: string;
|
|
18664
|
+
details?: import("./types").Json | null;
|
|
18665
|
+
event_type?: string;
|
|
18666
|
+
id?: string;
|
|
18667
|
+
request_id?: string;
|
|
18668
|
+
};
|
|
18669
|
+
Relationships: [{
|
|
18670
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18671
|
+
columns: ["request_id"];
|
|
18672
|
+
isOneToOne: false;
|
|
18673
|
+
referencedRelation: "purchase_requests";
|
|
18674
|
+
referencedColumns: ["id"];
|
|
18675
|
+
}];
|
|
18676
|
+
};
|
|
18677
|
+
purchase_request_responses: {
|
|
18678
|
+
Row: {
|
|
18679
|
+
confirmed_date: string | null;
|
|
18680
|
+
confirmed_price_cents: number | null;
|
|
18681
|
+
confirmed_quantity: number;
|
|
18682
|
+
created_at: string;
|
|
18683
|
+
id: string;
|
|
18684
|
+
not_available: boolean;
|
|
18685
|
+
note: string | null;
|
|
18686
|
+
purchase_order_item_id: string;
|
|
18687
|
+
request_id: string;
|
|
18688
|
+
updated_at: string;
|
|
18689
|
+
};
|
|
18690
|
+
Insert: {
|
|
18691
|
+
confirmed_date?: string | null;
|
|
18692
|
+
confirmed_price_cents?: number | null;
|
|
18693
|
+
confirmed_quantity?: number;
|
|
18694
|
+
created_at?: string;
|
|
18695
|
+
id?: string;
|
|
18696
|
+
not_available?: boolean;
|
|
18697
|
+
note?: string | null;
|
|
18698
|
+
purchase_order_item_id: string;
|
|
18699
|
+
request_id: string;
|
|
18700
|
+
updated_at?: string;
|
|
18701
|
+
};
|
|
18702
|
+
Update: {
|
|
18703
|
+
confirmed_date?: string | null;
|
|
18704
|
+
confirmed_price_cents?: number | null;
|
|
18705
|
+
confirmed_quantity?: number;
|
|
18706
|
+
created_at?: string;
|
|
18707
|
+
id?: string;
|
|
18708
|
+
not_available?: boolean;
|
|
18709
|
+
note?: string | null;
|
|
18710
|
+
purchase_order_item_id?: string;
|
|
18711
|
+
request_id?: string;
|
|
18712
|
+
updated_at?: string;
|
|
18713
|
+
};
|
|
18714
|
+
Relationships: [{
|
|
18715
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18716
|
+
columns: ["purchase_order_item_id"];
|
|
18717
|
+
isOneToOne: false;
|
|
18718
|
+
referencedRelation: "purchase_order_items";
|
|
18719
|
+
referencedColumns: ["id"];
|
|
18720
|
+
}, {
|
|
18721
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18722
|
+
columns: ["request_id"];
|
|
18723
|
+
isOneToOne: false;
|
|
18724
|
+
referencedRelation: "purchase_requests";
|
|
18725
|
+
referencedColumns: ["id"];
|
|
18726
|
+
}];
|
|
18727
|
+
};
|
|
18728
|
+
purchase_requests: {
|
|
18729
|
+
Row: {
|
|
18730
|
+
created_at: string;
|
|
18731
|
+
expires_at: string;
|
|
18732
|
+
first_viewed_at: string | null;
|
|
18733
|
+
id: string;
|
|
18734
|
+
processed_at: string | null;
|
|
18735
|
+
purchase_order_id: string;
|
|
18736
|
+
responded_at: string | null;
|
|
18737
|
+
sent_at: string;
|
|
18738
|
+
status: string;
|
|
18739
|
+
supplier_id: string | null;
|
|
18740
|
+
supplier_name: string;
|
|
18741
|
+
supplier_note: string | null;
|
|
18742
|
+
to_address: string | null;
|
|
18743
|
+
token_hash: string;
|
|
18744
|
+
updated_at: string;
|
|
18745
|
+
};
|
|
18746
|
+
Insert: {
|
|
18747
|
+
created_at?: string;
|
|
18748
|
+
expires_at?: string;
|
|
18749
|
+
first_viewed_at?: string | null;
|
|
18750
|
+
id?: string;
|
|
18751
|
+
processed_at?: string | null;
|
|
18752
|
+
purchase_order_id: string;
|
|
18753
|
+
responded_at?: string | null;
|
|
18754
|
+
sent_at?: string;
|
|
18755
|
+
status?: string;
|
|
18756
|
+
supplier_id?: string | null;
|
|
18757
|
+
supplier_name?: string;
|
|
18758
|
+
supplier_note?: string | null;
|
|
18759
|
+
to_address?: string | null;
|
|
18760
|
+
token_hash: string;
|
|
18761
|
+
updated_at?: string;
|
|
18762
|
+
};
|
|
18763
|
+
Update: {
|
|
18764
|
+
created_at?: string;
|
|
18765
|
+
expires_at?: string;
|
|
18766
|
+
first_viewed_at?: string | null;
|
|
18767
|
+
id?: string;
|
|
18768
|
+
processed_at?: string | null;
|
|
18769
|
+
purchase_order_id?: string;
|
|
18770
|
+
responded_at?: string | null;
|
|
18771
|
+
sent_at?: string;
|
|
18772
|
+
status?: string;
|
|
18773
|
+
supplier_id?: string | null;
|
|
18774
|
+
supplier_name?: string;
|
|
18775
|
+
supplier_note?: string | null;
|
|
18776
|
+
to_address?: string | null;
|
|
18777
|
+
token_hash?: string;
|
|
18778
|
+
updated_at?: string;
|
|
18779
|
+
};
|
|
18780
|
+
Relationships: [{
|
|
18781
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18782
|
+
columns: ["purchase_order_id"];
|
|
18783
|
+
isOneToOne: false;
|
|
18784
|
+
referencedRelation: "purchase_orders";
|
|
18785
|
+
referencedColumns: ["id"];
|
|
18786
|
+
}, {
|
|
18787
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18788
|
+
columns: ["supplier_id"];
|
|
18789
|
+
isOneToOne: false;
|
|
18790
|
+
referencedRelation: "suppliers";
|
|
18791
|
+
referencedColumns: ["id"];
|
|
18792
|
+
}];
|
|
18793
|
+
};
|
|
17726
18794
|
reception_notifications: {
|
|
17727
18795
|
Row: {
|
|
17728
18796
|
booking_id: string | null;
|
|
@@ -19053,40 +20121,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19053
20121
|
Row: {
|
|
19054
20122
|
approved_at: string | null;
|
|
19055
20123
|
approved_by: string | null;
|
|
20124
|
+
contract_hours: number;
|
|
19056
20125
|
created_at: string;
|
|
19057
20126
|
employee_id: string;
|
|
19058
20127
|
id: string;
|
|
19059
20128
|
locked: boolean;
|
|
20129
|
+
monteur_toelichting: string | null;
|
|
19060
20130
|
notes: string | null;
|
|
20131
|
+
planned_hours: number;
|
|
19061
20132
|
status: string;
|
|
19062
20133
|
submitted_at: string | null;
|
|
19063
20134
|
updated_at: string;
|
|
20135
|
+
variance_hours: number;
|
|
19064
20136
|
week_start: string;
|
|
19065
20137
|
};
|
|
19066
20138
|
Insert: {
|
|
19067
20139
|
approved_at?: string | null;
|
|
19068
20140
|
approved_by?: string | null;
|
|
20141
|
+
contract_hours?: number;
|
|
19069
20142
|
created_at?: string;
|
|
19070
20143
|
employee_id: string;
|
|
19071
20144
|
id?: string;
|
|
19072
20145
|
locked?: boolean;
|
|
20146
|
+
monteur_toelichting?: string | null;
|
|
19073
20147
|
notes?: string | null;
|
|
20148
|
+
planned_hours?: number;
|
|
19074
20149
|
status?: string;
|
|
19075
20150
|
submitted_at?: string | null;
|
|
19076
20151
|
updated_at?: string;
|
|
20152
|
+
variance_hours?: number;
|
|
19077
20153
|
week_start: string;
|
|
19078
20154
|
};
|
|
19079
20155
|
Update: {
|
|
19080
20156
|
approved_at?: string | null;
|
|
19081
20157
|
approved_by?: string | null;
|
|
20158
|
+
contract_hours?: number;
|
|
19082
20159
|
created_at?: string;
|
|
19083
20160
|
employee_id?: string;
|
|
19084
20161
|
id?: string;
|
|
19085
20162
|
locked?: boolean;
|
|
20163
|
+
monteur_toelichting?: string | null;
|
|
19086
20164
|
notes?: string | null;
|
|
20165
|
+
planned_hours?: number;
|
|
19087
20166
|
status?: string;
|
|
19088
20167
|
submitted_at?: string | null;
|
|
19089
20168
|
updated_at?: string;
|
|
20169
|
+
variance_hours?: number;
|
|
19090
20170
|
week_start?: string;
|
|
19091
20171
|
};
|
|
19092
20172
|
Relationships: [{
|
|
@@ -19874,6 +20954,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19874
20954
|
auto_invoice_enabled: boolean;
|
|
19875
20955
|
auto_invoice_start_date: string | null;
|
|
19876
20956
|
auto_invoice_trigger_statuses: string[];
|
|
20957
|
+
auto_send_mode: string | null;
|
|
19877
20958
|
created_at: string;
|
|
19878
20959
|
debtor_gl_account: string;
|
|
19879
20960
|
default_article_code: string | null;
|
|
@@ -19902,6 +20983,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19902
20983
|
auto_invoice_enabled?: boolean;
|
|
19903
20984
|
auto_invoice_start_date?: string | null;
|
|
19904
20985
|
auto_invoice_trigger_statuses?: string[];
|
|
20986
|
+
auto_send_mode?: string | null;
|
|
19905
20987
|
created_at?: string;
|
|
19906
20988
|
debtor_gl_account?: string;
|
|
19907
20989
|
default_article_code?: string | null;
|
|
@@ -19930,6 +21012,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19930
21012
|
auto_invoice_enabled?: boolean;
|
|
19931
21013
|
auto_invoice_start_date?: string | null;
|
|
19932
21014
|
auto_invoice_trigger_statuses?: string[];
|
|
21015
|
+
auto_send_mode?: string | null;
|
|
19933
21016
|
created_at?: string;
|
|
19934
21017
|
debtor_gl_account?: string;
|
|
19935
21018
|
default_article_code?: string | null;
|
|
@@ -20373,16 +21456,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20373
21456
|
Row: {
|
|
20374
21457
|
active_environment: string;
|
|
20375
21458
|
id: number;
|
|
21459
|
+
public_base_url: string | null;
|
|
20376
21460
|
updated_at: string;
|
|
20377
21461
|
};
|
|
20378
21462
|
Insert: {
|
|
20379
21463
|
active_environment?: string;
|
|
20380
21464
|
id?: number;
|
|
21465
|
+
public_base_url?: string | null;
|
|
20381
21466
|
updated_at?: string;
|
|
20382
21467
|
};
|
|
20383
21468
|
Update: {
|
|
20384
21469
|
active_environment?: string;
|
|
20385
21470
|
id?: number;
|
|
21471
|
+
public_base_url?: string | null;
|
|
20386
21472
|
updated_at?: string;
|
|
20387
21473
|
};
|
|
20388
21474
|
Relationships: [];
|
|
@@ -20420,6 +21506,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20420
21506
|
referencedColumns: ["id"];
|
|
20421
21507
|
}];
|
|
20422
21508
|
};
|
|
21509
|
+
uren_beschikbare_dagen: {
|
|
21510
|
+
Row: {
|
|
21511
|
+
bron: string;
|
|
21512
|
+
created_at: string;
|
|
21513
|
+
datum: string;
|
|
21514
|
+
eind_tijd: string | null;
|
|
21515
|
+
half_hour_slots: number[];
|
|
21516
|
+
id: string;
|
|
21517
|
+
monteur_id: string;
|
|
21518
|
+
start_tijd: string | null;
|
|
21519
|
+
updated_at: string;
|
|
21520
|
+
uren: number;
|
|
21521
|
+
};
|
|
21522
|
+
Insert: {
|
|
21523
|
+
bron?: string;
|
|
21524
|
+
created_at?: string;
|
|
21525
|
+
datum: string;
|
|
21526
|
+
eind_tijd?: string | null;
|
|
21527
|
+
half_hour_slots?: number[];
|
|
21528
|
+
id?: string;
|
|
21529
|
+
monteur_id: string;
|
|
21530
|
+
start_tijd?: string | null;
|
|
21531
|
+
updated_at?: string;
|
|
21532
|
+
uren?: number;
|
|
21533
|
+
};
|
|
21534
|
+
Update: {
|
|
21535
|
+
bron?: string;
|
|
21536
|
+
created_at?: string;
|
|
21537
|
+
datum?: string;
|
|
21538
|
+
eind_tijd?: string | null;
|
|
21539
|
+
half_hour_slots?: number[];
|
|
21540
|
+
id?: string;
|
|
21541
|
+
monteur_id?: string;
|
|
21542
|
+
start_tijd?: string | null;
|
|
21543
|
+
updated_at?: string;
|
|
21544
|
+
uren?: number;
|
|
21545
|
+
};
|
|
21546
|
+
Relationships: [];
|
|
21547
|
+
};
|
|
20423
21548
|
uren_cao_profiles: {
|
|
20424
21549
|
Row: {
|
|
20425
21550
|
break_minutes: number | null;
|
|
@@ -20558,26 +21683,155 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20558
21683
|
};
|
|
20559
21684
|
Relationships: [];
|
|
20560
21685
|
};
|
|
20561
|
-
|
|
21686
|
+
uren_maandafsluitingen: {
|
|
20562
21687
|
Row: {
|
|
20563
|
-
|
|
21688
|
+
afgesloten_at: string | null;
|
|
21689
|
+
afgesloten_door: string | null;
|
|
21690
|
+
contract_minuten: number;
|
|
21691
|
+
correctie_reden: string | null;
|
|
20564
21692
|
created_at: string;
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
20570
|
-
|
|
21693
|
+
gecorrigeerd_at: string | null;
|
|
21694
|
+
gecorrigeerd_door: string | null;
|
|
21695
|
+
gewerkte_minuten: number;
|
|
21696
|
+
id: string;
|
|
21697
|
+
maand: string;
|
|
21698
|
+
min_minuten: number;
|
|
21699
|
+
monteur_id: string;
|
|
21700
|
+
netto_verschil_minuten: number;
|
|
21701
|
+
normaal_uitbetaald_minuten: number;
|
|
21702
|
+
omgezet_vakantie_minuten: number;
|
|
21703
|
+
overdracht_vorige_minuten: number;
|
|
21704
|
+
overuren_minuten: number;
|
|
21705
|
+
plus_minuten: number;
|
|
21706
|
+
rest_overuren_minuten: number;
|
|
21707
|
+
status: string;
|
|
21708
|
+
totaal_uitbetaald_minuten: number;
|
|
20571
21709
|
updated_at: string;
|
|
20572
|
-
|
|
20573
|
-
workday_end: string;
|
|
20574
|
-
workday_start: string;
|
|
21710
|
+
vakantie_uren_bijgeschreven: number;
|
|
20575
21711
|
};
|
|
20576
21712
|
Insert: {
|
|
20577
|
-
|
|
21713
|
+
afgesloten_at?: string | null;
|
|
21714
|
+
afgesloten_door?: string | null;
|
|
21715
|
+
contract_minuten?: number;
|
|
21716
|
+
correctie_reden?: string | null;
|
|
20578
21717
|
created_at?: string;
|
|
20579
|
-
|
|
20580
|
-
|
|
21718
|
+
gecorrigeerd_at?: string | null;
|
|
21719
|
+
gecorrigeerd_door?: string | null;
|
|
21720
|
+
gewerkte_minuten?: number;
|
|
21721
|
+
id?: string;
|
|
21722
|
+
maand: string;
|
|
21723
|
+
min_minuten?: number;
|
|
21724
|
+
monteur_id: string;
|
|
21725
|
+
netto_verschil_minuten?: number;
|
|
21726
|
+
normaal_uitbetaald_minuten?: number;
|
|
21727
|
+
omgezet_vakantie_minuten?: number;
|
|
21728
|
+
overdracht_vorige_minuten?: number;
|
|
21729
|
+
overuren_minuten?: number;
|
|
21730
|
+
plus_minuten?: number;
|
|
21731
|
+
rest_overuren_minuten?: number;
|
|
21732
|
+
status?: string;
|
|
21733
|
+
totaal_uitbetaald_minuten?: number;
|
|
21734
|
+
updated_at?: string;
|
|
21735
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21736
|
+
};
|
|
21737
|
+
Update: {
|
|
21738
|
+
afgesloten_at?: string | null;
|
|
21739
|
+
afgesloten_door?: string | null;
|
|
21740
|
+
contract_minuten?: number;
|
|
21741
|
+
correctie_reden?: string | null;
|
|
21742
|
+
created_at?: string;
|
|
21743
|
+
gecorrigeerd_at?: string | null;
|
|
21744
|
+
gecorrigeerd_door?: string | null;
|
|
21745
|
+
gewerkte_minuten?: number;
|
|
21746
|
+
id?: string;
|
|
21747
|
+
maand?: string;
|
|
21748
|
+
min_minuten?: number;
|
|
21749
|
+
monteur_id?: string;
|
|
21750
|
+
netto_verschil_minuten?: number;
|
|
21751
|
+
normaal_uitbetaald_minuten?: number;
|
|
21752
|
+
omgezet_vakantie_minuten?: number;
|
|
21753
|
+
overdracht_vorige_minuten?: number;
|
|
21754
|
+
overuren_minuten?: number;
|
|
21755
|
+
plus_minuten?: number;
|
|
21756
|
+
rest_overuren_minuten?: number;
|
|
21757
|
+
status?: string;
|
|
21758
|
+
totaal_uitbetaald_minuten?: number;
|
|
21759
|
+
updated_at?: string;
|
|
21760
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21761
|
+
};
|
|
21762
|
+
Relationships: [];
|
|
21763
|
+
};
|
|
21764
|
+
uren_overuren_verklaringen: {
|
|
21765
|
+
Row: {
|
|
21766
|
+
beoordeeld_door: string | null;
|
|
21767
|
+
beoordeeld_op: string | null;
|
|
21768
|
+
created_at: string;
|
|
21769
|
+
datum: string;
|
|
21770
|
+
eind_tijd: string | null;
|
|
21771
|
+
id: string;
|
|
21772
|
+
ingediend_at: string;
|
|
21773
|
+
monteur_id: string;
|
|
21774
|
+
overuren: number;
|
|
21775
|
+
reden_afkeur: string | null;
|
|
21776
|
+
start_tijd: string | null;
|
|
21777
|
+
status: string;
|
|
21778
|
+
toelichting: string;
|
|
21779
|
+
updated_at: string;
|
|
21780
|
+
};
|
|
21781
|
+
Insert: {
|
|
21782
|
+
beoordeeld_door?: string | null;
|
|
21783
|
+
beoordeeld_op?: string | null;
|
|
21784
|
+
created_at?: string;
|
|
21785
|
+
datum: string;
|
|
21786
|
+
eind_tijd?: string | null;
|
|
21787
|
+
id?: string;
|
|
21788
|
+
ingediend_at?: string;
|
|
21789
|
+
monteur_id: string;
|
|
21790
|
+
overuren: number;
|
|
21791
|
+
reden_afkeur?: string | null;
|
|
21792
|
+
start_tijd?: string | null;
|
|
21793
|
+
status?: string;
|
|
21794
|
+
toelichting: string;
|
|
21795
|
+
updated_at?: string;
|
|
21796
|
+
};
|
|
21797
|
+
Update: {
|
|
21798
|
+
beoordeeld_door?: string | null;
|
|
21799
|
+
beoordeeld_op?: string | null;
|
|
21800
|
+
created_at?: string;
|
|
21801
|
+
datum?: string;
|
|
21802
|
+
eind_tijd?: string | null;
|
|
21803
|
+
id?: string;
|
|
21804
|
+
ingediend_at?: string;
|
|
21805
|
+
monteur_id?: string;
|
|
21806
|
+
overuren?: number;
|
|
21807
|
+
reden_afkeur?: string | null;
|
|
21808
|
+
start_tijd?: string | null;
|
|
21809
|
+
status?: string;
|
|
21810
|
+
toelichting?: string;
|
|
21811
|
+
updated_at?: string;
|
|
21812
|
+
};
|
|
21813
|
+
Relationships: [];
|
|
21814
|
+
};
|
|
21815
|
+
uren_settings: {
|
|
21816
|
+
Row: {
|
|
21817
|
+
break_minutes: number;
|
|
21818
|
+
created_at: string;
|
|
21819
|
+
daily_threshold_hours: number;
|
|
21820
|
+
id: boolean;
|
|
21821
|
+
include_travel: boolean;
|
|
21822
|
+
min_occupancy_monteurs: number;
|
|
21823
|
+
ov02_percentage: number;
|
|
21824
|
+
ov03_percentage: number;
|
|
21825
|
+
updated_at: string;
|
|
21826
|
+
weekly_threshold_hours: number;
|
|
21827
|
+
workday_end: string;
|
|
21828
|
+
workday_start: string;
|
|
21829
|
+
};
|
|
21830
|
+
Insert: {
|
|
21831
|
+
break_minutes?: number;
|
|
21832
|
+
created_at?: string;
|
|
21833
|
+
daily_threshold_hours?: number;
|
|
21834
|
+
id?: boolean;
|
|
20581
21835
|
include_travel?: boolean;
|
|
20582
21836
|
min_occupancy_monteurs?: number;
|
|
20583
21837
|
ov02_percentage?: number;
|
|
@@ -20603,6 +21857,75 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20603
21857
|
};
|
|
20604
21858
|
Relationships: [];
|
|
20605
21859
|
};
|
|
21860
|
+
uren_standaardweek: {
|
|
21861
|
+
Row: {
|
|
21862
|
+
created_at: string;
|
|
21863
|
+
eind_slot: number;
|
|
21864
|
+
id: string;
|
|
21865
|
+
monteur_id: string;
|
|
21866
|
+
start_slot: number;
|
|
21867
|
+
updated_at: string;
|
|
21868
|
+
weekdag: number;
|
|
21869
|
+
};
|
|
21870
|
+
Insert: {
|
|
21871
|
+
created_at?: string;
|
|
21872
|
+
eind_slot: number;
|
|
21873
|
+
id?: string;
|
|
21874
|
+
monteur_id: string;
|
|
21875
|
+
start_slot: number;
|
|
21876
|
+
updated_at?: string;
|
|
21877
|
+
weekdag: number;
|
|
21878
|
+
};
|
|
21879
|
+
Update: {
|
|
21880
|
+
created_at?: string;
|
|
21881
|
+
eind_slot?: number;
|
|
21882
|
+
id?: string;
|
|
21883
|
+
monteur_id?: string;
|
|
21884
|
+
start_slot?: number;
|
|
21885
|
+
updated_at?: string;
|
|
21886
|
+
weekdag?: number;
|
|
21887
|
+
};
|
|
21888
|
+
Relationships: [];
|
|
21889
|
+
};
|
|
21890
|
+
uren_standaardweek_wijzigingen: {
|
|
21891
|
+
Row: {
|
|
21892
|
+
beoordeeld_door: string | null;
|
|
21893
|
+
beoordeeld_op: string | null;
|
|
21894
|
+
created_at: string;
|
|
21895
|
+
huidig: import("./types").Json;
|
|
21896
|
+
id: string;
|
|
21897
|
+
monteur_id: string;
|
|
21898
|
+
reden_afkeur: string | null;
|
|
21899
|
+
status: string;
|
|
21900
|
+
updated_at: string;
|
|
21901
|
+
voorstel: import("./types").Json;
|
|
21902
|
+
};
|
|
21903
|
+
Insert: {
|
|
21904
|
+
beoordeeld_door?: string | null;
|
|
21905
|
+
beoordeeld_op?: string | null;
|
|
21906
|
+
created_at?: string;
|
|
21907
|
+
huidig?: import("./types").Json;
|
|
21908
|
+
id?: string;
|
|
21909
|
+
monteur_id: string;
|
|
21910
|
+
reden_afkeur?: string | null;
|
|
21911
|
+
status?: string;
|
|
21912
|
+
updated_at?: string;
|
|
21913
|
+
voorstel: import("./types").Json;
|
|
21914
|
+
};
|
|
21915
|
+
Update: {
|
|
21916
|
+
beoordeeld_door?: string | null;
|
|
21917
|
+
beoordeeld_op?: string | null;
|
|
21918
|
+
created_at?: string;
|
|
21919
|
+
huidig?: import("./types").Json;
|
|
21920
|
+
id?: string;
|
|
21921
|
+
monteur_id?: string;
|
|
21922
|
+
reden_afkeur?: string | null;
|
|
21923
|
+
status?: string;
|
|
21924
|
+
updated_at?: string;
|
|
21925
|
+
voorstel?: import("./types").Json;
|
|
21926
|
+
};
|
|
21927
|
+
Relationships: [];
|
|
21928
|
+
};
|
|
20606
21929
|
uren_tarieven: {
|
|
20607
21930
|
Row: {
|
|
20608
21931
|
created_at: string;
|
|
@@ -20687,6 +22010,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20687
22010
|
};
|
|
20688
22011
|
Relationships: [];
|
|
20689
22012
|
};
|
|
22013
|
+
uren_tijd_spiegel: {
|
|
22014
|
+
Row: {
|
|
22015
|
+
created_at: string;
|
|
22016
|
+
id: string;
|
|
22017
|
+
time_log_id: string;
|
|
22018
|
+
werkbon_time_log_id: string;
|
|
22019
|
+
};
|
|
22020
|
+
Insert: {
|
|
22021
|
+
created_at?: string;
|
|
22022
|
+
id?: string;
|
|
22023
|
+
time_log_id: string;
|
|
22024
|
+
werkbon_time_log_id: string;
|
|
22025
|
+
};
|
|
22026
|
+
Update: {
|
|
22027
|
+
created_at?: string;
|
|
22028
|
+
id?: string;
|
|
22029
|
+
time_log_id?: string;
|
|
22030
|
+
werkbon_time_log_id?: string;
|
|
22031
|
+
};
|
|
22032
|
+
Relationships: [{
|
|
22033
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
22034
|
+
columns: ["time_log_id"];
|
|
22035
|
+
isOneToOne: true;
|
|
22036
|
+
referencedRelation: "time_logs";
|
|
22037
|
+
referencedColumns: ["id"];
|
|
22038
|
+
}, {
|
|
22039
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
22040
|
+
columns: ["werkbon_time_log_id"];
|
|
22041
|
+
isOneToOne: true;
|
|
22042
|
+
referencedRelation: "werkbon_time_logs";
|
|
22043
|
+
referencedColumns: ["id"];
|
|
22044
|
+
}];
|
|
22045
|
+
};
|
|
20690
22046
|
uren_weekstaten: {
|
|
20691
22047
|
Row: {
|
|
20692
22048
|
approved_at: string | null;
|
|
@@ -20729,6 +22085,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20729
22085
|
};
|
|
20730
22086
|
Relationships: [];
|
|
20731
22087
|
};
|
|
22088
|
+
uren_werktijd_voorkeuren: {
|
|
22089
|
+
Row: {
|
|
22090
|
+
created_at: string;
|
|
22091
|
+
eind_slot: number;
|
|
22092
|
+
id: string;
|
|
22093
|
+
monteur_id: string;
|
|
22094
|
+
start_slot: number;
|
|
22095
|
+
updated_at: string;
|
|
22096
|
+
};
|
|
22097
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
22114
|
+
};
|
|
20732
22115
|
user_module_permissions: {
|
|
20733
22116
|
Row: {
|
|
20734
22117
|
created_at: string;
|
|
@@ -20786,6 +22169,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20786
22169
|
referencedColumns: ["id"];
|
|
20787
22170
|
}];
|
|
20788
22171
|
};
|
|
22172
|
+
vakantie_uitbetalingen: {
|
|
22173
|
+
Row: {
|
|
22174
|
+
created_at: string;
|
|
22175
|
+
created_by: string | null;
|
|
22176
|
+
days: number;
|
|
22177
|
+
id: string;
|
|
22178
|
+
note: string | null;
|
|
22179
|
+
updated_at: string;
|
|
22180
|
+
user_id: string;
|
|
22181
|
+
year: number;
|
|
22182
|
+
};
|
|
22183
|
+
Insert: {
|
|
22184
|
+
created_at?: string;
|
|
22185
|
+
created_by?: string | null;
|
|
22186
|
+
days: number;
|
|
22187
|
+
id?: string;
|
|
22188
|
+
note?: string | null;
|
|
22189
|
+
updated_at?: string;
|
|
22190
|
+
user_id: string;
|
|
22191
|
+
year?: number;
|
|
22192
|
+
};
|
|
22193
|
+
Update: {
|
|
22194
|
+
created_at?: string;
|
|
22195
|
+
created_by?: string | null;
|
|
22196
|
+
days?: number;
|
|
22197
|
+
id?: string;
|
|
22198
|
+
note?: string | null;
|
|
22199
|
+
updated_at?: string;
|
|
22200
|
+
user_id?: string;
|
|
22201
|
+
year?: number;
|
|
22202
|
+
};
|
|
22203
|
+
Relationships: [{
|
|
22204
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22205
|
+
columns: ["created_by"];
|
|
22206
|
+
isOneToOne: false;
|
|
22207
|
+
referencedRelation: "profiles";
|
|
22208
|
+
referencedColumns: ["id"];
|
|
22209
|
+
}, {
|
|
22210
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22211
|
+
columns: ["user_id"];
|
|
22212
|
+
isOneToOne: false;
|
|
22213
|
+
referencedRelation: "profiles";
|
|
22214
|
+
referencedColumns: ["id"];
|
|
22215
|
+
}];
|
|
22216
|
+
};
|
|
20789
22217
|
van_inventories: {
|
|
20790
22218
|
Row: {
|
|
20791
22219
|
barcode: string | null;
|
|
@@ -21660,10 +23088,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21660
23088
|
Row: {
|
|
21661
23089
|
article_number: string | null;
|
|
21662
23090
|
artikel_id: string | null;
|
|
23091
|
+
cost_price_cents: number;
|
|
21663
23092
|
created_at: string;
|
|
21664
23093
|
gtin: string | null;
|
|
21665
23094
|
id: string;
|
|
21666
23095
|
manufacturer: string | null;
|
|
23096
|
+
margin_percent: number | null;
|
|
21667
23097
|
omschrijving: string;
|
|
21668
23098
|
package_id: string;
|
|
21669
23099
|
price_synced_at: string | null;
|
|
@@ -21678,10 +23108,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21678
23108
|
Insert: {
|
|
21679
23109
|
article_number?: string | null;
|
|
21680
23110
|
artikel_id?: string | null;
|
|
23111
|
+
cost_price_cents?: number;
|
|
21681
23112
|
created_at?: string;
|
|
21682
23113
|
gtin?: string | null;
|
|
21683
23114
|
id?: string;
|
|
21684
23115
|
manufacturer?: string | null;
|
|
23116
|
+
margin_percent?: number | null;
|
|
21685
23117
|
omschrijving: string;
|
|
21686
23118
|
package_id: string;
|
|
21687
23119
|
price_synced_at?: string | null;
|
|
@@ -21696,10 +23128,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21696
23128
|
Update: {
|
|
21697
23129
|
article_number?: string | null;
|
|
21698
23130
|
artikel_id?: string | null;
|
|
23131
|
+
cost_price_cents?: number;
|
|
21699
23132
|
created_at?: string;
|
|
21700
23133
|
gtin?: string | null;
|
|
21701
23134
|
id?: string;
|
|
21702
23135
|
manufacturer?: string | null;
|
|
23136
|
+
margin_percent?: number | null;
|
|
21703
23137
|
omschrijving?: string;
|
|
21704
23138
|
package_id?: string;
|
|
21705
23139
|
price_synced_at?: string | null;
|
|
@@ -21782,7 +23216,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21782
23216
|
created_at: string;
|
|
21783
23217
|
default_quantity: number;
|
|
21784
23218
|
description: string | null;
|
|
21785
|
-
duration_minutes: number
|
|
23219
|
+
duration_minutes: number;
|
|
21786
23220
|
id: string;
|
|
21787
23221
|
mandaat_type: string | null;
|
|
21788
23222
|
name: string;
|
|
@@ -21799,7 +23233,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21799
23233
|
created_at?: string;
|
|
21800
23234
|
default_quantity?: number;
|
|
21801
23235
|
description?: string | null;
|
|
21802
|
-
duration_minutes?: number
|
|
23236
|
+
duration_minutes?: number;
|
|
21803
23237
|
id?: string;
|
|
21804
23238
|
mandaat_type?: string | null;
|
|
21805
23239
|
name: string;
|
|
@@ -21816,7 +23250,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21816
23250
|
created_at?: string;
|
|
21817
23251
|
default_quantity?: number;
|
|
21818
23252
|
description?: string | null;
|
|
21819
|
-
duration_minutes?: number
|
|
23253
|
+
duration_minutes?: number;
|
|
21820
23254
|
id?: string;
|
|
21821
23255
|
mandaat_type?: string | null;
|
|
21822
23256
|
name?: string;
|
|
@@ -22064,6 +23498,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22064
23498
|
referencedColumns: ["id"];
|
|
22065
23499
|
}];
|
|
22066
23500
|
};
|
|
23501
|
+
werkbon_voorstellen: {
|
|
23502
|
+
Row: {
|
|
23503
|
+
bron_werkbon_id: string;
|
|
23504
|
+
budget_mandate_cents: number;
|
|
23505
|
+
created_at: string;
|
|
23506
|
+
created_by: string;
|
|
23507
|
+
customer_id: string | null;
|
|
23508
|
+
id: string;
|
|
23509
|
+
payload: import("./types").Json;
|
|
23510
|
+
reden: string | null;
|
|
23511
|
+
status: string;
|
|
23512
|
+
updated_at: string;
|
|
23513
|
+
verwerkt_door: string | null;
|
|
23514
|
+
verwerkt_op: string | null;
|
|
23515
|
+
werkbon_id: string | null;
|
|
23516
|
+
};
|
|
23517
|
+
Insert: {
|
|
23518
|
+
bron_werkbon_id: string;
|
|
23519
|
+
budget_mandate_cents?: number;
|
|
23520
|
+
created_at?: string;
|
|
23521
|
+
created_by?: string;
|
|
23522
|
+
customer_id?: string | null;
|
|
23523
|
+
id?: string;
|
|
23524
|
+
payload?: import("./types").Json;
|
|
23525
|
+
reden?: string | null;
|
|
23526
|
+
status?: string;
|
|
23527
|
+
updated_at?: string;
|
|
23528
|
+
verwerkt_door?: string | null;
|
|
23529
|
+
verwerkt_op?: string | null;
|
|
23530
|
+
werkbon_id?: string | null;
|
|
23531
|
+
};
|
|
23532
|
+
Update: {
|
|
23533
|
+
bron_werkbon_id?: string;
|
|
23534
|
+
budget_mandate_cents?: number;
|
|
23535
|
+
created_at?: string;
|
|
23536
|
+
created_by?: string;
|
|
23537
|
+
customer_id?: string | null;
|
|
23538
|
+
id?: string;
|
|
23539
|
+
payload?: import("./types").Json;
|
|
23540
|
+
reden?: string | null;
|
|
23541
|
+
status?: string;
|
|
23542
|
+
updated_at?: string;
|
|
23543
|
+
verwerkt_door?: string | null;
|
|
23544
|
+
verwerkt_op?: string | null;
|
|
23545
|
+
werkbon_id?: string | null;
|
|
23546
|
+
};
|
|
23547
|
+
Relationships: [{
|
|
23548
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23549
|
+
columns: ["bron_werkbon_id"];
|
|
23550
|
+
isOneToOne: false;
|
|
23551
|
+
referencedRelation: "werkbonnen";
|
|
23552
|
+
referencedColumns: ["id"];
|
|
23553
|
+
}, {
|
|
23554
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23555
|
+
columns: ["bron_werkbon_id"];
|
|
23556
|
+
isOneToOne: false;
|
|
23557
|
+
referencedRelation: "wo_overview";
|
|
23558
|
+
referencedColumns: ["id"];
|
|
23559
|
+
}, {
|
|
23560
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23561
|
+
columns: ["werkbon_id"];
|
|
23562
|
+
isOneToOne: false;
|
|
23563
|
+
referencedRelation: "werkbonnen";
|
|
23564
|
+
referencedColumns: ["id"];
|
|
23565
|
+
}, {
|
|
23566
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23567
|
+
columns: ["werkbon_id"];
|
|
23568
|
+
isOneToOne: false;
|
|
23569
|
+
referencedRelation: "wo_overview";
|
|
23570
|
+
referencedColumns: ["id"];
|
|
23571
|
+
}];
|
|
23572
|
+
};
|
|
22067
23573
|
werkbonnen: {
|
|
22068
23574
|
Row: {
|
|
22069
23575
|
assigned_user_id: string | null;
|
|
@@ -22671,6 +24177,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22671
24177
|
};
|
|
22672
24178
|
Relationships: [];
|
|
22673
24179
|
};
|
|
24180
|
+
logistics_packing_diff: {
|
|
24181
|
+
Row: {
|
|
24182
|
+
dev_key: string | null;
|
|
24183
|
+
floriday_packing: import("./types").Json | null;
|
|
24184
|
+
local_packing: import("./types").Json | null;
|
|
24185
|
+
order_id: string | null;
|
|
24186
|
+
order_item_id: string | null;
|
|
24187
|
+
order_number: string | null;
|
|
24188
|
+
product_id: string | null;
|
|
24189
|
+
product_name: string | null;
|
|
24190
|
+
scope: string | null;
|
|
24191
|
+
trade_item_id: string | null;
|
|
24192
|
+
};
|
|
24193
|
+
Relationships: [];
|
|
24194
|
+
};
|
|
22674
24195
|
logistics_product_dimensions: {
|
|
22675
24196
|
Row: {
|
|
22676
24197
|
dimension_source: string | null;
|
|
@@ -23289,6 +24810,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23289
24810
|
};
|
|
23290
24811
|
Returns: undefined;
|
|
23291
24812
|
};
|
|
24813
|
+
_wo_is_planner: {
|
|
24814
|
+
Args: never;
|
|
24815
|
+
Returns: boolean;
|
|
24816
|
+
};
|
|
23292
24817
|
afh_city_code: {
|
|
23293
24818
|
Args: {
|
|
23294
24819
|
_city: string;
|
|
@@ -23899,10 +25424,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23899
25424
|
};
|
|
23900
25425
|
Returns: number;
|
|
23901
25426
|
};
|
|
23902
|
-
|
|
25427
|
+
control_mark_carts_delivered_detail: {
|
|
25428
|
+
Args: {
|
|
25429
|
+
p_carts: import("./types").Json;
|
|
25430
|
+
};
|
|
25431
|
+
Returns: {
|
|
25432
|
+
cart_index: number;
|
|
25433
|
+
frozen: boolean;
|
|
25434
|
+
message: string;
|
|
25435
|
+
order_id: string;
|
|
25436
|
+
order_source: string;
|
|
25437
|
+
outcome: string;
|
|
25438
|
+
}[];
|
|
25439
|
+
};
|
|
25440
|
+
count_distinct_regulatory_products: {
|
|
23903
25441
|
Args: never;
|
|
23904
25442
|
Returns: number;
|
|
23905
25443
|
};
|
|
25444
|
+
create_order_from_public_offer: {
|
|
25445
|
+
Args: {
|
|
25446
|
+
p_carrier_id?: string;
|
|
25447
|
+
p_delivery_date?: string;
|
|
25448
|
+
p_delivery_garden_id?: string;
|
|
25449
|
+
p_offer_order_id: string;
|
|
25450
|
+
};
|
|
25451
|
+
Returns: import("./types").Json;
|
|
25452
|
+
};
|
|
23906
25453
|
current_monteur_id: {
|
|
23907
25454
|
Args: never;
|
|
23908
25455
|
Returns: string;
|
|
@@ -24379,6 +25926,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24379
25926
|
};
|
|
24380
25927
|
Returns: number;
|
|
24381
25928
|
};
|
|
25929
|
+
get_product_stock: {
|
|
25930
|
+
Args: {
|
|
25931
|
+
p_product_id: string;
|
|
25932
|
+
};
|
|
25933
|
+
Returns: {
|
|
25934
|
+
connection_id: string;
|
|
25935
|
+
incoming_stock: number;
|
|
25936
|
+
minimum_stock: number;
|
|
25937
|
+
notes: string;
|
|
25938
|
+
physical_stock: number;
|
|
25939
|
+
product_id: string;
|
|
25940
|
+
reserved_stock: number;
|
|
25941
|
+
trade_item_key: string;
|
|
25942
|
+
updated_at: string;
|
|
25943
|
+
}[];
|
|
25944
|
+
};
|
|
24382
25945
|
get_room_busy_windows: {
|
|
24383
25946
|
Args: {
|
|
24384
25947
|
p_from: string;
|
|
@@ -24683,13 +26246,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24683
26246
|
};
|
|
24684
26247
|
Returns: import("./types").Json;
|
|
24685
26248
|
};
|
|
26249
|
+
inkoop_cancel_line: {
|
|
26250
|
+
Args: {
|
|
26251
|
+
_item_id: string;
|
|
26252
|
+
_reason: string;
|
|
26253
|
+
};
|
|
26254
|
+
Returns: string;
|
|
26255
|
+
};
|
|
26256
|
+
inkoop_get_supplier_request: {
|
|
26257
|
+
Args: {
|
|
26258
|
+
_token: string;
|
|
26259
|
+
};
|
|
26260
|
+
Returns: import("./types").Json;
|
|
26261
|
+
};
|
|
26262
|
+
inkoop_hash_token: {
|
|
26263
|
+
Args: {
|
|
26264
|
+
_token: string;
|
|
26265
|
+
};
|
|
26266
|
+
Returns: string;
|
|
26267
|
+
};
|
|
26268
|
+
inkoop_html_escape: {
|
|
26269
|
+
Args: {
|
|
26270
|
+
_t: string;
|
|
26271
|
+
};
|
|
26272
|
+
Returns: string;
|
|
26273
|
+
};
|
|
26274
|
+
inkoop_list_artikelen: {
|
|
26275
|
+
Args: never;
|
|
26276
|
+
Returns: {
|
|
26277
|
+
article_number: string;
|
|
26278
|
+
barcode: string;
|
|
26279
|
+
id: string;
|
|
26280
|
+
incoming_quantity: number;
|
|
26281
|
+
is_layer: boolean;
|
|
26282
|
+
location: string;
|
|
26283
|
+
min_quantity: number;
|
|
26284
|
+
preferred_supplier_name: string;
|
|
26285
|
+
product: string;
|
|
26286
|
+
product_type: string;
|
|
26287
|
+
purchase_price: number;
|
|
26288
|
+
quantity: number;
|
|
26289
|
+
sale_price: number;
|
|
26290
|
+
supplier_count: number;
|
|
26291
|
+
unit: string;
|
|
26292
|
+
}[];
|
|
26293
|
+
};
|
|
24686
26294
|
inkoop_next_order_number: {
|
|
24687
26295
|
Args: never;
|
|
24688
26296
|
Returns: string;
|
|
24689
26297
|
};
|
|
26298
|
+
inkoop_process_request: {
|
|
26299
|
+
Args: {
|
|
26300
|
+
_request_id: string;
|
|
26301
|
+
};
|
|
26302
|
+
Returns: undefined;
|
|
26303
|
+
};
|
|
24690
26304
|
inkoop_send_order: {
|
|
24691
26305
|
Args: {
|
|
26306
|
+
_base_url?: string;
|
|
24692
26307
|
_order_id: string;
|
|
26308
|
+
_resend?: boolean;
|
|
24693
26309
|
};
|
|
24694
26310
|
Returns: {
|
|
24695
26311
|
outbox_id: string;
|
|
@@ -24697,6 +26313,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24697
26313
|
to_address: string;
|
|
24698
26314
|
}[];
|
|
24699
26315
|
};
|
|
26316
|
+
inkoop_set_preferred_supplier: {
|
|
26317
|
+
Args: {
|
|
26318
|
+
_product_id: string;
|
|
26319
|
+
_supplier_id: string;
|
|
26320
|
+
};
|
|
26321
|
+
Returns: undefined;
|
|
26322
|
+
};
|
|
26323
|
+
inkoop_stock_key: {
|
|
26324
|
+
Args: {
|
|
26325
|
+
p_product_id: string;
|
|
26326
|
+
};
|
|
26327
|
+
Returns: string;
|
|
26328
|
+
};
|
|
26329
|
+
inkoop_submit_supplier_response: {
|
|
26330
|
+
Args: {
|
|
26331
|
+
_lines: import("./types").Json;
|
|
26332
|
+
_note?: string;
|
|
26333
|
+
_token: string;
|
|
26334
|
+
};
|
|
26335
|
+
Returns: import("./types").Json;
|
|
26336
|
+
};
|
|
26337
|
+
inkoop_sync_item_stock: {
|
|
26338
|
+
Args: {
|
|
26339
|
+
p_item_id: string;
|
|
26340
|
+
};
|
|
26341
|
+
Returns: undefined;
|
|
26342
|
+
};
|
|
24700
26343
|
instructie_get: {
|
|
24701
26344
|
Args: {
|
|
24702
26345
|
_sleutel: string;
|
|
@@ -24716,6 +26359,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24716
26359
|
};
|
|
24717
26360
|
Returns: number;
|
|
24718
26361
|
};
|
|
26362
|
+
invoice_branding_snapshot: {
|
|
26363
|
+
Args: never;
|
|
26364
|
+
Returns: import("./types").Json;
|
|
26365
|
+
};
|
|
24719
26366
|
invoice_create_from_source: {
|
|
24720
26367
|
Args: {
|
|
24721
26368
|
_payload?: import("./types").Json;
|
|
@@ -24750,12 +26397,41 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24750
26397
|
};
|
|
24751
26398
|
Returns: import("./types").Json;
|
|
24752
26399
|
};
|
|
26400
|
+
invoice_mark_sent: {
|
|
26401
|
+
Args: {
|
|
26402
|
+
_invoice_id: string;
|
|
26403
|
+
_to: string;
|
|
26404
|
+
};
|
|
26405
|
+
Returns: undefined;
|
|
26406
|
+
};
|
|
26407
|
+
invoice_peek_next_number: {
|
|
26408
|
+
Args: never;
|
|
26409
|
+
Returns: string;
|
|
26410
|
+
};
|
|
26411
|
+
invoice_ready_work_orders: {
|
|
26412
|
+
Args: {
|
|
26413
|
+
_limit?: number;
|
|
26414
|
+
};
|
|
26415
|
+
Returns: import("./types").Json;
|
|
26416
|
+
};
|
|
24753
26417
|
invoice_recalc_totals: {
|
|
24754
26418
|
Args: {
|
|
24755
26419
|
_invoice_id: string;
|
|
24756
26420
|
};
|
|
24757
26421
|
Returns: import("./types").Json;
|
|
24758
26422
|
};
|
|
26423
|
+
invoice_save_branding_settings: {
|
|
26424
|
+
Args: {
|
|
26425
|
+
_payload: import("./types").Json;
|
|
26426
|
+
};
|
|
26427
|
+
Returns: import("./types").Json;
|
|
26428
|
+
};
|
|
26429
|
+
invoice_set_email_purpose: {
|
|
26430
|
+
Args: {
|
|
26431
|
+
_purpose: string;
|
|
26432
|
+
};
|
|
26433
|
+
Returns: string;
|
|
26434
|
+
};
|
|
24759
26435
|
invoice_source_lines: {
|
|
24760
26436
|
Args: {
|
|
24761
26437
|
_source_id: string;
|
|
@@ -24763,6 +26439,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24763
26439
|
};
|
|
24764
26440
|
Returns: import("./types").Json;
|
|
24765
26441
|
};
|
|
26442
|
+
invoice_update_full: {
|
|
26443
|
+
Args: {
|
|
26444
|
+
_invoice_id: string;
|
|
26445
|
+
_payload: import("./types").Json;
|
|
26446
|
+
};
|
|
26447
|
+
Returns: import("./types").Json;
|
|
26448
|
+
};
|
|
26449
|
+
invoice_work_order_locked: {
|
|
26450
|
+
Args: {
|
|
26451
|
+
_werkbon_id: string;
|
|
26452
|
+
};
|
|
26453
|
+
Returns: import("./types").Json;
|
|
26454
|
+
};
|
|
24766
26455
|
is_authenticated: {
|
|
24767
26456
|
Args: never;
|
|
24768
26457
|
Returns: boolean;
|
|
@@ -24811,6 +26500,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24811
26500
|
};
|
|
24812
26501
|
Returns: boolean;
|
|
24813
26502
|
};
|
|
26503
|
+
layout_print_document: {
|
|
26504
|
+
Args: {
|
|
26505
|
+
_documentnaam: string;
|
|
26506
|
+
_documenttype: string;
|
|
26507
|
+
_herkomst?: string;
|
|
26508
|
+
_idempotentie_sleutel?: string;
|
|
26509
|
+
_is_herprint?: boolean;
|
|
26510
|
+
_kopieen?: number;
|
|
26511
|
+
_layout_id?: string;
|
|
26512
|
+
_payload?: import("./types").Json;
|
|
26513
|
+
_pdf_base64?: string;
|
|
26514
|
+
_pdf_url?: string;
|
|
26515
|
+
_print_plek_id?: string;
|
|
26516
|
+
_werkplek?: string;
|
|
26517
|
+
};
|
|
26518
|
+
Returns: {
|
|
26519
|
+
bestaand: boolean;
|
|
26520
|
+
job_id: string;
|
|
26521
|
+
printer_id: string;
|
|
26522
|
+
}[];
|
|
26523
|
+
};
|
|
24814
26524
|
list_medewerkers: {
|
|
24815
26525
|
Args: never;
|
|
24816
26526
|
Returns: {
|
|
@@ -24995,6 +26705,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24995
26705
|
};
|
|
24996
26706
|
Returns: import("./types").Json;
|
|
24997
26707
|
};
|
|
26708
|
+
logistics_buffer_decision_for_settings: {
|
|
26709
|
+
Args: {
|
|
26710
|
+
p_order: import("./types").Json;
|
|
26711
|
+
p_settings: import("./types").Json;
|
|
26712
|
+
p_user_id?: string;
|
|
26713
|
+
};
|
|
26714
|
+
Returns: import("./types").Json;
|
|
26715
|
+
};
|
|
24998
26716
|
logistics_buffer_detach_late_orders: {
|
|
24999
26717
|
Args: {
|
|
25000
26718
|
p_buffer?: string;
|
|
@@ -25028,6 +26746,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25028
26746
|
};
|
|
25029
26747
|
Returns: string;
|
|
25030
26748
|
};
|
|
26749
|
+
logistics_buffer_payload: {
|
|
26750
|
+
Args: {
|
|
26751
|
+
p_order_id: string;
|
|
26752
|
+
};
|
|
26753
|
+
Returns: import("./types").Json;
|
|
26754
|
+
};
|
|
25031
26755
|
logistics_buffer_simulate: {
|
|
25032
26756
|
Args: {
|
|
25033
26757
|
p_orders?: import("./types").Json;
|
|
@@ -25074,6 +26798,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25074
26798
|
};
|
|
25075
26799
|
Returns: number;
|
|
25076
26800
|
};
|
|
26801
|
+
logistics_cart_barcode_opschonen: {
|
|
26802
|
+
Args: {
|
|
26803
|
+
p_portie?: number;
|
|
26804
|
+
};
|
|
26805
|
+
Returns: import("./types").Json;
|
|
26806
|
+
};
|
|
25077
26807
|
logistics_cart_barcode_value: {
|
|
25078
26808
|
Args: {
|
|
25079
26809
|
_cart_id: string;
|
|
@@ -25086,6 +26816,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25086
26816
|
};
|
|
25087
26817
|
Returns: string;
|
|
25088
26818
|
};
|
|
26819
|
+
logistics_cart_coverage_check: {
|
|
26820
|
+
Args: never;
|
|
26821
|
+
Returns: import("./types").Json;
|
|
26822
|
+
};
|
|
25089
26823
|
logistics_cart_handled: {
|
|
25090
26824
|
Args: {
|
|
25091
26825
|
p_cart_index: number;
|
|
@@ -25329,6 +27063,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25329
27063
|
isSetofReturn: false;
|
|
25330
27064
|
};
|
|
25331
27065
|
};
|
|
27066
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
27067
|
+
Args: {
|
|
27068
|
+
p_limit?: number;
|
|
27069
|
+
p_order_id: string;
|
|
27070
|
+
};
|
|
27071
|
+
Returns: import("./types").Json;
|
|
27072
|
+
};
|
|
27073
|
+
logistics_cleanup_history: {
|
|
27074
|
+
Args: {
|
|
27075
|
+
p_limit?: number;
|
|
27076
|
+
};
|
|
27077
|
+
Returns: import("./types").Json;
|
|
27078
|
+
};
|
|
25332
27079
|
logistics_cleanup_orphan_print_jobs: {
|
|
25333
27080
|
Args: never;
|
|
25334
27081
|
Returns: import("./types").Json;
|
|
@@ -25476,6 +27223,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25476
27223
|
};
|
|
25477
27224
|
Returns: import("./types").Json;
|
|
25478
27225
|
};
|
|
27226
|
+
logistics_control_scan_print_own: {
|
|
27227
|
+
Args: {
|
|
27228
|
+
p_is_herprint?: boolean;
|
|
27229
|
+
p_scan_id: string;
|
|
27230
|
+
};
|
|
27231
|
+
Returns: import("./types").Json;
|
|
27232
|
+
};
|
|
25479
27233
|
logistics_control_scan_retry: {
|
|
25480
27234
|
Args: {
|
|
25481
27235
|
_id: string;
|
|
@@ -25486,6 +27240,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25486
27240
|
Args: never;
|
|
25487
27241
|
Returns: import("./types").Json;
|
|
25488
27242
|
};
|
|
27243
|
+
logistics_cron_health: {
|
|
27244
|
+
Args: never;
|
|
27245
|
+
Returns: import("./types").Json;
|
|
27246
|
+
};
|
|
25489
27247
|
logistics_day_windows: {
|
|
25490
27248
|
Args: {
|
|
25491
27249
|
p_day: string;
|
|
@@ -25835,6 +27593,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25835
27593
|
};
|
|
25836
27594
|
Returns: number;
|
|
25837
27595
|
};
|
|
27596
|
+
logistics_merge_decision: {
|
|
27597
|
+
Args: {
|
|
27598
|
+
p_lines: import("./types").Json;
|
|
27599
|
+
};
|
|
27600
|
+
Returns: import("./types").Json;
|
|
27601
|
+
};
|
|
25838
27602
|
logistics_merge_floriday_lines: {
|
|
25839
27603
|
Args: {
|
|
25840
27604
|
p_order_id: string;
|
|
@@ -25881,6 +27645,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25881
27645
|
Args: never;
|
|
25882
27646
|
Returns: string;
|
|
25883
27647
|
};
|
|
27648
|
+
logistics_order_backlog_info: {
|
|
27649
|
+
Args: {
|
|
27650
|
+
p_order_id: string;
|
|
27651
|
+
};
|
|
27652
|
+
Returns: import("./types").Json;
|
|
27653
|
+
};
|
|
25884
27654
|
logistics_order_cart_approval: {
|
|
25885
27655
|
Args: {
|
|
25886
27656
|
_order_ref: string;
|
|
@@ -25915,6 +27685,50 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25915
27685
|
};
|
|
25916
27686
|
Returns: boolean;
|
|
25917
27687
|
};
|
|
27688
|
+
logistics_order_finalize_enqueue: {
|
|
27689
|
+
Args: {
|
|
27690
|
+
p_order_id: string;
|
|
27691
|
+
p_reason?: string;
|
|
27692
|
+
};
|
|
27693
|
+
Returns: undefined;
|
|
27694
|
+
};
|
|
27695
|
+
logistics_order_finalize_overview: {
|
|
27696
|
+
Args: never;
|
|
27697
|
+
Returns: {
|
|
27698
|
+
bezig: number;
|
|
27699
|
+
laatst_afgerond: string;
|
|
27700
|
+
laatste_fout: string;
|
|
27701
|
+
mislukt: number;
|
|
27702
|
+
oudste_wachttijd_seconden: number;
|
|
27703
|
+
wachtend: number;
|
|
27704
|
+
}[];
|
|
27705
|
+
};
|
|
27706
|
+
logistics_order_finalize_prune: {
|
|
27707
|
+
Args: {
|
|
27708
|
+
p_days?: number;
|
|
27709
|
+
};
|
|
27710
|
+
Returns: number;
|
|
27711
|
+
};
|
|
27712
|
+
logistics_order_finalize_reconcile: {
|
|
27713
|
+
Args: {
|
|
27714
|
+
p_days?: number;
|
|
27715
|
+
p_limit?: number;
|
|
27716
|
+
};
|
|
27717
|
+
Returns: number;
|
|
27718
|
+
};
|
|
27719
|
+
logistics_order_finalize_retry: {
|
|
27720
|
+
Args: {
|
|
27721
|
+
p_order_id: string;
|
|
27722
|
+
};
|
|
27723
|
+
Returns: boolean;
|
|
27724
|
+
};
|
|
27725
|
+
logistics_order_finalize_run: {
|
|
27726
|
+
Args: {
|
|
27727
|
+
p_lease_seconds?: number;
|
|
27728
|
+
p_limit?: number;
|
|
27729
|
+
};
|
|
27730
|
+
Returns: number;
|
|
27731
|
+
};
|
|
25918
27732
|
logistics_order_frozen: {
|
|
25919
27733
|
Args: {
|
|
25920
27734
|
p_order_id: string;
|
|
@@ -25927,6 +27741,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25927
27741
|
};
|
|
25928
27742
|
Returns: boolean;
|
|
25929
27743
|
};
|
|
27744
|
+
logistics_order_is_backlog: {
|
|
27745
|
+
Args: {
|
|
27746
|
+
p_order_id: string;
|
|
27747
|
+
};
|
|
27748
|
+
Returns: boolean;
|
|
27749
|
+
};
|
|
25930
27750
|
logistics_order_is_topick: {
|
|
25931
27751
|
Args: {
|
|
25932
27752
|
p_order_id: string;
|
|
@@ -25934,6 +27754,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25934
27754
|
};
|
|
25935
27755
|
Returns: boolean;
|
|
25936
27756
|
};
|
|
27757
|
+
logistics_order_line_duplicates: {
|
|
27758
|
+
Args: {
|
|
27759
|
+
p_order_id: string;
|
|
27760
|
+
};
|
|
27761
|
+
Returns: import("./types").Json;
|
|
27762
|
+
};
|
|
25937
27763
|
logistics_order_merge_key: {
|
|
25938
27764
|
Args: {
|
|
25939
27765
|
p_group_key: string;
|
|
@@ -25977,6 +27803,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25977
27803
|
};
|
|
25978
27804
|
Returns: boolean;
|
|
25979
27805
|
};
|
|
27806
|
+
logistics_packing_autofix: {
|
|
27807
|
+
Args: {
|
|
27808
|
+
p_limit?: number;
|
|
27809
|
+
};
|
|
27810
|
+
Returns: number;
|
|
27811
|
+
};
|
|
27812
|
+
logistics_packing_block_reason: {
|
|
27813
|
+
Args: {
|
|
27814
|
+
p_order_id: string;
|
|
27815
|
+
p_order_item_id: string;
|
|
27816
|
+
};
|
|
27817
|
+
Returns: string;
|
|
27818
|
+
};
|
|
27819
|
+
logistics_packing_dismiss: {
|
|
27820
|
+
Args: {
|
|
27821
|
+
p_id: string;
|
|
27822
|
+
p_note?: string;
|
|
27823
|
+
};
|
|
27824
|
+
Returns: boolean;
|
|
27825
|
+
};
|
|
27826
|
+
logistics_packing_overview: {
|
|
27827
|
+
Args: never;
|
|
27828
|
+
Returns: {
|
|
27829
|
+
beoordelen: number;
|
|
27830
|
+
herstelbaar: number;
|
|
27831
|
+
laatst_gemeten: string;
|
|
27832
|
+
laatst_hersteld: string;
|
|
27833
|
+
open_totaal: number;
|
|
27834
|
+
orders: number;
|
|
27835
|
+
oudste_seconden: number;
|
|
27836
|
+
producten: number;
|
|
27837
|
+
}[];
|
|
27838
|
+
};
|
|
27839
|
+
logistics_packing_reconcile: {
|
|
27840
|
+
Args: {
|
|
27841
|
+
p_fix_limit?: number;
|
|
27842
|
+
p_scan_limit?: number;
|
|
27843
|
+
};
|
|
27844
|
+
Returns: {
|
|
27845
|
+
beoordelen: number;
|
|
27846
|
+
gevonden: number;
|
|
27847
|
+
hersteld: number;
|
|
27848
|
+
}[];
|
|
27849
|
+
};
|
|
27850
|
+
logistics_packing_scan: {
|
|
27851
|
+
Args: {
|
|
27852
|
+
p_limit?: number;
|
|
27853
|
+
};
|
|
27854
|
+
Returns: number;
|
|
27855
|
+
};
|
|
27856
|
+
logistics_packing_set_manual: {
|
|
27857
|
+
Args: {
|
|
27858
|
+
p_manual?: boolean;
|
|
27859
|
+
p_order_item_id: string;
|
|
27860
|
+
};
|
|
27861
|
+
Returns: boolean;
|
|
27862
|
+
};
|
|
25980
27863
|
logistics_parse_pickup: {
|
|
25981
27864
|
Args: {
|
|
25982
27865
|
p_value: string;
|
|
@@ -26005,6 +27888,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26005
27888
|
shifted_count: number;
|
|
26006
27889
|
}[];
|
|
26007
27890
|
};
|
|
27891
|
+
logistics_pick_backlog_max_days: {
|
|
27892
|
+
Args: never;
|
|
27893
|
+
Returns: number;
|
|
27894
|
+
};
|
|
26008
27895
|
logistics_pick_barcode_enabled: {
|
|
26009
27896
|
Args: never;
|
|
26010
27897
|
Returns: boolean;
|
|
@@ -26226,16 +28113,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26226
28113
|
Args: never;
|
|
26227
28114
|
Returns: number;
|
|
26228
28115
|
};
|
|
28116
|
+
logistics_planner_cart_snapshot: {
|
|
28117
|
+
Args: {
|
|
28118
|
+
p_buffer_id: string;
|
|
28119
|
+
p_order_id: string;
|
|
28120
|
+
};
|
|
28121
|
+
Returns: import("./types").Json;
|
|
28122
|
+
};
|
|
28123
|
+
logistics_planner_diff_mode: {
|
|
28124
|
+
Args: never;
|
|
28125
|
+
Returns: string;
|
|
28126
|
+
};
|
|
28127
|
+
logistics_planner_diff_prune: {
|
|
28128
|
+
Args: never;
|
|
28129
|
+
Returns: number;
|
|
28130
|
+
};
|
|
26229
28131
|
logistics_prepare_pick_documents: {
|
|
26230
28132
|
Args: {
|
|
26231
28133
|
p_limit?: number;
|
|
26232
28134
|
};
|
|
26233
28135
|
Returns: import("./types").Json;
|
|
26234
28136
|
};
|
|
28137
|
+
logistics_print_via_layout: {
|
|
28138
|
+
Args: {
|
|
28139
|
+
_documentnaam: string;
|
|
28140
|
+
_documenttype: string;
|
|
28141
|
+
_herkomst: string;
|
|
28142
|
+
_idempotentie_sleutel: string;
|
|
28143
|
+
_is_herprint: boolean;
|
|
28144
|
+
_layout_id: string;
|
|
28145
|
+
_payload: import("./types").Json;
|
|
28146
|
+
_pdf_base64: string;
|
|
28147
|
+
_pdf_url: string;
|
|
28148
|
+
_print_plek_id: string;
|
|
28149
|
+
};
|
|
28150
|
+
Returns: import("./types").Json;
|
|
28151
|
+
};
|
|
26235
28152
|
logistics_prune_buffer_member_queue: {
|
|
26236
28153
|
Args: never;
|
|
26237
28154
|
Returns: number;
|
|
26238
28155
|
};
|
|
28156
|
+
logistics_prune_cron_history: {
|
|
28157
|
+
Args: {
|
|
28158
|
+
p_days?: number;
|
|
28159
|
+
};
|
|
28160
|
+
Returns: number;
|
|
28161
|
+
};
|
|
26239
28162
|
logistics_prune_handled_pick_queue: {
|
|
26240
28163
|
Args: never;
|
|
26241
28164
|
Returns: number;
|
|
@@ -26272,6 +28195,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26272
28195
|
Args: never;
|
|
26273
28196
|
Returns: import("./types").Json;
|
|
26274
28197
|
};
|
|
28198
|
+
logistics_recalc_tick_kick: {
|
|
28199
|
+
Args: never;
|
|
28200
|
+
Returns: number;
|
|
28201
|
+
};
|
|
28202
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28203
|
+
Args: never;
|
|
28204
|
+
Returns: number;
|
|
28205
|
+
};
|
|
26275
28206
|
logistics_refresh_pick_queue_status: {
|
|
26276
28207
|
Args: {
|
|
26277
28208
|
p_ref: string;
|
|
@@ -26302,11 +28233,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26302
28233
|
};
|
|
26303
28234
|
Returns: import("./types").Json;
|
|
26304
28235
|
};
|
|
28236
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
28237
|
+
Args: {
|
|
28238
|
+
p_order_id: string;
|
|
28239
|
+
p_reason: string;
|
|
28240
|
+
};
|
|
28241
|
+
Returns: import("./types").Json;
|
|
28242
|
+
};
|
|
26305
28243
|
logistics_replan_order_journey: {
|
|
26306
28244
|
Args: {
|
|
26307
28245
|
p_order_ref: string;
|
|
26308
28246
|
};
|
|
26309
28247
|
Returns: import("./types").Json;
|
|
28248
|
+
} | {
|
|
28249
|
+
Args: {
|
|
28250
|
+
p_order_ref: string;
|
|
28251
|
+
p_reason: string;
|
|
28252
|
+
};
|
|
28253
|
+
Returns: import("./types").Json;
|
|
26310
28254
|
};
|
|
26311
28255
|
logistics_report_delay: {
|
|
26312
28256
|
Args: {
|
|
@@ -26352,6 +28296,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26352
28296
|
};
|
|
26353
28297
|
Returns: import("./types").Json;
|
|
26354
28298
|
};
|
|
28299
|
+
logistics_reserved_stock_nightly: {
|
|
28300
|
+
Args: never;
|
|
28301
|
+
Returns: undefined;
|
|
28302
|
+
};
|
|
26355
28303
|
logistics_resolve_pick_document: {
|
|
26356
28304
|
Args: {
|
|
26357
28305
|
_is_herprint: boolean;
|
|
@@ -26375,6 +28323,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26375
28323
|
};
|
|
26376
28324
|
Returns: import("./types").Json;
|
|
26377
28325
|
};
|
|
28326
|
+
logistics_retention_days: {
|
|
28327
|
+
Args: {
|
|
28328
|
+
p_key: string;
|
|
28329
|
+
};
|
|
28330
|
+
Returns: number;
|
|
28331
|
+
};
|
|
26378
28332
|
logistics_rule_bool: {
|
|
26379
28333
|
Args: {
|
|
26380
28334
|
p_default: boolean;
|
|
@@ -26481,6 +28435,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26481
28435
|
};
|
|
26482
28436
|
Returns: string;
|
|
26483
28437
|
};
|
|
28438
|
+
logistics_shipping_note_status: {
|
|
28439
|
+
Args: {
|
|
28440
|
+
p_cart_id?: string;
|
|
28441
|
+
p_slip_job_id?: string;
|
|
28442
|
+
};
|
|
28443
|
+
Returns: import("./types").Json;
|
|
28444
|
+
};
|
|
26484
28445
|
logistics_shipping_notes_wake_all: {
|
|
26485
28446
|
Args: never;
|
|
26486
28447
|
Returns: import("./types").Json;
|
|
@@ -26543,6 +28504,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26543
28504
|
};
|
|
26544
28505
|
Returns: undefined;
|
|
26545
28506
|
};
|
|
28507
|
+
logistics_slip_note_retry: {
|
|
28508
|
+
Args: {
|
|
28509
|
+
_id: string;
|
|
28510
|
+
};
|
|
28511
|
+
Returns: import("./types").Json;
|
|
28512
|
+
};
|
|
26546
28513
|
logistics_sticker_follows_slip: {
|
|
26547
28514
|
Args: never;
|
|
26548
28515
|
Returns: boolean;
|
|
@@ -26568,12 +28535,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26568
28535
|
Args: never;
|
|
26569
28536
|
Returns: import("./types").Json;
|
|
26570
28537
|
};
|
|
28538
|
+
logistics_sync_pick_queue_backlog: {
|
|
28539
|
+
Args: never;
|
|
28540
|
+
Returns: import("./types").Json;
|
|
28541
|
+
};
|
|
28542
|
+
logistics_sync_pick_queue_core: {
|
|
28543
|
+
Args: never;
|
|
28544
|
+
Returns: import("./types").Json;
|
|
28545
|
+
};
|
|
26571
28546
|
logistics_sync_task_carriers: {
|
|
26572
28547
|
Args: {
|
|
26573
28548
|
p_order_ref?: string;
|
|
26574
28549
|
};
|
|
26575
28550
|
Returns: number;
|
|
26576
28551
|
};
|
|
28552
|
+
logistics_task_open_counts: {
|
|
28553
|
+
Args: never;
|
|
28554
|
+
Returns: {
|
|
28555
|
+
open_count: number;
|
|
28556
|
+
owner_module: string;
|
|
28557
|
+
}[];
|
|
28558
|
+
};
|
|
26577
28559
|
logistics_task_owner: {
|
|
26578
28560
|
Args: {
|
|
26579
28561
|
p_task_type: string;
|
|
@@ -26591,6 +28573,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26591
28573
|
Args: never;
|
|
26592
28574
|
Returns: number;
|
|
26593
28575
|
};
|
|
28576
|
+
logistics_tasks_prune: {
|
|
28577
|
+
Args: {
|
|
28578
|
+
p_days?: number;
|
|
28579
|
+
};
|
|
28580
|
+
Returns: number;
|
|
28581
|
+
};
|
|
28582
|
+
logistics_tick: {
|
|
28583
|
+
Args: never;
|
|
28584
|
+
Returns: import("./types").Json;
|
|
28585
|
+
};
|
|
26594
28586
|
logistics_tick_ping: {
|
|
26595
28587
|
Args: never;
|
|
26596
28588
|
Returns: string;
|
|
@@ -26931,6 +28923,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26931
28923
|
};
|
|
26932
28924
|
Returns: boolean;
|
|
26933
28925
|
};
|
|
28926
|
+
order_items_duplicate_report: {
|
|
28927
|
+
Args: {
|
|
28928
|
+
_order_ref?: string;
|
|
28929
|
+
};
|
|
28930
|
+
Returns: {
|
|
28931
|
+
distinct_products: number;
|
|
28932
|
+
duplicate_factor: number;
|
|
28933
|
+
lines: number;
|
|
28934
|
+
order_number: string;
|
|
28935
|
+
}[];
|
|
28936
|
+
};
|
|
26934
28937
|
order_number_prefix: {
|
|
26935
28938
|
Args: {
|
|
26936
28939
|
p_custom_fields?: import("./types").Json;
|
|
@@ -27251,6 +29254,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27251
29254
|
};
|
|
27252
29255
|
Returns: string;
|
|
27253
29256
|
};
|
|
29257
|
+
pick_is_reference_admin: {
|
|
29258
|
+
Args: never;
|
|
29259
|
+
Returns: boolean;
|
|
29260
|
+
};
|
|
27254
29261
|
pick_mark_printed: {
|
|
27255
29262
|
Args: {
|
|
27256
29263
|
_queue_item_id: string;
|
|
@@ -27714,6 +29721,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27714
29721
|
};
|
|
27715
29722
|
Returns: undefined;
|
|
27716
29723
|
};
|
|
29724
|
+
planning_apply_schedule_updates: {
|
|
29725
|
+
Args: {
|
|
29726
|
+
_updates: import("./types").Json;
|
|
29727
|
+
};
|
|
29728
|
+
Returns: undefined;
|
|
29729
|
+
};
|
|
29730
|
+
planning_assert_no_overlaps: {
|
|
29731
|
+
Args: never;
|
|
29732
|
+
Returns: undefined;
|
|
29733
|
+
};
|
|
29734
|
+
planning_assert_no_overlaps_for_items: {
|
|
29735
|
+
Args: {
|
|
29736
|
+
_item_ids: string[];
|
|
29737
|
+
};
|
|
29738
|
+
Returns: undefined;
|
|
29739
|
+
};
|
|
27717
29740
|
planning_cancel_item: {
|
|
27718
29741
|
Args: {
|
|
27719
29742
|
_id: string;
|
|
@@ -27825,6 +29848,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27825
29848
|
};
|
|
27826
29849
|
Returns: boolean;
|
|
27827
29850
|
};
|
|
29851
|
+
quote_assign_number: {
|
|
29852
|
+
Args: {
|
|
29853
|
+
_offerte_id: string;
|
|
29854
|
+
};
|
|
29855
|
+
Returns: string;
|
|
29856
|
+
};
|
|
29857
|
+
quote_create_follow_up_now: {
|
|
29858
|
+
Args: {
|
|
29859
|
+
_offerte_id: string;
|
|
29860
|
+
_payload?: import("./types").Json;
|
|
29861
|
+
};
|
|
29862
|
+
Returns: import("./types").Json;
|
|
29863
|
+
};
|
|
27828
29864
|
quote_create_from_source: {
|
|
27829
29865
|
Args: {
|
|
27830
29866
|
_payload?: import("./types").Json;
|
|
@@ -28068,6 +30104,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28068
30104
|
Args: never;
|
|
28069
30105
|
Returns: undefined;
|
|
28070
30106
|
};
|
|
30107
|
+
run_order_auto_invoice_tick: {
|
|
30108
|
+
Args: never;
|
|
30109
|
+
Returns: number;
|
|
30110
|
+
};
|
|
28071
30111
|
run_print_queue_ticks: {
|
|
28072
30112
|
Args: never;
|
|
28073
30113
|
Returns: number;
|
|
@@ -28091,6 +30131,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28091
30131
|
};
|
|
28092
30132
|
Returns: import("./types").Json;
|
|
28093
30133
|
};
|
|
30134
|
+
scan_controleer_pincode: {
|
|
30135
|
+
Args: {
|
|
30136
|
+
p_pin: string;
|
|
30137
|
+
p_scanner_id: string;
|
|
30138
|
+
};
|
|
30139
|
+
Returns: boolean;
|
|
30140
|
+
};
|
|
28094
30141
|
scan_dashboard_stats: {
|
|
28095
30142
|
Args: {
|
|
28096
30143
|
p_dagen?: number;
|
|
@@ -28110,6 +30157,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28110
30157
|
};
|
|
28111
30158
|
Returns: import("./types").Json;
|
|
28112
30159
|
};
|
|
30160
|
+
scan_heeft_pincode: {
|
|
30161
|
+
Args: {
|
|
30162
|
+
p_scanner_id: string;
|
|
30163
|
+
};
|
|
30164
|
+
Returns: boolean;
|
|
30165
|
+
};
|
|
28113
30166
|
scan_kar_compleet: {
|
|
28114
30167
|
Args: {
|
|
28115
30168
|
p_allow_reprint?: boolean;
|
|
@@ -28127,6 +30180,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28127
30180
|
Args: {
|
|
28128
30181
|
p_code: string;
|
|
28129
30182
|
p_latency_ms?: number;
|
|
30183
|
+
p_medewerker?: string;
|
|
28130
30184
|
p_message?: string;
|
|
28131
30185
|
p_result: string;
|
|
28132
30186
|
p_scanner_key?: string;
|
|
@@ -28199,6 +30253,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28199
30253
|
};
|
|
28200
30254
|
Returns: undefined;
|
|
28201
30255
|
};
|
|
30256
|
+
scan_scanner_info: {
|
|
30257
|
+
Args: {
|
|
30258
|
+
p_slug: string;
|
|
30259
|
+
};
|
|
30260
|
+
Returns: {
|
|
30261
|
+
actief: boolean;
|
|
30262
|
+
heeft_pincode: boolean;
|
|
30263
|
+
id: string;
|
|
30264
|
+
naam: string;
|
|
30265
|
+
omschrijving: string;
|
|
30266
|
+
printer_id: string;
|
|
30267
|
+
type: string;
|
|
30268
|
+
vereist_medewerker: boolean;
|
|
30269
|
+
werkplek: string;
|
|
30270
|
+
}[];
|
|
30271
|
+
};
|
|
28202
30272
|
scan_sessie_annuleren: {
|
|
28203
30273
|
Args: {
|
|
28204
30274
|
p_sessie_id: string;
|
|
@@ -28445,6 +30515,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28445
30515
|
};
|
|
28446
30516
|
Returns: number;
|
|
28447
30517
|
};
|
|
30518
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30519
|
+
Args: {
|
|
30520
|
+
p_apikey: string;
|
|
30521
|
+
p_url: string;
|
|
30522
|
+
};
|
|
30523
|
+
Returns: number;
|
|
30524
|
+
};
|
|
28448
30525
|
schedule_floriday_trade_items_sync: {
|
|
28449
30526
|
Args: {
|
|
28450
30527
|
p_apikey: string;
|
|
@@ -28527,6 +30604,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28527
30604
|
};
|
|
28528
30605
|
Returns: undefined;
|
|
28529
30606
|
};
|
|
30607
|
+
set_product_stock: {
|
|
30608
|
+
Args: {
|
|
30609
|
+
p_incoming_stock?: number;
|
|
30610
|
+
p_minimum_stock?: number;
|
|
30611
|
+
p_notes?: string;
|
|
30612
|
+
p_physical_stock: number;
|
|
30613
|
+
p_product_id: string;
|
|
30614
|
+
};
|
|
30615
|
+
Returns: {
|
|
30616
|
+
connection_id: string;
|
|
30617
|
+
incoming_stock: number;
|
|
30618
|
+
minimum_stock: number;
|
|
30619
|
+
notes: string;
|
|
30620
|
+
physical_stock: number;
|
|
30621
|
+
product_id: string;
|
|
30622
|
+
reserved_stock: number;
|
|
30623
|
+
trade_item_key: string;
|
|
30624
|
+
updated_at: string;
|
|
30625
|
+
}[];
|
|
30626
|
+
};
|
|
28530
30627
|
show_limit: {
|
|
28531
30628
|
Args: never;
|
|
28532
30629
|
Returns: number;
|
|
@@ -28769,6 +30866,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28769
30866
|
Args: never;
|
|
28770
30867
|
Returns: boolean;
|
|
28771
30868
|
};
|
|
30869
|
+
uren_is_werkdag: {
|
|
30870
|
+
Args: {
|
|
30871
|
+
_date: string;
|
|
30872
|
+
_monteur: string;
|
|
30873
|
+
};
|
|
30874
|
+
Returns: boolean;
|
|
30875
|
+
};
|
|
30876
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30877
|
+
Args: {
|
|
30878
|
+
_datum: string;
|
|
30879
|
+
_eind: string;
|
|
30880
|
+
_reden: string;
|
|
30881
|
+
_start: string;
|
|
30882
|
+
};
|
|
30883
|
+
Returns: string;
|
|
30884
|
+
};
|
|
28772
30885
|
uren_list_medewerkers: {
|
|
28773
30886
|
Args: never;
|
|
28774
30887
|
Returns: {
|
|
@@ -28789,6 +30902,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28789
30902
|
roles: string[];
|
|
28790
30903
|
}[];
|
|
28791
30904
|
};
|
|
30905
|
+
uren_list_planner_contacten: {
|
|
30906
|
+
Args: never;
|
|
30907
|
+
Returns: {
|
|
30908
|
+
display_name: string;
|
|
30909
|
+
id: string;
|
|
30910
|
+
phone: string;
|
|
30911
|
+
}[];
|
|
30912
|
+
};
|
|
30913
|
+
uren_maand_afsluiten: {
|
|
30914
|
+
Args: {
|
|
30915
|
+
_maand: string;
|
|
30916
|
+
_monteur: string;
|
|
30917
|
+
};
|
|
30918
|
+
Returns: undefined;
|
|
30919
|
+
};
|
|
30920
|
+
uren_maand_berekenen: {
|
|
30921
|
+
Args: {
|
|
30922
|
+
_maand: string;
|
|
30923
|
+
_monteur: string;
|
|
30924
|
+
};
|
|
30925
|
+
Returns: import("./types").Json;
|
|
30926
|
+
};
|
|
30927
|
+
uren_maand_corrigeren: {
|
|
30928
|
+
Args: {
|
|
30929
|
+
_maand: string;
|
|
30930
|
+
_monteur: string;
|
|
30931
|
+
_overuren_minuten: number;
|
|
30932
|
+
_reden: string;
|
|
30933
|
+
};
|
|
30934
|
+
Returns: undefined;
|
|
30935
|
+
};
|
|
30936
|
+
uren_mijn_contracturen: {
|
|
30937
|
+
Args: never;
|
|
30938
|
+
Returns: number;
|
|
30939
|
+
};
|
|
30940
|
+
uren_mijn_vakantiesaldo: {
|
|
30941
|
+
Args: never;
|
|
30942
|
+
Returns: number;
|
|
30943
|
+
};
|
|
28792
30944
|
uren_my_monteur_id: {
|
|
28793
30945
|
Args: never;
|
|
28794
30946
|
Returns: string;
|
|
@@ -28822,6 +30974,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28822
30974
|
};
|
|
28823
30975
|
Returns: number;
|
|
28824
30976
|
};
|
|
30977
|
+
uren_spiegel_bezig: {
|
|
30978
|
+
Args: never;
|
|
30979
|
+
Returns: boolean;
|
|
30980
|
+
};
|
|
30981
|
+
uren_standaardweek_beoordelen: {
|
|
30982
|
+
Args: {
|
|
30983
|
+
_goedkeuren: boolean;
|
|
30984
|
+
_id: string;
|
|
30985
|
+
_reden?: string;
|
|
30986
|
+
};
|
|
30987
|
+
Returns: undefined;
|
|
30988
|
+
};
|
|
30989
|
+
uren_standaardweek_doorzetten: {
|
|
30990
|
+
Args: {
|
|
30991
|
+
_monteur: string;
|
|
30992
|
+
};
|
|
30993
|
+
Returns: undefined;
|
|
30994
|
+
};
|
|
30995
|
+
uren_standaardweek_instellen: {
|
|
30996
|
+
Args: {
|
|
30997
|
+
_dagen: import("./types").Json;
|
|
30998
|
+
};
|
|
30999
|
+
Returns: string;
|
|
31000
|
+
};
|
|
31001
|
+
uren_standaardweek_toepassen: {
|
|
31002
|
+
Args: {
|
|
31003
|
+
_dagen: import("./types").Json;
|
|
31004
|
+
_monteur: string;
|
|
31005
|
+
};
|
|
31006
|
+
Returns: undefined;
|
|
31007
|
+
};
|
|
28825
31008
|
uren_stop_time_log: {
|
|
28826
31009
|
Args: {
|
|
28827
31010
|
p_employee_id: string;
|
|
@@ -28847,6 +31030,165 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28847
31030
|
};
|
|
28848
31031
|
Returns: number;
|
|
28849
31032
|
};
|
|
31033
|
+
uren_vakantie_aanvragen: {
|
|
31034
|
+
Args: {
|
|
31035
|
+
_end_date: string;
|
|
31036
|
+
_hours?: number;
|
|
31037
|
+
_start_date: string;
|
|
31038
|
+
};
|
|
31039
|
+
Returns: string;
|
|
31040
|
+
};
|
|
31041
|
+
uren_vakantiedag_wijzigen: {
|
|
31042
|
+
Args: {
|
|
31043
|
+
_date: string;
|
|
31044
|
+
};
|
|
31045
|
+
Returns: string;
|
|
31046
|
+
};
|
|
31047
|
+
uren_vakantiesaldo_uren: {
|
|
31048
|
+
Args: {
|
|
31049
|
+
_monteur: string;
|
|
31050
|
+
};
|
|
31051
|
+
Returns: number;
|
|
31052
|
+
};
|
|
31053
|
+
uren_week_start: {
|
|
31054
|
+
Args: {
|
|
31055
|
+
_datum: string;
|
|
31056
|
+
};
|
|
31057
|
+
Returns: string;
|
|
31058
|
+
};
|
|
31059
|
+
uren_werkweek_opsturen: {
|
|
31060
|
+
Args: {
|
|
31061
|
+
_week_start: string;
|
|
31062
|
+
};
|
|
31063
|
+
Returns: {
|
|
31064
|
+
approved_at: string | null;
|
|
31065
|
+
approved_by: string | null;
|
|
31066
|
+
contract_hours: number;
|
|
31067
|
+
created_at: string;
|
|
31068
|
+
employee_id: string;
|
|
31069
|
+
id: string;
|
|
31070
|
+
locked: boolean;
|
|
31071
|
+
monteur_toelichting: string | null;
|
|
31072
|
+
notes: string | null;
|
|
31073
|
+
planned_hours: number;
|
|
31074
|
+
status: string;
|
|
31075
|
+
submitted_at: string | null;
|
|
31076
|
+
updated_at: string;
|
|
31077
|
+
variance_hours: number;
|
|
31078
|
+
week_start: string;
|
|
31079
|
+
};
|
|
31080
|
+
SetofOptions: {
|
|
31081
|
+
from: "*";
|
|
31082
|
+
to: "time_log_week_approvals";
|
|
31083
|
+
isOneToOne: true;
|
|
31084
|
+
isSetofReturn: false;
|
|
31085
|
+
};
|
|
31086
|
+
} | {
|
|
31087
|
+
Args: {
|
|
31088
|
+
_vrije_dagen?: string[];
|
|
31089
|
+
_week_start: string;
|
|
31090
|
+
};
|
|
31091
|
+
Returns: {
|
|
31092
|
+
approved_at: string | null;
|
|
31093
|
+
approved_by: string | null;
|
|
31094
|
+
contract_hours: number;
|
|
31095
|
+
created_at: string;
|
|
31096
|
+
employee_id: string;
|
|
31097
|
+
id: string;
|
|
31098
|
+
locked: boolean;
|
|
31099
|
+
monteur_toelichting: string | null;
|
|
31100
|
+
notes: string | null;
|
|
31101
|
+
planned_hours: number;
|
|
31102
|
+
status: string;
|
|
31103
|
+
submitted_at: string | null;
|
|
31104
|
+
updated_at: string;
|
|
31105
|
+
variance_hours: number;
|
|
31106
|
+
week_start: string;
|
|
31107
|
+
};
|
|
31108
|
+
SetofOptions: {
|
|
31109
|
+
from: "*";
|
|
31110
|
+
to: "time_log_week_approvals";
|
|
31111
|
+
isOneToOne: true;
|
|
31112
|
+
isSetofReturn: false;
|
|
31113
|
+
};
|
|
31114
|
+
} | {
|
|
31115
|
+
Args: {
|
|
31116
|
+
_toelichting?: string;
|
|
31117
|
+
_vrije_dagen?: string[];
|
|
31118
|
+
_week_start: string;
|
|
31119
|
+
};
|
|
31120
|
+
Returns: {
|
|
31121
|
+
approved_at: string | null;
|
|
31122
|
+
approved_by: string | null;
|
|
31123
|
+
contract_hours: number;
|
|
31124
|
+
created_at: string;
|
|
31125
|
+
employee_id: string;
|
|
31126
|
+
id: string;
|
|
31127
|
+
locked: boolean;
|
|
31128
|
+
monteur_toelichting: string | null;
|
|
31129
|
+
notes: string | null;
|
|
31130
|
+
planned_hours: number;
|
|
31131
|
+
status: string;
|
|
31132
|
+
submitted_at: string | null;
|
|
31133
|
+
updated_at: string;
|
|
31134
|
+
variance_hours: number;
|
|
31135
|
+
week_start: string;
|
|
31136
|
+
};
|
|
31137
|
+
SetofOptions: {
|
|
31138
|
+
from: "*";
|
|
31139
|
+
to: "time_log_week_approvals";
|
|
31140
|
+
isOneToOne: true;
|
|
31141
|
+
isSetofReturn: false;
|
|
31142
|
+
};
|
|
31143
|
+
};
|
|
31144
|
+
vakantie_dagen_gebruikt: {
|
|
31145
|
+
Args: {
|
|
31146
|
+
_user_id: string;
|
|
31147
|
+
_year: number;
|
|
31148
|
+
};
|
|
31149
|
+
Returns: number;
|
|
31150
|
+
};
|
|
31151
|
+
vakantie_overuren: {
|
|
31152
|
+
Args: {
|
|
31153
|
+
_user_id: string;
|
|
31154
|
+
_year?: number;
|
|
31155
|
+
};
|
|
31156
|
+
Returns: number;
|
|
31157
|
+
};
|
|
31158
|
+
vakantie_saldo: {
|
|
31159
|
+
Args: {
|
|
31160
|
+
_user_id: string;
|
|
31161
|
+
_year?: number;
|
|
31162
|
+
};
|
|
31163
|
+
Returns: {
|
|
31164
|
+
day_hours: number;
|
|
31165
|
+
earned_from_overtime_days: number;
|
|
31166
|
+
entitlement_days: number;
|
|
31167
|
+
hours_to_next_day: number;
|
|
31168
|
+
overtime_hours: number;
|
|
31169
|
+
overtime_remainder_hours: number;
|
|
31170
|
+
paid_out_days: number;
|
|
31171
|
+
remaining_days: number;
|
|
31172
|
+
used_days: number;
|
|
31173
|
+
}[];
|
|
31174
|
+
};
|
|
31175
|
+
vakantie_saldo_overzicht: {
|
|
31176
|
+
Args: {
|
|
31177
|
+
_year?: number;
|
|
31178
|
+
};
|
|
31179
|
+
Returns: {
|
|
31180
|
+
day_hours: number;
|
|
31181
|
+
earned_from_overtime_days: number;
|
|
31182
|
+
entitlement_days: number;
|
|
31183
|
+
hours_to_next_day: number;
|
|
31184
|
+
overtime_hours: number;
|
|
31185
|
+
overtime_remainder_hours: number;
|
|
31186
|
+
paid_out_days: number;
|
|
31187
|
+
remaining_days: number;
|
|
31188
|
+
used_days: number;
|
|
31189
|
+
user_id: string;
|
|
31190
|
+
}[];
|
|
31191
|
+
};
|
|
28850
31192
|
voorraad_cleanup_old_rows: {
|
|
28851
31193
|
Args: never;
|
|
28852
31194
|
Returns: import("./types").Json;
|
|
@@ -28889,18 +31231,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28889
31231
|
};
|
|
28890
31232
|
Returns: import("./types").Json;
|
|
28891
31233
|
};
|
|
31234
|
+
wo_list_colleague_planning: {
|
|
31235
|
+
Args: {
|
|
31236
|
+
_from: string;
|
|
31237
|
+
_monteur_id: string;
|
|
31238
|
+
_to: string;
|
|
31239
|
+
};
|
|
31240
|
+
Returns: {
|
|
31241
|
+
end_at: string;
|
|
31242
|
+
id: string;
|
|
31243
|
+
role: string;
|
|
31244
|
+
start_at: string;
|
|
31245
|
+
status: string;
|
|
31246
|
+
werkbon_id: string;
|
|
31247
|
+
}[];
|
|
31248
|
+
};
|
|
28892
31249
|
wo_list_offerte_requests: {
|
|
28893
31250
|
Args: {
|
|
28894
31251
|
_status?: string;
|
|
28895
31252
|
};
|
|
28896
31253
|
Returns: import("./types").Json;
|
|
28897
31254
|
};
|
|
31255
|
+
wo_list_proposals: {
|
|
31256
|
+
Args: {
|
|
31257
|
+
_status?: string;
|
|
31258
|
+
};
|
|
31259
|
+
Returns: import("./types").Json;
|
|
31260
|
+
};
|
|
28898
31261
|
wo_process_offerte_request: {
|
|
28899
31262
|
Args: {
|
|
28900
31263
|
_queue_id: string;
|
|
28901
31264
|
};
|
|
28902
31265
|
Returns: import("./types").Json;
|
|
28903
31266
|
};
|
|
31267
|
+
wo_process_proposal: {
|
|
31268
|
+
Args: {
|
|
31269
|
+
_id: string;
|
|
31270
|
+
_overrides?: import("./types").Json;
|
|
31271
|
+
};
|
|
31272
|
+
Returns: import("./types").Json;
|
|
31273
|
+
};
|
|
28904
31274
|
wo_reject_offerte_request: {
|
|
28905
31275
|
Args: {
|
|
28906
31276
|
_queue_id: string;
|
|
@@ -28908,6 +31278,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28908
31278
|
};
|
|
28909
31279
|
Returns: import("./types").Json;
|
|
28910
31280
|
};
|
|
31281
|
+
wo_reject_proposal: {
|
|
31282
|
+
Args: {
|
|
31283
|
+
_id: string;
|
|
31284
|
+
_reden?: string;
|
|
31285
|
+
};
|
|
31286
|
+
Returns: import("./types").Json;
|
|
31287
|
+
};
|
|
28911
31288
|
wo_set_status: {
|
|
28912
31289
|
Args: {
|
|
28913
31290
|
_reason?: string;
|