@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
|
@@ -8263,6 +8263,72 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8263
8263
|
};
|
|
8264
8264
|
Relationships: [];
|
|
8265
8265
|
};
|
|
8266
|
+
invoice_branding_settings: {
|
|
8267
|
+
Row: {
|
|
8268
|
+
address: string;
|
|
8269
|
+
chamber_of_commerce_number: string;
|
|
8270
|
+
city: string;
|
|
8271
|
+
company_name: string;
|
|
8272
|
+
created_at: string;
|
|
8273
|
+
email: string;
|
|
8274
|
+
email_purpose: string | null;
|
|
8275
|
+
iban: string;
|
|
8276
|
+
logo_path: string | null;
|
|
8277
|
+
payment_term_days: number;
|
|
8278
|
+
phone: string;
|
|
8279
|
+
postal_code: string;
|
|
8280
|
+
primary_color: string;
|
|
8281
|
+
secondary_color: string;
|
|
8282
|
+
show_company_name: boolean;
|
|
8283
|
+
singleton_key: boolean;
|
|
8284
|
+
updated_at: string;
|
|
8285
|
+
vat_identification_number: string;
|
|
8286
|
+
website: string;
|
|
8287
|
+
};
|
|
8288
|
+
Insert: {
|
|
8289
|
+
address?: string;
|
|
8290
|
+
chamber_of_commerce_number?: string;
|
|
8291
|
+
city?: string;
|
|
8292
|
+
company_name?: string;
|
|
8293
|
+
created_at?: string;
|
|
8294
|
+
email?: string;
|
|
8295
|
+
email_purpose?: string | null;
|
|
8296
|
+
iban?: string;
|
|
8297
|
+
logo_path?: string | null;
|
|
8298
|
+
payment_term_days?: number;
|
|
8299
|
+
phone?: string;
|
|
8300
|
+
postal_code?: string;
|
|
8301
|
+
primary_color?: string;
|
|
8302
|
+
secondary_color?: string;
|
|
8303
|
+
show_company_name?: boolean;
|
|
8304
|
+
singleton_key?: boolean;
|
|
8305
|
+
updated_at?: string;
|
|
8306
|
+
vat_identification_number?: string;
|
|
8307
|
+
website?: string;
|
|
8308
|
+
};
|
|
8309
|
+
Update: {
|
|
8310
|
+
address?: string;
|
|
8311
|
+
chamber_of_commerce_number?: string;
|
|
8312
|
+
city?: string;
|
|
8313
|
+
company_name?: string;
|
|
8314
|
+
created_at?: string;
|
|
8315
|
+
email?: string;
|
|
8316
|
+
email_purpose?: string | null;
|
|
8317
|
+
iban?: string;
|
|
8318
|
+
logo_path?: string | null;
|
|
8319
|
+
payment_term_days?: number;
|
|
8320
|
+
phone?: string;
|
|
8321
|
+
postal_code?: string;
|
|
8322
|
+
primary_color?: string;
|
|
8323
|
+
secondary_color?: string;
|
|
8324
|
+
show_company_name?: boolean;
|
|
8325
|
+
singleton_key?: boolean;
|
|
8326
|
+
updated_at?: string;
|
|
8327
|
+
vat_identification_number?: string;
|
|
8328
|
+
website?: string;
|
|
8329
|
+
};
|
|
8330
|
+
Relationships: [];
|
|
8331
|
+
};
|
|
8266
8332
|
invoice_items: {
|
|
8267
8333
|
Row: {
|
|
8268
8334
|
created_at: string;
|
|
@@ -8276,6 +8342,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8276
8342
|
total_cents: number;
|
|
8277
8343
|
unit: string;
|
|
8278
8344
|
unit_price_cents: number;
|
|
8345
|
+
vat_rate: number | null;
|
|
8279
8346
|
};
|
|
8280
8347
|
Insert: {
|
|
8281
8348
|
created_at?: string;
|
|
@@ -8289,6 +8356,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8289
8356
|
total_cents?: number;
|
|
8290
8357
|
unit?: string;
|
|
8291
8358
|
unit_price_cents?: number;
|
|
8359
|
+
vat_rate?: number | null;
|
|
8292
8360
|
};
|
|
8293
8361
|
Update: {
|
|
8294
8362
|
created_at?: string;
|
|
@@ -8302,6 +8370,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8302
8370
|
total_cents?: number;
|
|
8303
8371
|
unit?: string;
|
|
8304
8372
|
unit_price_cents?: number;
|
|
8373
|
+
vat_rate?: number | null;
|
|
8305
8374
|
};
|
|
8306
8375
|
Relationships: [{
|
|
8307
8376
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8547,6 +8616,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8547
8616
|
};
|
|
8548
8617
|
invoices: {
|
|
8549
8618
|
Row: {
|
|
8619
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8550
8620
|
created_at: string;
|
|
8551
8621
|
created_by: string | null;
|
|
8552
8622
|
customer_address: string | null;
|
|
@@ -8565,6 +8635,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8565
8635
|
note: string | null;
|
|
8566
8636
|
payment_term_days: number;
|
|
8567
8637
|
reference: string | null;
|
|
8638
|
+
sent_at: string | null;
|
|
8639
|
+
sent_to: string | null;
|
|
8568
8640
|
source_number: string | null;
|
|
8569
8641
|
source_ref: string | null;
|
|
8570
8642
|
source_type: string;
|
|
@@ -8577,6 +8649,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8577
8649
|
work_address: string | null;
|
|
8578
8650
|
};
|
|
8579
8651
|
Insert: {
|
|
8652
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8580
8653
|
created_at?: string;
|
|
8581
8654
|
created_by?: string | null;
|
|
8582
8655
|
customer_address?: string | null;
|
|
@@ -8595,6 +8668,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8595
8668
|
note?: string | null;
|
|
8596
8669
|
payment_term_days?: number;
|
|
8597
8670
|
reference?: string | null;
|
|
8671
|
+
sent_at?: string | null;
|
|
8672
|
+
sent_to?: string | null;
|
|
8598
8673
|
source_number?: string | null;
|
|
8599
8674
|
source_ref?: string | null;
|
|
8600
8675
|
source_type?: string;
|
|
@@ -8607,6 +8682,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8607
8682
|
work_address?: string | null;
|
|
8608
8683
|
};
|
|
8609
8684
|
Update: {
|
|
8685
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8610
8686
|
created_at?: string;
|
|
8611
8687
|
created_by?: string | null;
|
|
8612
8688
|
customer_address?: string | null;
|
|
@@ -8625,6 +8701,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
8625
8701
|
note?: string | null;
|
|
8626
8702
|
payment_term_days?: number;
|
|
8627
8703
|
reference?: string | null;
|
|
8704
|
+
sent_at?: string | null;
|
|
8705
|
+
sent_to?: string | null;
|
|
8628
8706
|
source_number?: string | null;
|
|
8629
8707
|
source_ref?: string | null;
|
|
8630
8708
|
source_type?: string;
|
|
@@ -9333,6 +9411,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9333
9411
|
quantity: number;
|
|
9334
9412
|
sort_order: number;
|
|
9335
9413
|
source: string;
|
|
9414
|
+
unit: string | null;
|
|
9336
9415
|
unit_price_cents: number;
|
|
9337
9416
|
updated_at: string;
|
|
9338
9417
|
};
|
|
@@ -9346,6 +9425,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9346
9425
|
quantity?: number;
|
|
9347
9426
|
sort_order?: number;
|
|
9348
9427
|
source?: string;
|
|
9428
|
+
unit?: string | null;
|
|
9349
9429
|
unit_price_cents?: number;
|
|
9350
9430
|
updated_at?: string;
|
|
9351
9431
|
};
|
|
@@ -9359,6 +9439,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9359
9439
|
quantity?: number;
|
|
9360
9440
|
sort_order?: number;
|
|
9361
9441
|
source?: string;
|
|
9442
|
+
unit?: string | null;
|
|
9362
9443
|
unit_price_cents?: number;
|
|
9363
9444
|
updated_at?: string;
|
|
9364
9445
|
};
|
|
@@ -9382,6 +9463,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9382
9463
|
created_at: string;
|
|
9383
9464
|
default_geldigheid_dagen: number;
|
|
9384
9465
|
default_vat_rate: number;
|
|
9466
|
+
email_purpose: string | null;
|
|
9385
9467
|
id: string;
|
|
9386
9468
|
singleton: boolean;
|
|
9387
9469
|
updated_at: string;
|
|
@@ -9391,6 +9473,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9391
9473
|
created_at?: string;
|
|
9392
9474
|
default_geldigheid_dagen?: number;
|
|
9393
9475
|
default_vat_rate?: number;
|
|
9476
|
+
email_purpose?: string | null;
|
|
9394
9477
|
id?: string;
|
|
9395
9478
|
singleton?: boolean;
|
|
9396
9479
|
updated_at?: string;
|
|
@@ -9400,6 +9483,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9400
9483
|
created_at?: string;
|
|
9401
9484
|
default_geldigheid_dagen?: number;
|
|
9402
9485
|
default_vat_rate?: number;
|
|
9486
|
+
email_purpose?: string | null;
|
|
9403
9487
|
id?: string;
|
|
9404
9488
|
singleton?: boolean;
|
|
9405
9489
|
updated_at?: string;
|
|
@@ -9492,6 +9576,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9492
9576
|
};
|
|
9493
9577
|
itk_offertes: {
|
|
9494
9578
|
Row: {
|
|
9579
|
+
aandachtspunten: string | null;
|
|
9495
9580
|
ai_generated: boolean;
|
|
9496
9581
|
approved_at: string | null;
|
|
9497
9582
|
binnen_mandaat: boolean;
|
|
@@ -9507,6 +9592,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9507
9592
|
notities: string | null;
|
|
9508
9593
|
offerte_number: string | null;
|
|
9509
9594
|
omschrijving: string;
|
|
9595
|
+
onderwerp: string | null;
|
|
9510
9596
|
rejected_at: string | null;
|
|
9511
9597
|
sent_at: string | null;
|
|
9512
9598
|
source_number: string | null;
|
|
@@ -9519,12 +9605,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9519
9605
|
valid_until: string | null;
|
|
9520
9606
|
vat_cents: number;
|
|
9521
9607
|
vat_rate: number;
|
|
9608
|
+
verzonden_naar: string | null;
|
|
9522
9609
|
viewed_at: string | null;
|
|
9523
9610
|
volgnummer: number | null;
|
|
9611
|
+
voorwaarden: string | null;
|
|
9524
9612
|
werkbon_id: string | null;
|
|
9525
9613
|
work_location_id: string | null;
|
|
9526
9614
|
};
|
|
9527
9615
|
Insert: {
|
|
9616
|
+
aandachtspunten?: string | null;
|
|
9528
9617
|
ai_generated?: boolean;
|
|
9529
9618
|
approved_at?: string | null;
|
|
9530
9619
|
binnen_mandaat?: boolean;
|
|
@@ -9540,6 +9629,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9540
9629
|
notities?: string | null;
|
|
9541
9630
|
offerte_number?: string | null;
|
|
9542
9631
|
omschrijving?: string;
|
|
9632
|
+
onderwerp?: string | null;
|
|
9543
9633
|
rejected_at?: string | null;
|
|
9544
9634
|
sent_at?: string | null;
|
|
9545
9635
|
source_number?: string | null;
|
|
@@ -9552,12 +9642,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9552
9642
|
valid_until?: string | null;
|
|
9553
9643
|
vat_cents?: number;
|
|
9554
9644
|
vat_rate?: number;
|
|
9645
|
+
verzonden_naar?: string | null;
|
|
9555
9646
|
viewed_at?: string | null;
|
|
9556
9647
|
volgnummer?: number | null;
|
|
9648
|
+
voorwaarden?: string | null;
|
|
9557
9649
|
werkbon_id?: string | null;
|
|
9558
9650
|
work_location_id?: string | null;
|
|
9559
9651
|
};
|
|
9560
9652
|
Update: {
|
|
9653
|
+
aandachtspunten?: string | null;
|
|
9561
9654
|
ai_generated?: boolean;
|
|
9562
9655
|
approved_at?: string | null;
|
|
9563
9656
|
binnen_mandaat?: boolean;
|
|
@@ -9573,6 +9666,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9573
9666
|
notities?: string | null;
|
|
9574
9667
|
offerte_number?: string | null;
|
|
9575
9668
|
omschrijving?: string;
|
|
9669
|
+
onderwerp?: string | null;
|
|
9576
9670
|
rejected_at?: string | null;
|
|
9577
9671
|
sent_at?: string | null;
|
|
9578
9672
|
source_number?: string | null;
|
|
@@ -9585,8 +9679,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
9585
9679
|
valid_until?: string | null;
|
|
9586
9680
|
vat_cents?: number;
|
|
9587
9681
|
vat_rate?: number;
|
|
9682
|
+
verzonden_naar?: string | null;
|
|
9588
9683
|
viewed_at?: string | null;
|
|
9589
9684
|
volgnummer?: number | null;
|
|
9685
|
+
voorwaarden?: string | null;
|
|
9590
9686
|
werkbon_id?: string | null;
|
|
9591
9687
|
work_location_id?: string | null;
|
|
9592
9688
|
};
|
|
@@ -14598,6 +14694,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
14598
14694
|
next_attempt_at: string;
|
|
14599
14695
|
order_id: string;
|
|
14600
14696
|
processed_at: string | null;
|
|
14697
|
+
send_error: string | null;
|
|
14601
14698
|
status: string;
|
|
14602
14699
|
updated_at: string;
|
|
14603
14700
|
};
|
|
@@ -14611,6 +14708,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
14611
14708
|
next_attempt_at?: string;
|
|
14612
14709
|
order_id: string;
|
|
14613
14710
|
processed_at?: string | null;
|
|
14711
|
+
send_error?: string | null;
|
|
14614
14712
|
status?: string;
|
|
14615
14713
|
updated_at?: string;
|
|
14616
14714
|
};
|
|
@@ -14624,6 +14722,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
14624
14722
|
next_attempt_at?: string;
|
|
14625
14723
|
order_id?: string;
|
|
14626
14724
|
processed_at?: string | null;
|
|
14725
|
+
send_error?: string | null;
|
|
14627
14726
|
status?: string;
|
|
14628
14727
|
updated_at?: string;
|
|
14629
14728
|
};
|
|
@@ -17653,6 +17752,66 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
17653
17752
|
};
|
|
17654
17753
|
Relationships: [];
|
|
17655
17754
|
};
|
|
17755
|
+
product_suppliers: {
|
|
17756
|
+
Row: {
|
|
17757
|
+
created_at: string;
|
|
17758
|
+
id: string;
|
|
17759
|
+
is_preferred: boolean;
|
|
17760
|
+
lead_time_days: number | null;
|
|
17761
|
+
min_order_quantity: number | null;
|
|
17762
|
+
notes: string | null;
|
|
17763
|
+
product_id: string;
|
|
17764
|
+
purchase_price_cents: number | null;
|
|
17765
|
+
supplier_article_number: string | null;
|
|
17766
|
+
supplier_id: string;
|
|
17767
|
+
updated_at: string;
|
|
17768
|
+
};
|
|
17769
|
+
Insert: {
|
|
17770
|
+
created_at?: string;
|
|
17771
|
+
id?: string;
|
|
17772
|
+
is_preferred?: boolean;
|
|
17773
|
+
lead_time_days?: number | null;
|
|
17774
|
+
min_order_quantity?: number | null;
|
|
17775
|
+
notes?: string | null;
|
|
17776
|
+
product_id: string;
|
|
17777
|
+
purchase_price_cents?: number | null;
|
|
17778
|
+
supplier_article_number?: string | null;
|
|
17779
|
+
supplier_id: string;
|
|
17780
|
+
updated_at?: string;
|
|
17781
|
+
};
|
|
17782
|
+
Update: {
|
|
17783
|
+
created_at?: string;
|
|
17784
|
+
id?: string;
|
|
17785
|
+
is_preferred?: boolean;
|
|
17786
|
+
lead_time_days?: number | null;
|
|
17787
|
+
min_order_quantity?: number | null;
|
|
17788
|
+
notes?: string | null;
|
|
17789
|
+
product_id?: string;
|
|
17790
|
+
purchase_price_cents?: number | null;
|
|
17791
|
+
supplier_article_number?: string | null;
|
|
17792
|
+
supplier_id?: string;
|
|
17793
|
+
updated_at?: string;
|
|
17794
|
+
};
|
|
17795
|
+
Relationships: [{
|
|
17796
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17797
|
+
columns: ["product_id"];
|
|
17798
|
+
isOneToOne: false;
|
|
17799
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17800
|
+
referencedColumns: ["product_id"];
|
|
17801
|
+
}, {
|
|
17802
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17803
|
+
columns: ["product_id"];
|
|
17804
|
+
isOneToOne: false;
|
|
17805
|
+
referencedRelation: "products";
|
|
17806
|
+
referencedColumns: ["id"];
|
|
17807
|
+
}, {
|
|
17808
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17809
|
+
columns: ["supplier_id"];
|
|
17810
|
+
isOneToOne: false;
|
|
17811
|
+
referencedRelation: "suppliers";
|
|
17812
|
+
referencedColumns: ["id"];
|
|
17813
|
+
}];
|
|
17814
|
+
};
|
|
17656
17815
|
product_tray_stickers: {
|
|
17657
17816
|
Row: {
|
|
17658
17817
|
bestand_url: string;
|
|
@@ -18157,9 +18316,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18157
18316
|
purchase_order_items: {
|
|
18158
18317
|
Row: {
|
|
18159
18318
|
article_number: string | null;
|
|
18319
|
+
cancelled_at: string | null;
|
|
18160
18320
|
created_at: string;
|
|
18161
18321
|
delivery_date: string | null;
|
|
18162
18322
|
id: string;
|
|
18323
|
+
incoming_booked: number;
|
|
18324
|
+
line_status: string;
|
|
18163
18325
|
name: string;
|
|
18164
18326
|
note: string | null;
|
|
18165
18327
|
pot_size: string | null;
|
|
@@ -18167,6 +18329,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18167
18329
|
product_type: string;
|
|
18168
18330
|
purchase_order_id: string;
|
|
18169
18331
|
quantity: number;
|
|
18332
|
+
received_at: string | null;
|
|
18333
|
+
received_booked: number;
|
|
18170
18334
|
supplier_id: string | null;
|
|
18171
18335
|
supplier_product_id: string | null;
|
|
18172
18336
|
unit_price_cents: number;
|
|
@@ -18174,9 +18338,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18174
18338
|
};
|
|
18175
18339
|
Insert: {
|
|
18176
18340
|
article_number?: string | null;
|
|
18341
|
+
cancelled_at?: string | null;
|
|
18177
18342
|
created_at?: string;
|
|
18178
18343
|
delivery_date?: string | null;
|
|
18179
18344
|
id?: string;
|
|
18345
|
+
incoming_booked?: number;
|
|
18346
|
+
line_status?: string;
|
|
18180
18347
|
name?: string;
|
|
18181
18348
|
note?: string | null;
|
|
18182
18349
|
pot_size?: string | null;
|
|
@@ -18184,6 +18351,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18184
18351
|
product_type?: string;
|
|
18185
18352
|
purchase_order_id: string;
|
|
18186
18353
|
quantity?: number;
|
|
18354
|
+
received_at?: string | null;
|
|
18355
|
+
received_booked?: number;
|
|
18187
18356
|
supplier_id?: string | null;
|
|
18188
18357
|
supplier_product_id?: string | null;
|
|
18189
18358
|
unit_price_cents?: number;
|
|
@@ -18191,9 +18360,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18191
18360
|
};
|
|
18192
18361
|
Update: {
|
|
18193
18362
|
article_number?: string | null;
|
|
18363
|
+
cancelled_at?: string | null;
|
|
18194
18364
|
created_at?: string;
|
|
18195
18365
|
delivery_date?: string | null;
|
|
18196
18366
|
id?: string;
|
|
18367
|
+
incoming_booked?: number;
|
|
18368
|
+
line_status?: string;
|
|
18197
18369
|
name?: string;
|
|
18198
18370
|
note?: string | null;
|
|
18199
18371
|
pot_size?: string | null;
|
|
@@ -18201,6 +18373,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18201
18373
|
product_type?: string;
|
|
18202
18374
|
purchase_order_id?: string;
|
|
18203
18375
|
quantity?: number;
|
|
18376
|
+
received_at?: string | null;
|
|
18377
|
+
received_booked?: number;
|
|
18204
18378
|
supplier_id?: string | null;
|
|
18205
18379
|
supplier_product_id?: string | null;
|
|
18206
18380
|
unit_price_cents?: number;
|
|
@@ -18304,6 +18478,153 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
18304
18478
|
referencedColumns: ["id"];
|
|
18305
18479
|
}];
|
|
18306
18480
|
};
|
|
18481
|
+
purchase_request_events: {
|
|
18482
|
+
Row: {
|
|
18483
|
+
created_at: string;
|
|
18484
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18485
|
+
event_type: string;
|
|
18486
|
+
id: string;
|
|
18487
|
+
request_id: string;
|
|
18488
|
+
};
|
|
18489
|
+
Insert: {
|
|
18490
|
+
created_at?: string;
|
|
18491
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18492
|
+
event_type: string;
|
|
18493
|
+
id?: string;
|
|
18494
|
+
request_id: string;
|
|
18495
|
+
};
|
|
18496
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
18504
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18505
|
+
columns: ["request_id"];
|
|
18506
|
+
isOneToOne: false;
|
|
18507
|
+
referencedRelation: "purchase_requests";
|
|
18508
|
+
referencedColumns: ["id"];
|
|
18509
|
+
}];
|
|
18510
|
+
};
|
|
18511
|
+
purchase_request_responses: {
|
|
18512
|
+
Row: {
|
|
18513
|
+
confirmed_date: string | null;
|
|
18514
|
+
confirmed_price_cents: number | null;
|
|
18515
|
+
confirmed_quantity: number;
|
|
18516
|
+
created_at: string;
|
|
18517
|
+
id: string;
|
|
18518
|
+
not_available: boolean;
|
|
18519
|
+
note: string | null;
|
|
18520
|
+
purchase_order_item_id: string;
|
|
18521
|
+
request_id: string;
|
|
18522
|
+
updated_at: string;
|
|
18523
|
+
};
|
|
18524
|
+
Insert: {
|
|
18525
|
+
confirmed_date?: string | null;
|
|
18526
|
+
confirmed_price_cents?: number | null;
|
|
18527
|
+
confirmed_quantity?: number;
|
|
18528
|
+
created_at?: string;
|
|
18529
|
+
id?: string;
|
|
18530
|
+
not_available?: boolean;
|
|
18531
|
+
note?: string | null;
|
|
18532
|
+
purchase_order_item_id: string;
|
|
18533
|
+
request_id: string;
|
|
18534
|
+
updated_at?: string;
|
|
18535
|
+
};
|
|
18536
|
+
Update: {
|
|
18537
|
+
confirmed_date?: string | null;
|
|
18538
|
+
confirmed_price_cents?: number | null;
|
|
18539
|
+
confirmed_quantity?: number;
|
|
18540
|
+
created_at?: string;
|
|
18541
|
+
id?: string;
|
|
18542
|
+
not_available?: boolean;
|
|
18543
|
+
note?: string | null;
|
|
18544
|
+
purchase_order_item_id?: string;
|
|
18545
|
+
request_id?: string;
|
|
18546
|
+
updated_at?: string;
|
|
18547
|
+
};
|
|
18548
|
+
Relationships: [{
|
|
18549
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18550
|
+
columns: ["purchase_order_item_id"];
|
|
18551
|
+
isOneToOne: false;
|
|
18552
|
+
referencedRelation: "purchase_order_items";
|
|
18553
|
+
referencedColumns: ["id"];
|
|
18554
|
+
}, {
|
|
18555
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18556
|
+
columns: ["request_id"];
|
|
18557
|
+
isOneToOne: false;
|
|
18558
|
+
referencedRelation: "purchase_requests";
|
|
18559
|
+
referencedColumns: ["id"];
|
|
18560
|
+
}];
|
|
18561
|
+
};
|
|
18562
|
+
purchase_requests: {
|
|
18563
|
+
Row: {
|
|
18564
|
+
created_at: string;
|
|
18565
|
+
expires_at: string;
|
|
18566
|
+
first_viewed_at: string | null;
|
|
18567
|
+
id: string;
|
|
18568
|
+
processed_at: string | null;
|
|
18569
|
+
purchase_order_id: string;
|
|
18570
|
+
responded_at: string | null;
|
|
18571
|
+
sent_at: string;
|
|
18572
|
+
status: string;
|
|
18573
|
+
supplier_id: string | null;
|
|
18574
|
+
supplier_name: string;
|
|
18575
|
+
supplier_note: string | null;
|
|
18576
|
+
to_address: string | null;
|
|
18577
|
+
token_hash: string;
|
|
18578
|
+
updated_at: string;
|
|
18579
|
+
};
|
|
18580
|
+
Insert: {
|
|
18581
|
+
created_at?: string;
|
|
18582
|
+
expires_at?: string;
|
|
18583
|
+
first_viewed_at?: string | null;
|
|
18584
|
+
id?: string;
|
|
18585
|
+
processed_at?: string | null;
|
|
18586
|
+
purchase_order_id: string;
|
|
18587
|
+
responded_at?: string | null;
|
|
18588
|
+
sent_at?: string;
|
|
18589
|
+
status?: string;
|
|
18590
|
+
supplier_id?: string | null;
|
|
18591
|
+
supplier_name?: string;
|
|
18592
|
+
supplier_note?: string | null;
|
|
18593
|
+
to_address?: string | null;
|
|
18594
|
+
token_hash: string;
|
|
18595
|
+
updated_at?: string;
|
|
18596
|
+
};
|
|
18597
|
+
Update: {
|
|
18598
|
+
created_at?: string;
|
|
18599
|
+
expires_at?: string;
|
|
18600
|
+
first_viewed_at?: string | null;
|
|
18601
|
+
id?: string;
|
|
18602
|
+
processed_at?: string | null;
|
|
18603
|
+
purchase_order_id?: string;
|
|
18604
|
+
responded_at?: string | null;
|
|
18605
|
+
sent_at?: string;
|
|
18606
|
+
status?: string;
|
|
18607
|
+
supplier_id?: string | null;
|
|
18608
|
+
supplier_name?: string;
|
|
18609
|
+
supplier_note?: string | null;
|
|
18610
|
+
to_address?: string | null;
|
|
18611
|
+
token_hash?: string;
|
|
18612
|
+
updated_at?: string;
|
|
18613
|
+
};
|
|
18614
|
+
Relationships: [{
|
|
18615
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18616
|
+
columns: ["purchase_order_id"];
|
|
18617
|
+
isOneToOne: false;
|
|
18618
|
+
referencedRelation: "purchase_orders";
|
|
18619
|
+
referencedColumns: ["id"];
|
|
18620
|
+
}, {
|
|
18621
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18622
|
+
columns: ["supplier_id"];
|
|
18623
|
+
isOneToOne: false;
|
|
18624
|
+
referencedRelation: "suppliers";
|
|
18625
|
+
referencedColumns: ["id"];
|
|
18626
|
+
}];
|
|
18627
|
+
};
|
|
18307
18628
|
reception_notifications: {
|
|
18308
18629
|
Row: {
|
|
18309
18630
|
booking_id: string | null;
|
|
@@ -20467,6 +20788,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
20467
20788
|
auto_invoice_enabled: boolean;
|
|
20468
20789
|
auto_invoice_start_date: string | null;
|
|
20469
20790
|
auto_invoice_trigger_statuses: string[];
|
|
20791
|
+
auto_send_mode: string | null;
|
|
20470
20792
|
created_at: string;
|
|
20471
20793
|
debtor_gl_account: string;
|
|
20472
20794
|
default_article_code: string | null;
|
|
@@ -20495,6 +20817,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
20495
20817
|
auto_invoice_enabled?: boolean;
|
|
20496
20818
|
auto_invoice_start_date?: string | null;
|
|
20497
20819
|
auto_invoice_trigger_statuses?: string[];
|
|
20820
|
+
auto_send_mode?: string | null;
|
|
20498
20821
|
created_at?: string;
|
|
20499
20822
|
debtor_gl_account?: string;
|
|
20500
20823
|
default_article_code?: string | null;
|
|
@@ -20523,6 +20846,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
20523
20846
|
auto_invoice_enabled?: boolean;
|
|
20524
20847
|
auto_invoice_start_date?: string | null;
|
|
20525
20848
|
auto_invoice_trigger_statuses?: string[];
|
|
20849
|
+
auto_send_mode?: string | null;
|
|
20526
20850
|
created_at?: string;
|
|
20527
20851
|
debtor_gl_account?: string;
|
|
20528
20852
|
default_article_code?: string | null;
|
|
@@ -20966,16 +21290,19 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
20966
21290
|
Row: {
|
|
20967
21291
|
active_environment: string;
|
|
20968
21292
|
id: number;
|
|
21293
|
+
public_base_url: string | null;
|
|
20969
21294
|
updated_at: string;
|
|
20970
21295
|
};
|
|
20971
21296
|
Insert: {
|
|
20972
21297
|
active_environment?: string;
|
|
20973
21298
|
id?: number;
|
|
21299
|
+
public_base_url?: string | null;
|
|
20974
21300
|
updated_at?: string;
|
|
20975
21301
|
};
|
|
20976
21302
|
Update: {
|
|
20977
21303
|
active_environment?: string;
|
|
20978
21304
|
id?: number;
|
|
21305
|
+
public_base_url?: string | null;
|
|
20979
21306
|
updated_at?: string;
|
|
20980
21307
|
};
|
|
20981
21308
|
Relationships: [];
|
|
@@ -21206,11 +21533,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
21206
21533
|
monteur_id: string;
|
|
21207
21534
|
netto_verschil_minuten: number;
|
|
21208
21535
|
normaal_uitbetaald_minuten: number;
|
|
21536
|
+
omgezet_vakantie_minuten: number;
|
|
21537
|
+
overdracht_vorige_minuten: number;
|
|
21209
21538
|
overuren_minuten: number;
|
|
21210
21539
|
plus_minuten: number;
|
|
21540
|
+
rest_overuren_minuten: number;
|
|
21211
21541
|
status: string;
|
|
21212
21542
|
totaal_uitbetaald_minuten: number;
|
|
21213
21543
|
updated_at: string;
|
|
21544
|
+
vakantie_uren_bijgeschreven: number;
|
|
21214
21545
|
};
|
|
21215
21546
|
Insert: {
|
|
21216
21547
|
afgesloten_at?: string | null;
|
|
@@ -21227,11 +21558,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
21227
21558
|
monteur_id: string;
|
|
21228
21559
|
netto_verschil_minuten?: number;
|
|
21229
21560
|
normaal_uitbetaald_minuten?: number;
|
|
21561
|
+
omgezet_vakantie_minuten?: number;
|
|
21562
|
+
overdracht_vorige_minuten?: number;
|
|
21230
21563
|
overuren_minuten?: number;
|
|
21231
21564
|
plus_minuten?: number;
|
|
21565
|
+
rest_overuren_minuten?: number;
|
|
21232
21566
|
status?: string;
|
|
21233
21567
|
totaal_uitbetaald_minuten?: number;
|
|
21234
21568
|
updated_at?: string;
|
|
21569
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21235
21570
|
};
|
|
21236
21571
|
Update: {
|
|
21237
21572
|
afgesloten_at?: string | null;
|
|
@@ -21248,11 +21583,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
21248
21583
|
monteur_id?: string;
|
|
21249
21584
|
netto_verschil_minuten?: number;
|
|
21250
21585
|
normaal_uitbetaald_minuten?: number;
|
|
21586
|
+
omgezet_vakantie_minuten?: number;
|
|
21587
|
+
overdracht_vorige_minuten?: number;
|
|
21251
21588
|
overuren_minuten?: number;
|
|
21252
21589
|
plus_minuten?: number;
|
|
21590
|
+
rest_overuren_minuten?: number;
|
|
21253
21591
|
status?: string;
|
|
21254
21592
|
totaal_uitbetaald_minuten?: number;
|
|
21255
21593
|
updated_at?: string;
|
|
21594
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21256
21595
|
};
|
|
21257
21596
|
Relationships: [];
|
|
21258
21597
|
};
|
|
@@ -21664,6 +22003,51 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
21664
22003
|
referencedColumns: ["id"];
|
|
21665
22004
|
}];
|
|
21666
22005
|
};
|
|
22006
|
+
vakantie_uitbetalingen: {
|
|
22007
|
+
Row: {
|
|
22008
|
+
created_at: string;
|
|
22009
|
+
created_by: string | null;
|
|
22010
|
+
days: number;
|
|
22011
|
+
id: string;
|
|
22012
|
+
note: string | null;
|
|
22013
|
+
updated_at: string;
|
|
22014
|
+
user_id: string;
|
|
22015
|
+
year: number;
|
|
22016
|
+
};
|
|
22017
|
+
Insert: {
|
|
22018
|
+
created_at?: string;
|
|
22019
|
+
created_by?: string | null;
|
|
22020
|
+
days: number;
|
|
22021
|
+
id?: string;
|
|
22022
|
+
note?: string | null;
|
|
22023
|
+
updated_at?: string;
|
|
22024
|
+
user_id: string;
|
|
22025
|
+
year?: number;
|
|
22026
|
+
};
|
|
22027
|
+
Update: {
|
|
22028
|
+
created_at?: string;
|
|
22029
|
+
created_by?: string | null;
|
|
22030
|
+
days?: number;
|
|
22031
|
+
id?: string;
|
|
22032
|
+
note?: string | null;
|
|
22033
|
+
updated_at?: string;
|
|
22034
|
+
user_id?: string;
|
|
22035
|
+
year?: number;
|
|
22036
|
+
};
|
|
22037
|
+
Relationships: [{
|
|
22038
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22039
|
+
columns: ["created_by"];
|
|
22040
|
+
isOneToOne: false;
|
|
22041
|
+
referencedRelation: "profiles";
|
|
22042
|
+
referencedColumns: ["id"];
|
|
22043
|
+
}, {
|
|
22044
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22045
|
+
columns: ["user_id"];
|
|
22046
|
+
isOneToOne: false;
|
|
22047
|
+
referencedRelation: "profiles";
|
|
22048
|
+
referencedColumns: ["id"];
|
|
22049
|
+
}];
|
|
22050
|
+
};
|
|
21667
22051
|
van_inventories: {
|
|
21668
22052
|
Row: {
|
|
21669
22053
|
barcode: string | null;
|
|
@@ -22948,6 +23332,78 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
22948
23332
|
referencedColumns: ["id"];
|
|
22949
23333
|
}];
|
|
22950
23334
|
};
|
|
23335
|
+
werkbon_voorstellen: {
|
|
23336
|
+
Row: {
|
|
23337
|
+
bron_werkbon_id: string;
|
|
23338
|
+
budget_mandate_cents: number;
|
|
23339
|
+
created_at: string;
|
|
23340
|
+
created_by: string;
|
|
23341
|
+
customer_id: string | null;
|
|
23342
|
+
id: string;
|
|
23343
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23344
|
+
reden: string | null;
|
|
23345
|
+
status: string;
|
|
23346
|
+
updated_at: string;
|
|
23347
|
+
verwerkt_door: string | null;
|
|
23348
|
+
verwerkt_op: string | null;
|
|
23349
|
+
werkbon_id: string | null;
|
|
23350
|
+
};
|
|
23351
|
+
Insert: {
|
|
23352
|
+
bron_werkbon_id: string;
|
|
23353
|
+
budget_mandate_cents?: number;
|
|
23354
|
+
created_at?: string;
|
|
23355
|
+
created_by?: string;
|
|
23356
|
+
customer_id?: string | null;
|
|
23357
|
+
id?: string;
|
|
23358
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23359
|
+
reden?: string | null;
|
|
23360
|
+
status?: string;
|
|
23361
|
+
updated_at?: string;
|
|
23362
|
+
verwerkt_door?: string | null;
|
|
23363
|
+
verwerkt_op?: string | null;
|
|
23364
|
+
werkbon_id?: string | null;
|
|
23365
|
+
};
|
|
23366
|
+
Update: {
|
|
23367
|
+
bron_werkbon_id?: string;
|
|
23368
|
+
budget_mandate_cents?: number;
|
|
23369
|
+
created_at?: string;
|
|
23370
|
+
created_by?: string;
|
|
23371
|
+
customer_id?: string | null;
|
|
23372
|
+
id?: string;
|
|
23373
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23374
|
+
reden?: string | null;
|
|
23375
|
+
status?: string;
|
|
23376
|
+
updated_at?: string;
|
|
23377
|
+
verwerkt_door?: string | null;
|
|
23378
|
+
verwerkt_op?: string | null;
|
|
23379
|
+
werkbon_id?: string | null;
|
|
23380
|
+
};
|
|
23381
|
+
Relationships: [{
|
|
23382
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23383
|
+
columns: ["bron_werkbon_id"];
|
|
23384
|
+
isOneToOne: false;
|
|
23385
|
+
referencedRelation: "werkbonnen";
|
|
23386
|
+
referencedColumns: ["id"];
|
|
23387
|
+
}, {
|
|
23388
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23389
|
+
columns: ["bron_werkbon_id"];
|
|
23390
|
+
isOneToOne: false;
|
|
23391
|
+
referencedRelation: "wo_overview";
|
|
23392
|
+
referencedColumns: ["id"];
|
|
23393
|
+
}, {
|
|
23394
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23395
|
+
columns: ["werkbon_id"];
|
|
23396
|
+
isOneToOne: false;
|
|
23397
|
+
referencedRelation: "werkbonnen";
|
|
23398
|
+
referencedColumns: ["id"];
|
|
23399
|
+
}, {
|
|
23400
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23401
|
+
columns: ["werkbon_id"];
|
|
23402
|
+
isOneToOne: false;
|
|
23403
|
+
referencedRelation: "wo_overview";
|
|
23404
|
+
referencedColumns: ["id"];
|
|
23405
|
+
}];
|
|
23406
|
+
};
|
|
22951
23407
|
werkbonnen: {
|
|
22952
23408
|
Row: {
|
|
22953
23409
|
assigned_user_id: string | null;
|
|
@@ -24188,6 +24644,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
24188
24644
|
};
|
|
24189
24645
|
Returns: undefined;
|
|
24190
24646
|
};
|
|
24647
|
+
_wo_is_planner: {
|
|
24648
|
+
Args: never;
|
|
24649
|
+
Returns: boolean;
|
|
24650
|
+
};
|
|
24191
24651
|
afh_city_code: {
|
|
24192
24652
|
Args: {
|
|
24193
24653
|
_city: string;
|
|
@@ -25300,6 +25760,22 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25300
25760
|
};
|
|
25301
25761
|
Returns: number;
|
|
25302
25762
|
};
|
|
25763
|
+
get_product_stock: {
|
|
25764
|
+
Args: {
|
|
25765
|
+
p_product_id: string;
|
|
25766
|
+
};
|
|
25767
|
+
Returns: {
|
|
25768
|
+
connection_id: string;
|
|
25769
|
+
incoming_stock: number;
|
|
25770
|
+
minimum_stock: number;
|
|
25771
|
+
notes: string;
|
|
25772
|
+
physical_stock: number;
|
|
25773
|
+
product_id: string;
|
|
25774
|
+
reserved_stock: number;
|
|
25775
|
+
trade_item_key: string;
|
|
25776
|
+
updated_at: string;
|
|
25777
|
+
}[];
|
|
25778
|
+
};
|
|
25303
25779
|
get_room_busy_windows: {
|
|
25304
25780
|
Args: {
|
|
25305
25781
|
p_from: string;
|
|
@@ -25604,13 +26080,69 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25604
26080
|
};
|
|
25605
26081
|
Returns: import("../integrations/supabase/types").Json;
|
|
25606
26082
|
};
|
|
26083
|
+
inkoop_get_supplier_request: {
|
|
26084
|
+
Args: {
|
|
26085
|
+
_token: string;
|
|
26086
|
+
};
|
|
26087
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26088
|
+
};
|
|
26089
|
+
inkoop_hash_token: {
|
|
26090
|
+
Args: {
|
|
26091
|
+
_token: string;
|
|
26092
|
+
};
|
|
26093
|
+
Returns: string;
|
|
26094
|
+
};
|
|
26095
|
+
inkoop_html_escape: {
|
|
26096
|
+
Args: {
|
|
26097
|
+
_t: string;
|
|
26098
|
+
};
|
|
26099
|
+
Returns: string;
|
|
26100
|
+
};
|
|
26101
|
+
inkoop_list_artikelen: {
|
|
26102
|
+
Args: never;
|
|
26103
|
+
Returns: {
|
|
26104
|
+
article_number: string;
|
|
26105
|
+
barcode: string;
|
|
26106
|
+
id: string;
|
|
26107
|
+
incoming_quantity: number;
|
|
26108
|
+
is_layer: boolean;
|
|
26109
|
+
location: string;
|
|
26110
|
+
min_quantity: number;
|
|
26111
|
+
preferred_supplier_name: string;
|
|
26112
|
+
product: string;
|
|
26113
|
+
product_type: string;
|
|
26114
|
+
purchase_price: number;
|
|
26115
|
+
quantity: number;
|
|
26116
|
+
sale_price: number;
|
|
26117
|
+
supplier_count: number;
|
|
26118
|
+
unit: string;
|
|
26119
|
+
}[];
|
|
26120
|
+
};
|
|
25607
26121
|
inkoop_next_order_number: {
|
|
25608
26122
|
Args: never;
|
|
25609
26123
|
Returns: string;
|
|
25610
26124
|
};
|
|
26125
|
+
inkoop_process_request: {
|
|
26126
|
+
Args: {
|
|
26127
|
+
_request_id: string;
|
|
26128
|
+
};
|
|
26129
|
+
Returns: undefined;
|
|
26130
|
+
};
|
|
25611
26131
|
inkoop_send_order: {
|
|
25612
26132
|
Args: {
|
|
26133
|
+
_base_url?: string;
|
|
26134
|
+
_order_id: string;
|
|
26135
|
+
};
|
|
26136
|
+
Returns: {
|
|
26137
|
+
outbox_id: string;
|
|
26138
|
+
supplier_name: string;
|
|
26139
|
+
to_address: string;
|
|
26140
|
+
}[];
|
|
26141
|
+
} | {
|
|
26142
|
+
Args: {
|
|
26143
|
+
_base_url?: string;
|
|
25613
26144
|
_order_id: string;
|
|
26145
|
+
_resend?: boolean;
|
|
25614
26146
|
};
|
|
25615
26147
|
Returns: {
|
|
25616
26148
|
outbox_id: string;
|
|
@@ -25618,6 +26150,33 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25618
26150
|
to_address: string;
|
|
25619
26151
|
}[];
|
|
25620
26152
|
};
|
|
26153
|
+
inkoop_set_preferred_supplier: {
|
|
26154
|
+
Args: {
|
|
26155
|
+
_product_id: string;
|
|
26156
|
+
_supplier_id: string;
|
|
26157
|
+
};
|
|
26158
|
+
Returns: undefined;
|
|
26159
|
+
};
|
|
26160
|
+
inkoop_stock_key: {
|
|
26161
|
+
Args: {
|
|
26162
|
+
p_product_id: string;
|
|
26163
|
+
};
|
|
26164
|
+
Returns: string;
|
|
26165
|
+
};
|
|
26166
|
+
inkoop_submit_supplier_response: {
|
|
26167
|
+
Args: {
|
|
26168
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26169
|
+
_note?: string;
|
|
26170
|
+
_token: string;
|
|
26171
|
+
};
|
|
26172
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26173
|
+
};
|
|
26174
|
+
inkoop_sync_item_stock: {
|
|
26175
|
+
Args: {
|
|
26176
|
+
p_item_id: string;
|
|
26177
|
+
};
|
|
26178
|
+
Returns: undefined;
|
|
26179
|
+
};
|
|
25621
26180
|
instructie_get: {
|
|
25622
26181
|
Args: {
|
|
25623
26182
|
_sleutel: string;
|
|
@@ -25637,6 +26196,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25637
26196
|
};
|
|
25638
26197
|
Returns: number;
|
|
25639
26198
|
};
|
|
26199
|
+
invoice_branding_snapshot: {
|
|
26200
|
+
Args: never;
|
|
26201
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26202
|
+
};
|
|
25640
26203
|
invoice_create_from_source: {
|
|
25641
26204
|
Args: {
|
|
25642
26205
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25671,6 +26234,17 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25671
26234
|
};
|
|
25672
26235
|
Returns: import("../integrations/supabase/types").Json;
|
|
25673
26236
|
};
|
|
26237
|
+
invoice_mark_sent: {
|
|
26238
|
+
Args: {
|
|
26239
|
+
_invoice_id: string;
|
|
26240
|
+
_to: string;
|
|
26241
|
+
};
|
|
26242
|
+
Returns: undefined;
|
|
26243
|
+
};
|
|
26244
|
+
invoice_peek_next_number: {
|
|
26245
|
+
Args: never;
|
|
26246
|
+
Returns: string;
|
|
26247
|
+
};
|
|
25674
26248
|
invoice_ready_work_orders: {
|
|
25675
26249
|
Args: {
|
|
25676
26250
|
_limit?: number;
|
|
@@ -25683,6 +26257,18 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25683
26257
|
};
|
|
25684
26258
|
Returns: import("../integrations/supabase/types").Json;
|
|
25685
26259
|
};
|
|
26260
|
+
invoice_save_branding_settings: {
|
|
26261
|
+
Args: {
|
|
26262
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26263
|
+
};
|
|
26264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26265
|
+
};
|
|
26266
|
+
invoice_set_email_purpose: {
|
|
26267
|
+
Args: {
|
|
26268
|
+
_purpose: string;
|
|
26269
|
+
};
|
|
26270
|
+
Returns: string;
|
|
26271
|
+
};
|
|
25686
26272
|
invoice_source_lines: {
|
|
25687
26273
|
Args: {
|
|
25688
26274
|
_source_id: string;
|
|
@@ -25690,6 +26276,19 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25690
26276
|
};
|
|
25691
26277
|
Returns: import("../integrations/supabase/types").Json;
|
|
25692
26278
|
};
|
|
26279
|
+
invoice_update_full: {
|
|
26280
|
+
Args: {
|
|
26281
|
+
_invoice_id: string;
|
|
26282
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26283
|
+
};
|
|
26284
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26285
|
+
};
|
|
26286
|
+
invoice_work_order_locked: {
|
|
26287
|
+
Args: {
|
|
26288
|
+
_werkbon_id: string;
|
|
26289
|
+
};
|
|
26290
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26291
|
+
};
|
|
25693
26292
|
is_authenticated: {
|
|
25694
26293
|
Args: never;
|
|
25695
26294
|
Returns: boolean;
|
|
@@ -26849,6 +27448,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
26849
27448
|
Args: never;
|
|
26850
27449
|
Returns: string;
|
|
26851
27450
|
};
|
|
27451
|
+
logistics_order_backlog_info: {
|
|
27452
|
+
Args: {
|
|
27453
|
+
p_order_id: string;
|
|
27454
|
+
};
|
|
27455
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27456
|
+
};
|
|
26852
27457
|
logistics_order_cart_approval: {
|
|
26853
27458
|
Args: {
|
|
26854
27459
|
_order_ref: string;
|
|
@@ -26939,6 +27544,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
26939
27544
|
};
|
|
26940
27545
|
Returns: boolean;
|
|
26941
27546
|
};
|
|
27547
|
+
logistics_order_is_backlog: {
|
|
27548
|
+
Args: {
|
|
27549
|
+
p_order_id: string;
|
|
27550
|
+
};
|
|
27551
|
+
Returns: boolean;
|
|
27552
|
+
};
|
|
26942
27553
|
logistics_order_is_topick: {
|
|
26943
27554
|
Args: {
|
|
26944
27555
|
p_order_id: string;
|
|
@@ -27080,6 +27691,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
27080
27691
|
shifted_count: number;
|
|
27081
27692
|
}[];
|
|
27082
27693
|
};
|
|
27694
|
+
logistics_pick_backlog_max_days: {
|
|
27695
|
+
Args: never;
|
|
27696
|
+
Returns: number;
|
|
27697
|
+
};
|
|
27083
27698
|
logistics_pick_barcode_enabled: {
|
|
27084
27699
|
Args: never;
|
|
27085
27700
|
Returns: boolean;
|
|
@@ -27695,12 +28310,27 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
27695
28310
|
Args: never;
|
|
27696
28311
|
Returns: import("../integrations/supabase/types").Json;
|
|
27697
28312
|
};
|
|
28313
|
+
logistics_sync_pick_queue_backlog: {
|
|
28314
|
+
Args: never;
|
|
28315
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28316
|
+
};
|
|
28317
|
+
logistics_sync_pick_queue_core: {
|
|
28318
|
+
Args: never;
|
|
28319
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28320
|
+
};
|
|
27698
28321
|
logistics_sync_task_carriers: {
|
|
27699
28322
|
Args: {
|
|
27700
28323
|
p_order_ref?: string;
|
|
27701
28324
|
};
|
|
27702
28325
|
Returns: number;
|
|
27703
28326
|
};
|
|
28327
|
+
logistics_task_open_counts: {
|
|
28328
|
+
Args: never;
|
|
28329
|
+
Returns: {
|
|
28330
|
+
open_count: number;
|
|
28331
|
+
owner_module: string;
|
|
28332
|
+
}[];
|
|
28333
|
+
};
|
|
27704
28334
|
logistics_task_owner: {
|
|
27705
28335
|
Args: {
|
|
27706
28336
|
p_task_type: string;
|
|
@@ -28989,6 +29619,19 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
28989
29619
|
};
|
|
28990
29620
|
Returns: boolean;
|
|
28991
29621
|
};
|
|
29622
|
+
quote_assign_number: {
|
|
29623
|
+
Args: {
|
|
29624
|
+
_offerte_id: string;
|
|
29625
|
+
};
|
|
29626
|
+
Returns: string;
|
|
29627
|
+
};
|
|
29628
|
+
quote_create_follow_up_now: {
|
|
29629
|
+
Args: {
|
|
29630
|
+
_offerte_id: string;
|
|
29631
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29632
|
+
};
|
|
29633
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29634
|
+
};
|
|
28992
29635
|
quote_create_from_source: {
|
|
28993
29636
|
Args: {
|
|
28994
29637
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29702,6 +30345,26 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
29702
30345
|
};
|
|
29703
30346
|
Returns: undefined;
|
|
29704
30347
|
};
|
|
30348
|
+
set_product_stock: {
|
|
30349
|
+
Args: {
|
|
30350
|
+
p_incoming_stock?: number;
|
|
30351
|
+
p_minimum_stock?: number;
|
|
30352
|
+
p_notes?: string;
|
|
30353
|
+
p_physical_stock: number;
|
|
30354
|
+
p_product_id: string;
|
|
30355
|
+
};
|
|
30356
|
+
Returns: {
|
|
30357
|
+
connection_id: string;
|
|
30358
|
+
incoming_stock: number;
|
|
30359
|
+
minimum_stock: number;
|
|
30360
|
+
notes: string;
|
|
30361
|
+
physical_stock: number;
|
|
30362
|
+
product_id: string;
|
|
30363
|
+
reserved_stock: number;
|
|
30364
|
+
trade_item_key: string;
|
|
30365
|
+
updated_at: string;
|
|
30366
|
+
}[];
|
|
30367
|
+
};
|
|
29705
30368
|
show_limit: {
|
|
29706
30369
|
Args: never;
|
|
29707
30370
|
Returns: number;
|
|
@@ -30226,6 +30889,13 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
30226
30889
|
};
|
|
30227
30890
|
Returns: number;
|
|
30228
30891
|
};
|
|
30892
|
+
vakantie_overuren: {
|
|
30893
|
+
Args: {
|
|
30894
|
+
_user_id: string;
|
|
30895
|
+
_year?: number;
|
|
30896
|
+
};
|
|
30897
|
+
Returns: number;
|
|
30898
|
+
};
|
|
30229
30899
|
vakantie_saldo: {
|
|
30230
30900
|
Args: {
|
|
30231
30901
|
_user_id: string;
|
|
@@ -30233,7 +30903,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
30233
30903
|
};
|
|
30234
30904
|
Returns: {
|
|
30235
30905
|
day_hours: number;
|
|
30906
|
+
earned_from_overtime_days: number;
|
|
30236
30907
|
entitlement_days: number;
|
|
30908
|
+
hours_to_next_day: number;
|
|
30909
|
+
overtime_hours: number;
|
|
30910
|
+
overtime_remainder_hours: number;
|
|
30911
|
+
paid_out_days: number;
|
|
30237
30912
|
remaining_days: number;
|
|
30238
30913
|
used_days: number;
|
|
30239
30914
|
}[];
|
|
@@ -30244,7 +30919,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
30244
30919
|
};
|
|
30245
30920
|
Returns: {
|
|
30246
30921
|
day_hours: number;
|
|
30922
|
+
earned_from_overtime_days: number;
|
|
30247
30923
|
entitlement_days: number;
|
|
30924
|
+
hours_to_next_day: number;
|
|
30925
|
+
overtime_hours: number;
|
|
30926
|
+
overtime_remainder_hours: number;
|
|
30927
|
+
paid_out_days: number;
|
|
30248
30928
|
remaining_days: number;
|
|
30249
30929
|
used_days: number;
|
|
30250
30930
|
user_id: string;
|
|
@@ -30298,12 +30978,25 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
30298
30978
|
};
|
|
30299
30979
|
Returns: import("../integrations/supabase/types").Json;
|
|
30300
30980
|
};
|
|
30981
|
+
wo_list_proposals: {
|
|
30982
|
+
Args: {
|
|
30983
|
+
_status?: string;
|
|
30984
|
+
};
|
|
30985
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30986
|
+
};
|
|
30301
30987
|
wo_process_offerte_request: {
|
|
30302
30988
|
Args: {
|
|
30303
30989
|
_queue_id: string;
|
|
30304
30990
|
};
|
|
30305
30991
|
Returns: import("../integrations/supabase/types").Json;
|
|
30306
30992
|
};
|
|
30993
|
+
wo_process_proposal: {
|
|
30994
|
+
Args: {
|
|
30995
|
+
_id: string;
|
|
30996
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
30997
|
+
};
|
|
30998
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30999
|
+
};
|
|
30307
31000
|
wo_reject_offerte_request: {
|
|
30308
31001
|
Args: {
|
|
30309
31002
|
_queue_id: string;
|
|
@@ -30311,6 +31004,13 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
30311
31004
|
};
|
|
30312
31005
|
Returns: import("../integrations/supabase/types").Json;
|
|
30313
31006
|
};
|
|
31007
|
+
wo_reject_proposal: {
|
|
31008
|
+
Args: {
|
|
31009
|
+
_id: string;
|
|
31010
|
+
_reden?: string;
|
|
31011
|
+
};
|
|
31012
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
31013
|
+
};
|
|
30314
31014
|
wo_set_status: {
|
|
30315
31015
|
Args: {
|
|
30316
31016
|
_reason?: string;
|
|
@@ -38614,6 +39314,72 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38614
39314
|
};
|
|
38615
39315
|
Relationships: [];
|
|
38616
39316
|
};
|
|
39317
|
+
invoice_branding_settings: {
|
|
39318
|
+
Row: {
|
|
39319
|
+
address: string;
|
|
39320
|
+
chamber_of_commerce_number: string;
|
|
39321
|
+
city: string;
|
|
39322
|
+
company_name: string;
|
|
39323
|
+
created_at: string;
|
|
39324
|
+
email: string;
|
|
39325
|
+
email_purpose: string | null;
|
|
39326
|
+
iban: string;
|
|
39327
|
+
logo_path: string | null;
|
|
39328
|
+
payment_term_days: number;
|
|
39329
|
+
phone: string;
|
|
39330
|
+
postal_code: string;
|
|
39331
|
+
primary_color: string;
|
|
39332
|
+
secondary_color: string;
|
|
39333
|
+
show_company_name: boolean;
|
|
39334
|
+
singleton_key: boolean;
|
|
39335
|
+
updated_at: string;
|
|
39336
|
+
vat_identification_number: string;
|
|
39337
|
+
website: string;
|
|
39338
|
+
};
|
|
39339
|
+
Insert: {
|
|
39340
|
+
address?: string;
|
|
39341
|
+
chamber_of_commerce_number?: string;
|
|
39342
|
+
city?: string;
|
|
39343
|
+
company_name?: string;
|
|
39344
|
+
created_at?: string;
|
|
39345
|
+
email?: string;
|
|
39346
|
+
email_purpose?: string | null;
|
|
39347
|
+
iban?: string;
|
|
39348
|
+
logo_path?: string | null;
|
|
39349
|
+
payment_term_days?: number;
|
|
39350
|
+
phone?: string;
|
|
39351
|
+
postal_code?: string;
|
|
39352
|
+
primary_color?: string;
|
|
39353
|
+
secondary_color?: string;
|
|
39354
|
+
show_company_name?: boolean;
|
|
39355
|
+
singleton_key?: boolean;
|
|
39356
|
+
updated_at?: string;
|
|
39357
|
+
vat_identification_number?: string;
|
|
39358
|
+
website?: string;
|
|
39359
|
+
};
|
|
39360
|
+
Update: {
|
|
39361
|
+
address?: string;
|
|
39362
|
+
chamber_of_commerce_number?: string;
|
|
39363
|
+
city?: string;
|
|
39364
|
+
company_name?: string;
|
|
39365
|
+
created_at?: string;
|
|
39366
|
+
email?: string;
|
|
39367
|
+
email_purpose?: string | null;
|
|
39368
|
+
iban?: string;
|
|
39369
|
+
logo_path?: string | null;
|
|
39370
|
+
payment_term_days?: number;
|
|
39371
|
+
phone?: string;
|
|
39372
|
+
postal_code?: string;
|
|
39373
|
+
primary_color?: string;
|
|
39374
|
+
secondary_color?: string;
|
|
39375
|
+
show_company_name?: boolean;
|
|
39376
|
+
singleton_key?: boolean;
|
|
39377
|
+
updated_at?: string;
|
|
39378
|
+
vat_identification_number?: string;
|
|
39379
|
+
website?: string;
|
|
39380
|
+
};
|
|
39381
|
+
Relationships: [];
|
|
39382
|
+
};
|
|
38617
39383
|
invoice_items: {
|
|
38618
39384
|
Row: {
|
|
38619
39385
|
created_at: string;
|
|
@@ -38627,6 +39393,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38627
39393
|
total_cents: number;
|
|
38628
39394
|
unit: string;
|
|
38629
39395
|
unit_price_cents: number;
|
|
39396
|
+
vat_rate: number | null;
|
|
38630
39397
|
};
|
|
38631
39398
|
Insert: {
|
|
38632
39399
|
created_at?: string;
|
|
@@ -38640,6 +39407,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38640
39407
|
total_cents?: number;
|
|
38641
39408
|
unit?: string;
|
|
38642
39409
|
unit_price_cents?: number;
|
|
39410
|
+
vat_rate?: number | null;
|
|
38643
39411
|
};
|
|
38644
39412
|
Update: {
|
|
38645
39413
|
created_at?: string;
|
|
@@ -38653,6 +39421,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38653
39421
|
total_cents?: number;
|
|
38654
39422
|
unit?: string;
|
|
38655
39423
|
unit_price_cents?: number;
|
|
39424
|
+
vat_rate?: number | null;
|
|
38656
39425
|
};
|
|
38657
39426
|
Relationships: [{
|
|
38658
39427
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -38898,6 +39667,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38898
39667
|
};
|
|
38899
39668
|
invoices: {
|
|
38900
39669
|
Row: {
|
|
39670
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
38901
39671
|
created_at: string;
|
|
38902
39672
|
created_by: string | null;
|
|
38903
39673
|
customer_address: string | null;
|
|
@@ -38916,6 +39686,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38916
39686
|
note: string | null;
|
|
38917
39687
|
payment_term_days: number;
|
|
38918
39688
|
reference: string | null;
|
|
39689
|
+
sent_at: string | null;
|
|
39690
|
+
sent_to: string | null;
|
|
38919
39691
|
source_number: string | null;
|
|
38920
39692
|
source_ref: string | null;
|
|
38921
39693
|
source_type: string;
|
|
@@ -38928,6 +39700,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38928
39700
|
work_address: string | null;
|
|
38929
39701
|
};
|
|
38930
39702
|
Insert: {
|
|
39703
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38931
39704
|
created_at?: string;
|
|
38932
39705
|
created_by?: string | null;
|
|
38933
39706
|
customer_address?: string | null;
|
|
@@ -38946,6 +39719,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38946
39719
|
note?: string | null;
|
|
38947
39720
|
payment_term_days?: number;
|
|
38948
39721
|
reference?: string | null;
|
|
39722
|
+
sent_at?: string | null;
|
|
39723
|
+
sent_to?: string | null;
|
|
38949
39724
|
source_number?: string | null;
|
|
38950
39725
|
source_ref?: string | null;
|
|
38951
39726
|
source_type?: string;
|
|
@@ -38958,6 +39733,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38958
39733
|
work_address?: string | null;
|
|
38959
39734
|
};
|
|
38960
39735
|
Update: {
|
|
39736
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38961
39737
|
created_at?: string;
|
|
38962
39738
|
created_by?: string | null;
|
|
38963
39739
|
customer_address?: string | null;
|
|
@@ -38976,6 +39752,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
38976
39752
|
note?: string | null;
|
|
38977
39753
|
payment_term_days?: number;
|
|
38978
39754
|
reference?: string | null;
|
|
39755
|
+
sent_at?: string | null;
|
|
39756
|
+
sent_to?: string | null;
|
|
38979
39757
|
source_number?: string | null;
|
|
38980
39758
|
source_ref?: string | null;
|
|
38981
39759
|
source_type?: string;
|
|
@@ -39684,6 +40462,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39684
40462
|
quantity: number;
|
|
39685
40463
|
sort_order: number;
|
|
39686
40464
|
source: string;
|
|
40465
|
+
unit: string | null;
|
|
39687
40466
|
unit_price_cents: number;
|
|
39688
40467
|
updated_at: string;
|
|
39689
40468
|
};
|
|
@@ -39697,6 +40476,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39697
40476
|
quantity?: number;
|
|
39698
40477
|
sort_order?: number;
|
|
39699
40478
|
source?: string;
|
|
40479
|
+
unit?: string | null;
|
|
39700
40480
|
unit_price_cents?: number;
|
|
39701
40481
|
updated_at?: string;
|
|
39702
40482
|
};
|
|
@@ -39710,6 +40490,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39710
40490
|
quantity?: number;
|
|
39711
40491
|
sort_order?: number;
|
|
39712
40492
|
source?: string;
|
|
40493
|
+
unit?: string | null;
|
|
39713
40494
|
unit_price_cents?: number;
|
|
39714
40495
|
updated_at?: string;
|
|
39715
40496
|
};
|
|
@@ -39733,6 +40514,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39733
40514
|
created_at: string;
|
|
39734
40515
|
default_geldigheid_dagen: number;
|
|
39735
40516
|
default_vat_rate: number;
|
|
40517
|
+
email_purpose: string | null;
|
|
39736
40518
|
id: string;
|
|
39737
40519
|
singleton: boolean;
|
|
39738
40520
|
updated_at: string;
|
|
@@ -39742,6 +40524,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39742
40524
|
created_at?: string;
|
|
39743
40525
|
default_geldigheid_dagen?: number;
|
|
39744
40526
|
default_vat_rate?: number;
|
|
40527
|
+
email_purpose?: string | null;
|
|
39745
40528
|
id?: string;
|
|
39746
40529
|
singleton?: boolean;
|
|
39747
40530
|
updated_at?: string;
|
|
@@ -39751,6 +40534,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39751
40534
|
created_at?: string;
|
|
39752
40535
|
default_geldigheid_dagen?: number;
|
|
39753
40536
|
default_vat_rate?: number;
|
|
40537
|
+
email_purpose?: string | null;
|
|
39754
40538
|
id?: string;
|
|
39755
40539
|
singleton?: boolean;
|
|
39756
40540
|
updated_at?: string;
|
|
@@ -39843,6 +40627,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39843
40627
|
};
|
|
39844
40628
|
itk_offertes: {
|
|
39845
40629
|
Row: {
|
|
40630
|
+
aandachtspunten: string | null;
|
|
39846
40631
|
ai_generated: boolean;
|
|
39847
40632
|
approved_at: string | null;
|
|
39848
40633
|
binnen_mandaat: boolean;
|
|
@@ -39858,6 +40643,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39858
40643
|
notities: string | null;
|
|
39859
40644
|
offerte_number: string | null;
|
|
39860
40645
|
omschrijving: string;
|
|
40646
|
+
onderwerp: string | null;
|
|
39861
40647
|
rejected_at: string | null;
|
|
39862
40648
|
sent_at: string | null;
|
|
39863
40649
|
source_number: string | null;
|
|
@@ -39870,12 +40656,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39870
40656
|
valid_until: string | null;
|
|
39871
40657
|
vat_cents: number;
|
|
39872
40658
|
vat_rate: number;
|
|
40659
|
+
verzonden_naar: string | null;
|
|
39873
40660
|
viewed_at: string | null;
|
|
39874
40661
|
volgnummer: number | null;
|
|
40662
|
+
voorwaarden: string | null;
|
|
39875
40663
|
werkbon_id: string | null;
|
|
39876
40664
|
work_location_id: string | null;
|
|
39877
40665
|
};
|
|
39878
40666
|
Insert: {
|
|
40667
|
+
aandachtspunten?: string | null;
|
|
39879
40668
|
ai_generated?: boolean;
|
|
39880
40669
|
approved_at?: string | null;
|
|
39881
40670
|
binnen_mandaat?: boolean;
|
|
@@ -39891,6 +40680,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39891
40680
|
notities?: string | null;
|
|
39892
40681
|
offerte_number?: string | null;
|
|
39893
40682
|
omschrijving?: string;
|
|
40683
|
+
onderwerp?: string | null;
|
|
39894
40684
|
rejected_at?: string | null;
|
|
39895
40685
|
sent_at?: string | null;
|
|
39896
40686
|
source_number?: string | null;
|
|
@@ -39903,12 +40693,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39903
40693
|
valid_until?: string | null;
|
|
39904
40694
|
vat_cents?: number;
|
|
39905
40695
|
vat_rate?: number;
|
|
40696
|
+
verzonden_naar?: string | null;
|
|
39906
40697
|
viewed_at?: string | null;
|
|
39907
40698
|
volgnummer?: number | null;
|
|
40699
|
+
voorwaarden?: string | null;
|
|
39908
40700
|
werkbon_id?: string | null;
|
|
39909
40701
|
work_location_id?: string | null;
|
|
39910
40702
|
};
|
|
39911
40703
|
Update: {
|
|
40704
|
+
aandachtspunten?: string | null;
|
|
39912
40705
|
ai_generated?: boolean;
|
|
39913
40706
|
approved_at?: string | null;
|
|
39914
40707
|
binnen_mandaat?: boolean;
|
|
@@ -39924,6 +40717,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39924
40717
|
notities?: string | null;
|
|
39925
40718
|
offerte_number?: string | null;
|
|
39926
40719
|
omschrijving?: string;
|
|
40720
|
+
onderwerp?: string | null;
|
|
39927
40721
|
rejected_at?: string | null;
|
|
39928
40722
|
sent_at?: string | null;
|
|
39929
40723
|
source_number?: string | null;
|
|
@@ -39936,8 +40730,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39936
40730
|
valid_until?: string | null;
|
|
39937
40731
|
vat_cents?: number;
|
|
39938
40732
|
vat_rate?: number;
|
|
40733
|
+
verzonden_naar?: string | null;
|
|
39939
40734
|
viewed_at?: string | null;
|
|
39940
40735
|
volgnummer?: number | null;
|
|
40736
|
+
voorwaarden?: string | null;
|
|
39941
40737
|
werkbon_id?: string | null;
|
|
39942
40738
|
work_location_id?: string | null;
|
|
39943
40739
|
};
|
|
@@ -44949,6 +45745,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
44949
45745
|
next_attempt_at: string;
|
|
44950
45746
|
order_id: string;
|
|
44951
45747
|
processed_at: string | null;
|
|
45748
|
+
send_error: string | null;
|
|
44952
45749
|
status: string;
|
|
44953
45750
|
updated_at: string;
|
|
44954
45751
|
};
|
|
@@ -44962,6 +45759,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
44962
45759
|
next_attempt_at?: string;
|
|
44963
45760
|
order_id: string;
|
|
44964
45761
|
processed_at?: string | null;
|
|
45762
|
+
send_error?: string | null;
|
|
44965
45763
|
status?: string;
|
|
44966
45764
|
updated_at?: string;
|
|
44967
45765
|
};
|
|
@@ -44975,6 +45773,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
44975
45773
|
next_attempt_at?: string;
|
|
44976
45774
|
order_id?: string;
|
|
44977
45775
|
processed_at?: string | null;
|
|
45776
|
+
send_error?: string | null;
|
|
44978
45777
|
status?: string;
|
|
44979
45778
|
updated_at?: string;
|
|
44980
45779
|
};
|
|
@@ -48004,6 +48803,66 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48004
48803
|
};
|
|
48005
48804
|
Relationships: [];
|
|
48006
48805
|
};
|
|
48806
|
+
product_suppliers: {
|
|
48807
|
+
Row: {
|
|
48808
|
+
created_at: string;
|
|
48809
|
+
id: string;
|
|
48810
|
+
is_preferred: boolean;
|
|
48811
|
+
lead_time_days: number | null;
|
|
48812
|
+
min_order_quantity: number | null;
|
|
48813
|
+
notes: string | null;
|
|
48814
|
+
product_id: string;
|
|
48815
|
+
purchase_price_cents: number | null;
|
|
48816
|
+
supplier_article_number: string | null;
|
|
48817
|
+
supplier_id: string;
|
|
48818
|
+
updated_at: string;
|
|
48819
|
+
};
|
|
48820
|
+
Insert: {
|
|
48821
|
+
created_at?: string;
|
|
48822
|
+
id?: string;
|
|
48823
|
+
is_preferred?: boolean;
|
|
48824
|
+
lead_time_days?: number | null;
|
|
48825
|
+
min_order_quantity?: number | null;
|
|
48826
|
+
notes?: string | null;
|
|
48827
|
+
product_id: string;
|
|
48828
|
+
purchase_price_cents?: number | null;
|
|
48829
|
+
supplier_article_number?: string | null;
|
|
48830
|
+
supplier_id: string;
|
|
48831
|
+
updated_at?: string;
|
|
48832
|
+
};
|
|
48833
|
+
Update: {
|
|
48834
|
+
created_at?: string;
|
|
48835
|
+
id?: string;
|
|
48836
|
+
is_preferred?: boolean;
|
|
48837
|
+
lead_time_days?: number | null;
|
|
48838
|
+
min_order_quantity?: number | null;
|
|
48839
|
+
notes?: string | null;
|
|
48840
|
+
product_id?: string;
|
|
48841
|
+
purchase_price_cents?: number | null;
|
|
48842
|
+
supplier_article_number?: string | null;
|
|
48843
|
+
supplier_id?: string;
|
|
48844
|
+
updated_at?: string;
|
|
48845
|
+
};
|
|
48846
|
+
Relationships: [{
|
|
48847
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48848
|
+
columns: ["product_id"];
|
|
48849
|
+
isOneToOne: false;
|
|
48850
|
+
referencedRelation: "logistics_product_dimensions";
|
|
48851
|
+
referencedColumns: ["product_id"];
|
|
48852
|
+
}, {
|
|
48853
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48854
|
+
columns: ["product_id"];
|
|
48855
|
+
isOneToOne: false;
|
|
48856
|
+
referencedRelation: "products";
|
|
48857
|
+
referencedColumns: ["id"];
|
|
48858
|
+
}, {
|
|
48859
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
48860
|
+
columns: ["supplier_id"];
|
|
48861
|
+
isOneToOne: false;
|
|
48862
|
+
referencedRelation: "suppliers";
|
|
48863
|
+
referencedColumns: ["id"];
|
|
48864
|
+
}];
|
|
48865
|
+
};
|
|
48007
48866
|
product_tray_stickers: {
|
|
48008
48867
|
Row: {
|
|
48009
48868
|
bestand_url: string;
|
|
@@ -48508,9 +49367,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48508
49367
|
purchase_order_items: {
|
|
48509
49368
|
Row: {
|
|
48510
49369
|
article_number: string | null;
|
|
49370
|
+
cancelled_at: string | null;
|
|
48511
49371
|
created_at: string;
|
|
48512
49372
|
delivery_date: string | null;
|
|
48513
49373
|
id: string;
|
|
49374
|
+
incoming_booked: number;
|
|
49375
|
+
line_status: string;
|
|
48514
49376
|
name: string;
|
|
48515
49377
|
note: string | null;
|
|
48516
49378
|
pot_size: string | null;
|
|
@@ -48518,6 +49380,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48518
49380
|
product_type: string;
|
|
48519
49381
|
purchase_order_id: string;
|
|
48520
49382
|
quantity: number;
|
|
49383
|
+
received_at: string | null;
|
|
49384
|
+
received_booked: number;
|
|
48521
49385
|
supplier_id: string | null;
|
|
48522
49386
|
supplier_product_id: string | null;
|
|
48523
49387
|
unit_price_cents: number;
|
|
@@ -48525,9 +49389,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48525
49389
|
};
|
|
48526
49390
|
Insert: {
|
|
48527
49391
|
article_number?: string | null;
|
|
49392
|
+
cancelled_at?: string | null;
|
|
48528
49393
|
created_at?: string;
|
|
48529
49394
|
delivery_date?: string | null;
|
|
48530
49395
|
id?: string;
|
|
49396
|
+
incoming_booked?: number;
|
|
49397
|
+
line_status?: string;
|
|
48531
49398
|
name?: string;
|
|
48532
49399
|
note?: string | null;
|
|
48533
49400
|
pot_size?: string | null;
|
|
@@ -48535,6 +49402,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48535
49402
|
product_type?: string;
|
|
48536
49403
|
purchase_order_id: string;
|
|
48537
49404
|
quantity?: number;
|
|
49405
|
+
received_at?: string | null;
|
|
49406
|
+
received_booked?: number;
|
|
48538
49407
|
supplier_id?: string | null;
|
|
48539
49408
|
supplier_product_id?: string | null;
|
|
48540
49409
|
unit_price_cents?: number;
|
|
@@ -48542,9 +49411,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48542
49411
|
};
|
|
48543
49412
|
Update: {
|
|
48544
49413
|
article_number?: string | null;
|
|
49414
|
+
cancelled_at?: string | null;
|
|
48545
49415
|
created_at?: string;
|
|
48546
49416
|
delivery_date?: string | null;
|
|
48547
49417
|
id?: string;
|
|
49418
|
+
incoming_booked?: number;
|
|
49419
|
+
line_status?: string;
|
|
48548
49420
|
name?: string;
|
|
48549
49421
|
note?: string | null;
|
|
48550
49422
|
pot_size?: string | null;
|
|
@@ -48552,6 +49424,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48552
49424
|
product_type?: string;
|
|
48553
49425
|
purchase_order_id?: string;
|
|
48554
49426
|
quantity?: number;
|
|
49427
|
+
received_at?: string | null;
|
|
49428
|
+
received_booked?: number;
|
|
48555
49429
|
supplier_id?: string | null;
|
|
48556
49430
|
supplier_product_id?: string | null;
|
|
48557
49431
|
unit_price_cents?: number;
|
|
@@ -48655,6 +49529,153 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
48655
49529
|
referencedColumns: ["id"];
|
|
48656
49530
|
}];
|
|
48657
49531
|
};
|
|
49532
|
+
purchase_request_events: {
|
|
49533
|
+
Row: {
|
|
49534
|
+
created_at: string;
|
|
49535
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49536
|
+
event_type: string;
|
|
49537
|
+
id: string;
|
|
49538
|
+
request_id: string;
|
|
49539
|
+
};
|
|
49540
|
+
Insert: {
|
|
49541
|
+
created_at?: string;
|
|
49542
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49543
|
+
event_type: string;
|
|
49544
|
+
id?: string;
|
|
49545
|
+
request_id: string;
|
|
49546
|
+
};
|
|
49547
|
+
Update: {
|
|
49548
|
+
created_at?: string;
|
|
49549
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49550
|
+
event_type?: string;
|
|
49551
|
+
id?: string;
|
|
49552
|
+
request_id?: string;
|
|
49553
|
+
};
|
|
49554
|
+
Relationships: [{
|
|
49555
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
49556
|
+
columns: ["request_id"];
|
|
49557
|
+
isOneToOne: false;
|
|
49558
|
+
referencedRelation: "purchase_requests";
|
|
49559
|
+
referencedColumns: ["id"];
|
|
49560
|
+
}];
|
|
49561
|
+
};
|
|
49562
|
+
purchase_request_responses: {
|
|
49563
|
+
Row: {
|
|
49564
|
+
confirmed_date: string | null;
|
|
49565
|
+
confirmed_price_cents: number | null;
|
|
49566
|
+
confirmed_quantity: number;
|
|
49567
|
+
created_at: string;
|
|
49568
|
+
id: string;
|
|
49569
|
+
not_available: boolean;
|
|
49570
|
+
note: string | null;
|
|
49571
|
+
purchase_order_item_id: string;
|
|
49572
|
+
request_id: string;
|
|
49573
|
+
updated_at: string;
|
|
49574
|
+
};
|
|
49575
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
49600
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
49601
|
+
columns: ["purchase_order_item_id"];
|
|
49602
|
+
isOneToOne: false;
|
|
49603
|
+
referencedRelation: "purchase_order_items";
|
|
49604
|
+
referencedColumns: ["id"];
|
|
49605
|
+
}, {
|
|
49606
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
49607
|
+
columns: ["request_id"];
|
|
49608
|
+
isOneToOne: false;
|
|
49609
|
+
referencedRelation: "purchase_requests";
|
|
49610
|
+
referencedColumns: ["id"];
|
|
49611
|
+
}];
|
|
49612
|
+
};
|
|
49613
|
+
purchase_requests: {
|
|
49614
|
+
Row: {
|
|
49615
|
+
created_at: string;
|
|
49616
|
+
expires_at: string;
|
|
49617
|
+
first_viewed_at: string | null;
|
|
49618
|
+
id: string;
|
|
49619
|
+
processed_at: string | null;
|
|
49620
|
+
purchase_order_id: string;
|
|
49621
|
+
responded_at: string | null;
|
|
49622
|
+
sent_at: string;
|
|
49623
|
+
status: string;
|
|
49624
|
+
supplier_id: string | null;
|
|
49625
|
+
supplier_name: string;
|
|
49626
|
+
supplier_note: string | null;
|
|
49627
|
+
to_address: string | null;
|
|
49628
|
+
token_hash: string;
|
|
49629
|
+
updated_at: string;
|
|
49630
|
+
};
|
|
49631
|
+
Insert: {
|
|
49632
|
+
created_at?: string;
|
|
49633
|
+
expires_at?: string;
|
|
49634
|
+
first_viewed_at?: string | null;
|
|
49635
|
+
id?: string;
|
|
49636
|
+
processed_at?: string | null;
|
|
49637
|
+
purchase_order_id: string;
|
|
49638
|
+
responded_at?: string | null;
|
|
49639
|
+
sent_at?: string;
|
|
49640
|
+
status?: string;
|
|
49641
|
+
supplier_id?: string | null;
|
|
49642
|
+
supplier_name?: string;
|
|
49643
|
+
supplier_note?: string | null;
|
|
49644
|
+
to_address?: string | null;
|
|
49645
|
+
token_hash: string;
|
|
49646
|
+
updated_at?: string;
|
|
49647
|
+
};
|
|
49648
|
+
Update: {
|
|
49649
|
+
created_at?: string;
|
|
49650
|
+
expires_at?: string;
|
|
49651
|
+
first_viewed_at?: string | null;
|
|
49652
|
+
id?: string;
|
|
49653
|
+
processed_at?: string | null;
|
|
49654
|
+
purchase_order_id?: string;
|
|
49655
|
+
responded_at?: string | null;
|
|
49656
|
+
sent_at?: string;
|
|
49657
|
+
status?: string;
|
|
49658
|
+
supplier_id?: string | null;
|
|
49659
|
+
supplier_name?: string;
|
|
49660
|
+
supplier_note?: string | null;
|
|
49661
|
+
to_address?: string | null;
|
|
49662
|
+
token_hash?: string;
|
|
49663
|
+
updated_at?: string;
|
|
49664
|
+
};
|
|
49665
|
+
Relationships: [{
|
|
49666
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
49667
|
+
columns: ["purchase_order_id"];
|
|
49668
|
+
isOneToOne: false;
|
|
49669
|
+
referencedRelation: "purchase_orders";
|
|
49670
|
+
referencedColumns: ["id"];
|
|
49671
|
+
}, {
|
|
49672
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
49673
|
+
columns: ["supplier_id"];
|
|
49674
|
+
isOneToOne: false;
|
|
49675
|
+
referencedRelation: "suppliers";
|
|
49676
|
+
referencedColumns: ["id"];
|
|
49677
|
+
}];
|
|
49678
|
+
};
|
|
48658
49679
|
reception_notifications: {
|
|
48659
49680
|
Row: {
|
|
48660
49681
|
booking_id: string | null;
|
|
@@ -50818,6 +51839,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50818
51839
|
auto_invoice_enabled: boolean;
|
|
50819
51840
|
auto_invoice_start_date: string | null;
|
|
50820
51841
|
auto_invoice_trigger_statuses: string[];
|
|
51842
|
+
auto_send_mode: string | null;
|
|
50821
51843
|
created_at: string;
|
|
50822
51844
|
debtor_gl_account: string;
|
|
50823
51845
|
default_article_code: string | null;
|
|
@@ -50846,6 +51868,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50846
51868
|
auto_invoice_enabled?: boolean;
|
|
50847
51869
|
auto_invoice_start_date?: string | null;
|
|
50848
51870
|
auto_invoice_trigger_statuses?: string[];
|
|
51871
|
+
auto_send_mode?: string | null;
|
|
50849
51872
|
created_at?: string;
|
|
50850
51873
|
debtor_gl_account?: string;
|
|
50851
51874
|
default_article_code?: string | null;
|
|
@@ -50874,6 +51897,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50874
51897
|
auto_invoice_enabled?: boolean;
|
|
50875
51898
|
auto_invoice_start_date?: string | null;
|
|
50876
51899
|
auto_invoice_trigger_statuses?: string[];
|
|
51900
|
+
auto_send_mode?: string | null;
|
|
50877
51901
|
created_at?: string;
|
|
50878
51902
|
debtor_gl_account?: string;
|
|
50879
51903
|
default_article_code?: string | null;
|
|
@@ -51317,16 +52341,19 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
51317
52341
|
Row: {
|
|
51318
52342
|
active_environment: string;
|
|
51319
52343
|
id: number;
|
|
52344
|
+
public_base_url: string | null;
|
|
51320
52345
|
updated_at: string;
|
|
51321
52346
|
};
|
|
51322
52347
|
Insert: {
|
|
51323
52348
|
active_environment?: string;
|
|
51324
52349
|
id?: number;
|
|
52350
|
+
public_base_url?: string | null;
|
|
51325
52351
|
updated_at?: string;
|
|
51326
52352
|
};
|
|
51327
52353
|
Update: {
|
|
51328
52354
|
active_environment?: string;
|
|
51329
52355
|
id?: number;
|
|
52356
|
+
public_base_url?: string | null;
|
|
51330
52357
|
updated_at?: string;
|
|
51331
52358
|
};
|
|
51332
52359
|
Relationships: [];
|
|
@@ -51557,11 +52584,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
51557
52584
|
monteur_id: string;
|
|
51558
52585
|
netto_verschil_minuten: number;
|
|
51559
52586
|
normaal_uitbetaald_minuten: number;
|
|
52587
|
+
omgezet_vakantie_minuten: number;
|
|
52588
|
+
overdracht_vorige_minuten: number;
|
|
51560
52589
|
overuren_minuten: number;
|
|
51561
52590
|
plus_minuten: number;
|
|
52591
|
+
rest_overuren_minuten: number;
|
|
51562
52592
|
status: string;
|
|
51563
52593
|
totaal_uitbetaald_minuten: number;
|
|
51564
52594
|
updated_at: string;
|
|
52595
|
+
vakantie_uren_bijgeschreven: number;
|
|
51565
52596
|
};
|
|
51566
52597
|
Insert: {
|
|
51567
52598
|
afgesloten_at?: string | null;
|
|
@@ -51578,11 +52609,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
51578
52609
|
monteur_id: string;
|
|
51579
52610
|
netto_verschil_minuten?: number;
|
|
51580
52611
|
normaal_uitbetaald_minuten?: number;
|
|
52612
|
+
omgezet_vakantie_minuten?: number;
|
|
52613
|
+
overdracht_vorige_minuten?: number;
|
|
51581
52614
|
overuren_minuten?: number;
|
|
51582
52615
|
plus_minuten?: number;
|
|
52616
|
+
rest_overuren_minuten?: number;
|
|
51583
52617
|
status?: string;
|
|
51584
52618
|
totaal_uitbetaald_minuten?: number;
|
|
51585
52619
|
updated_at?: string;
|
|
52620
|
+
vakantie_uren_bijgeschreven?: number;
|
|
51586
52621
|
};
|
|
51587
52622
|
Update: {
|
|
51588
52623
|
afgesloten_at?: string | null;
|
|
@@ -51599,11 +52634,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
51599
52634
|
monteur_id?: string;
|
|
51600
52635
|
netto_verschil_minuten?: number;
|
|
51601
52636
|
normaal_uitbetaald_minuten?: number;
|
|
52637
|
+
omgezet_vakantie_minuten?: number;
|
|
52638
|
+
overdracht_vorige_minuten?: number;
|
|
51602
52639
|
overuren_minuten?: number;
|
|
51603
52640
|
plus_minuten?: number;
|
|
52641
|
+
rest_overuren_minuten?: number;
|
|
51604
52642
|
status?: string;
|
|
51605
52643
|
totaal_uitbetaald_minuten?: number;
|
|
51606
52644
|
updated_at?: string;
|
|
52645
|
+
vakantie_uren_bijgeschreven?: number;
|
|
51607
52646
|
};
|
|
51608
52647
|
Relationships: [];
|
|
51609
52648
|
};
|
|
@@ -52015,6 +53054,51 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
52015
53054
|
referencedColumns: ["id"];
|
|
52016
53055
|
}];
|
|
52017
53056
|
};
|
|
53057
|
+
vakantie_uitbetalingen: {
|
|
53058
|
+
Row: {
|
|
53059
|
+
created_at: string;
|
|
53060
|
+
created_by: string | null;
|
|
53061
|
+
days: number;
|
|
53062
|
+
id: string;
|
|
53063
|
+
note: string | null;
|
|
53064
|
+
updated_at: string;
|
|
53065
|
+
user_id: string;
|
|
53066
|
+
year: number;
|
|
53067
|
+
};
|
|
53068
|
+
Insert: {
|
|
53069
|
+
created_at?: string;
|
|
53070
|
+
created_by?: string | null;
|
|
53071
|
+
days: number;
|
|
53072
|
+
id?: string;
|
|
53073
|
+
note?: string | null;
|
|
53074
|
+
updated_at?: string;
|
|
53075
|
+
user_id: string;
|
|
53076
|
+
year?: number;
|
|
53077
|
+
};
|
|
53078
|
+
Update: {
|
|
53079
|
+
created_at?: string;
|
|
53080
|
+
created_by?: string | null;
|
|
53081
|
+
days?: number;
|
|
53082
|
+
id?: string;
|
|
53083
|
+
note?: string | null;
|
|
53084
|
+
updated_at?: string;
|
|
53085
|
+
user_id?: string;
|
|
53086
|
+
year?: number;
|
|
53087
|
+
};
|
|
53088
|
+
Relationships: [{
|
|
53089
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
53090
|
+
columns: ["created_by"];
|
|
53091
|
+
isOneToOne: false;
|
|
53092
|
+
referencedRelation: "profiles";
|
|
53093
|
+
referencedColumns: ["id"];
|
|
53094
|
+
}, {
|
|
53095
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
53096
|
+
columns: ["user_id"];
|
|
53097
|
+
isOneToOne: false;
|
|
53098
|
+
referencedRelation: "profiles";
|
|
53099
|
+
referencedColumns: ["id"];
|
|
53100
|
+
}];
|
|
53101
|
+
};
|
|
52018
53102
|
van_inventories: {
|
|
52019
53103
|
Row: {
|
|
52020
53104
|
barcode: string | null;
|
|
@@ -53299,6 +54383,78 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
53299
54383
|
referencedColumns: ["id"];
|
|
53300
54384
|
}];
|
|
53301
54385
|
};
|
|
54386
|
+
werkbon_voorstellen: {
|
|
54387
|
+
Row: {
|
|
54388
|
+
bron_werkbon_id: string;
|
|
54389
|
+
budget_mandate_cents: number;
|
|
54390
|
+
created_at: string;
|
|
54391
|
+
created_by: string;
|
|
54392
|
+
customer_id: string | null;
|
|
54393
|
+
id: string;
|
|
54394
|
+
payload: import("../integrations/supabase/types").Json;
|
|
54395
|
+
reden: string | null;
|
|
54396
|
+
status: string;
|
|
54397
|
+
updated_at: string;
|
|
54398
|
+
verwerkt_door: string | null;
|
|
54399
|
+
verwerkt_op: string | null;
|
|
54400
|
+
werkbon_id: string | null;
|
|
54401
|
+
};
|
|
54402
|
+
Insert: {
|
|
54403
|
+
bron_werkbon_id: string;
|
|
54404
|
+
budget_mandate_cents?: number;
|
|
54405
|
+
created_at?: string;
|
|
54406
|
+
created_by?: string;
|
|
54407
|
+
customer_id?: string | null;
|
|
54408
|
+
id?: string;
|
|
54409
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
54410
|
+
reden?: string | null;
|
|
54411
|
+
status?: string;
|
|
54412
|
+
updated_at?: string;
|
|
54413
|
+
verwerkt_door?: string | null;
|
|
54414
|
+
verwerkt_op?: string | null;
|
|
54415
|
+
werkbon_id?: string | null;
|
|
54416
|
+
};
|
|
54417
|
+
Update: {
|
|
54418
|
+
bron_werkbon_id?: string;
|
|
54419
|
+
budget_mandate_cents?: number;
|
|
54420
|
+
created_at?: string;
|
|
54421
|
+
created_by?: string;
|
|
54422
|
+
customer_id?: string | null;
|
|
54423
|
+
id?: string;
|
|
54424
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
54425
|
+
reden?: string | null;
|
|
54426
|
+
status?: string;
|
|
54427
|
+
updated_at?: string;
|
|
54428
|
+
verwerkt_door?: string | null;
|
|
54429
|
+
verwerkt_op?: string | null;
|
|
54430
|
+
werkbon_id?: string | null;
|
|
54431
|
+
};
|
|
54432
|
+
Relationships: [{
|
|
54433
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
54434
|
+
columns: ["bron_werkbon_id"];
|
|
54435
|
+
isOneToOne: false;
|
|
54436
|
+
referencedRelation: "werkbonnen";
|
|
54437
|
+
referencedColumns: ["id"];
|
|
54438
|
+
}, {
|
|
54439
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
54440
|
+
columns: ["bron_werkbon_id"];
|
|
54441
|
+
isOneToOne: false;
|
|
54442
|
+
referencedRelation: "wo_overview";
|
|
54443
|
+
referencedColumns: ["id"];
|
|
54444
|
+
}, {
|
|
54445
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
54446
|
+
columns: ["werkbon_id"];
|
|
54447
|
+
isOneToOne: false;
|
|
54448
|
+
referencedRelation: "werkbonnen";
|
|
54449
|
+
referencedColumns: ["id"];
|
|
54450
|
+
}, {
|
|
54451
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
54452
|
+
columns: ["werkbon_id"];
|
|
54453
|
+
isOneToOne: false;
|
|
54454
|
+
referencedRelation: "wo_overview";
|
|
54455
|
+
referencedColumns: ["id"];
|
|
54456
|
+
}];
|
|
54457
|
+
};
|
|
53302
54458
|
werkbonnen: {
|
|
53303
54459
|
Row: {
|
|
53304
54460
|
assigned_user_id: string | null;
|
|
@@ -54539,6 +55695,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
54539
55695
|
};
|
|
54540
55696
|
Returns: undefined;
|
|
54541
55697
|
};
|
|
55698
|
+
_wo_is_planner: {
|
|
55699
|
+
Args: never;
|
|
55700
|
+
Returns: boolean;
|
|
55701
|
+
};
|
|
54542
55702
|
afh_city_code: {
|
|
54543
55703
|
Args: {
|
|
54544
55704
|
_city: string;
|
|
@@ -55651,6 +56811,22 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
55651
56811
|
};
|
|
55652
56812
|
Returns: number;
|
|
55653
56813
|
};
|
|
56814
|
+
get_product_stock: {
|
|
56815
|
+
Args: {
|
|
56816
|
+
p_product_id: string;
|
|
56817
|
+
};
|
|
56818
|
+
Returns: {
|
|
56819
|
+
connection_id: string;
|
|
56820
|
+
incoming_stock: number;
|
|
56821
|
+
minimum_stock: number;
|
|
56822
|
+
notes: string;
|
|
56823
|
+
physical_stock: number;
|
|
56824
|
+
product_id: string;
|
|
56825
|
+
reserved_stock: number;
|
|
56826
|
+
trade_item_key: string;
|
|
56827
|
+
updated_at: string;
|
|
56828
|
+
}[];
|
|
56829
|
+
};
|
|
55654
56830
|
get_room_busy_windows: {
|
|
55655
56831
|
Args: {
|
|
55656
56832
|
p_from: string;
|
|
@@ -55955,13 +57131,69 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
55955
57131
|
};
|
|
55956
57132
|
Returns: import("../integrations/supabase/types").Json;
|
|
55957
57133
|
};
|
|
57134
|
+
inkoop_get_supplier_request: {
|
|
57135
|
+
Args: {
|
|
57136
|
+
_token: string;
|
|
57137
|
+
};
|
|
57138
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57139
|
+
};
|
|
57140
|
+
inkoop_hash_token: {
|
|
57141
|
+
Args: {
|
|
57142
|
+
_token: string;
|
|
57143
|
+
};
|
|
57144
|
+
Returns: string;
|
|
57145
|
+
};
|
|
57146
|
+
inkoop_html_escape: {
|
|
57147
|
+
Args: {
|
|
57148
|
+
_t: string;
|
|
57149
|
+
};
|
|
57150
|
+
Returns: string;
|
|
57151
|
+
};
|
|
57152
|
+
inkoop_list_artikelen: {
|
|
57153
|
+
Args: never;
|
|
57154
|
+
Returns: {
|
|
57155
|
+
article_number: string;
|
|
57156
|
+
barcode: string;
|
|
57157
|
+
id: string;
|
|
57158
|
+
incoming_quantity: number;
|
|
57159
|
+
is_layer: boolean;
|
|
57160
|
+
location: string;
|
|
57161
|
+
min_quantity: number;
|
|
57162
|
+
preferred_supplier_name: string;
|
|
57163
|
+
product: string;
|
|
57164
|
+
product_type: string;
|
|
57165
|
+
purchase_price: number;
|
|
57166
|
+
quantity: number;
|
|
57167
|
+
sale_price: number;
|
|
57168
|
+
supplier_count: number;
|
|
57169
|
+
unit: string;
|
|
57170
|
+
}[];
|
|
57171
|
+
};
|
|
55958
57172
|
inkoop_next_order_number: {
|
|
55959
57173
|
Args: never;
|
|
55960
57174
|
Returns: string;
|
|
55961
57175
|
};
|
|
57176
|
+
inkoop_process_request: {
|
|
57177
|
+
Args: {
|
|
57178
|
+
_request_id: string;
|
|
57179
|
+
};
|
|
57180
|
+
Returns: undefined;
|
|
57181
|
+
};
|
|
55962
57182
|
inkoop_send_order: {
|
|
55963
57183
|
Args: {
|
|
57184
|
+
_base_url?: string;
|
|
57185
|
+
_order_id: string;
|
|
57186
|
+
};
|
|
57187
|
+
Returns: {
|
|
57188
|
+
outbox_id: string;
|
|
57189
|
+
supplier_name: string;
|
|
57190
|
+
to_address: string;
|
|
57191
|
+
}[];
|
|
57192
|
+
} | {
|
|
57193
|
+
Args: {
|
|
57194
|
+
_base_url?: string;
|
|
55964
57195
|
_order_id: string;
|
|
57196
|
+
_resend?: boolean;
|
|
55965
57197
|
};
|
|
55966
57198
|
Returns: {
|
|
55967
57199
|
outbox_id: string;
|
|
@@ -55969,6 +57201,33 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
55969
57201
|
to_address: string;
|
|
55970
57202
|
}[];
|
|
55971
57203
|
};
|
|
57204
|
+
inkoop_set_preferred_supplier: {
|
|
57205
|
+
Args: {
|
|
57206
|
+
_product_id: string;
|
|
57207
|
+
_supplier_id: string;
|
|
57208
|
+
};
|
|
57209
|
+
Returns: undefined;
|
|
57210
|
+
};
|
|
57211
|
+
inkoop_stock_key: {
|
|
57212
|
+
Args: {
|
|
57213
|
+
p_product_id: string;
|
|
57214
|
+
};
|
|
57215
|
+
Returns: string;
|
|
57216
|
+
};
|
|
57217
|
+
inkoop_submit_supplier_response: {
|
|
57218
|
+
Args: {
|
|
57219
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57220
|
+
_note?: string;
|
|
57221
|
+
_token: string;
|
|
57222
|
+
};
|
|
57223
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57224
|
+
};
|
|
57225
|
+
inkoop_sync_item_stock: {
|
|
57226
|
+
Args: {
|
|
57227
|
+
p_item_id: string;
|
|
57228
|
+
};
|
|
57229
|
+
Returns: undefined;
|
|
57230
|
+
};
|
|
55972
57231
|
instructie_get: {
|
|
55973
57232
|
Args: {
|
|
55974
57233
|
_sleutel: string;
|
|
@@ -55988,6 +57247,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
55988
57247
|
};
|
|
55989
57248
|
Returns: number;
|
|
55990
57249
|
};
|
|
57250
|
+
invoice_branding_snapshot: {
|
|
57251
|
+
Args: never;
|
|
57252
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57253
|
+
};
|
|
55991
57254
|
invoice_create_from_source: {
|
|
55992
57255
|
Args: {
|
|
55993
57256
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -56022,6 +57285,17 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
56022
57285
|
};
|
|
56023
57286
|
Returns: import("../integrations/supabase/types").Json;
|
|
56024
57287
|
};
|
|
57288
|
+
invoice_mark_sent: {
|
|
57289
|
+
Args: {
|
|
57290
|
+
_invoice_id: string;
|
|
57291
|
+
_to: string;
|
|
57292
|
+
};
|
|
57293
|
+
Returns: undefined;
|
|
57294
|
+
};
|
|
57295
|
+
invoice_peek_next_number: {
|
|
57296
|
+
Args: never;
|
|
57297
|
+
Returns: string;
|
|
57298
|
+
};
|
|
56025
57299
|
invoice_ready_work_orders: {
|
|
56026
57300
|
Args: {
|
|
56027
57301
|
_limit?: number;
|
|
@@ -56034,6 +57308,18 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
56034
57308
|
};
|
|
56035
57309
|
Returns: import("../integrations/supabase/types").Json;
|
|
56036
57310
|
};
|
|
57311
|
+
invoice_save_branding_settings: {
|
|
57312
|
+
Args: {
|
|
57313
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
57314
|
+
};
|
|
57315
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57316
|
+
};
|
|
57317
|
+
invoice_set_email_purpose: {
|
|
57318
|
+
Args: {
|
|
57319
|
+
_purpose: string;
|
|
57320
|
+
};
|
|
57321
|
+
Returns: string;
|
|
57322
|
+
};
|
|
56037
57323
|
invoice_source_lines: {
|
|
56038
57324
|
Args: {
|
|
56039
57325
|
_source_id: string;
|
|
@@ -56041,6 +57327,19 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
56041
57327
|
};
|
|
56042
57328
|
Returns: import("../integrations/supabase/types").Json;
|
|
56043
57329
|
};
|
|
57330
|
+
invoice_update_full: {
|
|
57331
|
+
Args: {
|
|
57332
|
+
_invoice_id: string;
|
|
57333
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
57334
|
+
};
|
|
57335
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57336
|
+
};
|
|
57337
|
+
invoice_work_order_locked: {
|
|
57338
|
+
Args: {
|
|
57339
|
+
_werkbon_id: string;
|
|
57340
|
+
};
|
|
57341
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57342
|
+
};
|
|
56044
57343
|
is_authenticated: {
|
|
56045
57344
|
Args: never;
|
|
56046
57345
|
Returns: boolean;
|
|
@@ -57200,6 +58499,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
57200
58499
|
Args: never;
|
|
57201
58500
|
Returns: string;
|
|
57202
58501
|
};
|
|
58502
|
+
logistics_order_backlog_info: {
|
|
58503
|
+
Args: {
|
|
58504
|
+
p_order_id: string;
|
|
58505
|
+
};
|
|
58506
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58507
|
+
};
|
|
57203
58508
|
logistics_order_cart_approval: {
|
|
57204
58509
|
Args: {
|
|
57205
58510
|
_order_ref: string;
|
|
@@ -57290,6 +58595,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
57290
58595
|
};
|
|
57291
58596
|
Returns: boolean;
|
|
57292
58597
|
};
|
|
58598
|
+
logistics_order_is_backlog: {
|
|
58599
|
+
Args: {
|
|
58600
|
+
p_order_id: string;
|
|
58601
|
+
};
|
|
58602
|
+
Returns: boolean;
|
|
58603
|
+
};
|
|
57293
58604
|
logistics_order_is_topick: {
|
|
57294
58605
|
Args: {
|
|
57295
58606
|
p_order_id: string;
|
|
@@ -57431,6 +58742,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
57431
58742
|
shifted_count: number;
|
|
57432
58743
|
}[];
|
|
57433
58744
|
};
|
|
58745
|
+
logistics_pick_backlog_max_days: {
|
|
58746
|
+
Args: never;
|
|
58747
|
+
Returns: number;
|
|
58748
|
+
};
|
|
57434
58749
|
logistics_pick_barcode_enabled: {
|
|
57435
58750
|
Args: never;
|
|
57436
58751
|
Returns: boolean;
|
|
@@ -58046,12 +59361,27 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
58046
59361
|
Args: never;
|
|
58047
59362
|
Returns: import("../integrations/supabase/types").Json;
|
|
58048
59363
|
};
|
|
59364
|
+
logistics_sync_pick_queue_backlog: {
|
|
59365
|
+
Args: never;
|
|
59366
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59367
|
+
};
|
|
59368
|
+
logistics_sync_pick_queue_core: {
|
|
59369
|
+
Args: never;
|
|
59370
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59371
|
+
};
|
|
58049
59372
|
logistics_sync_task_carriers: {
|
|
58050
59373
|
Args: {
|
|
58051
59374
|
p_order_ref?: string;
|
|
58052
59375
|
};
|
|
58053
59376
|
Returns: number;
|
|
58054
59377
|
};
|
|
59378
|
+
logistics_task_open_counts: {
|
|
59379
|
+
Args: never;
|
|
59380
|
+
Returns: {
|
|
59381
|
+
open_count: number;
|
|
59382
|
+
owner_module: string;
|
|
59383
|
+
}[];
|
|
59384
|
+
};
|
|
58055
59385
|
logistics_task_owner: {
|
|
58056
59386
|
Args: {
|
|
58057
59387
|
p_task_type: string;
|
|
@@ -59340,6 +60670,19 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
59340
60670
|
};
|
|
59341
60671
|
Returns: boolean;
|
|
59342
60672
|
};
|
|
60673
|
+
quote_assign_number: {
|
|
60674
|
+
Args: {
|
|
60675
|
+
_offerte_id: string;
|
|
60676
|
+
};
|
|
60677
|
+
Returns: string;
|
|
60678
|
+
};
|
|
60679
|
+
quote_create_follow_up_now: {
|
|
60680
|
+
Args: {
|
|
60681
|
+
_offerte_id: string;
|
|
60682
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60683
|
+
};
|
|
60684
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60685
|
+
};
|
|
59343
60686
|
quote_create_from_source: {
|
|
59344
60687
|
Args: {
|
|
59345
60688
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60053,6 +61396,26 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
60053
61396
|
};
|
|
60054
61397
|
Returns: undefined;
|
|
60055
61398
|
};
|
|
61399
|
+
set_product_stock: {
|
|
61400
|
+
Args: {
|
|
61401
|
+
p_incoming_stock?: number;
|
|
61402
|
+
p_minimum_stock?: number;
|
|
61403
|
+
p_notes?: string;
|
|
61404
|
+
p_physical_stock: number;
|
|
61405
|
+
p_product_id: string;
|
|
61406
|
+
};
|
|
61407
|
+
Returns: {
|
|
61408
|
+
connection_id: string;
|
|
61409
|
+
incoming_stock: number;
|
|
61410
|
+
minimum_stock: number;
|
|
61411
|
+
notes: string;
|
|
61412
|
+
physical_stock: number;
|
|
61413
|
+
product_id: string;
|
|
61414
|
+
reserved_stock: number;
|
|
61415
|
+
trade_item_key: string;
|
|
61416
|
+
updated_at: string;
|
|
61417
|
+
}[];
|
|
61418
|
+
};
|
|
60056
61419
|
show_limit: {
|
|
60057
61420
|
Args: never;
|
|
60058
61421
|
Returns: number;
|
|
@@ -60577,6 +61940,13 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
60577
61940
|
};
|
|
60578
61941
|
Returns: number;
|
|
60579
61942
|
};
|
|
61943
|
+
vakantie_overuren: {
|
|
61944
|
+
Args: {
|
|
61945
|
+
_user_id: string;
|
|
61946
|
+
_year?: number;
|
|
61947
|
+
};
|
|
61948
|
+
Returns: number;
|
|
61949
|
+
};
|
|
60580
61950
|
vakantie_saldo: {
|
|
60581
61951
|
Args: {
|
|
60582
61952
|
_user_id: string;
|
|
@@ -60584,7 +61954,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
60584
61954
|
};
|
|
60585
61955
|
Returns: {
|
|
60586
61956
|
day_hours: number;
|
|
61957
|
+
earned_from_overtime_days: number;
|
|
60587
61958
|
entitlement_days: number;
|
|
61959
|
+
hours_to_next_day: number;
|
|
61960
|
+
overtime_hours: number;
|
|
61961
|
+
overtime_remainder_hours: number;
|
|
61962
|
+
paid_out_days: number;
|
|
60588
61963
|
remaining_days: number;
|
|
60589
61964
|
used_days: number;
|
|
60590
61965
|
}[];
|
|
@@ -60595,7 +61970,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
60595
61970
|
};
|
|
60596
61971
|
Returns: {
|
|
60597
61972
|
day_hours: number;
|
|
61973
|
+
earned_from_overtime_days: number;
|
|
60598
61974
|
entitlement_days: number;
|
|
61975
|
+
hours_to_next_day: number;
|
|
61976
|
+
overtime_hours: number;
|
|
61977
|
+
overtime_remainder_hours: number;
|
|
61978
|
+
paid_out_days: number;
|
|
60599
61979
|
remaining_days: number;
|
|
60600
61980
|
used_days: number;
|
|
60601
61981
|
user_id: string;
|
|
@@ -60649,12 +62029,25 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
60649
62029
|
};
|
|
60650
62030
|
Returns: import("../integrations/supabase/types").Json;
|
|
60651
62031
|
};
|
|
62032
|
+
wo_list_proposals: {
|
|
62033
|
+
Args: {
|
|
62034
|
+
_status?: string;
|
|
62035
|
+
};
|
|
62036
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
62037
|
+
};
|
|
60652
62038
|
wo_process_offerte_request: {
|
|
60653
62039
|
Args: {
|
|
60654
62040
|
_queue_id: string;
|
|
60655
62041
|
};
|
|
60656
62042
|
Returns: import("../integrations/supabase/types").Json;
|
|
60657
62043
|
};
|
|
62044
|
+
wo_process_proposal: {
|
|
62045
|
+
Args: {
|
|
62046
|
+
_id: string;
|
|
62047
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
62048
|
+
};
|
|
62049
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
62050
|
+
};
|
|
60658
62051
|
wo_reject_offerte_request: {
|
|
60659
62052
|
Args: {
|
|
60660
62053
|
_queue_id: string;
|
|
@@ -60662,6 +62055,13 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
60662
62055
|
};
|
|
60663
62056
|
Returns: import("../integrations/supabase/types").Json;
|
|
60664
62057
|
};
|
|
62058
|
+
wo_reject_proposal: {
|
|
62059
|
+
Args: {
|
|
62060
|
+
_id: string;
|
|
62061
|
+
_reden?: string;
|
|
62062
|
+
};
|
|
62063
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
62064
|
+
};
|
|
60665
62065
|
wo_set_status: {
|
|
60666
62066
|
Args: {
|
|
60667
62067
|
_reason?: string;
|