@flowselections/scan-module 1.0.8 → 1.0.10
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/scanners/EindcontroleScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/EindcontroleScanner.js +35 -7
- package/dist-lib/components/scanners/KarIndelingScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/KarIndelingScanner.js +2 -1
- package/dist-lib/components/scanners/ScannerBySlug.d.ts.map +1 -1
- package/dist-lib/components/scanners/ScannerBySlug.js +5 -8
- package/dist-lib/components/scanners/StationNaamVeld.d.ts +3 -0
- package/dist-lib/components/scanners/StationNaamVeld.d.ts.map +1 -0
- package/dist-lib/components/scanners/StationNaamVeld.js +11 -0
- package/dist-lib/hooks/useKarIndeling.d.ts.map +1 -1
- package/dist-lib/hooks/useKarIndeling.js +11 -3
- package/dist-lib/hooks/useKarScanner.d.ts.map +1 -1
- package/dist-lib/hooks/useKarScanner.js +10 -1
- package/dist-lib/index.d.ts +2 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2276 -48
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2276 -48
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2276 -48
- 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/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 +2278 -14
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/pakbonScan.d.ts +13 -1
- package/dist-lib/lib/pakbonScan.d.ts.map +1 -1
- package/dist-lib/lib/pakbonScan.js +59 -13
- package/dist-lib/lib/stationNaam.d.ts +3 -0
- package/dist-lib/lib/stationNaam.d.ts.map +1 -0
- package/dist-lib/lib/stationNaam.js +24 -0
- package/package.json +3 -3
|
@@ -6,6 +6,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6
6
|
Row: {
|
|
7
7
|
auto_print_delivery_note: boolean;
|
|
8
8
|
auto_process_paused: boolean;
|
|
9
|
+
control_bulk_max_carts: number;
|
|
9
10
|
created_at: string;
|
|
10
11
|
extra_pick_days_with_stickers: number;
|
|
11
12
|
id: string;
|
|
@@ -23,6 +24,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23
24
|
Insert: {
|
|
24
25
|
auto_print_delivery_note?: boolean;
|
|
25
26
|
auto_process_paused?: boolean;
|
|
27
|
+
control_bulk_max_carts?: number;
|
|
26
28
|
created_at?: string;
|
|
27
29
|
extra_pick_days_with_stickers?: number;
|
|
28
30
|
id?: string;
|
|
@@ -40,6 +42,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
40
42
|
Update: {
|
|
41
43
|
auto_print_delivery_note?: boolean;
|
|
42
44
|
auto_process_paused?: boolean;
|
|
45
|
+
control_bulk_max_carts?: number;
|
|
43
46
|
created_at?: string;
|
|
44
47
|
extra_pick_days_with_stickers?: number;
|
|
45
48
|
id?: string;
|
|
@@ -731,6 +734,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
731
734
|
};
|
|
732
735
|
Relationships: [];
|
|
733
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
|
+
};
|
|
734
758
|
artikelen_veldconfig: {
|
|
735
759
|
Row: {
|
|
736
760
|
bron_pad: string;
|
|
@@ -1382,6 +1406,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1382
1406
|
id: string;
|
|
1383
1407
|
notes: string | null;
|
|
1384
1408
|
performed_at: string;
|
|
1409
|
+
request_key: string | null;
|
|
1385
1410
|
rescheduled_count: number;
|
|
1386
1411
|
stock_consumed_at: string | null;
|
|
1387
1412
|
total_carts: number;
|
|
@@ -1396,6 +1421,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1396
1421
|
id?: string;
|
|
1397
1422
|
notes?: string | null;
|
|
1398
1423
|
performed_at?: string;
|
|
1424
|
+
request_key?: string | null;
|
|
1399
1425
|
rescheduled_count?: number;
|
|
1400
1426
|
stock_consumed_at?: string | null;
|
|
1401
1427
|
total_carts?: number;
|
|
@@ -1410,6 +1436,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1410
1436
|
id?: string;
|
|
1411
1437
|
notes?: string | null;
|
|
1412
1438
|
performed_at?: string;
|
|
1439
|
+
request_key?: string | null;
|
|
1413
1440
|
rescheduled_count?: number;
|
|
1414
1441
|
stock_consumed_at?: string | null;
|
|
1415
1442
|
total_carts?: number;
|
|
@@ -7984,6 +8011,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7984
8011
|
};
|
|
7985
8012
|
fust_types: {
|
|
7986
8013
|
Row: {
|
|
8014
|
+
capacity_units: number | null;
|
|
7987
8015
|
connection_id: string | null;
|
|
7988
8016
|
created_at: string;
|
|
7989
8017
|
custom_package_id: string | null;
|
|
@@ -8004,6 +8032,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8004
8032
|
width_mm: number | null;
|
|
8005
8033
|
};
|
|
8006
8034
|
Insert: {
|
|
8035
|
+
capacity_units?: number | null;
|
|
8007
8036
|
connection_id?: string | null;
|
|
8008
8037
|
created_at?: string;
|
|
8009
8038
|
custom_package_id?: string | null;
|
|
@@ -8024,6 +8053,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8024
8053
|
width_mm?: number | null;
|
|
8025
8054
|
};
|
|
8026
8055
|
Update: {
|
|
8056
|
+
capacity_units?: number | null;
|
|
8027
8057
|
connection_id?: string | null;
|
|
8028
8058
|
created_at?: string;
|
|
8029
8059
|
custom_package_id?: string | null;
|
|
@@ -8255,6 +8285,72 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8255
8285
|
};
|
|
8256
8286
|
Relationships: [];
|
|
8257
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
|
+
};
|
|
8258
8354
|
invoice_items: {
|
|
8259
8355
|
Row: {
|
|
8260
8356
|
created_at: string;
|
|
@@ -8268,6 +8364,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8268
8364
|
total_cents: number;
|
|
8269
8365
|
unit: string;
|
|
8270
8366
|
unit_price_cents: number;
|
|
8367
|
+
vat_rate: number | null;
|
|
8271
8368
|
};
|
|
8272
8369
|
Insert: {
|
|
8273
8370
|
created_at?: string;
|
|
@@ -8281,6 +8378,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8281
8378
|
total_cents?: number;
|
|
8282
8379
|
unit?: string;
|
|
8283
8380
|
unit_price_cents?: number;
|
|
8381
|
+
vat_rate?: number | null;
|
|
8284
8382
|
};
|
|
8285
8383
|
Update: {
|
|
8286
8384
|
created_at?: string;
|
|
@@ -8294,6 +8392,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8294
8392
|
total_cents?: number;
|
|
8295
8393
|
unit?: string;
|
|
8296
8394
|
unit_price_cents?: number;
|
|
8395
|
+
vat_rate?: number | null;
|
|
8297
8396
|
};
|
|
8298
8397
|
Relationships: [{
|
|
8299
8398
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8539,15 +8638,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8539
8638
|
};
|
|
8540
8639
|
invoices: {
|
|
8541
8640
|
Row: {
|
|
8641
|
+
branding_snapshot: import("./types").Json | null;
|
|
8542
8642
|
created_at: string;
|
|
8543
8643
|
created_by: string | null;
|
|
8644
|
+
customer_address: string | null;
|
|
8645
|
+
customer_attention: string | null;
|
|
8646
|
+
customer_city: string | null;
|
|
8544
8647
|
customer_id: string | null;
|
|
8545
8648
|
customer_name: string | null;
|
|
8649
|
+
customer_postal_code: string | null;
|
|
8650
|
+
customer_vat_number: string | null;
|
|
8651
|
+
debtor_number: string | null;
|
|
8546
8652
|
due_date: string | null;
|
|
8653
|
+
execution_date: string | null;
|
|
8547
8654
|
id: string;
|
|
8548
8655
|
invoice_date: string;
|
|
8549
8656
|
invoice_number: string | null;
|
|
8550
8657
|
note: string | null;
|
|
8658
|
+
payment_term_days: number;
|
|
8659
|
+
reference: string | null;
|
|
8660
|
+
sent_at: string | null;
|
|
8661
|
+
sent_to: string | null;
|
|
8551
8662
|
source_number: string | null;
|
|
8552
8663
|
source_ref: string | null;
|
|
8553
8664
|
source_type: string;
|
|
@@ -8557,17 +8668,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8557
8668
|
updated_at: string;
|
|
8558
8669
|
vat_cents: number;
|
|
8559
8670
|
vat_rate: number;
|
|
8671
|
+
work_address: string | null;
|
|
8560
8672
|
};
|
|
8561
8673
|
Insert: {
|
|
8674
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8562
8675
|
created_at?: string;
|
|
8563
8676
|
created_by?: string | null;
|
|
8677
|
+
customer_address?: string | null;
|
|
8678
|
+
customer_attention?: string | null;
|
|
8679
|
+
customer_city?: string | null;
|
|
8564
8680
|
customer_id?: string | null;
|
|
8565
8681
|
customer_name?: string | null;
|
|
8682
|
+
customer_postal_code?: string | null;
|
|
8683
|
+
customer_vat_number?: string | null;
|
|
8684
|
+
debtor_number?: string | null;
|
|
8566
8685
|
due_date?: string | null;
|
|
8686
|
+
execution_date?: string | null;
|
|
8567
8687
|
id?: string;
|
|
8568
8688
|
invoice_date?: string;
|
|
8569
8689
|
invoice_number?: string | null;
|
|
8570
8690
|
note?: string | null;
|
|
8691
|
+
payment_term_days?: number;
|
|
8692
|
+
reference?: string | null;
|
|
8693
|
+
sent_at?: string | null;
|
|
8694
|
+
sent_to?: string | null;
|
|
8571
8695
|
source_number?: string | null;
|
|
8572
8696
|
source_ref?: string | null;
|
|
8573
8697
|
source_type?: string;
|
|
@@ -8577,17 +8701,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8577
8701
|
updated_at?: string;
|
|
8578
8702
|
vat_cents?: number;
|
|
8579
8703
|
vat_rate?: number;
|
|
8704
|
+
work_address?: string | null;
|
|
8580
8705
|
};
|
|
8581
8706
|
Update: {
|
|
8707
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8582
8708
|
created_at?: string;
|
|
8583
8709
|
created_by?: string | null;
|
|
8710
|
+
customer_address?: string | null;
|
|
8711
|
+
customer_attention?: string | null;
|
|
8712
|
+
customer_city?: string | null;
|
|
8584
8713
|
customer_id?: string | null;
|
|
8585
8714
|
customer_name?: string | null;
|
|
8715
|
+
customer_postal_code?: string | null;
|
|
8716
|
+
customer_vat_number?: string | null;
|
|
8717
|
+
debtor_number?: string | null;
|
|
8586
8718
|
due_date?: string | null;
|
|
8719
|
+
execution_date?: string | null;
|
|
8587
8720
|
id?: string;
|
|
8588
8721
|
invoice_date?: string;
|
|
8589
8722
|
invoice_number?: string | null;
|
|
8590
8723
|
note?: string | null;
|
|
8724
|
+
payment_term_days?: number;
|
|
8725
|
+
reference?: string | null;
|
|
8726
|
+
sent_at?: string | null;
|
|
8727
|
+
sent_to?: string | null;
|
|
8591
8728
|
source_number?: string | null;
|
|
8592
8729
|
source_ref?: string | null;
|
|
8593
8730
|
source_type?: string;
|
|
@@ -8597,6 +8734,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8597
8734
|
updated_at?: string;
|
|
8598
8735
|
vat_cents?: number;
|
|
8599
8736
|
vat_rate?: number;
|
|
8737
|
+
work_address?: string | null;
|
|
8600
8738
|
};
|
|
8601
8739
|
Relationships: [{
|
|
8602
8740
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9295,6 +9433,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9295
9433
|
quantity: number;
|
|
9296
9434
|
sort_order: number;
|
|
9297
9435
|
source: string;
|
|
9436
|
+
unit: string | null;
|
|
9298
9437
|
unit_price_cents: number;
|
|
9299
9438
|
updated_at: string;
|
|
9300
9439
|
};
|
|
@@ -9308,6 +9447,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9308
9447
|
quantity?: number;
|
|
9309
9448
|
sort_order?: number;
|
|
9310
9449
|
source?: string;
|
|
9450
|
+
unit?: string | null;
|
|
9311
9451
|
unit_price_cents?: number;
|
|
9312
9452
|
updated_at?: string;
|
|
9313
9453
|
};
|
|
@@ -9321,6 +9461,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9321
9461
|
quantity?: number;
|
|
9322
9462
|
sort_order?: number;
|
|
9323
9463
|
source?: string;
|
|
9464
|
+
unit?: string | null;
|
|
9324
9465
|
unit_price_cents?: number;
|
|
9325
9466
|
updated_at?: string;
|
|
9326
9467
|
};
|
|
@@ -9344,6 +9485,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9344
9485
|
created_at: string;
|
|
9345
9486
|
default_geldigheid_dagen: number;
|
|
9346
9487
|
default_vat_rate: number;
|
|
9488
|
+
email_purpose: string | null;
|
|
9347
9489
|
id: string;
|
|
9348
9490
|
singleton: boolean;
|
|
9349
9491
|
updated_at: string;
|
|
@@ -9353,6 +9495,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9353
9495
|
created_at?: string;
|
|
9354
9496
|
default_geldigheid_dagen?: number;
|
|
9355
9497
|
default_vat_rate?: number;
|
|
9498
|
+
email_purpose?: string | null;
|
|
9356
9499
|
id?: string;
|
|
9357
9500
|
singleton?: boolean;
|
|
9358
9501
|
updated_at?: string;
|
|
@@ -9362,12 +9505,49 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9362
9505
|
created_at?: string;
|
|
9363
9506
|
default_geldigheid_dagen?: number;
|
|
9364
9507
|
default_vat_rate?: number;
|
|
9508
|
+
email_purpose?: string | null;
|
|
9365
9509
|
id?: string;
|
|
9366
9510
|
singleton?: boolean;
|
|
9367
9511
|
updated_at?: string;
|
|
9368
9512
|
};
|
|
9369
9513
|
Relationships: [];
|
|
9370
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
|
+
};
|
|
9371
9551
|
itk_offerte_werkbon_queue: {
|
|
9372
9552
|
Row: {
|
|
9373
9553
|
bron_werkbon_id: string | null;
|
|
@@ -9418,6 +9598,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9418
9598
|
};
|
|
9419
9599
|
itk_offertes: {
|
|
9420
9600
|
Row: {
|
|
9601
|
+
aandachtspunten: string | null;
|
|
9421
9602
|
ai_generated: boolean;
|
|
9422
9603
|
approved_at: string | null;
|
|
9423
9604
|
binnen_mandaat: boolean;
|
|
@@ -9433,6 +9614,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9433
9614
|
notities: string | null;
|
|
9434
9615
|
offerte_number: string | null;
|
|
9435
9616
|
omschrijving: string;
|
|
9617
|
+
onderwerp: string | null;
|
|
9436
9618
|
rejected_at: string | null;
|
|
9437
9619
|
sent_at: string | null;
|
|
9438
9620
|
source_number: string | null;
|
|
@@ -9445,12 +9627,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9445
9627
|
valid_until: string | null;
|
|
9446
9628
|
vat_cents: number;
|
|
9447
9629
|
vat_rate: number;
|
|
9630
|
+
verzonden_naar: string | null;
|
|
9448
9631
|
viewed_at: string | null;
|
|
9449
9632
|
volgnummer: number | null;
|
|
9633
|
+
voorwaarden: string | null;
|
|
9450
9634
|
werkbon_id: string | null;
|
|
9451
9635
|
work_location_id: string | null;
|
|
9452
9636
|
};
|
|
9453
9637
|
Insert: {
|
|
9638
|
+
aandachtspunten?: string | null;
|
|
9454
9639
|
ai_generated?: boolean;
|
|
9455
9640
|
approved_at?: string | null;
|
|
9456
9641
|
binnen_mandaat?: boolean;
|
|
@@ -9466,6 +9651,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9466
9651
|
notities?: string | null;
|
|
9467
9652
|
offerte_number?: string | null;
|
|
9468
9653
|
omschrijving?: string;
|
|
9654
|
+
onderwerp?: string | null;
|
|
9469
9655
|
rejected_at?: string | null;
|
|
9470
9656
|
sent_at?: string | null;
|
|
9471
9657
|
source_number?: string | null;
|
|
@@ -9478,12 +9664,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9478
9664
|
valid_until?: string | null;
|
|
9479
9665
|
vat_cents?: number;
|
|
9480
9666
|
vat_rate?: number;
|
|
9667
|
+
verzonden_naar?: string | null;
|
|
9481
9668
|
viewed_at?: string | null;
|
|
9482
9669
|
volgnummer?: number | null;
|
|
9670
|
+
voorwaarden?: string | null;
|
|
9483
9671
|
werkbon_id?: string | null;
|
|
9484
9672
|
work_location_id?: string | null;
|
|
9485
9673
|
};
|
|
9486
9674
|
Update: {
|
|
9675
|
+
aandachtspunten?: string | null;
|
|
9487
9676
|
ai_generated?: boolean;
|
|
9488
9677
|
approved_at?: string | null;
|
|
9489
9678
|
binnen_mandaat?: boolean;
|
|
@@ -9499,6 +9688,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9499
9688
|
notities?: string | null;
|
|
9500
9689
|
offerte_number?: string | null;
|
|
9501
9690
|
omschrijving?: string;
|
|
9691
|
+
onderwerp?: string | null;
|
|
9502
9692
|
rejected_at?: string | null;
|
|
9503
9693
|
sent_at?: string | null;
|
|
9504
9694
|
source_number?: string | null;
|
|
@@ -9511,8 +9701,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9511
9701
|
valid_until?: string | null;
|
|
9512
9702
|
vat_cents?: number;
|
|
9513
9703
|
vat_rate?: number;
|
|
9704
|
+
verzonden_naar?: string | null;
|
|
9514
9705
|
viewed_at?: string | null;
|
|
9515
9706
|
volgnummer?: number | null;
|
|
9707
|
+
voorwaarden?: string | null;
|
|
9516
9708
|
werkbon_id?: string | null;
|
|
9517
9709
|
work_location_id?: string | null;
|
|
9518
9710
|
};
|
|
@@ -9688,6 +9880,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9688
9880
|
};
|
|
9689
9881
|
leave_requests: {
|
|
9690
9882
|
Row: {
|
|
9883
|
+
cancellation_requested_at: string | null;
|
|
9884
|
+
cancellation_status: string | null;
|
|
9691
9885
|
created_at: string;
|
|
9692
9886
|
decided_at: string | null;
|
|
9693
9887
|
decided_by: string | null;
|
|
@@ -9698,6 +9892,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9698
9892
|
leave_type: string;
|
|
9699
9893
|
monteur_id: string | null;
|
|
9700
9894
|
reason: string | null;
|
|
9895
|
+
reden_afkeur: string | null;
|
|
9701
9896
|
start_date: string;
|
|
9702
9897
|
start_time: string | null;
|
|
9703
9898
|
status: string;
|
|
@@ -9705,6 +9900,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9705
9900
|
user_id: string;
|
|
9706
9901
|
};
|
|
9707
9902
|
Insert: {
|
|
9903
|
+
cancellation_requested_at?: string | null;
|
|
9904
|
+
cancellation_status?: string | null;
|
|
9708
9905
|
created_at?: string;
|
|
9709
9906
|
decided_at?: string | null;
|
|
9710
9907
|
decided_by?: string | null;
|
|
@@ -9715,6 +9912,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9715
9912
|
leave_type?: string;
|
|
9716
9913
|
monteur_id?: string | null;
|
|
9717
9914
|
reason?: string | null;
|
|
9915
|
+
reden_afkeur?: string | null;
|
|
9718
9916
|
start_date: string;
|
|
9719
9917
|
start_time?: string | null;
|
|
9720
9918
|
status?: string;
|
|
@@ -9722,6 +9920,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9722
9920
|
user_id: string;
|
|
9723
9921
|
};
|
|
9724
9922
|
Update: {
|
|
9923
|
+
cancellation_requested_at?: string | null;
|
|
9924
|
+
cancellation_status?: string | null;
|
|
9725
9925
|
created_at?: string;
|
|
9726
9926
|
decided_at?: string | null;
|
|
9727
9927
|
decided_by?: string | null;
|
|
@@ -9732,6 +9932,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9732
9932
|
leave_type?: string;
|
|
9733
9933
|
monteur_id?: string | null;
|
|
9734
9934
|
reason?: string | null;
|
|
9935
|
+
reden_afkeur?: string | null;
|
|
9735
9936
|
start_date?: string;
|
|
9736
9937
|
start_time?: string | null;
|
|
9737
9938
|
status?: string;
|
|
@@ -10229,6 +10430,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10229
10430
|
};
|
|
10230
10431
|
Relationships: [];
|
|
10231
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
|
+
};
|
|
10232
10457
|
logistics_control_scan: {
|
|
10233
10458
|
Row: {
|
|
10234
10459
|
approved_at: string | null;
|
|
@@ -10874,6 +11099,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10874
11099
|
};
|
|
10875
11100
|
Relationships: [];
|
|
10876
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
|
+
};
|
|
10877
11150
|
logistics_order_merges: {
|
|
10878
11151
|
Row: {
|
|
10879
11152
|
group_key: string;
|
|
@@ -10910,6 +11183,72 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10910
11183
|
};
|
|
10911
11184
|
Relationships: [];
|
|
10912
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
|
+
};
|
|
10913
11252
|
logistics_pick_data_requests: {
|
|
10914
11253
|
Row: {
|
|
10915
11254
|
actions: import("./types").Json;
|
|
@@ -11147,14 +11486,70 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11147
11486
|
};
|
|
11148
11487
|
Relationships: [];
|
|
11149
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
|
+
};
|
|
11150
11543
|
logistics_rebuffer_state: {
|
|
11151
11544
|
Row: {
|
|
11152
11545
|
created_at: string;
|
|
11153
11546
|
id: boolean;
|
|
11154
11547
|
last_checked: number;
|
|
11155
11548
|
last_duration_ms: number;
|
|
11549
|
+
last_mode: string | null;
|
|
11156
11550
|
last_run_at: string | null;
|
|
11157
11551
|
last_updated: number;
|
|
11552
|
+
last_would_change: number | null;
|
|
11158
11553
|
pending: boolean;
|
|
11159
11554
|
requested_at: string | null;
|
|
11160
11555
|
updated_at: string;
|
|
@@ -11164,8 +11559,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11164
11559
|
id?: boolean;
|
|
11165
11560
|
last_checked?: number;
|
|
11166
11561
|
last_duration_ms?: number;
|
|
11562
|
+
last_mode?: string | null;
|
|
11167
11563
|
last_run_at?: string | null;
|
|
11168
11564
|
last_updated?: number;
|
|
11565
|
+
last_would_change?: number | null;
|
|
11169
11566
|
pending?: boolean;
|
|
11170
11567
|
requested_at?: string | null;
|
|
11171
11568
|
updated_at?: string;
|
|
@@ -11175,8 +11572,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11175
11572
|
id?: boolean;
|
|
11176
11573
|
last_checked?: number;
|
|
11177
11574
|
last_duration_ms?: number;
|
|
11575
|
+
last_mode?: string | null;
|
|
11178
11576
|
last_run_at?: string | null;
|
|
11179
11577
|
last_updated?: number;
|
|
11578
|
+
last_would_change?: number | null;
|
|
11180
11579
|
pending?: boolean;
|
|
11181
11580
|
requested_at?: string | null;
|
|
11182
11581
|
updated_at?: string;
|
|
@@ -13172,6 +13571,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13172
13571
|
};
|
|
13173
13572
|
Relationships: [];
|
|
13174
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
|
+
};
|
|
13175
13610
|
nmbrs_component_mapping: {
|
|
13176
13611
|
Row: {
|
|
13177
13612
|
created_at: string;
|
|
@@ -13651,6 +14086,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13651
14086
|
id: string;
|
|
13652
14087
|
items: import("./types").Json;
|
|
13653
14088
|
notes: string | null;
|
|
14089
|
+
order_creation_error: string | null;
|
|
14090
|
+
order_creation_failed_at: string | null;
|
|
14091
|
+
order_id: string | null;
|
|
13654
14092
|
order_number: string | null;
|
|
13655
14093
|
recipient_id: string;
|
|
13656
14094
|
total_amount: number;
|
|
@@ -13665,6 +14103,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13665
14103
|
id?: string;
|
|
13666
14104
|
items?: import("./types").Json;
|
|
13667
14105
|
notes?: string | null;
|
|
14106
|
+
order_creation_error?: string | null;
|
|
14107
|
+
order_creation_failed_at?: string | null;
|
|
14108
|
+
order_id?: string | null;
|
|
13668
14109
|
order_number?: string | null;
|
|
13669
14110
|
recipient_id: string;
|
|
13670
14111
|
total_amount?: number;
|
|
@@ -13679,6 +14120,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13679
14120
|
id?: string;
|
|
13680
14121
|
items?: import("./types").Json;
|
|
13681
14122
|
notes?: string | null;
|
|
14123
|
+
order_creation_error?: string | null;
|
|
14124
|
+
order_creation_failed_at?: string | null;
|
|
14125
|
+
order_id?: string | null;
|
|
13682
14126
|
order_number?: string | null;
|
|
13683
14127
|
recipient_id?: string;
|
|
13684
14128
|
total_amount?: number;
|
|
@@ -13696,10 +14140,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13696
14140
|
referencedRelation: "customers";
|
|
13697
14141
|
referencedColumns: ["id"];
|
|
13698
14142
|
}, {
|
|
13699
|
-
foreignKeyName: "
|
|
13700
|
-
columns: ["
|
|
14143
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14144
|
+
columns: ["order_id"];
|
|
13701
14145
|
isOneToOne: false;
|
|
13702
|
-
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";
|
|
13703
14153
|
referencedColumns: ["id"];
|
|
13704
14154
|
}];
|
|
13705
14155
|
};
|
|
@@ -13835,6 +14285,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13835
14285
|
};
|
|
13836
14286
|
Relationships: [];
|
|
13837
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
|
+
};
|
|
13838
14312
|
order_buffers: {
|
|
13839
14313
|
Row: {
|
|
13840
14314
|
buffer_key: string;
|
|
@@ -14266,6 +14740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14266
14740
|
next_attempt_at: string;
|
|
14267
14741
|
order_id: string;
|
|
14268
14742
|
processed_at: string | null;
|
|
14743
|
+
send_error: string | null;
|
|
14269
14744
|
status: string;
|
|
14270
14745
|
updated_at: string;
|
|
14271
14746
|
};
|
|
@@ -14279,6 +14754,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14279
14754
|
next_attempt_at?: string;
|
|
14280
14755
|
order_id: string;
|
|
14281
14756
|
processed_at?: string | null;
|
|
14757
|
+
send_error?: string | null;
|
|
14282
14758
|
status?: string;
|
|
14283
14759
|
updated_at?: string;
|
|
14284
14760
|
};
|
|
@@ -14292,6 +14768,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14292
14768
|
next_attempt_at?: string;
|
|
14293
14769
|
order_id?: string;
|
|
14294
14770
|
processed_at?: string | null;
|
|
14771
|
+
send_error?: string | null;
|
|
14295
14772
|
status?: string;
|
|
14296
14773
|
updated_at?: string;
|
|
14297
14774
|
};
|
|
@@ -14304,10 +14781,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14304
14781
|
id: string;
|
|
14305
14782
|
layers_per_cart: number | null;
|
|
14306
14783
|
order_id: string;
|
|
14784
|
+
packing_locked_at: string | null;
|
|
14785
|
+
packing_locked_by: string | null;
|
|
14307
14786
|
plants_per_crate: number | null;
|
|
14308
14787
|
product_id: string | null;
|
|
14309
14788
|
product_name: string;
|
|
14310
14789
|
quantity: number;
|
|
14790
|
+
source_line_key: string | null;
|
|
14311
14791
|
unit: string;
|
|
14312
14792
|
unit_price: number | null;
|
|
14313
14793
|
};
|
|
@@ -14317,10 +14797,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14317
14797
|
id?: string;
|
|
14318
14798
|
layers_per_cart?: number | null;
|
|
14319
14799
|
order_id: string;
|
|
14800
|
+
packing_locked_at?: string | null;
|
|
14801
|
+
packing_locked_by?: string | null;
|
|
14320
14802
|
plants_per_crate?: number | null;
|
|
14321
14803
|
product_id?: string | null;
|
|
14322
14804
|
product_name: string;
|
|
14323
14805
|
quantity?: number;
|
|
14806
|
+
source_line_key?: string | null;
|
|
14324
14807
|
unit?: string;
|
|
14325
14808
|
unit_price?: number | null;
|
|
14326
14809
|
};
|
|
@@ -14330,10 +14813,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14330
14813
|
id?: string;
|
|
14331
14814
|
layers_per_cart?: number | null;
|
|
14332
14815
|
order_id?: string;
|
|
14816
|
+
packing_locked_at?: string | null;
|
|
14817
|
+
packing_locked_by?: string | null;
|
|
14333
14818
|
plants_per_crate?: number | null;
|
|
14334
14819
|
product_id?: string | null;
|
|
14335
14820
|
product_name?: string;
|
|
14336
14821
|
quantity?: number;
|
|
14822
|
+
source_line_key?: string | null;
|
|
14337
14823
|
unit?: string;
|
|
14338
14824
|
unit_price?: number | null;
|
|
14339
14825
|
};
|
|
@@ -15842,6 +16328,195 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15842
16328
|
referencedColumns: ["id"];
|
|
15843
16329
|
}];
|
|
15844
16330
|
};
|
|
16331
|
+
planning_monteur_day_locations: {
|
|
16332
|
+
Row: {
|
|
16333
|
+
created_at: string;
|
|
16334
|
+
day: string;
|
|
16335
|
+
end_at: string;
|
|
16336
|
+
id: string;
|
|
16337
|
+
monteur_id: string;
|
|
16338
|
+
start_from: string;
|
|
16339
|
+
updated_at: string;
|
|
16340
|
+
};
|
|
16341
|
+
Insert: {
|
|
16342
|
+
created_at?: string;
|
|
16343
|
+
day: string;
|
|
16344
|
+
end_at?: string;
|
|
16345
|
+
id?: string;
|
|
16346
|
+
monteur_id: string;
|
|
16347
|
+
start_from?: string;
|
|
16348
|
+
updated_at?: string;
|
|
16349
|
+
};
|
|
16350
|
+
Update: {
|
|
16351
|
+
created_at?: string;
|
|
16352
|
+
day?: string;
|
|
16353
|
+
end_at?: string;
|
|
16354
|
+
id?: string;
|
|
16355
|
+
monteur_id?: string;
|
|
16356
|
+
start_from?: string;
|
|
16357
|
+
updated_at?: string;
|
|
16358
|
+
};
|
|
16359
|
+
Relationships: [];
|
|
16360
|
+
};
|
|
16361
|
+
planning_monteur_locations: {
|
|
16362
|
+
Row: {
|
|
16363
|
+
created_at: string;
|
|
16364
|
+
default_end: string;
|
|
16365
|
+
default_start: string;
|
|
16366
|
+
end_address: string | null;
|
|
16367
|
+
home_address: string | null;
|
|
16368
|
+
id: string;
|
|
16369
|
+
monteur_id: string;
|
|
16370
|
+
start_address: string | null;
|
|
16371
|
+
updated_at: string;
|
|
16372
|
+
};
|
|
16373
|
+
Insert: {
|
|
16374
|
+
created_at?: string;
|
|
16375
|
+
default_end?: string;
|
|
16376
|
+
default_start?: string;
|
|
16377
|
+
end_address?: string | null;
|
|
16378
|
+
home_address?: string | null;
|
|
16379
|
+
id?: string;
|
|
16380
|
+
monteur_id: string;
|
|
16381
|
+
start_address?: string | null;
|
|
16382
|
+
updated_at?: string;
|
|
16383
|
+
};
|
|
16384
|
+
Update: {
|
|
16385
|
+
created_at?: string;
|
|
16386
|
+
default_end?: string;
|
|
16387
|
+
default_start?: string;
|
|
16388
|
+
end_address?: string | null;
|
|
16389
|
+
home_address?: string | null;
|
|
16390
|
+
id?: string;
|
|
16391
|
+
monteur_id?: string;
|
|
16392
|
+
start_address?: string | null;
|
|
16393
|
+
updated_at?: string;
|
|
16394
|
+
};
|
|
16395
|
+
Relationships: [];
|
|
16396
|
+
};
|
|
16397
|
+
planning_settings: {
|
|
16398
|
+
Row: {
|
|
16399
|
+
company_address: string | null;
|
|
16400
|
+
created_at: string;
|
|
16401
|
+
id: string;
|
|
16402
|
+
singleton: boolean;
|
|
16403
|
+
updated_at: string;
|
|
16404
|
+
};
|
|
16405
|
+
Insert: {
|
|
16406
|
+
company_address?: string | null;
|
|
16407
|
+
created_at?: string;
|
|
16408
|
+
id?: string;
|
|
16409
|
+
singleton?: boolean;
|
|
16410
|
+
updated_at?: string;
|
|
16411
|
+
};
|
|
16412
|
+
Update: {
|
|
16413
|
+
company_address?: string | null;
|
|
16414
|
+
created_at?: string;
|
|
16415
|
+
id?: string;
|
|
16416
|
+
singleton?: boolean;
|
|
16417
|
+
updated_at?: string;
|
|
16418
|
+
};
|
|
16419
|
+
Relationships: [];
|
|
16420
|
+
};
|
|
16421
|
+
planning_travel_legs: {
|
|
16422
|
+
Row: {
|
|
16423
|
+
after_min: number;
|
|
16424
|
+
after_reason: string | null;
|
|
16425
|
+
after_status: string;
|
|
16426
|
+
after_to_address: string | null;
|
|
16427
|
+
before_from_address: string | null;
|
|
16428
|
+
before_min: number;
|
|
16429
|
+
before_reason: string | null;
|
|
16430
|
+
before_status: string;
|
|
16431
|
+
computed_at: string;
|
|
16432
|
+
computed_end_at: string | null;
|
|
16433
|
+
computed_start_at: string | null;
|
|
16434
|
+
created_at: string;
|
|
16435
|
+
id: string;
|
|
16436
|
+
monteur_id: string;
|
|
16437
|
+
planning_item_id: string;
|
|
16438
|
+
shared_after_item_id: string | null;
|
|
16439
|
+
shared_before_item_id: string | null;
|
|
16440
|
+
updated_at: string;
|
|
16441
|
+
};
|
|
16442
|
+
Insert: {
|
|
16443
|
+
after_min?: number;
|
|
16444
|
+
after_reason?: string | null;
|
|
16445
|
+
after_status?: string;
|
|
16446
|
+
after_to_address?: string | null;
|
|
16447
|
+
before_from_address?: string | null;
|
|
16448
|
+
before_min?: number;
|
|
16449
|
+
before_reason?: string | null;
|
|
16450
|
+
before_status?: string;
|
|
16451
|
+
computed_at?: string;
|
|
16452
|
+
computed_end_at?: string | null;
|
|
16453
|
+
computed_start_at?: string | null;
|
|
16454
|
+
created_at?: string;
|
|
16455
|
+
id?: string;
|
|
16456
|
+
monteur_id: string;
|
|
16457
|
+
planning_item_id: string;
|
|
16458
|
+
shared_after_item_id?: string | null;
|
|
16459
|
+
shared_before_item_id?: string | null;
|
|
16460
|
+
updated_at?: string;
|
|
16461
|
+
};
|
|
16462
|
+
Update: {
|
|
16463
|
+
after_min?: number;
|
|
16464
|
+
after_reason?: string | null;
|
|
16465
|
+
after_status?: string;
|
|
16466
|
+
after_to_address?: string | null;
|
|
16467
|
+
before_from_address?: string | null;
|
|
16468
|
+
before_min?: number;
|
|
16469
|
+
before_reason?: string | null;
|
|
16470
|
+
before_status?: string;
|
|
16471
|
+
computed_at?: string;
|
|
16472
|
+
computed_end_at?: string | null;
|
|
16473
|
+
computed_start_at?: string | null;
|
|
16474
|
+
created_at?: string;
|
|
16475
|
+
id?: string;
|
|
16476
|
+
monteur_id?: string;
|
|
16477
|
+
planning_item_id?: string;
|
|
16478
|
+
shared_after_item_id?: string | null;
|
|
16479
|
+
shared_before_item_id?: string | null;
|
|
16480
|
+
updated_at?: string;
|
|
16481
|
+
};
|
|
16482
|
+
Relationships: [{
|
|
16483
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16484
|
+
columns: ["planning_item_id"];
|
|
16485
|
+
isOneToOne: false;
|
|
16486
|
+
referencedRelation: "planning_items";
|
|
16487
|
+
referencedColumns: ["id"];
|
|
16488
|
+
}, {
|
|
16489
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16490
|
+
columns: ["planning_item_id"];
|
|
16491
|
+
isOneToOne: false;
|
|
16492
|
+
referencedRelation: "planning_overview";
|
|
16493
|
+
referencedColumns: ["id"];
|
|
16494
|
+
}, {
|
|
16495
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16496
|
+
columns: ["shared_after_item_id"];
|
|
16497
|
+
isOneToOne: false;
|
|
16498
|
+
referencedRelation: "planning_items";
|
|
16499
|
+
referencedColumns: ["id"];
|
|
16500
|
+
}, {
|
|
16501
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16502
|
+
columns: ["shared_after_item_id"];
|
|
16503
|
+
isOneToOne: false;
|
|
16504
|
+
referencedRelation: "planning_overview";
|
|
16505
|
+
referencedColumns: ["id"];
|
|
16506
|
+
}, {
|
|
16507
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16508
|
+
columns: ["shared_before_item_id"];
|
|
16509
|
+
isOneToOne: false;
|
|
16510
|
+
referencedRelation: "planning_items";
|
|
16511
|
+
referencedColumns: ["id"];
|
|
16512
|
+
}, {
|
|
16513
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16514
|
+
columns: ["shared_before_item_id"];
|
|
16515
|
+
isOneToOne: false;
|
|
16516
|
+
referencedRelation: "planning_overview";
|
|
16517
|
+
referencedColumns: ["id"];
|
|
16518
|
+
}];
|
|
16519
|
+
};
|
|
15845
16520
|
price_list_rows: {
|
|
15846
16521
|
Row: {
|
|
15847
16522
|
action: string;
|
|
@@ -17014,6 +17689,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17014
17689
|
};
|
|
17015
17690
|
product_load_settings: {
|
|
17016
17691
|
Row: {
|
|
17692
|
+
build: import("./types").Json | null;
|
|
17693
|
+
build_status: string;
|
|
17017
17694
|
created_at: string;
|
|
17018
17695
|
id: string;
|
|
17019
17696
|
is_package: boolean;
|
|
@@ -17031,6 +17708,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17031
17708
|
updated_at: string;
|
|
17032
17709
|
};
|
|
17033
17710
|
Insert: {
|
|
17711
|
+
build?: import("./types").Json | null;
|
|
17712
|
+
build_status?: string;
|
|
17034
17713
|
created_at?: string;
|
|
17035
17714
|
id?: string;
|
|
17036
17715
|
is_package?: boolean;
|
|
@@ -17048,6 +17727,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17048
17727
|
updated_at?: string;
|
|
17049
17728
|
};
|
|
17050
17729
|
Update: {
|
|
17730
|
+
build?: import("./types").Json | null;
|
|
17731
|
+
build_status?: string;
|
|
17051
17732
|
created_at?: string;
|
|
17052
17733
|
id?: string;
|
|
17053
17734
|
is_package?: boolean;
|
|
@@ -17117,6 +17798,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17117
17798
|
};
|
|
17118
17799
|
Relationships: [];
|
|
17119
17800
|
};
|
|
17801
|
+
product_suppliers: {
|
|
17802
|
+
Row: {
|
|
17803
|
+
created_at: string;
|
|
17804
|
+
id: string;
|
|
17805
|
+
is_preferred: boolean;
|
|
17806
|
+
lead_time_days: number | null;
|
|
17807
|
+
min_order_quantity: number | null;
|
|
17808
|
+
notes: string | null;
|
|
17809
|
+
previous_price_cents: number | null;
|
|
17810
|
+
price_source: string;
|
|
17811
|
+
price_updated_at: string | null;
|
|
17812
|
+
product_id: string;
|
|
17813
|
+
purchase_price_cents: number | null;
|
|
17814
|
+
supplier_article_number: string | null;
|
|
17815
|
+
supplier_id: string;
|
|
17816
|
+
updated_at: string;
|
|
17817
|
+
};
|
|
17818
|
+
Insert: {
|
|
17819
|
+
created_at?: string;
|
|
17820
|
+
id?: string;
|
|
17821
|
+
is_preferred?: boolean;
|
|
17822
|
+
lead_time_days?: number | null;
|
|
17823
|
+
min_order_quantity?: number | null;
|
|
17824
|
+
notes?: string | null;
|
|
17825
|
+
previous_price_cents?: number | null;
|
|
17826
|
+
price_source?: string;
|
|
17827
|
+
price_updated_at?: string | null;
|
|
17828
|
+
product_id: string;
|
|
17829
|
+
purchase_price_cents?: number | null;
|
|
17830
|
+
supplier_article_number?: string | null;
|
|
17831
|
+
supplier_id: string;
|
|
17832
|
+
updated_at?: string;
|
|
17833
|
+
};
|
|
17834
|
+
Update: {
|
|
17835
|
+
created_at?: string;
|
|
17836
|
+
id?: string;
|
|
17837
|
+
is_preferred?: boolean;
|
|
17838
|
+
lead_time_days?: number | null;
|
|
17839
|
+
min_order_quantity?: number | null;
|
|
17840
|
+
notes?: string | null;
|
|
17841
|
+
previous_price_cents?: number | null;
|
|
17842
|
+
price_source?: string;
|
|
17843
|
+
price_updated_at?: string | null;
|
|
17844
|
+
product_id?: string;
|
|
17845
|
+
purchase_price_cents?: number | null;
|
|
17846
|
+
supplier_article_number?: string | null;
|
|
17847
|
+
supplier_id?: string;
|
|
17848
|
+
updated_at?: string;
|
|
17849
|
+
};
|
|
17850
|
+
Relationships: [{
|
|
17851
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17852
|
+
columns: ["product_id"];
|
|
17853
|
+
isOneToOne: false;
|
|
17854
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17855
|
+
referencedColumns: ["product_id"];
|
|
17856
|
+
}, {
|
|
17857
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17858
|
+
columns: ["product_id"];
|
|
17859
|
+
isOneToOne: false;
|
|
17860
|
+
referencedRelation: "products";
|
|
17861
|
+
referencedColumns: ["id"];
|
|
17862
|
+
}, {
|
|
17863
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17864
|
+
columns: ["supplier_id"];
|
|
17865
|
+
isOneToOne: false;
|
|
17866
|
+
referencedRelation: "suppliers";
|
|
17867
|
+
referencedColumns: ["id"];
|
|
17868
|
+
}];
|
|
17869
|
+
};
|
|
17870
|
+
product_tray_stickers: {
|
|
17871
|
+
Row: {
|
|
17872
|
+
bestand_url: string;
|
|
17873
|
+
bestandsgrootte: number | null;
|
|
17874
|
+
bestandsnaam: string | null;
|
|
17875
|
+
bestandspad: string | null;
|
|
17876
|
+
created_at: string;
|
|
17877
|
+
product_id: string;
|
|
17878
|
+
updated_at: string;
|
|
17879
|
+
};
|
|
17880
|
+
Insert: {
|
|
17881
|
+
bestand_url: string;
|
|
17882
|
+
bestandsgrootte?: number | null;
|
|
17883
|
+
bestandsnaam?: string | null;
|
|
17884
|
+
bestandspad?: string | null;
|
|
17885
|
+
created_at?: string;
|
|
17886
|
+
product_id: string;
|
|
17887
|
+
updated_at?: string;
|
|
17888
|
+
};
|
|
17889
|
+
Update: {
|
|
17890
|
+
bestand_url?: string;
|
|
17891
|
+
bestandsgrootte?: number | null;
|
|
17892
|
+
bestandsnaam?: string | null;
|
|
17893
|
+
bestandspad?: string | null;
|
|
17894
|
+
created_at?: string;
|
|
17895
|
+
product_id?: string;
|
|
17896
|
+
updated_at?: string;
|
|
17897
|
+
};
|
|
17898
|
+
Relationships: [{
|
|
17899
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17900
|
+
columns: ["product_id"];
|
|
17901
|
+
isOneToOne: true;
|
|
17902
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17903
|
+
referencedColumns: ["product_id"];
|
|
17904
|
+
}, {
|
|
17905
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17906
|
+
columns: ["product_id"];
|
|
17907
|
+
isOneToOne: true;
|
|
17908
|
+
referencedRelation: "products";
|
|
17909
|
+
referencedColumns: ["id"];
|
|
17910
|
+
}];
|
|
17911
|
+
};
|
|
17120
17912
|
products: {
|
|
17121
17913
|
Row: {
|
|
17122
17914
|
article_number: string | null;
|
|
@@ -17125,6 +17917,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17125
17917
|
crates_per_layer: number;
|
|
17126
17918
|
created_at: string;
|
|
17127
17919
|
custom_fields: import("./types").Json;
|
|
17920
|
+
floriday_packing_confirmed_at: string | null;
|
|
17921
|
+
floriday_packing_source: string | null;
|
|
17128
17922
|
floriday_trade_item_id: string | null;
|
|
17129
17923
|
fust_type_id: string | null;
|
|
17130
17924
|
id: string;
|
|
@@ -17153,6 +17947,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17153
17947
|
crates_per_layer?: number;
|
|
17154
17948
|
created_at?: string;
|
|
17155
17949
|
custom_fields?: import("./types").Json;
|
|
17950
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17951
|
+
floriday_packing_source?: string | null;
|
|
17156
17952
|
floriday_trade_item_id?: string | null;
|
|
17157
17953
|
fust_type_id?: string | null;
|
|
17158
17954
|
id?: string;
|
|
@@ -17181,6 +17977,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17181
17977
|
crates_per_layer?: number;
|
|
17182
17978
|
created_at?: string;
|
|
17183
17979
|
custom_fields?: import("./types").Json;
|
|
17980
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17981
|
+
floriday_packing_source?: string | null;
|
|
17184
17982
|
floriday_trade_item_id?: string | null;
|
|
17185
17983
|
fust_type_id?: string | null;
|
|
17186
17984
|
id?: string;
|
|
@@ -17280,6 +18078,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17280
18078
|
id: string;
|
|
17281
18079
|
is_superadmin: boolean;
|
|
17282
18080
|
notification_preferences: import("./types").Json;
|
|
18081
|
+
phone: string | null;
|
|
17283
18082
|
tenant_id: string | null;
|
|
17284
18083
|
updated_at: string;
|
|
17285
18084
|
};
|
|
@@ -17292,6 +18091,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17292
18091
|
id: string;
|
|
17293
18092
|
is_superadmin?: boolean;
|
|
17294
18093
|
notification_preferences?: import("./types").Json;
|
|
18094
|
+
phone?: string | null;
|
|
17295
18095
|
tenant_id?: string | null;
|
|
17296
18096
|
updated_at?: string;
|
|
17297
18097
|
};
|
|
@@ -17304,6 +18104,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17304
18104
|
id?: string;
|
|
17305
18105
|
is_superadmin?: boolean;
|
|
17306
18106
|
notification_preferences?: import("./types").Json;
|
|
18107
|
+
phone?: string | null;
|
|
17307
18108
|
tenant_id?: string | null;
|
|
17308
18109
|
updated_at?: string;
|
|
17309
18110
|
};
|
|
@@ -17570,9 +18371,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17570
18371
|
purchase_order_items: {
|
|
17571
18372
|
Row: {
|
|
17572
18373
|
article_number: string | null;
|
|
18374
|
+
cancel_reason: string | null;
|
|
18375
|
+
cancelled_at: string | null;
|
|
17573
18376
|
created_at: string;
|
|
17574
18377
|
delivery_date: string | null;
|
|
17575
18378
|
id: string;
|
|
18379
|
+
incoming_booked: number;
|
|
18380
|
+
line_status: string;
|
|
17576
18381
|
name: string;
|
|
17577
18382
|
note: string | null;
|
|
17578
18383
|
pot_size: string | null;
|
|
@@ -17580,6 +18385,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17580
18385
|
product_type: string;
|
|
17581
18386
|
purchase_order_id: string;
|
|
17582
18387
|
quantity: number;
|
|
18388
|
+
received_at: string | null;
|
|
18389
|
+
received_booked: number;
|
|
17583
18390
|
supplier_id: string | null;
|
|
17584
18391
|
supplier_product_id: string | null;
|
|
17585
18392
|
unit_price_cents: number;
|
|
@@ -17587,9 +18394,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17587
18394
|
};
|
|
17588
18395
|
Insert: {
|
|
17589
18396
|
article_number?: string | null;
|
|
18397
|
+
cancel_reason?: string | null;
|
|
18398
|
+
cancelled_at?: string | null;
|
|
17590
18399
|
created_at?: string;
|
|
17591
18400
|
delivery_date?: string | null;
|
|
17592
18401
|
id?: string;
|
|
18402
|
+
incoming_booked?: number;
|
|
18403
|
+
line_status?: string;
|
|
17593
18404
|
name?: string;
|
|
17594
18405
|
note?: string | null;
|
|
17595
18406
|
pot_size?: string | null;
|
|
@@ -17597,6 +18408,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17597
18408
|
product_type?: string;
|
|
17598
18409
|
purchase_order_id: string;
|
|
17599
18410
|
quantity?: number;
|
|
18411
|
+
received_at?: string | null;
|
|
18412
|
+
received_booked?: number;
|
|
17600
18413
|
supplier_id?: string | null;
|
|
17601
18414
|
supplier_product_id?: string | null;
|
|
17602
18415
|
unit_price_cents?: number;
|
|
@@ -17604,9 +18417,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17604
18417
|
};
|
|
17605
18418
|
Update: {
|
|
17606
18419
|
article_number?: string | null;
|
|
18420
|
+
cancel_reason?: string | null;
|
|
18421
|
+
cancelled_at?: string | null;
|
|
17607
18422
|
created_at?: string;
|
|
17608
18423
|
delivery_date?: string | null;
|
|
17609
18424
|
id?: string;
|
|
18425
|
+
incoming_booked?: number;
|
|
18426
|
+
line_status?: string;
|
|
17610
18427
|
name?: string;
|
|
17611
18428
|
note?: string | null;
|
|
17612
18429
|
pot_size?: string | null;
|
|
@@ -17614,6 +18431,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17614
18431
|
product_type?: string;
|
|
17615
18432
|
purchase_order_id?: string;
|
|
17616
18433
|
quantity?: number;
|
|
18434
|
+
received_at?: string | null;
|
|
18435
|
+
received_booked?: number;
|
|
17617
18436
|
supplier_id?: string | null;
|
|
17618
18437
|
supplier_product_id?: string | null;
|
|
17619
18438
|
unit_price_cents?: number;
|
|
@@ -17717,33 +18536,180 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17717
18536
|
referencedColumns: ["id"];
|
|
17718
18537
|
}];
|
|
17719
18538
|
};
|
|
17720
|
-
|
|
18539
|
+
purchase_request_events: {
|
|
17721
18540
|
Row: {
|
|
17722
|
-
booking_id: string | null;
|
|
17723
18541
|
created_at: string;
|
|
18542
|
+
details: import("./types").Json | null;
|
|
18543
|
+
event_type: string;
|
|
17724
18544
|
id: string;
|
|
17725
|
-
|
|
17726
|
-
message: string;
|
|
17727
|
-
recipient_email: string | null;
|
|
17728
|
-
title: string;
|
|
17729
|
-
type: string;
|
|
18545
|
+
request_id: string;
|
|
17730
18546
|
};
|
|
17731
18547
|
Insert: {
|
|
17732
|
-
booking_id?: string | null;
|
|
17733
18548
|
created_at?: string;
|
|
18549
|
+
details?: import("./types").Json | null;
|
|
18550
|
+
event_type: string;
|
|
17734
18551
|
id?: string;
|
|
17735
|
-
|
|
17736
|
-
message: string;
|
|
17737
|
-
recipient_email?: string | null;
|
|
17738
|
-
title: string;
|
|
17739
|
-
type: string;
|
|
18552
|
+
request_id: string;
|
|
17740
18553
|
};
|
|
17741
18554
|
Update: {
|
|
17742
|
-
booking_id?: string | null;
|
|
17743
18555
|
created_at?: string;
|
|
18556
|
+
details?: import("./types").Json | null;
|
|
18557
|
+
event_type?: string;
|
|
17744
18558
|
id?: string;
|
|
17745
|
-
|
|
17746
|
-
|
|
18559
|
+
request_id?: string;
|
|
18560
|
+
};
|
|
18561
|
+
Relationships: [{
|
|
18562
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18563
|
+
columns: ["request_id"];
|
|
18564
|
+
isOneToOne: false;
|
|
18565
|
+
referencedRelation: "purchase_requests";
|
|
18566
|
+
referencedColumns: ["id"];
|
|
18567
|
+
}];
|
|
18568
|
+
};
|
|
18569
|
+
purchase_request_responses: {
|
|
18570
|
+
Row: {
|
|
18571
|
+
confirmed_date: string | null;
|
|
18572
|
+
confirmed_price_cents: number | null;
|
|
18573
|
+
confirmed_quantity: number;
|
|
18574
|
+
created_at: string;
|
|
18575
|
+
id: string;
|
|
18576
|
+
not_available: boolean;
|
|
18577
|
+
note: string | null;
|
|
18578
|
+
purchase_order_item_id: string;
|
|
18579
|
+
request_id: string;
|
|
18580
|
+
updated_at: string;
|
|
18581
|
+
};
|
|
18582
|
+
Insert: {
|
|
18583
|
+
confirmed_date?: string | null;
|
|
18584
|
+
confirmed_price_cents?: number | null;
|
|
18585
|
+
confirmed_quantity?: number;
|
|
18586
|
+
created_at?: string;
|
|
18587
|
+
id?: string;
|
|
18588
|
+
not_available?: boolean;
|
|
18589
|
+
note?: string | null;
|
|
18590
|
+
purchase_order_item_id: string;
|
|
18591
|
+
request_id: string;
|
|
18592
|
+
updated_at?: string;
|
|
18593
|
+
};
|
|
18594
|
+
Update: {
|
|
18595
|
+
confirmed_date?: string | null;
|
|
18596
|
+
confirmed_price_cents?: number | null;
|
|
18597
|
+
confirmed_quantity?: number;
|
|
18598
|
+
created_at?: string;
|
|
18599
|
+
id?: string;
|
|
18600
|
+
not_available?: boolean;
|
|
18601
|
+
note?: string | null;
|
|
18602
|
+
purchase_order_item_id?: string;
|
|
18603
|
+
request_id?: string;
|
|
18604
|
+
updated_at?: string;
|
|
18605
|
+
};
|
|
18606
|
+
Relationships: [{
|
|
18607
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18608
|
+
columns: ["purchase_order_item_id"];
|
|
18609
|
+
isOneToOne: false;
|
|
18610
|
+
referencedRelation: "purchase_order_items";
|
|
18611
|
+
referencedColumns: ["id"];
|
|
18612
|
+
}, {
|
|
18613
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18614
|
+
columns: ["request_id"];
|
|
18615
|
+
isOneToOne: false;
|
|
18616
|
+
referencedRelation: "purchase_requests";
|
|
18617
|
+
referencedColumns: ["id"];
|
|
18618
|
+
}];
|
|
18619
|
+
};
|
|
18620
|
+
purchase_requests: {
|
|
18621
|
+
Row: {
|
|
18622
|
+
created_at: string;
|
|
18623
|
+
expires_at: string;
|
|
18624
|
+
first_viewed_at: string | null;
|
|
18625
|
+
id: string;
|
|
18626
|
+
processed_at: string | null;
|
|
18627
|
+
purchase_order_id: string;
|
|
18628
|
+
responded_at: string | null;
|
|
18629
|
+
sent_at: string;
|
|
18630
|
+
status: string;
|
|
18631
|
+
supplier_id: string | null;
|
|
18632
|
+
supplier_name: string;
|
|
18633
|
+
supplier_note: string | null;
|
|
18634
|
+
to_address: string | null;
|
|
18635
|
+
token_hash: string;
|
|
18636
|
+
updated_at: string;
|
|
18637
|
+
};
|
|
18638
|
+
Insert: {
|
|
18639
|
+
created_at?: string;
|
|
18640
|
+
expires_at?: string;
|
|
18641
|
+
first_viewed_at?: string | null;
|
|
18642
|
+
id?: string;
|
|
18643
|
+
processed_at?: string | null;
|
|
18644
|
+
purchase_order_id: string;
|
|
18645
|
+
responded_at?: string | null;
|
|
18646
|
+
sent_at?: string;
|
|
18647
|
+
status?: string;
|
|
18648
|
+
supplier_id?: string | null;
|
|
18649
|
+
supplier_name?: string;
|
|
18650
|
+
supplier_note?: string | null;
|
|
18651
|
+
to_address?: string | null;
|
|
18652
|
+
token_hash: string;
|
|
18653
|
+
updated_at?: string;
|
|
18654
|
+
};
|
|
18655
|
+
Update: {
|
|
18656
|
+
created_at?: string;
|
|
18657
|
+
expires_at?: string;
|
|
18658
|
+
first_viewed_at?: string | null;
|
|
18659
|
+
id?: string;
|
|
18660
|
+
processed_at?: string | null;
|
|
18661
|
+
purchase_order_id?: string;
|
|
18662
|
+
responded_at?: string | null;
|
|
18663
|
+
sent_at?: string;
|
|
18664
|
+
status?: string;
|
|
18665
|
+
supplier_id?: string | null;
|
|
18666
|
+
supplier_name?: string;
|
|
18667
|
+
supplier_note?: string | null;
|
|
18668
|
+
to_address?: string | null;
|
|
18669
|
+
token_hash?: string;
|
|
18670
|
+
updated_at?: string;
|
|
18671
|
+
};
|
|
18672
|
+
Relationships: [{
|
|
18673
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18674
|
+
columns: ["purchase_order_id"];
|
|
18675
|
+
isOneToOne: false;
|
|
18676
|
+
referencedRelation: "purchase_orders";
|
|
18677
|
+
referencedColumns: ["id"];
|
|
18678
|
+
}, {
|
|
18679
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18680
|
+
columns: ["supplier_id"];
|
|
18681
|
+
isOneToOne: false;
|
|
18682
|
+
referencedRelation: "suppliers";
|
|
18683
|
+
referencedColumns: ["id"];
|
|
18684
|
+
}];
|
|
18685
|
+
};
|
|
18686
|
+
reception_notifications: {
|
|
18687
|
+
Row: {
|
|
18688
|
+
booking_id: string | null;
|
|
18689
|
+
created_at: string;
|
|
18690
|
+
id: string;
|
|
18691
|
+
is_read: boolean;
|
|
18692
|
+
message: string;
|
|
18693
|
+
recipient_email: string | null;
|
|
18694
|
+
title: string;
|
|
18695
|
+
type: string;
|
|
18696
|
+
};
|
|
18697
|
+
Insert: {
|
|
18698
|
+
booking_id?: string | null;
|
|
18699
|
+
created_at?: string;
|
|
18700
|
+
id?: string;
|
|
18701
|
+
is_read?: boolean;
|
|
18702
|
+
message: string;
|
|
18703
|
+
recipient_email?: string | null;
|
|
18704
|
+
title: string;
|
|
18705
|
+
type: string;
|
|
18706
|
+
};
|
|
18707
|
+
Update: {
|
|
18708
|
+
booking_id?: string | null;
|
|
18709
|
+
created_at?: string;
|
|
18710
|
+
id?: string;
|
|
18711
|
+
is_read?: boolean;
|
|
18712
|
+
message?: string;
|
|
17747
18713
|
recipient_email?: string | null;
|
|
17748
18714
|
title?: string;
|
|
17749
18715
|
type?: string;
|
|
@@ -19047,40 +20013,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19047
20013
|
Row: {
|
|
19048
20014
|
approved_at: string | null;
|
|
19049
20015
|
approved_by: string | null;
|
|
20016
|
+
contract_hours: number;
|
|
19050
20017
|
created_at: string;
|
|
19051
20018
|
employee_id: string;
|
|
19052
20019
|
id: string;
|
|
19053
20020
|
locked: boolean;
|
|
20021
|
+
monteur_toelichting: string | null;
|
|
19054
20022
|
notes: string | null;
|
|
20023
|
+
planned_hours: number;
|
|
19055
20024
|
status: string;
|
|
19056
20025
|
submitted_at: string | null;
|
|
19057
20026
|
updated_at: string;
|
|
20027
|
+
variance_hours: number;
|
|
19058
20028
|
week_start: string;
|
|
19059
20029
|
};
|
|
19060
20030
|
Insert: {
|
|
19061
20031
|
approved_at?: string | null;
|
|
19062
20032
|
approved_by?: string | null;
|
|
20033
|
+
contract_hours?: number;
|
|
19063
20034
|
created_at?: string;
|
|
19064
20035
|
employee_id: string;
|
|
19065
20036
|
id?: string;
|
|
19066
20037
|
locked?: boolean;
|
|
20038
|
+
monteur_toelichting?: string | null;
|
|
19067
20039
|
notes?: string | null;
|
|
20040
|
+
planned_hours?: number;
|
|
19068
20041
|
status?: string;
|
|
19069
20042
|
submitted_at?: string | null;
|
|
19070
20043
|
updated_at?: string;
|
|
20044
|
+
variance_hours?: number;
|
|
19071
20045
|
week_start: string;
|
|
19072
20046
|
};
|
|
19073
20047
|
Update: {
|
|
19074
20048
|
approved_at?: string | null;
|
|
19075
20049
|
approved_by?: string | null;
|
|
20050
|
+
contract_hours?: number;
|
|
19076
20051
|
created_at?: string;
|
|
19077
20052
|
employee_id?: string;
|
|
19078
20053
|
id?: string;
|
|
19079
20054
|
locked?: boolean;
|
|
20055
|
+
monteur_toelichting?: string | null;
|
|
19080
20056
|
notes?: string | null;
|
|
20057
|
+
planned_hours?: number;
|
|
19081
20058
|
status?: string;
|
|
19082
20059
|
submitted_at?: string | null;
|
|
19083
20060
|
updated_at?: string;
|
|
20061
|
+
variance_hours?: number;
|
|
19084
20062
|
week_start?: string;
|
|
19085
20063
|
};
|
|
19086
20064
|
Relationships: [{
|
|
@@ -19868,6 +20846,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19868
20846
|
auto_invoice_enabled: boolean;
|
|
19869
20847
|
auto_invoice_start_date: string | null;
|
|
19870
20848
|
auto_invoice_trigger_statuses: string[];
|
|
20849
|
+
auto_send_mode: string | null;
|
|
19871
20850
|
created_at: string;
|
|
19872
20851
|
debtor_gl_account: string;
|
|
19873
20852
|
default_article_code: string | null;
|
|
@@ -19896,6 +20875,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19896
20875
|
auto_invoice_enabled?: boolean;
|
|
19897
20876
|
auto_invoice_start_date?: string | null;
|
|
19898
20877
|
auto_invoice_trigger_statuses?: string[];
|
|
20878
|
+
auto_send_mode?: string | null;
|
|
19899
20879
|
created_at?: string;
|
|
19900
20880
|
debtor_gl_account?: string;
|
|
19901
20881
|
default_article_code?: string | null;
|
|
@@ -19924,6 +20904,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19924
20904
|
auto_invoice_enabled?: boolean;
|
|
19925
20905
|
auto_invoice_start_date?: string | null;
|
|
19926
20906
|
auto_invoice_trigger_statuses?: string[];
|
|
20907
|
+
auto_send_mode?: string | null;
|
|
19927
20908
|
created_at?: string;
|
|
19928
20909
|
debtor_gl_account?: string;
|
|
19929
20910
|
default_article_code?: string | null;
|
|
@@ -20367,16 +21348,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20367
21348
|
Row: {
|
|
20368
21349
|
active_environment: string;
|
|
20369
21350
|
id: number;
|
|
21351
|
+
public_base_url: string | null;
|
|
20370
21352
|
updated_at: string;
|
|
20371
21353
|
};
|
|
20372
21354
|
Insert: {
|
|
20373
21355
|
active_environment?: string;
|
|
20374
21356
|
id?: number;
|
|
21357
|
+
public_base_url?: string | null;
|
|
20375
21358
|
updated_at?: string;
|
|
20376
21359
|
};
|
|
20377
21360
|
Update: {
|
|
20378
21361
|
active_environment?: string;
|
|
20379
21362
|
id?: number;
|
|
21363
|
+
public_base_url?: string | null;
|
|
20380
21364
|
updated_at?: string;
|
|
20381
21365
|
};
|
|
20382
21366
|
Relationships: [];
|
|
@@ -20414,6 +21398,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20414
21398
|
referencedColumns: ["id"];
|
|
20415
21399
|
}];
|
|
20416
21400
|
};
|
|
21401
|
+
uren_beschikbare_dagen: {
|
|
21402
|
+
Row: {
|
|
21403
|
+
bron: string;
|
|
21404
|
+
created_at: string;
|
|
21405
|
+
datum: string;
|
|
21406
|
+
eind_tijd: string | null;
|
|
21407
|
+
half_hour_slots: number[];
|
|
21408
|
+
id: string;
|
|
21409
|
+
monteur_id: string;
|
|
21410
|
+
start_tijd: string | null;
|
|
21411
|
+
updated_at: string;
|
|
21412
|
+
uren: number;
|
|
21413
|
+
};
|
|
21414
|
+
Insert: {
|
|
21415
|
+
bron?: string;
|
|
21416
|
+
created_at?: string;
|
|
21417
|
+
datum: string;
|
|
21418
|
+
eind_tijd?: string | null;
|
|
21419
|
+
half_hour_slots?: number[];
|
|
21420
|
+
id?: string;
|
|
21421
|
+
monteur_id: string;
|
|
21422
|
+
start_tijd?: string | null;
|
|
21423
|
+
updated_at?: string;
|
|
21424
|
+
uren?: number;
|
|
21425
|
+
};
|
|
21426
|
+
Update: {
|
|
21427
|
+
bron?: string;
|
|
21428
|
+
created_at?: string;
|
|
21429
|
+
datum?: string;
|
|
21430
|
+
eind_tijd?: string | null;
|
|
21431
|
+
half_hour_slots?: number[];
|
|
21432
|
+
id?: string;
|
|
21433
|
+
monteur_id?: string;
|
|
21434
|
+
start_tijd?: string | null;
|
|
21435
|
+
updated_at?: string;
|
|
21436
|
+
uren?: number;
|
|
21437
|
+
};
|
|
21438
|
+
Relationships: [];
|
|
21439
|
+
};
|
|
20417
21440
|
uren_cao_profiles: {
|
|
20418
21441
|
Row: {
|
|
20419
21442
|
break_minutes: number | null;
|
|
@@ -20552,6 +21575,135 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20552
21575
|
};
|
|
20553
21576
|
Relationships: [];
|
|
20554
21577
|
};
|
|
21578
|
+
uren_maandafsluitingen: {
|
|
21579
|
+
Row: {
|
|
21580
|
+
afgesloten_at: string | null;
|
|
21581
|
+
afgesloten_door: string | null;
|
|
21582
|
+
contract_minuten: number;
|
|
21583
|
+
correctie_reden: string | null;
|
|
21584
|
+
created_at: string;
|
|
21585
|
+
gecorrigeerd_at: string | null;
|
|
21586
|
+
gecorrigeerd_door: string | null;
|
|
21587
|
+
gewerkte_minuten: number;
|
|
21588
|
+
id: string;
|
|
21589
|
+
maand: string;
|
|
21590
|
+
min_minuten: number;
|
|
21591
|
+
monteur_id: string;
|
|
21592
|
+
netto_verschil_minuten: number;
|
|
21593
|
+
normaal_uitbetaald_minuten: number;
|
|
21594
|
+
omgezet_vakantie_minuten: number;
|
|
21595
|
+
overdracht_vorige_minuten: number;
|
|
21596
|
+
overuren_minuten: number;
|
|
21597
|
+
plus_minuten: number;
|
|
21598
|
+
rest_overuren_minuten: number;
|
|
21599
|
+
status: string;
|
|
21600
|
+
totaal_uitbetaald_minuten: number;
|
|
21601
|
+
updated_at: string;
|
|
21602
|
+
vakantie_uren_bijgeschreven: number;
|
|
21603
|
+
};
|
|
21604
|
+
Insert: {
|
|
21605
|
+
afgesloten_at?: string | null;
|
|
21606
|
+
afgesloten_door?: string | null;
|
|
21607
|
+
contract_minuten?: number;
|
|
21608
|
+
correctie_reden?: string | null;
|
|
21609
|
+
created_at?: string;
|
|
21610
|
+
gecorrigeerd_at?: string | null;
|
|
21611
|
+
gecorrigeerd_door?: string | null;
|
|
21612
|
+
gewerkte_minuten?: number;
|
|
21613
|
+
id?: string;
|
|
21614
|
+
maand: string;
|
|
21615
|
+
min_minuten?: number;
|
|
21616
|
+
monteur_id: string;
|
|
21617
|
+
netto_verschil_minuten?: number;
|
|
21618
|
+
normaal_uitbetaald_minuten?: number;
|
|
21619
|
+
omgezet_vakantie_minuten?: number;
|
|
21620
|
+
overdracht_vorige_minuten?: number;
|
|
21621
|
+
overuren_minuten?: number;
|
|
21622
|
+
plus_minuten?: number;
|
|
21623
|
+
rest_overuren_minuten?: number;
|
|
21624
|
+
status?: string;
|
|
21625
|
+
totaal_uitbetaald_minuten?: number;
|
|
21626
|
+
updated_at?: string;
|
|
21627
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21628
|
+
};
|
|
21629
|
+
Update: {
|
|
21630
|
+
afgesloten_at?: string | null;
|
|
21631
|
+
afgesloten_door?: string | null;
|
|
21632
|
+
contract_minuten?: number;
|
|
21633
|
+
correctie_reden?: string | null;
|
|
21634
|
+
created_at?: string;
|
|
21635
|
+
gecorrigeerd_at?: string | null;
|
|
21636
|
+
gecorrigeerd_door?: string | null;
|
|
21637
|
+
gewerkte_minuten?: number;
|
|
21638
|
+
id?: string;
|
|
21639
|
+
maand?: string;
|
|
21640
|
+
min_minuten?: number;
|
|
21641
|
+
monteur_id?: string;
|
|
21642
|
+
netto_verschil_minuten?: number;
|
|
21643
|
+
normaal_uitbetaald_minuten?: number;
|
|
21644
|
+
omgezet_vakantie_minuten?: number;
|
|
21645
|
+
overdracht_vorige_minuten?: number;
|
|
21646
|
+
overuren_minuten?: number;
|
|
21647
|
+
plus_minuten?: number;
|
|
21648
|
+
rest_overuren_minuten?: number;
|
|
21649
|
+
status?: string;
|
|
21650
|
+
totaal_uitbetaald_minuten?: number;
|
|
21651
|
+
updated_at?: string;
|
|
21652
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21653
|
+
};
|
|
21654
|
+
Relationships: [];
|
|
21655
|
+
};
|
|
21656
|
+
uren_overuren_verklaringen: {
|
|
21657
|
+
Row: {
|
|
21658
|
+
beoordeeld_door: string | null;
|
|
21659
|
+
beoordeeld_op: string | null;
|
|
21660
|
+
created_at: string;
|
|
21661
|
+
datum: string;
|
|
21662
|
+
eind_tijd: string | null;
|
|
21663
|
+
id: string;
|
|
21664
|
+
ingediend_at: string;
|
|
21665
|
+
monteur_id: string;
|
|
21666
|
+
overuren: number;
|
|
21667
|
+
reden_afkeur: string | null;
|
|
21668
|
+
start_tijd: string | null;
|
|
21669
|
+
status: string;
|
|
21670
|
+
toelichting: string;
|
|
21671
|
+
updated_at: string;
|
|
21672
|
+
};
|
|
21673
|
+
Insert: {
|
|
21674
|
+
beoordeeld_door?: string | null;
|
|
21675
|
+
beoordeeld_op?: string | null;
|
|
21676
|
+
created_at?: string;
|
|
21677
|
+
datum: string;
|
|
21678
|
+
eind_tijd?: string | null;
|
|
21679
|
+
id?: string;
|
|
21680
|
+
ingediend_at?: string;
|
|
21681
|
+
monteur_id: string;
|
|
21682
|
+
overuren: number;
|
|
21683
|
+
reden_afkeur?: string | null;
|
|
21684
|
+
start_tijd?: string | null;
|
|
21685
|
+
status?: string;
|
|
21686
|
+
toelichting: string;
|
|
21687
|
+
updated_at?: string;
|
|
21688
|
+
};
|
|
21689
|
+
Update: {
|
|
21690
|
+
beoordeeld_door?: string | null;
|
|
21691
|
+
beoordeeld_op?: string | null;
|
|
21692
|
+
created_at?: string;
|
|
21693
|
+
datum?: string;
|
|
21694
|
+
eind_tijd?: string | null;
|
|
21695
|
+
id?: string;
|
|
21696
|
+
ingediend_at?: string;
|
|
21697
|
+
monteur_id?: string;
|
|
21698
|
+
overuren?: number;
|
|
21699
|
+
reden_afkeur?: string | null;
|
|
21700
|
+
start_tijd?: string | null;
|
|
21701
|
+
status?: string;
|
|
21702
|
+
toelichting?: string;
|
|
21703
|
+
updated_at?: string;
|
|
21704
|
+
};
|
|
21705
|
+
Relationships: [];
|
|
21706
|
+
};
|
|
20555
21707
|
uren_settings: {
|
|
20556
21708
|
Row: {
|
|
20557
21709
|
break_minutes: number;
|
|
@@ -20597,6 +21749,75 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20597
21749
|
};
|
|
20598
21750
|
Relationships: [];
|
|
20599
21751
|
};
|
|
21752
|
+
uren_standaardweek: {
|
|
21753
|
+
Row: {
|
|
21754
|
+
created_at: string;
|
|
21755
|
+
eind_slot: number;
|
|
21756
|
+
id: string;
|
|
21757
|
+
monteur_id: string;
|
|
21758
|
+
start_slot: number;
|
|
21759
|
+
updated_at: string;
|
|
21760
|
+
weekdag: number;
|
|
21761
|
+
};
|
|
21762
|
+
Insert: {
|
|
21763
|
+
created_at?: string;
|
|
21764
|
+
eind_slot: number;
|
|
21765
|
+
id?: string;
|
|
21766
|
+
monteur_id: string;
|
|
21767
|
+
start_slot: number;
|
|
21768
|
+
updated_at?: string;
|
|
21769
|
+
weekdag: number;
|
|
21770
|
+
};
|
|
21771
|
+
Update: {
|
|
21772
|
+
created_at?: string;
|
|
21773
|
+
eind_slot?: number;
|
|
21774
|
+
id?: string;
|
|
21775
|
+
monteur_id?: string;
|
|
21776
|
+
start_slot?: number;
|
|
21777
|
+
updated_at?: string;
|
|
21778
|
+
weekdag?: number;
|
|
21779
|
+
};
|
|
21780
|
+
Relationships: [];
|
|
21781
|
+
};
|
|
21782
|
+
uren_standaardweek_wijzigingen: {
|
|
21783
|
+
Row: {
|
|
21784
|
+
beoordeeld_door: string | null;
|
|
21785
|
+
beoordeeld_op: string | null;
|
|
21786
|
+
created_at: string;
|
|
21787
|
+
huidig: import("./types").Json;
|
|
21788
|
+
id: string;
|
|
21789
|
+
monteur_id: string;
|
|
21790
|
+
reden_afkeur: string | null;
|
|
21791
|
+
status: string;
|
|
21792
|
+
updated_at: string;
|
|
21793
|
+
voorstel: import("./types").Json;
|
|
21794
|
+
};
|
|
21795
|
+
Insert: {
|
|
21796
|
+
beoordeeld_door?: string | null;
|
|
21797
|
+
beoordeeld_op?: string | null;
|
|
21798
|
+
created_at?: string;
|
|
21799
|
+
huidig?: import("./types").Json;
|
|
21800
|
+
id?: string;
|
|
21801
|
+
monteur_id: string;
|
|
21802
|
+
reden_afkeur?: string | null;
|
|
21803
|
+
status?: string;
|
|
21804
|
+
updated_at?: string;
|
|
21805
|
+
voorstel: import("./types").Json;
|
|
21806
|
+
};
|
|
21807
|
+
Update: {
|
|
21808
|
+
beoordeeld_door?: string | null;
|
|
21809
|
+
beoordeeld_op?: string | null;
|
|
21810
|
+
created_at?: string;
|
|
21811
|
+
huidig?: import("./types").Json;
|
|
21812
|
+
id?: string;
|
|
21813
|
+
monteur_id?: string;
|
|
21814
|
+
reden_afkeur?: string | null;
|
|
21815
|
+
status?: string;
|
|
21816
|
+
updated_at?: string;
|
|
21817
|
+
voorstel?: import("./types").Json;
|
|
21818
|
+
};
|
|
21819
|
+
Relationships: [];
|
|
21820
|
+
};
|
|
20600
21821
|
uren_tarieven: {
|
|
20601
21822
|
Row: {
|
|
20602
21823
|
created_at: string;
|
|
@@ -20681,6 +21902,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20681
21902
|
};
|
|
20682
21903
|
Relationships: [];
|
|
20683
21904
|
};
|
|
21905
|
+
uren_tijd_spiegel: {
|
|
21906
|
+
Row: {
|
|
21907
|
+
created_at: string;
|
|
21908
|
+
id: string;
|
|
21909
|
+
time_log_id: string;
|
|
21910
|
+
werkbon_time_log_id: string;
|
|
21911
|
+
};
|
|
21912
|
+
Insert: {
|
|
21913
|
+
created_at?: string;
|
|
21914
|
+
id?: string;
|
|
21915
|
+
time_log_id: string;
|
|
21916
|
+
werkbon_time_log_id: string;
|
|
21917
|
+
};
|
|
21918
|
+
Update: {
|
|
21919
|
+
created_at?: string;
|
|
21920
|
+
id?: string;
|
|
21921
|
+
time_log_id?: string;
|
|
21922
|
+
werkbon_time_log_id?: string;
|
|
21923
|
+
};
|
|
21924
|
+
Relationships: [{
|
|
21925
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21926
|
+
columns: ["time_log_id"];
|
|
21927
|
+
isOneToOne: true;
|
|
21928
|
+
referencedRelation: "time_logs";
|
|
21929
|
+
referencedColumns: ["id"];
|
|
21930
|
+
}, {
|
|
21931
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21932
|
+
columns: ["werkbon_time_log_id"];
|
|
21933
|
+
isOneToOne: true;
|
|
21934
|
+
referencedRelation: "werkbon_time_logs";
|
|
21935
|
+
referencedColumns: ["id"];
|
|
21936
|
+
}];
|
|
21937
|
+
};
|
|
20684
21938
|
uren_weekstaten: {
|
|
20685
21939
|
Row: {
|
|
20686
21940
|
approved_at: string | null;
|
|
@@ -20723,24 +21977,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20723
21977
|
};
|
|
20724
21978
|
Relationships: [];
|
|
20725
21979
|
};
|
|
20726
|
-
|
|
21980
|
+
uren_werktijd_voorkeuren: {
|
|
20727
21981
|
Row: {
|
|
20728
21982
|
created_at: string;
|
|
20729
|
-
|
|
21983
|
+
eind_slot: number;
|
|
20730
21984
|
id: string;
|
|
20731
|
-
|
|
20732
|
-
|
|
21985
|
+
monteur_id: string;
|
|
21986
|
+
start_slot: number;
|
|
20733
21987
|
updated_at: string;
|
|
20734
|
-
user_id: string;
|
|
20735
21988
|
};
|
|
20736
21989
|
Insert: {
|
|
20737
21990
|
created_at?: string;
|
|
20738
|
-
|
|
21991
|
+
eind_slot?: number;
|
|
20739
21992
|
id?: string;
|
|
20740
|
-
|
|
20741
|
-
|
|
21993
|
+
monteur_id: string;
|
|
21994
|
+
start_slot?: number;
|
|
20742
21995
|
updated_at?: string;
|
|
20743
|
-
|
|
21996
|
+
};
|
|
21997
|
+
Update: {
|
|
21998
|
+
created_at?: string;
|
|
21999
|
+
eind_slot?: number;
|
|
22000
|
+
id?: string;
|
|
22001
|
+
monteur_id?: string;
|
|
22002
|
+
start_slot?: number;
|
|
22003
|
+
updated_at?: string;
|
|
22004
|
+
};
|
|
22005
|
+
Relationships: [];
|
|
22006
|
+
};
|
|
22007
|
+
user_module_permissions: {
|
|
22008
|
+
Row: {
|
|
22009
|
+
created_at: string;
|
|
22010
|
+
feature_id: string;
|
|
22011
|
+
id: string;
|
|
22012
|
+
module_id: string;
|
|
22013
|
+
permission: string;
|
|
22014
|
+
updated_at: string;
|
|
22015
|
+
user_id: string;
|
|
22016
|
+
};
|
|
22017
|
+
Insert: {
|
|
22018
|
+
created_at?: string;
|
|
22019
|
+
feature_id?: string;
|
|
22020
|
+
id?: string;
|
|
22021
|
+
module_id: string;
|
|
22022
|
+
permission: string;
|
|
22023
|
+
updated_at?: string;
|
|
22024
|
+
user_id: string;
|
|
20744
22025
|
};
|
|
20745
22026
|
Update: {
|
|
20746
22027
|
created_at?: string;
|
|
@@ -20780,6 +22061,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20780
22061
|
referencedColumns: ["id"];
|
|
20781
22062
|
}];
|
|
20782
22063
|
};
|
|
22064
|
+
vakantie_uitbetalingen: {
|
|
22065
|
+
Row: {
|
|
22066
|
+
created_at: string;
|
|
22067
|
+
created_by: string | null;
|
|
22068
|
+
days: number;
|
|
22069
|
+
id: string;
|
|
22070
|
+
note: string | null;
|
|
22071
|
+
updated_at: string;
|
|
22072
|
+
user_id: string;
|
|
22073
|
+
year: number;
|
|
22074
|
+
};
|
|
22075
|
+
Insert: {
|
|
22076
|
+
created_at?: string;
|
|
22077
|
+
created_by?: string | null;
|
|
22078
|
+
days: number;
|
|
22079
|
+
id?: string;
|
|
22080
|
+
note?: string | null;
|
|
22081
|
+
updated_at?: string;
|
|
22082
|
+
user_id: string;
|
|
22083
|
+
year?: number;
|
|
22084
|
+
};
|
|
22085
|
+
Update: {
|
|
22086
|
+
created_at?: string;
|
|
22087
|
+
created_by?: string | null;
|
|
22088
|
+
days?: number;
|
|
22089
|
+
id?: string;
|
|
22090
|
+
note?: string | null;
|
|
22091
|
+
updated_at?: string;
|
|
22092
|
+
user_id?: string;
|
|
22093
|
+
year?: number;
|
|
22094
|
+
};
|
|
22095
|
+
Relationships: [{
|
|
22096
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22097
|
+
columns: ["created_by"];
|
|
22098
|
+
isOneToOne: false;
|
|
22099
|
+
referencedRelation: "profiles";
|
|
22100
|
+
referencedColumns: ["id"];
|
|
22101
|
+
}, {
|
|
22102
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22103
|
+
columns: ["user_id"];
|
|
22104
|
+
isOneToOne: false;
|
|
22105
|
+
referencedRelation: "profiles";
|
|
22106
|
+
referencedColumns: ["id"];
|
|
22107
|
+
}];
|
|
22108
|
+
};
|
|
20783
22109
|
van_inventories: {
|
|
20784
22110
|
Row: {
|
|
20785
22111
|
barcode: string | null;
|
|
@@ -21654,10 +22980,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21654
22980
|
Row: {
|
|
21655
22981
|
article_number: string | null;
|
|
21656
22982
|
artikel_id: string | null;
|
|
22983
|
+
cost_price_cents: number;
|
|
21657
22984
|
created_at: string;
|
|
21658
22985
|
gtin: string | null;
|
|
21659
22986
|
id: string;
|
|
21660
22987
|
manufacturer: string | null;
|
|
22988
|
+
margin_percent: number | null;
|
|
21661
22989
|
omschrijving: string;
|
|
21662
22990
|
package_id: string;
|
|
21663
22991
|
price_synced_at: string | null;
|
|
@@ -21672,10 +23000,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21672
23000
|
Insert: {
|
|
21673
23001
|
article_number?: string | null;
|
|
21674
23002
|
artikel_id?: string | null;
|
|
23003
|
+
cost_price_cents?: number;
|
|
21675
23004
|
created_at?: string;
|
|
21676
23005
|
gtin?: string | null;
|
|
21677
23006
|
id?: string;
|
|
21678
23007
|
manufacturer?: string | null;
|
|
23008
|
+
margin_percent?: number | null;
|
|
21679
23009
|
omschrijving: string;
|
|
21680
23010
|
package_id: string;
|
|
21681
23011
|
price_synced_at?: string | null;
|
|
@@ -21690,10 +23020,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21690
23020
|
Update: {
|
|
21691
23021
|
article_number?: string | null;
|
|
21692
23022
|
artikel_id?: string | null;
|
|
23023
|
+
cost_price_cents?: number;
|
|
21693
23024
|
created_at?: string;
|
|
21694
23025
|
gtin?: string | null;
|
|
21695
23026
|
id?: string;
|
|
21696
23027
|
manufacturer?: string | null;
|
|
23028
|
+
margin_percent?: number | null;
|
|
21697
23029
|
omschrijving?: string;
|
|
21698
23030
|
package_id?: string;
|
|
21699
23031
|
price_synced_at?: string | null;
|
|
@@ -22058,6 +23390,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22058
23390
|
referencedColumns: ["id"];
|
|
22059
23391
|
}];
|
|
22060
23392
|
};
|
|
23393
|
+
werkbon_voorstellen: {
|
|
23394
|
+
Row: {
|
|
23395
|
+
bron_werkbon_id: string;
|
|
23396
|
+
budget_mandate_cents: number;
|
|
23397
|
+
created_at: string;
|
|
23398
|
+
created_by: string;
|
|
23399
|
+
customer_id: string | null;
|
|
23400
|
+
id: string;
|
|
23401
|
+
payload: import("./types").Json;
|
|
23402
|
+
reden: string | null;
|
|
23403
|
+
status: string;
|
|
23404
|
+
updated_at: string;
|
|
23405
|
+
verwerkt_door: string | null;
|
|
23406
|
+
verwerkt_op: string | null;
|
|
23407
|
+
werkbon_id: string | null;
|
|
23408
|
+
};
|
|
23409
|
+
Insert: {
|
|
23410
|
+
bron_werkbon_id: string;
|
|
23411
|
+
budget_mandate_cents?: number;
|
|
23412
|
+
created_at?: string;
|
|
23413
|
+
created_by?: string;
|
|
23414
|
+
customer_id?: string | null;
|
|
23415
|
+
id?: string;
|
|
23416
|
+
payload?: import("./types").Json;
|
|
23417
|
+
reden?: string | null;
|
|
23418
|
+
status?: string;
|
|
23419
|
+
updated_at?: string;
|
|
23420
|
+
verwerkt_door?: string | null;
|
|
23421
|
+
verwerkt_op?: string | null;
|
|
23422
|
+
werkbon_id?: string | null;
|
|
23423
|
+
};
|
|
23424
|
+
Update: {
|
|
23425
|
+
bron_werkbon_id?: string;
|
|
23426
|
+
budget_mandate_cents?: number;
|
|
23427
|
+
created_at?: string;
|
|
23428
|
+
created_by?: string;
|
|
23429
|
+
customer_id?: string | null;
|
|
23430
|
+
id?: string;
|
|
23431
|
+
payload?: import("./types").Json;
|
|
23432
|
+
reden?: string | null;
|
|
23433
|
+
status?: string;
|
|
23434
|
+
updated_at?: string;
|
|
23435
|
+
verwerkt_door?: string | null;
|
|
23436
|
+
verwerkt_op?: string | null;
|
|
23437
|
+
werkbon_id?: string | null;
|
|
23438
|
+
};
|
|
23439
|
+
Relationships: [{
|
|
23440
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23441
|
+
columns: ["bron_werkbon_id"];
|
|
23442
|
+
isOneToOne: false;
|
|
23443
|
+
referencedRelation: "werkbonnen";
|
|
23444
|
+
referencedColumns: ["id"];
|
|
23445
|
+
}, {
|
|
23446
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23447
|
+
columns: ["bron_werkbon_id"];
|
|
23448
|
+
isOneToOne: false;
|
|
23449
|
+
referencedRelation: "wo_overview";
|
|
23450
|
+
referencedColumns: ["id"];
|
|
23451
|
+
}, {
|
|
23452
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23453
|
+
columns: ["werkbon_id"];
|
|
23454
|
+
isOneToOne: false;
|
|
23455
|
+
referencedRelation: "werkbonnen";
|
|
23456
|
+
referencedColumns: ["id"];
|
|
23457
|
+
}, {
|
|
23458
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23459
|
+
columns: ["werkbon_id"];
|
|
23460
|
+
isOneToOne: false;
|
|
23461
|
+
referencedRelation: "wo_overview";
|
|
23462
|
+
referencedColumns: ["id"];
|
|
23463
|
+
}];
|
|
23464
|
+
};
|
|
22061
23465
|
werkbonnen: {
|
|
22062
23466
|
Row: {
|
|
22063
23467
|
assigned_user_id: string | null;
|
|
@@ -22665,6 +24069,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22665
24069
|
};
|
|
22666
24070
|
Relationships: [];
|
|
22667
24071
|
};
|
|
24072
|
+
logistics_packing_diff: {
|
|
24073
|
+
Row: {
|
|
24074
|
+
dev_key: string | null;
|
|
24075
|
+
floriday_packing: import("./types").Json | null;
|
|
24076
|
+
local_packing: import("./types").Json | null;
|
|
24077
|
+
order_id: string | null;
|
|
24078
|
+
order_item_id: string | null;
|
|
24079
|
+
order_number: string | null;
|
|
24080
|
+
product_id: string | null;
|
|
24081
|
+
product_name: string | null;
|
|
24082
|
+
scope: string | null;
|
|
24083
|
+
trade_item_id: string | null;
|
|
24084
|
+
};
|
|
24085
|
+
Relationships: [];
|
|
24086
|
+
};
|
|
22668
24087
|
logistics_product_dimensions: {
|
|
22669
24088
|
Row: {
|
|
22670
24089
|
dimension_source: string | null;
|
|
@@ -23283,6 +24702,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23283
24702
|
};
|
|
23284
24703
|
Returns: undefined;
|
|
23285
24704
|
};
|
|
24705
|
+
_wo_is_planner: {
|
|
24706
|
+
Args: never;
|
|
24707
|
+
Returns: boolean;
|
|
24708
|
+
};
|
|
23286
24709
|
afh_city_code: {
|
|
23287
24710
|
Args: {
|
|
23288
24711
|
_city: string;
|
|
@@ -23893,10 +25316,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23893
25316
|
};
|
|
23894
25317
|
Returns: number;
|
|
23895
25318
|
};
|
|
25319
|
+
control_mark_carts_delivered_detail: {
|
|
25320
|
+
Args: {
|
|
25321
|
+
p_carts: import("./types").Json;
|
|
25322
|
+
};
|
|
25323
|
+
Returns: {
|
|
25324
|
+
cart_index: number;
|
|
25325
|
+
frozen: boolean;
|
|
25326
|
+
message: string;
|
|
25327
|
+
order_id: string;
|
|
25328
|
+
order_source: string;
|
|
25329
|
+
outcome: string;
|
|
25330
|
+
}[];
|
|
25331
|
+
};
|
|
23896
25332
|
count_distinct_regulatory_products: {
|
|
23897
25333
|
Args: never;
|
|
23898
25334
|
Returns: number;
|
|
23899
25335
|
};
|
|
25336
|
+
create_order_from_public_offer: {
|
|
25337
|
+
Args: {
|
|
25338
|
+
p_carrier_id?: string;
|
|
25339
|
+
p_delivery_date?: string;
|
|
25340
|
+
p_delivery_garden_id?: string;
|
|
25341
|
+
p_offer_order_id: string;
|
|
25342
|
+
};
|
|
25343
|
+
Returns: import("./types").Json;
|
|
25344
|
+
};
|
|
23900
25345
|
current_monteur_id: {
|
|
23901
25346
|
Args: never;
|
|
23902
25347
|
Returns: string;
|
|
@@ -24373,6 +25818,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24373
25818
|
};
|
|
24374
25819
|
Returns: number;
|
|
24375
25820
|
};
|
|
25821
|
+
get_product_stock: {
|
|
25822
|
+
Args: {
|
|
25823
|
+
p_product_id: string;
|
|
25824
|
+
};
|
|
25825
|
+
Returns: {
|
|
25826
|
+
connection_id: string;
|
|
25827
|
+
incoming_stock: number;
|
|
25828
|
+
minimum_stock: number;
|
|
25829
|
+
notes: string;
|
|
25830
|
+
physical_stock: number;
|
|
25831
|
+
product_id: string;
|
|
25832
|
+
reserved_stock: number;
|
|
25833
|
+
trade_item_key: string;
|
|
25834
|
+
updated_at: string;
|
|
25835
|
+
}[];
|
|
25836
|
+
};
|
|
24376
25837
|
get_room_busy_windows: {
|
|
24377
25838
|
Args: {
|
|
24378
25839
|
p_from: string;
|
|
@@ -24677,13 +26138,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24677
26138
|
};
|
|
24678
26139
|
Returns: import("./types").Json;
|
|
24679
26140
|
};
|
|
26141
|
+
inkoop_cancel_line: {
|
|
26142
|
+
Args: {
|
|
26143
|
+
_item_id: string;
|
|
26144
|
+
_reason: string;
|
|
26145
|
+
};
|
|
26146
|
+
Returns: string;
|
|
26147
|
+
};
|
|
26148
|
+
inkoop_get_supplier_request: {
|
|
26149
|
+
Args: {
|
|
26150
|
+
_token: string;
|
|
26151
|
+
};
|
|
26152
|
+
Returns: import("./types").Json;
|
|
26153
|
+
};
|
|
26154
|
+
inkoop_hash_token: {
|
|
26155
|
+
Args: {
|
|
26156
|
+
_token: string;
|
|
26157
|
+
};
|
|
26158
|
+
Returns: string;
|
|
26159
|
+
};
|
|
26160
|
+
inkoop_html_escape: {
|
|
26161
|
+
Args: {
|
|
26162
|
+
_t: string;
|
|
26163
|
+
};
|
|
26164
|
+
Returns: string;
|
|
26165
|
+
};
|
|
26166
|
+
inkoop_list_artikelen: {
|
|
26167
|
+
Args: never;
|
|
26168
|
+
Returns: {
|
|
26169
|
+
article_number: string;
|
|
26170
|
+
barcode: string;
|
|
26171
|
+
id: string;
|
|
26172
|
+
incoming_quantity: number;
|
|
26173
|
+
is_layer: boolean;
|
|
26174
|
+
location: string;
|
|
26175
|
+
min_quantity: number;
|
|
26176
|
+
preferred_supplier_name: string;
|
|
26177
|
+
product: string;
|
|
26178
|
+
product_type: string;
|
|
26179
|
+
purchase_price: number;
|
|
26180
|
+
quantity: number;
|
|
26181
|
+
sale_price: number;
|
|
26182
|
+
supplier_count: number;
|
|
26183
|
+
unit: string;
|
|
26184
|
+
}[];
|
|
26185
|
+
};
|
|
24680
26186
|
inkoop_next_order_number: {
|
|
24681
26187
|
Args: never;
|
|
24682
26188
|
Returns: string;
|
|
24683
26189
|
};
|
|
26190
|
+
inkoop_process_request: {
|
|
26191
|
+
Args: {
|
|
26192
|
+
_request_id: string;
|
|
26193
|
+
};
|
|
26194
|
+
Returns: undefined;
|
|
26195
|
+
};
|
|
24684
26196
|
inkoop_send_order: {
|
|
24685
26197
|
Args: {
|
|
26198
|
+
_base_url?: string;
|
|
24686
26199
|
_order_id: string;
|
|
26200
|
+
_resend?: boolean;
|
|
24687
26201
|
};
|
|
24688
26202
|
Returns: {
|
|
24689
26203
|
outbox_id: string;
|
|
@@ -24691,6 +26205,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24691
26205
|
to_address: string;
|
|
24692
26206
|
}[];
|
|
24693
26207
|
};
|
|
26208
|
+
inkoop_set_preferred_supplier: {
|
|
26209
|
+
Args: {
|
|
26210
|
+
_product_id: string;
|
|
26211
|
+
_supplier_id: string;
|
|
26212
|
+
};
|
|
26213
|
+
Returns: undefined;
|
|
26214
|
+
};
|
|
26215
|
+
inkoop_stock_key: {
|
|
26216
|
+
Args: {
|
|
26217
|
+
p_product_id: string;
|
|
26218
|
+
};
|
|
26219
|
+
Returns: string;
|
|
26220
|
+
};
|
|
26221
|
+
inkoop_submit_supplier_response: {
|
|
26222
|
+
Args: {
|
|
26223
|
+
_lines: import("./types").Json;
|
|
26224
|
+
_note?: string;
|
|
26225
|
+
_token: string;
|
|
26226
|
+
};
|
|
26227
|
+
Returns: import("./types").Json;
|
|
26228
|
+
};
|
|
26229
|
+
inkoop_sync_item_stock: {
|
|
26230
|
+
Args: {
|
|
26231
|
+
p_item_id: string;
|
|
26232
|
+
};
|
|
26233
|
+
Returns: undefined;
|
|
26234
|
+
};
|
|
24694
26235
|
instructie_get: {
|
|
24695
26236
|
Args: {
|
|
24696
26237
|
_sleutel: string;
|
|
@@ -24710,6 +26251,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24710
26251
|
};
|
|
24711
26252
|
Returns: number;
|
|
24712
26253
|
};
|
|
26254
|
+
invoice_branding_snapshot: {
|
|
26255
|
+
Args: never;
|
|
26256
|
+
Returns: import("./types").Json;
|
|
26257
|
+
};
|
|
24713
26258
|
invoice_create_from_source: {
|
|
24714
26259
|
Args: {
|
|
24715
26260
|
_payload?: import("./types").Json;
|
|
@@ -24744,39 +26289,81 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24744
26289
|
};
|
|
24745
26290
|
Returns: import("./types").Json;
|
|
24746
26291
|
};
|
|
24747
|
-
|
|
26292
|
+
invoice_mark_sent: {
|
|
24748
26293
|
Args: {
|
|
24749
26294
|
_invoice_id: string;
|
|
26295
|
+
_to: string;
|
|
24750
26296
|
};
|
|
24751
|
-
Returns:
|
|
26297
|
+
Returns: undefined;
|
|
24752
26298
|
};
|
|
24753
|
-
|
|
26299
|
+
invoice_peek_next_number: {
|
|
26300
|
+
Args: never;
|
|
26301
|
+
Returns: string;
|
|
26302
|
+
};
|
|
26303
|
+
invoice_ready_work_orders: {
|
|
24754
26304
|
Args: {
|
|
24755
|
-
|
|
24756
|
-
_source_type: string;
|
|
26305
|
+
_limit?: number;
|
|
24757
26306
|
};
|
|
24758
26307
|
Returns: import("./types").Json;
|
|
24759
26308
|
};
|
|
24760
|
-
|
|
24761
|
-
Args: never;
|
|
24762
|
-
Returns: boolean;
|
|
24763
|
-
};
|
|
24764
|
-
is_developer: {
|
|
24765
|
-
Args: never;
|
|
24766
|
-
Returns: boolean;
|
|
24767
|
-
};
|
|
24768
|
-
is_superadmin: {
|
|
26309
|
+
invoice_recalc_totals: {
|
|
24769
26310
|
Args: {
|
|
24770
|
-
|
|
26311
|
+
_invoice_id: string;
|
|
24771
26312
|
};
|
|
24772
|
-
Returns:
|
|
26313
|
+
Returns: import("./types").Json;
|
|
24773
26314
|
};
|
|
24774
|
-
|
|
26315
|
+
invoice_save_branding_settings: {
|
|
24775
26316
|
Args: {
|
|
24776
|
-
|
|
24777
|
-
p_start_time: string;
|
|
26317
|
+
_payload: import("./types").Json;
|
|
24778
26318
|
};
|
|
24779
|
-
Returns:
|
|
26319
|
+
Returns: import("./types").Json;
|
|
26320
|
+
};
|
|
26321
|
+
invoice_set_email_purpose: {
|
|
26322
|
+
Args: {
|
|
26323
|
+
_purpose: string;
|
|
26324
|
+
};
|
|
26325
|
+
Returns: string;
|
|
26326
|
+
};
|
|
26327
|
+
invoice_source_lines: {
|
|
26328
|
+
Args: {
|
|
26329
|
+
_source_id: string;
|
|
26330
|
+
_source_type: string;
|
|
26331
|
+
};
|
|
26332
|
+
Returns: import("./types").Json;
|
|
26333
|
+
};
|
|
26334
|
+
invoice_update_full: {
|
|
26335
|
+
Args: {
|
|
26336
|
+
_invoice_id: string;
|
|
26337
|
+
_payload: import("./types").Json;
|
|
26338
|
+
};
|
|
26339
|
+
Returns: import("./types").Json;
|
|
26340
|
+
};
|
|
26341
|
+
invoice_work_order_locked: {
|
|
26342
|
+
Args: {
|
|
26343
|
+
_werkbon_id: string;
|
|
26344
|
+
};
|
|
26345
|
+
Returns: import("./types").Json;
|
|
26346
|
+
};
|
|
26347
|
+
is_authenticated: {
|
|
26348
|
+
Args: never;
|
|
26349
|
+
Returns: boolean;
|
|
26350
|
+
};
|
|
26351
|
+
is_developer: {
|
|
26352
|
+
Args: never;
|
|
26353
|
+
Returns: boolean;
|
|
26354
|
+
};
|
|
26355
|
+
is_superadmin: {
|
|
26356
|
+
Args: {
|
|
26357
|
+
_user_id: string;
|
|
26358
|
+
};
|
|
26359
|
+
Returns: boolean;
|
|
26360
|
+
};
|
|
26361
|
+
is_time_log_week_locked: {
|
|
26362
|
+
Args: {
|
|
26363
|
+
p_employee_id: string;
|
|
26364
|
+
p_start_time: string;
|
|
26365
|
+
};
|
|
26366
|
+
Returns: boolean;
|
|
24780
26367
|
};
|
|
24781
26368
|
is_user_admin: {
|
|
24782
26369
|
Args: never;
|
|
@@ -24989,6 +26576,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24989
26576
|
};
|
|
24990
26577
|
Returns: import("./types").Json;
|
|
24991
26578
|
};
|
|
26579
|
+
logistics_buffer_decision_for_settings: {
|
|
26580
|
+
Args: {
|
|
26581
|
+
p_order: import("./types").Json;
|
|
26582
|
+
p_settings: import("./types").Json;
|
|
26583
|
+
p_user_id?: string;
|
|
26584
|
+
};
|
|
26585
|
+
Returns: import("./types").Json;
|
|
26586
|
+
};
|
|
24992
26587
|
logistics_buffer_detach_late_orders: {
|
|
24993
26588
|
Args: {
|
|
24994
26589
|
p_buffer?: string;
|
|
@@ -25022,6 +26617,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25022
26617
|
};
|
|
25023
26618
|
Returns: string;
|
|
25024
26619
|
};
|
|
26620
|
+
logistics_buffer_payload: {
|
|
26621
|
+
Args: {
|
|
26622
|
+
p_order_id: string;
|
|
26623
|
+
};
|
|
26624
|
+
Returns: import("./types").Json;
|
|
26625
|
+
};
|
|
25025
26626
|
logistics_buffer_simulate: {
|
|
25026
26627
|
Args: {
|
|
25027
26628
|
p_orders?: import("./types").Json;
|
|
@@ -25068,6 +26669,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25068
26669
|
};
|
|
25069
26670
|
Returns: number;
|
|
25070
26671
|
};
|
|
26672
|
+
logistics_cart_barcode_opschonen: {
|
|
26673
|
+
Args: {
|
|
26674
|
+
p_portie?: number;
|
|
26675
|
+
};
|
|
26676
|
+
Returns: import("./types").Json;
|
|
26677
|
+
};
|
|
25071
26678
|
logistics_cart_barcode_value: {
|
|
25072
26679
|
Args: {
|
|
25073
26680
|
_cart_id: string;
|
|
@@ -25080,6 +26687,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25080
26687
|
};
|
|
25081
26688
|
Returns: string;
|
|
25082
26689
|
};
|
|
26690
|
+
logistics_cart_coverage_check: {
|
|
26691
|
+
Args: never;
|
|
26692
|
+
Returns: import("./types").Json;
|
|
26693
|
+
};
|
|
25083
26694
|
logistics_cart_handled: {
|
|
25084
26695
|
Args: {
|
|
25085
26696
|
p_cart_index: number;
|
|
@@ -25323,6 +26934,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25323
26934
|
isSetofReturn: false;
|
|
25324
26935
|
};
|
|
25325
26936
|
};
|
|
26937
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26938
|
+
Args: {
|
|
26939
|
+
p_limit?: number;
|
|
26940
|
+
p_order_id: string;
|
|
26941
|
+
};
|
|
26942
|
+
Returns: import("./types").Json;
|
|
26943
|
+
};
|
|
26944
|
+
logistics_cleanup_history: {
|
|
26945
|
+
Args: {
|
|
26946
|
+
p_limit?: number;
|
|
26947
|
+
};
|
|
26948
|
+
Returns: import("./types").Json;
|
|
26949
|
+
};
|
|
25326
26950
|
logistics_cleanup_orphan_print_jobs: {
|
|
25327
26951
|
Args: never;
|
|
25328
26952
|
Returns: import("./types").Json;
|
|
@@ -25480,6 +27104,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25480
27104
|
Args: never;
|
|
25481
27105
|
Returns: import("./types").Json;
|
|
25482
27106
|
};
|
|
27107
|
+
logistics_cron_health: {
|
|
27108
|
+
Args: never;
|
|
27109
|
+
Returns: import("./types").Json;
|
|
27110
|
+
};
|
|
25483
27111
|
logistics_day_windows: {
|
|
25484
27112
|
Args: {
|
|
25485
27113
|
p_day: string;
|
|
@@ -25829,6 +27457,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25829
27457
|
};
|
|
25830
27458
|
Returns: number;
|
|
25831
27459
|
};
|
|
27460
|
+
logistics_merge_decision: {
|
|
27461
|
+
Args: {
|
|
27462
|
+
p_lines: import("./types").Json;
|
|
27463
|
+
};
|
|
27464
|
+
Returns: import("./types").Json;
|
|
27465
|
+
};
|
|
25832
27466
|
logistics_merge_floriday_lines: {
|
|
25833
27467
|
Args: {
|
|
25834
27468
|
p_order_id: string;
|
|
@@ -25875,6 +27509,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25875
27509
|
Args: never;
|
|
25876
27510
|
Returns: string;
|
|
25877
27511
|
};
|
|
27512
|
+
logistics_order_backlog_info: {
|
|
27513
|
+
Args: {
|
|
27514
|
+
p_order_id: string;
|
|
27515
|
+
};
|
|
27516
|
+
Returns: import("./types").Json;
|
|
27517
|
+
};
|
|
25878
27518
|
logistics_order_cart_approval: {
|
|
25879
27519
|
Args: {
|
|
25880
27520
|
_order_ref: string;
|
|
@@ -25909,6 +27549,50 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25909
27549
|
};
|
|
25910
27550
|
Returns: boolean;
|
|
25911
27551
|
};
|
|
27552
|
+
logistics_order_finalize_enqueue: {
|
|
27553
|
+
Args: {
|
|
27554
|
+
p_order_id: string;
|
|
27555
|
+
p_reason?: string;
|
|
27556
|
+
};
|
|
27557
|
+
Returns: undefined;
|
|
27558
|
+
};
|
|
27559
|
+
logistics_order_finalize_overview: {
|
|
27560
|
+
Args: never;
|
|
27561
|
+
Returns: {
|
|
27562
|
+
bezig: number;
|
|
27563
|
+
laatst_afgerond: string;
|
|
27564
|
+
laatste_fout: string;
|
|
27565
|
+
mislukt: number;
|
|
27566
|
+
oudste_wachttijd_seconden: number;
|
|
27567
|
+
wachtend: number;
|
|
27568
|
+
}[];
|
|
27569
|
+
};
|
|
27570
|
+
logistics_order_finalize_prune: {
|
|
27571
|
+
Args: {
|
|
27572
|
+
p_days?: number;
|
|
27573
|
+
};
|
|
27574
|
+
Returns: number;
|
|
27575
|
+
};
|
|
27576
|
+
logistics_order_finalize_reconcile: {
|
|
27577
|
+
Args: {
|
|
27578
|
+
p_days?: number;
|
|
27579
|
+
p_limit?: number;
|
|
27580
|
+
};
|
|
27581
|
+
Returns: number;
|
|
27582
|
+
};
|
|
27583
|
+
logistics_order_finalize_retry: {
|
|
27584
|
+
Args: {
|
|
27585
|
+
p_order_id: string;
|
|
27586
|
+
};
|
|
27587
|
+
Returns: boolean;
|
|
27588
|
+
};
|
|
27589
|
+
logistics_order_finalize_run: {
|
|
27590
|
+
Args: {
|
|
27591
|
+
p_lease_seconds?: number;
|
|
27592
|
+
p_limit?: number;
|
|
27593
|
+
};
|
|
27594
|
+
Returns: number;
|
|
27595
|
+
};
|
|
25912
27596
|
logistics_order_frozen: {
|
|
25913
27597
|
Args: {
|
|
25914
27598
|
p_order_id: string;
|
|
@@ -25921,6 +27605,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25921
27605
|
};
|
|
25922
27606
|
Returns: boolean;
|
|
25923
27607
|
};
|
|
27608
|
+
logistics_order_is_backlog: {
|
|
27609
|
+
Args: {
|
|
27610
|
+
p_order_id: string;
|
|
27611
|
+
};
|
|
27612
|
+
Returns: boolean;
|
|
27613
|
+
};
|
|
25924
27614
|
logistics_order_is_topick: {
|
|
25925
27615
|
Args: {
|
|
25926
27616
|
p_order_id: string;
|
|
@@ -25928,6 +27618,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25928
27618
|
};
|
|
25929
27619
|
Returns: boolean;
|
|
25930
27620
|
};
|
|
27621
|
+
logistics_order_line_duplicates: {
|
|
27622
|
+
Args: {
|
|
27623
|
+
p_order_id: string;
|
|
27624
|
+
};
|
|
27625
|
+
Returns: import("./types").Json;
|
|
27626
|
+
};
|
|
25931
27627
|
logistics_order_merge_key: {
|
|
25932
27628
|
Args: {
|
|
25933
27629
|
p_group_key: string;
|
|
@@ -25971,6 +27667,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25971
27667
|
};
|
|
25972
27668
|
Returns: boolean;
|
|
25973
27669
|
};
|
|
27670
|
+
logistics_packing_autofix: {
|
|
27671
|
+
Args: {
|
|
27672
|
+
p_limit?: number;
|
|
27673
|
+
};
|
|
27674
|
+
Returns: number;
|
|
27675
|
+
};
|
|
27676
|
+
logistics_packing_block_reason: {
|
|
27677
|
+
Args: {
|
|
27678
|
+
p_order_id: string;
|
|
27679
|
+
p_order_item_id: string;
|
|
27680
|
+
};
|
|
27681
|
+
Returns: string;
|
|
27682
|
+
};
|
|
27683
|
+
logistics_packing_dismiss: {
|
|
27684
|
+
Args: {
|
|
27685
|
+
p_id: string;
|
|
27686
|
+
p_note?: string;
|
|
27687
|
+
};
|
|
27688
|
+
Returns: boolean;
|
|
27689
|
+
};
|
|
27690
|
+
logistics_packing_overview: {
|
|
27691
|
+
Args: never;
|
|
27692
|
+
Returns: {
|
|
27693
|
+
beoordelen: number;
|
|
27694
|
+
herstelbaar: number;
|
|
27695
|
+
laatst_gemeten: string;
|
|
27696
|
+
laatst_hersteld: string;
|
|
27697
|
+
open_totaal: number;
|
|
27698
|
+
orders: number;
|
|
27699
|
+
oudste_seconden: number;
|
|
27700
|
+
producten: number;
|
|
27701
|
+
}[];
|
|
27702
|
+
};
|
|
27703
|
+
logistics_packing_reconcile: {
|
|
27704
|
+
Args: {
|
|
27705
|
+
p_fix_limit?: number;
|
|
27706
|
+
p_scan_limit?: number;
|
|
27707
|
+
};
|
|
27708
|
+
Returns: {
|
|
27709
|
+
beoordelen: number;
|
|
27710
|
+
gevonden: number;
|
|
27711
|
+
hersteld: number;
|
|
27712
|
+
}[];
|
|
27713
|
+
};
|
|
27714
|
+
logistics_packing_scan: {
|
|
27715
|
+
Args: {
|
|
27716
|
+
p_limit?: number;
|
|
27717
|
+
};
|
|
27718
|
+
Returns: number;
|
|
27719
|
+
};
|
|
27720
|
+
logistics_packing_set_manual: {
|
|
27721
|
+
Args: {
|
|
27722
|
+
p_manual?: boolean;
|
|
27723
|
+
p_order_item_id: string;
|
|
27724
|
+
};
|
|
27725
|
+
Returns: boolean;
|
|
27726
|
+
};
|
|
25974
27727
|
logistics_parse_pickup: {
|
|
25975
27728
|
Args: {
|
|
25976
27729
|
p_value: string;
|
|
@@ -25999,6 +27752,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25999
27752
|
shifted_count: number;
|
|
26000
27753
|
}[];
|
|
26001
27754
|
};
|
|
27755
|
+
logistics_pick_backlog_max_days: {
|
|
27756
|
+
Args: never;
|
|
27757
|
+
Returns: number;
|
|
27758
|
+
};
|
|
26002
27759
|
logistics_pick_barcode_enabled: {
|
|
26003
27760
|
Args: never;
|
|
26004
27761
|
Returns: boolean;
|
|
@@ -26220,6 +27977,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26220
27977
|
Args: never;
|
|
26221
27978
|
Returns: number;
|
|
26222
27979
|
};
|
|
27980
|
+
logistics_planner_cart_snapshot: {
|
|
27981
|
+
Args: {
|
|
27982
|
+
p_buffer_id: string;
|
|
27983
|
+
p_order_id: string;
|
|
27984
|
+
};
|
|
27985
|
+
Returns: import("./types").Json;
|
|
27986
|
+
};
|
|
27987
|
+
logistics_planner_diff_mode: {
|
|
27988
|
+
Args: never;
|
|
27989
|
+
Returns: string;
|
|
27990
|
+
};
|
|
27991
|
+
logistics_planner_diff_prune: {
|
|
27992
|
+
Args: never;
|
|
27993
|
+
Returns: number;
|
|
27994
|
+
};
|
|
26223
27995
|
logistics_prepare_pick_documents: {
|
|
26224
27996
|
Args: {
|
|
26225
27997
|
p_limit?: number;
|
|
@@ -26230,6 +28002,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26230
28002
|
Args: never;
|
|
26231
28003
|
Returns: number;
|
|
26232
28004
|
};
|
|
28005
|
+
logistics_prune_cron_history: {
|
|
28006
|
+
Args: {
|
|
28007
|
+
p_days?: number;
|
|
28008
|
+
};
|
|
28009
|
+
Returns: number;
|
|
28010
|
+
};
|
|
26233
28011
|
logistics_prune_handled_pick_queue: {
|
|
26234
28012
|
Args: never;
|
|
26235
28013
|
Returns: number;
|
|
@@ -26266,6 +28044,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26266
28044
|
Args: never;
|
|
26267
28045
|
Returns: import("./types").Json;
|
|
26268
28046
|
};
|
|
28047
|
+
logistics_recalc_tick_kick: {
|
|
28048
|
+
Args: never;
|
|
28049
|
+
Returns: number;
|
|
28050
|
+
};
|
|
28051
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28052
|
+
Args: never;
|
|
28053
|
+
Returns: number;
|
|
28054
|
+
};
|
|
26269
28055
|
logistics_refresh_pick_queue_status: {
|
|
26270
28056
|
Args: {
|
|
26271
28057
|
p_ref: string;
|
|
@@ -26296,11 +28082,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26296
28082
|
};
|
|
26297
28083
|
Returns: import("./types").Json;
|
|
26298
28084
|
};
|
|
28085
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
28086
|
+
Args: {
|
|
28087
|
+
p_order_id: string;
|
|
28088
|
+
p_reason: string;
|
|
28089
|
+
};
|
|
28090
|
+
Returns: import("./types").Json;
|
|
28091
|
+
};
|
|
26299
28092
|
logistics_replan_order_journey: {
|
|
26300
28093
|
Args: {
|
|
26301
28094
|
p_order_ref: string;
|
|
26302
28095
|
};
|
|
26303
28096
|
Returns: import("./types").Json;
|
|
28097
|
+
} | {
|
|
28098
|
+
Args: {
|
|
28099
|
+
p_order_ref: string;
|
|
28100
|
+
p_reason: string;
|
|
28101
|
+
};
|
|
28102
|
+
Returns: import("./types").Json;
|
|
26304
28103
|
};
|
|
26305
28104
|
logistics_report_delay: {
|
|
26306
28105
|
Args: {
|
|
@@ -26346,6 +28145,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26346
28145
|
};
|
|
26347
28146
|
Returns: import("./types").Json;
|
|
26348
28147
|
};
|
|
28148
|
+
logistics_reserved_stock_nightly: {
|
|
28149
|
+
Args: never;
|
|
28150
|
+
Returns: undefined;
|
|
28151
|
+
};
|
|
26349
28152
|
logistics_resolve_pick_document: {
|
|
26350
28153
|
Args: {
|
|
26351
28154
|
_is_herprint: boolean;
|
|
@@ -26369,6 +28172,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26369
28172
|
};
|
|
26370
28173
|
Returns: import("./types").Json;
|
|
26371
28174
|
};
|
|
28175
|
+
logistics_retention_days: {
|
|
28176
|
+
Args: {
|
|
28177
|
+
p_key: string;
|
|
28178
|
+
};
|
|
28179
|
+
Returns: number;
|
|
28180
|
+
};
|
|
26372
28181
|
logistics_rule_bool: {
|
|
26373
28182
|
Args: {
|
|
26374
28183
|
p_default: boolean;
|
|
@@ -26475,6 +28284,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26475
28284
|
};
|
|
26476
28285
|
Returns: string;
|
|
26477
28286
|
};
|
|
28287
|
+
logistics_shipping_note_status: {
|
|
28288
|
+
Args: {
|
|
28289
|
+
p_cart_id?: string;
|
|
28290
|
+
p_slip_job_id?: string;
|
|
28291
|
+
};
|
|
28292
|
+
Returns: import("./types").Json;
|
|
28293
|
+
};
|
|
26478
28294
|
logistics_shipping_notes_wake_all: {
|
|
26479
28295
|
Args: never;
|
|
26480
28296
|
Returns: import("./types").Json;
|
|
@@ -26562,12 +28378,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26562
28378
|
Args: never;
|
|
26563
28379
|
Returns: import("./types").Json;
|
|
26564
28380
|
};
|
|
28381
|
+
logistics_sync_pick_queue_backlog: {
|
|
28382
|
+
Args: never;
|
|
28383
|
+
Returns: import("./types").Json;
|
|
28384
|
+
};
|
|
28385
|
+
logistics_sync_pick_queue_core: {
|
|
28386
|
+
Args: never;
|
|
28387
|
+
Returns: import("./types").Json;
|
|
28388
|
+
};
|
|
26565
28389
|
logistics_sync_task_carriers: {
|
|
26566
28390
|
Args: {
|
|
26567
28391
|
p_order_ref?: string;
|
|
26568
28392
|
};
|
|
26569
28393
|
Returns: number;
|
|
26570
28394
|
};
|
|
28395
|
+
logistics_task_open_counts: {
|
|
28396
|
+
Args: never;
|
|
28397
|
+
Returns: {
|
|
28398
|
+
open_count: number;
|
|
28399
|
+
owner_module: string;
|
|
28400
|
+
}[];
|
|
28401
|
+
};
|
|
26571
28402
|
logistics_task_owner: {
|
|
26572
28403
|
Args: {
|
|
26573
28404
|
p_task_type: string;
|
|
@@ -26585,6 +28416,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26585
28416
|
Args: never;
|
|
26586
28417
|
Returns: number;
|
|
26587
28418
|
};
|
|
28419
|
+
logistics_tasks_prune: {
|
|
28420
|
+
Args: {
|
|
28421
|
+
p_days?: number;
|
|
28422
|
+
};
|
|
28423
|
+
Returns: number;
|
|
28424
|
+
};
|
|
28425
|
+
logistics_tick: {
|
|
28426
|
+
Args: never;
|
|
28427
|
+
Returns: import("./types").Json;
|
|
28428
|
+
};
|
|
26588
28429
|
logistics_tick_ping: {
|
|
26589
28430
|
Args: never;
|
|
26590
28431
|
Returns: string;
|
|
@@ -26850,6 +28691,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26850
28691
|
permission: string;
|
|
26851
28692
|
}[];
|
|
26852
28693
|
};
|
|
28694
|
+
next_cart_day_seq: {
|
|
28695
|
+
Args: {
|
|
28696
|
+
p_date: string;
|
|
28697
|
+
};
|
|
28698
|
+
Returns: number;
|
|
28699
|
+
};
|
|
26853
28700
|
next_manufacture_partij: {
|
|
26854
28701
|
Args: {
|
|
26855
28702
|
_tenant_id: string;
|
|
@@ -26919,6 +28766,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26919
28766
|
};
|
|
26920
28767
|
Returns: boolean;
|
|
26921
28768
|
};
|
|
28769
|
+
order_items_duplicate_report: {
|
|
28770
|
+
Args: {
|
|
28771
|
+
_order_ref?: string;
|
|
28772
|
+
};
|
|
28773
|
+
Returns: {
|
|
28774
|
+
distinct_products: number;
|
|
28775
|
+
duplicate_factor: number;
|
|
28776
|
+
lines: number;
|
|
28777
|
+
order_number: string;
|
|
28778
|
+
}[];
|
|
28779
|
+
};
|
|
26922
28780
|
order_number_prefix: {
|
|
26923
28781
|
Args: {
|
|
26924
28782
|
p_custom_fields?: import("./types").Json;
|
|
@@ -27702,6 +29560,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27702
29560
|
};
|
|
27703
29561
|
Returns: undefined;
|
|
27704
29562
|
};
|
|
29563
|
+
planning_apply_schedule_updates: {
|
|
29564
|
+
Args: {
|
|
29565
|
+
_updates: import("./types").Json;
|
|
29566
|
+
};
|
|
29567
|
+
Returns: undefined;
|
|
29568
|
+
};
|
|
29569
|
+
planning_assert_no_overlaps: {
|
|
29570
|
+
Args: never;
|
|
29571
|
+
Returns: undefined;
|
|
29572
|
+
};
|
|
29573
|
+
planning_assert_no_overlaps_for_items: {
|
|
29574
|
+
Args: {
|
|
29575
|
+
_item_ids: string[];
|
|
29576
|
+
};
|
|
29577
|
+
Returns: undefined;
|
|
29578
|
+
};
|
|
27705
29579
|
planning_cancel_item: {
|
|
27706
29580
|
Args: {
|
|
27707
29581
|
_id: string;
|
|
@@ -27813,6 +29687,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27813
29687
|
};
|
|
27814
29688
|
Returns: boolean;
|
|
27815
29689
|
};
|
|
29690
|
+
quote_assign_number: {
|
|
29691
|
+
Args: {
|
|
29692
|
+
_offerte_id: string;
|
|
29693
|
+
};
|
|
29694
|
+
Returns: string;
|
|
29695
|
+
};
|
|
29696
|
+
quote_create_follow_up_now: {
|
|
29697
|
+
Args: {
|
|
29698
|
+
_offerte_id: string;
|
|
29699
|
+
_payload?: import("./types").Json;
|
|
29700
|
+
};
|
|
29701
|
+
Returns: import("./types").Json;
|
|
29702
|
+
};
|
|
27816
29703
|
quote_create_from_source: {
|
|
27817
29704
|
Args: {
|
|
27818
29705
|
_payload?: import("./types").Json;
|
|
@@ -28056,6 +29943,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28056
29943
|
Args: never;
|
|
28057
29944
|
Returns: undefined;
|
|
28058
29945
|
};
|
|
29946
|
+
run_order_auto_invoice_tick: {
|
|
29947
|
+
Args: never;
|
|
29948
|
+
Returns: number;
|
|
29949
|
+
};
|
|
28059
29950
|
run_print_queue_ticks: {
|
|
28060
29951
|
Args: never;
|
|
28061
29952
|
Returns: number;
|
|
@@ -28079,6 +29970,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28079
29970
|
};
|
|
28080
29971
|
Returns: import("./types").Json;
|
|
28081
29972
|
};
|
|
29973
|
+
scan_controleer_pincode: {
|
|
29974
|
+
Args: {
|
|
29975
|
+
p_pin: string;
|
|
29976
|
+
p_scanner_id: string;
|
|
29977
|
+
};
|
|
29978
|
+
Returns: boolean;
|
|
29979
|
+
};
|
|
28082
29980
|
scan_dashboard_stats: {
|
|
28083
29981
|
Args: {
|
|
28084
29982
|
p_dagen?: number;
|
|
@@ -28098,6 +29996,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28098
29996
|
};
|
|
28099
29997
|
Returns: import("./types").Json;
|
|
28100
29998
|
};
|
|
29999
|
+
scan_heeft_pincode: {
|
|
30000
|
+
Args: {
|
|
30001
|
+
p_scanner_id: string;
|
|
30002
|
+
};
|
|
30003
|
+
Returns: boolean;
|
|
30004
|
+
};
|
|
28101
30005
|
scan_kar_compleet: {
|
|
28102
30006
|
Args: {
|
|
28103
30007
|
p_allow_reprint?: boolean;
|
|
@@ -28115,6 +30019,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28115
30019
|
Args: {
|
|
28116
30020
|
p_code: string;
|
|
28117
30021
|
p_latency_ms?: number;
|
|
30022
|
+
p_medewerker?: string;
|
|
28118
30023
|
p_message?: string;
|
|
28119
30024
|
p_result: string;
|
|
28120
30025
|
p_scanner_key?: string;
|
|
@@ -28187,6 +30092,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28187
30092
|
};
|
|
28188
30093
|
Returns: undefined;
|
|
28189
30094
|
};
|
|
30095
|
+
scan_scanner_info: {
|
|
30096
|
+
Args: {
|
|
30097
|
+
p_slug: string;
|
|
30098
|
+
};
|
|
30099
|
+
Returns: {
|
|
30100
|
+
actief: boolean;
|
|
30101
|
+
heeft_pincode: boolean;
|
|
30102
|
+
id: string;
|
|
30103
|
+
naam: string;
|
|
30104
|
+
omschrijving: string;
|
|
30105
|
+
printer_id: string;
|
|
30106
|
+
type: string;
|
|
30107
|
+
vereist_medewerker: boolean;
|
|
30108
|
+
werkplek: string;
|
|
30109
|
+
}[];
|
|
30110
|
+
};
|
|
28190
30111
|
scan_sessie_annuleren: {
|
|
28191
30112
|
Args: {
|
|
28192
30113
|
p_sessie_id: string;
|
|
@@ -28433,6 +30354,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28433
30354
|
};
|
|
28434
30355
|
Returns: number;
|
|
28435
30356
|
};
|
|
30357
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30358
|
+
Args: {
|
|
30359
|
+
p_apikey: string;
|
|
30360
|
+
p_url: string;
|
|
30361
|
+
};
|
|
30362
|
+
Returns: number;
|
|
30363
|
+
};
|
|
28436
30364
|
schedule_floriday_trade_items_sync: {
|
|
28437
30365
|
Args: {
|
|
28438
30366
|
p_apikey: string;
|
|
@@ -28515,6 +30443,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28515
30443
|
};
|
|
28516
30444
|
Returns: undefined;
|
|
28517
30445
|
};
|
|
30446
|
+
set_product_stock: {
|
|
30447
|
+
Args: {
|
|
30448
|
+
p_incoming_stock?: number;
|
|
30449
|
+
p_minimum_stock?: number;
|
|
30450
|
+
p_notes?: string;
|
|
30451
|
+
p_physical_stock: number;
|
|
30452
|
+
p_product_id: string;
|
|
30453
|
+
};
|
|
30454
|
+
Returns: {
|
|
30455
|
+
connection_id: string;
|
|
30456
|
+
incoming_stock: number;
|
|
30457
|
+
minimum_stock: number;
|
|
30458
|
+
notes: string;
|
|
30459
|
+
physical_stock: number;
|
|
30460
|
+
product_id: string;
|
|
30461
|
+
reserved_stock: number;
|
|
30462
|
+
trade_item_key: string;
|
|
30463
|
+
updated_at: string;
|
|
30464
|
+
}[];
|
|
30465
|
+
};
|
|
28518
30466
|
show_limit: {
|
|
28519
30467
|
Args: never;
|
|
28520
30468
|
Returns: number;
|
|
@@ -28757,6 +30705,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28757
30705
|
Args: never;
|
|
28758
30706
|
Returns: boolean;
|
|
28759
30707
|
};
|
|
30708
|
+
uren_is_werkdag: {
|
|
30709
|
+
Args: {
|
|
30710
|
+
_date: string;
|
|
30711
|
+
_monteur: string;
|
|
30712
|
+
};
|
|
30713
|
+
Returns: boolean;
|
|
30714
|
+
};
|
|
30715
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30716
|
+
Args: {
|
|
30717
|
+
_datum: string;
|
|
30718
|
+
_eind: string;
|
|
30719
|
+
_reden: string;
|
|
30720
|
+
_start: string;
|
|
30721
|
+
};
|
|
30722
|
+
Returns: string;
|
|
30723
|
+
};
|
|
28760
30724
|
uren_list_medewerkers: {
|
|
28761
30725
|
Args: never;
|
|
28762
30726
|
Returns: {
|
|
@@ -28777,6 +30741,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28777
30741
|
roles: string[];
|
|
28778
30742
|
}[];
|
|
28779
30743
|
};
|
|
30744
|
+
uren_list_planner_contacten: {
|
|
30745
|
+
Args: never;
|
|
30746
|
+
Returns: {
|
|
30747
|
+
display_name: string;
|
|
30748
|
+
id: string;
|
|
30749
|
+
phone: string;
|
|
30750
|
+
}[];
|
|
30751
|
+
};
|
|
30752
|
+
uren_maand_afsluiten: {
|
|
30753
|
+
Args: {
|
|
30754
|
+
_maand: string;
|
|
30755
|
+
_monteur: string;
|
|
30756
|
+
};
|
|
30757
|
+
Returns: undefined;
|
|
30758
|
+
};
|
|
30759
|
+
uren_maand_berekenen: {
|
|
30760
|
+
Args: {
|
|
30761
|
+
_maand: string;
|
|
30762
|
+
_monteur: string;
|
|
30763
|
+
};
|
|
30764
|
+
Returns: import("./types").Json;
|
|
30765
|
+
};
|
|
30766
|
+
uren_maand_corrigeren: {
|
|
30767
|
+
Args: {
|
|
30768
|
+
_maand: string;
|
|
30769
|
+
_monteur: string;
|
|
30770
|
+
_overuren_minuten: number;
|
|
30771
|
+
_reden: string;
|
|
30772
|
+
};
|
|
30773
|
+
Returns: undefined;
|
|
30774
|
+
};
|
|
30775
|
+
uren_mijn_contracturen: {
|
|
30776
|
+
Args: never;
|
|
30777
|
+
Returns: number;
|
|
30778
|
+
};
|
|
30779
|
+
uren_mijn_vakantiesaldo: {
|
|
30780
|
+
Args: never;
|
|
30781
|
+
Returns: number;
|
|
30782
|
+
};
|
|
28780
30783
|
uren_my_monteur_id: {
|
|
28781
30784
|
Args: never;
|
|
28782
30785
|
Returns: string;
|
|
@@ -28810,6 +30813,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28810
30813
|
};
|
|
28811
30814
|
Returns: number;
|
|
28812
30815
|
};
|
|
30816
|
+
uren_spiegel_bezig: {
|
|
30817
|
+
Args: never;
|
|
30818
|
+
Returns: boolean;
|
|
30819
|
+
};
|
|
30820
|
+
uren_standaardweek_beoordelen: {
|
|
30821
|
+
Args: {
|
|
30822
|
+
_goedkeuren: boolean;
|
|
30823
|
+
_id: string;
|
|
30824
|
+
_reden?: string;
|
|
30825
|
+
};
|
|
30826
|
+
Returns: undefined;
|
|
30827
|
+
};
|
|
30828
|
+
uren_standaardweek_doorzetten: {
|
|
30829
|
+
Args: {
|
|
30830
|
+
_monteur: string;
|
|
30831
|
+
};
|
|
30832
|
+
Returns: undefined;
|
|
30833
|
+
};
|
|
30834
|
+
uren_standaardweek_instellen: {
|
|
30835
|
+
Args: {
|
|
30836
|
+
_dagen: import("./types").Json;
|
|
30837
|
+
};
|
|
30838
|
+
Returns: string;
|
|
30839
|
+
};
|
|
30840
|
+
uren_standaardweek_toepassen: {
|
|
30841
|
+
Args: {
|
|
30842
|
+
_dagen: import("./types").Json;
|
|
30843
|
+
_monteur: string;
|
|
30844
|
+
};
|
|
30845
|
+
Returns: undefined;
|
|
30846
|
+
};
|
|
28813
30847
|
uren_stop_time_log: {
|
|
28814
30848
|
Args: {
|
|
28815
30849
|
p_employee_id: string;
|
|
@@ -28835,6 +30869,165 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28835
30869
|
};
|
|
28836
30870
|
Returns: number;
|
|
28837
30871
|
};
|
|
30872
|
+
uren_vakantie_aanvragen: {
|
|
30873
|
+
Args: {
|
|
30874
|
+
_end_date: string;
|
|
30875
|
+
_hours?: number;
|
|
30876
|
+
_start_date: string;
|
|
30877
|
+
};
|
|
30878
|
+
Returns: string;
|
|
30879
|
+
};
|
|
30880
|
+
uren_vakantiedag_wijzigen: {
|
|
30881
|
+
Args: {
|
|
30882
|
+
_date: string;
|
|
30883
|
+
};
|
|
30884
|
+
Returns: string;
|
|
30885
|
+
};
|
|
30886
|
+
uren_vakantiesaldo_uren: {
|
|
30887
|
+
Args: {
|
|
30888
|
+
_monteur: string;
|
|
30889
|
+
};
|
|
30890
|
+
Returns: number;
|
|
30891
|
+
};
|
|
30892
|
+
uren_week_start: {
|
|
30893
|
+
Args: {
|
|
30894
|
+
_datum: string;
|
|
30895
|
+
};
|
|
30896
|
+
Returns: string;
|
|
30897
|
+
};
|
|
30898
|
+
uren_werkweek_opsturen: {
|
|
30899
|
+
Args: {
|
|
30900
|
+
_week_start: string;
|
|
30901
|
+
};
|
|
30902
|
+
Returns: {
|
|
30903
|
+
approved_at: string | null;
|
|
30904
|
+
approved_by: string | null;
|
|
30905
|
+
contract_hours: number;
|
|
30906
|
+
created_at: string;
|
|
30907
|
+
employee_id: string;
|
|
30908
|
+
id: string;
|
|
30909
|
+
locked: boolean;
|
|
30910
|
+
monteur_toelichting: string | null;
|
|
30911
|
+
notes: string | null;
|
|
30912
|
+
planned_hours: number;
|
|
30913
|
+
status: string;
|
|
30914
|
+
submitted_at: string | null;
|
|
30915
|
+
updated_at: string;
|
|
30916
|
+
variance_hours: number;
|
|
30917
|
+
week_start: string;
|
|
30918
|
+
};
|
|
30919
|
+
SetofOptions: {
|
|
30920
|
+
from: "*";
|
|
30921
|
+
to: "time_log_week_approvals";
|
|
30922
|
+
isOneToOne: true;
|
|
30923
|
+
isSetofReturn: false;
|
|
30924
|
+
};
|
|
30925
|
+
} | {
|
|
30926
|
+
Args: {
|
|
30927
|
+
_vrije_dagen?: string[];
|
|
30928
|
+
_week_start: string;
|
|
30929
|
+
};
|
|
30930
|
+
Returns: {
|
|
30931
|
+
approved_at: string | null;
|
|
30932
|
+
approved_by: string | null;
|
|
30933
|
+
contract_hours: number;
|
|
30934
|
+
created_at: string;
|
|
30935
|
+
employee_id: string;
|
|
30936
|
+
id: string;
|
|
30937
|
+
locked: boolean;
|
|
30938
|
+
monteur_toelichting: string | null;
|
|
30939
|
+
notes: string | null;
|
|
30940
|
+
planned_hours: number;
|
|
30941
|
+
status: string;
|
|
30942
|
+
submitted_at: string | null;
|
|
30943
|
+
updated_at: string;
|
|
30944
|
+
variance_hours: number;
|
|
30945
|
+
week_start: string;
|
|
30946
|
+
};
|
|
30947
|
+
SetofOptions: {
|
|
30948
|
+
from: "*";
|
|
30949
|
+
to: "time_log_week_approvals";
|
|
30950
|
+
isOneToOne: true;
|
|
30951
|
+
isSetofReturn: false;
|
|
30952
|
+
};
|
|
30953
|
+
} | {
|
|
30954
|
+
Args: {
|
|
30955
|
+
_toelichting?: string;
|
|
30956
|
+
_vrije_dagen?: string[];
|
|
30957
|
+
_week_start: string;
|
|
30958
|
+
};
|
|
30959
|
+
Returns: {
|
|
30960
|
+
approved_at: string | null;
|
|
30961
|
+
approved_by: string | null;
|
|
30962
|
+
contract_hours: number;
|
|
30963
|
+
created_at: string;
|
|
30964
|
+
employee_id: string;
|
|
30965
|
+
id: string;
|
|
30966
|
+
locked: boolean;
|
|
30967
|
+
monteur_toelichting: string | null;
|
|
30968
|
+
notes: string | null;
|
|
30969
|
+
planned_hours: number;
|
|
30970
|
+
status: string;
|
|
30971
|
+
submitted_at: string | null;
|
|
30972
|
+
updated_at: string;
|
|
30973
|
+
variance_hours: number;
|
|
30974
|
+
week_start: string;
|
|
30975
|
+
};
|
|
30976
|
+
SetofOptions: {
|
|
30977
|
+
from: "*";
|
|
30978
|
+
to: "time_log_week_approvals";
|
|
30979
|
+
isOneToOne: true;
|
|
30980
|
+
isSetofReturn: false;
|
|
30981
|
+
};
|
|
30982
|
+
};
|
|
30983
|
+
vakantie_dagen_gebruikt: {
|
|
30984
|
+
Args: {
|
|
30985
|
+
_user_id: string;
|
|
30986
|
+
_year: number;
|
|
30987
|
+
};
|
|
30988
|
+
Returns: number;
|
|
30989
|
+
};
|
|
30990
|
+
vakantie_overuren: {
|
|
30991
|
+
Args: {
|
|
30992
|
+
_user_id: string;
|
|
30993
|
+
_year?: number;
|
|
30994
|
+
};
|
|
30995
|
+
Returns: number;
|
|
30996
|
+
};
|
|
30997
|
+
vakantie_saldo: {
|
|
30998
|
+
Args: {
|
|
30999
|
+
_user_id: string;
|
|
31000
|
+
_year?: number;
|
|
31001
|
+
};
|
|
31002
|
+
Returns: {
|
|
31003
|
+
day_hours: number;
|
|
31004
|
+
earned_from_overtime_days: number;
|
|
31005
|
+
entitlement_days: number;
|
|
31006
|
+
hours_to_next_day: number;
|
|
31007
|
+
overtime_hours: number;
|
|
31008
|
+
overtime_remainder_hours: number;
|
|
31009
|
+
paid_out_days: number;
|
|
31010
|
+
remaining_days: number;
|
|
31011
|
+
used_days: number;
|
|
31012
|
+
}[];
|
|
31013
|
+
};
|
|
31014
|
+
vakantie_saldo_overzicht: {
|
|
31015
|
+
Args: {
|
|
31016
|
+
_year?: number;
|
|
31017
|
+
};
|
|
31018
|
+
Returns: {
|
|
31019
|
+
day_hours: number;
|
|
31020
|
+
earned_from_overtime_days: number;
|
|
31021
|
+
entitlement_days: number;
|
|
31022
|
+
hours_to_next_day: number;
|
|
31023
|
+
overtime_hours: number;
|
|
31024
|
+
overtime_remainder_hours: number;
|
|
31025
|
+
paid_out_days: number;
|
|
31026
|
+
remaining_days: number;
|
|
31027
|
+
used_days: number;
|
|
31028
|
+
user_id: string;
|
|
31029
|
+
}[];
|
|
31030
|
+
};
|
|
28838
31031
|
voorraad_cleanup_old_rows: {
|
|
28839
31032
|
Args: never;
|
|
28840
31033
|
Returns: import("./types").Json;
|
|
@@ -28877,18 +31070,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28877
31070
|
};
|
|
28878
31071
|
Returns: import("./types").Json;
|
|
28879
31072
|
};
|
|
31073
|
+
wo_list_colleague_planning: {
|
|
31074
|
+
Args: {
|
|
31075
|
+
_from: string;
|
|
31076
|
+
_monteur_id: string;
|
|
31077
|
+
_to: string;
|
|
31078
|
+
};
|
|
31079
|
+
Returns: {
|
|
31080
|
+
end_at: string;
|
|
31081
|
+
id: string;
|
|
31082
|
+
role: string;
|
|
31083
|
+
start_at: string;
|
|
31084
|
+
status: string;
|
|
31085
|
+
werkbon_id: string;
|
|
31086
|
+
}[];
|
|
31087
|
+
};
|
|
28880
31088
|
wo_list_offerte_requests: {
|
|
28881
31089
|
Args: {
|
|
28882
31090
|
_status?: string;
|
|
28883
31091
|
};
|
|
28884
31092
|
Returns: import("./types").Json;
|
|
28885
31093
|
};
|
|
31094
|
+
wo_list_proposals: {
|
|
31095
|
+
Args: {
|
|
31096
|
+
_status?: string;
|
|
31097
|
+
};
|
|
31098
|
+
Returns: import("./types").Json;
|
|
31099
|
+
};
|
|
28886
31100
|
wo_process_offerte_request: {
|
|
28887
31101
|
Args: {
|
|
28888
31102
|
_queue_id: string;
|
|
28889
31103
|
};
|
|
28890
31104
|
Returns: import("./types").Json;
|
|
28891
31105
|
};
|
|
31106
|
+
wo_process_proposal: {
|
|
31107
|
+
Args: {
|
|
31108
|
+
_id: string;
|
|
31109
|
+
_overrides?: import("./types").Json;
|
|
31110
|
+
};
|
|
31111
|
+
Returns: import("./types").Json;
|
|
31112
|
+
};
|
|
28892
31113
|
wo_reject_offerte_request: {
|
|
28893
31114
|
Args: {
|
|
28894
31115
|
_queue_id: string;
|
|
@@ -28896,6 +31117,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28896
31117
|
};
|
|
28897
31118
|
Returns: import("./types").Json;
|
|
28898
31119
|
};
|
|
31120
|
+
wo_reject_proposal: {
|
|
31121
|
+
Args: {
|
|
31122
|
+
_id: string;
|
|
31123
|
+
_reden?: string;
|
|
31124
|
+
};
|
|
31125
|
+
Returns: import("./types").Json;
|
|
31126
|
+
};
|
|
28899
31127
|
wo_set_status: {
|
|
28900
31128
|
Args: {
|
|
28901
31129
|
_reason?: string;
|