@flowselections/floriday-voorraad 1.0.48 → 1.0.50
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/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.js +79 -6
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +14 -2
- package/dist-lib/components/voorraad/CollapsibleText.d.ts +9 -0
- package/dist-lib/components/voorraad/CollapsibleText.d.ts.map +1 -0
- package/dist-lib/components/voorraad/CollapsibleText.js +35 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +18 -16
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +29 -42
- package/dist-lib/hooks/useTradeItemStock.d.ts +3 -1
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +85 -32
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +3 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +700 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2 -30340
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +4 -27
- package/dist-lib/integrations/supabase/client.server.d.ts +700 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +720 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +700 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +700 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +1400 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +4200 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1400 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +2100 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1400 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +1400 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-packing.d.ts.map +1 -1
- package/dist-lib/lib/product-packing.js +10 -4
- package/dist-lib/lib/stock-sync.functions.d.ts +1400 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8277,6 +8277,72 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8277
8277
|
};
|
|
8278
8278
|
Relationships: [];
|
|
8279
8279
|
};
|
|
8280
|
+
invoice_branding_settings: {
|
|
8281
|
+
Row: {
|
|
8282
|
+
address: string;
|
|
8283
|
+
chamber_of_commerce_number: string;
|
|
8284
|
+
city: string;
|
|
8285
|
+
company_name: string;
|
|
8286
|
+
created_at: string;
|
|
8287
|
+
email: string;
|
|
8288
|
+
email_purpose: string | null;
|
|
8289
|
+
iban: string;
|
|
8290
|
+
logo_path: string | null;
|
|
8291
|
+
payment_term_days: number;
|
|
8292
|
+
phone: string;
|
|
8293
|
+
postal_code: string;
|
|
8294
|
+
primary_color: string;
|
|
8295
|
+
secondary_color: string;
|
|
8296
|
+
show_company_name: boolean;
|
|
8297
|
+
singleton_key: boolean;
|
|
8298
|
+
updated_at: string;
|
|
8299
|
+
vat_identification_number: string;
|
|
8300
|
+
website: string;
|
|
8301
|
+
};
|
|
8302
|
+
Insert: {
|
|
8303
|
+
address?: string;
|
|
8304
|
+
chamber_of_commerce_number?: string;
|
|
8305
|
+
city?: string;
|
|
8306
|
+
company_name?: string;
|
|
8307
|
+
created_at?: string;
|
|
8308
|
+
email?: string;
|
|
8309
|
+
email_purpose?: string | null;
|
|
8310
|
+
iban?: string;
|
|
8311
|
+
logo_path?: string | null;
|
|
8312
|
+
payment_term_days?: number;
|
|
8313
|
+
phone?: string;
|
|
8314
|
+
postal_code?: string;
|
|
8315
|
+
primary_color?: string;
|
|
8316
|
+
secondary_color?: string;
|
|
8317
|
+
show_company_name?: boolean;
|
|
8318
|
+
singleton_key?: boolean;
|
|
8319
|
+
updated_at?: string;
|
|
8320
|
+
vat_identification_number?: string;
|
|
8321
|
+
website?: string;
|
|
8322
|
+
};
|
|
8323
|
+
Update: {
|
|
8324
|
+
address?: string;
|
|
8325
|
+
chamber_of_commerce_number?: string;
|
|
8326
|
+
city?: string;
|
|
8327
|
+
company_name?: string;
|
|
8328
|
+
created_at?: string;
|
|
8329
|
+
email?: string;
|
|
8330
|
+
email_purpose?: string | null;
|
|
8331
|
+
iban?: string;
|
|
8332
|
+
logo_path?: string | null;
|
|
8333
|
+
payment_term_days?: number;
|
|
8334
|
+
phone?: string;
|
|
8335
|
+
postal_code?: string;
|
|
8336
|
+
primary_color?: string;
|
|
8337
|
+
secondary_color?: string;
|
|
8338
|
+
show_company_name?: boolean;
|
|
8339
|
+
singleton_key?: boolean;
|
|
8340
|
+
updated_at?: string;
|
|
8341
|
+
vat_identification_number?: string;
|
|
8342
|
+
website?: string;
|
|
8343
|
+
};
|
|
8344
|
+
Relationships: [];
|
|
8345
|
+
};
|
|
8280
8346
|
invoice_items: {
|
|
8281
8347
|
Row: {
|
|
8282
8348
|
created_at: string;
|
|
@@ -8290,6 +8356,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8290
8356
|
total_cents: number;
|
|
8291
8357
|
unit: string;
|
|
8292
8358
|
unit_price_cents: number;
|
|
8359
|
+
vat_rate: number | null;
|
|
8293
8360
|
};
|
|
8294
8361
|
Insert: {
|
|
8295
8362
|
created_at?: string;
|
|
@@ -8303,6 +8370,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8303
8370
|
total_cents?: number;
|
|
8304
8371
|
unit?: string;
|
|
8305
8372
|
unit_price_cents?: number;
|
|
8373
|
+
vat_rate?: number | null;
|
|
8306
8374
|
};
|
|
8307
8375
|
Update: {
|
|
8308
8376
|
created_at?: string;
|
|
@@ -8316,6 +8384,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8316
8384
|
total_cents?: number;
|
|
8317
8385
|
unit?: string;
|
|
8318
8386
|
unit_price_cents?: number;
|
|
8387
|
+
vat_rate?: number | null;
|
|
8319
8388
|
};
|
|
8320
8389
|
Relationships: [{
|
|
8321
8390
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8561,6 +8630,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8561
8630
|
};
|
|
8562
8631
|
invoices: {
|
|
8563
8632
|
Row: {
|
|
8633
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8564
8634
|
created_at: string;
|
|
8565
8635
|
created_by: string | null;
|
|
8566
8636
|
customer_address: string | null;
|
|
@@ -8579,6 +8649,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8579
8649
|
note: string | null;
|
|
8580
8650
|
payment_term_days: number;
|
|
8581
8651
|
reference: string | null;
|
|
8652
|
+
sent_at: string | null;
|
|
8653
|
+
sent_to: string | null;
|
|
8582
8654
|
source_number: string | null;
|
|
8583
8655
|
source_ref: string | null;
|
|
8584
8656
|
source_type: string;
|
|
@@ -8591,6 +8663,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8591
8663
|
work_address: string | null;
|
|
8592
8664
|
};
|
|
8593
8665
|
Insert: {
|
|
8666
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8594
8667
|
created_at?: string;
|
|
8595
8668
|
created_by?: string | null;
|
|
8596
8669
|
customer_address?: string | null;
|
|
@@ -8609,6 +8682,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8609
8682
|
note?: string | null;
|
|
8610
8683
|
payment_term_days?: number;
|
|
8611
8684
|
reference?: string | null;
|
|
8685
|
+
sent_at?: string | null;
|
|
8686
|
+
sent_to?: string | null;
|
|
8612
8687
|
source_number?: string | null;
|
|
8613
8688
|
source_ref?: string | null;
|
|
8614
8689
|
source_type?: string;
|
|
@@ -8621,6 +8696,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8621
8696
|
work_address?: string | null;
|
|
8622
8697
|
};
|
|
8623
8698
|
Update: {
|
|
8699
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8624
8700
|
created_at?: string;
|
|
8625
8701
|
created_by?: string | null;
|
|
8626
8702
|
customer_address?: string | null;
|
|
@@ -8639,6 +8715,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8639
8715
|
note?: string | null;
|
|
8640
8716
|
payment_term_days?: number;
|
|
8641
8717
|
reference?: string | null;
|
|
8718
|
+
sent_at?: string | null;
|
|
8719
|
+
sent_to?: string | null;
|
|
8642
8720
|
source_number?: string | null;
|
|
8643
8721
|
source_ref?: string | null;
|
|
8644
8722
|
source_type?: string;
|
|
@@ -9347,6 +9425,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9347
9425
|
quantity: number;
|
|
9348
9426
|
sort_order: number;
|
|
9349
9427
|
source: string;
|
|
9428
|
+
unit: string | null;
|
|
9350
9429
|
unit_price_cents: number;
|
|
9351
9430
|
updated_at: string;
|
|
9352
9431
|
};
|
|
@@ -9360,6 +9439,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9360
9439
|
quantity?: number;
|
|
9361
9440
|
sort_order?: number;
|
|
9362
9441
|
source?: string;
|
|
9442
|
+
unit?: string | null;
|
|
9363
9443
|
unit_price_cents?: number;
|
|
9364
9444
|
updated_at?: string;
|
|
9365
9445
|
};
|
|
@@ -9373,6 +9453,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9373
9453
|
quantity?: number;
|
|
9374
9454
|
sort_order?: number;
|
|
9375
9455
|
source?: string;
|
|
9456
|
+
unit?: string | null;
|
|
9376
9457
|
unit_price_cents?: number;
|
|
9377
9458
|
updated_at?: string;
|
|
9378
9459
|
};
|
|
@@ -9396,6 +9477,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9396
9477
|
created_at: string;
|
|
9397
9478
|
default_geldigheid_dagen: number;
|
|
9398
9479
|
default_vat_rate: number;
|
|
9480
|
+
email_purpose: string | null;
|
|
9399
9481
|
id: string;
|
|
9400
9482
|
singleton: boolean;
|
|
9401
9483
|
updated_at: string;
|
|
@@ -9405,6 +9487,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9405
9487
|
created_at?: string;
|
|
9406
9488
|
default_geldigheid_dagen?: number;
|
|
9407
9489
|
default_vat_rate?: number;
|
|
9490
|
+
email_purpose?: string | null;
|
|
9408
9491
|
id?: string;
|
|
9409
9492
|
singleton?: boolean;
|
|
9410
9493
|
updated_at?: string;
|
|
@@ -9414,6 +9497,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9414
9497
|
created_at?: string;
|
|
9415
9498
|
default_geldigheid_dagen?: number;
|
|
9416
9499
|
default_vat_rate?: number;
|
|
9500
|
+
email_purpose?: string | null;
|
|
9417
9501
|
id?: string;
|
|
9418
9502
|
singleton?: boolean;
|
|
9419
9503
|
updated_at?: string;
|
|
@@ -9506,6 +9590,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9506
9590
|
};
|
|
9507
9591
|
itk_offertes: {
|
|
9508
9592
|
Row: {
|
|
9593
|
+
aandachtspunten: string | null;
|
|
9509
9594
|
ai_generated: boolean;
|
|
9510
9595
|
approved_at: string | null;
|
|
9511
9596
|
binnen_mandaat: boolean;
|
|
@@ -9521,6 +9606,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9521
9606
|
notities: string | null;
|
|
9522
9607
|
offerte_number: string | null;
|
|
9523
9608
|
omschrijving: string;
|
|
9609
|
+
onderwerp: string | null;
|
|
9524
9610
|
rejected_at: string | null;
|
|
9525
9611
|
sent_at: string | null;
|
|
9526
9612
|
source_number: string | null;
|
|
@@ -9533,12 +9619,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9533
9619
|
valid_until: string | null;
|
|
9534
9620
|
vat_cents: number;
|
|
9535
9621
|
vat_rate: number;
|
|
9622
|
+
verzonden_naar: string | null;
|
|
9536
9623
|
viewed_at: string | null;
|
|
9537
9624
|
volgnummer: number | null;
|
|
9625
|
+
voorwaarden: string | null;
|
|
9538
9626
|
werkbon_id: string | null;
|
|
9539
9627
|
work_location_id: string | null;
|
|
9540
9628
|
};
|
|
9541
9629
|
Insert: {
|
|
9630
|
+
aandachtspunten?: string | null;
|
|
9542
9631
|
ai_generated?: boolean;
|
|
9543
9632
|
approved_at?: string | null;
|
|
9544
9633
|
binnen_mandaat?: boolean;
|
|
@@ -9554,6 +9643,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9554
9643
|
notities?: string | null;
|
|
9555
9644
|
offerte_number?: string | null;
|
|
9556
9645
|
omschrijving?: string;
|
|
9646
|
+
onderwerp?: string | null;
|
|
9557
9647
|
rejected_at?: string | null;
|
|
9558
9648
|
sent_at?: string | null;
|
|
9559
9649
|
source_number?: string | null;
|
|
@@ -9566,12 +9656,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9566
9656
|
valid_until?: string | null;
|
|
9567
9657
|
vat_cents?: number;
|
|
9568
9658
|
vat_rate?: number;
|
|
9659
|
+
verzonden_naar?: string | null;
|
|
9569
9660
|
viewed_at?: string | null;
|
|
9570
9661
|
volgnummer?: number | null;
|
|
9662
|
+
voorwaarden?: string | null;
|
|
9571
9663
|
werkbon_id?: string | null;
|
|
9572
9664
|
work_location_id?: string | null;
|
|
9573
9665
|
};
|
|
9574
9666
|
Update: {
|
|
9667
|
+
aandachtspunten?: string | null;
|
|
9575
9668
|
ai_generated?: boolean;
|
|
9576
9669
|
approved_at?: string | null;
|
|
9577
9670
|
binnen_mandaat?: boolean;
|
|
@@ -9587,6 +9680,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9587
9680
|
notities?: string | null;
|
|
9588
9681
|
offerte_number?: string | null;
|
|
9589
9682
|
omschrijving?: string;
|
|
9683
|
+
onderwerp?: string | null;
|
|
9590
9684
|
rejected_at?: string | null;
|
|
9591
9685
|
sent_at?: string | null;
|
|
9592
9686
|
source_number?: string | null;
|
|
@@ -9599,8 +9693,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9599
9693
|
valid_until?: string | null;
|
|
9600
9694
|
vat_cents?: number;
|
|
9601
9695
|
vat_rate?: number;
|
|
9696
|
+
verzonden_naar?: string | null;
|
|
9602
9697
|
viewed_at?: string | null;
|
|
9603
9698
|
volgnummer?: number | null;
|
|
9699
|
+
voorwaarden?: string | null;
|
|
9604
9700
|
werkbon_id?: string | null;
|
|
9605
9701
|
work_location_id?: string | null;
|
|
9606
9702
|
};
|
|
@@ -14612,6 +14708,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
14612
14708
|
next_attempt_at: string;
|
|
14613
14709
|
order_id: string;
|
|
14614
14710
|
processed_at: string | null;
|
|
14711
|
+
send_error: string | null;
|
|
14615
14712
|
status: string;
|
|
14616
14713
|
updated_at: string;
|
|
14617
14714
|
};
|
|
@@ -14625,6 +14722,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
14625
14722
|
next_attempt_at?: string;
|
|
14626
14723
|
order_id: string;
|
|
14627
14724
|
processed_at?: string | null;
|
|
14725
|
+
send_error?: string | null;
|
|
14628
14726
|
status?: string;
|
|
14629
14727
|
updated_at?: string;
|
|
14630
14728
|
};
|
|
@@ -14638,6 +14736,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
14638
14736
|
next_attempt_at?: string;
|
|
14639
14737
|
order_id?: string;
|
|
14640
14738
|
processed_at?: string | null;
|
|
14739
|
+
send_error?: string | null;
|
|
14641
14740
|
status?: string;
|
|
14642
14741
|
updated_at?: string;
|
|
14643
14742
|
};
|
|
@@ -17667,6 +17766,66 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
17667
17766
|
};
|
|
17668
17767
|
Relationships: [];
|
|
17669
17768
|
};
|
|
17769
|
+
product_suppliers: {
|
|
17770
|
+
Row: {
|
|
17771
|
+
created_at: string;
|
|
17772
|
+
id: string;
|
|
17773
|
+
is_preferred: boolean;
|
|
17774
|
+
lead_time_days: number | null;
|
|
17775
|
+
min_order_quantity: number | null;
|
|
17776
|
+
notes: string | null;
|
|
17777
|
+
product_id: string;
|
|
17778
|
+
purchase_price_cents: number | null;
|
|
17779
|
+
supplier_article_number: string | null;
|
|
17780
|
+
supplier_id: string;
|
|
17781
|
+
updated_at: string;
|
|
17782
|
+
};
|
|
17783
|
+
Insert: {
|
|
17784
|
+
created_at?: string;
|
|
17785
|
+
id?: string;
|
|
17786
|
+
is_preferred?: boolean;
|
|
17787
|
+
lead_time_days?: number | null;
|
|
17788
|
+
min_order_quantity?: number | null;
|
|
17789
|
+
notes?: string | null;
|
|
17790
|
+
product_id: string;
|
|
17791
|
+
purchase_price_cents?: number | null;
|
|
17792
|
+
supplier_article_number?: string | null;
|
|
17793
|
+
supplier_id: string;
|
|
17794
|
+
updated_at?: string;
|
|
17795
|
+
};
|
|
17796
|
+
Update: {
|
|
17797
|
+
created_at?: string;
|
|
17798
|
+
id?: string;
|
|
17799
|
+
is_preferred?: boolean;
|
|
17800
|
+
lead_time_days?: number | null;
|
|
17801
|
+
min_order_quantity?: number | null;
|
|
17802
|
+
notes?: string | null;
|
|
17803
|
+
product_id?: string;
|
|
17804
|
+
purchase_price_cents?: number | null;
|
|
17805
|
+
supplier_article_number?: string | null;
|
|
17806
|
+
supplier_id?: string;
|
|
17807
|
+
updated_at?: string;
|
|
17808
|
+
};
|
|
17809
|
+
Relationships: [{
|
|
17810
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17811
|
+
columns: ["product_id"];
|
|
17812
|
+
isOneToOne: false;
|
|
17813
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17814
|
+
referencedColumns: ["product_id"];
|
|
17815
|
+
}, {
|
|
17816
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17817
|
+
columns: ["product_id"];
|
|
17818
|
+
isOneToOne: false;
|
|
17819
|
+
referencedRelation: "products";
|
|
17820
|
+
referencedColumns: ["id"];
|
|
17821
|
+
}, {
|
|
17822
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17823
|
+
columns: ["supplier_id"];
|
|
17824
|
+
isOneToOne: false;
|
|
17825
|
+
referencedRelation: "suppliers";
|
|
17826
|
+
referencedColumns: ["id"];
|
|
17827
|
+
}];
|
|
17828
|
+
};
|
|
17670
17829
|
product_tray_stickers: {
|
|
17671
17830
|
Row: {
|
|
17672
17831
|
bestand_url: string;
|
|
@@ -18171,9 +18330,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18171
18330
|
purchase_order_items: {
|
|
18172
18331
|
Row: {
|
|
18173
18332
|
article_number: string | null;
|
|
18333
|
+
cancelled_at: string | null;
|
|
18174
18334
|
created_at: string;
|
|
18175
18335
|
delivery_date: string | null;
|
|
18176
18336
|
id: string;
|
|
18337
|
+
incoming_booked: number;
|
|
18338
|
+
line_status: string;
|
|
18177
18339
|
name: string;
|
|
18178
18340
|
note: string | null;
|
|
18179
18341
|
pot_size: string | null;
|
|
@@ -18181,6 +18343,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18181
18343
|
product_type: string;
|
|
18182
18344
|
purchase_order_id: string;
|
|
18183
18345
|
quantity: number;
|
|
18346
|
+
received_at: string | null;
|
|
18347
|
+
received_booked: number;
|
|
18184
18348
|
supplier_id: string | null;
|
|
18185
18349
|
supplier_product_id: string | null;
|
|
18186
18350
|
unit_price_cents: number;
|
|
@@ -18188,9 +18352,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18188
18352
|
};
|
|
18189
18353
|
Insert: {
|
|
18190
18354
|
article_number?: string | null;
|
|
18355
|
+
cancelled_at?: string | null;
|
|
18191
18356
|
created_at?: string;
|
|
18192
18357
|
delivery_date?: string | null;
|
|
18193
18358
|
id?: string;
|
|
18359
|
+
incoming_booked?: number;
|
|
18360
|
+
line_status?: string;
|
|
18194
18361
|
name?: string;
|
|
18195
18362
|
note?: string | null;
|
|
18196
18363
|
pot_size?: string | null;
|
|
@@ -18198,6 +18365,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18198
18365
|
product_type?: string;
|
|
18199
18366
|
purchase_order_id: string;
|
|
18200
18367
|
quantity?: number;
|
|
18368
|
+
received_at?: string | null;
|
|
18369
|
+
received_booked?: number;
|
|
18201
18370
|
supplier_id?: string | null;
|
|
18202
18371
|
supplier_product_id?: string | null;
|
|
18203
18372
|
unit_price_cents?: number;
|
|
@@ -18205,9 +18374,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18205
18374
|
};
|
|
18206
18375
|
Update: {
|
|
18207
18376
|
article_number?: string | null;
|
|
18377
|
+
cancelled_at?: string | null;
|
|
18208
18378
|
created_at?: string;
|
|
18209
18379
|
delivery_date?: string | null;
|
|
18210
18380
|
id?: string;
|
|
18381
|
+
incoming_booked?: number;
|
|
18382
|
+
line_status?: string;
|
|
18211
18383
|
name?: string;
|
|
18212
18384
|
note?: string | null;
|
|
18213
18385
|
pot_size?: string | null;
|
|
@@ -18215,6 +18387,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18215
18387
|
product_type?: string;
|
|
18216
18388
|
purchase_order_id?: string;
|
|
18217
18389
|
quantity?: number;
|
|
18390
|
+
received_at?: string | null;
|
|
18391
|
+
received_booked?: number;
|
|
18218
18392
|
supplier_id?: string | null;
|
|
18219
18393
|
supplier_product_id?: string | null;
|
|
18220
18394
|
unit_price_cents?: number;
|
|
@@ -18318,6 +18492,153 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18318
18492
|
referencedColumns: ["id"];
|
|
18319
18493
|
}];
|
|
18320
18494
|
};
|
|
18495
|
+
purchase_request_events: {
|
|
18496
|
+
Row: {
|
|
18497
|
+
created_at: string;
|
|
18498
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18499
|
+
event_type: string;
|
|
18500
|
+
id: string;
|
|
18501
|
+
request_id: string;
|
|
18502
|
+
};
|
|
18503
|
+
Insert: {
|
|
18504
|
+
created_at?: string;
|
|
18505
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18506
|
+
event_type: string;
|
|
18507
|
+
id?: string;
|
|
18508
|
+
request_id: string;
|
|
18509
|
+
};
|
|
18510
|
+
Update: {
|
|
18511
|
+
created_at?: string;
|
|
18512
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18513
|
+
event_type?: string;
|
|
18514
|
+
id?: string;
|
|
18515
|
+
request_id?: string;
|
|
18516
|
+
};
|
|
18517
|
+
Relationships: [{
|
|
18518
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18519
|
+
columns: ["request_id"];
|
|
18520
|
+
isOneToOne: false;
|
|
18521
|
+
referencedRelation: "purchase_requests";
|
|
18522
|
+
referencedColumns: ["id"];
|
|
18523
|
+
}];
|
|
18524
|
+
};
|
|
18525
|
+
purchase_request_responses: {
|
|
18526
|
+
Row: {
|
|
18527
|
+
confirmed_date: string | null;
|
|
18528
|
+
confirmed_price_cents: number | null;
|
|
18529
|
+
confirmed_quantity: number;
|
|
18530
|
+
created_at: string;
|
|
18531
|
+
id: string;
|
|
18532
|
+
not_available: boolean;
|
|
18533
|
+
note: string | null;
|
|
18534
|
+
purchase_order_item_id: string;
|
|
18535
|
+
request_id: string;
|
|
18536
|
+
updated_at: string;
|
|
18537
|
+
};
|
|
18538
|
+
Insert: {
|
|
18539
|
+
confirmed_date?: string | null;
|
|
18540
|
+
confirmed_price_cents?: number | null;
|
|
18541
|
+
confirmed_quantity?: number;
|
|
18542
|
+
created_at?: string;
|
|
18543
|
+
id?: string;
|
|
18544
|
+
not_available?: boolean;
|
|
18545
|
+
note?: string | null;
|
|
18546
|
+
purchase_order_item_id: string;
|
|
18547
|
+
request_id: string;
|
|
18548
|
+
updated_at?: string;
|
|
18549
|
+
};
|
|
18550
|
+
Update: {
|
|
18551
|
+
confirmed_date?: string | null;
|
|
18552
|
+
confirmed_price_cents?: number | null;
|
|
18553
|
+
confirmed_quantity?: number;
|
|
18554
|
+
created_at?: string;
|
|
18555
|
+
id?: string;
|
|
18556
|
+
not_available?: boolean;
|
|
18557
|
+
note?: string | null;
|
|
18558
|
+
purchase_order_item_id?: string;
|
|
18559
|
+
request_id?: string;
|
|
18560
|
+
updated_at?: string;
|
|
18561
|
+
};
|
|
18562
|
+
Relationships: [{
|
|
18563
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18564
|
+
columns: ["purchase_order_item_id"];
|
|
18565
|
+
isOneToOne: false;
|
|
18566
|
+
referencedRelation: "purchase_order_items";
|
|
18567
|
+
referencedColumns: ["id"];
|
|
18568
|
+
}, {
|
|
18569
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18570
|
+
columns: ["request_id"];
|
|
18571
|
+
isOneToOne: false;
|
|
18572
|
+
referencedRelation: "purchase_requests";
|
|
18573
|
+
referencedColumns: ["id"];
|
|
18574
|
+
}];
|
|
18575
|
+
};
|
|
18576
|
+
purchase_requests: {
|
|
18577
|
+
Row: {
|
|
18578
|
+
created_at: string;
|
|
18579
|
+
expires_at: string;
|
|
18580
|
+
first_viewed_at: string | null;
|
|
18581
|
+
id: string;
|
|
18582
|
+
processed_at: string | null;
|
|
18583
|
+
purchase_order_id: string;
|
|
18584
|
+
responded_at: string | null;
|
|
18585
|
+
sent_at: string;
|
|
18586
|
+
status: string;
|
|
18587
|
+
supplier_id: string | null;
|
|
18588
|
+
supplier_name: string;
|
|
18589
|
+
supplier_note: string | null;
|
|
18590
|
+
to_address: string | null;
|
|
18591
|
+
token_hash: string;
|
|
18592
|
+
updated_at: string;
|
|
18593
|
+
};
|
|
18594
|
+
Insert: {
|
|
18595
|
+
created_at?: string;
|
|
18596
|
+
expires_at?: string;
|
|
18597
|
+
first_viewed_at?: string | null;
|
|
18598
|
+
id?: string;
|
|
18599
|
+
processed_at?: string | null;
|
|
18600
|
+
purchase_order_id: string;
|
|
18601
|
+
responded_at?: string | null;
|
|
18602
|
+
sent_at?: string;
|
|
18603
|
+
status?: string;
|
|
18604
|
+
supplier_id?: string | null;
|
|
18605
|
+
supplier_name?: string;
|
|
18606
|
+
supplier_note?: string | null;
|
|
18607
|
+
to_address?: string | null;
|
|
18608
|
+
token_hash: string;
|
|
18609
|
+
updated_at?: string;
|
|
18610
|
+
};
|
|
18611
|
+
Update: {
|
|
18612
|
+
created_at?: string;
|
|
18613
|
+
expires_at?: string;
|
|
18614
|
+
first_viewed_at?: string | null;
|
|
18615
|
+
id?: string;
|
|
18616
|
+
processed_at?: string | null;
|
|
18617
|
+
purchase_order_id?: string;
|
|
18618
|
+
responded_at?: string | null;
|
|
18619
|
+
sent_at?: string;
|
|
18620
|
+
status?: string;
|
|
18621
|
+
supplier_id?: string | null;
|
|
18622
|
+
supplier_name?: string;
|
|
18623
|
+
supplier_note?: string | null;
|
|
18624
|
+
to_address?: string | null;
|
|
18625
|
+
token_hash?: string;
|
|
18626
|
+
updated_at?: string;
|
|
18627
|
+
};
|
|
18628
|
+
Relationships: [{
|
|
18629
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18630
|
+
columns: ["purchase_order_id"];
|
|
18631
|
+
isOneToOne: false;
|
|
18632
|
+
referencedRelation: "purchase_orders";
|
|
18633
|
+
referencedColumns: ["id"];
|
|
18634
|
+
}, {
|
|
18635
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18636
|
+
columns: ["supplier_id"];
|
|
18637
|
+
isOneToOne: false;
|
|
18638
|
+
referencedRelation: "suppliers";
|
|
18639
|
+
referencedColumns: ["id"];
|
|
18640
|
+
}];
|
|
18641
|
+
};
|
|
18321
18642
|
reception_notifications: {
|
|
18322
18643
|
Row: {
|
|
18323
18644
|
booking_id: string | null;
|
|
@@ -20481,6 +20802,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20481
20802
|
auto_invoice_enabled: boolean;
|
|
20482
20803
|
auto_invoice_start_date: string | null;
|
|
20483
20804
|
auto_invoice_trigger_statuses: string[];
|
|
20805
|
+
auto_send_mode: string | null;
|
|
20484
20806
|
created_at: string;
|
|
20485
20807
|
debtor_gl_account: string;
|
|
20486
20808
|
default_article_code: string | null;
|
|
@@ -20509,6 +20831,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20509
20831
|
auto_invoice_enabled?: boolean;
|
|
20510
20832
|
auto_invoice_start_date?: string | null;
|
|
20511
20833
|
auto_invoice_trigger_statuses?: string[];
|
|
20834
|
+
auto_send_mode?: string | null;
|
|
20512
20835
|
created_at?: string;
|
|
20513
20836
|
debtor_gl_account?: string;
|
|
20514
20837
|
default_article_code?: string | null;
|
|
@@ -20537,6 +20860,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20537
20860
|
auto_invoice_enabled?: boolean;
|
|
20538
20861
|
auto_invoice_start_date?: string | null;
|
|
20539
20862
|
auto_invoice_trigger_statuses?: string[];
|
|
20863
|
+
auto_send_mode?: string | null;
|
|
20540
20864
|
created_at?: string;
|
|
20541
20865
|
debtor_gl_account?: string;
|
|
20542
20866
|
default_article_code?: string | null;
|
|
@@ -20980,16 +21304,19 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20980
21304
|
Row: {
|
|
20981
21305
|
active_environment: string;
|
|
20982
21306
|
id: number;
|
|
21307
|
+
public_base_url: string | null;
|
|
20983
21308
|
updated_at: string;
|
|
20984
21309
|
};
|
|
20985
21310
|
Insert: {
|
|
20986
21311
|
active_environment?: string;
|
|
20987
21312
|
id?: number;
|
|
21313
|
+
public_base_url?: string | null;
|
|
20988
21314
|
updated_at?: string;
|
|
20989
21315
|
};
|
|
20990
21316
|
Update: {
|
|
20991
21317
|
active_environment?: string;
|
|
20992
21318
|
id?: number;
|
|
21319
|
+
public_base_url?: string | null;
|
|
20993
21320
|
updated_at?: string;
|
|
20994
21321
|
};
|
|
20995
21322
|
Relationships: [];
|
|
@@ -21220,11 +21547,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21220
21547
|
monteur_id: string;
|
|
21221
21548
|
netto_verschil_minuten: number;
|
|
21222
21549
|
normaal_uitbetaald_minuten: number;
|
|
21550
|
+
omgezet_vakantie_minuten: number;
|
|
21551
|
+
overdracht_vorige_minuten: number;
|
|
21223
21552
|
overuren_minuten: number;
|
|
21224
21553
|
plus_minuten: number;
|
|
21554
|
+
rest_overuren_minuten: number;
|
|
21225
21555
|
status: string;
|
|
21226
21556
|
totaal_uitbetaald_minuten: number;
|
|
21227
21557
|
updated_at: string;
|
|
21558
|
+
vakantie_uren_bijgeschreven: number;
|
|
21228
21559
|
};
|
|
21229
21560
|
Insert: {
|
|
21230
21561
|
afgesloten_at?: string | null;
|
|
@@ -21241,11 +21572,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21241
21572
|
monteur_id: string;
|
|
21242
21573
|
netto_verschil_minuten?: number;
|
|
21243
21574
|
normaal_uitbetaald_minuten?: number;
|
|
21575
|
+
omgezet_vakantie_minuten?: number;
|
|
21576
|
+
overdracht_vorige_minuten?: number;
|
|
21244
21577
|
overuren_minuten?: number;
|
|
21245
21578
|
plus_minuten?: number;
|
|
21579
|
+
rest_overuren_minuten?: number;
|
|
21246
21580
|
status?: string;
|
|
21247
21581
|
totaal_uitbetaald_minuten?: number;
|
|
21248
21582
|
updated_at?: string;
|
|
21583
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21249
21584
|
};
|
|
21250
21585
|
Update: {
|
|
21251
21586
|
afgesloten_at?: string | null;
|
|
@@ -21262,11 +21597,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21262
21597
|
monteur_id?: string;
|
|
21263
21598
|
netto_verschil_minuten?: number;
|
|
21264
21599
|
normaal_uitbetaald_minuten?: number;
|
|
21600
|
+
omgezet_vakantie_minuten?: number;
|
|
21601
|
+
overdracht_vorige_minuten?: number;
|
|
21265
21602
|
overuren_minuten?: number;
|
|
21266
21603
|
plus_minuten?: number;
|
|
21604
|
+
rest_overuren_minuten?: number;
|
|
21267
21605
|
status?: string;
|
|
21268
21606
|
totaal_uitbetaald_minuten?: number;
|
|
21269
21607
|
updated_at?: string;
|
|
21608
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21270
21609
|
};
|
|
21271
21610
|
Relationships: [];
|
|
21272
21611
|
};
|
|
@@ -21678,6 +22017,51 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21678
22017
|
referencedColumns: ["id"];
|
|
21679
22018
|
}];
|
|
21680
22019
|
};
|
|
22020
|
+
vakantie_uitbetalingen: {
|
|
22021
|
+
Row: {
|
|
22022
|
+
created_at: string;
|
|
22023
|
+
created_by: string | null;
|
|
22024
|
+
days: number;
|
|
22025
|
+
id: string;
|
|
22026
|
+
note: string | null;
|
|
22027
|
+
updated_at: string;
|
|
22028
|
+
user_id: string;
|
|
22029
|
+
year: number;
|
|
22030
|
+
};
|
|
22031
|
+
Insert: {
|
|
22032
|
+
created_at?: string;
|
|
22033
|
+
created_by?: string | null;
|
|
22034
|
+
days: number;
|
|
22035
|
+
id?: string;
|
|
22036
|
+
note?: string | null;
|
|
22037
|
+
updated_at?: string;
|
|
22038
|
+
user_id: string;
|
|
22039
|
+
year?: number;
|
|
22040
|
+
};
|
|
22041
|
+
Update: {
|
|
22042
|
+
created_at?: string;
|
|
22043
|
+
created_by?: string | null;
|
|
22044
|
+
days?: number;
|
|
22045
|
+
id?: string;
|
|
22046
|
+
note?: string | null;
|
|
22047
|
+
updated_at?: string;
|
|
22048
|
+
user_id?: string;
|
|
22049
|
+
year?: number;
|
|
22050
|
+
};
|
|
22051
|
+
Relationships: [{
|
|
22052
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22053
|
+
columns: ["created_by"];
|
|
22054
|
+
isOneToOne: false;
|
|
22055
|
+
referencedRelation: "profiles";
|
|
22056
|
+
referencedColumns: ["id"];
|
|
22057
|
+
}, {
|
|
22058
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22059
|
+
columns: ["user_id"];
|
|
22060
|
+
isOneToOne: false;
|
|
22061
|
+
referencedRelation: "profiles";
|
|
22062
|
+
referencedColumns: ["id"];
|
|
22063
|
+
}];
|
|
22064
|
+
};
|
|
21681
22065
|
van_inventories: {
|
|
21682
22066
|
Row: {
|
|
21683
22067
|
barcode: string | null;
|
|
@@ -22962,6 +23346,78 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
22962
23346
|
referencedColumns: ["id"];
|
|
22963
23347
|
}];
|
|
22964
23348
|
};
|
|
23349
|
+
werkbon_voorstellen: {
|
|
23350
|
+
Row: {
|
|
23351
|
+
bron_werkbon_id: string;
|
|
23352
|
+
budget_mandate_cents: number;
|
|
23353
|
+
created_at: string;
|
|
23354
|
+
created_by: string;
|
|
23355
|
+
customer_id: string | null;
|
|
23356
|
+
id: string;
|
|
23357
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23358
|
+
reden: string | null;
|
|
23359
|
+
status: string;
|
|
23360
|
+
updated_at: string;
|
|
23361
|
+
verwerkt_door: string | null;
|
|
23362
|
+
verwerkt_op: string | null;
|
|
23363
|
+
werkbon_id: string | null;
|
|
23364
|
+
};
|
|
23365
|
+
Insert: {
|
|
23366
|
+
bron_werkbon_id: string;
|
|
23367
|
+
budget_mandate_cents?: number;
|
|
23368
|
+
created_at?: string;
|
|
23369
|
+
created_by?: string;
|
|
23370
|
+
customer_id?: string | null;
|
|
23371
|
+
id?: string;
|
|
23372
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23373
|
+
reden?: string | null;
|
|
23374
|
+
status?: string;
|
|
23375
|
+
updated_at?: string;
|
|
23376
|
+
verwerkt_door?: string | null;
|
|
23377
|
+
verwerkt_op?: string | null;
|
|
23378
|
+
werkbon_id?: string | null;
|
|
23379
|
+
};
|
|
23380
|
+
Update: {
|
|
23381
|
+
bron_werkbon_id?: string;
|
|
23382
|
+
budget_mandate_cents?: number;
|
|
23383
|
+
created_at?: string;
|
|
23384
|
+
created_by?: string;
|
|
23385
|
+
customer_id?: string | null;
|
|
23386
|
+
id?: string;
|
|
23387
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23388
|
+
reden?: string | null;
|
|
23389
|
+
status?: string;
|
|
23390
|
+
updated_at?: string;
|
|
23391
|
+
verwerkt_door?: string | null;
|
|
23392
|
+
verwerkt_op?: string | null;
|
|
23393
|
+
werkbon_id?: string | null;
|
|
23394
|
+
};
|
|
23395
|
+
Relationships: [{
|
|
23396
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23397
|
+
columns: ["bron_werkbon_id"];
|
|
23398
|
+
isOneToOne: false;
|
|
23399
|
+
referencedRelation: "werkbonnen";
|
|
23400
|
+
referencedColumns: ["id"];
|
|
23401
|
+
}, {
|
|
23402
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23403
|
+
columns: ["bron_werkbon_id"];
|
|
23404
|
+
isOneToOne: false;
|
|
23405
|
+
referencedRelation: "wo_overview";
|
|
23406
|
+
referencedColumns: ["id"];
|
|
23407
|
+
}, {
|
|
23408
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23409
|
+
columns: ["werkbon_id"];
|
|
23410
|
+
isOneToOne: false;
|
|
23411
|
+
referencedRelation: "werkbonnen";
|
|
23412
|
+
referencedColumns: ["id"];
|
|
23413
|
+
}, {
|
|
23414
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23415
|
+
columns: ["werkbon_id"];
|
|
23416
|
+
isOneToOne: false;
|
|
23417
|
+
referencedRelation: "wo_overview";
|
|
23418
|
+
referencedColumns: ["id"];
|
|
23419
|
+
}];
|
|
23420
|
+
};
|
|
22965
23421
|
werkbonnen: {
|
|
22966
23422
|
Row: {
|
|
22967
23423
|
assigned_user_id: string | null;
|
|
@@ -24202,6 +24658,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24202
24658
|
};
|
|
24203
24659
|
Returns: undefined;
|
|
24204
24660
|
};
|
|
24661
|
+
_wo_is_planner: {
|
|
24662
|
+
Args: never;
|
|
24663
|
+
Returns: boolean;
|
|
24664
|
+
};
|
|
24205
24665
|
afh_city_code: {
|
|
24206
24666
|
Args: {
|
|
24207
24667
|
_city: string;
|
|
@@ -25314,6 +25774,22 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25314
25774
|
};
|
|
25315
25775
|
Returns: number;
|
|
25316
25776
|
};
|
|
25777
|
+
get_product_stock: {
|
|
25778
|
+
Args: {
|
|
25779
|
+
p_product_id: string;
|
|
25780
|
+
};
|
|
25781
|
+
Returns: {
|
|
25782
|
+
connection_id: string;
|
|
25783
|
+
incoming_stock: number;
|
|
25784
|
+
minimum_stock: number;
|
|
25785
|
+
notes: string;
|
|
25786
|
+
physical_stock: number;
|
|
25787
|
+
product_id: string;
|
|
25788
|
+
reserved_stock: number;
|
|
25789
|
+
trade_item_key: string;
|
|
25790
|
+
updated_at: string;
|
|
25791
|
+
}[];
|
|
25792
|
+
};
|
|
25317
25793
|
get_room_busy_windows: {
|
|
25318
25794
|
Args: {
|
|
25319
25795
|
p_from: string;
|
|
@@ -25618,13 +26094,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25618
26094
|
};
|
|
25619
26095
|
Returns: import("../integrations/supabase/types").Json;
|
|
25620
26096
|
};
|
|
26097
|
+
inkoop_get_supplier_request: {
|
|
26098
|
+
Args: {
|
|
26099
|
+
_token: string;
|
|
26100
|
+
};
|
|
26101
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26102
|
+
};
|
|
26103
|
+
inkoop_hash_token: {
|
|
26104
|
+
Args: {
|
|
26105
|
+
_token: string;
|
|
26106
|
+
};
|
|
26107
|
+
Returns: string;
|
|
26108
|
+
};
|
|
26109
|
+
inkoop_html_escape: {
|
|
26110
|
+
Args: {
|
|
26111
|
+
_t: string;
|
|
26112
|
+
};
|
|
26113
|
+
Returns: string;
|
|
26114
|
+
};
|
|
26115
|
+
inkoop_list_artikelen: {
|
|
26116
|
+
Args: never;
|
|
26117
|
+
Returns: {
|
|
26118
|
+
article_number: string;
|
|
26119
|
+
barcode: string;
|
|
26120
|
+
id: string;
|
|
26121
|
+
incoming_quantity: number;
|
|
26122
|
+
is_layer: boolean;
|
|
26123
|
+
location: string;
|
|
26124
|
+
min_quantity: number;
|
|
26125
|
+
preferred_supplier_name: string;
|
|
26126
|
+
product: string;
|
|
26127
|
+
product_type: string;
|
|
26128
|
+
purchase_price: number;
|
|
26129
|
+
quantity: number;
|
|
26130
|
+
sale_price: number;
|
|
26131
|
+
supplier_count: number;
|
|
26132
|
+
unit: string;
|
|
26133
|
+
}[];
|
|
26134
|
+
};
|
|
25621
26135
|
inkoop_next_order_number: {
|
|
25622
26136
|
Args: never;
|
|
25623
26137
|
Returns: string;
|
|
25624
26138
|
};
|
|
26139
|
+
inkoop_process_request: {
|
|
26140
|
+
Args: {
|
|
26141
|
+
_request_id: string;
|
|
26142
|
+
};
|
|
26143
|
+
Returns: undefined;
|
|
26144
|
+
};
|
|
25625
26145
|
inkoop_send_order: {
|
|
25626
26146
|
Args: {
|
|
26147
|
+
_base_url?: string;
|
|
26148
|
+
_order_id: string;
|
|
26149
|
+
};
|
|
26150
|
+
Returns: {
|
|
26151
|
+
outbox_id: string;
|
|
26152
|
+
supplier_name: string;
|
|
26153
|
+
to_address: string;
|
|
26154
|
+
}[];
|
|
26155
|
+
} | {
|
|
26156
|
+
Args: {
|
|
26157
|
+
_base_url?: string;
|
|
25627
26158
|
_order_id: string;
|
|
26159
|
+
_resend?: boolean;
|
|
25628
26160
|
};
|
|
25629
26161
|
Returns: {
|
|
25630
26162
|
outbox_id: string;
|
|
@@ -25632,6 +26164,33 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25632
26164
|
to_address: string;
|
|
25633
26165
|
}[];
|
|
25634
26166
|
};
|
|
26167
|
+
inkoop_set_preferred_supplier: {
|
|
26168
|
+
Args: {
|
|
26169
|
+
_product_id: string;
|
|
26170
|
+
_supplier_id: string;
|
|
26171
|
+
};
|
|
26172
|
+
Returns: undefined;
|
|
26173
|
+
};
|
|
26174
|
+
inkoop_stock_key: {
|
|
26175
|
+
Args: {
|
|
26176
|
+
p_product_id: string;
|
|
26177
|
+
};
|
|
26178
|
+
Returns: string;
|
|
26179
|
+
};
|
|
26180
|
+
inkoop_submit_supplier_response: {
|
|
26181
|
+
Args: {
|
|
26182
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26183
|
+
_note?: string;
|
|
26184
|
+
_token: string;
|
|
26185
|
+
};
|
|
26186
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26187
|
+
};
|
|
26188
|
+
inkoop_sync_item_stock: {
|
|
26189
|
+
Args: {
|
|
26190
|
+
p_item_id: string;
|
|
26191
|
+
};
|
|
26192
|
+
Returns: undefined;
|
|
26193
|
+
};
|
|
25635
26194
|
instructie_get: {
|
|
25636
26195
|
Args: {
|
|
25637
26196
|
_sleutel: string;
|
|
@@ -25651,6 +26210,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25651
26210
|
};
|
|
25652
26211
|
Returns: number;
|
|
25653
26212
|
};
|
|
26213
|
+
invoice_branding_snapshot: {
|
|
26214
|
+
Args: never;
|
|
26215
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26216
|
+
};
|
|
25654
26217
|
invoice_create_from_source: {
|
|
25655
26218
|
Args: {
|
|
25656
26219
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25685,6 +26248,17 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25685
26248
|
};
|
|
25686
26249
|
Returns: import("../integrations/supabase/types").Json;
|
|
25687
26250
|
};
|
|
26251
|
+
invoice_mark_sent: {
|
|
26252
|
+
Args: {
|
|
26253
|
+
_invoice_id: string;
|
|
26254
|
+
_to: string;
|
|
26255
|
+
};
|
|
26256
|
+
Returns: undefined;
|
|
26257
|
+
};
|
|
26258
|
+
invoice_peek_next_number: {
|
|
26259
|
+
Args: never;
|
|
26260
|
+
Returns: string;
|
|
26261
|
+
};
|
|
25688
26262
|
invoice_ready_work_orders: {
|
|
25689
26263
|
Args: {
|
|
25690
26264
|
_limit?: number;
|
|
@@ -25697,6 +26271,18 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25697
26271
|
};
|
|
25698
26272
|
Returns: import("../integrations/supabase/types").Json;
|
|
25699
26273
|
};
|
|
26274
|
+
invoice_save_branding_settings: {
|
|
26275
|
+
Args: {
|
|
26276
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26277
|
+
};
|
|
26278
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26279
|
+
};
|
|
26280
|
+
invoice_set_email_purpose: {
|
|
26281
|
+
Args: {
|
|
26282
|
+
_purpose: string;
|
|
26283
|
+
};
|
|
26284
|
+
Returns: string;
|
|
26285
|
+
};
|
|
25700
26286
|
invoice_source_lines: {
|
|
25701
26287
|
Args: {
|
|
25702
26288
|
_source_id: string;
|
|
@@ -25704,6 +26290,19 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25704
26290
|
};
|
|
25705
26291
|
Returns: import("../integrations/supabase/types").Json;
|
|
25706
26292
|
};
|
|
26293
|
+
invoice_update_full: {
|
|
26294
|
+
Args: {
|
|
26295
|
+
_invoice_id: string;
|
|
26296
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26297
|
+
};
|
|
26298
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26299
|
+
};
|
|
26300
|
+
invoice_work_order_locked: {
|
|
26301
|
+
Args: {
|
|
26302
|
+
_werkbon_id: string;
|
|
26303
|
+
};
|
|
26304
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26305
|
+
};
|
|
25707
26306
|
is_authenticated: {
|
|
25708
26307
|
Args: never;
|
|
25709
26308
|
Returns: boolean;
|
|
@@ -26863,6 +27462,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
26863
27462
|
Args: never;
|
|
26864
27463
|
Returns: string;
|
|
26865
27464
|
};
|
|
27465
|
+
logistics_order_backlog_info: {
|
|
27466
|
+
Args: {
|
|
27467
|
+
p_order_id: string;
|
|
27468
|
+
};
|
|
27469
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27470
|
+
};
|
|
26866
27471
|
logistics_order_cart_approval: {
|
|
26867
27472
|
Args: {
|
|
26868
27473
|
_order_ref: string;
|
|
@@ -26953,6 +27558,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
26953
27558
|
};
|
|
26954
27559
|
Returns: boolean;
|
|
26955
27560
|
};
|
|
27561
|
+
logistics_order_is_backlog: {
|
|
27562
|
+
Args: {
|
|
27563
|
+
p_order_id: string;
|
|
27564
|
+
};
|
|
27565
|
+
Returns: boolean;
|
|
27566
|
+
};
|
|
26956
27567
|
logistics_order_is_topick: {
|
|
26957
27568
|
Args: {
|
|
26958
27569
|
p_order_id: string;
|
|
@@ -27094,6 +27705,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
27094
27705
|
shifted_count: number;
|
|
27095
27706
|
}[];
|
|
27096
27707
|
};
|
|
27708
|
+
logistics_pick_backlog_max_days: {
|
|
27709
|
+
Args: never;
|
|
27710
|
+
Returns: number;
|
|
27711
|
+
};
|
|
27097
27712
|
logistics_pick_barcode_enabled: {
|
|
27098
27713
|
Args: never;
|
|
27099
27714
|
Returns: boolean;
|
|
@@ -27709,12 +28324,27 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
27709
28324
|
Args: never;
|
|
27710
28325
|
Returns: import("../integrations/supabase/types").Json;
|
|
27711
28326
|
};
|
|
28327
|
+
logistics_sync_pick_queue_backlog: {
|
|
28328
|
+
Args: never;
|
|
28329
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28330
|
+
};
|
|
28331
|
+
logistics_sync_pick_queue_core: {
|
|
28332
|
+
Args: never;
|
|
28333
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28334
|
+
};
|
|
27712
28335
|
logistics_sync_task_carriers: {
|
|
27713
28336
|
Args: {
|
|
27714
28337
|
p_order_ref?: string;
|
|
27715
28338
|
};
|
|
27716
28339
|
Returns: number;
|
|
27717
28340
|
};
|
|
28341
|
+
logistics_task_open_counts: {
|
|
28342
|
+
Args: never;
|
|
28343
|
+
Returns: {
|
|
28344
|
+
open_count: number;
|
|
28345
|
+
owner_module: string;
|
|
28346
|
+
}[];
|
|
28347
|
+
};
|
|
27718
28348
|
logistics_task_owner: {
|
|
27719
28349
|
Args: {
|
|
27720
28350
|
p_task_type: string;
|
|
@@ -29003,6 +29633,19 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
29003
29633
|
};
|
|
29004
29634
|
Returns: boolean;
|
|
29005
29635
|
};
|
|
29636
|
+
quote_assign_number: {
|
|
29637
|
+
Args: {
|
|
29638
|
+
_offerte_id: string;
|
|
29639
|
+
};
|
|
29640
|
+
Returns: string;
|
|
29641
|
+
};
|
|
29642
|
+
quote_create_follow_up_now: {
|
|
29643
|
+
Args: {
|
|
29644
|
+
_offerte_id: string;
|
|
29645
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29646
|
+
};
|
|
29647
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29648
|
+
};
|
|
29006
29649
|
quote_create_from_source: {
|
|
29007
29650
|
Args: {
|
|
29008
29651
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29716,6 +30359,26 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
29716
30359
|
};
|
|
29717
30360
|
Returns: undefined;
|
|
29718
30361
|
};
|
|
30362
|
+
set_product_stock: {
|
|
30363
|
+
Args: {
|
|
30364
|
+
p_incoming_stock?: number;
|
|
30365
|
+
p_minimum_stock?: number;
|
|
30366
|
+
p_notes?: string;
|
|
30367
|
+
p_physical_stock: number;
|
|
30368
|
+
p_product_id: string;
|
|
30369
|
+
};
|
|
30370
|
+
Returns: {
|
|
30371
|
+
connection_id: string;
|
|
30372
|
+
incoming_stock: number;
|
|
30373
|
+
minimum_stock: number;
|
|
30374
|
+
notes: string;
|
|
30375
|
+
physical_stock: number;
|
|
30376
|
+
product_id: string;
|
|
30377
|
+
reserved_stock: number;
|
|
30378
|
+
trade_item_key: string;
|
|
30379
|
+
updated_at: string;
|
|
30380
|
+
}[];
|
|
30381
|
+
};
|
|
29719
30382
|
show_limit: {
|
|
29720
30383
|
Args: never;
|
|
29721
30384
|
Returns: number;
|
|
@@ -30240,6 +30903,13 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30240
30903
|
};
|
|
30241
30904
|
Returns: number;
|
|
30242
30905
|
};
|
|
30906
|
+
vakantie_overuren: {
|
|
30907
|
+
Args: {
|
|
30908
|
+
_user_id: string;
|
|
30909
|
+
_year?: number;
|
|
30910
|
+
};
|
|
30911
|
+
Returns: number;
|
|
30912
|
+
};
|
|
30243
30913
|
vakantie_saldo: {
|
|
30244
30914
|
Args: {
|
|
30245
30915
|
_user_id: string;
|
|
@@ -30247,7 +30917,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30247
30917
|
};
|
|
30248
30918
|
Returns: {
|
|
30249
30919
|
day_hours: number;
|
|
30920
|
+
earned_from_overtime_days: number;
|
|
30250
30921
|
entitlement_days: number;
|
|
30922
|
+
hours_to_next_day: number;
|
|
30923
|
+
overtime_hours: number;
|
|
30924
|
+
overtime_remainder_hours: number;
|
|
30925
|
+
paid_out_days: number;
|
|
30251
30926
|
remaining_days: number;
|
|
30252
30927
|
used_days: number;
|
|
30253
30928
|
}[];
|
|
@@ -30258,7 +30933,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30258
30933
|
};
|
|
30259
30934
|
Returns: {
|
|
30260
30935
|
day_hours: number;
|
|
30936
|
+
earned_from_overtime_days: number;
|
|
30261
30937
|
entitlement_days: number;
|
|
30938
|
+
hours_to_next_day: number;
|
|
30939
|
+
overtime_hours: number;
|
|
30940
|
+
overtime_remainder_hours: number;
|
|
30941
|
+
paid_out_days: number;
|
|
30262
30942
|
remaining_days: number;
|
|
30263
30943
|
used_days: number;
|
|
30264
30944
|
user_id: string;
|
|
@@ -30312,12 +30992,25 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30312
30992
|
};
|
|
30313
30993
|
Returns: import("../integrations/supabase/types").Json;
|
|
30314
30994
|
};
|
|
30995
|
+
wo_list_proposals: {
|
|
30996
|
+
Args: {
|
|
30997
|
+
_status?: string;
|
|
30998
|
+
};
|
|
30999
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31000
|
+
};
|
|
30315
31001
|
wo_process_offerte_request: {
|
|
30316
31002
|
Args: {
|
|
30317
31003
|
_queue_id: string;
|
|
30318
31004
|
};
|
|
30319
31005
|
Returns: import("../integrations/supabase/types").Json;
|
|
30320
31006
|
};
|
|
31007
|
+
wo_process_proposal: {
|
|
31008
|
+
Args: {
|
|
31009
|
+
_id: string;
|
|
31010
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
31011
|
+
};
|
|
31012
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31013
|
+
};
|
|
30321
31014
|
wo_reject_offerte_request: {
|
|
30322
31015
|
Args: {
|
|
30323
31016
|
_queue_id: string;
|
|
@@ -30325,6 +31018,13 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30325
31018
|
};
|
|
30326
31019
|
Returns: import("../integrations/supabase/types").Json;
|
|
30327
31020
|
};
|
|
31021
|
+
wo_reject_proposal: {
|
|
31022
|
+
Args: {
|
|
31023
|
+
_id: string;
|
|
31024
|
+
_reden?: string;
|
|
31025
|
+
};
|
|
31026
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31027
|
+
};
|
|
30328
31028
|
wo_set_status: {
|
|
30329
31029
|
Args: {
|
|
30330
31030
|
_reason?: string;
|
|
@@ -38626,6 +39326,72 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38626
39326
|
};
|
|
38627
39327
|
Relationships: [];
|
|
38628
39328
|
};
|
|
39329
|
+
invoice_branding_settings: {
|
|
39330
|
+
Row: {
|
|
39331
|
+
address: string;
|
|
39332
|
+
chamber_of_commerce_number: string;
|
|
39333
|
+
city: string;
|
|
39334
|
+
company_name: string;
|
|
39335
|
+
created_at: string;
|
|
39336
|
+
email: string;
|
|
39337
|
+
email_purpose: string | null;
|
|
39338
|
+
iban: string;
|
|
39339
|
+
logo_path: string | null;
|
|
39340
|
+
payment_term_days: number;
|
|
39341
|
+
phone: string;
|
|
39342
|
+
postal_code: string;
|
|
39343
|
+
primary_color: string;
|
|
39344
|
+
secondary_color: string;
|
|
39345
|
+
show_company_name: boolean;
|
|
39346
|
+
singleton_key: boolean;
|
|
39347
|
+
updated_at: string;
|
|
39348
|
+
vat_identification_number: string;
|
|
39349
|
+
website: string;
|
|
39350
|
+
};
|
|
39351
|
+
Insert: {
|
|
39352
|
+
address?: string;
|
|
39353
|
+
chamber_of_commerce_number?: string;
|
|
39354
|
+
city?: string;
|
|
39355
|
+
company_name?: string;
|
|
39356
|
+
created_at?: string;
|
|
39357
|
+
email?: string;
|
|
39358
|
+
email_purpose?: string | null;
|
|
39359
|
+
iban?: string;
|
|
39360
|
+
logo_path?: string | null;
|
|
39361
|
+
payment_term_days?: number;
|
|
39362
|
+
phone?: string;
|
|
39363
|
+
postal_code?: string;
|
|
39364
|
+
primary_color?: string;
|
|
39365
|
+
secondary_color?: string;
|
|
39366
|
+
show_company_name?: boolean;
|
|
39367
|
+
singleton_key?: boolean;
|
|
39368
|
+
updated_at?: string;
|
|
39369
|
+
vat_identification_number?: string;
|
|
39370
|
+
website?: string;
|
|
39371
|
+
};
|
|
39372
|
+
Update: {
|
|
39373
|
+
address?: string;
|
|
39374
|
+
chamber_of_commerce_number?: string;
|
|
39375
|
+
city?: string;
|
|
39376
|
+
company_name?: string;
|
|
39377
|
+
created_at?: string;
|
|
39378
|
+
email?: string;
|
|
39379
|
+
email_purpose?: string | null;
|
|
39380
|
+
iban?: string;
|
|
39381
|
+
logo_path?: string | null;
|
|
39382
|
+
payment_term_days?: number;
|
|
39383
|
+
phone?: string;
|
|
39384
|
+
postal_code?: string;
|
|
39385
|
+
primary_color?: string;
|
|
39386
|
+
secondary_color?: string;
|
|
39387
|
+
show_company_name?: boolean;
|
|
39388
|
+
singleton_key?: boolean;
|
|
39389
|
+
updated_at?: string;
|
|
39390
|
+
vat_identification_number?: string;
|
|
39391
|
+
website?: string;
|
|
39392
|
+
};
|
|
39393
|
+
Relationships: [];
|
|
39394
|
+
};
|
|
38629
39395
|
invoice_items: {
|
|
38630
39396
|
Row: {
|
|
38631
39397
|
created_at: string;
|
|
@@ -38639,6 +39405,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38639
39405
|
total_cents: number;
|
|
38640
39406
|
unit: string;
|
|
38641
39407
|
unit_price_cents: number;
|
|
39408
|
+
vat_rate: number | null;
|
|
38642
39409
|
};
|
|
38643
39410
|
Insert: {
|
|
38644
39411
|
created_at?: string;
|
|
@@ -38652,6 +39419,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38652
39419
|
total_cents?: number;
|
|
38653
39420
|
unit?: string;
|
|
38654
39421
|
unit_price_cents?: number;
|
|
39422
|
+
vat_rate?: number | null;
|
|
38655
39423
|
};
|
|
38656
39424
|
Update: {
|
|
38657
39425
|
created_at?: string;
|
|
@@ -38665,6 +39433,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38665
39433
|
total_cents?: number;
|
|
38666
39434
|
unit?: string;
|
|
38667
39435
|
unit_price_cents?: number;
|
|
39436
|
+
vat_rate?: number | null;
|
|
38668
39437
|
};
|
|
38669
39438
|
Relationships: [{
|
|
38670
39439
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -38910,6 +39679,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38910
39679
|
};
|
|
38911
39680
|
invoices: {
|
|
38912
39681
|
Row: {
|
|
39682
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
38913
39683
|
created_at: string;
|
|
38914
39684
|
created_by: string | null;
|
|
38915
39685
|
customer_address: string | null;
|
|
@@ -38928,6 +39698,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38928
39698
|
note: string | null;
|
|
38929
39699
|
payment_term_days: number;
|
|
38930
39700
|
reference: string | null;
|
|
39701
|
+
sent_at: string | null;
|
|
39702
|
+
sent_to: string | null;
|
|
38931
39703
|
source_number: string | null;
|
|
38932
39704
|
source_ref: string | null;
|
|
38933
39705
|
source_type: string;
|
|
@@ -38940,6 +39712,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38940
39712
|
work_address: string | null;
|
|
38941
39713
|
};
|
|
38942
39714
|
Insert: {
|
|
39715
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38943
39716
|
created_at?: string;
|
|
38944
39717
|
created_by?: string | null;
|
|
38945
39718
|
customer_address?: string | null;
|
|
@@ -38958,6 +39731,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38958
39731
|
note?: string | null;
|
|
38959
39732
|
payment_term_days?: number;
|
|
38960
39733
|
reference?: string | null;
|
|
39734
|
+
sent_at?: string | null;
|
|
39735
|
+
sent_to?: string | null;
|
|
38961
39736
|
source_number?: string | null;
|
|
38962
39737
|
source_ref?: string | null;
|
|
38963
39738
|
source_type?: string;
|
|
@@ -38970,6 +39745,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38970
39745
|
work_address?: string | null;
|
|
38971
39746
|
};
|
|
38972
39747
|
Update: {
|
|
39748
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38973
39749
|
created_at?: string;
|
|
38974
39750
|
created_by?: string | null;
|
|
38975
39751
|
customer_address?: string | null;
|
|
@@ -38988,6 +39764,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38988
39764
|
note?: string | null;
|
|
38989
39765
|
payment_term_days?: number;
|
|
38990
39766
|
reference?: string | null;
|
|
39767
|
+
sent_at?: string | null;
|
|
39768
|
+
sent_to?: string | null;
|
|
38991
39769
|
source_number?: string | null;
|
|
38992
39770
|
source_ref?: string | null;
|
|
38993
39771
|
source_type?: string;
|
|
@@ -39696,6 +40474,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39696
40474
|
quantity: number;
|
|
39697
40475
|
sort_order: number;
|
|
39698
40476
|
source: string;
|
|
40477
|
+
unit: string | null;
|
|
39699
40478
|
unit_price_cents: number;
|
|
39700
40479
|
updated_at: string;
|
|
39701
40480
|
};
|
|
@@ -39709,6 +40488,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39709
40488
|
quantity?: number;
|
|
39710
40489
|
sort_order?: number;
|
|
39711
40490
|
source?: string;
|
|
40491
|
+
unit?: string | null;
|
|
39712
40492
|
unit_price_cents?: number;
|
|
39713
40493
|
updated_at?: string;
|
|
39714
40494
|
};
|
|
@@ -39722,6 +40502,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39722
40502
|
quantity?: number;
|
|
39723
40503
|
sort_order?: number;
|
|
39724
40504
|
source?: string;
|
|
40505
|
+
unit?: string | null;
|
|
39725
40506
|
unit_price_cents?: number;
|
|
39726
40507
|
updated_at?: string;
|
|
39727
40508
|
};
|
|
@@ -39745,6 +40526,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39745
40526
|
created_at: string;
|
|
39746
40527
|
default_geldigheid_dagen: number;
|
|
39747
40528
|
default_vat_rate: number;
|
|
40529
|
+
email_purpose: string | null;
|
|
39748
40530
|
id: string;
|
|
39749
40531
|
singleton: boolean;
|
|
39750
40532
|
updated_at: string;
|
|
@@ -39754,6 +40536,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39754
40536
|
created_at?: string;
|
|
39755
40537
|
default_geldigheid_dagen?: number;
|
|
39756
40538
|
default_vat_rate?: number;
|
|
40539
|
+
email_purpose?: string | null;
|
|
39757
40540
|
id?: string;
|
|
39758
40541
|
singleton?: boolean;
|
|
39759
40542
|
updated_at?: string;
|
|
@@ -39763,6 +40546,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39763
40546
|
created_at?: string;
|
|
39764
40547
|
default_geldigheid_dagen?: number;
|
|
39765
40548
|
default_vat_rate?: number;
|
|
40549
|
+
email_purpose?: string | null;
|
|
39766
40550
|
id?: string;
|
|
39767
40551
|
singleton?: boolean;
|
|
39768
40552
|
updated_at?: string;
|
|
@@ -39855,6 +40639,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39855
40639
|
};
|
|
39856
40640
|
itk_offertes: {
|
|
39857
40641
|
Row: {
|
|
40642
|
+
aandachtspunten: string | null;
|
|
39858
40643
|
ai_generated: boolean;
|
|
39859
40644
|
approved_at: string | null;
|
|
39860
40645
|
binnen_mandaat: boolean;
|
|
@@ -39870,6 +40655,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39870
40655
|
notities: string | null;
|
|
39871
40656
|
offerte_number: string | null;
|
|
39872
40657
|
omschrijving: string;
|
|
40658
|
+
onderwerp: string | null;
|
|
39873
40659
|
rejected_at: string | null;
|
|
39874
40660
|
sent_at: string | null;
|
|
39875
40661
|
source_number: string | null;
|
|
@@ -39882,12 +40668,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39882
40668
|
valid_until: string | null;
|
|
39883
40669
|
vat_cents: number;
|
|
39884
40670
|
vat_rate: number;
|
|
40671
|
+
verzonden_naar: string | null;
|
|
39885
40672
|
viewed_at: string | null;
|
|
39886
40673
|
volgnummer: number | null;
|
|
40674
|
+
voorwaarden: string | null;
|
|
39887
40675
|
werkbon_id: string | null;
|
|
39888
40676
|
work_location_id: string | null;
|
|
39889
40677
|
};
|
|
39890
40678
|
Insert: {
|
|
40679
|
+
aandachtspunten?: string | null;
|
|
39891
40680
|
ai_generated?: boolean;
|
|
39892
40681
|
approved_at?: string | null;
|
|
39893
40682
|
binnen_mandaat?: boolean;
|
|
@@ -39903,6 +40692,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39903
40692
|
notities?: string | null;
|
|
39904
40693
|
offerte_number?: string | null;
|
|
39905
40694
|
omschrijving?: string;
|
|
40695
|
+
onderwerp?: string | null;
|
|
39906
40696
|
rejected_at?: string | null;
|
|
39907
40697
|
sent_at?: string | null;
|
|
39908
40698
|
source_number?: string | null;
|
|
@@ -39915,12 +40705,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39915
40705
|
valid_until?: string | null;
|
|
39916
40706
|
vat_cents?: number;
|
|
39917
40707
|
vat_rate?: number;
|
|
40708
|
+
verzonden_naar?: string | null;
|
|
39918
40709
|
viewed_at?: string | null;
|
|
39919
40710
|
volgnummer?: number | null;
|
|
40711
|
+
voorwaarden?: string | null;
|
|
39920
40712
|
werkbon_id?: string | null;
|
|
39921
40713
|
work_location_id?: string | null;
|
|
39922
40714
|
};
|
|
39923
40715
|
Update: {
|
|
40716
|
+
aandachtspunten?: string | null;
|
|
39924
40717
|
ai_generated?: boolean;
|
|
39925
40718
|
approved_at?: string | null;
|
|
39926
40719
|
binnen_mandaat?: boolean;
|
|
@@ -39936,6 +40729,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39936
40729
|
notities?: string | null;
|
|
39937
40730
|
offerte_number?: string | null;
|
|
39938
40731
|
omschrijving?: string;
|
|
40732
|
+
onderwerp?: string | null;
|
|
39939
40733
|
rejected_at?: string | null;
|
|
39940
40734
|
sent_at?: string | null;
|
|
39941
40735
|
source_number?: string | null;
|
|
@@ -39948,8 +40742,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39948
40742
|
valid_until?: string | null;
|
|
39949
40743
|
vat_cents?: number;
|
|
39950
40744
|
vat_rate?: number;
|
|
40745
|
+
verzonden_naar?: string | null;
|
|
39951
40746
|
viewed_at?: string | null;
|
|
39952
40747
|
volgnummer?: number | null;
|
|
40748
|
+
voorwaarden?: string | null;
|
|
39953
40749
|
werkbon_id?: string | null;
|
|
39954
40750
|
work_location_id?: string | null;
|
|
39955
40751
|
};
|
|
@@ -44961,6 +45757,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
44961
45757
|
next_attempt_at: string;
|
|
44962
45758
|
order_id: string;
|
|
44963
45759
|
processed_at: string | null;
|
|
45760
|
+
send_error: string | null;
|
|
44964
45761
|
status: string;
|
|
44965
45762
|
updated_at: string;
|
|
44966
45763
|
};
|
|
@@ -44974,6 +45771,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
44974
45771
|
next_attempt_at?: string;
|
|
44975
45772
|
order_id: string;
|
|
44976
45773
|
processed_at?: string | null;
|
|
45774
|
+
send_error?: string | null;
|
|
44977
45775
|
status?: string;
|
|
44978
45776
|
updated_at?: string;
|
|
44979
45777
|
};
|
|
@@ -44987,6 +45785,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
44987
45785
|
next_attempt_at?: string;
|
|
44988
45786
|
order_id?: string;
|
|
44989
45787
|
processed_at?: string | null;
|
|
45788
|
+
send_error?: string | null;
|
|
44990
45789
|
status?: string;
|
|
44991
45790
|
updated_at?: string;
|
|
44992
45791
|
};
|
|
@@ -48016,6 +48815,66 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48016
48815
|
};
|
|
48017
48816
|
Relationships: [];
|
|
48018
48817
|
};
|
|
48818
|
+
product_suppliers: {
|
|
48819
|
+
Row: {
|
|
48820
|
+
created_at: string;
|
|
48821
|
+
id: string;
|
|
48822
|
+
is_preferred: boolean;
|
|
48823
|
+
lead_time_days: number | null;
|
|
48824
|
+
min_order_quantity: number | null;
|
|
48825
|
+
notes: string | null;
|
|
48826
|
+
product_id: string;
|
|
48827
|
+
purchase_price_cents: number | null;
|
|
48828
|
+
supplier_article_number: string | null;
|
|
48829
|
+
supplier_id: string;
|
|
48830
|
+
updated_at: string;
|
|
48831
|
+
};
|
|
48832
|
+
Insert: {
|
|
48833
|
+
created_at?: string;
|
|
48834
|
+
id?: string;
|
|
48835
|
+
is_preferred?: boolean;
|
|
48836
|
+
lead_time_days?: number | null;
|
|
48837
|
+
min_order_quantity?: number | null;
|
|
48838
|
+
notes?: string | null;
|
|
48839
|
+
product_id: string;
|
|
48840
|
+
purchase_price_cents?: number | null;
|
|
48841
|
+
supplier_article_number?: string | null;
|
|
48842
|
+
supplier_id: string;
|
|
48843
|
+
updated_at?: string;
|
|
48844
|
+
};
|
|
48845
|
+
Update: {
|
|
48846
|
+
created_at?: string;
|
|
48847
|
+
id?: string;
|
|
48848
|
+
is_preferred?: boolean;
|
|
48849
|
+
lead_time_days?: number | null;
|
|
48850
|
+
min_order_quantity?: number | null;
|
|
48851
|
+
notes?: string | null;
|
|
48852
|
+
product_id?: string;
|
|
48853
|
+
purchase_price_cents?: number | null;
|
|
48854
|
+
supplier_article_number?: string | null;
|
|
48855
|
+
supplier_id?: string;
|
|
48856
|
+
updated_at?: string;
|
|
48857
|
+
};
|
|
48858
|
+
Relationships: [{
|
|
48859
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48860
|
+
columns: ["product_id"];
|
|
48861
|
+
isOneToOne: false;
|
|
48862
|
+
referencedRelation: "logistics_product_dimensions";
|
|
48863
|
+
referencedColumns: ["product_id"];
|
|
48864
|
+
}, {
|
|
48865
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48866
|
+
columns: ["product_id"];
|
|
48867
|
+
isOneToOne: false;
|
|
48868
|
+
referencedRelation: "products";
|
|
48869
|
+
referencedColumns: ["id"];
|
|
48870
|
+
}, {
|
|
48871
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
48872
|
+
columns: ["supplier_id"];
|
|
48873
|
+
isOneToOne: false;
|
|
48874
|
+
referencedRelation: "suppliers";
|
|
48875
|
+
referencedColumns: ["id"];
|
|
48876
|
+
}];
|
|
48877
|
+
};
|
|
48019
48878
|
product_tray_stickers: {
|
|
48020
48879
|
Row: {
|
|
48021
48880
|
bestand_url: string;
|
|
@@ -48520,9 +49379,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48520
49379
|
purchase_order_items: {
|
|
48521
49380
|
Row: {
|
|
48522
49381
|
article_number: string | null;
|
|
49382
|
+
cancelled_at: string | null;
|
|
48523
49383
|
created_at: string;
|
|
48524
49384
|
delivery_date: string | null;
|
|
48525
49385
|
id: string;
|
|
49386
|
+
incoming_booked: number;
|
|
49387
|
+
line_status: string;
|
|
48526
49388
|
name: string;
|
|
48527
49389
|
note: string | null;
|
|
48528
49390
|
pot_size: string | null;
|
|
@@ -48530,6 +49392,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48530
49392
|
product_type: string;
|
|
48531
49393
|
purchase_order_id: string;
|
|
48532
49394
|
quantity: number;
|
|
49395
|
+
received_at: string | null;
|
|
49396
|
+
received_booked: number;
|
|
48533
49397
|
supplier_id: string | null;
|
|
48534
49398
|
supplier_product_id: string | null;
|
|
48535
49399
|
unit_price_cents: number;
|
|
@@ -48537,9 +49401,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48537
49401
|
};
|
|
48538
49402
|
Insert: {
|
|
48539
49403
|
article_number?: string | null;
|
|
49404
|
+
cancelled_at?: string | null;
|
|
48540
49405
|
created_at?: string;
|
|
48541
49406
|
delivery_date?: string | null;
|
|
48542
49407
|
id?: string;
|
|
49408
|
+
incoming_booked?: number;
|
|
49409
|
+
line_status?: string;
|
|
48543
49410
|
name?: string;
|
|
48544
49411
|
note?: string | null;
|
|
48545
49412
|
pot_size?: string | null;
|
|
@@ -48547,6 +49414,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48547
49414
|
product_type?: string;
|
|
48548
49415
|
purchase_order_id: string;
|
|
48549
49416
|
quantity?: number;
|
|
49417
|
+
received_at?: string | null;
|
|
49418
|
+
received_booked?: number;
|
|
48550
49419
|
supplier_id?: string | null;
|
|
48551
49420
|
supplier_product_id?: string | null;
|
|
48552
49421
|
unit_price_cents?: number;
|
|
@@ -48554,9 +49423,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48554
49423
|
};
|
|
48555
49424
|
Update: {
|
|
48556
49425
|
article_number?: string | null;
|
|
49426
|
+
cancelled_at?: string | null;
|
|
48557
49427
|
created_at?: string;
|
|
48558
49428
|
delivery_date?: string | null;
|
|
48559
49429
|
id?: string;
|
|
49430
|
+
incoming_booked?: number;
|
|
49431
|
+
line_status?: string;
|
|
48560
49432
|
name?: string;
|
|
48561
49433
|
note?: string | null;
|
|
48562
49434
|
pot_size?: string | null;
|
|
@@ -48564,6 +49436,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48564
49436
|
product_type?: string;
|
|
48565
49437
|
purchase_order_id?: string;
|
|
48566
49438
|
quantity?: number;
|
|
49439
|
+
received_at?: string | null;
|
|
49440
|
+
received_booked?: number;
|
|
48567
49441
|
supplier_id?: string | null;
|
|
48568
49442
|
supplier_product_id?: string | null;
|
|
48569
49443
|
unit_price_cents?: number;
|
|
@@ -48667,6 +49541,153 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48667
49541
|
referencedColumns: ["id"];
|
|
48668
49542
|
}];
|
|
48669
49543
|
};
|
|
49544
|
+
purchase_request_events: {
|
|
49545
|
+
Row: {
|
|
49546
|
+
created_at: string;
|
|
49547
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49548
|
+
event_type: string;
|
|
49549
|
+
id: string;
|
|
49550
|
+
request_id: string;
|
|
49551
|
+
};
|
|
49552
|
+
Insert: {
|
|
49553
|
+
created_at?: string;
|
|
49554
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49555
|
+
event_type: string;
|
|
49556
|
+
id?: string;
|
|
49557
|
+
request_id: string;
|
|
49558
|
+
};
|
|
49559
|
+
Update: {
|
|
49560
|
+
created_at?: string;
|
|
49561
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49562
|
+
event_type?: string;
|
|
49563
|
+
id?: string;
|
|
49564
|
+
request_id?: string;
|
|
49565
|
+
};
|
|
49566
|
+
Relationships: [{
|
|
49567
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
49568
|
+
columns: ["request_id"];
|
|
49569
|
+
isOneToOne: false;
|
|
49570
|
+
referencedRelation: "purchase_requests";
|
|
49571
|
+
referencedColumns: ["id"];
|
|
49572
|
+
}];
|
|
49573
|
+
};
|
|
49574
|
+
purchase_request_responses: {
|
|
49575
|
+
Row: {
|
|
49576
|
+
confirmed_date: string | null;
|
|
49577
|
+
confirmed_price_cents: number | null;
|
|
49578
|
+
confirmed_quantity: number;
|
|
49579
|
+
created_at: string;
|
|
49580
|
+
id: string;
|
|
49581
|
+
not_available: boolean;
|
|
49582
|
+
note: string | null;
|
|
49583
|
+
purchase_order_item_id: string;
|
|
49584
|
+
request_id: string;
|
|
49585
|
+
updated_at: string;
|
|
49586
|
+
};
|
|
49587
|
+
Insert: {
|
|
49588
|
+
confirmed_date?: string | null;
|
|
49589
|
+
confirmed_price_cents?: number | null;
|
|
49590
|
+
confirmed_quantity?: number;
|
|
49591
|
+
created_at?: string;
|
|
49592
|
+
id?: string;
|
|
49593
|
+
not_available?: boolean;
|
|
49594
|
+
note?: string | null;
|
|
49595
|
+
purchase_order_item_id: string;
|
|
49596
|
+
request_id: string;
|
|
49597
|
+
updated_at?: string;
|
|
49598
|
+
};
|
|
49599
|
+
Update: {
|
|
49600
|
+
confirmed_date?: string | null;
|
|
49601
|
+
confirmed_price_cents?: number | null;
|
|
49602
|
+
confirmed_quantity?: number;
|
|
49603
|
+
created_at?: string;
|
|
49604
|
+
id?: string;
|
|
49605
|
+
not_available?: boolean;
|
|
49606
|
+
note?: string | null;
|
|
49607
|
+
purchase_order_item_id?: string;
|
|
49608
|
+
request_id?: string;
|
|
49609
|
+
updated_at?: string;
|
|
49610
|
+
};
|
|
49611
|
+
Relationships: [{
|
|
49612
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
49613
|
+
columns: ["purchase_order_item_id"];
|
|
49614
|
+
isOneToOne: false;
|
|
49615
|
+
referencedRelation: "purchase_order_items";
|
|
49616
|
+
referencedColumns: ["id"];
|
|
49617
|
+
}, {
|
|
49618
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
49619
|
+
columns: ["request_id"];
|
|
49620
|
+
isOneToOne: false;
|
|
49621
|
+
referencedRelation: "purchase_requests";
|
|
49622
|
+
referencedColumns: ["id"];
|
|
49623
|
+
}];
|
|
49624
|
+
};
|
|
49625
|
+
purchase_requests: {
|
|
49626
|
+
Row: {
|
|
49627
|
+
created_at: string;
|
|
49628
|
+
expires_at: string;
|
|
49629
|
+
first_viewed_at: string | null;
|
|
49630
|
+
id: string;
|
|
49631
|
+
processed_at: string | null;
|
|
49632
|
+
purchase_order_id: string;
|
|
49633
|
+
responded_at: string | null;
|
|
49634
|
+
sent_at: string;
|
|
49635
|
+
status: string;
|
|
49636
|
+
supplier_id: string | null;
|
|
49637
|
+
supplier_name: string;
|
|
49638
|
+
supplier_note: string | null;
|
|
49639
|
+
to_address: string | null;
|
|
49640
|
+
token_hash: string;
|
|
49641
|
+
updated_at: string;
|
|
49642
|
+
};
|
|
49643
|
+
Insert: {
|
|
49644
|
+
created_at?: string;
|
|
49645
|
+
expires_at?: string;
|
|
49646
|
+
first_viewed_at?: string | null;
|
|
49647
|
+
id?: string;
|
|
49648
|
+
processed_at?: string | null;
|
|
49649
|
+
purchase_order_id: string;
|
|
49650
|
+
responded_at?: string | null;
|
|
49651
|
+
sent_at?: string;
|
|
49652
|
+
status?: string;
|
|
49653
|
+
supplier_id?: string | null;
|
|
49654
|
+
supplier_name?: string;
|
|
49655
|
+
supplier_note?: string | null;
|
|
49656
|
+
to_address?: string | null;
|
|
49657
|
+
token_hash: string;
|
|
49658
|
+
updated_at?: string;
|
|
49659
|
+
};
|
|
49660
|
+
Update: {
|
|
49661
|
+
created_at?: string;
|
|
49662
|
+
expires_at?: string;
|
|
49663
|
+
first_viewed_at?: string | null;
|
|
49664
|
+
id?: string;
|
|
49665
|
+
processed_at?: string | null;
|
|
49666
|
+
purchase_order_id?: string;
|
|
49667
|
+
responded_at?: string | null;
|
|
49668
|
+
sent_at?: string;
|
|
49669
|
+
status?: string;
|
|
49670
|
+
supplier_id?: string | null;
|
|
49671
|
+
supplier_name?: string;
|
|
49672
|
+
supplier_note?: string | null;
|
|
49673
|
+
to_address?: string | null;
|
|
49674
|
+
token_hash?: string;
|
|
49675
|
+
updated_at?: string;
|
|
49676
|
+
};
|
|
49677
|
+
Relationships: [{
|
|
49678
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
49679
|
+
columns: ["purchase_order_id"];
|
|
49680
|
+
isOneToOne: false;
|
|
49681
|
+
referencedRelation: "purchase_orders";
|
|
49682
|
+
referencedColumns: ["id"];
|
|
49683
|
+
}, {
|
|
49684
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
49685
|
+
columns: ["supplier_id"];
|
|
49686
|
+
isOneToOne: false;
|
|
49687
|
+
referencedRelation: "suppliers";
|
|
49688
|
+
referencedColumns: ["id"];
|
|
49689
|
+
}];
|
|
49690
|
+
};
|
|
48670
49691
|
reception_notifications: {
|
|
48671
49692
|
Row: {
|
|
48672
49693
|
booking_id: string | null;
|
|
@@ -50830,6 +51851,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50830
51851
|
auto_invoice_enabled: boolean;
|
|
50831
51852
|
auto_invoice_start_date: string | null;
|
|
50832
51853
|
auto_invoice_trigger_statuses: string[];
|
|
51854
|
+
auto_send_mode: string | null;
|
|
50833
51855
|
created_at: string;
|
|
50834
51856
|
debtor_gl_account: string;
|
|
50835
51857
|
default_article_code: string | null;
|
|
@@ -50858,6 +51880,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50858
51880
|
auto_invoice_enabled?: boolean;
|
|
50859
51881
|
auto_invoice_start_date?: string | null;
|
|
50860
51882
|
auto_invoice_trigger_statuses?: string[];
|
|
51883
|
+
auto_send_mode?: string | null;
|
|
50861
51884
|
created_at?: string;
|
|
50862
51885
|
debtor_gl_account?: string;
|
|
50863
51886
|
default_article_code?: string | null;
|
|
@@ -50886,6 +51909,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50886
51909
|
auto_invoice_enabled?: boolean;
|
|
50887
51910
|
auto_invoice_start_date?: string | null;
|
|
50888
51911
|
auto_invoice_trigger_statuses?: string[];
|
|
51912
|
+
auto_send_mode?: string | null;
|
|
50889
51913
|
created_at?: string;
|
|
50890
51914
|
debtor_gl_account?: string;
|
|
50891
51915
|
default_article_code?: string | null;
|
|
@@ -51329,16 +52353,19 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51329
52353
|
Row: {
|
|
51330
52354
|
active_environment: string;
|
|
51331
52355
|
id: number;
|
|
52356
|
+
public_base_url: string | null;
|
|
51332
52357
|
updated_at: string;
|
|
51333
52358
|
};
|
|
51334
52359
|
Insert: {
|
|
51335
52360
|
active_environment?: string;
|
|
51336
52361
|
id?: number;
|
|
52362
|
+
public_base_url?: string | null;
|
|
51337
52363
|
updated_at?: string;
|
|
51338
52364
|
};
|
|
51339
52365
|
Update: {
|
|
51340
52366
|
active_environment?: string;
|
|
51341
52367
|
id?: number;
|
|
52368
|
+
public_base_url?: string | null;
|
|
51342
52369
|
updated_at?: string;
|
|
51343
52370
|
};
|
|
51344
52371
|
Relationships: [];
|
|
@@ -51569,11 +52596,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51569
52596
|
monteur_id: string;
|
|
51570
52597
|
netto_verschil_minuten: number;
|
|
51571
52598
|
normaal_uitbetaald_minuten: number;
|
|
52599
|
+
omgezet_vakantie_minuten: number;
|
|
52600
|
+
overdracht_vorige_minuten: number;
|
|
51572
52601
|
overuren_minuten: number;
|
|
51573
52602
|
plus_minuten: number;
|
|
52603
|
+
rest_overuren_minuten: number;
|
|
51574
52604
|
status: string;
|
|
51575
52605
|
totaal_uitbetaald_minuten: number;
|
|
51576
52606
|
updated_at: string;
|
|
52607
|
+
vakantie_uren_bijgeschreven: number;
|
|
51577
52608
|
};
|
|
51578
52609
|
Insert: {
|
|
51579
52610
|
afgesloten_at?: string | null;
|
|
@@ -51590,11 +52621,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51590
52621
|
monteur_id: string;
|
|
51591
52622
|
netto_verschil_minuten?: number;
|
|
51592
52623
|
normaal_uitbetaald_minuten?: number;
|
|
52624
|
+
omgezet_vakantie_minuten?: number;
|
|
52625
|
+
overdracht_vorige_minuten?: number;
|
|
51593
52626
|
overuren_minuten?: number;
|
|
51594
52627
|
plus_minuten?: number;
|
|
52628
|
+
rest_overuren_minuten?: number;
|
|
51595
52629
|
status?: string;
|
|
51596
52630
|
totaal_uitbetaald_minuten?: number;
|
|
51597
52631
|
updated_at?: string;
|
|
52632
|
+
vakantie_uren_bijgeschreven?: number;
|
|
51598
52633
|
};
|
|
51599
52634
|
Update: {
|
|
51600
52635
|
afgesloten_at?: string | null;
|
|
@@ -51611,11 +52646,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51611
52646
|
monteur_id?: string;
|
|
51612
52647
|
netto_verschil_minuten?: number;
|
|
51613
52648
|
normaal_uitbetaald_minuten?: number;
|
|
52649
|
+
omgezet_vakantie_minuten?: number;
|
|
52650
|
+
overdracht_vorige_minuten?: number;
|
|
51614
52651
|
overuren_minuten?: number;
|
|
51615
52652
|
plus_minuten?: number;
|
|
52653
|
+
rest_overuren_minuten?: number;
|
|
51616
52654
|
status?: string;
|
|
51617
52655
|
totaal_uitbetaald_minuten?: number;
|
|
51618
52656
|
updated_at?: string;
|
|
52657
|
+
vakantie_uren_bijgeschreven?: number;
|
|
51619
52658
|
};
|
|
51620
52659
|
Relationships: [];
|
|
51621
52660
|
};
|
|
@@ -52027,6 +53066,51 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52027
53066
|
referencedColumns: ["id"];
|
|
52028
53067
|
}];
|
|
52029
53068
|
};
|
|
53069
|
+
vakantie_uitbetalingen: {
|
|
53070
|
+
Row: {
|
|
53071
|
+
created_at: string;
|
|
53072
|
+
created_by: string | null;
|
|
53073
|
+
days: number;
|
|
53074
|
+
id: string;
|
|
53075
|
+
note: string | null;
|
|
53076
|
+
updated_at: string;
|
|
53077
|
+
user_id: string;
|
|
53078
|
+
year: number;
|
|
53079
|
+
};
|
|
53080
|
+
Insert: {
|
|
53081
|
+
created_at?: string;
|
|
53082
|
+
created_by?: string | null;
|
|
53083
|
+
days: number;
|
|
53084
|
+
id?: string;
|
|
53085
|
+
note?: string | null;
|
|
53086
|
+
updated_at?: string;
|
|
53087
|
+
user_id: string;
|
|
53088
|
+
year?: number;
|
|
53089
|
+
};
|
|
53090
|
+
Update: {
|
|
53091
|
+
created_at?: string;
|
|
53092
|
+
created_by?: string | null;
|
|
53093
|
+
days?: number;
|
|
53094
|
+
id?: string;
|
|
53095
|
+
note?: string | null;
|
|
53096
|
+
updated_at?: string;
|
|
53097
|
+
user_id?: string;
|
|
53098
|
+
year?: number;
|
|
53099
|
+
};
|
|
53100
|
+
Relationships: [{
|
|
53101
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
53102
|
+
columns: ["created_by"];
|
|
53103
|
+
isOneToOne: false;
|
|
53104
|
+
referencedRelation: "profiles";
|
|
53105
|
+
referencedColumns: ["id"];
|
|
53106
|
+
}, {
|
|
53107
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
53108
|
+
columns: ["user_id"];
|
|
53109
|
+
isOneToOne: false;
|
|
53110
|
+
referencedRelation: "profiles";
|
|
53111
|
+
referencedColumns: ["id"];
|
|
53112
|
+
}];
|
|
53113
|
+
};
|
|
52030
53114
|
van_inventories: {
|
|
52031
53115
|
Row: {
|
|
52032
53116
|
barcode: string | null;
|
|
@@ -53311,6 +54395,78 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
53311
54395
|
referencedColumns: ["id"];
|
|
53312
54396
|
}];
|
|
53313
54397
|
};
|
|
54398
|
+
werkbon_voorstellen: {
|
|
54399
|
+
Row: {
|
|
54400
|
+
bron_werkbon_id: string;
|
|
54401
|
+
budget_mandate_cents: number;
|
|
54402
|
+
created_at: string;
|
|
54403
|
+
created_by: string;
|
|
54404
|
+
customer_id: string | null;
|
|
54405
|
+
id: string;
|
|
54406
|
+
payload: import("../integrations/supabase/types").Json;
|
|
54407
|
+
reden: string | null;
|
|
54408
|
+
status: string;
|
|
54409
|
+
updated_at: string;
|
|
54410
|
+
verwerkt_door: string | null;
|
|
54411
|
+
verwerkt_op: string | null;
|
|
54412
|
+
werkbon_id: string | null;
|
|
54413
|
+
};
|
|
54414
|
+
Insert: {
|
|
54415
|
+
bron_werkbon_id: string;
|
|
54416
|
+
budget_mandate_cents?: number;
|
|
54417
|
+
created_at?: string;
|
|
54418
|
+
created_by?: string;
|
|
54419
|
+
customer_id?: string | null;
|
|
54420
|
+
id?: string;
|
|
54421
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
54422
|
+
reden?: string | null;
|
|
54423
|
+
status?: string;
|
|
54424
|
+
updated_at?: string;
|
|
54425
|
+
verwerkt_door?: string | null;
|
|
54426
|
+
verwerkt_op?: string | null;
|
|
54427
|
+
werkbon_id?: string | null;
|
|
54428
|
+
};
|
|
54429
|
+
Update: {
|
|
54430
|
+
bron_werkbon_id?: string;
|
|
54431
|
+
budget_mandate_cents?: number;
|
|
54432
|
+
created_at?: string;
|
|
54433
|
+
created_by?: string;
|
|
54434
|
+
customer_id?: string | null;
|
|
54435
|
+
id?: string;
|
|
54436
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
54437
|
+
reden?: string | null;
|
|
54438
|
+
status?: string;
|
|
54439
|
+
updated_at?: string;
|
|
54440
|
+
verwerkt_door?: string | null;
|
|
54441
|
+
verwerkt_op?: string | null;
|
|
54442
|
+
werkbon_id?: string | null;
|
|
54443
|
+
};
|
|
54444
|
+
Relationships: [{
|
|
54445
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
54446
|
+
columns: ["bron_werkbon_id"];
|
|
54447
|
+
isOneToOne: false;
|
|
54448
|
+
referencedRelation: "werkbonnen";
|
|
54449
|
+
referencedColumns: ["id"];
|
|
54450
|
+
}, {
|
|
54451
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
54452
|
+
columns: ["bron_werkbon_id"];
|
|
54453
|
+
isOneToOne: false;
|
|
54454
|
+
referencedRelation: "wo_overview";
|
|
54455
|
+
referencedColumns: ["id"];
|
|
54456
|
+
}, {
|
|
54457
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
54458
|
+
columns: ["werkbon_id"];
|
|
54459
|
+
isOneToOne: false;
|
|
54460
|
+
referencedRelation: "werkbonnen";
|
|
54461
|
+
referencedColumns: ["id"];
|
|
54462
|
+
}, {
|
|
54463
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
54464
|
+
columns: ["werkbon_id"];
|
|
54465
|
+
isOneToOne: false;
|
|
54466
|
+
referencedRelation: "wo_overview";
|
|
54467
|
+
referencedColumns: ["id"];
|
|
54468
|
+
}];
|
|
54469
|
+
};
|
|
53314
54470
|
werkbonnen: {
|
|
53315
54471
|
Row: {
|
|
53316
54472
|
assigned_user_id: string | null;
|
|
@@ -54551,6 +55707,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
54551
55707
|
};
|
|
54552
55708
|
Returns: undefined;
|
|
54553
55709
|
};
|
|
55710
|
+
_wo_is_planner: {
|
|
55711
|
+
Args: never;
|
|
55712
|
+
Returns: boolean;
|
|
55713
|
+
};
|
|
54554
55714
|
afh_city_code: {
|
|
54555
55715
|
Args: {
|
|
54556
55716
|
_city: string;
|
|
@@ -55663,6 +56823,22 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55663
56823
|
};
|
|
55664
56824
|
Returns: number;
|
|
55665
56825
|
};
|
|
56826
|
+
get_product_stock: {
|
|
56827
|
+
Args: {
|
|
56828
|
+
p_product_id: string;
|
|
56829
|
+
};
|
|
56830
|
+
Returns: {
|
|
56831
|
+
connection_id: string;
|
|
56832
|
+
incoming_stock: number;
|
|
56833
|
+
minimum_stock: number;
|
|
56834
|
+
notes: string;
|
|
56835
|
+
physical_stock: number;
|
|
56836
|
+
product_id: string;
|
|
56837
|
+
reserved_stock: number;
|
|
56838
|
+
trade_item_key: string;
|
|
56839
|
+
updated_at: string;
|
|
56840
|
+
}[];
|
|
56841
|
+
};
|
|
55666
56842
|
get_room_busy_windows: {
|
|
55667
56843
|
Args: {
|
|
55668
56844
|
p_from: string;
|
|
@@ -55967,12 +57143,57 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55967
57143
|
};
|
|
55968
57144
|
Returns: import("../integrations/supabase/types").Json;
|
|
55969
57145
|
};
|
|
57146
|
+
inkoop_get_supplier_request: {
|
|
57147
|
+
Args: {
|
|
57148
|
+
_token: string;
|
|
57149
|
+
};
|
|
57150
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57151
|
+
};
|
|
57152
|
+
inkoop_hash_token: {
|
|
57153
|
+
Args: {
|
|
57154
|
+
_token: string;
|
|
57155
|
+
};
|
|
57156
|
+
Returns: string;
|
|
57157
|
+
};
|
|
57158
|
+
inkoop_html_escape: {
|
|
57159
|
+
Args: {
|
|
57160
|
+
_t: string;
|
|
57161
|
+
};
|
|
57162
|
+
Returns: string;
|
|
57163
|
+
};
|
|
57164
|
+
inkoop_list_artikelen: {
|
|
57165
|
+
Args: never;
|
|
57166
|
+
Returns: {
|
|
57167
|
+
article_number: string;
|
|
57168
|
+
barcode: string;
|
|
57169
|
+
id: string;
|
|
57170
|
+
incoming_quantity: number;
|
|
57171
|
+
is_layer: boolean;
|
|
57172
|
+
location: string;
|
|
57173
|
+
min_quantity: number;
|
|
57174
|
+
preferred_supplier_name: string;
|
|
57175
|
+
product: string;
|
|
57176
|
+
product_type: string;
|
|
57177
|
+
purchase_price: number;
|
|
57178
|
+
quantity: number;
|
|
57179
|
+
sale_price: number;
|
|
57180
|
+
supplier_count: number;
|
|
57181
|
+
unit: string;
|
|
57182
|
+
}[];
|
|
57183
|
+
};
|
|
55970
57184
|
inkoop_next_order_number: {
|
|
55971
57185
|
Args: never;
|
|
55972
57186
|
Returns: string;
|
|
55973
57187
|
};
|
|
57188
|
+
inkoop_process_request: {
|
|
57189
|
+
Args: {
|
|
57190
|
+
_request_id: string;
|
|
57191
|
+
};
|
|
57192
|
+
Returns: undefined;
|
|
57193
|
+
};
|
|
55974
57194
|
inkoop_send_order: {
|
|
55975
57195
|
Args: {
|
|
57196
|
+
_base_url?: string;
|
|
55976
57197
|
_order_id: string;
|
|
55977
57198
|
};
|
|
55978
57199
|
Returns: {
|
|
@@ -55980,6 +57201,44 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55980
57201
|
supplier_name: string;
|
|
55981
57202
|
to_address: string;
|
|
55982
57203
|
}[];
|
|
57204
|
+
} | {
|
|
57205
|
+
Args: {
|
|
57206
|
+
_base_url?: string;
|
|
57207
|
+
_order_id: string;
|
|
57208
|
+
_resend?: boolean;
|
|
57209
|
+
};
|
|
57210
|
+
Returns: {
|
|
57211
|
+
outbox_id: string;
|
|
57212
|
+
supplier_name: string;
|
|
57213
|
+
to_address: string;
|
|
57214
|
+
}[];
|
|
57215
|
+
};
|
|
57216
|
+
inkoop_set_preferred_supplier: {
|
|
57217
|
+
Args: {
|
|
57218
|
+
_product_id: string;
|
|
57219
|
+
_supplier_id: string;
|
|
57220
|
+
};
|
|
57221
|
+
Returns: undefined;
|
|
57222
|
+
};
|
|
57223
|
+
inkoop_stock_key: {
|
|
57224
|
+
Args: {
|
|
57225
|
+
p_product_id: string;
|
|
57226
|
+
};
|
|
57227
|
+
Returns: string;
|
|
57228
|
+
};
|
|
57229
|
+
inkoop_submit_supplier_response: {
|
|
57230
|
+
Args: {
|
|
57231
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57232
|
+
_note?: string;
|
|
57233
|
+
_token: string;
|
|
57234
|
+
};
|
|
57235
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57236
|
+
};
|
|
57237
|
+
inkoop_sync_item_stock: {
|
|
57238
|
+
Args: {
|
|
57239
|
+
p_item_id: string;
|
|
57240
|
+
};
|
|
57241
|
+
Returns: undefined;
|
|
55983
57242
|
};
|
|
55984
57243
|
instructie_get: {
|
|
55985
57244
|
Args: {
|
|
@@ -56000,6 +57259,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56000
57259
|
};
|
|
56001
57260
|
Returns: number;
|
|
56002
57261
|
};
|
|
57262
|
+
invoice_branding_snapshot: {
|
|
57263
|
+
Args: never;
|
|
57264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57265
|
+
};
|
|
56003
57266
|
invoice_create_from_source: {
|
|
56004
57267
|
Args: {
|
|
56005
57268
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -56034,6 +57297,17 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56034
57297
|
};
|
|
56035
57298
|
Returns: import("../integrations/supabase/types").Json;
|
|
56036
57299
|
};
|
|
57300
|
+
invoice_mark_sent: {
|
|
57301
|
+
Args: {
|
|
57302
|
+
_invoice_id: string;
|
|
57303
|
+
_to: string;
|
|
57304
|
+
};
|
|
57305
|
+
Returns: undefined;
|
|
57306
|
+
};
|
|
57307
|
+
invoice_peek_next_number: {
|
|
57308
|
+
Args: never;
|
|
57309
|
+
Returns: string;
|
|
57310
|
+
};
|
|
56037
57311
|
invoice_ready_work_orders: {
|
|
56038
57312
|
Args: {
|
|
56039
57313
|
_limit?: number;
|
|
@@ -56046,6 +57320,18 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56046
57320
|
};
|
|
56047
57321
|
Returns: import("../integrations/supabase/types").Json;
|
|
56048
57322
|
};
|
|
57323
|
+
invoice_save_branding_settings: {
|
|
57324
|
+
Args: {
|
|
57325
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
57326
|
+
};
|
|
57327
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57328
|
+
};
|
|
57329
|
+
invoice_set_email_purpose: {
|
|
57330
|
+
Args: {
|
|
57331
|
+
_purpose: string;
|
|
57332
|
+
};
|
|
57333
|
+
Returns: string;
|
|
57334
|
+
};
|
|
56049
57335
|
invoice_source_lines: {
|
|
56050
57336
|
Args: {
|
|
56051
57337
|
_source_id: string;
|
|
@@ -56053,6 +57339,19 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56053
57339
|
};
|
|
56054
57340
|
Returns: import("../integrations/supabase/types").Json;
|
|
56055
57341
|
};
|
|
57342
|
+
invoice_update_full: {
|
|
57343
|
+
Args: {
|
|
57344
|
+
_invoice_id: string;
|
|
57345
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
57346
|
+
};
|
|
57347
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57348
|
+
};
|
|
57349
|
+
invoice_work_order_locked: {
|
|
57350
|
+
Args: {
|
|
57351
|
+
_werkbon_id: string;
|
|
57352
|
+
};
|
|
57353
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57354
|
+
};
|
|
56056
57355
|
is_authenticated: {
|
|
56057
57356
|
Args: never;
|
|
56058
57357
|
Returns: boolean;
|
|
@@ -57212,6 +58511,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
57212
58511
|
Args: never;
|
|
57213
58512
|
Returns: string;
|
|
57214
58513
|
};
|
|
58514
|
+
logistics_order_backlog_info: {
|
|
58515
|
+
Args: {
|
|
58516
|
+
p_order_id: string;
|
|
58517
|
+
};
|
|
58518
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58519
|
+
};
|
|
57215
58520
|
logistics_order_cart_approval: {
|
|
57216
58521
|
Args: {
|
|
57217
58522
|
_order_ref: string;
|
|
@@ -57302,6 +58607,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
57302
58607
|
};
|
|
57303
58608
|
Returns: boolean;
|
|
57304
58609
|
};
|
|
58610
|
+
logistics_order_is_backlog: {
|
|
58611
|
+
Args: {
|
|
58612
|
+
p_order_id: string;
|
|
58613
|
+
};
|
|
58614
|
+
Returns: boolean;
|
|
58615
|
+
};
|
|
57305
58616
|
logistics_order_is_topick: {
|
|
57306
58617
|
Args: {
|
|
57307
58618
|
p_order_id: string;
|
|
@@ -57443,6 +58754,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
57443
58754
|
shifted_count: number;
|
|
57444
58755
|
}[];
|
|
57445
58756
|
};
|
|
58757
|
+
logistics_pick_backlog_max_days: {
|
|
58758
|
+
Args: never;
|
|
58759
|
+
Returns: number;
|
|
58760
|
+
};
|
|
57446
58761
|
logistics_pick_barcode_enabled: {
|
|
57447
58762
|
Args: never;
|
|
57448
58763
|
Returns: boolean;
|
|
@@ -58058,12 +59373,27 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
58058
59373
|
Args: never;
|
|
58059
59374
|
Returns: import("../integrations/supabase/types").Json;
|
|
58060
59375
|
};
|
|
59376
|
+
logistics_sync_pick_queue_backlog: {
|
|
59377
|
+
Args: never;
|
|
59378
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59379
|
+
};
|
|
59380
|
+
logistics_sync_pick_queue_core: {
|
|
59381
|
+
Args: never;
|
|
59382
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59383
|
+
};
|
|
58061
59384
|
logistics_sync_task_carriers: {
|
|
58062
59385
|
Args: {
|
|
58063
59386
|
p_order_ref?: string;
|
|
58064
59387
|
};
|
|
58065
59388
|
Returns: number;
|
|
58066
59389
|
};
|
|
59390
|
+
logistics_task_open_counts: {
|
|
59391
|
+
Args: never;
|
|
59392
|
+
Returns: {
|
|
59393
|
+
open_count: number;
|
|
59394
|
+
owner_module: string;
|
|
59395
|
+
}[];
|
|
59396
|
+
};
|
|
58067
59397
|
logistics_task_owner: {
|
|
58068
59398
|
Args: {
|
|
58069
59399
|
p_task_type: string;
|
|
@@ -59352,6 +60682,19 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
59352
60682
|
};
|
|
59353
60683
|
Returns: boolean;
|
|
59354
60684
|
};
|
|
60685
|
+
quote_assign_number: {
|
|
60686
|
+
Args: {
|
|
60687
|
+
_offerte_id: string;
|
|
60688
|
+
};
|
|
60689
|
+
Returns: string;
|
|
60690
|
+
};
|
|
60691
|
+
quote_create_follow_up_now: {
|
|
60692
|
+
Args: {
|
|
60693
|
+
_offerte_id: string;
|
|
60694
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60695
|
+
};
|
|
60696
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60697
|
+
};
|
|
59355
60698
|
quote_create_from_source: {
|
|
59356
60699
|
Args: {
|
|
59357
60700
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60065,6 +61408,26 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60065
61408
|
};
|
|
60066
61409
|
Returns: undefined;
|
|
60067
61410
|
};
|
|
61411
|
+
set_product_stock: {
|
|
61412
|
+
Args: {
|
|
61413
|
+
p_incoming_stock?: number;
|
|
61414
|
+
p_minimum_stock?: number;
|
|
61415
|
+
p_notes?: string;
|
|
61416
|
+
p_physical_stock: number;
|
|
61417
|
+
p_product_id: string;
|
|
61418
|
+
};
|
|
61419
|
+
Returns: {
|
|
61420
|
+
connection_id: string;
|
|
61421
|
+
incoming_stock: number;
|
|
61422
|
+
minimum_stock: number;
|
|
61423
|
+
notes: string;
|
|
61424
|
+
physical_stock: number;
|
|
61425
|
+
product_id: string;
|
|
61426
|
+
reserved_stock: number;
|
|
61427
|
+
trade_item_key: string;
|
|
61428
|
+
updated_at: string;
|
|
61429
|
+
}[];
|
|
61430
|
+
};
|
|
60068
61431
|
show_limit: {
|
|
60069
61432
|
Args: never;
|
|
60070
61433
|
Returns: number;
|
|
@@ -60589,6 +61952,13 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60589
61952
|
};
|
|
60590
61953
|
Returns: number;
|
|
60591
61954
|
};
|
|
61955
|
+
vakantie_overuren: {
|
|
61956
|
+
Args: {
|
|
61957
|
+
_user_id: string;
|
|
61958
|
+
_year?: number;
|
|
61959
|
+
};
|
|
61960
|
+
Returns: number;
|
|
61961
|
+
};
|
|
60592
61962
|
vakantie_saldo: {
|
|
60593
61963
|
Args: {
|
|
60594
61964
|
_user_id: string;
|
|
@@ -60596,7 +61966,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60596
61966
|
};
|
|
60597
61967
|
Returns: {
|
|
60598
61968
|
day_hours: number;
|
|
61969
|
+
earned_from_overtime_days: number;
|
|
60599
61970
|
entitlement_days: number;
|
|
61971
|
+
hours_to_next_day: number;
|
|
61972
|
+
overtime_hours: number;
|
|
61973
|
+
overtime_remainder_hours: number;
|
|
61974
|
+
paid_out_days: number;
|
|
60600
61975
|
remaining_days: number;
|
|
60601
61976
|
used_days: number;
|
|
60602
61977
|
}[];
|
|
@@ -60607,7 +61982,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60607
61982
|
};
|
|
60608
61983
|
Returns: {
|
|
60609
61984
|
day_hours: number;
|
|
61985
|
+
earned_from_overtime_days: number;
|
|
60610
61986
|
entitlement_days: number;
|
|
61987
|
+
hours_to_next_day: number;
|
|
61988
|
+
overtime_hours: number;
|
|
61989
|
+
overtime_remainder_hours: number;
|
|
61990
|
+
paid_out_days: number;
|
|
60611
61991
|
remaining_days: number;
|
|
60612
61992
|
used_days: number;
|
|
60613
61993
|
user_id: string;
|
|
@@ -60661,12 +62041,25 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60661
62041
|
};
|
|
60662
62042
|
Returns: import("../integrations/supabase/types").Json;
|
|
60663
62043
|
};
|
|
62044
|
+
wo_list_proposals: {
|
|
62045
|
+
Args: {
|
|
62046
|
+
_status?: string;
|
|
62047
|
+
};
|
|
62048
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
62049
|
+
};
|
|
60664
62050
|
wo_process_offerte_request: {
|
|
60665
62051
|
Args: {
|
|
60666
62052
|
_queue_id: string;
|
|
60667
62053
|
};
|
|
60668
62054
|
Returns: import("../integrations/supabase/types").Json;
|
|
60669
62055
|
};
|
|
62056
|
+
wo_process_proposal: {
|
|
62057
|
+
Args: {
|
|
62058
|
+
_id: string;
|
|
62059
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
62060
|
+
};
|
|
62061
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
62062
|
+
};
|
|
60670
62063
|
wo_reject_offerte_request: {
|
|
60671
62064
|
Args: {
|
|
60672
62065
|
_queue_id: string;
|
|
@@ -60674,6 +62067,13 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60674
62067
|
};
|
|
60675
62068
|
Returns: import("../integrations/supabase/types").Json;
|
|
60676
62069
|
};
|
|
62070
|
+
wo_reject_proposal: {
|
|
62071
|
+
Args: {
|
|
62072
|
+
_id: string;
|
|
62073
|
+
_reden?: string;
|
|
62074
|
+
};
|
|
62075
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
62076
|
+
};
|
|
60677
62077
|
wo_set_status: {
|
|
60678
62078
|
Args: {
|
|
60679
62079
|
_reason?: string;
|
|
@@ -68970,6 +70370,72 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
68970
70370
|
};
|
|
68971
70371
|
Relationships: [];
|
|
68972
70372
|
};
|
|
70373
|
+
invoice_branding_settings: {
|
|
70374
|
+
Row: {
|
|
70375
|
+
address: string;
|
|
70376
|
+
chamber_of_commerce_number: string;
|
|
70377
|
+
city: string;
|
|
70378
|
+
company_name: string;
|
|
70379
|
+
created_at: string;
|
|
70380
|
+
email: string;
|
|
70381
|
+
email_purpose: string | null;
|
|
70382
|
+
iban: string;
|
|
70383
|
+
logo_path: string | null;
|
|
70384
|
+
payment_term_days: number;
|
|
70385
|
+
phone: string;
|
|
70386
|
+
postal_code: string;
|
|
70387
|
+
primary_color: string;
|
|
70388
|
+
secondary_color: string;
|
|
70389
|
+
show_company_name: boolean;
|
|
70390
|
+
singleton_key: boolean;
|
|
70391
|
+
updated_at: string;
|
|
70392
|
+
vat_identification_number: string;
|
|
70393
|
+
website: string;
|
|
70394
|
+
};
|
|
70395
|
+
Insert: {
|
|
70396
|
+
address?: string;
|
|
70397
|
+
chamber_of_commerce_number?: string;
|
|
70398
|
+
city?: string;
|
|
70399
|
+
company_name?: string;
|
|
70400
|
+
created_at?: string;
|
|
70401
|
+
email?: string;
|
|
70402
|
+
email_purpose?: string | null;
|
|
70403
|
+
iban?: string;
|
|
70404
|
+
logo_path?: string | null;
|
|
70405
|
+
payment_term_days?: number;
|
|
70406
|
+
phone?: string;
|
|
70407
|
+
postal_code?: string;
|
|
70408
|
+
primary_color?: string;
|
|
70409
|
+
secondary_color?: string;
|
|
70410
|
+
show_company_name?: boolean;
|
|
70411
|
+
singleton_key?: boolean;
|
|
70412
|
+
updated_at?: string;
|
|
70413
|
+
vat_identification_number?: string;
|
|
70414
|
+
website?: string;
|
|
70415
|
+
};
|
|
70416
|
+
Update: {
|
|
70417
|
+
address?: string;
|
|
70418
|
+
chamber_of_commerce_number?: string;
|
|
70419
|
+
city?: string;
|
|
70420
|
+
company_name?: string;
|
|
70421
|
+
created_at?: string;
|
|
70422
|
+
email?: string;
|
|
70423
|
+
email_purpose?: string | null;
|
|
70424
|
+
iban?: string;
|
|
70425
|
+
logo_path?: string | null;
|
|
70426
|
+
payment_term_days?: number;
|
|
70427
|
+
phone?: string;
|
|
70428
|
+
postal_code?: string;
|
|
70429
|
+
primary_color?: string;
|
|
70430
|
+
secondary_color?: string;
|
|
70431
|
+
show_company_name?: boolean;
|
|
70432
|
+
singleton_key?: boolean;
|
|
70433
|
+
updated_at?: string;
|
|
70434
|
+
vat_identification_number?: string;
|
|
70435
|
+
website?: string;
|
|
70436
|
+
};
|
|
70437
|
+
Relationships: [];
|
|
70438
|
+
};
|
|
68973
70439
|
invoice_items: {
|
|
68974
70440
|
Row: {
|
|
68975
70441
|
created_at: string;
|
|
@@ -68983,6 +70449,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
68983
70449
|
total_cents: number;
|
|
68984
70450
|
unit: string;
|
|
68985
70451
|
unit_price_cents: number;
|
|
70452
|
+
vat_rate: number | null;
|
|
68986
70453
|
};
|
|
68987
70454
|
Insert: {
|
|
68988
70455
|
created_at?: string;
|
|
@@ -68996,6 +70463,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
68996
70463
|
total_cents?: number;
|
|
68997
70464
|
unit?: string;
|
|
68998
70465
|
unit_price_cents?: number;
|
|
70466
|
+
vat_rate?: number | null;
|
|
68999
70467
|
};
|
|
69000
70468
|
Update: {
|
|
69001
70469
|
created_at?: string;
|
|
@@ -69009,6 +70477,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69009
70477
|
total_cents?: number;
|
|
69010
70478
|
unit?: string;
|
|
69011
70479
|
unit_price_cents?: number;
|
|
70480
|
+
vat_rate?: number | null;
|
|
69012
70481
|
};
|
|
69013
70482
|
Relationships: [{
|
|
69014
70483
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -69254,6 +70723,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69254
70723
|
};
|
|
69255
70724
|
invoices: {
|
|
69256
70725
|
Row: {
|
|
70726
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
69257
70727
|
created_at: string;
|
|
69258
70728
|
created_by: string | null;
|
|
69259
70729
|
customer_address: string | null;
|
|
@@ -69272,6 +70742,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69272
70742
|
note: string | null;
|
|
69273
70743
|
payment_term_days: number;
|
|
69274
70744
|
reference: string | null;
|
|
70745
|
+
sent_at: string | null;
|
|
70746
|
+
sent_to: string | null;
|
|
69275
70747
|
source_number: string | null;
|
|
69276
70748
|
source_ref: string | null;
|
|
69277
70749
|
source_type: string;
|
|
@@ -69284,6 +70756,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69284
70756
|
work_address: string | null;
|
|
69285
70757
|
};
|
|
69286
70758
|
Insert: {
|
|
70759
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
69287
70760
|
created_at?: string;
|
|
69288
70761
|
created_by?: string | null;
|
|
69289
70762
|
customer_address?: string | null;
|
|
@@ -69302,6 +70775,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69302
70775
|
note?: string | null;
|
|
69303
70776
|
payment_term_days?: number;
|
|
69304
70777
|
reference?: string | null;
|
|
70778
|
+
sent_at?: string | null;
|
|
70779
|
+
sent_to?: string | null;
|
|
69305
70780
|
source_number?: string | null;
|
|
69306
70781
|
source_ref?: string | null;
|
|
69307
70782
|
source_type?: string;
|
|
@@ -69314,6 +70789,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69314
70789
|
work_address?: string | null;
|
|
69315
70790
|
};
|
|
69316
70791
|
Update: {
|
|
70792
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
69317
70793
|
created_at?: string;
|
|
69318
70794
|
created_by?: string | null;
|
|
69319
70795
|
customer_address?: string | null;
|
|
@@ -69332,6 +70808,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69332
70808
|
note?: string | null;
|
|
69333
70809
|
payment_term_days?: number;
|
|
69334
70810
|
reference?: string | null;
|
|
70811
|
+
sent_at?: string | null;
|
|
70812
|
+
sent_to?: string | null;
|
|
69335
70813
|
source_number?: string | null;
|
|
69336
70814
|
source_ref?: string | null;
|
|
69337
70815
|
source_type?: string;
|
|
@@ -70040,6 +71518,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70040
71518
|
quantity: number;
|
|
70041
71519
|
sort_order: number;
|
|
70042
71520
|
source: string;
|
|
71521
|
+
unit: string | null;
|
|
70043
71522
|
unit_price_cents: number;
|
|
70044
71523
|
updated_at: string;
|
|
70045
71524
|
};
|
|
@@ -70053,6 +71532,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70053
71532
|
quantity?: number;
|
|
70054
71533
|
sort_order?: number;
|
|
70055
71534
|
source?: string;
|
|
71535
|
+
unit?: string | null;
|
|
70056
71536
|
unit_price_cents?: number;
|
|
70057
71537
|
updated_at?: string;
|
|
70058
71538
|
};
|
|
@@ -70066,6 +71546,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70066
71546
|
quantity?: number;
|
|
70067
71547
|
sort_order?: number;
|
|
70068
71548
|
source?: string;
|
|
71549
|
+
unit?: string | null;
|
|
70069
71550
|
unit_price_cents?: number;
|
|
70070
71551
|
updated_at?: string;
|
|
70071
71552
|
};
|
|
@@ -70089,6 +71570,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70089
71570
|
created_at: string;
|
|
70090
71571
|
default_geldigheid_dagen: number;
|
|
70091
71572
|
default_vat_rate: number;
|
|
71573
|
+
email_purpose: string | null;
|
|
70092
71574
|
id: string;
|
|
70093
71575
|
singleton: boolean;
|
|
70094
71576
|
updated_at: string;
|
|
@@ -70098,6 +71580,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70098
71580
|
created_at?: string;
|
|
70099
71581
|
default_geldigheid_dagen?: number;
|
|
70100
71582
|
default_vat_rate?: number;
|
|
71583
|
+
email_purpose?: string | null;
|
|
70101
71584
|
id?: string;
|
|
70102
71585
|
singleton?: boolean;
|
|
70103
71586
|
updated_at?: string;
|
|
@@ -70107,6 +71590,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70107
71590
|
created_at?: string;
|
|
70108
71591
|
default_geldigheid_dagen?: number;
|
|
70109
71592
|
default_vat_rate?: number;
|
|
71593
|
+
email_purpose?: string | null;
|
|
70110
71594
|
id?: string;
|
|
70111
71595
|
singleton?: boolean;
|
|
70112
71596
|
updated_at?: string;
|
|
@@ -70199,6 +71683,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70199
71683
|
};
|
|
70200
71684
|
itk_offertes: {
|
|
70201
71685
|
Row: {
|
|
71686
|
+
aandachtspunten: string | null;
|
|
70202
71687
|
ai_generated: boolean;
|
|
70203
71688
|
approved_at: string | null;
|
|
70204
71689
|
binnen_mandaat: boolean;
|
|
@@ -70214,6 +71699,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70214
71699
|
notities: string | null;
|
|
70215
71700
|
offerte_number: string | null;
|
|
70216
71701
|
omschrijving: string;
|
|
71702
|
+
onderwerp: string | null;
|
|
70217
71703
|
rejected_at: string | null;
|
|
70218
71704
|
sent_at: string | null;
|
|
70219
71705
|
source_number: string | null;
|
|
@@ -70226,12 +71712,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70226
71712
|
valid_until: string | null;
|
|
70227
71713
|
vat_cents: number;
|
|
70228
71714
|
vat_rate: number;
|
|
71715
|
+
verzonden_naar: string | null;
|
|
70229
71716
|
viewed_at: string | null;
|
|
70230
71717
|
volgnummer: number | null;
|
|
71718
|
+
voorwaarden: string | null;
|
|
70231
71719
|
werkbon_id: string | null;
|
|
70232
71720
|
work_location_id: string | null;
|
|
70233
71721
|
};
|
|
70234
71722
|
Insert: {
|
|
71723
|
+
aandachtspunten?: string | null;
|
|
70235
71724
|
ai_generated?: boolean;
|
|
70236
71725
|
approved_at?: string | null;
|
|
70237
71726
|
binnen_mandaat?: boolean;
|
|
@@ -70247,6 +71736,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70247
71736
|
notities?: string | null;
|
|
70248
71737
|
offerte_number?: string | null;
|
|
70249
71738
|
omschrijving?: string;
|
|
71739
|
+
onderwerp?: string | null;
|
|
70250
71740
|
rejected_at?: string | null;
|
|
70251
71741
|
sent_at?: string | null;
|
|
70252
71742
|
source_number?: string | null;
|
|
@@ -70259,12 +71749,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70259
71749
|
valid_until?: string | null;
|
|
70260
71750
|
vat_cents?: number;
|
|
70261
71751
|
vat_rate?: number;
|
|
71752
|
+
verzonden_naar?: string | null;
|
|
70262
71753
|
viewed_at?: string | null;
|
|
70263
71754
|
volgnummer?: number | null;
|
|
71755
|
+
voorwaarden?: string | null;
|
|
70264
71756
|
werkbon_id?: string | null;
|
|
70265
71757
|
work_location_id?: string | null;
|
|
70266
71758
|
};
|
|
70267
71759
|
Update: {
|
|
71760
|
+
aandachtspunten?: string | null;
|
|
70268
71761
|
ai_generated?: boolean;
|
|
70269
71762
|
approved_at?: string | null;
|
|
70270
71763
|
binnen_mandaat?: boolean;
|
|
@@ -70280,6 +71773,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70280
71773
|
notities?: string | null;
|
|
70281
71774
|
offerte_number?: string | null;
|
|
70282
71775
|
omschrijving?: string;
|
|
71776
|
+
onderwerp?: string | null;
|
|
70283
71777
|
rejected_at?: string | null;
|
|
70284
71778
|
sent_at?: string | null;
|
|
70285
71779
|
source_number?: string | null;
|
|
@@ -70292,8 +71786,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70292
71786
|
valid_until?: string | null;
|
|
70293
71787
|
vat_cents?: number;
|
|
70294
71788
|
vat_rate?: number;
|
|
71789
|
+
verzonden_naar?: string | null;
|
|
70295
71790
|
viewed_at?: string | null;
|
|
70296
71791
|
volgnummer?: number | null;
|
|
71792
|
+
voorwaarden?: string | null;
|
|
70297
71793
|
werkbon_id?: string | null;
|
|
70298
71794
|
work_location_id?: string | null;
|
|
70299
71795
|
};
|
|
@@ -75305,6 +76801,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75305
76801
|
next_attempt_at: string;
|
|
75306
76802
|
order_id: string;
|
|
75307
76803
|
processed_at: string | null;
|
|
76804
|
+
send_error: string | null;
|
|
75308
76805
|
status: string;
|
|
75309
76806
|
updated_at: string;
|
|
75310
76807
|
};
|
|
@@ -75318,6 +76815,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75318
76815
|
next_attempt_at?: string;
|
|
75319
76816
|
order_id: string;
|
|
75320
76817
|
processed_at?: string | null;
|
|
76818
|
+
send_error?: string | null;
|
|
75321
76819
|
status?: string;
|
|
75322
76820
|
updated_at?: string;
|
|
75323
76821
|
};
|
|
@@ -75331,6 +76829,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75331
76829
|
next_attempt_at?: string;
|
|
75332
76830
|
order_id?: string;
|
|
75333
76831
|
processed_at?: string | null;
|
|
76832
|
+
send_error?: string | null;
|
|
75334
76833
|
status?: string;
|
|
75335
76834
|
updated_at?: string;
|
|
75336
76835
|
};
|
|
@@ -78360,6 +79859,66 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78360
79859
|
};
|
|
78361
79860
|
Relationships: [];
|
|
78362
79861
|
};
|
|
79862
|
+
product_suppliers: {
|
|
79863
|
+
Row: {
|
|
79864
|
+
created_at: string;
|
|
79865
|
+
id: string;
|
|
79866
|
+
is_preferred: boolean;
|
|
79867
|
+
lead_time_days: number | null;
|
|
79868
|
+
min_order_quantity: number | null;
|
|
79869
|
+
notes: string | null;
|
|
79870
|
+
product_id: string;
|
|
79871
|
+
purchase_price_cents: number | null;
|
|
79872
|
+
supplier_article_number: string | null;
|
|
79873
|
+
supplier_id: string;
|
|
79874
|
+
updated_at: string;
|
|
79875
|
+
};
|
|
79876
|
+
Insert: {
|
|
79877
|
+
created_at?: string;
|
|
79878
|
+
id?: string;
|
|
79879
|
+
is_preferred?: boolean;
|
|
79880
|
+
lead_time_days?: number | null;
|
|
79881
|
+
min_order_quantity?: number | null;
|
|
79882
|
+
notes?: string | null;
|
|
79883
|
+
product_id: string;
|
|
79884
|
+
purchase_price_cents?: number | null;
|
|
79885
|
+
supplier_article_number?: string | null;
|
|
79886
|
+
supplier_id: string;
|
|
79887
|
+
updated_at?: string;
|
|
79888
|
+
};
|
|
79889
|
+
Update: {
|
|
79890
|
+
created_at?: string;
|
|
79891
|
+
id?: string;
|
|
79892
|
+
is_preferred?: boolean;
|
|
79893
|
+
lead_time_days?: number | null;
|
|
79894
|
+
min_order_quantity?: number | null;
|
|
79895
|
+
notes?: string | null;
|
|
79896
|
+
product_id?: string;
|
|
79897
|
+
purchase_price_cents?: number | null;
|
|
79898
|
+
supplier_article_number?: string | null;
|
|
79899
|
+
supplier_id?: string;
|
|
79900
|
+
updated_at?: string;
|
|
79901
|
+
};
|
|
79902
|
+
Relationships: [{
|
|
79903
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
79904
|
+
columns: ["product_id"];
|
|
79905
|
+
isOneToOne: false;
|
|
79906
|
+
referencedRelation: "logistics_product_dimensions";
|
|
79907
|
+
referencedColumns: ["product_id"];
|
|
79908
|
+
}, {
|
|
79909
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
79910
|
+
columns: ["product_id"];
|
|
79911
|
+
isOneToOne: false;
|
|
79912
|
+
referencedRelation: "products";
|
|
79913
|
+
referencedColumns: ["id"];
|
|
79914
|
+
}, {
|
|
79915
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
79916
|
+
columns: ["supplier_id"];
|
|
79917
|
+
isOneToOne: false;
|
|
79918
|
+
referencedRelation: "suppliers";
|
|
79919
|
+
referencedColumns: ["id"];
|
|
79920
|
+
}];
|
|
79921
|
+
};
|
|
78363
79922
|
product_tray_stickers: {
|
|
78364
79923
|
Row: {
|
|
78365
79924
|
bestand_url: string;
|
|
@@ -78864,9 +80423,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78864
80423
|
purchase_order_items: {
|
|
78865
80424
|
Row: {
|
|
78866
80425
|
article_number: string | null;
|
|
80426
|
+
cancelled_at: string | null;
|
|
78867
80427
|
created_at: string;
|
|
78868
80428
|
delivery_date: string | null;
|
|
78869
80429
|
id: string;
|
|
80430
|
+
incoming_booked: number;
|
|
80431
|
+
line_status: string;
|
|
78870
80432
|
name: string;
|
|
78871
80433
|
note: string | null;
|
|
78872
80434
|
pot_size: string | null;
|
|
@@ -78874,6 +80436,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78874
80436
|
product_type: string;
|
|
78875
80437
|
purchase_order_id: string;
|
|
78876
80438
|
quantity: number;
|
|
80439
|
+
received_at: string | null;
|
|
80440
|
+
received_booked: number;
|
|
78877
80441
|
supplier_id: string | null;
|
|
78878
80442
|
supplier_product_id: string | null;
|
|
78879
80443
|
unit_price_cents: number;
|
|
@@ -78881,9 +80445,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78881
80445
|
};
|
|
78882
80446
|
Insert: {
|
|
78883
80447
|
article_number?: string | null;
|
|
80448
|
+
cancelled_at?: string | null;
|
|
78884
80449
|
created_at?: string;
|
|
78885
80450
|
delivery_date?: string | null;
|
|
78886
80451
|
id?: string;
|
|
80452
|
+
incoming_booked?: number;
|
|
80453
|
+
line_status?: string;
|
|
78887
80454
|
name?: string;
|
|
78888
80455
|
note?: string | null;
|
|
78889
80456
|
pot_size?: string | null;
|
|
@@ -78891,6 +80458,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78891
80458
|
product_type?: string;
|
|
78892
80459
|
purchase_order_id: string;
|
|
78893
80460
|
quantity?: number;
|
|
80461
|
+
received_at?: string | null;
|
|
80462
|
+
received_booked?: number;
|
|
78894
80463
|
supplier_id?: string | null;
|
|
78895
80464
|
supplier_product_id?: string | null;
|
|
78896
80465
|
unit_price_cents?: number;
|
|
@@ -78898,9 +80467,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78898
80467
|
};
|
|
78899
80468
|
Update: {
|
|
78900
80469
|
article_number?: string | null;
|
|
80470
|
+
cancelled_at?: string | null;
|
|
78901
80471
|
created_at?: string;
|
|
78902
80472
|
delivery_date?: string | null;
|
|
78903
80473
|
id?: string;
|
|
80474
|
+
incoming_booked?: number;
|
|
80475
|
+
line_status?: string;
|
|
78904
80476
|
name?: string;
|
|
78905
80477
|
note?: string | null;
|
|
78906
80478
|
pot_size?: string | null;
|
|
@@ -78908,6 +80480,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78908
80480
|
product_type?: string;
|
|
78909
80481
|
purchase_order_id?: string;
|
|
78910
80482
|
quantity?: number;
|
|
80483
|
+
received_at?: string | null;
|
|
80484
|
+
received_booked?: number;
|
|
78911
80485
|
supplier_id?: string | null;
|
|
78912
80486
|
supplier_product_id?: string | null;
|
|
78913
80487
|
unit_price_cents?: number;
|
|
@@ -79011,6 +80585,153 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79011
80585
|
referencedColumns: ["id"];
|
|
79012
80586
|
}];
|
|
79013
80587
|
};
|
|
80588
|
+
purchase_request_events: {
|
|
80589
|
+
Row: {
|
|
80590
|
+
created_at: string;
|
|
80591
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
80592
|
+
event_type: string;
|
|
80593
|
+
id: string;
|
|
80594
|
+
request_id: string;
|
|
80595
|
+
};
|
|
80596
|
+
Insert: {
|
|
80597
|
+
created_at?: string;
|
|
80598
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
80599
|
+
event_type: string;
|
|
80600
|
+
id?: string;
|
|
80601
|
+
request_id: string;
|
|
80602
|
+
};
|
|
80603
|
+
Update: {
|
|
80604
|
+
created_at?: string;
|
|
80605
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
80606
|
+
event_type?: string;
|
|
80607
|
+
id?: string;
|
|
80608
|
+
request_id?: string;
|
|
80609
|
+
};
|
|
80610
|
+
Relationships: [{
|
|
80611
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
80612
|
+
columns: ["request_id"];
|
|
80613
|
+
isOneToOne: false;
|
|
80614
|
+
referencedRelation: "purchase_requests";
|
|
80615
|
+
referencedColumns: ["id"];
|
|
80616
|
+
}];
|
|
80617
|
+
};
|
|
80618
|
+
purchase_request_responses: {
|
|
80619
|
+
Row: {
|
|
80620
|
+
confirmed_date: string | null;
|
|
80621
|
+
confirmed_price_cents: number | null;
|
|
80622
|
+
confirmed_quantity: number;
|
|
80623
|
+
created_at: string;
|
|
80624
|
+
id: string;
|
|
80625
|
+
not_available: boolean;
|
|
80626
|
+
note: string | null;
|
|
80627
|
+
purchase_order_item_id: string;
|
|
80628
|
+
request_id: string;
|
|
80629
|
+
updated_at: string;
|
|
80630
|
+
};
|
|
80631
|
+
Insert: {
|
|
80632
|
+
confirmed_date?: string | null;
|
|
80633
|
+
confirmed_price_cents?: number | null;
|
|
80634
|
+
confirmed_quantity?: number;
|
|
80635
|
+
created_at?: string;
|
|
80636
|
+
id?: string;
|
|
80637
|
+
not_available?: boolean;
|
|
80638
|
+
note?: string | null;
|
|
80639
|
+
purchase_order_item_id: string;
|
|
80640
|
+
request_id: string;
|
|
80641
|
+
updated_at?: string;
|
|
80642
|
+
};
|
|
80643
|
+
Update: {
|
|
80644
|
+
confirmed_date?: string | null;
|
|
80645
|
+
confirmed_price_cents?: number | null;
|
|
80646
|
+
confirmed_quantity?: number;
|
|
80647
|
+
created_at?: string;
|
|
80648
|
+
id?: string;
|
|
80649
|
+
not_available?: boolean;
|
|
80650
|
+
note?: string | null;
|
|
80651
|
+
purchase_order_item_id?: string;
|
|
80652
|
+
request_id?: string;
|
|
80653
|
+
updated_at?: string;
|
|
80654
|
+
};
|
|
80655
|
+
Relationships: [{
|
|
80656
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
80657
|
+
columns: ["purchase_order_item_id"];
|
|
80658
|
+
isOneToOne: false;
|
|
80659
|
+
referencedRelation: "purchase_order_items";
|
|
80660
|
+
referencedColumns: ["id"];
|
|
80661
|
+
}, {
|
|
80662
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
80663
|
+
columns: ["request_id"];
|
|
80664
|
+
isOneToOne: false;
|
|
80665
|
+
referencedRelation: "purchase_requests";
|
|
80666
|
+
referencedColumns: ["id"];
|
|
80667
|
+
}];
|
|
80668
|
+
};
|
|
80669
|
+
purchase_requests: {
|
|
80670
|
+
Row: {
|
|
80671
|
+
created_at: string;
|
|
80672
|
+
expires_at: string;
|
|
80673
|
+
first_viewed_at: string | null;
|
|
80674
|
+
id: string;
|
|
80675
|
+
processed_at: string | null;
|
|
80676
|
+
purchase_order_id: string;
|
|
80677
|
+
responded_at: string | null;
|
|
80678
|
+
sent_at: string;
|
|
80679
|
+
status: string;
|
|
80680
|
+
supplier_id: string | null;
|
|
80681
|
+
supplier_name: string;
|
|
80682
|
+
supplier_note: string | null;
|
|
80683
|
+
to_address: string | null;
|
|
80684
|
+
token_hash: string;
|
|
80685
|
+
updated_at: string;
|
|
80686
|
+
};
|
|
80687
|
+
Insert: {
|
|
80688
|
+
created_at?: string;
|
|
80689
|
+
expires_at?: string;
|
|
80690
|
+
first_viewed_at?: string | null;
|
|
80691
|
+
id?: string;
|
|
80692
|
+
processed_at?: string | null;
|
|
80693
|
+
purchase_order_id: string;
|
|
80694
|
+
responded_at?: string | null;
|
|
80695
|
+
sent_at?: string;
|
|
80696
|
+
status?: string;
|
|
80697
|
+
supplier_id?: string | null;
|
|
80698
|
+
supplier_name?: string;
|
|
80699
|
+
supplier_note?: string | null;
|
|
80700
|
+
to_address?: string | null;
|
|
80701
|
+
token_hash: string;
|
|
80702
|
+
updated_at?: string;
|
|
80703
|
+
};
|
|
80704
|
+
Update: {
|
|
80705
|
+
created_at?: string;
|
|
80706
|
+
expires_at?: string;
|
|
80707
|
+
first_viewed_at?: string | null;
|
|
80708
|
+
id?: string;
|
|
80709
|
+
processed_at?: string | null;
|
|
80710
|
+
purchase_order_id?: string;
|
|
80711
|
+
responded_at?: string | null;
|
|
80712
|
+
sent_at?: string;
|
|
80713
|
+
status?: string;
|
|
80714
|
+
supplier_id?: string | null;
|
|
80715
|
+
supplier_name?: string;
|
|
80716
|
+
supplier_note?: string | null;
|
|
80717
|
+
to_address?: string | null;
|
|
80718
|
+
token_hash?: string;
|
|
80719
|
+
updated_at?: string;
|
|
80720
|
+
};
|
|
80721
|
+
Relationships: [{
|
|
80722
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
80723
|
+
columns: ["purchase_order_id"];
|
|
80724
|
+
isOneToOne: false;
|
|
80725
|
+
referencedRelation: "purchase_orders";
|
|
80726
|
+
referencedColumns: ["id"];
|
|
80727
|
+
}, {
|
|
80728
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
80729
|
+
columns: ["supplier_id"];
|
|
80730
|
+
isOneToOne: false;
|
|
80731
|
+
referencedRelation: "suppliers";
|
|
80732
|
+
referencedColumns: ["id"];
|
|
80733
|
+
}];
|
|
80734
|
+
};
|
|
79014
80735
|
reception_notifications: {
|
|
79015
80736
|
Row: {
|
|
79016
80737
|
booking_id: string | null;
|
|
@@ -81174,6 +82895,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81174
82895
|
auto_invoice_enabled: boolean;
|
|
81175
82896
|
auto_invoice_start_date: string | null;
|
|
81176
82897
|
auto_invoice_trigger_statuses: string[];
|
|
82898
|
+
auto_send_mode: string | null;
|
|
81177
82899
|
created_at: string;
|
|
81178
82900
|
debtor_gl_account: string;
|
|
81179
82901
|
default_article_code: string | null;
|
|
@@ -81202,6 +82924,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81202
82924
|
auto_invoice_enabled?: boolean;
|
|
81203
82925
|
auto_invoice_start_date?: string | null;
|
|
81204
82926
|
auto_invoice_trigger_statuses?: string[];
|
|
82927
|
+
auto_send_mode?: string | null;
|
|
81205
82928
|
created_at?: string;
|
|
81206
82929
|
debtor_gl_account?: string;
|
|
81207
82930
|
default_article_code?: string | null;
|
|
@@ -81230,6 +82953,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81230
82953
|
auto_invoice_enabled?: boolean;
|
|
81231
82954
|
auto_invoice_start_date?: string | null;
|
|
81232
82955
|
auto_invoice_trigger_statuses?: string[];
|
|
82956
|
+
auto_send_mode?: string | null;
|
|
81233
82957
|
created_at?: string;
|
|
81234
82958
|
debtor_gl_account?: string;
|
|
81235
82959
|
default_article_code?: string | null;
|
|
@@ -81673,16 +83397,19 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81673
83397
|
Row: {
|
|
81674
83398
|
active_environment: string;
|
|
81675
83399
|
id: number;
|
|
83400
|
+
public_base_url: string | null;
|
|
81676
83401
|
updated_at: string;
|
|
81677
83402
|
};
|
|
81678
83403
|
Insert: {
|
|
81679
83404
|
active_environment?: string;
|
|
81680
83405
|
id?: number;
|
|
83406
|
+
public_base_url?: string | null;
|
|
81681
83407
|
updated_at?: string;
|
|
81682
83408
|
};
|
|
81683
83409
|
Update: {
|
|
81684
83410
|
active_environment?: string;
|
|
81685
83411
|
id?: number;
|
|
83412
|
+
public_base_url?: string | null;
|
|
81686
83413
|
updated_at?: string;
|
|
81687
83414
|
};
|
|
81688
83415
|
Relationships: [];
|
|
@@ -81913,11 +83640,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81913
83640
|
monteur_id: string;
|
|
81914
83641
|
netto_verschil_minuten: number;
|
|
81915
83642
|
normaal_uitbetaald_minuten: number;
|
|
83643
|
+
omgezet_vakantie_minuten: number;
|
|
83644
|
+
overdracht_vorige_minuten: number;
|
|
81916
83645
|
overuren_minuten: number;
|
|
81917
83646
|
plus_minuten: number;
|
|
83647
|
+
rest_overuren_minuten: number;
|
|
81918
83648
|
status: string;
|
|
81919
83649
|
totaal_uitbetaald_minuten: number;
|
|
81920
83650
|
updated_at: string;
|
|
83651
|
+
vakantie_uren_bijgeschreven: number;
|
|
81921
83652
|
};
|
|
81922
83653
|
Insert: {
|
|
81923
83654
|
afgesloten_at?: string | null;
|
|
@@ -81934,11 +83665,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81934
83665
|
monteur_id: string;
|
|
81935
83666
|
netto_verschil_minuten?: number;
|
|
81936
83667
|
normaal_uitbetaald_minuten?: number;
|
|
83668
|
+
omgezet_vakantie_minuten?: number;
|
|
83669
|
+
overdracht_vorige_minuten?: number;
|
|
81937
83670
|
overuren_minuten?: number;
|
|
81938
83671
|
plus_minuten?: number;
|
|
83672
|
+
rest_overuren_minuten?: number;
|
|
81939
83673
|
status?: string;
|
|
81940
83674
|
totaal_uitbetaald_minuten?: number;
|
|
81941
83675
|
updated_at?: string;
|
|
83676
|
+
vakantie_uren_bijgeschreven?: number;
|
|
81942
83677
|
};
|
|
81943
83678
|
Update: {
|
|
81944
83679
|
afgesloten_at?: string | null;
|
|
@@ -81955,11 +83690,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81955
83690
|
monteur_id?: string;
|
|
81956
83691
|
netto_verschil_minuten?: number;
|
|
81957
83692
|
normaal_uitbetaald_minuten?: number;
|
|
83693
|
+
omgezet_vakantie_minuten?: number;
|
|
83694
|
+
overdracht_vorige_minuten?: number;
|
|
81958
83695
|
overuren_minuten?: number;
|
|
81959
83696
|
plus_minuten?: number;
|
|
83697
|
+
rest_overuren_minuten?: number;
|
|
81960
83698
|
status?: string;
|
|
81961
83699
|
totaal_uitbetaald_minuten?: number;
|
|
81962
83700
|
updated_at?: string;
|
|
83701
|
+
vakantie_uren_bijgeschreven?: number;
|
|
81963
83702
|
};
|
|
81964
83703
|
Relationships: [];
|
|
81965
83704
|
};
|
|
@@ -82371,6 +84110,51 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82371
84110
|
referencedColumns: ["id"];
|
|
82372
84111
|
}];
|
|
82373
84112
|
};
|
|
84113
|
+
vakantie_uitbetalingen: {
|
|
84114
|
+
Row: {
|
|
84115
|
+
created_at: string;
|
|
84116
|
+
created_by: string | null;
|
|
84117
|
+
days: number;
|
|
84118
|
+
id: string;
|
|
84119
|
+
note: string | null;
|
|
84120
|
+
updated_at: string;
|
|
84121
|
+
user_id: string;
|
|
84122
|
+
year: number;
|
|
84123
|
+
};
|
|
84124
|
+
Insert: {
|
|
84125
|
+
created_at?: string;
|
|
84126
|
+
created_by?: string | null;
|
|
84127
|
+
days: number;
|
|
84128
|
+
id?: string;
|
|
84129
|
+
note?: string | null;
|
|
84130
|
+
updated_at?: string;
|
|
84131
|
+
user_id: string;
|
|
84132
|
+
year?: number;
|
|
84133
|
+
};
|
|
84134
|
+
Update: {
|
|
84135
|
+
created_at?: string;
|
|
84136
|
+
created_by?: string | null;
|
|
84137
|
+
days?: number;
|
|
84138
|
+
id?: string;
|
|
84139
|
+
note?: string | null;
|
|
84140
|
+
updated_at?: string;
|
|
84141
|
+
user_id?: string;
|
|
84142
|
+
year?: number;
|
|
84143
|
+
};
|
|
84144
|
+
Relationships: [{
|
|
84145
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
84146
|
+
columns: ["created_by"];
|
|
84147
|
+
isOneToOne: false;
|
|
84148
|
+
referencedRelation: "profiles";
|
|
84149
|
+
referencedColumns: ["id"];
|
|
84150
|
+
}, {
|
|
84151
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
84152
|
+
columns: ["user_id"];
|
|
84153
|
+
isOneToOne: false;
|
|
84154
|
+
referencedRelation: "profiles";
|
|
84155
|
+
referencedColumns: ["id"];
|
|
84156
|
+
}];
|
|
84157
|
+
};
|
|
82374
84158
|
van_inventories: {
|
|
82375
84159
|
Row: {
|
|
82376
84160
|
barcode: string | null;
|
|
@@ -83655,6 +85439,78 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
83655
85439
|
referencedColumns: ["id"];
|
|
83656
85440
|
}];
|
|
83657
85441
|
};
|
|
85442
|
+
werkbon_voorstellen: {
|
|
85443
|
+
Row: {
|
|
85444
|
+
bron_werkbon_id: string;
|
|
85445
|
+
budget_mandate_cents: number;
|
|
85446
|
+
created_at: string;
|
|
85447
|
+
created_by: string;
|
|
85448
|
+
customer_id: string | null;
|
|
85449
|
+
id: string;
|
|
85450
|
+
payload: import("../integrations/supabase/types").Json;
|
|
85451
|
+
reden: string | null;
|
|
85452
|
+
status: string;
|
|
85453
|
+
updated_at: string;
|
|
85454
|
+
verwerkt_door: string | null;
|
|
85455
|
+
verwerkt_op: string | null;
|
|
85456
|
+
werkbon_id: string | null;
|
|
85457
|
+
};
|
|
85458
|
+
Insert: {
|
|
85459
|
+
bron_werkbon_id: string;
|
|
85460
|
+
budget_mandate_cents?: number;
|
|
85461
|
+
created_at?: string;
|
|
85462
|
+
created_by?: string;
|
|
85463
|
+
customer_id?: string | null;
|
|
85464
|
+
id?: string;
|
|
85465
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
85466
|
+
reden?: string | null;
|
|
85467
|
+
status?: string;
|
|
85468
|
+
updated_at?: string;
|
|
85469
|
+
verwerkt_door?: string | null;
|
|
85470
|
+
verwerkt_op?: string | null;
|
|
85471
|
+
werkbon_id?: string | null;
|
|
85472
|
+
};
|
|
85473
|
+
Update: {
|
|
85474
|
+
bron_werkbon_id?: string;
|
|
85475
|
+
budget_mandate_cents?: number;
|
|
85476
|
+
created_at?: string;
|
|
85477
|
+
created_by?: string;
|
|
85478
|
+
customer_id?: string | null;
|
|
85479
|
+
id?: string;
|
|
85480
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
85481
|
+
reden?: string | null;
|
|
85482
|
+
status?: string;
|
|
85483
|
+
updated_at?: string;
|
|
85484
|
+
verwerkt_door?: string | null;
|
|
85485
|
+
verwerkt_op?: string | null;
|
|
85486
|
+
werkbon_id?: string | null;
|
|
85487
|
+
};
|
|
85488
|
+
Relationships: [{
|
|
85489
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
85490
|
+
columns: ["bron_werkbon_id"];
|
|
85491
|
+
isOneToOne: false;
|
|
85492
|
+
referencedRelation: "werkbonnen";
|
|
85493
|
+
referencedColumns: ["id"];
|
|
85494
|
+
}, {
|
|
85495
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
85496
|
+
columns: ["bron_werkbon_id"];
|
|
85497
|
+
isOneToOne: false;
|
|
85498
|
+
referencedRelation: "wo_overview";
|
|
85499
|
+
referencedColumns: ["id"];
|
|
85500
|
+
}, {
|
|
85501
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
85502
|
+
columns: ["werkbon_id"];
|
|
85503
|
+
isOneToOne: false;
|
|
85504
|
+
referencedRelation: "werkbonnen";
|
|
85505
|
+
referencedColumns: ["id"];
|
|
85506
|
+
}, {
|
|
85507
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
85508
|
+
columns: ["werkbon_id"];
|
|
85509
|
+
isOneToOne: false;
|
|
85510
|
+
referencedRelation: "wo_overview";
|
|
85511
|
+
referencedColumns: ["id"];
|
|
85512
|
+
}];
|
|
85513
|
+
};
|
|
83658
85514
|
werkbonnen: {
|
|
83659
85515
|
Row: {
|
|
83660
85516
|
assigned_user_id: string | null;
|
|
@@ -84895,6 +86751,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
84895
86751
|
};
|
|
84896
86752
|
Returns: undefined;
|
|
84897
86753
|
};
|
|
86754
|
+
_wo_is_planner: {
|
|
86755
|
+
Args: never;
|
|
86756
|
+
Returns: boolean;
|
|
86757
|
+
};
|
|
84898
86758
|
afh_city_code: {
|
|
84899
86759
|
Args: {
|
|
84900
86760
|
_city: string;
|
|
@@ -86007,6 +87867,22 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86007
87867
|
};
|
|
86008
87868
|
Returns: number;
|
|
86009
87869
|
};
|
|
87870
|
+
get_product_stock: {
|
|
87871
|
+
Args: {
|
|
87872
|
+
p_product_id: string;
|
|
87873
|
+
};
|
|
87874
|
+
Returns: {
|
|
87875
|
+
connection_id: string;
|
|
87876
|
+
incoming_stock: number;
|
|
87877
|
+
minimum_stock: number;
|
|
87878
|
+
notes: string;
|
|
87879
|
+
physical_stock: number;
|
|
87880
|
+
product_id: string;
|
|
87881
|
+
reserved_stock: number;
|
|
87882
|
+
trade_item_key: string;
|
|
87883
|
+
updated_at: string;
|
|
87884
|
+
}[];
|
|
87885
|
+
};
|
|
86010
87886
|
get_room_busy_windows: {
|
|
86011
87887
|
Args: {
|
|
86012
87888
|
p_from: string;
|
|
@@ -86311,13 +88187,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86311
88187
|
};
|
|
86312
88188
|
Returns: import("../integrations/supabase/types").Json;
|
|
86313
88189
|
};
|
|
88190
|
+
inkoop_get_supplier_request: {
|
|
88191
|
+
Args: {
|
|
88192
|
+
_token: string;
|
|
88193
|
+
};
|
|
88194
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88195
|
+
};
|
|
88196
|
+
inkoop_hash_token: {
|
|
88197
|
+
Args: {
|
|
88198
|
+
_token: string;
|
|
88199
|
+
};
|
|
88200
|
+
Returns: string;
|
|
88201
|
+
};
|
|
88202
|
+
inkoop_html_escape: {
|
|
88203
|
+
Args: {
|
|
88204
|
+
_t: string;
|
|
88205
|
+
};
|
|
88206
|
+
Returns: string;
|
|
88207
|
+
};
|
|
88208
|
+
inkoop_list_artikelen: {
|
|
88209
|
+
Args: never;
|
|
88210
|
+
Returns: {
|
|
88211
|
+
article_number: string;
|
|
88212
|
+
barcode: string;
|
|
88213
|
+
id: string;
|
|
88214
|
+
incoming_quantity: number;
|
|
88215
|
+
is_layer: boolean;
|
|
88216
|
+
location: string;
|
|
88217
|
+
min_quantity: number;
|
|
88218
|
+
preferred_supplier_name: string;
|
|
88219
|
+
product: string;
|
|
88220
|
+
product_type: string;
|
|
88221
|
+
purchase_price: number;
|
|
88222
|
+
quantity: number;
|
|
88223
|
+
sale_price: number;
|
|
88224
|
+
supplier_count: number;
|
|
88225
|
+
unit: string;
|
|
88226
|
+
}[];
|
|
88227
|
+
};
|
|
86314
88228
|
inkoop_next_order_number: {
|
|
86315
88229
|
Args: never;
|
|
86316
88230
|
Returns: string;
|
|
86317
88231
|
};
|
|
88232
|
+
inkoop_process_request: {
|
|
88233
|
+
Args: {
|
|
88234
|
+
_request_id: string;
|
|
88235
|
+
};
|
|
88236
|
+
Returns: undefined;
|
|
88237
|
+
};
|
|
86318
88238
|
inkoop_send_order: {
|
|
86319
88239
|
Args: {
|
|
88240
|
+
_base_url?: string;
|
|
88241
|
+
_order_id: string;
|
|
88242
|
+
};
|
|
88243
|
+
Returns: {
|
|
88244
|
+
outbox_id: string;
|
|
88245
|
+
supplier_name: string;
|
|
88246
|
+
to_address: string;
|
|
88247
|
+
}[];
|
|
88248
|
+
} | {
|
|
88249
|
+
Args: {
|
|
88250
|
+
_base_url?: string;
|
|
86320
88251
|
_order_id: string;
|
|
88252
|
+
_resend?: boolean;
|
|
86321
88253
|
};
|
|
86322
88254
|
Returns: {
|
|
86323
88255
|
outbox_id: string;
|
|
@@ -86325,6 +88257,33 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86325
88257
|
to_address: string;
|
|
86326
88258
|
}[];
|
|
86327
88259
|
};
|
|
88260
|
+
inkoop_set_preferred_supplier: {
|
|
88261
|
+
Args: {
|
|
88262
|
+
_product_id: string;
|
|
88263
|
+
_supplier_id: string;
|
|
88264
|
+
};
|
|
88265
|
+
Returns: undefined;
|
|
88266
|
+
};
|
|
88267
|
+
inkoop_stock_key: {
|
|
88268
|
+
Args: {
|
|
88269
|
+
p_product_id: string;
|
|
88270
|
+
};
|
|
88271
|
+
Returns: string;
|
|
88272
|
+
};
|
|
88273
|
+
inkoop_submit_supplier_response: {
|
|
88274
|
+
Args: {
|
|
88275
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
88276
|
+
_note?: string;
|
|
88277
|
+
_token: string;
|
|
88278
|
+
};
|
|
88279
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88280
|
+
};
|
|
88281
|
+
inkoop_sync_item_stock: {
|
|
88282
|
+
Args: {
|
|
88283
|
+
p_item_id: string;
|
|
88284
|
+
};
|
|
88285
|
+
Returns: undefined;
|
|
88286
|
+
};
|
|
86328
88287
|
instructie_get: {
|
|
86329
88288
|
Args: {
|
|
86330
88289
|
_sleutel: string;
|
|
@@ -86344,6 +88303,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86344
88303
|
};
|
|
86345
88304
|
Returns: number;
|
|
86346
88305
|
};
|
|
88306
|
+
invoice_branding_snapshot: {
|
|
88307
|
+
Args: never;
|
|
88308
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88309
|
+
};
|
|
86347
88310
|
invoice_create_from_source: {
|
|
86348
88311
|
Args: {
|
|
86349
88312
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -86378,6 +88341,17 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86378
88341
|
};
|
|
86379
88342
|
Returns: import("../integrations/supabase/types").Json;
|
|
86380
88343
|
};
|
|
88344
|
+
invoice_mark_sent: {
|
|
88345
|
+
Args: {
|
|
88346
|
+
_invoice_id: string;
|
|
88347
|
+
_to: string;
|
|
88348
|
+
};
|
|
88349
|
+
Returns: undefined;
|
|
88350
|
+
};
|
|
88351
|
+
invoice_peek_next_number: {
|
|
88352
|
+
Args: never;
|
|
88353
|
+
Returns: string;
|
|
88354
|
+
};
|
|
86381
88355
|
invoice_ready_work_orders: {
|
|
86382
88356
|
Args: {
|
|
86383
88357
|
_limit?: number;
|
|
@@ -86390,6 +88364,18 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86390
88364
|
};
|
|
86391
88365
|
Returns: import("../integrations/supabase/types").Json;
|
|
86392
88366
|
};
|
|
88367
|
+
invoice_save_branding_settings: {
|
|
88368
|
+
Args: {
|
|
88369
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
88370
|
+
};
|
|
88371
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88372
|
+
};
|
|
88373
|
+
invoice_set_email_purpose: {
|
|
88374
|
+
Args: {
|
|
88375
|
+
_purpose: string;
|
|
88376
|
+
};
|
|
88377
|
+
Returns: string;
|
|
88378
|
+
};
|
|
86393
88379
|
invoice_source_lines: {
|
|
86394
88380
|
Args: {
|
|
86395
88381
|
_source_id: string;
|
|
@@ -86397,6 +88383,19 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86397
88383
|
};
|
|
86398
88384
|
Returns: import("../integrations/supabase/types").Json;
|
|
86399
88385
|
};
|
|
88386
|
+
invoice_update_full: {
|
|
88387
|
+
Args: {
|
|
88388
|
+
_invoice_id: string;
|
|
88389
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
88390
|
+
};
|
|
88391
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88392
|
+
};
|
|
88393
|
+
invoice_work_order_locked: {
|
|
88394
|
+
Args: {
|
|
88395
|
+
_werkbon_id: string;
|
|
88396
|
+
};
|
|
88397
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88398
|
+
};
|
|
86400
88399
|
is_authenticated: {
|
|
86401
88400
|
Args: never;
|
|
86402
88401
|
Returns: boolean;
|
|
@@ -87556,6 +89555,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
87556
89555
|
Args: never;
|
|
87557
89556
|
Returns: string;
|
|
87558
89557
|
};
|
|
89558
|
+
logistics_order_backlog_info: {
|
|
89559
|
+
Args: {
|
|
89560
|
+
p_order_id: string;
|
|
89561
|
+
};
|
|
89562
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89563
|
+
};
|
|
87559
89564
|
logistics_order_cart_approval: {
|
|
87560
89565
|
Args: {
|
|
87561
89566
|
_order_ref: string;
|
|
@@ -87646,6 +89651,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
87646
89651
|
};
|
|
87647
89652
|
Returns: boolean;
|
|
87648
89653
|
};
|
|
89654
|
+
logistics_order_is_backlog: {
|
|
89655
|
+
Args: {
|
|
89656
|
+
p_order_id: string;
|
|
89657
|
+
};
|
|
89658
|
+
Returns: boolean;
|
|
89659
|
+
};
|
|
87649
89660
|
logistics_order_is_topick: {
|
|
87650
89661
|
Args: {
|
|
87651
89662
|
p_order_id: string;
|
|
@@ -87787,6 +89798,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
87787
89798
|
shifted_count: number;
|
|
87788
89799
|
}[];
|
|
87789
89800
|
};
|
|
89801
|
+
logistics_pick_backlog_max_days: {
|
|
89802
|
+
Args: never;
|
|
89803
|
+
Returns: number;
|
|
89804
|
+
};
|
|
87790
89805
|
logistics_pick_barcode_enabled: {
|
|
87791
89806
|
Args: never;
|
|
87792
89807
|
Returns: boolean;
|
|
@@ -88402,12 +90417,27 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
88402
90417
|
Args: never;
|
|
88403
90418
|
Returns: import("../integrations/supabase/types").Json;
|
|
88404
90419
|
};
|
|
90420
|
+
logistics_sync_pick_queue_backlog: {
|
|
90421
|
+
Args: never;
|
|
90422
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90423
|
+
};
|
|
90424
|
+
logistics_sync_pick_queue_core: {
|
|
90425
|
+
Args: never;
|
|
90426
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90427
|
+
};
|
|
88405
90428
|
logistics_sync_task_carriers: {
|
|
88406
90429
|
Args: {
|
|
88407
90430
|
p_order_ref?: string;
|
|
88408
90431
|
};
|
|
88409
90432
|
Returns: number;
|
|
88410
90433
|
};
|
|
90434
|
+
logistics_task_open_counts: {
|
|
90435
|
+
Args: never;
|
|
90436
|
+
Returns: {
|
|
90437
|
+
open_count: number;
|
|
90438
|
+
owner_module: string;
|
|
90439
|
+
}[];
|
|
90440
|
+
};
|
|
88411
90441
|
logistics_task_owner: {
|
|
88412
90442
|
Args: {
|
|
88413
90443
|
p_task_type: string;
|
|
@@ -89696,6 +91726,19 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
89696
91726
|
};
|
|
89697
91727
|
Returns: boolean;
|
|
89698
91728
|
};
|
|
91729
|
+
quote_assign_number: {
|
|
91730
|
+
Args: {
|
|
91731
|
+
_offerte_id: string;
|
|
91732
|
+
};
|
|
91733
|
+
Returns: string;
|
|
91734
|
+
};
|
|
91735
|
+
quote_create_follow_up_now: {
|
|
91736
|
+
Args: {
|
|
91737
|
+
_offerte_id: string;
|
|
91738
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
91739
|
+
};
|
|
91740
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
91741
|
+
};
|
|
89699
91742
|
quote_create_from_source: {
|
|
89700
91743
|
Args: {
|
|
89701
91744
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -90409,6 +92452,26 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90409
92452
|
};
|
|
90410
92453
|
Returns: undefined;
|
|
90411
92454
|
};
|
|
92455
|
+
set_product_stock: {
|
|
92456
|
+
Args: {
|
|
92457
|
+
p_incoming_stock?: number;
|
|
92458
|
+
p_minimum_stock?: number;
|
|
92459
|
+
p_notes?: string;
|
|
92460
|
+
p_physical_stock: number;
|
|
92461
|
+
p_product_id: string;
|
|
92462
|
+
};
|
|
92463
|
+
Returns: {
|
|
92464
|
+
connection_id: string;
|
|
92465
|
+
incoming_stock: number;
|
|
92466
|
+
minimum_stock: number;
|
|
92467
|
+
notes: string;
|
|
92468
|
+
physical_stock: number;
|
|
92469
|
+
product_id: string;
|
|
92470
|
+
reserved_stock: number;
|
|
92471
|
+
trade_item_key: string;
|
|
92472
|
+
updated_at: string;
|
|
92473
|
+
}[];
|
|
92474
|
+
};
|
|
90412
92475
|
show_limit: {
|
|
90413
92476
|
Args: never;
|
|
90414
92477
|
Returns: number;
|
|
@@ -90933,6 +92996,13 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90933
92996
|
};
|
|
90934
92997
|
Returns: number;
|
|
90935
92998
|
};
|
|
92999
|
+
vakantie_overuren: {
|
|
93000
|
+
Args: {
|
|
93001
|
+
_user_id: string;
|
|
93002
|
+
_year?: number;
|
|
93003
|
+
};
|
|
93004
|
+
Returns: number;
|
|
93005
|
+
};
|
|
90936
93006
|
vakantie_saldo: {
|
|
90937
93007
|
Args: {
|
|
90938
93008
|
_user_id: string;
|
|
@@ -90940,7 +93010,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90940
93010
|
};
|
|
90941
93011
|
Returns: {
|
|
90942
93012
|
day_hours: number;
|
|
93013
|
+
earned_from_overtime_days: number;
|
|
90943
93014
|
entitlement_days: number;
|
|
93015
|
+
hours_to_next_day: number;
|
|
93016
|
+
overtime_hours: number;
|
|
93017
|
+
overtime_remainder_hours: number;
|
|
93018
|
+
paid_out_days: number;
|
|
90944
93019
|
remaining_days: number;
|
|
90945
93020
|
used_days: number;
|
|
90946
93021
|
}[];
|
|
@@ -90951,7 +93026,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90951
93026
|
};
|
|
90952
93027
|
Returns: {
|
|
90953
93028
|
day_hours: number;
|
|
93029
|
+
earned_from_overtime_days: number;
|
|
90954
93030
|
entitlement_days: number;
|
|
93031
|
+
hours_to_next_day: number;
|
|
93032
|
+
overtime_hours: number;
|
|
93033
|
+
overtime_remainder_hours: number;
|
|
93034
|
+
paid_out_days: number;
|
|
90955
93035
|
remaining_days: number;
|
|
90956
93036
|
used_days: number;
|
|
90957
93037
|
user_id: string;
|
|
@@ -91005,12 +93085,25 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
91005
93085
|
};
|
|
91006
93086
|
Returns: import("../integrations/supabase/types").Json;
|
|
91007
93087
|
};
|
|
93088
|
+
wo_list_proposals: {
|
|
93089
|
+
Args: {
|
|
93090
|
+
_status?: string;
|
|
93091
|
+
};
|
|
93092
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93093
|
+
};
|
|
91008
93094
|
wo_process_offerte_request: {
|
|
91009
93095
|
Args: {
|
|
91010
93096
|
_queue_id: string;
|
|
91011
93097
|
};
|
|
91012
93098
|
Returns: import("../integrations/supabase/types").Json;
|
|
91013
93099
|
};
|
|
93100
|
+
wo_process_proposal: {
|
|
93101
|
+
Args: {
|
|
93102
|
+
_id: string;
|
|
93103
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
93104
|
+
};
|
|
93105
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93106
|
+
};
|
|
91014
93107
|
wo_reject_offerte_request: {
|
|
91015
93108
|
Args: {
|
|
91016
93109
|
_queue_id: string;
|
|
@@ -91018,6 +93111,13 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
91018
93111
|
};
|
|
91019
93112
|
Returns: import("../integrations/supabase/types").Json;
|
|
91020
93113
|
};
|
|
93114
|
+
wo_reject_proposal: {
|
|
93115
|
+
Args: {
|
|
93116
|
+
_id: string;
|
|
93117
|
+
_reden?: string;
|
|
93118
|
+
};
|
|
93119
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93120
|
+
};
|
|
91021
93121
|
wo_set_status: {
|
|
91022
93122
|
Args: {
|
|
91023
93123
|
_reason?: string;
|