@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
|
@@ -8264,6 +8264,72 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8264
8264
|
};
|
|
8265
8265
|
Relationships: [];
|
|
8266
8266
|
};
|
|
8267
|
+
invoice_branding_settings: {
|
|
8268
|
+
Row: {
|
|
8269
|
+
address: string;
|
|
8270
|
+
chamber_of_commerce_number: string;
|
|
8271
|
+
city: string;
|
|
8272
|
+
company_name: string;
|
|
8273
|
+
created_at: string;
|
|
8274
|
+
email: string;
|
|
8275
|
+
email_purpose: string | null;
|
|
8276
|
+
iban: string;
|
|
8277
|
+
logo_path: string | null;
|
|
8278
|
+
payment_term_days: number;
|
|
8279
|
+
phone: string;
|
|
8280
|
+
postal_code: string;
|
|
8281
|
+
primary_color: string;
|
|
8282
|
+
secondary_color: string;
|
|
8283
|
+
show_company_name: boolean;
|
|
8284
|
+
singleton_key: boolean;
|
|
8285
|
+
updated_at: string;
|
|
8286
|
+
vat_identification_number: string;
|
|
8287
|
+
website: string;
|
|
8288
|
+
};
|
|
8289
|
+
Insert: {
|
|
8290
|
+
address?: string;
|
|
8291
|
+
chamber_of_commerce_number?: string;
|
|
8292
|
+
city?: string;
|
|
8293
|
+
company_name?: string;
|
|
8294
|
+
created_at?: string;
|
|
8295
|
+
email?: string;
|
|
8296
|
+
email_purpose?: string | null;
|
|
8297
|
+
iban?: string;
|
|
8298
|
+
logo_path?: string | null;
|
|
8299
|
+
payment_term_days?: number;
|
|
8300
|
+
phone?: string;
|
|
8301
|
+
postal_code?: string;
|
|
8302
|
+
primary_color?: string;
|
|
8303
|
+
secondary_color?: string;
|
|
8304
|
+
show_company_name?: boolean;
|
|
8305
|
+
singleton_key?: boolean;
|
|
8306
|
+
updated_at?: string;
|
|
8307
|
+
vat_identification_number?: string;
|
|
8308
|
+
website?: string;
|
|
8309
|
+
};
|
|
8310
|
+
Update: {
|
|
8311
|
+
address?: string;
|
|
8312
|
+
chamber_of_commerce_number?: string;
|
|
8313
|
+
city?: string;
|
|
8314
|
+
company_name?: string;
|
|
8315
|
+
created_at?: string;
|
|
8316
|
+
email?: string;
|
|
8317
|
+
email_purpose?: string | null;
|
|
8318
|
+
iban?: string;
|
|
8319
|
+
logo_path?: string | null;
|
|
8320
|
+
payment_term_days?: number;
|
|
8321
|
+
phone?: string;
|
|
8322
|
+
postal_code?: string;
|
|
8323
|
+
primary_color?: string;
|
|
8324
|
+
secondary_color?: string;
|
|
8325
|
+
show_company_name?: boolean;
|
|
8326
|
+
singleton_key?: boolean;
|
|
8327
|
+
updated_at?: string;
|
|
8328
|
+
vat_identification_number?: string;
|
|
8329
|
+
website?: string;
|
|
8330
|
+
};
|
|
8331
|
+
Relationships: [];
|
|
8332
|
+
};
|
|
8267
8333
|
invoice_items: {
|
|
8268
8334
|
Row: {
|
|
8269
8335
|
created_at: string;
|
|
@@ -8277,6 +8343,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8277
8343
|
total_cents: number;
|
|
8278
8344
|
unit: string;
|
|
8279
8345
|
unit_price_cents: number;
|
|
8346
|
+
vat_rate: number | null;
|
|
8280
8347
|
};
|
|
8281
8348
|
Insert: {
|
|
8282
8349
|
created_at?: string;
|
|
@@ -8290,6 +8357,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8290
8357
|
total_cents?: number;
|
|
8291
8358
|
unit?: string;
|
|
8292
8359
|
unit_price_cents?: number;
|
|
8360
|
+
vat_rate?: number | null;
|
|
8293
8361
|
};
|
|
8294
8362
|
Update: {
|
|
8295
8363
|
created_at?: string;
|
|
@@ -8303,6 +8371,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8303
8371
|
total_cents?: number;
|
|
8304
8372
|
unit?: string;
|
|
8305
8373
|
unit_price_cents?: number;
|
|
8374
|
+
vat_rate?: number | null;
|
|
8306
8375
|
};
|
|
8307
8376
|
Relationships: [{
|
|
8308
8377
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8548,6 +8617,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8548
8617
|
};
|
|
8549
8618
|
invoices: {
|
|
8550
8619
|
Row: {
|
|
8620
|
+
branding_snapshot: import("./types").Json | null;
|
|
8551
8621
|
created_at: string;
|
|
8552
8622
|
created_by: string | null;
|
|
8553
8623
|
customer_address: string | null;
|
|
@@ -8566,6 +8636,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8566
8636
|
note: string | null;
|
|
8567
8637
|
payment_term_days: number;
|
|
8568
8638
|
reference: string | null;
|
|
8639
|
+
sent_at: string | null;
|
|
8640
|
+
sent_to: string | null;
|
|
8569
8641
|
source_number: string | null;
|
|
8570
8642
|
source_ref: string | null;
|
|
8571
8643
|
source_type: string;
|
|
@@ -8578,6 +8650,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8578
8650
|
work_address: string | null;
|
|
8579
8651
|
};
|
|
8580
8652
|
Insert: {
|
|
8653
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8581
8654
|
created_at?: string;
|
|
8582
8655
|
created_by?: string | null;
|
|
8583
8656
|
customer_address?: string | null;
|
|
@@ -8596,6 +8669,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8596
8669
|
note?: string | null;
|
|
8597
8670
|
payment_term_days?: number;
|
|
8598
8671
|
reference?: string | null;
|
|
8672
|
+
sent_at?: string | null;
|
|
8673
|
+
sent_to?: string | null;
|
|
8599
8674
|
source_number?: string | null;
|
|
8600
8675
|
source_ref?: string | null;
|
|
8601
8676
|
source_type?: string;
|
|
@@ -8608,6 +8683,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8608
8683
|
work_address?: string | null;
|
|
8609
8684
|
};
|
|
8610
8685
|
Update: {
|
|
8686
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8611
8687
|
created_at?: string;
|
|
8612
8688
|
created_by?: string | null;
|
|
8613
8689
|
customer_address?: string | null;
|
|
@@ -8626,6 +8702,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8626
8702
|
note?: string | null;
|
|
8627
8703
|
payment_term_days?: number;
|
|
8628
8704
|
reference?: string | null;
|
|
8705
|
+
sent_at?: string | null;
|
|
8706
|
+
sent_to?: string | null;
|
|
8629
8707
|
source_number?: string | null;
|
|
8630
8708
|
source_ref?: string | null;
|
|
8631
8709
|
source_type?: string;
|
|
@@ -9334,6 +9412,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9334
9412
|
quantity: number;
|
|
9335
9413
|
sort_order: number;
|
|
9336
9414
|
source: string;
|
|
9415
|
+
unit: string | null;
|
|
9337
9416
|
unit_price_cents: number;
|
|
9338
9417
|
updated_at: string;
|
|
9339
9418
|
};
|
|
@@ -9347,6 +9426,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9347
9426
|
quantity?: number;
|
|
9348
9427
|
sort_order?: number;
|
|
9349
9428
|
source?: string;
|
|
9429
|
+
unit?: string | null;
|
|
9350
9430
|
unit_price_cents?: number;
|
|
9351
9431
|
updated_at?: string;
|
|
9352
9432
|
};
|
|
@@ -9360,6 +9440,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9360
9440
|
quantity?: number;
|
|
9361
9441
|
sort_order?: number;
|
|
9362
9442
|
source?: string;
|
|
9443
|
+
unit?: string | null;
|
|
9363
9444
|
unit_price_cents?: number;
|
|
9364
9445
|
updated_at?: string;
|
|
9365
9446
|
};
|
|
@@ -9383,6 +9464,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9383
9464
|
created_at: string;
|
|
9384
9465
|
default_geldigheid_dagen: number;
|
|
9385
9466
|
default_vat_rate: number;
|
|
9467
|
+
email_purpose: string | null;
|
|
9386
9468
|
id: string;
|
|
9387
9469
|
singleton: boolean;
|
|
9388
9470
|
updated_at: string;
|
|
@@ -9392,6 +9474,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9392
9474
|
created_at?: string;
|
|
9393
9475
|
default_geldigheid_dagen?: number;
|
|
9394
9476
|
default_vat_rate?: number;
|
|
9477
|
+
email_purpose?: string | null;
|
|
9395
9478
|
id?: string;
|
|
9396
9479
|
singleton?: boolean;
|
|
9397
9480
|
updated_at?: string;
|
|
@@ -9401,6 +9484,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9401
9484
|
created_at?: string;
|
|
9402
9485
|
default_geldigheid_dagen?: number;
|
|
9403
9486
|
default_vat_rate?: number;
|
|
9487
|
+
email_purpose?: string | null;
|
|
9404
9488
|
id?: string;
|
|
9405
9489
|
singleton?: boolean;
|
|
9406
9490
|
updated_at?: string;
|
|
@@ -9493,6 +9577,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9493
9577
|
};
|
|
9494
9578
|
itk_offertes: {
|
|
9495
9579
|
Row: {
|
|
9580
|
+
aandachtspunten: string | null;
|
|
9496
9581
|
ai_generated: boolean;
|
|
9497
9582
|
approved_at: string | null;
|
|
9498
9583
|
binnen_mandaat: boolean;
|
|
@@ -9508,6 +9593,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9508
9593
|
notities: string | null;
|
|
9509
9594
|
offerte_number: string | null;
|
|
9510
9595
|
omschrijving: string;
|
|
9596
|
+
onderwerp: string | null;
|
|
9511
9597
|
rejected_at: string | null;
|
|
9512
9598
|
sent_at: string | null;
|
|
9513
9599
|
source_number: string | null;
|
|
@@ -9520,12 +9606,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9520
9606
|
valid_until: string | null;
|
|
9521
9607
|
vat_cents: number;
|
|
9522
9608
|
vat_rate: number;
|
|
9609
|
+
verzonden_naar: string | null;
|
|
9523
9610
|
viewed_at: string | null;
|
|
9524
9611
|
volgnummer: number | null;
|
|
9612
|
+
voorwaarden: string | null;
|
|
9525
9613
|
werkbon_id: string | null;
|
|
9526
9614
|
work_location_id: string | null;
|
|
9527
9615
|
};
|
|
9528
9616
|
Insert: {
|
|
9617
|
+
aandachtspunten?: string | null;
|
|
9529
9618
|
ai_generated?: boolean;
|
|
9530
9619
|
approved_at?: string | null;
|
|
9531
9620
|
binnen_mandaat?: boolean;
|
|
@@ -9541,6 +9630,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9541
9630
|
notities?: string | null;
|
|
9542
9631
|
offerte_number?: string | null;
|
|
9543
9632
|
omschrijving?: string;
|
|
9633
|
+
onderwerp?: string | null;
|
|
9544
9634
|
rejected_at?: string | null;
|
|
9545
9635
|
sent_at?: string | null;
|
|
9546
9636
|
source_number?: string | null;
|
|
@@ -9553,12 +9643,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9553
9643
|
valid_until?: string | null;
|
|
9554
9644
|
vat_cents?: number;
|
|
9555
9645
|
vat_rate?: number;
|
|
9646
|
+
verzonden_naar?: string | null;
|
|
9556
9647
|
viewed_at?: string | null;
|
|
9557
9648
|
volgnummer?: number | null;
|
|
9649
|
+
voorwaarden?: string | null;
|
|
9558
9650
|
werkbon_id?: string | null;
|
|
9559
9651
|
work_location_id?: string | null;
|
|
9560
9652
|
};
|
|
9561
9653
|
Update: {
|
|
9654
|
+
aandachtspunten?: string | null;
|
|
9562
9655
|
ai_generated?: boolean;
|
|
9563
9656
|
approved_at?: string | null;
|
|
9564
9657
|
binnen_mandaat?: boolean;
|
|
@@ -9574,6 +9667,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9574
9667
|
notities?: string | null;
|
|
9575
9668
|
offerte_number?: string | null;
|
|
9576
9669
|
omschrijving?: string;
|
|
9670
|
+
onderwerp?: string | null;
|
|
9577
9671
|
rejected_at?: string | null;
|
|
9578
9672
|
sent_at?: string | null;
|
|
9579
9673
|
source_number?: string | null;
|
|
@@ -9586,8 +9680,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9586
9680
|
valid_until?: string | null;
|
|
9587
9681
|
vat_cents?: number;
|
|
9588
9682
|
vat_rate?: number;
|
|
9683
|
+
verzonden_naar?: string | null;
|
|
9589
9684
|
viewed_at?: string | null;
|
|
9590
9685
|
volgnummer?: number | null;
|
|
9686
|
+
voorwaarden?: string | null;
|
|
9591
9687
|
werkbon_id?: string | null;
|
|
9592
9688
|
work_location_id?: string | null;
|
|
9593
9689
|
};
|
|
@@ -14599,6 +14695,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14599
14695
|
next_attempt_at: string;
|
|
14600
14696
|
order_id: string;
|
|
14601
14697
|
processed_at: string | null;
|
|
14698
|
+
send_error: string | null;
|
|
14602
14699
|
status: string;
|
|
14603
14700
|
updated_at: string;
|
|
14604
14701
|
};
|
|
@@ -14612,6 +14709,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14612
14709
|
next_attempt_at?: string;
|
|
14613
14710
|
order_id: string;
|
|
14614
14711
|
processed_at?: string | null;
|
|
14712
|
+
send_error?: string | null;
|
|
14615
14713
|
status?: string;
|
|
14616
14714
|
updated_at?: string;
|
|
14617
14715
|
};
|
|
@@ -14625,6 +14723,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14625
14723
|
next_attempt_at?: string;
|
|
14626
14724
|
order_id?: string;
|
|
14627
14725
|
processed_at?: string | null;
|
|
14726
|
+
send_error?: string | null;
|
|
14628
14727
|
status?: string;
|
|
14629
14728
|
updated_at?: string;
|
|
14630
14729
|
};
|
|
@@ -17654,6 +17753,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17654
17753
|
};
|
|
17655
17754
|
Relationships: [];
|
|
17656
17755
|
};
|
|
17756
|
+
product_suppliers: {
|
|
17757
|
+
Row: {
|
|
17758
|
+
created_at: string;
|
|
17759
|
+
id: string;
|
|
17760
|
+
is_preferred: boolean;
|
|
17761
|
+
lead_time_days: number | null;
|
|
17762
|
+
min_order_quantity: number | null;
|
|
17763
|
+
notes: string | null;
|
|
17764
|
+
product_id: string;
|
|
17765
|
+
purchase_price_cents: number | null;
|
|
17766
|
+
supplier_article_number: string | null;
|
|
17767
|
+
supplier_id: string;
|
|
17768
|
+
updated_at: string;
|
|
17769
|
+
};
|
|
17770
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
17797
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17798
|
+
columns: ["product_id"];
|
|
17799
|
+
isOneToOne: false;
|
|
17800
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17801
|
+
referencedColumns: ["product_id"];
|
|
17802
|
+
}, {
|
|
17803
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17804
|
+
columns: ["product_id"];
|
|
17805
|
+
isOneToOne: false;
|
|
17806
|
+
referencedRelation: "products";
|
|
17807
|
+
referencedColumns: ["id"];
|
|
17808
|
+
}, {
|
|
17809
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17810
|
+
columns: ["supplier_id"];
|
|
17811
|
+
isOneToOne: false;
|
|
17812
|
+
referencedRelation: "suppliers";
|
|
17813
|
+
referencedColumns: ["id"];
|
|
17814
|
+
}];
|
|
17815
|
+
};
|
|
17657
17816
|
product_tray_stickers: {
|
|
17658
17817
|
Row: {
|
|
17659
17818
|
bestand_url: string;
|
|
@@ -18158,9 +18317,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18158
18317
|
purchase_order_items: {
|
|
18159
18318
|
Row: {
|
|
18160
18319
|
article_number: string | null;
|
|
18320
|
+
cancelled_at: string | null;
|
|
18161
18321
|
created_at: string;
|
|
18162
18322
|
delivery_date: string | null;
|
|
18163
18323
|
id: string;
|
|
18324
|
+
incoming_booked: number;
|
|
18325
|
+
line_status: string;
|
|
18164
18326
|
name: string;
|
|
18165
18327
|
note: string | null;
|
|
18166
18328
|
pot_size: string | null;
|
|
@@ -18168,6 +18330,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18168
18330
|
product_type: string;
|
|
18169
18331
|
purchase_order_id: string;
|
|
18170
18332
|
quantity: number;
|
|
18333
|
+
received_at: string | null;
|
|
18334
|
+
received_booked: number;
|
|
18171
18335
|
supplier_id: string | null;
|
|
18172
18336
|
supplier_product_id: string | null;
|
|
18173
18337
|
unit_price_cents: number;
|
|
@@ -18175,9 +18339,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18175
18339
|
};
|
|
18176
18340
|
Insert: {
|
|
18177
18341
|
article_number?: string | null;
|
|
18342
|
+
cancelled_at?: string | null;
|
|
18178
18343
|
created_at?: string;
|
|
18179
18344
|
delivery_date?: string | null;
|
|
18180
18345
|
id?: string;
|
|
18346
|
+
incoming_booked?: number;
|
|
18347
|
+
line_status?: string;
|
|
18181
18348
|
name?: string;
|
|
18182
18349
|
note?: string | null;
|
|
18183
18350
|
pot_size?: string | null;
|
|
@@ -18185,6 +18352,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18185
18352
|
product_type?: string;
|
|
18186
18353
|
purchase_order_id: string;
|
|
18187
18354
|
quantity?: number;
|
|
18355
|
+
received_at?: string | null;
|
|
18356
|
+
received_booked?: number;
|
|
18188
18357
|
supplier_id?: string | null;
|
|
18189
18358
|
supplier_product_id?: string | null;
|
|
18190
18359
|
unit_price_cents?: number;
|
|
@@ -18192,9 +18361,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18192
18361
|
};
|
|
18193
18362
|
Update: {
|
|
18194
18363
|
article_number?: string | null;
|
|
18364
|
+
cancelled_at?: string | null;
|
|
18195
18365
|
created_at?: string;
|
|
18196
18366
|
delivery_date?: string | null;
|
|
18197
18367
|
id?: string;
|
|
18368
|
+
incoming_booked?: number;
|
|
18369
|
+
line_status?: string;
|
|
18198
18370
|
name?: string;
|
|
18199
18371
|
note?: string | null;
|
|
18200
18372
|
pot_size?: string | null;
|
|
@@ -18202,6 +18374,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18202
18374
|
product_type?: string;
|
|
18203
18375
|
purchase_order_id?: string;
|
|
18204
18376
|
quantity?: number;
|
|
18377
|
+
received_at?: string | null;
|
|
18378
|
+
received_booked?: number;
|
|
18205
18379
|
supplier_id?: string | null;
|
|
18206
18380
|
supplier_product_id?: string | null;
|
|
18207
18381
|
unit_price_cents?: number;
|
|
@@ -18305,6 +18479,153 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18305
18479
|
referencedColumns: ["id"];
|
|
18306
18480
|
}];
|
|
18307
18481
|
};
|
|
18482
|
+
purchase_request_events: {
|
|
18483
|
+
Row: {
|
|
18484
|
+
created_at: string;
|
|
18485
|
+
details: import("./types").Json | null;
|
|
18486
|
+
event_type: string;
|
|
18487
|
+
id: string;
|
|
18488
|
+
request_id: string;
|
|
18489
|
+
};
|
|
18490
|
+
Insert: {
|
|
18491
|
+
created_at?: string;
|
|
18492
|
+
details?: import("./types").Json | null;
|
|
18493
|
+
event_type: string;
|
|
18494
|
+
id?: string;
|
|
18495
|
+
request_id: string;
|
|
18496
|
+
};
|
|
18497
|
+
Update: {
|
|
18498
|
+
created_at?: string;
|
|
18499
|
+
details?: import("./types").Json | null;
|
|
18500
|
+
event_type?: string;
|
|
18501
|
+
id?: string;
|
|
18502
|
+
request_id?: string;
|
|
18503
|
+
};
|
|
18504
|
+
Relationships: [{
|
|
18505
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18506
|
+
columns: ["request_id"];
|
|
18507
|
+
isOneToOne: false;
|
|
18508
|
+
referencedRelation: "purchase_requests";
|
|
18509
|
+
referencedColumns: ["id"];
|
|
18510
|
+
}];
|
|
18511
|
+
};
|
|
18512
|
+
purchase_request_responses: {
|
|
18513
|
+
Row: {
|
|
18514
|
+
confirmed_date: string | null;
|
|
18515
|
+
confirmed_price_cents: number | null;
|
|
18516
|
+
confirmed_quantity: number;
|
|
18517
|
+
created_at: string;
|
|
18518
|
+
id: string;
|
|
18519
|
+
not_available: boolean;
|
|
18520
|
+
note: string | null;
|
|
18521
|
+
purchase_order_item_id: string;
|
|
18522
|
+
request_id: string;
|
|
18523
|
+
updated_at: string;
|
|
18524
|
+
};
|
|
18525
|
+
Insert: {
|
|
18526
|
+
confirmed_date?: string | null;
|
|
18527
|
+
confirmed_price_cents?: number | null;
|
|
18528
|
+
confirmed_quantity?: number;
|
|
18529
|
+
created_at?: string;
|
|
18530
|
+
id?: string;
|
|
18531
|
+
not_available?: boolean;
|
|
18532
|
+
note?: string | null;
|
|
18533
|
+
purchase_order_item_id: string;
|
|
18534
|
+
request_id: string;
|
|
18535
|
+
updated_at?: string;
|
|
18536
|
+
};
|
|
18537
|
+
Update: {
|
|
18538
|
+
confirmed_date?: string | null;
|
|
18539
|
+
confirmed_price_cents?: number | null;
|
|
18540
|
+
confirmed_quantity?: number;
|
|
18541
|
+
created_at?: string;
|
|
18542
|
+
id?: string;
|
|
18543
|
+
not_available?: boolean;
|
|
18544
|
+
note?: string | null;
|
|
18545
|
+
purchase_order_item_id?: string;
|
|
18546
|
+
request_id?: string;
|
|
18547
|
+
updated_at?: string;
|
|
18548
|
+
};
|
|
18549
|
+
Relationships: [{
|
|
18550
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18551
|
+
columns: ["purchase_order_item_id"];
|
|
18552
|
+
isOneToOne: false;
|
|
18553
|
+
referencedRelation: "purchase_order_items";
|
|
18554
|
+
referencedColumns: ["id"];
|
|
18555
|
+
}, {
|
|
18556
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18557
|
+
columns: ["request_id"];
|
|
18558
|
+
isOneToOne: false;
|
|
18559
|
+
referencedRelation: "purchase_requests";
|
|
18560
|
+
referencedColumns: ["id"];
|
|
18561
|
+
}];
|
|
18562
|
+
};
|
|
18563
|
+
purchase_requests: {
|
|
18564
|
+
Row: {
|
|
18565
|
+
created_at: string;
|
|
18566
|
+
expires_at: string;
|
|
18567
|
+
first_viewed_at: string | null;
|
|
18568
|
+
id: string;
|
|
18569
|
+
processed_at: string | null;
|
|
18570
|
+
purchase_order_id: string;
|
|
18571
|
+
responded_at: string | null;
|
|
18572
|
+
sent_at: string;
|
|
18573
|
+
status: string;
|
|
18574
|
+
supplier_id: string | null;
|
|
18575
|
+
supplier_name: string;
|
|
18576
|
+
supplier_note: string | null;
|
|
18577
|
+
to_address: string | null;
|
|
18578
|
+
token_hash: string;
|
|
18579
|
+
updated_at: string;
|
|
18580
|
+
};
|
|
18581
|
+
Insert: {
|
|
18582
|
+
created_at?: string;
|
|
18583
|
+
expires_at?: string;
|
|
18584
|
+
first_viewed_at?: string | null;
|
|
18585
|
+
id?: string;
|
|
18586
|
+
processed_at?: string | null;
|
|
18587
|
+
purchase_order_id: string;
|
|
18588
|
+
responded_at?: string | null;
|
|
18589
|
+
sent_at?: string;
|
|
18590
|
+
status?: string;
|
|
18591
|
+
supplier_id?: string | null;
|
|
18592
|
+
supplier_name?: string;
|
|
18593
|
+
supplier_note?: string | null;
|
|
18594
|
+
to_address?: string | null;
|
|
18595
|
+
token_hash: string;
|
|
18596
|
+
updated_at?: string;
|
|
18597
|
+
};
|
|
18598
|
+
Update: {
|
|
18599
|
+
created_at?: string;
|
|
18600
|
+
expires_at?: string;
|
|
18601
|
+
first_viewed_at?: string | null;
|
|
18602
|
+
id?: string;
|
|
18603
|
+
processed_at?: string | null;
|
|
18604
|
+
purchase_order_id?: string;
|
|
18605
|
+
responded_at?: string | null;
|
|
18606
|
+
sent_at?: string;
|
|
18607
|
+
status?: string;
|
|
18608
|
+
supplier_id?: string | null;
|
|
18609
|
+
supplier_name?: string;
|
|
18610
|
+
supplier_note?: string | null;
|
|
18611
|
+
to_address?: string | null;
|
|
18612
|
+
token_hash?: string;
|
|
18613
|
+
updated_at?: string;
|
|
18614
|
+
};
|
|
18615
|
+
Relationships: [{
|
|
18616
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18617
|
+
columns: ["purchase_order_id"];
|
|
18618
|
+
isOneToOne: false;
|
|
18619
|
+
referencedRelation: "purchase_orders";
|
|
18620
|
+
referencedColumns: ["id"];
|
|
18621
|
+
}, {
|
|
18622
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18623
|
+
columns: ["supplier_id"];
|
|
18624
|
+
isOneToOne: false;
|
|
18625
|
+
referencedRelation: "suppliers";
|
|
18626
|
+
referencedColumns: ["id"];
|
|
18627
|
+
}];
|
|
18628
|
+
};
|
|
18308
18629
|
reception_notifications: {
|
|
18309
18630
|
Row: {
|
|
18310
18631
|
booking_id: string | null;
|
|
@@ -20468,6 +20789,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20468
20789
|
auto_invoice_enabled: boolean;
|
|
20469
20790
|
auto_invoice_start_date: string | null;
|
|
20470
20791
|
auto_invoice_trigger_statuses: string[];
|
|
20792
|
+
auto_send_mode: string | null;
|
|
20471
20793
|
created_at: string;
|
|
20472
20794
|
debtor_gl_account: string;
|
|
20473
20795
|
default_article_code: string | null;
|
|
@@ -20496,6 +20818,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20496
20818
|
auto_invoice_enabled?: boolean;
|
|
20497
20819
|
auto_invoice_start_date?: string | null;
|
|
20498
20820
|
auto_invoice_trigger_statuses?: string[];
|
|
20821
|
+
auto_send_mode?: string | null;
|
|
20499
20822
|
created_at?: string;
|
|
20500
20823
|
debtor_gl_account?: string;
|
|
20501
20824
|
default_article_code?: string | null;
|
|
@@ -20524,6 +20847,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20524
20847
|
auto_invoice_enabled?: boolean;
|
|
20525
20848
|
auto_invoice_start_date?: string | null;
|
|
20526
20849
|
auto_invoice_trigger_statuses?: string[];
|
|
20850
|
+
auto_send_mode?: string | null;
|
|
20527
20851
|
created_at?: string;
|
|
20528
20852
|
debtor_gl_account?: string;
|
|
20529
20853
|
default_article_code?: string | null;
|
|
@@ -20967,16 +21291,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20967
21291
|
Row: {
|
|
20968
21292
|
active_environment: string;
|
|
20969
21293
|
id: number;
|
|
21294
|
+
public_base_url: string | null;
|
|
20970
21295
|
updated_at: string;
|
|
20971
21296
|
};
|
|
20972
21297
|
Insert: {
|
|
20973
21298
|
active_environment?: string;
|
|
20974
21299
|
id?: number;
|
|
21300
|
+
public_base_url?: string | null;
|
|
20975
21301
|
updated_at?: string;
|
|
20976
21302
|
};
|
|
20977
21303
|
Update: {
|
|
20978
21304
|
active_environment?: string;
|
|
20979
21305
|
id?: number;
|
|
21306
|
+
public_base_url?: string | null;
|
|
20980
21307
|
updated_at?: string;
|
|
20981
21308
|
};
|
|
20982
21309
|
Relationships: [];
|
|
@@ -21207,11 +21534,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21207
21534
|
monteur_id: string;
|
|
21208
21535
|
netto_verschil_minuten: number;
|
|
21209
21536
|
normaal_uitbetaald_minuten: number;
|
|
21537
|
+
omgezet_vakantie_minuten: number;
|
|
21538
|
+
overdracht_vorige_minuten: number;
|
|
21210
21539
|
overuren_minuten: number;
|
|
21211
21540
|
plus_minuten: number;
|
|
21541
|
+
rest_overuren_minuten: number;
|
|
21212
21542
|
status: string;
|
|
21213
21543
|
totaal_uitbetaald_minuten: number;
|
|
21214
21544
|
updated_at: string;
|
|
21545
|
+
vakantie_uren_bijgeschreven: number;
|
|
21215
21546
|
};
|
|
21216
21547
|
Insert: {
|
|
21217
21548
|
afgesloten_at?: string | null;
|
|
@@ -21228,11 +21559,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21228
21559
|
monteur_id: string;
|
|
21229
21560
|
netto_verschil_minuten?: number;
|
|
21230
21561
|
normaal_uitbetaald_minuten?: number;
|
|
21562
|
+
omgezet_vakantie_minuten?: number;
|
|
21563
|
+
overdracht_vorige_minuten?: number;
|
|
21231
21564
|
overuren_minuten?: number;
|
|
21232
21565
|
plus_minuten?: number;
|
|
21566
|
+
rest_overuren_minuten?: number;
|
|
21233
21567
|
status?: string;
|
|
21234
21568
|
totaal_uitbetaald_minuten?: number;
|
|
21235
21569
|
updated_at?: string;
|
|
21570
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21236
21571
|
};
|
|
21237
21572
|
Update: {
|
|
21238
21573
|
afgesloten_at?: string | null;
|
|
@@ -21249,11 +21584,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21249
21584
|
monteur_id?: string;
|
|
21250
21585
|
netto_verschil_minuten?: number;
|
|
21251
21586
|
normaal_uitbetaald_minuten?: number;
|
|
21587
|
+
omgezet_vakantie_minuten?: number;
|
|
21588
|
+
overdracht_vorige_minuten?: number;
|
|
21252
21589
|
overuren_minuten?: number;
|
|
21253
21590
|
plus_minuten?: number;
|
|
21591
|
+
rest_overuren_minuten?: number;
|
|
21254
21592
|
status?: string;
|
|
21255
21593
|
totaal_uitbetaald_minuten?: number;
|
|
21256
21594
|
updated_at?: string;
|
|
21595
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21257
21596
|
};
|
|
21258
21597
|
Relationships: [];
|
|
21259
21598
|
};
|
|
@@ -21665,6 +22004,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21665
22004
|
referencedColumns: ["id"];
|
|
21666
22005
|
}];
|
|
21667
22006
|
};
|
|
22007
|
+
vakantie_uitbetalingen: {
|
|
22008
|
+
Row: {
|
|
22009
|
+
created_at: string;
|
|
22010
|
+
created_by: string | null;
|
|
22011
|
+
days: number;
|
|
22012
|
+
id: string;
|
|
22013
|
+
note: string | null;
|
|
22014
|
+
updated_at: string;
|
|
22015
|
+
user_id: string;
|
|
22016
|
+
year: number;
|
|
22017
|
+
};
|
|
22018
|
+
Insert: {
|
|
22019
|
+
created_at?: string;
|
|
22020
|
+
created_by?: string | null;
|
|
22021
|
+
days: number;
|
|
22022
|
+
id?: string;
|
|
22023
|
+
note?: string | null;
|
|
22024
|
+
updated_at?: string;
|
|
22025
|
+
user_id: string;
|
|
22026
|
+
year?: number;
|
|
22027
|
+
};
|
|
22028
|
+
Update: {
|
|
22029
|
+
created_at?: string;
|
|
22030
|
+
created_by?: string | null;
|
|
22031
|
+
days?: number;
|
|
22032
|
+
id?: string;
|
|
22033
|
+
note?: string | null;
|
|
22034
|
+
updated_at?: string;
|
|
22035
|
+
user_id?: string;
|
|
22036
|
+
year?: number;
|
|
22037
|
+
};
|
|
22038
|
+
Relationships: [{
|
|
22039
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22040
|
+
columns: ["created_by"];
|
|
22041
|
+
isOneToOne: false;
|
|
22042
|
+
referencedRelation: "profiles";
|
|
22043
|
+
referencedColumns: ["id"];
|
|
22044
|
+
}, {
|
|
22045
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22046
|
+
columns: ["user_id"];
|
|
22047
|
+
isOneToOne: false;
|
|
22048
|
+
referencedRelation: "profiles";
|
|
22049
|
+
referencedColumns: ["id"];
|
|
22050
|
+
}];
|
|
22051
|
+
};
|
|
21668
22052
|
van_inventories: {
|
|
21669
22053
|
Row: {
|
|
21670
22054
|
barcode: string | null;
|
|
@@ -22949,6 +23333,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22949
23333
|
referencedColumns: ["id"];
|
|
22950
23334
|
}];
|
|
22951
23335
|
};
|
|
23336
|
+
werkbon_voorstellen: {
|
|
23337
|
+
Row: {
|
|
23338
|
+
bron_werkbon_id: string;
|
|
23339
|
+
budget_mandate_cents: number;
|
|
23340
|
+
created_at: string;
|
|
23341
|
+
created_by: string;
|
|
23342
|
+
customer_id: string | null;
|
|
23343
|
+
id: string;
|
|
23344
|
+
payload: import("./types").Json;
|
|
23345
|
+
reden: string | null;
|
|
23346
|
+
status: string;
|
|
23347
|
+
updated_at: string;
|
|
23348
|
+
verwerkt_door: string | null;
|
|
23349
|
+
verwerkt_op: string | null;
|
|
23350
|
+
werkbon_id: string | null;
|
|
23351
|
+
};
|
|
23352
|
+
Insert: {
|
|
23353
|
+
bron_werkbon_id: string;
|
|
23354
|
+
budget_mandate_cents?: number;
|
|
23355
|
+
created_at?: string;
|
|
23356
|
+
created_by?: string;
|
|
23357
|
+
customer_id?: string | null;
|
|
23358
|
+
id?: string;
|
|
23359
|
+
payload?: import("./types").Json;
|
|
23360
|
+
reden?: string | null;
|
|
23361
|
+
status?: string;
|
|
23362
|
+
updated_at?: string;
|
|
23363
|
+
verwerkt_door?: string | null;
|
|
23364
|
+
verwerkt_op?: string | null;
|
|
23365
|
+
werkbon_id?: string | null;
|
|
23366
|
+
};
|
|
23367
|
+
Update: {
|
|
23368
|
+
bron_werkbon_id?: string;
|
|
23369
|
+
budget_mandate_cents?: number;
|
|
23370
|
+
created_at?: string;
|
|
23371
|
+
created_by?: string;
|
|
23372
|
+
customer_id?: string | null;
|
|
23373
|
+
id?: string;
|
|
23374
|
+
payload?: import("./types").Json;
|
|
23375
|
+
reden?: string | null;
|
|
23376
|
+
status?: string;
|
|
23377
|
+
updated_at?: string;
|
|
23378
|
+
verwerkt_door?: string | null;
|
|
23379
|
+
verwerkt_op?: string | null;
|
|
23380
|
+
werkbon_id?: string | null;
|
|
23381
|
+
};
|
|
23382
|
+
Relationships: [{
|
|
23383
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23384
|
+
columns: ["bron_werkbon_id"];
|
|
23385
|
+
isOneToOne: false;
|
|
23386
|
+
referencedRelation: "werkbonnen";
|
|
23387
|
+
referencedColumns: ["id"];
|
|
23388
|
+
}, {
|
|
23389
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23390
|
+
columns: ["bron_werkbon_id"];
|
|
23391
|
+
isOneToOne: false;
|
|
23392
|
+
referencedRelation: "wo_overview";
|
|
23393
|
+
referencedColumns: ["id"];
|
|
23394
|
+
}, {
|
|
23395
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23396
|
+
columns: ["werkbon_id"];
|
|
23397
|
+
isOneToOne: false;
|
|
23398
|
+
referencedRelation: "werkbonnen";
|
|
23399
|
+
referencedColumns: ["id"];
|
|
23400
|
+
}, {
|
|
23401
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23402
|
+
columns: ["werkbon_id"];
|
|
23403
|
+
isOneToOne: false;
|
|
23404
|
+
referencedRelation: "wo_overview";
|
|
23405
|
+
referencedColumns: ["id"];
|
|
23406
|
+
}];
|
|
23407
|
+
};
|
|
22952
23408
|
werkbonnen: {
|
|
22953
23409
|
Row: {
|
|
22954
23410
|
assigned_user_id: string | null;
|
|
@@ -24189,6 +24645,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24189
24645
|
};
|
|
24190
24646
|
Returns: undefined;
|
|
24191
24647
|
};
|
|
24648
|
+
_wo_is_planner: {
|
|
24649
|
+
Args: never;
|
|
24650
|
+
Returns: boolean;
|
|
24651
|
+
};
|
|
24192
24652
|
afh_city_code: {
|
|
24193
24653
|
Args: {
|
|
24194
24654
|
_city: string;
|
|
@@ -25301,6 +25761,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25301
25761
|
};
|
|
25302
25762
|
Returns: number;
|
|
25303
25763
|
};
|
|
25764
|
+
get_product_stock: {
|
|
25765
|
+
Args: {
|
|
25766
|
+
p_product_id: string;
|
|
25767
|
+
};
|
|
25768
|
+
Returns: {
|
|
25769
|
+
connection_id: string;
|
|
25770
|
+
incoming_stock: number;
|
|
25771
|
+
minimum_stock: number;
|
|
25772
|
+
notes: string;
|
|
25773
|
+
physical_stock: number;
|
|
25774
|
+
product_id: string;
|
|
25775
|
+
reserved_stock: number;
|
|
25776
|
+
trade_item_key: string;
|
|
25777
|
+
updated_at: string;
|
|
25778
|
+
}[];
|
|
25779
|
+
};
|
|
25304
25780
|
get_room_busy_windows: {
|
|
25305
25781
|
Args: {
|
|
25306
25782
|
p_from: string;
|
|
@@ -25605,12 +26081,57 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25605
26081
|
};
|
|
25606
26082
|
Returns: import("./types").Json;
|
|
25607
26083
|
};
|
|
26084
|
+
inkoop_get_supplier_request: {
|
|
26085
|
+
Args: {
|
|
26086
|
+
_token: string;
|
|
26087
|
+
};
|
|
26088
|
+
Returns: import("./types").Json;
|
|
26089
|
+
};
|
|
26090
|
+
inkoop_hash_token: {
|
|
26091
|
+
Args: {
|
|
26092
|
+
_token: string;
|
|
26093
|
+
};
|
|
26094
|
+
Returns: string;
|
|
26095
|
+
};
|
|
26096
|
+
inkoop_html_escape: {
|
|
26097
|
+
Args: {
|
|
26098
|
+
_t: string;
|
|
26099
|
+
};
|
|
26100
|
+
Returns: string;
|
|
26101
|
+
};
|
|
26102
|
+
inkoop_list_artikelen: {
|
|
26103
|
+
Args: never;
|
|
26104
|
+
Returns: {
|
|
26105
|
+
article_number: string;
|
|
26106
|
+
barcode: string;
|
|
26107
|
+
id: string;
|
|
26108
|
+
incoming_quantity: number;
|
|
26109
|
+
is_layer: boolean;
|
|
26110
|
+
location: string;
|
|
26111
|
+
min_quantity: number;
|
|
26112
|
+
preferred_supplier_name: string;
|
|
26113
|
+
product: string;
|
|
26114
|
+
product_type: string;
|
|
26115
|
+
purchase_price: number;
|
|
26116
|
+
quantity: number;
|
|
26117
|
+
sale_price: number;
|
|
26118
|
+
supplier_count: number;
|
|
26119
|
+
unit: string;
|
|
26120
|
+
}[];
|
|
26121
|
+
};
|
|
25608
26122
|
inkoop_next_order_number: {
|
|
25609
26123
|
Args: never;
|
|
25610
26124
|
Returns: string;
|
|
25611
26125
|
};
|
|
26126
|
+
inkoop_process_request: {
|
|
26127
|
+
Args: {
|
|
26128
|
+
_request_id: string;
|
|
26129
|
+
};
|
|
26130
|
+
Returns: undefined;
|
|
26131
|
+
};
|
|
25612
26132
|
inkoop_send_order: {
|
|
25613
26133
|
Args: {
|
|
26134
|
+
_base_url?: string;
|
|
25614
26135
|
_order_id: string;
|
|
25615
26136
|
};
|
|
25616
26137
|
Returns: {
|
|
@@ -25618,6 +26139,44 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25618
26139
|
supplier_name: string;
|
|
25619
26140
|
to_address: string;
|
|
25620
26141
|
}[];
|
|
26142
|
+
} | {
|
|
26143
|
+
Args: {
|
|
26144
|
+
_base_url?: string;
|
|
26145
|
+
_order_id: string;
|
|
26146
|
+
_resend?: boolean;
|
|
26147
|
+
};
|
|
26148
|
+
Returns: {
|
|
26149
|
+
outbox_id: string;
|
|
26150
|
+
supplier_name: string;
|
|
26151
|
+
to_address: string;
|
|
26152
|
+
}[];
|
|
26153
|
+
};
|
|
26154
|
+
inkoop_set_preferred_supplier: {
|
|
26155
|
+
Args: {
|
|
26156
|
+
_product_id: string;
|
|
26157
|
+
_supplier_id: string;
|
|
26158
|
+
};
|
|
26159
|
+
Returns: undefined;
|
|
26160
|
+
};
|
|
26161
|
+
inkoop_stock_key: {
|
|
26162
|
+
Args: {
|
|
26163
|
+
p_product_id: string;
|
|
26164
|
+
};
|
|
26165
|
+
Returns: string;
|
|
26166
|
+
};
|
|
26167
|
+
inkoop_submit_supplier_response: {
|
|
26168
|
+
Args: {
|
|
26169
|
+
_lines: import("./types").Json;
|
|
26170
|
+
_note?: string;
|
|
26171
|
+
_token: string;
|
|
26172
|
+
};
|
|
26173
|
+
Returns: import("./types").Json;
|
|
26174
|
+
};
|
|
26175
|
+
inkoop_sync_item_stock: {
|
|
26176
|
+
Args: {
|
|
26177
|
+
p_item_id: string;
|
|
26178
|
+
};
|
|
26179
|
+
Returns: undefined;
|
|
25621
26180
|
};
|
|
25622
26181
|
instructie_get: {
|
|
25623
26182
|
Args: {
|
|
@@ -25638,6 +26197,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25638
26197
|
};
|
|
25639
26198
|
Returns: number;
|
|
25640
26199
|
};
|
|
26200
|
+
invoice_branding_snapshot: {
|
|
26201
|
+
Args: never;
|
|
26202
|
+
Returns: import("./types").Json;
|
|
26203
|
+
};
|
|
25641
26204
|
invoice_create_from_source: {
|
|
25642
26205
|
Args: {
|
|
25643
26206
|
_payload?: import("./types").Json;
|
|
@@ -25672,6 +26235,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25672
26235
|
};
|
|
25673
26236
|
Returns: import("./types").Json;
|
|
25674
26237
|
};
|
|
26238
|
+
invoice_mark_sent: {
|
|
26239
|
+
Args: {
|
|
26240
|
+
_invoice_id: string;
|
|
26241
|
+
_to: string;
|
|
26242
|
+
};
|
|
26243
|
+
Returns: undefined;
|
|
26244
|
+
};
|
|
26245
|
+
invoice_peek_next_number: {
|
|
26246
|
+
Args: never;
|
|
26247
|
+
Returns: string;
|
|
26248
|
+
};
|
|
25675
26249
|
invoice_ready_work_orders: {
|
|
25676
26250
|
Args: {
|
|
25677
26251
|
_limit?: number;
|
|
@@ -25684,6 +26258,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25684
26258
|
};
|
|
25685
26259
|
Returns: import("./types").Json;
|
|
25686
26260
|
};
|
|
26261
|
+
invoice_save_branding_settings: {
|
|
26262
|
+
Args: {
|
|
26263
|
+
_payload: import("./types").Json;
|
|
26264
|
+
};
|
|
26265
|
+
Returns: import("./types").Json;
|
|
26266
|
+
};
|
|
26267
|
+
invoice_set_email_purpose: {
|
|
26268
|
+
Args: {
|
|
26269
|
+
_purpose: string;
|
|
26270
|
+
};
|
|
26271
|
+
Returns: string;
|
|
26272
|
+
};
|
|
25687
26273
|
invoice_source_lines: {
|
|
25688
26274
|
Args: {
|
|
25689
26275
|
_source_id: string;
|
|
@@ -25691,6 +26277,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25691
26277
|
};
|
|
25692
26278
|
Returns: import("./types").Json;
|
|
25693
26279
|
};
|
|
26280
|
+
invoice_update_full: {
|
|
26281
|
+
Args: {
|
|
26282
|
+
_invoice_id: string;
|
|
26283
|
+
_payload: import("./types").Json;
|
|
26284
|
+
};
|
|
26285
|
+
Returns: import("./types").Json;
|
|
26286
|
+
};
|
|
26287
|
+
invoice_work_order_locked: {
|
|
26288
|
+
Args: {
|
|
26289
|
+
_werkbon_id: string;
|
|
26290
|
+
};
|
|
26291
|
+
Returns: import("./types").Json;
|
|
26292
|
+
};
|
|
25694
26293
|
is_authenticated: {
|
|
25695
26294
|
Args: never;
|
|
25696
26295
|
Returns: boolean;
|
|
@@ -26850,6 +27449,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26850
27449
|
Args: never;
|
|
26851
27450
|
Returns: string;
|
|
26852
27451
|
};
|
|
27452
|
+
logistics_order_backlog_info: {
|
|
27453
|
+
Args: {
|
|
27454
|
+
p_order_id: string;
|
|
27455
|
+
};
|
|
27456
|
+
Returns: import("./types").Json;
|
|
27457
|
+
};
|
|
26853
27458
|
logistics_order_cart_approval: {
|
|
26854
27459
|
Args: {
|
|
26855
27460
|
_order_ref: string;
|
|
@@ -26940,6 +27545,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26940
27545
|
};
|
|
26941
27546
|
Returns: boolean;
|
|
26942
27547
|
};
|
|
27548
|
+
logistics_order_is_backlog: {
|
|
27549
|
+
Args: {
|
|
27550
|
+
p_order_id: string;
|
|
27551
|
+
};
|
|
27552
|
+
Returns: boolean;
|
|
27553
|
+
};
|
|
26943
27554
|
logistics_order_is_topick: {
|
|
26944
27555
|
Args: {
|
|
26945
27556
|
p_order_id: string;
|
|
@@ -27081,6 +27692,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27081
27692
|
shifted_count: number;
|
|
27082
27693
|
}[];
|
|
27083
27694
|
};
|
|
27695
|
+
logistics_pick_backlog_max_days: {
|
|
27696
|
+
Args: never;
|
|
27697
|
+
Returns: number;
|
|
27698
|
+
};
|
|
27084
27699
|
logistics_pick_barcode_enabled: {
|
|
27085
27700
|
Args: never;
|
|
27086
27701
|
Returns: boolean;
|
|
@@ -27696,12 +28311,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27696
28311
|
Args: never;
|
|
27697
28312
|
Returns: import("./types").Json;
|
|
27698
28313
|
};
|
|
28314
|
+
logistics_sync_pick_queue_backlog: {
|
|
28315
|
+
Args: never;
|
|
28316
|
+
Returns: import("./types").Json;
|
|
28317
|
+
};
|
|
28318
|
+
logistics_sync_pick_queue_core: {
|
|
28319
|
+
Args: never;
|
|
28320
|
+
Returns: import("./types").Json;
|
|
28321
|
+
};
|
|
27699
28322
|
logistics_sync_task_carriers: {
|
|
27700
28323
|
Args: {
|
|
27701
28324
|
p_order_ref?: string;
|
|
27702
28325
|
};
|
|
27703
28326
|
Returns: number;
|
|
27704
28327
|
};
|
|
28328
|
+
logistics_task_open_counts: {
|
|
28329
|
+
Args: never;
|
|
28330
|
+
Returns: {
|
|
28331
|
+
open_count: number;
|
|
28332
|
+
owner_module: string;
|
|
28333
|
+
}[];
|
|
28334
|
+
};
|
|
27705
28335
|
logistics_task_owner: {
|
|
27706
28336
|
Args: {
|
|
27707
28337
|
p_task_type: string;
|
|
@@ -28990,6 +29620,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
28990
29620
|
};
|
|
28991
29621
|
Returns: boolean;
|
|
28992
29622
|
};
|
|
29623
|
+
quote_assign_number: {
|
|
29624
|
+
Args: {
|
|
29625
|
+
_offerte_id: string;
|
|
29626
|
+
};
|
|
29627
|
+
Returns: string;
|
|
29628
|
+
};
|
|
29629
|
+
quote_create_follow_up_now: {
|
|
29630
|
+
Args: {
|
|
29631
|
+
_offerte_id: string;
|
|
29632
|
+
_payload?: import("./types").Json;
|
|
29633
|
+
};
|
|
29634
|
+
Returns: import("./types").Json;
|
|
29635
|
+
};
|
|
28993
29636
|
quote_create_from_source: {
|
|
28994
29637
|
Args: {
|
|
28995
29638
|
_payload?: import("./types").Json;
|
|
@@ -29703,6 +30346,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
29703
30346
|
};
|
|
29704
30347
|
Returns: undefined;
|
|
29705
30348
|
};
|
|
30349
|
+
set_product_stock: {
|
|
30350
|
+
Args: {
|
|
30351
|
+
p_incoming_stock?: number;
|
|
30352
|
+
p_minimum_stock?: number;
|
|
30353
|
+
p_notes?: string;
|
|
30354
|
+
p_physical_stock: number;
|
|
30355
|
+
p_product_id: string;
|
|
30356
|
+
};
|
|
30357
|
+
Returns: {
|
|
30358
|
+
connection_id: string;
|
|
30359
|
+
incoming_stock: number;
|
|
30360
|
+
minimum_stock: number;
|
|
30361
|
+
notes: string;
|
|
30362
|
+
physical_stock: number;
|
|
30363
|
+
product_id: string;
|
|
30364
|
+
reserved_stock: number;
|
|
30365
|
+
trade_item_key: string;
|
|
30366
|
+
updated_at: string;
|
|
30367
|
+
}[];
|
|
30368
|
+
};
|
|
29706
30369
|
show_limit: {
|
|
29707
30370
|
Args: never;
|
|
29708
30371
|
Returns: number;
|
|
@@ -30227,6 +30890,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
30227
30890
|
};
|
|
30228
30891
|
Returns: number;
|
|
30229
30892
|
};
|
|
30893
|
+
vakantie_overuren: {
|
|
30894
|
+
Args: {
|
|
30895
|
+
_user_id: string;
|
|
30896
|
+
_year?: number;
|
|
30897
|
+
};
|
|
30898
|
+
Returns: number;
|
|
30899
|
+
};
|
|
30230
30900
|
vakantie_saldo: {
|
|
30231
30901
|
Args: {
|
|
30232
30902
|
_user_id: string;
|
|
@@ -30234,7 +30904,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
30234
30904
|
};
|
|
30235
30905
|
Returns: {
|
|
30236
30906
|
day_hours: number;
|
|
30907
|
+
earned_from_overtime_days: number;
|
|
30237
30908
|
entitlement_days: number;
|
|
30909
|
+
hours_to_next_day: number;
|
|
30910
|
+
overtime_hours: number;
|
|
30911
|
+
overtime_remainder_hours: number;
|
|
30912
|
+
paid_out_days: number;
|
|
30238
30913
|
remaining_days: number;
|
|
30239
30914
|
used_days: number;
|
|
30240
30915
|
}[];
|
|
@@ -30245,7 +30920,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
30245
30920
|
};
|
|
30246
30921
|
Returns: {
|
|
30247
30922
|
day_hours: number;
|
|
30923
|
+
earned_from_overtime_days: number;
|
|
30248
30924
|
entitlement_days: number;
|
|
30925
|
+
hours_to_next_day: number;
|
|
30926
|
+
overtime_hours: number;
|
|
30927
|
+
overtime_remainder_hours: number;
|
|
30928
|
+
paid_out_days: number;
|
|
30249
30929
|
remaining_days: number;
|
|
30250
30930
|
used_days: number;
|
|
30251
30931
|
user_id: string;
|
|
@@ -30299,12 +30979,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
30299
30979
|
};
|
|
30300
30980
|
Returns: import("./types").Json;
|
|
30301
30981
|
};
|
|
30982
|
+
wo_list_proposals: {
|
|
30983
|
+
Args: {
|
|
30984
|
+
_status?: string;
|
|
30985
|
+
};
|
|
30986
|
+
Returns: import("./types").Json;
|
|
30987
|
+
};
|
|
30302
30988
|
wo_process_offerte_request: {
|
|
30303
30989
|
Args: {
|
|
30304
30990
|
_queue_id: string;
|
|
30305
30991
|
};
|
|
30306
30992
|
Returns: import("./types").Json;
|
|
30307
30993
|
};
|
|
30994
|
+
wo_process_proposal: {
|
|
30995
|
+
Args: {
|
|
30996
|
+
_id: string;
|
|
30997
|
+
_overrides?: import("./types").Json;
|
|
30998
|
+
};
|
|
30999
|
+
Returns: import("./types").Json;
|
|
31000
|
+
};
|
|
30308
31001
|
wo_reject_offerte_request: {
|
|
30309
31002
|
Args: {
|
|
30310
31003
|
_queue_id: string;
|
|
@@ -30312,6 +31005,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
30312
31005
|
};
|
|
30313
31006
|
Returns: import("./types").Json;
|
|
30314
31007
|
};
|
|
31008
|
+
wo_reject_proposal: {
|
|
31009
|
+
Args: {
|
|
31010
|
+
_id: string;
|
|
31011
|
+
_reden?: string;
|
|
31012
|
+
};
|
|
31013
|
+
Returns: import("./types").Json;
|
|
31014
|
+
};
|
|
30315
31015
|
wo_set_status: {
|
|
30316
31016
|
Args: {
|
|
30317
31017
|
_reason?: string;
|