@flowselections/floriday-voorraad 1.0.48 → 1.0.49
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 +32 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +2 -1
- 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 +340 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +340 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +340 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +348 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +340 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +340 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +680 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2040 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +680 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1020 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +680 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +680 -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 +680 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8277,6 +8277,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8277
8277
|
};
|
|
8278
8278
|
Relationships: [];
|
|
8279
8279
|
};
|
|
8280
|
+
invoice_branding_settings: {
|
|
8281
|
+
Row: {
|
|
8282
|
+
address: string;
|
|
8283
|
+
chamber_of_commerce_number: string;
|
|
8284
|
+
city: string;
|
|
8285
|
+
company_name: string;
|
|
8286
|
+
created_at: string;
|
|
8287
|
+
email: string;
|
|
8288
|
+
email_purpose: string | null;
|
|
8289
|
+
iban: string;
|
|
8290
|
+
logo_path: string | null;
|
|
8291
|
+
payment_term_days: number;
|
|
8292
|
+
phone: string;
|
|
8293
|
+
postal_code: string;
|
|
8294
|
+
primary_color: string;
|
|
8295
|
+
secondary_color: string;
|
|
8296
|
+
singleton_key: boolean;
|
|
8297
|
+
updated_at: string;
|
|
8298
|
+
vat_identification_number: string;
|
|
8299
|
+
website: string;
|
|
8300
|
+
};
|
|
8301
|
+
Insert: {
|
|
8302
|
+
address?: string;
|
|
8303
|
+
chamber_of_commerce_number?: string;
|
|
8304
|
+
city?: string;
|
|
8305
|
+
company_name?: string;
|
|
8306
|
+
created_at?: string;
|
|
8307
|
+
email?: string;
|
|
8308
|
+
email_purpose?: string | null;
|
|
8309
|
+
iban?: string;
|
|
8310
|
+
logo_path?: string | null;
|
|
8311
|
+
payment_term_days?: number;
|
|
8312
|
+
phone?: string;
|
|
8313
|
+
postal_code?: string;
|
|
8314
|
+
primary_color?: string;
|
|
8315
|
+
secondary_color?: string;
|
|
8316
|
+
singleton_key?: boolean;
|
|
8317
|
+
updated_at?: string;
|
|
8318
|
+
vat_identification_number?: string;
|
|
8319
|
+
website?: string;
|
|
8320
|
+
};
|
|
8321
|
+
Update: {
|
|
8322
|
+
address?: string;
|
|
8323
|
+
chamber_of_commerce_number?: string;
|
|
8324
|
+
city?: string;
|
|
8325
|
+
company_name?: string;
|
|
8326
|
+
created_at?: string;
|
|
8327
|
+
email?: string;
|
|
8328
|
+
email_purpose?: string | null;
|
|
8329
|
+
iban?: string;
|
|
8330
|
+
logo_path?: string | null;
|
|
8331
|
+
payment_term_days?: number;
|
|
8332
|
+
phone?: string;
|
|
8333
|
+
postal_code?: string;
|
|
8334
|
+
primary_color?: string;
|
|
8335
|
+
secondary_color?: string;
|
|
8336
|
+
singleton_key?: boolean;
|
|
8337
|
+
updated_at?: string;
|
|
8338
|
+
vat_identification_number?: string;
|
|
8339
|
+
website?: string;
|
|
8340
|
+
};
|
|
8341
|
+
Relationships: [];
|
|
8342
|
+
};
|
|
8280
8343
|
invoice_items: {
|
|
8281
8344
|
Row: {
|
|
8282
8345
|
created_at: string;
|
|
@@ -8290,6 +8353,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8290
8353
|
total_cents: number;
|
|
8291
8354
|
unit: string;
|
|
8292
8355
|
unit_price_cents: number;
|
|
8356
|
+
vat_rate: number | null;
|
|
8293
8357
|
};
|
|
8294
8358
|
Insert: {
|
|
8295
8359
|
created_at?: string;
|
|
@@ -8303,6 +8367,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8303
8367
|
total_cents?: number;
|
|
8304
8368
|
unit?: string;
|
|
8305
8369
|
unit_price_cents?: number;
|
|
8370
|
+
vat_rate?: number | null;
|
|
8306
8371
|
};
|
|
8307
8372
|
Update: {
|
|
8308
8373
|
created_at?: string;
|
|
@@ -8316,6 +8381,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8316
8381
|
total_cents?: number;
|
|
8317
8382
|
unit?: string;
|
|
8318
8383
|
unit_price_cents?: number;
|
|
8384
|
+
vat_rate?: number | null;
|
|
8319
8385
|
};
|
|
8320
8386
|
Relationships: [{
|
|
8321
8387
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8561,6 +8627,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8561
8627
|
};
|
|
8562
8628
|
invoices: {
|
|
8563
8629
|
Row: {
|
|
8630
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8564
8631
|
created_at: string;
|
|
8565
8632
|
created_by: string | null;
|
|
8566
8633
|
customer_address: string | null;
|
|
@@ -8579,6 +8646,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8579
8646
|
note: string | null;
|
|
8580
8647
|
payment_term_days: number;
|
|
8581
8648
|
reference: string | null;
|
|
8649
|
+
sent_at: string | null;
|
|
8650
|
+
sent_to: string | null;
|
|
8582
8651
|
source_number: string | null;
|
|
8583
8652
|
source_ref: string | null;
|
|
8584
8653
|
source_type: string;
|
|
@@ -8591,6 +8660,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8591
8660
|
work_address: string | null;
|
|
8592
8661
|
};
|
|
8593
8662
|
Insert: {
|
|
8663
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8594
8664
|
created_at?: string;
|
|
8595
8665
|
created_by?: string | null;
|
|
8596
8666
|
customer_address?: string | null;
|
|
@@ -8609,6 +8679,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8609
8679
|
note?: string | null;
|
|
8610
8680
|
payment_term_days?: number;
|
|
8611
8681
|
reference?: string | null;
|
|
8682
|
+
sent_at?: string | null;
|
|
8683
|
+
sent_to?: string | null;
|
|
8612
8684
|
source_number?: string | null;
|
|
8613
8685
|
source_ref?: string | null;
|
|
8614
8686
|
source_type?: string;
|
|
@@ -8621,6 +8693,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8621
8693
|
work_address?: string | null;
|
|
8622
8694
|
};
|
|
8623
8695
|
Update: {
|
|
8696
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8624
8697
|
created_at?: string;
|
|
8625
8698
|
created_by?: string | null;
|
|
8626
8699
|
customer_address?: string | null;
|
|
@@ -8639,6 +8712,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8639
8712
|
note?: string | null;
|
|
8640
8713
|
payment_term_days?: number;
|
|
8641
8714
|
reference?: string | null;
|
|
8715
|
+
sent_at?: string | null;
|
|
8716
|
+
sent_to?: string | null;
|
|
8642
8717
|
source_number?: string | null;
|
|
8643
8718
|
source_ref?: string | null;
|
|
8644
8719
|
source_type?: string;
|
|
@@ -9347,6 +9422,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9347
9422
|
quantity: number;
|
|
9348
9423
|
sort_order: number;
|
|
9349
9424
|
source: string;
|
|
9425
|
+
unit: string | null;
|
|
9350
9426
|
unit_price_cents: number;
|
|
9351
9427
|
updated_at: string;
|
|
9352
9428
|
};
|
|
@@ -9360,6 +9436,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9360
9436
|
quantity?: number;
|
|
9361
9437
|
sort_order?: number;
|
|
9362
9438
|
source?: string;
|
|
9439
|
+
unit?: string | null;
|
|
9363
9440
|
unit_price_cents?: number;
|
|
9364
9441
|
updated_at?: string;
|
|
9365
9442
|
};
|
|
@@ -9373,6 +9450,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9373
9450
|
quantity?: number;
|
|
9374
9451
|
sort_order?: number;
|
|
9375
9452
|
source?: string;
|
|
9453
|
+
unit?: string | null;
|
|
9376
9454
|
unit_price_cents?: number;
|
|
9377
9455
|
updated_at?: string;
|
|
9378
9456
|
};
|
|
@@ -9396,6 +9474,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9396
9474
|
created_at: string;
|
|
9397
9475
|
default_geldigheid_dagen: number;
|
|
9398
9476
|
default_vat_rate: number;
|
|
9477
|
+
email_purpose: string | null;
|
|
9399
9478
|
id: string;
|
|
9400
9479
|
singleton: boolean;
|
|
9401
9480
|
updated_at: string;
|
|
@@ -9405,6 +9484,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9405
9484
|
created_at?: string;
|
|
9406
9485
|
default_geldigheid_dagen?: number;
|
|
9407
9486
|
default_vat_rate?: number;
|
|
9487
|
+
email_purpose?: string | null;
|
|
9408
9488
|
id?: string;
|
|
9409
9489
|
singleton?: boolean;
|
|
9410
9490
|
updated_at?: string;
|
|
@@ -9414,6 +9494,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9414
9494
|
created_at?: string;
|
|
9415
9495
|
default_geldigheid_dagen?: number;
|
|
9416
9496
|
default_vat_rate?: number;
|
|
9497
|
+
email_purpose?: string | null;
|
|
9417
9498
|
id?: string;
|
|
9418
9499
|
singleton?: boolean;
|
|
9419
9500
|
updated_at?: string;
|
|
@@ -9506,6 +9587,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9506
9587
|
};
|
|
9507
9588
|
itk_offertes: {
|
|
9508
9589
|
Row: {
|
|
9590
|
+
aandachtspunten: string | null;
|
|
9509
9591
|
ai_generated: boolean;
|
|
9510
9592
|
approved_at: string | null;
|
|
9511
9593
|
binnen_mandaat: boolean;
|
|
@@ -9521,6 +9603,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9521
9603
|
notities: string | null;
|
|
9522
9604
|
offerte_number: string | null;
|
|
9523
9605
|
omschrijving: string;
|
|
9606
|
+
onderwerp: string | null;
|
|
9524
9607
|
rejected_at: string | null;
|
|
9525
9608
|
sent_at: string | null;
|
|
9526
9609
|
source_number: string | null;
|
|
@@ -9533,12 +9616,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9533
9616
|
valid_until: string | null;
|
|
9534
9617
|
vat_cents: number;
|
|
9535
9618
|
vat_rate: number;
|
|
9619
|
+
verzonden_naar: string | null;
|
|
9536
9620
|
viewed_at: string | null;
|
|
9537
9621
|
volgnummer: number | null;
|
|
9622
|
+
voorwaarden: string | null;
|
|
9538
9623
|
werkbon_id: string | null;
|
|
9539
9624
|
work_location_id: string | null;
|
|
9540
9625
|
};
|
|
9541
9626
|
Insert: {
|
|
9627
|
+
aandachtspunten?: string | null;
|
|
9542
9628
|
ai_generated?: boolean;
|
|
9543
9629
|
approved_at?: string | null;
|
|
9544
9630
|
binnen_mandaat?: boolean;
|
|
@@ -9554,6 +9640,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9554
9640
|
notities?: string | null;
|
|
9555
9641
|
offerte_number?: string | null;
|
|
9556
9642
|
omschrijving?: string;
|
|
9643
|
+
onderwerp?: string | null;
|
|
9557
9644
|
rejected_at?: string | null;
|
|
9558
9645
|
sent_at?: string | null;
|
|
9559
9646
|
source_number?: string | null;
|
|
@@ -9566,12 +9653,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9566
9653
|
valid_until?: string | null;
|
|
9567
9654
|
vat_cents?: number;
|
|
9568
9655
|
vat_rate?: number;
|
|
9656
|
+
verzonden_naar?: string | null;
|
|
9569
9657
|
viewed_at?: string | null;
|
|
9570
9658
|
volgnummer?: number | null;
|
|
9659
|
+
voorwaarden?: string | null;
|
|
9571
9660
|
werkbon_id?: string | null;
|
|
9572
9661
|
work_location_id?: string | null;
|
|
9573
9662
|
};
|
|
9574
9663
|
Update: {
|
|
9664
|
+
aandachtspunten?: string | null;
|
|
9575
9665
|
ai_generated?: boolean;
|
|
9576
9666
|
approved_at?: string | null;
|
|
9577
9667
|
binnen_mandaat?: boolean;
|
|
@@ -9587,6 +9677,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9587
9677
|
notities?: string | null;
|
|
9588
9678
|
offerte_number?: string | null;
|
|
9589
9679
|
omschrijving?: string;
|
|
9680
|
+
onderwerp?: string | null;
|
|
9590
9681
|
rejected_at?: string | null;
|
|
9591
9682
|
sent_at?: string | null;
|
|
9592
9683
|
source_number?: string | null;
|
|
@@ -9599,8 +9690,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
9599
9690
|
valid_until?: string | null;
|
|
9600
9691
|
vat_cents?: number;
|
|
9601
9692
|
vat_rate?: number;
|
|
9693
|
+
verzonden_naar?: string | null;
|
|
9602
9694
|
viewed_at?: string | null;
|
|
9603
9695
|
volgnummer?: number | null;
|
|
9696
|
+
voorwaarden?: string | null;
|
|
9604
9697
|
werkbon_id?: string | null;
|
|
9605
9698
|
work_location_id?: string | null;
|
|
9606
9699
|
};
|
|
@@ -21678,6 +21771,51 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21678
21771
|
referencedColumns: ["id"];
|
|
21679
21772
|
}];
|
|
21680
21773
|
};
|
|
21774
|
+
vakantie_uitbetalingen: {
|
|
21775
|
+
Row: {
|
|
21776
|
+
created_at: string;
|
|
21777
|
+
created_by: string | null;
|
|
21778
|
+
days: number;
|
|
21779
|
+
id: string;
|
|
21780
|
+
note: string | null;
|
|
21781
|
+
updated_at: string;
|
|
21782
|
+
user_id: string;
|
|
21783
|
+
year: number;
|
|
21784
|
+
};
|
|
21785
|
+
Insert: {
|
|
21786
|
+
created_at?: string;
|
|
21787
|
+
created_by?: string | null;
|
|
21788
|
+
days: number;
|
|
21789
|
+
id?: string;
|
|
21790
|
+
note?: string | null;
|
|
21791
|
+
updated_at?: string;
|
|
21792
|
+
user_id: string;
|
|
21793
|
+
year?: number;
|
|
21794
|
+
};
|
|
21795
|
+
Update: {
|
|
21796
|
+
created_at?: string;
|
|
21797
|
+
created_by?: string | null;
|
|
21798
|
+
days?: number;
|
|
21799
|
+
id?: string;
|
|
21800
|
+
note?: string | null;
|
|
21801
|
+
updated_at?: string;
|
|
21802
|
+
user_id?: string;
|
|
21803
|
+
year?: number;
|
|
21804
|
+
};
|
|
21805
|
+
Relationships: [{
|
|
21806
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
21807
|
+
columns: ["created_by"];
|
|
21808
|
+
isOneToOne: false;
|
|
21809
|
+
referencedRelation: "profiles";
|
|
21810
|
+
referencedColumns: ["id"];
|
|
21811
|
+
}, {
|
|
21812
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
21813
|
+
columns: ["user_id"];
|
|
21814
|
+
isOneToOne: false;
|
|
21815
|
+
referencedRelation: "profiles";
|
|
21816
|
+
referencedColumns: ["id"];
|
|
21817
|
+
}];
|
|
21818
|
+
};
|
|
21681
21819
|
van_inventories: {
|
|
21682
21820
|
Row: {
|
|
21683
21821
|
barcode: string | null;
|
|
@@ -22962,6 +23100,78 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
22962
23100
|
referencedColumns: ["id"];
|
|
22963
23101
|
}];
|
|
22964
23102
|
};
|
|
23103
|
+
werkbon_voorstellen: {
|
|
23104
|
+
Row: {
|
|
23105
|
+
bron_werkbon_id: string;
|
|
23106
|
+
budget_mandate_cents: number;
|
|
23107
|
+
created_at: string;
|
|
23108
|
+
created_by: string;
|
|
23109
|
+
customer_id: string | null;
|
|
23110
|
+
id: string;
|
|
23111
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23112
|
+
reden: string | null;
|
|
23113
|
+
status: string;
|
|
23114
|
+
updated_at: string;
|
|
23115
|
+
verwerkt_door: string | null;
|
|
23116
|
+
verwerkt_op: string | null;
|
|
23117
|
+
werkbon_id: string | null;
|
|
23118
|
+
};
|
|
23119
|
+
Insert: {
|
|
23120
|
+
bron_werkbon_id: string;
|
|
23121
|
+
budget_mandate_cents?: number;
|
|
23122
|
+
created_at?: string;
|
|
23123
|
+
created_by?: string;
|
|
23124
|
+
customer_id?: string | null;
|
|
23125
|
+
id?: string;
|
|
23126
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23127
|
+
reden?: string | null;
|
|
23128
|
+
status?: string;
|
|
23129
|
+
updated_at?: string;
|
|
23130
|
+
verwerkt_door?: string | null;
|
|
23131
|
+
verwerkt_op?: string | null;
|
|
23132
|
+
werkbon_id?: string | null;
|
|
23133
|
+
};
|
|
23134
|
+
Update: {
|
|
23135
|
+
bron_werkbon_id?: string;
|
|
23136
|
+
budget_mandate_cents?: number;
|
|
23137
|
+
created_at?: string;
|
|
23138
|
+
created_by?: string;
|
|
23139
|
+
customer_id?: string | null;
|
|
23140
|
+
id?: string;
|
|
23141
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23142
|
+
reden?: string | null;
|
|
23143
|
+
status?: string;
|
|
23144
|
+
updated_at?: string;
|
|
23145
|
+
verwerkt_door?: string | null;
|
|
23146
|
+
verwerkt_op?: string | null;
|
|
23147
|
+
werkbon_id?: string | null;
|
|
23148
|
+
};
|
|
23149
|
+
Relationships: [{
|
|
23150
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23151
|
+
columns: ["bron_werkbon_id"];
|
|
23152
|
+
isOneToOne: false;
|
|
23153
|
+
referencedRelation: "werkbonnen";
|
|
23154
|
+
referencedColumns: ["id"];
|
|
23155
|
+
}, {
|
|
23156
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23157
|
+
columns: ["bron_werkbon_id"];
|
|
23158
|
+
isOneToOne: false;
|
|
23159
|
+
referencedRelation: "wo_overview";
|
|
23160
|
+
referencedColumns: ["id"];
|
|
23161
|
+
}, {
|
|
23162
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23163
|
+
columns: ["werkbon_id"];
|
|
23164
|
+
isOneToOne: false;
|
|
23165
|
+
referencedRelation: "werkbonnen";
|
|
23166
|
+
referencedColumns: ["id"];
|
|
23167
|
+
}, {
|
|
23168
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23169
|
+
columns: ["werkbon_id"];
|
|
23170
|
+
isOneToOne: false;
|
|
23171
|
+
referencedRelation: "wo_overview";
|
|
23172
|
+
referencedColumns: ["id"];
|
|
23173
|
+
}];
|
|
23174
|
+
};
|
|
22965
23175
|
werkbonnen: {
|
|
22966
23176
|
Row: {
|
|
22967
23177
|
assigned_user_id: string | null;
|
|
@@ -24202,6 +24412,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24202
24412
|
};
|
|
24203
24413
|
Returns: undefined;
|
|
24204
24414
|
};
|
|
24415
|
+
_wo_is_planner: {
|
|
24416
|
+
Args: never;
|
|
24417
|
+
Returns: boolean;
|
|
24418
|
+
};
|
|
24205
24419
|
afh_city_code: {
|
|
24206
24420
|
Args: {
|
|
24207
24421
|
_city: string;
|
|
@@ -25314,6 +25528,22 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25314
25528
|
};
|
|
25315
25529
|
Returns: number;
|
|
25316
25530
|
};
|
|
25531
|
+
get_product_stock: {
|
|
25532
|
+
Args: {
|
|
25533
|
+
p_product_id: string;
|
|
25534
|
+
};
|
|
25535
|
+
Returns: {
|
|
25536
|
+
connection_id: string;
|
|
25537
|
+
incoming_stock: number;
|
|
25538
|
+
minimum_stock: number;
|
|
25539
|
+
notes: string;
|
|
25540
|
+
physical_stock: number;
|
|
25541
|
+
product_id: string;
|
|
25542
|
+
reserved_stock: number;
|
|
25543
|
+
trade_item_key: string;
|
|
25544
|
+
updated_at: string;
|
|
25545
|
+
}[];
|
|
25546
|
+
};
|
|
25317
25547
|
get_room_busy_windows: {
|
|
25318
25548
|
Args: {
|
|
25319
25549
|
p_from: string;
|
|
@@ -25651,6 +25881,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25651
25881
|
};
|
|
25652
25882
|
Returns: number;
|
|
25653
25883
|
};
|
|
25884
|
+
invoice_branding_snapshot: {
|
|
25885
|
+
Args: never;
|
|
25886
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25887
|
+
};
|
|
25654
25888
|
invoice_create_from_source: {
|
|
25655
25889
|
Args: {
|
|
25656
25890
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25685,6 +25919,17 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25685
25919
|
};
|
|
25686
25920
|
Returns: import("../integrations/supabase/types").Json;
|
|
25687
25921
|
};
|
|
25922
|
+
invoice_mark_sent: {
|
|
25923
|
+
Args: {
|
|
25924
|
+
_invoice_id: string;
|
|
25925
|
+
_to: string;
|
|
25926
|
+
};
|
|
25927
|
+
Returns: undefined;
|
|
25928
|
+
};
|
|
25929
|
+
invoice_peek_next_number: {
|
|
25930
|
+
Args: never;
|
|
25931
|
+
Returns: string;
|
|
25932
|
+
};
|
|
25688
25933
|
invoice_ready_work_orders: {
|
|
25689
25934
|
Args: {
|
|
25690
25935
|
_limit?: number;
|
|
@@ -25697,6 +25942,18 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25697
25942
|
};
|
|
25698
25943
|
Returns: import("../integrations/supabase/types").Json;
|
|
25699
25944
|
};
|
|
25945
|
+
invoice_save_branding_settings: {
|
|
25946
|
+
Args: {
|
|
25947
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
25948
|
+
};
|
|
25949
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25950
|
+
};
|
|
25951
|
+
invoice_set_email_purpose: {
|
|
25952
|
+
Args: {
|
|
25953
|
+
_purpose: string;
|
|
25954
|
+
};
|
|
25955
|
+
Returns: string;
|
|
25956
|
+
};
|
|
25700
25957
|
invoice_source_lines: {
|
|
25701
25958
|
Args: {
|
|
25702
25959
|
_source_id: string;
|
|
@@ -25704,6 +25961,19 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25704
25961
|
};
|
|
25705
25962
|
Returns: import("../integrations/supabase/types").Json;
|
|
25706
25963
|
};
|
|
25964
|
+
invoice_update_full: {
|
|
25965
|
+
Args: {
|
|
25966
|
+
_invoice_id: string;
|
|
25967
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
25968
|
+
};
|
|
25969
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25970
|
+
};
|
|
25971
|
+
invoice_work_order_locked: {
|
|
25972
|
+
Args: {
|
|
25973
|
+
_werkbon_id: string;
|
|
25974
|
+
};
|
|
25975
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25976
|
+
};
|
|
25707
25977
|
is_authenticated: {
|
|
25708
25978
|
Args: never;
|
|
25709
25979
|
Returns: boolean;
|
|
@@ -29003,6 +29273,19 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
29003
29273
|
};
|
|
29004
29274
|
Returns: boolean;
|
|
29005
29275
|
};
|
|
29276
|
+
quote_assign_number: {
|
|
29277
|
+
Args: {
|
|
29278
|
+
_offerte_id: string;
|
|
29279
|
+
};
|
|
29280
|
+
Returns: string;
|
|
29281
|
+
};
|
|
29282
|
+
quote_create_follow_up_now: {
|
|
29283
|
+
Args: {
|
|
29284
|
+
_offerte_id: string;
|
|
29285
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29286
|
+
};
|
|
29287
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29288
|
+
};
|
|
29006
29289
|
quote_create_from_source: {
|
|
29007
29290
|
Args: {
|
|
29008
29291
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29716,6 +29999,26 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
29716
29999
|
};
|
|
29717
30000
|
Returns: undefined;
|
|
29718
30001
|
};
|
|
30002
|
+
set_product_stock: {
|
|
30003
|
+
Args: {
|
|
30004
|
+
p_incoming_stock?: number;
|
|
30005
|
+
p_minimum_stock?: number;
|
|
30006
|
+
p_notes?: string;
|
|
30007
|
+
p_physical_stock: number;
|
|
30008
|
+
p_product_id: string;
|
|
30009
|
+
};
|
|
30010
|
+
Returns: {
|
|
30011
|
+
connection_id: string;
|
|
30012
|
+
incoming_stock: number;
|
|
30013
|
+
minimum_stock: number;
|
|
30014
|
+
notes: string;
|
|
30015
|
+
physical_stock: number;
|
|
30016
|
+
product_id: string;
|
|
30017
|
+
reserved_stock: number;
|
|
30018
|
+
trade_item_key: string;
|
|
30019
|
+
updated_at: string;
|
|
30020
|
+
}[];
|
|
30021
|
+
};
|
|
29719
30022
|
show_limit: {
|
|
29720
30023
|
Args: never;
|
|
29721
30024
|
Returns: number;
|
|
@@ -30240,6 +30543,13 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30240
30543
|
};
|
|
30241
30544
|
Returns: number;
|
|
30242
30545
|
};
|
|
30546
|
+
vakantie_overuren: {
|
|
30547
|
+
Args: {
|
|
30548
|
+
_user_id: string;
|
|
30549
|
+
_year?: number;
|
|
30550
|
+
};
|
|
30551
|
+
Returns: number;
|
|
30552
|
+
};
|
|
30243
30553
|
vakantie_saldo: {
|
|
30244
30554
|
Args: {
|
|
30245
30555
|
_user_id: string;
|
|
@@ -30247,7 +30557,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30247
30557
|
};
|
|
30248
30558
|
Returns: {
|
|
30249
30559
|
day_hours: number;
|
|
30560
|
+
earned_from_overtime_days: number;
|
|
30250
30561
|
entitlement_days: number;
|
|
30562
|
+
hours_to_next_day: number;
|
|
30563
|
+
overtime_hours: number;
|
|
30564
|
+
overtime_remainder_hours: number;
|
|
30565
|
+
paid_out_days: number;
|
|
30251
30566
|
remaining_days: number;
|
|
30252
30567
|
used_days: number;
|
|
30253
30568
|
}[];
|
|
@@ -30258,7 +30573,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30258
30573
|
};
|
|
30259
30574
|
Returns: {
|
|
30260
30575
|
day_hours: number;
|
|
30576
|
+
earned_from_overtime_days: number;
|
|
30261
30577
|
entitlement_days: number;
|
|
30578
|
+
hours_to_next_day: number;
|
|
30579
|
+
overtime_hours: number;
|
|
30580
|
+
overtime_remainder_hours: number;
|
|
30581
|
+
paid_out_days: number;
|
|
30262
30582
|
remaining_days: number;
|
|
30263
30583
|
used_days: number;
|
|
30264
30584
|
user_id: string;
|
|
@@ -30312,12 +30632,25 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30312
30632
|
};
|
|
30313
30633
|
Returns: import("../integrations/supabase/types").Json;
|
|
30314
30634
|
};
|
|
30635
|
+
wo_list_proposals: {
|
|
30636
|
+
Args: {
|
|
30637
|
+
_status?: string;
|
|
30638
|
+
};
|
|
30639
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30640
|
+
};
|
|
30315
30641
|
wo_process_offerte_request: {
|
|
30316
30642
|
Args: {
|
|
30317
30643
|
_queue_id: string;
|
|
30318
30644
|
};
|
|
30319
30645
|
Returns: import("../integrations/supabase/types").Json;
|
|
30320
30646
|
};
|
|
30647
|
+
wo_process_proposal: {
|
|
30648
|
+
Args: {
|
|
30649
|
+
_id: string;
|
|
30650
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
30651
|
+
};
|
|
30652
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30653
|
+
};
|
|
30321
30654
|
wo_reject_offerte_request: {
|
|
30322
30655
|
Args: {
|
|
30323
30656
|
_queue_id: string;
|
|
@@ -30325,6 +30658,13 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
30325
30658
|
};
|
|
30326
30659
|
Returns: import("../integrations/supabase/types").Json;
|
|
30327
30660
|
};
|
|
30661
|
+
wo_reject_proposal: {
|
|
30662
|
+
Args: {
|
|
30663
|
+
_id: string;
|
|
30664
|
+
_reden?: string;
|
|
30665
|
+
};
|
|
30666
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30667
|
+
};
|
|
30328
30668
|
wo_set_status: {
|
|
30329
30669
|
Args: {
|
|
30330
30670
|
_reason?: string;
|
|
@@ -38626,6 +38966,69 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38626
38966
|
};
|
|
38627
38967
|
Relationships: [];
|
|
38628
38968
|
};
|
|
38969
|
+
invoice_branding_settings: {
|
|
38970
|
+
Row: {
|
|
38971
|
+
address: string;
|
|
38972
|
+
chamber_of_commerce_number: string;
|
|
38973
|
+
city: string;
|
|
38974
|
+
company_name: string;
|
|
38975
|
+
created_at: string;
|
|
38976
|
+
email: string;
|
|
38977
|
+
email_purpose: string | null;
|
|
38978
|
+
iban: string;
|
|
38979
|
+
logo_path: string | null;
|
|
38980
|
+
payment_term_days: number;
|
|
38981
|
+
phone: string;
|
|
38982
|
+
postal_code: string;
|
|
38983
|
+
primary_color: string;
|
|
38984
|
+
secondary_color: string;
|
|
38985
|
+
singleton_key: boolean;
|
|
38986
|
+
updated_at: string;
|
|
38987
|
+
vat_identification_number: string;
|
|
38988
|
+
website: string;
|
|
38989
|
+
};
|
|
38990
|
+
Insert: {
|
|
38991
|
+
address?: string;
|
|
38992
|
+
chamber_of_commerce_number?: string;
|
|
38993
|
+
city?: string;
|
|
38994
|
+
company_name?: string;
|
|
38995
|
+
created_at?: string;
|
|
38996
|
+
email?: string;
|
|
38997
|
+
email_purpose?: string | null;
|
|
38998
|
+
iban?: string;
|
|
38999
|
+
logo_path?: string | null;
|
|
39000
|
+
payment_term_days?: number;
|
|
39001
|
+
phone?: string;
|
|
39002
|
+
postal_code?: string;
|
|
39003
|
+
primary_color?: string;
|
|
39004
|
+
secondary_color?: string;
|
|
39005
|
+
singleton_key?: boolean;
|
|
39006
|
+
updated_at?: string;
|
|
39007
|
+
vat_identification_number?: string;
|
|
39008
|
+
website?: string;
|
|
39009
|
+
};
|
|
39010
|
+
Update: {
|
|
39011
|
+
address?: string;
|
|
39012
|
+
chamber_of_commerce_number?: string;
|
|
39013
|
+
city?: string;
|
|
39014
|
+
company_name?: string;
|
|
39015
|
+
created_at?: string;
|
|
39016
|
+
email?: string;
|
|
39017
|
+
email_purpose?: string | null;
|
|
39018
|
+
iban?: string;
|
|
39019
|
+
logo_path?: string | null;
|
|
39020
|
+
payment_term_days?: number;
|
|
39021
|
+
phone?: string;
|
|
39022
|
+
postal_code?: string;
|
|
39023
|
+
primary_color?: string;
|
|
39024
|
+
secondary_color?: string;
|
|
39025
|
+
singleton_key?: boolean;
|
|
39026
|
+
updated_at?: string;
|
|
39027
|
+
vat_identification_number?: string;
|
|
39028
|
+
website?: string;
|
|
39029
|
+
};
|
|
39030
|
+
Relationships: [];
|
|
39031
|
+
};
|
|
38629
39032
|
invoice_items: {
|
|
38630
39033
|
Row: {
|
|
38631
39034
|
created_at: string;
|
|
@@ -38639,6 +39042,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38639
39042
|
total_cents: number;
|
|
38640
39043
|
unit: string;
|
|
38641
39044
|
unit_price_cents: number;
|
|
39045
|
+
vat_rate: number | null;
|
|
38642
39046
|
};
|
|
38643
39047
|
Insert: {
|
|
38644
39048
|
created_at?: string;
|
|
@@ -38652,6 +39056,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38652
39056
|
total_cents?: number;
|
|
38653
39057
|
unit?: string;
|
|
38654
39058
|
unit_price_cents?: number;
|
|
39059
|
+
vat_rate?: number | null;
|
|
38655
39060
|
};
|
|
38656
39061
|
Update: {
|
|
38657
39062
|
created_at?: string;
|
|
@@ -38665,6 +39070,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38665
39070
|
total_cents?: number;
|
|
38666
39071
|
unit?: string;
|
|
38667
39072
|
unit_price_cents?: number;
|
|
39073
|
+
vat_rate?: number | null;
|
|
38668
39074
|
};
|
|
38669
39075
|
Relationships: [{
|
|
38670
39076
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -38910,6 +39316,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38910
39316
|
};
|
|
38911
39317
|
invoices: {
|
|
38912
39318
|
Row: {
|
|
39319
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
38913
39320
|
created_at: string;
|
|
38914
39321
|
created_by: string | null;
|
|
38915
39322
|
customer_address: string | null;
|
|
@@ -38928,6 +39335,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38928
39335
|
note: string | null;
|
|
38929
39336
|
payment_term_days: number;
|
|
38930
39337
|
reference: string | null;
|
|
39338
|
+
sent_at: string | null;
|
|
39339
|
+
sent_to: string | null;
|
|
38931
39340
|
source_number: string | null;
|
|
38932
39341
|
source_ref: string | null;
|
|
38933
39342
|
source_type: string;
|
|
@@ -38940,6 +39349,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38940
39349
|
work_address: string | null;
|
|
38941
39350
|
};
|
|
38942
39351
|
Insert: {
|
|
39352
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38943
39353
|
created_at?: string;
|
|
38944
39354
|
created_by?: string | null;
|
|
38945
39355
|
customer_address?: string | null;
|
|
@@ -38958,6 +39368,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38958
39368
|
note?: string | null;
|
|
38959
39369
|
payment_term_days?: number;
|
|
38960
39370
|
reference?: string | null;
|
|
39371
|
+
sent_at?: string | null;
|
|
39372
|
+
sent_to?: string | null;
|
|
38961
39373
|
source_number?: string | null;
|
|
38962
39374
|
source_ref?: string | null;
|
|
38963
39375
|
source_type?: string;
|
|
@@ -38970,6 +39382,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38970
39382
|
work_address?: string | null;
|
|
38971
39383
|
};
|
|
38972
39384
|
Update: {
|
|
39385
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38973
39386
|
created_at?: string;
|
|
38974
39387
|
created_by?: string | null;
|
|
38975
39388
|
customer_address?: string | null;
|
|
@@ -38988,6 +39401,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38988
39401
|
note?: string | null;
|
|
38989
39402
|
payment_term_days?: number;
|
|
38990
39403
|
reference?: string | null;
|
|
39404
|
+
sent_at?: string | null;
|
|
39405
|
+
sent_to?: string | null;
|
|
38991
39406
|
source_number?: string | null;
|
|
38992
39407
|
source_ref?: string | null;
|
|
38993
39408
|
source_type?: string;
|
|
@@ -39696,6 +40111,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39696
40111
|
quantity: number;
|
|
39697
40112
|
sort_order: number;
|
|
39698
40113
|
source: string;
|
|
40114
|
+
unit: string | null;
|
|
39699
40115
|
unit_price_cents: number;
|
|
39700
40116
|
updated_at: string;
|
|
39701
40117
|
};
|
|
@@ -39709,6 +40125,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39709
40125
|
quantity?: number;
|
|
39710
40126
|
sort_order?: number;
|
|
39711
40127
|
source?: string;
|
|
40128
|
+
unit?: string | null;
|
|
39712
40129
|
unit_price_cents?: number;
|
|
39713
40130
|
updated_at?: string;
|
|
39714
40131
|
};
|
|
@@ -39722,6 +40139,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39722
40139
|
quantity?: number;
|
|
39723
40140
|
sort_order?: number;
|
|
39724
40141
|
source?: string;
|
|
40142
|
+
unit?: string | null;
|
|
39725
40143
|
unit_price_cents?: number;
|
|
39726
40144
|
updated_at?: string;
|
|
39727
40145
|
};
|
|
@@ -39745,6 +40163,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39745
40163
|
created_at: string;
|
|
39746
40164
|
default_geldigheid_dagen: number;
|
|
39747
40165
|
default_vat_rate: number;
|
|
40166
|
+
email_purpose: string | null;
|
|
39748
40167
|
id: string;
|
|
39749
40168
|
singleton: boolean;
|
|
39750
40169
|
updated_at: string;
|
|
@@ -39754,6 +40173,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39754
40173
|
created_at?: string;
|
|
39755
40174
|
default_geldigheid_dagen?: number;
|
|
39756
40175
|
default_vat_rate?: number;
|
|
40176
|
+
email_purpose?: string | null;
|
|
39757
40177
|
id?: string;
|
|
39758
40178
|
singleton?: boolean;
|
|
39759
40179
|
updated_at?: string;
|
|
@@ -39763,6 +40183,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39763
40183
|
created_at?: string;
|
|
39764
40184
|
default_geldigheid_dagen?: number;
|
|
39765
40185
|
default_vat_rate?: number;
|
|
40186
|
+
email_purpose?: string | null;
|
|
39766
40187
|
id?: string;
|
|
39767
40188
|
singleton?: boolean;
|
|
39768
40189
|
updated_at?: string;
|
|
@@ -39855,6 +40276,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39855
40276
|
};
|
|
39856
40277
|
itk_offertes: {
|
|
39857
40278
|
Row: {
|
|
40279
|
+
aandachtspunten: string | null;
|
|
39858
40280
|
ai_generated: boolean;
|
|
39859
40281
|
approved_at: string | null;
|
|
39860
40282
|
binnen_mandaat: boolean;
|
|
@@ -39870,6 +40292,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39870
40292
|
notities: string | null;
|
|
39871
40293
|
offerte_number: string | null;
|
|
39872
40294
|
omschrijving: string;
|
|
40295
|
+
onderwerp: string | null;
|
|
39873
40296
|
rejected_at: string | null;
|
|
39874
40297
|
sent_at: string | null;
|
|
39875
40298
|
source_number: string | null;
|
|
@@ -39882,12 +40305,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39882
40305
|
valid_until: string | null;
|
|
39883
40306
|
vat_cents: number;
|
|
39884
40307
|
vat_rate: number;
|
|
40308
|
+
verzonden_naar: string | null;
|
|
39885
40309
|
viewed_at: string | null;
|
|
39886
40310
|
volgnummer: number | null;
|
|
40311
|
+
voorwaarden: string | null;
|
|
39887
40312
|
werkbon_id: string | null;
|
|
39888
40313
|
work_location_id: string | null;
|
|
39889
40314
|
};
|
|
39890
40315
|
Insert: {
|
|
40316
|
+
aandachtspunten?: string | null;
|
|
39891
40317
|
ai_generated?: boolean;
|
|
39892
40318
|
approved_at?: string | null;
|
|
39893
40319
|
binnen_mandaat?: boolean;
|
|
@@ -39903,6 +40329,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39903
40329
|
notities?: string | null;
|
|
39904
40330
|
offerte_number?: string | null;
|
|
39905
40331
|
omschrijving?: string;
|
|
40332
|
+
onderwerp?: string | null;
|
|
39906
40333
|
rejected_at?: string | null;
|
|
39907
40334
|
sent_at?: string | null;
|
|
39908
40335
|
source_number?: string | null;
|
|
@@ -39915,12 +40342,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39915
40342
|
valid_until?: string | null;
|
|
39916
40343
|
vat_cents?: number;
|
|
39917
40344
|
vat_rate?: number;
|
|
40345
|
+
verzonden_naar?: string | null;
|
|
39918
40346
|
viewed_at?: string | null;
|
|
39919
40347
|
volgnummer?: number | null;
|
|
40348
|
+
voorwaarden?: string | null;
|
|
39920
40349
|
werkbon_id?: string | null;
|
|
39921
40350
|
work_location_id?: string | null;
|
|
39922
40351
|
};
|
|
39923
40352
|
Update: {
|
|
40353
|
+
aandachtspunten?: string | null;
|
|
39924
40354
|
ai_generated?: boolean;
|
|
39925
40355
|
approved_at?: string | null;
|
|
39926
40356
|
binnen_mandaat?: boolean;
|
|
@@ -39936,6 +40366,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39936
40366
|
notities?: string | null;
|
|
39937
40367
|
offerte_number?: string | null;
|
|
39938
40368
|
omschrijving?: string;
|
|
40369
|
+
onderwerp?: string | null;
|
|
39939
40370
|
rejected_at?: string | null;
|
|
39940
40371
|
sent_at?: string | null;
|
|
39941
40372
|
source_number?: string | null;
|
|
@@ -39948,8 +40379,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39948
40379
|
valid_until?: string | null;
|
|
39949
40380
|
vat_cents?: number;
|
|
39950
40381
|
vat_rate?: number;
|
|
40382
|
+
verzonden_naar?: string | null;
|
|
39951
40383
|
viewed_at?: string | null;
|
|
39952
40384
|
volgnummer?: number | null;
|
|
40385
|
+
voorwaarden?: string | null;
|
|
39953
40386
|
werkbon_id?: string | null;
|
|
39954
40387
|
work_location_id?: string | null;
|
|
39955
40388
|
};
|
|
@@ -52027,6 +52460,51 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52027
52460
|
referencedColumns: ["id"];
|
|
52028
52461
|
}];
|
|
52029
52462
|
};
|
|
52463
|
+
vakantie_uitbetalingen: {
|
|
52464
|
+
Row: {
|
|
52465
|
+
created_at: string;
|
|
52466
|
+
created_by: string | null;
|
|
52467
|
+
days: number;
|
|
52468
|
+
id: string;
|
|
52469
|
+
note: string | null;
|
|
52470
|
+
updated_at: string;
|
|
52471
|
+
user_id: string;
|
|
52472
|
+
year: number;
|
|
52473
|
+
};
|
|
52474
|
+
Insert: {
|
|
52475
|
+
created_at?: string;
|
|
52476
|
+
created_by?: string | null;
|
|
52477
|
+
days: number;
|
|
52478
|
+
id?: string;
|
|
52479
|
+
note?: string | null;
|
|
52480
|
+
updated_at?: string;
|
|
52481
|
+
user_id: string;
|
|
52482
|
+
year?: number;
|
|
52483
|
+
};
|
|
52484
|
+
Update: {
|
|
52485
|
+
created_at?: string;
|
|
52486
|
+
created_by?: string | null;
|
|
52487
|
+
days?: number;
|
|
52488
|
+
id?: string;
|
|
52489
|
+
note?: string | null;
|
|
52490
|
+
updated_at?: string;
|
|
52491
|
+
user_id?: string;
|
|
52492
|
+
year?: number;
|
|
52493
|
+
};
|
|
52494
|
+
Relationships: [{
|
|
52495
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
52496
|
+
columns: ["created_by"];
|
|
52497
|
+
isOneToOne: false;
|
|
52498
|
+
referencedRelation: "profiles";
|
|
52499
|
+
referencedColumns: ["id"];
|
|
52500
|
+
}, {
|
|
52501
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
52502
|
+
columns: ["user_id"];
|
|
52503
|
+
isOneToOne: false;
|
|
52504
|
+
referencedRelation: "profiles";
|
|
52505
|
+
referencedColumns: ["id"];
|
|
52506
|
+
}];
|
|
52507
|
+
};
|
|
52030
52508
|
van_inventories: {
|
|
52031
52509
|
Row: {
|
|
52032
52510
|
barcode: string | null;
|
|
@@ -53311,6 +53789,78 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
53311
53789
|
referencedColumns: ["id"];
|
|
53312
53790
|
}];
|
|
53313
53791
|
};
|
|
53792
|
+
werkbon_voorstellen: {
|
|
53793
|
+
Row: {
|
|
53794
|
+
bron_werkbon_id: string;
|
|
53795
|
+
budget_mandate_cents: number;
|
|
53796
|
+
created_at: string;
|
|
53797
|
+
created_by: string;
|
|
53798
|
+
customer_id: string | null;
|
|
53799
|
+
id: string;
|
|
53800
|
+
payload: import("../integrations/supabase/types").Json;
|
|
53801
|
+
reden: string | null;
|
|
53802
|
+
status: string;
|
|
53803
|
+
updated_at: string;
|
|
53804
|
+
verwerkt_door: string | null;
|
|
53805
|
+
verwerkt_op: string | null;
|
|
53806
|
+
werkbon_id: string | null;
|
|
53807
|
+
};
|
|
53808
|
+
Insert: {
|
|
53809
|
+
bron_werkbon_id: string;
|
|
53810
|
+
budget_mandate_cents?: number;
|
|
53811
|
+
created_at?: string;
|
|
53812
|
+
created_by?: string;
|
|
53813
|
+
customer_id?: string | null;
|
|
53814
|
+
id?: string;
|
|
53815
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
53816
|
+
reden?: string | null;
|
|
53817
|
+
status?: string;
|
|
53818
|
+
updated_at?: string;
|
|
53819
|
+
verwerkt_door?: string | null;
|
|
53820
|
+
verwerkt_op?: string | null;
|
|
53821
|
+
werkbon_id?: string | null;
|
|
53822
|
+
};
|
|
53823
|
+
Update: {
|
|
53824
|
+
bron_werkbon_id?: string;
|
|
53825
|
+
budget_mandate_cents?: number;
|
|
53826
|
+
created_at?: string;
|
|
53827
|
+
created_by?: string;
|
|
53828
|
+
customer_id?: string | null;
|
|
53829
|
+
id?: string;
|
|
53830
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
53831
|
+
reden?: string | null;
|
|
53832
|
+
status?: string;
|
|
53833
|
+
updated_at?: string;
|
|
53834
|
+
verwerkt_door?: string | null;
|
|
53835
|
+
verwerkt_op?: string | null;
|
|
53836
|
+
werkbon_id?: string | null;
|
|
53837
|
+
};
|
|
53838
|
+
Relationships: [{
|
|
53839
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
53840
|
+
columns: ["bron_werkbon_id"];
|
|
53841
|
+
isOneToOne: false;
|
|
53842
|
+
referencedRelation: "werkbonnen";
|
|
53843
|
+
referencedColumns: ["id"];
|
|
53844
|
+
}, {
|
|
53845
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
53846
|
+
columns: ["bron_werkbon_id"];
|
|
53847
|
+
isOneToOne: false;
|
|
53848
|
+
referencedRelation: "wo_overview";
|
|
53849
|
+
referencedColumns: ["id"];
|
|
53850
|
+
}, {
|
|
53851
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
53852
|
+
columns: ["werkbon_id"];
|
|
53853
|
+
isOneToOne: false;
|
|
53854
|
+
referencedRelation: "werkbonnen";
|
|
53855
|
+
referencedColumns: ["id"];
|
|
53856
|
+
}, {
|
|
53857
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
53858
|
+
columns: ["werkbon_id"];
|
|
53859
|
+
isOneToOne: false;
|
|
53860
|
+
referencedRelation: "wo_overview";
|
|
53861
|
+
referencedColumns: ["id"];
|
|
53862
|
+
}];
|
|
53863
|
+
};
|
|
53314
53864
|
werkbonnen: {
|
|
53315
53865
|
Row: {
|
|
53316
53866
|
assigned_user_id: string | null;
|
|
@@ -54551,6 +55101,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
54551
55101
|
};
|
|
54552
55102
|
Returns: undefined;
|
|
54553
55103
|
};
|
|
55104
|
+
_wo_is_planner: {
|
|
55105
|
+
Args: never;
|
|
55106
|
+
Returns: boolean;
|
|
55107
|
+
};
|
|
54554
55108
|
afh_city_code: {
|
|
54555
55109
|
Args: {
|
|
54556
55110
|
_city: string;
|
|
@@ -55663,6 +56217,22 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55663
56217
|
};
|
|
55664
56218
|
Returns: number;
|
|
55665
56219
|
};
|
|
56220
|
+
get_product_stock: {
|
|
56221
|
+
Args: {
|
|
56222
|
+
p_product_id: string;
|
|
56223
|
+
};
|
|
56224
|
+
Returns: {
|
|
56225
|
+
connection_id: string;
|
|
56226
|
+
incoming_stock: number;
|
|
56227
|
+
minimum_stock: number;
|
|
56228
|
+
notes: string;
|
|
56229
|
+
physical_stock: number;
|
|
56230
|
+
product_id: string;
|
|
56231
|
+
reserved_stock: number;
|
|
56232
|
+
trade_item_key: string;
|
|
56233
|
+
updated_at: string;
|
|
56234
|
+
}[];
|
|
56235
|
+
};
|
|
55666
56236
|
get_room_busy_windows: {
|
|
55667
56237
|
Args: {
|
|
55668
56238
|
p_from: string;
|
|
@@ -56000,6 +56570,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56000
56570
|
};
|
|
56001
56571
|
Returns: number;
|
|
56002
56572
|
};
|
|
56573
|
+
invoice_branding_snapshot: {
|
|
56574
|
+
Args: never;
|
|
56575
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56576
|
+
};
|
|
56003
56577
|
invoice_create_from_source: {
|
|
56004
56578
|
Args: {
|
|
56005
56579
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -56034,6 +56608,17 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56034
56608
|
};
|
|
56035
56609
|
Returns: import("../integrations/supabase/types").Json;
|
|
56036
56610
|
};
|
|
56611
|
+
invoice_mark_sent: {
|
|
56612
|
+
Args: {
|
|
56613
|
+
_invoice_id: string;
|
|
56614
|
+
_to: string;
|
|
56615
|
+
};
|
|
56616
|
+
Returns: undefined;
|
|
56617
|
+
};
|
|
56618
|
+
invoice_peek_next_number: {
|
|
56619
|
+
Args: never;
|
|
56620
|
+
Returns: string;
|
|
56621
|
+
};
|
|
56037
56622
|
invoice_ready_work_orders: {
|
|
56038
56623
|
Args: {
|
|
56039
56624
|
_limit?: number;
|
|
@@ -56046,6 +56631,18 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56046
56631
|
};
|
|
56047
56632
|
Returns: import("../integrations/supabase/types").Json;
|
|
56048
56633
|
};
|
|
56634
|
+
invoice_save_branding_settings: {
|
|
56635
|
+
Args: {
|
|
56636
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
56637
|
+
};
|
|
56638
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56639
|
+
};
|
|
56640
|
+
invoice_set_email_purpose: {
|
|
56641
|
+
Args: {
|
|
56642
|
+
_purpose: string;
|
|
56643
|
+
};
|
|
56644
|
+
Returns: string;
|
|
56645
|
+
};
|
|
56049
56646
|
invoice_source_lines: {
|
|
56050
56647
|
Args: {
|
|
56051
56648
|
_source_id: string;
|
|
@@ -56053,6 +56650,19 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56053
56650
|
};
|
|
56054
56651
|
Returns: import("../integrations/supabase/types").Json;
|
|
56055
56652
|
};
|
|
56653
|
+
invoice_update_full: {
|
|
56654
|
+
Args: {
|
|
56655
|
+
_invoice_id: string;
|
|
56656
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
56657
|
+
};
|
|
56658
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56659
|
+
};
|
|
56660
|
+
invoice_work_order_locked: {
|
|
56661
|
+
Args: {
|
|
56662
|
+
_werkbon_id: string;
|
|
56663
|
+
};
|
|
56664
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56665
|
+
};
|
|
56056
56666
|
is_authenticated: {
|
|
56057
56667
|
Args: never;
|
|
56058
56668
|
Returns: boolean;
|
|
@@ -59352,6 +59962,19 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
59352
59962
|
};
|
|
59353
59963
|
Returns: boolean;
|
|
59354
59964
|
};
|
|
59965
|
+
quote_assign_number: {
|
|
59966
|
+
Args: {
|
|
59967
|
+
_offerte_id: string;
|
|
59968
|
+
};
|
|
59969
|
+
Returns: string;
|
|
59970
|
+
};
|
|
59971
|
+
quote_create_follow_up_now: {
|
|
59972
|
+
Args: {
|
|
59973
|
+
_offerte_id: string;
|
|
59974
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
59975
|
+
};
|
|
59976
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59977
|
+
};
|
|
59355
59978
|
quote_create_from_source: {
|
|
59356
59979
|
Args: {
|
|
59357
59980
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60065,6 +60688,26 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60065
60688
|
};
|
|
60066
60689
|
Returns: undefined;
|
|
60067
60690
|
};
|
|
60691
|
+
set_product_stock: {
|
|
60692
|
+
Args: {
|
|
60693
|
+
p_incoming_stock?: number;
|
|
60694
|
+
p_minimum_stock?: number;
|
|
60695
|
+
p_notes?: string;
|
|
60696
|
+
p_physical_stock: number;
|
|
60697
|
+
p_product_id: string;
|
|
60698
|
+
};
|
|
60699
|
+
Returns: {
|
|
60700
|
+
connection_id: string;
|
|
60701
|
+
incoming_stock: number;
|
|
60702
|
+
minimum_stock: number;
|
|
60703
|
+
notes: string;
|
|
60704
|
+
physical_stock: number;
|
|
60705
|
+
product_id: string;
|
|
60706
|
+
reserved_stock: number;
|
|
60707
|
+
trade_item_key: string;
|
|
60708
|
+
updated_at: string;
|
|
60709
|
+
}[];
|
|
60710
|
+
};
|
|
60068
60711
|
show_limit: {
|
|
60069
60712
|
Args: never;
|
|
60070
60713
|
Returns: number;
|
|
@@ -60589,6 +61232,13 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60589
61232
|
};
|
|
60590
61233
|
Returns: number;
|
|
60591
61234
|
};
|
|
61235
|
+
vakantie_overuren: {
|
|
61236
|
+
Args: {
|
|
61237
|
+
_user_id: string;
|
|
61238
|
+
_year?: number;
|
|
61239
|
+
};
|
|
61240
|
+
Returns: number;
|
|
61241
|
+
};
|
|
60592
61242
|
vakantie_saldo: {
|
|
60593
61243
|
Args: {
|
|
60594
61244
|
_user_id: string;
|
|
@@ -60596,7 +61246,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60596
61246
|
};
|
|
60597
61247
|
Returns: {
|
|
60598
61248
|
day_hours: number;
|
|
61249
|
+
earned_from_overtime_days: number;
|
|
60599
61250
|
entitlement_days: number;
|
|
61251
|
+
hours_to_next_day: number;
|
|
61252
|
+
overtime_hours: number;
|
|
61253
|
+
overtime_remainder_hours: number;
|
|
61254
|
+
paid_out_days: number;
|
|
60600
61255
|
remaining_days: number;
|
|
60601
61256
|
used_days: number;
|
|
60602
61257
|
}[];
|
|
@@ -60607,7 +61262,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60607
61262
|
};
|
|
60608
61263
|
Returns: {
|
|
60609
61264
|
day_hours: number;
|
|
61265
|
+
earned_from_overtime_days: number;
|
|
60610
61266
|
entitlement_days: number;
|
|
61267
|
+
hours_to_next_day: number;
|
|
61268
|
+
overtime_hours: number;
|
|
61269
|
+
overtime_remainder_hours: number;
|
|
61270
|
+
paid_out_days: number;
|
|
60611
61271
|
remaining_days: number;
|
|
60612
61272
|
used_days: number;
|
|
60613
61273
|
user_id: string;
|
|
@@ -60661,12 +61321,25 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60661
61321
|
};
|
|
60662
61322
|
Returns: import("../integrations/supabase/types").Json;
|
|
60663
61323
|
};
|
|
61324
|
+
wo_list_proposals: {
|
|
61325
|
+
Args: {
|
|
61326
|
+
_status?: string;
|
|
61327
|
+
};
|
|
61328
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61329
|
+
};
|
|
60664
61330
|
wo_process_offerte_request: {
|
|
60665
61331
|
Args: {
|
|
60666
61332
|
_queue_id: string;
|
|
60667
61333
|
};
|
|
60668
61334
|
Returns: import("../integrations/supabase/types").Json;
|
|
60669
61335
|
};
|
|
61336
|
+
wo_process_proposal: {
|
|
61337
|
+
Args: {
|
|
61338
|
+
_id: string;
|
|
61339
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
61340
|
+
};
|
|
61341
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61342
|
+
};
|
|
60670
61343
|
wo_reject_offerte_request: {
|
|
60671
61344
|
Args: {
|
|
60672
61345
|
_queue_id: string;
|
|
@@ -60674,6 +61347,13 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60674
61347
|
};
|
|
60675
61348
|
Returns: import("../integrations/supabase/types").Json;
|
|
60676
61349
|
};
|
|
61350
|
+
wo_reject_proposal: {
|
|
61351
|
+
Args: {
|
|
61352
|
+
_id: string;
|
|
61353
|
+
_reden?: string;
|
|
61354
|
+
};
|
|
61355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61356
|
+
};
|
|
60677
61357
|
wo_set_status: {
|
|
60678
61358
|
Args: {
|
|
60679
61359
|
_reason?: string;
|
|
@@ -68970,6 +69650,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
68970
69650
|
};
|
|
68971
69651
|
Relationships: [];
|
|
68972
69652
|
};
|
|
69653
|
+
invoice_branding_settings: {
|
|
69654
|
+
Row: {
|
|
69655
|
+
address: string;
|
|
69656
|
+
chamber_of_commerce_number: string;
|
|
69657
|
+
city: string;
|
|
69658
|
+
company_name: string;
|
|
69659
|
+
created_at: string;
|
|
69660
|
+
email: string;
|
|
69661
|
+
email_purpose: string | null;
|
|
69662
|
+
iban: string;
|
|
69663
|
+
logo_path: string | null;
|
|
69664
|
+
payment_term_days: number;
|
|
69665
|
+
phone: string;
|
|
69666
|
+
postal_code: string;
|
|
69667
|
+
primary_color: string;
|
|
69668
|
+
secondary_color: string;
|
|
69669
|
+
singleton_key: boolean;
|
|
69670
|
+
updated_at: string;
|
|
69671
|
+
vat_identification_number: string;
|
|
69672
|
+
website: string;
|
|
69673
|
+
};
|
|
69674
|
+
Insert: {
|
|
69675
|
+
address?: string;
|
|
69676
|
+
chamber_of_commerce_number?: string;
|
|
69677
|
+
city?: string;
|
|
69678
|
+
company_name?: string;
|
|
69679
|
+
created_at?: string;
|
|
69680
|
+
email?: string;
|
|
69681
|
+
email_purpose?: string | null;
|
|
69682
|
+
iban?: string;
|
|
69683
|
+
logo_path?: string | null;
|
|
69684
|
+
payment_term_days?: number;
|
|
69685
|
+
phone?: string;
|
|
69686
|
+
postal_code?: string;
|
|
69687
|
+
primary_color?: string;
|
|
69688
|
+
secondary_color?: string;
|
|
69689
|
+
singleton_key?: boolean;
|
|
69690
|
+
updated_at?: string;
|
|
69691
|
+
vat_identification_number?: string;
|
|
69692
|
+
website?: string;
|
|
69693
|
+
};
|
|
69694
|
+
Update: {
|
|
69695
|
+
address?: string;
|
|
69696
|
+
chamber_of_commerce_number?: string;
|
|
69697
|
+
city?: string;
|
|
69698
|
+
company_name?: string;
|
|
69699
|
+
created_at?: string;
|
|
69700
|
+
email?: string;
|
|
69701
|
+
email_purpose?: string | null;
|
|
69702
|
+
iban?: string;
|
|
69703
|
+
logo_path?: string | null;
|
|
69704
|
+
payment_term_days?: number;
|
|
69705
|
+
phone?: string;
|
|
69706
|
+
postal_code?: string;
|
|
69707
|
+
primary_color?: string;
|
|
69708
|
+
secondary_color?: string;
|
|
69709
|
+
singleton_key?: boolean;
|
|
69710
|
+
updated_at?: string;
|
|
69711
|
+
vat_identification_number?: string;
|
|
69712
|
+
website?: string;
|
|
69713
|
+
};
|
|
69714
|
+
Relationships: [];
|
|
69715
|
+
};
|
|
68973
69716
|
invoice_items: {
|
|
68974
69717
|
Row: {
|
|
68975
69718
|
created_at: string;
|
|
@@ -68983,6 +69726,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
68983
69726
|
total_cents: number;
|
|
68984
69727
|
unit: string;
|
|
68985
69728
|
unit_price_cents: number;
|
|
69729
|
+
vat_rate: number | null;
|
|
68986
69730
|
};
|
|
68987
69731
|
Insert: {
|
|
68988
69732
|
created_at?: string;
|
|
@@ -68996,6 +69740,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
68996
69740
|
total_cents?: number;
|
|
68997
69741
|
unit?: string;
|
|
68998
69742
|
unit_price_cents?: number;
|
|
69743
|
+
vat_rate?: number | null;
|
|
68999
69744
|
};
|
|
69000
69745
|
Update: {
|
|
69001
69746
|
created_at?: string;
|
|
@@ -69009,6 +69754,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69009
69754
|
total_cents?: number;
|
|
69010
69755
|
unit?: string;
|
|
69011
69756
|
unit_price_cents?: number;
|
|
69757
|
+
vat_rate?: number | null;
|
|
69012
69758
|
};
|
|
69013
69759
|
Relationships: [{
|
|
69014
69760
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -69254,6 +70000,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69254
70000
|
};
|
|
69255
70001
|
invoices: {
|
|
69256
70002
|
Row: {
|
|
70003
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
69257
70004
|
created_at: string;
|
|
69258
70005
|
created_by: string | null;
|
|
69259
70006
|
customer_address: string | null;
|
|
@@ -69272,6 +70019,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69272
70019
|
note: string | null;
|
|
69273
70020
|
payment_term_days: number;
|
|
69274
70021
|
reference: string | null;
|
|
70022
|
+
sent_at: string | null;
|
|
70023
|
+
sent_to: string | null;
|
|
69275
70024
|
source_number: string | null;
|
|
69276
70025
|
source_ref: string | null;
|
|
69277
70026
|
source_type: string;
|
|
@@ -69284,6 +70033,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69284
70033
|
work_address: string | null;
|
|
69285
70034
|
};
|
|
69286
70035
|
Insert: {
|
|
70036
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
69287
70037
|
created_at?: string;
|
|
69288
70038
|
created_by?: string | null;
|
|
69289
70039
|
customer_address?: string | null;
|
|
@@ -69302,6 +70052,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69302
70052
|
note?: string | null;
|
|
69303
70053
|
payment_term_days?: number;
|
|
69304
70054
|
reference?: string | null;
|
|
70055
|
+
sent_at?: string | null;
|
|
70056
|
+
sent_to?: string | null;
|
|
69305
70057
|
source_number?: string | null;
|
|
69306
70058
|
source_ref?: string | null;
|
|
69307
70059
|
source_type?: string;
|
|
@@ -69314,6 +70066,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69314
70066
|
work_address?: string | null;
|
|
69315
70067
|
};
|
|
69316
70068
|
Update: {
|
|
70069
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
69317
70070
|
created_at?: string;
|
|
69318
70071
|
created_by?: string | null;
|
|
69319
70072
|
customer_address?: string | null;
|
|
@@ -69332,6 +70085,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69332
70085
|
note?: string | null;
|
|
69333
70086
|
payment_term_days?: number;
|
|
69334
70087
|
reference?: string | null;
|
|
70088
|
+
sent_at?: string | null;
|
|
70089
|
+
sent_to?: string | null;
|
|
69335
70090
|
source_number?: string | null;
|
|
69336
70091
|
source_ref?: string | null;
|
|
69337
70092
|
source_type?: string;
|
|
@@ -70040,6 +70795,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70040
70795
|
quantity: number;
|
|
70041
70796
|
sort_order: number;
|
|
70042
70797
|
source: string;
|
|
70798
|
+
unit: string | null;
|
|
70043
70799
|
unit_price_cents: number;
|
|
70044
70800
|
updated_at: string;
|
|
70045
70801
|
};
|
|
@@ -70053,6 +70809,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70053
70809
|
quantity?: number;
|
|
70054
70810
|
sort_order?: number;
|
|
70055
70811
|
source?: string;
|
|
70812
|
+
unit?: string | null;
|
|
70056
70813
|
unit_price_cents?: number;
|
|
70057
70814
|
updated_at?: string;
|
|
70058
70815
|
};
|
|
@@ -70066,6 +70823,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70066
70823
|
quantity?: number;
|
|
70067
70824
|
sort_order?: number;
|
|
70068
70825
|
source?: string;
|
|
70826
|
+
unit?: string | null;
|
|
70069
70827
|
unit_price_cents?: number;
|
|
70070
70828
|
updated_at?: string;
|
|
70071
70829
|
};
|
|
@@ -70089,6 +70847,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70089
70847
|
created_at: string;
|
|
70090
70848
|
default_geldigheid_dagen: number;
|
|
70091
70849
|
default_vat_rate: number;
|
|
70850
|
+
email_purpose: string | null;
|
|
70092
70851
|
id: string;
|
|
70093
70852
|
singleton: boolean;
|
|
70094
70853
|
updated_at: string;
|
|
@@ -70098,6 +70857,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70098
70857
|
created_at?: string;
|
|
70099
70858
|
default_geldigheid_dagen?: number;
|
|
70100
70859
|
default_vat_rate?: number;
|
|
70860
|
+
email_purpose?: string | null;
|
|
70101
70861
|
id?: string;
|
|
70102
70862
|
singleton?: boolean;
|
|
70103
70863
|
updated_at?: string;
|
|
@@ -70107,6 +70867,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70107
70867
|
created_at?: string;
|
|
70108
70868
|
default_geldigheid_dagen?: number;
|
|
70109
70869
|
default_vat_rate?: number;
|
|
70870
|
+
email_purpose?: string | null;
|
|
70110
70871
|
id?: string;
|
|
70111
70872
|
singleton?: boolean;
|
|
70112
70873
|
updated_at?: string;
|
|
@@ -70199,6 +70960,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70199
70960
|
};
|
|
70200
70961
|
itk_offertes: {
|
|
70201
70962
|
Row: {
|
|
70963
|
+
aandachtspunten: string | null;
|
|
70202
70964
|
ai_generated: boolean;
|
|
70203
70965
|
approved_at: string | null;
|
|
70204
70966
|
binnen_mandaat: boolean;
|
|
@@ -70214,6 +70976,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70214
70976
|
notities: string | null;
|
|
70215
70977
|
offerte_number: string | null;
|
|
70216
70978
|
omschrijving: string;
|
|
70979
|
+
onderwerp: string | null;
|
|
70217
70980
|
rejected_at: string | null;
|
|
70218
70981
|
sent_at: string | null;
|
|
70219
70982
|
source_number: string | null;
|
|
@@ -70226,12 +70989,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70226
70989
|
valid_until: string | null;
|
|
70227
70990
|
vat_cents: number;
|
|
70228
70991
|
vat_rate: number;
|
|
70992
|
+
verzonden_naar: string | null;
|
|
70229
70993
|
viewed_at: string | null;
|
|
70230
70994
|
volgnummer: number | null;
|
|
70995
|
+
voorwaarden: string | null;
|
|
70231
70996
|
werkbon_id: string | null;
|
|
70232
70997
|
work_location_id: string | null;
|
|
70233
70998
|
};
|
|
70234
70999
|
Insert: {
|
|
71000
|
+
aandachtspunten?: string | null;
|
|
70235
71001
|
ai_generated?: boolean;
|
|
70236
71002
|
approved_at?: string | null;
|
|
70237
71003
|
binnen_mandaat?: boolean;
|
|
@@ -70247,6 +71013,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70247
71013
|
notities?: string | null;
|
|
70248
71014
|
offerte_number?: string | null;
|
|
70249
71015
|
omschrijving?: string;
|
|
71016
|
+
onderwerp?: string | null;
|
|
70250
71017
|
rejected_at?: string | null;
|
|
70251
71018
|
sent_at?: string | null;
|
|
70252
71019
|
source_number?: string | null;
|
|
@@ -70259,12 +71026,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70259
71026
|
valid_until?: string | null;
|
|
70260
71027
|
vat_cents?: number;
|
|
70261
71028
|
vat_rate?: number;
|
|
71029
|
+
verzonden_naar?: string | null;
|
|
70262
71030
|
viewed_at?: string | null;
|
|
70263
71031
|
volgnummer?: number | null;
|
|
71032
|
+
voorwaarden?: string | null;
|
|
70264
71033
|
werkbon_id?: string | null;
|
|
70265
71034
|
work_location_id?: string | null;
|
|
70266
71035
|
};
|
|
70267
71036
|
Update: {
|
|
71037
|
+
aandachtspunten?: string | null;
|
|
70268
71038
|
ai_generated?: boolean;
|
|
70269
71039
|
approved_at?: string | null;
|
|
70270
71040
|
binnen_mandaat?: boolean;
|
|
@@ -70280,6 +71050,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70280
71050
|
notities?: string | null;
|
|
70281
71051
|
offerte_number?: string | null;
|
|
70282
71052
|
omschrijving?: string;
|
|
71053
|
+
onderwerp?: string | null;
|
|
70283
71054
|
rejected_at?: string | null;
|
|
70284
71055
|
sent_at?: string | null;
|
|
70285
71056
|
source_number?: string | null;
|
|
@@ -70292,8 +71063,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
70292
71063
|
valid_until?: string | null;
|
|
70293
71064
|
vat_cents?: number;
|
|
70294
71065
|
vat_rate?: number;
|
|
71066
|
+
verzonden_naar?: string | null;
|
|
70295
71067
|
viewed_at?: string | null;
|
|
70296
71068
|
volgnummer?: number | null;
|
|
71069
|
+
voorwaarden?: string | null;
|
|
70297
71070
|
werkbon_id?: string | null;
|
|
70298
71071
|
work_location_id?: string | null;
|
|
70299
71072
|
};
|
|
@@ -82371,6 +83144,51 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82371
83144
|
referencedColumns: ["id"];
|
|
82372
83145
|
}];
|
|
82373
83146
|
};
|
|
83147
|
+
vakantie_uitbetalingen: {
|
|
83148
|
+
Row: {
|
|
83149
|
+
created_at: string;
|
|
83150
|
+
created_by: string | null;
|
|
83151
|
+
days: number;
|
|
83152
|
+
id: string;
|
|
83153
|
+
note: string | null;
|
|
83154
|
+
updated_at: string;
|
|
83155
|
+
user_id: string;
|
|
83156
|
+
year: number;
|
|
83157
|
+
};
|
|
83158
|
+
Insert: {
|
|
83159
|
+
created_at?: string;
|
|
83160
|
+
created_by?: string | null;
|
|
83161
|
+
days: number;
|
|
83162
|
+
id?: string;
|
|
83163
|
+
note?: string | null;
|
|
83164
|
+
updated_at?: string;
|
|
83165
|
+
user_id: string;
|
|
83166
|
+
year?: number;
|
|
83167
|
+
};
|
|
83168
|
+
Update: {
|
|
83169
|
+
created_at?: string;
|
|
83170
|
+
created_by?: string | null;
|
|
83171
|
+
days?: number;
|
|
83172
|
+
id?: string;
|
|
83173
|
+
note?: string | null;
|
|
83174
|
+
updated_at?: string;
|
|
83175
|
+
user_id?: string;
|
|
83176
|
+
year?: number;
|
|
83177
|
+
};
|
|
83178
|
+
Relationships: [{
|
|
83179
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
83180
|
+
columns: ["created_by"];
|
|
83181
|
+
isOneToOne: false;
|
|
83182
|
+
referencedRelation: "profiles";
|
|
83183
|
+
referencedColumns: ["id"];
|
|
83184
|
+
}, {
|
|
83185
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
83186
|
+
columns: ["user_id"];
|
|
83187
|
+
isOneToOne: false;
|
|
83188
|
+
referencedRelation: "profiles";
|
|
83189
|
+
referencedColumns: ["id"];
|
|
83190
|
+
}];
|
|
83191
|
+
};
|
|
82374
83192
|
van_inventories: {
|
|
82375
83193
|
Row: {
|
|
82376
83194
|
barcode: string | null;
|
|
@@ -83655,6 +84473,78 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
83655
84473
|
referencedColumns: ["id"];
|
|
83656
84474
|
}];
|
|
83657
84475
|
};
|
|
84476
|
+
werkbon_voorstellen: {
|
|
84477
|
+
Row: {
|
|
84478
|
+
bron_werkbon_id: string;
|
|
84479
|
+
budget_mandate_cents: number;
|
|
84480
|
+
created_at: string;
|
|
84481
|
+
created_by: string;
|
|
84482
|
+
customer_id: string | null;
|
|
84483
|
+
id: string;
|
|
84484
|
+
payload: import("../integrations/supabase/types").Json;
|
|
84485
|
+
reden: string | null;
|
|
84486
|
+
status: string;
|
|
84487
|
+
updated_at: string;
|
|
84488
|
+
verwerkt_door: string | null;
|
|
84489
|
+
verwerkt_op: string | null;
|
|
84490
|
+
werkbon_id: string | null;
|
|
84491
|
+
};
|
|
84492
|
+
Insert: {
|
|
84493
|
+
bron_werkbon_id: string;
|
|
84494
|
+
budget_mandate_cents?: number;
|
|
84495
|
+
created_at?: string;
|
|
84496
|
+
created_by?: string;
|
|
84497
|
+
customer_id?: string | null;
|
|
84498
|
+
id?: string;
|
|
84499
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
84500
|
+
reden?: string | null;
|
|
84501
|
+
status?: string;
|
|
84502
|
+
updated_at?: string;
|
|
84503
|
+
verwerkt_door?: string | null;
|
|
84504
|
+
verwerkt_op?: string | null;
|
|
84505
|
+
werkbon_id?: string | null;
|
|
84506
|
+
};
|
|
84507
|
+
Update: {
|
|
84508
|
+
bron_werkbon_id?: string;
|
|
84509
|
+
budget_mandate_cents?: number;
|
|
84510
|
+
created_at?: string;
|
|
84511
|
+
created_by?: string;
|
|
84512
|
+
customer_id?: string | null;
|
|
84513
|
+
id?: string;
|
|
84514
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
84515
|
+
reden?: string | null;
|
|
84516
|
+
status?: string;
|
|
84517
|
+
updated_at?: string;
|
|
84518
|
+
verwerkt_door?: string | null;
|
|
84519
|
+
verwerkt_op?: string | null;
|
|
84520
|
+
werkbon_id?: string | null;
|
|
84521
|
+
};
|
|
84522
|
+
Relationships: [{
|
|
84523
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
84524
|
+
columns: ["bron_werkbon_id"];
|
|
84525
|
+
isOneToOne: false;
|
|
84526
|
+
referencedRelation: "werkbonnen";
|
|
84527
|
+
referencedColumns: ["id"];
|
|
84528
|
+
}, {
|
|
84529
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
84530
|
+
columns: ["bron_werkbon_id"];
|
|
84531
|
+
isOneToOne: false;
|
|
84532
|
+
referencedRelation: "wo_overview";
|
|
84533
|
+
referencedColumns: ["id"];
|
|
84534
|
+
}, {
|
|
84535
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
84536
|
+
columns: ["werkbon_id"];
|
|
84537
|
+
isOneToOne: false;
|
|
84538
|
+
referencedRelation: "werkbonnen";
|
|
84539
|
+
referencedColumns: ["id"];
|
|
84540
|
+
}, {
|
|
84541
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
84542
|
+
columns: ["werkbon_id"];
|
|
84543
|
+
isOneToOne: false;
|
|
84544
|
+
referencedRelation: "wo_overview";
|
|
84545
|
+
referencedColumns: ["id"];
|
|
84546
|
+
}];
|
|
84547
|
+
};
|
|
83658
84548
|
werkbonnen: {
|
|
83659
84549
|
Row: {
|
|
83660
84550
|
assigned_user_id: string | null;
|
|
@@ -84895,6 +85785,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
84895
85785
|
};
|
|
84896
85786
|
Returns: undefined;
|
|
84897
85787
|
};
|
|
85788
|
+
_wo_is_planner: {
|
|
85789
|
+
Args: never;
|
|
85790
|
+
Returns: boolean;
|
|
85791
|
+
};
|
|
84898
85792
|
afh_city_code: {
|
|
84899
85793
|
Args: {
|
|
84900
85794
|
_city: string;
|
|
@@ -86007,6 +86901,22 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86007
86901
|
};
|
|
86008
86902
|
Returns: number;
|
|
86009
86903
|
};
|
|
86904
|
+
get_product_stock: {
|
|
86905
|
+
Args: {
|
|
86906
|
+
p_product_id: string;
|
|
86907
|
+
};
|
|
86908
|
+
Returns: {
|
|
86909
|
+
connection_id: string;
|
|
86910
|
+
incoming_stock: number;
|
|
86911
|
+
minimum_stock: number;
|
|
86912
|
+
notes: string;
|
|
86913
|
+
physical_stock: number;
|
|
86914
|
+
product_id: string;
|
|
86915
|
+
reserved_stock: number;
|
|
86916
|
+
trade_item_key: string;
|
|
86917
|
+
updated_at: string;
|
|
86918
|
+
}[];
|
|
86919
|
+
};
|
|
86010
86920
|
get_room_busy_windows: {
|
|
86011
86921
|
Args: {
|
|
86012
86922
|
p_from: string;
|
|
@@ -86344,6 +87254,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86344
87254
|
};
|
|
86345
87255
|
Returns: number;
|
|
86346
87256
|
};
|
|
87257
|
+
invoice_branding_snapshot: {
|
|
87258
|
+
Args: never;
|
|
87259
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
87260
|
+
};
|
|
86347
87261
|
invoice_create_from_source: {
|
|
86348
87262
|
Args: {
|
|
86349
87263
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -86378,6 +87292,17 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86378
87292
|
};
|
|
86379
87293
|
Returns: import("../integrations/supabase/types").Json;
|
|
86380
87294
|
};
|
|
87295
|
+
invoice_mark_sent: {
|
|
87296
|
+
Args: {
|
|
87297
|
+
_invoice_id: string;
|
|
87298
|
+
_to: string;
|
|
87299
|
+
};
|
|
87300
|
+
Returns: undefined;
|
|
87301
|
+
};
|
|
87302
|
+
invoice_peek_next_number: {
|
|
87303
|
+
Args: never;
|
|
87304
|
+
Returns: string;
|
|
87305
|
+
};
|
|
86381
87306
|
invoice_ready_work_orders: {
|
|
86382
87307
|
Args: {
|
|
86383
87308
|
_limit?: number;
|
|
@@ -86390,6 +87315,18 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86390
87315
|
};
|
|
86391
87316
|
Returns: import("../integrations/supabase/types").Json;
|
|
86392
87317
|
};
|
|
87318
|
+
invoice_save_branding_settings: {
|
|
87319
|
+
Args: {
|
|
87320
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
87321
|
+
};
|
|
87322
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
87323
|
+
};
|
|
87324
|
+
invoice_set_email_purpose: {
|
|
87325
|
+
Args: {
|
|
87326
|
+
_purpose: string;
|
|
87327
|
+
};
|
|
87328
|
+
Returns: string;
|
|
87329
|
+
};
|
|
86393
87330
|
invoice_source_lines: {
|
|
86394
87331
|
Args: {
|
|
86395
87332
|
_source_id: string;
|
|
@@ -86397,6 +87334,19 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
86397
87334
|
};
|
|
86398
87335
|
Returns: import("../integrations/supabase/types").Json;
|
|
86399
87336
|
};
|
|
87337
|
+
invoice_update_full: {
|
|
87338
|
+
Args: {
|
|
87339
|
+
_invoice_id: string;
|
|
87340
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
87341
|
+
};
|
|
87342
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
87343
|
+
};
|
|
87344
|
+
invoice_work_order_locked: {
|
|
87345
|
+
Args: {
|
|
87346
|
+
_werkbon_id: string;
|
|
87347
|
+
};
|
|
87348
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
87349
|
+
};
|
|
86400
87350
|
is_authenticated: {
|
|
86401
87351
|
Args: never;
|
|
86402
87352
|
Returns: boolean;
|
|
@@ -89696,6 +90646,19 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
89696
90646
|
};
|
|
89697
90647
|
Returns: boolean;
|
|
89698
90648
|
};
|
|
90649
|
+
quote_assign_number: {
|
|
90650
|
+
Args: {
|
|
90651
|
+
_offerte_id: string;
|
|
90652
|
+
};
|
|
90653
|
+
Returns: string;
|
|
90654
|
+
};
|
|
90655
|
+
quote_create_follow_up_now: {
|
|
90656
|
+
Args: {
|
|
90657
|
+
_offerte_id: string;
|
|
90658
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
90659
|
+
};
|
|
90660
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90661
|
+
};
|
|
89699
90662
|
quote_create_from_source: {
|
|
89700
90663
|
Args: {
|
|
89701
90664
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -90409,6 +91372,26 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90409
91372
|
};
|
|
90410
91373
|
Returns: undefined;
|
|
90411
91374
|
};
|
|
91375
|
+
set_product_stock: {
|
|
91376
|
+
Args: {
|
|
91377
|
+
p_incoming_stock?: number;
|
|
91378
|
+
p_minimum_stock?: number;
|
|
91379
|
+
p_notes?: string;
|
|
91380
|
+
p_physical_stock: number;
|
|
91381
|
+
p_product_id: string;
|
|
91382
|
+
};
|
|
91383
|
+
Returns: {
|
|
91384
|
+
connection_id: string;
|
|
91385
|
+
incoming_stock: number;
|
|
91386
|
+
minimum_stock: number;
|
|
91387
|
+
notes: string;
|
|
91388
|
+
physical_stock: number;
|
|
91389
|
+
product_id: string;
|
|
91390
|
+
reserved_stock: number;
|
|
91391
|
+
trade_item_key: string;
|
|
91392
|
+
updated_at: string;
|
|
91393
|
+
}[];
|
|
91394
|
+
};
|
|
90412
91395
|
show_limit: {
|
|
90413
91396
|
Args: never;
|
|
90414
91397
|
Returns: number;
|
|
@@ -90933,6 +91916,13 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90933
91916
|
};
|
|
90934
91917
|
Returns: number;
|
|
90935
91918
|
};
|
|
91919
|
+
vakantie_overuren: {
|
|
91920
|
+
Args: {
|
|
91921
|
+
_user_id: string;
|
|
91922
|
+
_year?: number;
|
|
91923
|
+
};
|
|
91924
|
+
Returns: number;
|
|
91925
|
+
};
|
|
90936
91926
|
vakantie_saldo: {
|
|
90937
91927
|
Args: {
|
|
90938
91928
|
_user_id: string;
|
|
@@ -90940,7 +91930,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90940
91930
|
};
|
|
90941
91931
|
Returns: {
|
|
90942
91932
|
day_hours: number;
|
|
91933
|
+
earned_from_overtime_days: number;
|
|
90943
91934
|
entitlement_days: number;
|
|
91935
|
+
hours_to_next_day: number;
|
|
91936
|
+
overtime_hours: number;
|
|
91937
|
+
overtime_remainder_hours: number;
|
|
91938
|
+
paid_out_days: number;
|
|
90944
91939
|
remaining_days: number;
|
|
90945
91940
|
used_days: number;
|
|
90946
91941
|
}[];
|
|
@@ -90951,7 +91946,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
90951
91946
|
};
|
|
90952
91947
|
Returns: {
|
|
90953
91948
|
day_hours: number;
|
|
91949
|
+
earned_from_overtime_days: number;
|
|
90954
91950
|
entitlement_days: number;
|
|
91951
|
+
hours_to_next_day: number;
|
|
91952
|
+
overtime_hours: number;
|
|
91953
|
+
overtime_remainder_hours: number;
|
|
91954
|
+
paid_out_days: number;
|
|
90955
91955
|
remaining_days: number;
|
|
90956
91956
|
used_days: number;
|
|
90957
91957
|
user_id: string;
|
|
@@ -91005,12 +92005,25 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
91005
92005
|
};
|
|
91006
92006
|
Returns: import("../integrations/supabase/types").Json;
|
|
91007
92007
|
};
|
|
92008
|
+
wo_list_proposals: {
|
|
92009
|
+
Args: {
|
|
92010
|
+
_status?: string;
|
|
92011
|
+
};
|
|
92012
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92013
|
+
};
|
|
91008
92014
|
wo_process_offerte_request: {
|
|
91009
92015
|
Args: {
|
|
91010
92016
|
_queue_id: string;
|
|
91011
92017
|
};
|
|
91012
92018
|
Returns: import("../integrations/supabase/types").Json;
|
|
91013
92019
|
};
|
|
92020
|
+
wo_process_proposal: {
|
|
92021
|
+
Args: {
|
|
92022
|
+
_id: string;
|
|
92023
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
92024
|
+
};
|
|
92025
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92026
|
+
};
|
|
91014
92027
|
wo_reject_offerte_request: {
|
|
91015
92028
|
Args: {
|
|
91016
92029
|
_queue_id: string;
|
|
@@ -91018,6 +92031,13 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
91018
92031
|
};
|
|
91019
92032
|
Returns: import("../integrations/supabase/types").Json;
|
|
91020
92033
|
};
|
|
92034
|
+
wo_reject_proposal: {
|
|
92035
|
+
Args: {
|
|
92036
|
+
_id: string;
|
|
92037
|
+
_reden?: string;
|
|
92038
|
+
};
|
|
92039
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92040
|
+
};
|
|
91021
92041
|
wo_set_status: {
|
|
91022
92042
|
Args: {
|
|
91023
92043
|
_reason?: string;
|