@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
|
@@ -8274,6 +8274,69 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8274
8274
|
};
|
|
8275
8275
|
Relationships: [];
|
|
8276
8276
|
};
|
|
8277
|
+
invoice_branding_settings: {
|
|
8278
|
+
Row: {
|
|
8279
|
+
address: string;
|
|
8280
|
+
chamber_of_commerce_number: string;
|
|
8281
|
+
city: string;
|
|
8282
|
+
company_name: string;
|
|
8283
|
+
created_at: string;
|
|
8284
|
+
email: string;
|
|
8285
|
+
email_purpose: string | null;
|
|
8286
|
+
iban: string;
|
|
8287
|
+
logo_path: string | null;
|
|
8288
|
+
payment_term_days: number;
|
|
8289
|
+
phone: string;
|
|
8290
|
+
postal_code: string;
|
|
8291
|
+
primary_color: string;
|
|
8292
|
+
secondary_color: string;
|
|
8293
|
+
singleton_key: boolean;
|
|
8294
|
+
updated_at: string;
|
|
8295
|
+
vat_identification_number: string;
|
|
8296
|
+
website: string;
|
|
8297
|
+
};
|
|
8298
|
+
Insert: {
|
|
8299
|
+
address?: string;
|
|
8300
|
+
chamber_of_commerce_number?: string;
|
|
8301
|
+
city?: string;
|
|
8302
|
+
company_name?: string;
|
|
8303
|
+
created_at?: string;
|
|
8304
|
+
email?: string;
|
|
8305
|
+
email_purpose?: string | null;
|
|
8306
|
+
iban?: string;
|
|
8307
|
+
logo_path?: string | null;
|
|
8308
|
+
payment_term_days?: number;
|
|
8309
|
+
phone?: string;
|
|
8310
|
+
postal_code?: string;
|
|
8311
|
+
primary_color?: string;
|
|
8312
|
+
secondary_color?: string;
|
|
8313
|
+
singleton_key?: boolean;
|
|
8314
|
+
updated_at?: string;
|
|
8315
|
+
vat_identification_number?: string;
|
|
8316
|
+
website?: string;
|
|
8317
|
+
};
|
|
8318
|
+
Update: {
|
|
8319
|
+
address?: string;
|
|
8320
|
+
chamber_of_commerce_number?: string;
|
|
8321
|
+
city?: string;
|
|
8322
|
+
company_name?: string;
|
|
8323
|
+
created_at?: string;
|
|
8324
|
+
email?: string;
|
|
8325
|
+
email_purpose?: string | null;
|
|
8326
|
+
iban?: string;
|
|
8327
|
+
logo_path?: string | null;
|
|
8328
|
+
payment_term_days?: number;
|
|
8329
|
+
phone?: string;
|
|
8330
|
+
postal_code?: string;
|
|
8331
|
+
primary_color?: string;
|
|
8332
|
+
secondary_color?: string;
|
|
8333
|
+
singleton_key?: boolean;
|
|
8334
|
+
updated_at?: string;
|
|
8335
|
+
vat_identification_number?: string;
|
|
8336
|
+
website?: string;
|
|
8337
|
+
};
|
|
8338
|
+
Relationships: [];
|
|
8339
|
+
};
|
|
8277
8340
|
invoice_items: {
|
|
8278
8341
|
Row: {
|
|
8279
8342
|
created_at: string;
|
|
@@ -8287,6 +8350,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8287
8350
|
total_cents: number;
|
|
8288
8351
|
unit: string;
|
|
8289
8352
|
unit_price_cents: number;
|
|
8353
|
+
vat_rate: number | null;
|
|
8290
8354
|
};
|
|
8291
8355
|
Insert: {
|
|
8292
8356
|
created_at?: string;
|
|
@@ -8300,6 +8364,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8300
8364
|
total_cents?: number;
|
|
8301
8365
|
unit?: string;
|
|
8302
8366
|
unit_price_cents?: number;
|
|
8367
|
+
vat_rate?: number | null;
|
|
8303
8368
|
};
|
|
8304
8369
|
Update: {
|
|
8305
8370
|
created_at?: string;
|
|
@@ -8313,6 +8378,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8313
8378
|
total_cents?: number;
|
|
8314
8379
|
unit?: string;
|
|
8315
8380
|
unit_price_cents?: number;
|
|
8381
|
+
vat_rate?: number | null;
|
|
8316
8382
|
};
|
|
8317
8383
|
Relationships: [{
|
|
8318
8384
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8558,6 +8624,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8558
8624
|
};
|
|
8559
8625
|
invoices: {
|
|
8560
8626
|
Row: {
|
|
8627
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
8561
8628
|
created_at: string;
|
|
8562
8629
|
created_by: string | null;
|
|
8563
8630
|
customer_address: string | null;
|
|
@@ -8576,6 +8643,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8576
8643
|
note: string | null;
|
|
8577
8644
|
payment_term_days: number;
|
|
8578
8645
|
reference: string | null;
|
|
8646
|
+
sent_at: string | null;
|
|
8647
|
+
sent_to: string | null;
|
|
8579
8648
|
source_number: string | null;
|
|
8580
8649
|
source_ref: string | null;
|
|
8581
8650
|
source_type: string;
|
|
@@ -8588,6 +8657,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8588
8657
|
work_address: string | null;
|
|
8589
8658
|
};
|
|
8590
8659
|
Insert: {
|
|
8660
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8591
8661
|
created_at?: string;
|
|
8592
8662
|
created_by?: string | null;
|
|
8593
8663
|
customer_address?: string | null;
|
|
@@ -8606,6 +8676,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8606
8676
|
note?: string | null;
|
|
8607
8677
|
payment_term_days?: number;
|
|
8608
8678
|
reference?: string | null;
|
|
8679
|
+
sent_at?: string | null;
|
|
8680
|
+
sent_to?: string | null;
|
|
8609
8681
|
source_number?: string | null;
|
|
8610
8682
|
source_ref?: string | null;
|
|
8611
8683
|
source_type?: string;
|
|
@@ -8618,6 +8690,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8618
8690
|
work_address?: string | null;
|
|
8619
8691
|
};
|
|
8620
8692
|
Update: {
|
|
8693
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
8621
8694
|
created_at?: string;
|
|
8622
8695
|
created_by?: string | null;
|
|
8623
8696
|
customer_address?: string | null;
|
|
@@ -8636,6 +8709,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8636
8709
|
note?: string | null;
|
|
8637
8710
|
payment_term_days?: number;
|
|
8638
8711
|
reference?: string | null;
|
|
8712
|
+
sent_at?: string | null;
|
|
8713
|
+
sent_to?: string | null;
|
|
8639
8714
|
source_number?: string | null;
|
|
8640
8715
|
source_ref?: string | null;
|
|
8641
8716
|
source_type?: string;
|
|
@@ -9344,6 +9419,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9344
9419
|
quantity: number;
|
|
9345
9420
|
sort_order: number;
|
|
9346
9421
|
source: string;
|
|
9422
|
+
unit: string | null;
|
|
9347
9423
|
unit_price_cents: number;
|
|
9348
9424
|
updated_at: string;
|
|
9349
9425
|
};
|
|
@@ -9357,6 +9433,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9357
9433
|
quantity?: number;
|
|
9358
9434
|
sort_order?: number;
|
|
9359
9435
|
source?: string;
|
|
9436
|
+
unit?: string | null;
|
|
9360
9437
|
unit_price_cents?: number;
|
|
9361
9438
|
updated_at?: string;
|
|
9362
9439
|
};
|
|
@@ -9370,6 +9447,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9370
9447
|
quantity?: number;
|
|
9371
9448
|
sort_order?: number;
|
|
9372
9449
|
source?: string;
|
|
9450
|
+
unit?: string | null;
|
|
9373
9451
|
unit_price_cents?: number;
|
|
9374
9452
|
updated_at?: string;
|
|
9375
9453
|
};
|
|
@@ -9393,6 +9471,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9393
9471
|
created_at: string;
|
|
9394
9472
|
default_geldigheid_dagen: number;
|
|
9395
9473
|
default_vat_rate: number;
|
|
9474
|
+
email_purpose: string | null;
|
|
9396
9475
|
id: string;
|
|
9397
9476
|
singleton: boolean;
|
|
9398
9477
|
updated_at: string;
|
|
@@ -9402,6 +9481,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9402
9481
|
created_at?: string;
|
|
9403
9482
|
default_geldigheid_dagen?: number;
|
|
9404
9483
|
default_vat_rate?: number;
|
|
9484
|
+
email_purpose?: string | null;
|
|
9405
9485
|
id?: string;
|
|
9406
9486
|
singleton?: boolean;
|
|
9407
9487
|
updated_at?: string;
|
|
@@ -9411,6 +9491,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9411
9491
|
created_at?: string;
|
|
9412
9492
|
default_geldigheid_dagen?: number;
|
|
9413
9493
|
default_vat_rate?: number;
|
|
9494
|
+
email_purpose?: string | null;
|
|
9414
9495
|
id?: string;
|
|
9415
9496
|
singleton?: boolean;
|
|
9416
9497
|
updated_at?: string;
|
|
@@ -9503,6 +9584,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9503
9584
|
};
|
|
9504
9585
|
itk_offertes: {
|
|
9505
9586
|
Row: {
|
|
9587
|
+
aandachtspunten: string | null;
|
|
9506
9588
|
ai_generated: boolean;
|
|
9507
9589
|
approved_at: string | null;
|
|
9508
9590
|
binnen_mandaat: boolean;
|
|
@@ -9518,6 +9600,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9518
9600
|
notities: string | null;
|
|
9519
9601
|
offerte_number: string | null;
|
|
9520
9602
|
omschrijving: string;
|
|
9603
|
+
onderwerp: string | null;
|
|
9521
9604
|
rejected_at: string | null;
|
|
9522
9605
|
sent_at: string | null;
|
|
9523
9606
|
source_number: string | null;
|
|
@@ -9530,12 +9613,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9530
9613
|
valid_until: string | null;
|
|
9531
9614
|
vat_cents: number;
|
|
9532
9615
|
vat_rate: number;
|
|
9616
|
+
verzonden_naar: string | null;
|
|
9533
9617
|
viewed_at: string | null;
|
|
9534
9618
|
volgnummer: number | null;
|
|
9619
|
+
voorwaarden: string | null;
|
|
9535
9620
|
werkbon_id: string | null;
|
|
9536
9621
|
work_location_id: string | null;
|
|
9537
9622
|
};
|
|
9538
9623
|
Insert: {
|
|
9624
|
+
aandachtspunten?: string | null;
|
|
9539
9625
|
ai_generated?: boolean;
|
|
9540
9626
|
approved_at?: string | null;
|
|
9541
9627
|
binnen_mandaat?: boolean;
|
|
@@ -9551,6 +9637,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9551
9637
|
notities?: string | null;
|
|
9552
9638
|
offerte_number?: string | null;
|
|
9553
9639
|
omschrijving?: string;
|
|
9640
|
+
onderwerp?: string | null;
|
|
9554
9641
|
rejected_at?: string | null;
|
|
9555
9642
|
sent_at?: string | null;
|
|
9556
9643
|
source_number?: string | null;
|
|
@@ -9563,12 +9650,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9563
9650
|
valid_until?: string | null;
|
|
9564
9651
|
vat_cents?: number;
|
|
9565
9652
|
vat_rate?: number;
|
|
9653
|
+
verzonden_naar?: string | null;
|
|
9566
9654
|
viewed_at?: string | null;
|
|
9567
9655
|
volgnummer?: number | null;
|
|
9656
|
+
voorwaarden?: string | null;
|
|
9568
9657
|
werkbon_id?: string | null;
|
|
9569
9658
|
work_location_id?: string | null;
|
|
9570
9659
|
};
|
|
9571
9660
|
Update: {
|
|
9661
|
+
aandachtspunten?: string | null;
|
|
9572
9662
|
ai_generated?: boolean;
|
|
9573
9663
|
approved_at?: string | null;
|
|
9574
9664
|
binnen_mandaat?: boolean;
|
|
@@ -9584,6 +9674,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9584
9674
|
notities?: string | null;
|
|
9585
9675
|
offerte_number?: string | null;
|
|
9586
9676
|
omschrijving?: string;
|
|
9677
|
+
onderwerp?: string | null;
|
|
9587
9678
|
rejected_at?: string | null;
|
|
9588
9679
|
sent_at?: string | null;
|
|
9589
9680
|
source_number?: string | null;
|
|
@@ -9596,8 +9687,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9596
9687
|
valid_until?: string | null;
|
|
9597
9688
|
vat_cents?: number;
|
|
9598
9689
|
vat_rate?: number;
|
|
9690
|
+
verzonden_naar?: string | null;
|
|
9599
9691
|
viewed_at?: string | null;
|
|
9600
9692
|
volgnummer?: number | null;
|
|
9693
|
+
voorwaarden?: string | null;
|
|
9601
9694
|
werkbon_id?: string | null;
|
|
9602
9695
|
work_location_id?: string | null;
|
|
9603
9696
|
};
|
|
@@ -21675,6 +21768,51 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
21675
21768
|
referencedColumns: ["id"];
|
|
21676
21769
|
}];
|
|
21677
21770
|
};
|
|
21771
|
+
vakantie_uitbetalingen: {
|
|
21772
|
+
Row: {
|
|
21773
|
+
created_at: string;
|
|
21774
|
+
created_by: string | null;
|
|
21775
|
+
days: number;
|
|
21776
|
+
id: string;
|
|
21777
|
+
note: string | null;
|
|
21778
|
+
updated_at: string;
|
|
21779
|
+
user_id: string;
|
|
21780
|
+
year: number;
|
|
21781
|
+
};
|
|
21782
|
+
Insert: {
|
|
21783
|
+
created_at?: string;
|
|
21784
|
+
created_by?: string | null;
|
|
21785
|
+
days: number;
|
|
21786
|
+
id?: string;
|
|
21787
|
+
note?: string | null;
|
|
21788
|
+
updated_at?: string;
|
|
21789
|
+
user_id: string;
|
|
21790
|
+
year?: number;
|
|
21791
|
+
};
|
|
21792
|
+
Update: {
|
|
21793
|
+
created_at?: string;
|
|
21794
|
+
created_by?: string | null;
|
|
21795
|
+
days?: number;
|
|
21796
|
+
id?: string;
|
|
21797
|
+
note?: string | null;
|
|
21798
|
+
updated_at?: string;
|
|
21799
|
+
user_id?: string;
|
|
21800
|
+
year?: number;
|
|
21801
|
+
};
|
|
21802
|
+
Relationships: [{
|
|
21803
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
21804
|
+
columns: ["created_by"];
|
|
21805
|
+
isOneToOne: false;
|
|
21806
|
+
referencedRelation: "profiles";
|
|
21807
|
+
referencedColumns: ["id"];
|
|
21808
|
+
}, {
|
|
21809
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
21810
|
+
columns: ["user_id"];
|
|
21811
|
+
isOneToOne: false;
|
|
21812
|
+
referencedRelation: "profiles";
|
|
21813
|
+
referencedColumns: ["id"];
|
|
21814
|
+
}];
|
|
21815
|
+
};
|
|
21678
21816
|
van_inventories: {
|
|
21679
21817
|
Row: {
|
|
21680
21818
|
barcode: string | null;
|
|
@@ -22959,6 +23097,78 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22959
23097
|
referencedColumns: ["id"];
|
|
22960
23098
|
}];
|
|
22961
23099
|
};
|
|
23100
|
+
werkbon_voorstellen: {
|
|
23101
|
+
Row: {
|
|
23102
|
+
bron_werkbon_id: string;
|
|
23103
|
+
budget_mandate_cents: number;
|
|
23104
|
+
created_at: string;
|
|
23105
|
+
created_by: string;
|
|
23106
|
+
customer_id: string | null;
|
|
23107
|
+
id: string;
|
|
23108
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23109
|
+
reden: string | null;
|
|
23110
|
+
status: string;
|
|
23111
|
+
updated_at: string;
|
|
23112
|
+
verwerkt_door: string | null;
|
|
23113
|
+
verwerkt_op: string | null;
|
|
23114
|
+
werkbon_id: string | null;
|
|
23115
|
+
};
|
|
23116
|
+
Insert: {
|
|
23117
|
+
bron_werkbon_id: string;
|
|
23118
|
+
budget_mandate_cents?: number;
|
|
23119
|
+
created_at?: string;
|
|
23120
|
+
created_by?: string;
|
|
23121
|
+
customer_id?: string | null;
|
|
23122
|
+
id?: string;
|
|
23123
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23124
|
+
reden?: string | null;
|
|
23125
|
+
status?: string;
|
|
23126
|
+
updated_at?: string;
|
|
23127
|
+
verwerkt_door?: string | null;
|
|
23128
|
+
verwerkt_op?: string | null;
|
|
23129
|
+
werkbon_id?: string | null;
|
|
23130
|
+
};
|
|
23131
|
+
Update: {
|
|
23132
|
+
bron_werkbon_id?: string;
|
|
23133
|
+
budget_mandate_cents?: number;
|
|
23134
|
+
created_at?: string;
|
|
23135
|
+
created_by?: string;
|
|
23136
|
+
customer_id?: string | null;
|
|
23137
|
+
id?: string;
|
|
23138
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
23139
|
+
reden?: string | null;
|
|
23140
|
+
status?: string;
|
|
23141
|
+
updated_at?: string;
|
|
23142
|
+
verwerkt_door?: string | null;
|
|
23143
|
+
verwerkt_op?: string | null;
|
|
23144
|
+
werkbon_id?: string | null;
|
|
23145
|
+
};
|
|
23146
|
+
Relationships: [{
|
|
23147
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23148
|
+
columns: ["bron_werkbon_id"];
|
|
23149
|
+
isOneToOne: false;
|
|
23150
|
+
referencedRelation: "werkbonnen";
|
|
23151
|
+
referencedColumns: ["id"];
|
|
23152
|
+
}, {
|
|
23153
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23154
|
+
columns: ["bron_werkbon_id"];
|
|
23155
|
+
isOneToOne: false;
|
|
23156
|
+
referencedRelation: "wo_overview";
|
|
23157
|
+
referencedColumns: ["id"];
|
|
23158
|
+
}, {
|
|
23159
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23160
|
+
columns: ["werkbon_id"];
|
|
23161
|
+
isOneToOne: false;
|
|
23162
|
+
referencedRelation: "werkbonnen";
|
|
23163
|
+
referencedColumns: ["id"];
|
|
23164
|
+
}, {
|
|
23165
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23166
|
+
columns: ["werkbon_id"];
|
|
23167
|
+
isOneToOne: false;
|
|
23168
|
+
referencedRelation: "wo_overview";
|
|
23169
|
+
referencedColumns: ["id"];
|
|
23170
|
+
}];
|
|
23171
|
+
};
|
|
22962
23172
|
werkbonnen: {
|
|
22963
23173
|
Row: {
|
|
22964
23174
|
assigned_user_id: string | null;
|
|
@@ -24199,6 +24409,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24199
24409
|
};
|
|
24200
24410
|
Returns: undefined;
|
|
24201
24411
|
};
|
|
24412
|
+
_wo_is_planner: {
|
|
24413
|
+
Args: never;
|
|
24414
|
+
Returns: boolean;
|
|
24415
|
+
};
|
|
24202
24416
|
afh_city_code: {
|
|
24203
24417
|
Args: {
|
|
24204
24418
|
_city: string;
|
|
@@ -25311,6 +25525,22 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25311
25525
|
};
|
|
25312
25526
|
Returns: number;
|
|
25313
25527
|
};
|
|
25528
|
+
get_product_stock: {
|
|
25529
|
+
Args: {
|
|
25530
|
+
p_product_id: string;
|
|
25531
|
+
};
|
|
25532
|
+
Returns: {
|
|
25533
|
+
connection_id: string;
|
|
25534
|
+
incoming_stock: number;
|
|
25535
|
+
minimum_stock: number;
|
|
25536
|
+
notes: string;
|
|
25537
|
+
physical_stock: number;
|
|
25538
|
+
product_id: string;
|
|
25539
|
+
reserved_stock: number;
|
|
25540
|
+
trade_item_key: string;
|
|
25541
|
+
updated_at: string;
|
|
25542
|
+
}[];
|
|
25543
|
+
};
|
|
25314
25544
|
get_room_busy_windows: {
|
|
25315
25545
|
Args: {
|
|
25316
25546
|
p_from: string;
|
|
@@ -25648,6 +25878,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25648
25878
|
};
|
|
25649
25879
|
Returns: number;
|
|
25650
25880
|
};
|
|
25881
|
+
invoice_branding_snapshot: {
|
|
25882
|
+
Args: never;
|
|
25883
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25884
|
+
};
|
|
25651
25885
|
invoice_create_from_source: {
|
|
25652
25886
|
Args: {
|
|
25653
25887
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25682,6 +25916,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25682
25916
|
};
|
|
25683
25917
|
Returns: import("../integrations/supabase/types").Json;
|
|
25684
25918
|
};
|
|
25919
|
+
invoice_mark_sent: {
|
|
25920
|
+
Args: {
|
|
25921
|
+
_invoice_id: string;
|
|
25922
|
+
_to: string;
|
|
25923
|
+
};
|
|
25924
|
+
Returns: undefined;
|
|
25925
|
+
};
|
|
25926
|
+
invoice_peek_next_number: {
|
|
25927
|
+
Args: never;
|
|
25928
|
+
Returns: string;
|
|
25929
|
+
};
|
|
25685
25930
|
invoice_ready_work_orders: {
|
|
25686
25931
|
Args: {
|
|
25687
25932
|
_limit?: number;
|
|
@@ -25694,6 +25939,18 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25694
25939
|
};
|
|
25695
25940
|
Returns: import("../integrations/supabase/types").Json;
|
|
25696
25941
|
};
|
|
25942
|
+
invoice_save_branding_settings: {
|
|
25943
|
+
Args: {
|
|
25944
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
25945
|
+
};
|
|
25946
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25947
|
+
};
|
|
25948
|
+
invoice_set_email_purpose: {
|
|
25949
|
+
Args: {
|
|
25950
|
+
_purpose: string;
|
|
25951
|
+
};
|
|
25952
|
+
Returns: string;
|
|
25953
|
+
};
|
|
25697
25954
|
invoice_source_lines: {
|
|
25698
25955
|
Args: {
|
|
25699
25956
|
_source_id: string;
|
|
@@ -25701,6 +25958,19 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25701
25958
|
};
|
|
25702
25959
|
Returns: import("../integrations/supabase/types").Json;
|
|
25703
25960
|
};
|
|
25961
|
+
invoice_update_full: {
|
|
25962
|
+
Args: {
|
|
25963
|
+
_invoice_id: string;
|
|
25964
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
25965
|
+
};
|
|
25966
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25967
|
+
};
|
|
25968
|
+
invoice_work_order_locked: {
|
|
25969
|
+
Args: {
|
|
25970
|
+
_werkbon_id: string;
|
|
25971
|
+
};
|
|
25972
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25973
|
+
};
|
|
25704
25974
|
is_authenticated: {
|
|
25705
25975
|
Args: never;
|
|
25706
25976
|
Returns: boolean;
|
|
@@ -29000,6 +29270,19 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
29000
29270
|
};
|
|
29001
29271
|
Returns: boolean;
|
|
29002
29272
|
};
|
|
29273
|
+
quote_assign_number: {
|
|
29274
|
+
Args: {
|
|
29275
|
+
_offerte_id: string;
|
|
29276
|
+
};
|
|
29277
|
+
Returns: string;
|
|
29278
|
+
};
|
|
29279
|
+
quote_create_follow_up_now: {
|
|
29280
|
+
Args: {
|
|
29281
|
+
_offerte_id: string;
|
|
29282
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
29283
|
+
};
|
|
29284
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29285
|
+
};
|
|
29003
29286
|
quote_create_from_source: {
|
|
29004
29287
|
Args: {
|
|
29005
29288
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29713,6 +29996,26 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
29713
29996
|
};
|
|
29714
29997
|
Returns: undefined;
|
|
29715
29998
|
};
|
|
29999
|
+
set_product_stock: {
|
|
30000
|
+
Args: {
|
|
30001
|
+
p_incoming_stock?: number;
|
|
30002
|
+
p_minimum_stock?: number;
|
|
30003
|
+
p_notes?: string;
|
|
30004
|
+
p_physical_stock: number;
|
|
30005
|
+
p_product_id: string;
|
|
30006
|
+
};
|
|
30007
|
+
Returns: {
|
|
30008
|
+
connection_id: string;
|
|
30009
|
+
incoming_stock: number;
|
|
30010
|
+
minimum_stock: number;
|
|
30011
|
+
notes: string;
|
|
30012
|
+
physical_stock: number;
|
|
30013
|
+
product_id: string;
|
|
30014
|
+
reserved_stock: number;
|
|
30015
|
+
trade_item_key: string;
|
|
30016
|
+
updated_at: string;
|
|
30017
|
+
}[];
|
|
30018
|
+
};
|
|
29716
30019
|
show_limit: {
|
|
29717
30020
|
Args: never;
|
|
29718
30021
|
Returns: number;
|
|
@@ -30237,6 +30540,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
30237
30540
|
};
|
|
30238
30541
|
Returns: number;
|
|
30239
30542
|
};
|
|
30543
|
+
vakantie_overuren: {
|
|
30544
|
+
Args: {
|
|
30545
|
+
_user_id: string;
|
|
30546
|
+
_year?: number;
|
|
30547
|
+
};
|
|
30548
|
+
Returns: number;
|
|
30549
|
+
};
|
|
30240
30550
|
vakantie_saldo: {
|
|
30241
30551
|
Args: {
|
|
30242
30552
|
_user_id: string;
|
|
@@ -30244,7 +30554,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
30244
30554
|
};
|
|
30245
30555
|
Returns: {
|
|
30246
30556
|
day_hours: number;
|
|
30557
|
+
earned_from_overtime_days: number;
|
|
30247
30558
|
entitlement_days: number;
|
|
30559
|
+
hours_to_next_day: number;
|
|
30560
|
+
overtime_hours: number;
|
|
30561
|
+
overtime_remainder_hours: number;
|
|
30562
|
+
paid_out_days: number;
|
|
30248
30563
|
remaining_days: number;
|
|
30249
30564
|
used_days: number;
|
|
30250
30565
|
}[];
|
|
@@ -30255,7 +30570,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
30255
30570
|
};
|
|
30256
30571
|
Returns: {
|
|
30257
30572
|
day_hours: number;
|
|
30573
|
+
earned_from_overtime_days: number;
|
|
30258
30574
|
entitlement_days: number;
|
|
30575
|
+
hours_to_next_day: number;
|
|
30576
|
+
overtime_hours: number;
|
|
30577
|
+
overtime_remainder_hours: number;
|
|
30578
|
+
paid_out_days: number;
|
|
30259
30579
|
remaining_days: number;
|
|
30260
30580
|
used_days: number;
|
|
30261
30581
|
user_id: string;
|
|
@@ -30309,12 +30629,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
30309
30629
|
};
|
|
30310
30630
|
Returns: import("../integrations/supabase/types").Json;
|
|
30311
30631
|
};
|
|
30632
|
+
wo_list_proposals: {
|
|
30633
|
+
Args: {
|
|
30634
|
+
_status?: string;
|
|
30635
|
+
};
|
|
30636
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30637
|
+
};
|
|
30312
30638
|
wo_process_offerte_request: {
|
|
30313
30639
|
Args: {
|
|
30314
30640
|
_queue_id: string;
|
|
30315
30641
|
};
|
|
30316
30642
|
Returns: import("../integrations/supabase/types").Json;
|
|
30317
30643
|
};
|
|
30644
|
+
wo_process_proposal: {
|
|
30645
|
+
Args: {
|
|
30646
|
+
_id: string;
|
|
30647
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
30648
|
+
};
|
|
30649
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30650
|
+
};
|
|
30318
30651
|
wo_reject_offerte_request: {
|
|
30319
30652
|
Args: {
|
|
30320
30653
|
_queue_id: string;
|
|
@@ -30322,6 +30655,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
30322
30655
|
};
|
|
30323
30656
|
Returns: import("../integrations/supabase/types").Json;
|
|
30324
30657
|
};
|
|
30658
|
+
wo_reject_proposal: {
|
|
30659
|
+
Args: {
|
|
30660
|
+
_id: string;
|
|
30661
|
+
_reden?: string;
|
|
30662
|
+
};
|
|
30663
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30664
|
+
};
|
|
30325
30665
|
wo_set_status: {
|
|
30326
30666
|
Args: {
|
|
30327
30667
|
_reason?: string;
|
|
@@ -38618,6 +38958,69 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38618
38958
|
};
|
|
38619
38959
|
Relationships: [];
|
|
38620
38960
|
};
|
|
38961
|
+
invoice_branding_settings: {
|
|
38962
|
+
Row: {
|
|
38963
|
+
address: string;
|
|
38964
|
+
chamber_of_commerce_number: string;
|
|
38965
|
+
city: string;
|
|
38966
|
+
company_name: string;
|
|
38967
|
+
created_at: string;
|
|
38968
|
+
email: string;
|
|
38969
|
+
email_purpose: string | null;
|
|
38970
|
+
iban: string;
|
|
38971
|
+
logo_path: string | null;
|
|
38972
|
+
payment_term_days: number;
|
|
38973
|
+
phone: string;
|
|
38974
|
+
postal_code: string;
|
|
38975
|
+
primary_color: string;
|
|
38976
|
+
secondary_color: string;
|
|
38977
|
+
singleton_key: boolean;
|
|
38978
|
+
updated_at: string;
|
|
38979
|
+
vat_identification_number: string;
|
|
38980
|
+
website: string;
|
|
38981
|
+
};
|
|
38982
|
+
Insert: {
|
|
38983
|
+
address?: string;
|
|
38984
|
+
chamber_of_commerce_number?: string;
|
|
38985
|
+
city?: string;
|
|
38986
|
+
company_name?: string;
|
|
38987
|
+
created_at?: string;
|
|
38988
|
+
email?: string;
|
|
38989
|
+
email_purpose?: string | null;
|
|
38990
|
+
iban?: string;
|
|
38991
|
+
logo_path?: string | null;
|
|
38992
|
+
payment_term_days?: number;
|
|
38993
|
+
phone?: string;
|
|
38994
|
+
postal_code?: string;
|
|
38995
|
+
primary_color?: string;
|
|
38996
|
+
secondary_color?: string;
|
|
38997
|
+
singleton_key?: boolean;
|
|
38998
|
+
updated_at?: string;
|
|
38999
|
+
vat_identification_number?: string;
|
|
39000
|
+
website?: string;
|
|
39001
|
+
};
|
|
39002
|
+
Update: {
|
|
39003
|
+
address?: string;
|
|
39004
|
+
chamber_of_commerce_number?: string;
|
|
39005
|
+
city?: string;
|
|
39006
|
+
company_name?: string;
|
|
39007
|
+
created_at?: string;
|
|
39008
|
+
email?: string;
|
|
39009
|
+
email_purpose?: string | null;
|
|
39010
|
+
iban?: string;
|
|
39011
|
+
logo_path?: string | null;
|
|
39012
|
+
payment_term_days?: number;
|
|
39013
|
+
phone?: string;
|
|
39014
|
+
postal_code?: string;
|
|
39015
|
+
primary_color?: string;
|
|
39016
|
+
secondary_color?: string;
|
|
39017
|
+
singleton_key?: boolean;
|
|
39018
|
+
updated_at?: string;
|
|
39019
|
+
vat_identification_number?: string;
|
|
39020
|
+
website?: string;
|
|
39021
|
+
};
|
|
39022
|
+
Relationships: [];
|
|
39023
|
+
};
|
|
38621
39024
|
invoice_items: {
|
|
38622
39025
|
Row: {
|
|
38623
39026
|
created_at: string;
|
|
@@ -38631,6 +39034,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38631
39034
|
total_cents: number;
|
|
38632
39035
|
unit: string;
|
|
38633
39036
|
unit_price_cents: number;
|
|
39037
|
+
vat_rate: number | null;
|
|
38634
39038
|
};
|
|
38635
39039
|
Insert: {
|
|
38636
39040
|
created_at?: string;
|
|
@@ -38644,6 +39048,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38644
39048
|
total_cents?: number;
|
|
38645
39049
|
unit?: string;
|
|
38646
39050
|
unit_price_cents?: number;
|
|
39051
|
+
vat_rate?: number | null;
|
|
38647
39052
|
};
|
|
38648
39053
|
Update: {
|
|
38649
39054
|
created_at?: string;
|
|
@@ -38657,6 +39062,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38657
39062
|
total_cents?: number;
|
|
38658
39063
|
unit?: string;
|
|
38659
39064
|
unit_price_cents?: number;
|
|
39065
|
+
vat_rate?: number | null;
|
|
38660
39066
|
};
|
|
38661
39067
|
Relationships: [{
|
|
38662
39068
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -38902,6 +39308,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38902
39308
|
};
|
|
38903
39309
|
invoices: {
|
|
38904
39310
|
Row: {
|
|
39311
|
+
branding_snapshot: import("../integrations/supabase/types").Json | null;
|
|
38905
39312
|
created_at: string;
|
|
38906
39313
|
created_by: string | null;
|
|
38907
39314
|
customer_address: string | null;
|
|
@@ -38920,6 +39327,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38920
39327
|
note: string | null;
|
|
38921
39328
|
payment_term_days: number;
|
|
38922
39329
|
reference: string | null;
|
|
39330
|
+
sent_at: string | null;
|
|
39331
|
+
sent_to: string | null;
|
|
38923
39332
|
source_number: string | null;
|
|
38924
39333
|
source_ref: string | null;
|
|
38925
39334
|
source_type: string;
|
|
@@ -38932,6 +39341,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38932
39341
|
work_address: string | null;
|
|
38933
39342
|
};
|
|
38934
39343
|
Insert: {
|
|
39344
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38935
39345
|
created_at?: string;
|
|
38936
39346
|
created_by?: string | null;
|
|
38937
39347
|
customer_address?: string | null;
|
|
@@ -38950,6 +39360,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38950
39360
|
note?: string | null;
|
|
38951
39361
|
payment_term_days?: number;
|
|
38952
39362
|
reference?: string | null;
|
|
39363
|
+
sent_at?: string | null;
|
|
39364
|
+
sent_to?: string | null;
|
|
38953
39365
|
source_number?: string | null;
|
|
38954
39366
|
source_ref?: string | null;
|
|
38955
39367
|
source_type?: string;
|
|
@@ -38962,6 +39374,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38962
39374
|
work_address?: string | null;
|
|
38963
39375
|
};
|
|
38964
39376
|
Update: {
|
|
39377
|
+
branding_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
38965
39378
|
created_at?: string;
|
|
38966
39379
|
created_by?: string | null;
|
|
38967
39380
|
customer_address?: string | null;
|
|
@@ -38980,6 +39393,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
38980
39393
|
note?: string | null;
|
|
38981
39394
|
payment_term_days?: number;
|
|
38982
39395
|
reference?: string | null;
|
|
39396
|
+
sent_at?: string | null;
|
|
39397
|
+
sent_to?: string | null;
|
|
38983
39398
|
source_number?: string | null;
|
|
38984
39399
|
source_ref?: string | null;
|
|
38985
39400
|
source_type?: string;
|
|
@@ -39688,6 +40103,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39688
40103
|
quantity: number;
|
|
39689
40104
|
sort_order: number;
|
|
39690
40105
|
source: string;
|
|
40106
|
+
unit: string | null;
|
|
39691
40107
|
unit_price_cents: number;
|
|
39692
40108
|
updated_at: string;
|
|
39693
40109
|
};
|
|
@@ -39701,6 +40117,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39701
40117
|
quantity?: number;
|
|
39702
40118
|
sort_order?: number;
|
|
39703
40119
|
source?: string;
|
|
40120
|
+
unit?: string | null;
|
|
39704
40121
|
unit_price_cents?: number;
|
|
39705
40122
|
updated_at?: string;
|
|
39706
40123
|
};
|
|
@@ -39714,6 +40131,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39714
40131
|
quantity?: number;
|
|
39715
40132
|
sort_order?: number;
|
|
39716
40133
|
source?: string;
|
|
40134
|
+
unit?: string | null;
|
|
39717
40135
|
unit_price_cents?: number;
|
|
39718
40136
|
updated_at?: string;
|
|
39719
40137
|
};
|
|
@@ -39737,6 +40155,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39737
40155
|
created_at: string;
|
|
39738
40156
|
default_geldigheid_dagen: number;
|
|
39739
40157
|
default_vat_rate: number;
|
|
40158
|
+
email_purpose: string | null;
|
|
39740
40159
|
id: string;
|
|
39741
40160
|
singleton: boolean;
|
|
39742
40161
|
updated_at: string;
|
|
@@ -39746,6 +40165,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39746
40165
|
created_at?: string;
|
|
39747
40166
|
default_geldigheid_dagen?: number;
|
|
39748
40167
|
default_vat_rate?: number;
|
|
40168
|
+
email_purpose?: string | null;
|
|
39749
40169
|
id?: string;
|
|
39750
40170
|
singleton?: boolean;
|
|
39751
40171
|
updated_at?: string;
|
|
@@ -39755,6 +40175,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39755
40175
|
created_at?: string;
|
|
39756
40176
|
default_geldigheid_dagen?: number;
|
|
39757
40177
|
default_vat_rate?: number;
|
|
40178
|
+
email_purpose?: string | null;
|
|
39758
40179
|
id?: string;
|
|
39759
40180
|
singleton?: boolean;
|
|
39760
40181
|
updated_at?: string;
|
|
@@ -39847,6 +40268,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39847
40268
|
};
|
|
39848
40269
|
itk_offertes: {
|
|
39849
40270
|
Row: {
|
|
40271
|
+
aandachtspunten: string | null;
|
|
39850
40272
|
ai_generated: boolean;
|
|
39851
40273
|
approved_at: string | null;
|
|
39852
40274
|
binnen_mandaat: boolean;
|
|
@@ -39862,6 +40284,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39862
40284
|
notities: string | null;
|
|
39863
40285
|
offerte_number: string | null;
|
|
39864
40286
|
omschrijving: string;
|
|
40287
|
+
onderwerp: string | null;
|
|
39865
40288
|
rejected_at: string | null;
|
|
39866
40289
|
sent_at: string | null;
|
|
39867
40290
|
source_number: string | null;
|
|
@@ -39874,12 +40297,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39874
40297
|
valid_until: string | null;
|
|
39875
40298
|
vat_cents: number;
|
|
39876
40299
|
vat_rate: number;
|
|
40300
|
+
verzonden_naar: string | null;
|
|
39877
40301
|
viewed_at: string | null;
|
|
39878
40302
|
volgnummer: number | null;
|
|
40303
|
+
voorwaarden: string | null;
|
|
39879
40304
|
werkbon_id: string | null;
|
|
39880
40305
|
work_location_id: string | null;
|
|
39881
40306
|
};
|
|
39882
40307
|
Insert: {
|
|
40308
|
+
aandachtspunten?: string | null;
|
|
39883
40309
|
ai_generated?: boolean;
|
|
39884
40310
|
approved_at?: string | null;
|
|
39885
40311
|
binnen_mandaat?: boolean;
|
|
@@ -39895,6 +40321,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39895
40321
|
notities?: string | null;
|
|
39896
40322
|
offerte_number?: string | null;
|
|
39897
40323
|
omschrijving?: string;
|
|
40324
|
+
onderwerp?: string | null;
|
|
39898
40325
|
rejected_at?: string | null;
|
|
39899
40326
|
sent_at?: string | null;
|
|
39900
40327
|
source_number?: string | null;
|
|
@@ -39907,12 +40334,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39907
40334
|
valid_until?: string | null;
|
|
39908
40335
|
vat_cents?: number;
|
|
39909
40336
|
vat_rate?: number;
|
|
40337
|
+
verzonden_naar?: string | null;
|
|
39910
40338
|
viewed_at?: string | null;
|
|
39911
40339
|
volgnummer?: number | null;
|
|
40340
|
+
voorwaarden?: string | null;
|
|
39912
40341
|
werkbon_id?: string | null;
|
|
39913
40342
|
work_location_id?: string | null;
|
|
39914
40343
|
};
|
|
39915
40344
|
Update: {
|
|
40345
|
+
aandachtspunten?: string | null;
|
|
39916
40346
|
ai_generated?: boolean;
|
|
39917
40347
|
approved_at?: string | null;
|
|
39918
40348
|
binnen_mandaat?: boolean;
|
|
@@ -39928,6 +40358,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39928
40358
|
notities?: string | null;
|
|
39929
40359
|
offerte_number?: string | null;
|
|
39930
40360
|
omschrijving?: string;
|
|
40361
|
+
onderwerp?: string | null;
|
|
39931
40362
|
rejected_at?: string | null;
|
|
39932
40363
|
sent_at?: string | null;
|
|
39933
40364
|
source_number?: string | null;
|
|
@@ -39940,8 +40371,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39940
40371
|
valid_until?: string | null;
|
|
39941
40372
|
vat_cents?: number;
|
|
39942
40373
|
vat_rate?: number;
|
|
40374
|
+
verzonden_naar?: string | null;
|
|
39943
40375
|
viewed_at?: string | null;
|
|
39944
40376
|
volgnummer?: number | null;
|
|
40377
|
+
voorwaarden?: string | null;
|
|
39945
40378
|
werkbon_id?: string | null;
|
|
39946
40379
|
work_location_id?: string | null;
|
|
39947
40380
|
};
|
|
@@ -52019,6 +52452,51 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
52019
52452
|
referencedColumns: ["id"];
|
|
52020
52453
|
}];
|
|
52021
52454
|
};
|
|
52455
|
+
vakantie_uitbetalingen: {
|
|
52456
|
+
Row: {
|
|
52457
|
+
created_at: string;
|
|
52458
|
+
created_by: string | null;
|
|
52459
|
+
days: number;
|
|
52460
|
+
id: string;
|
|
52461
|
+
note: string | null;
|
|
52462
|
+
updated_at: string;
|
|
52463
|
+
user_id: string;
|
|
52464
|
+
year: number;
|
|
52465
|
+
};
|
|
52466
|
+
Insert: {
|
|
52467
|
+
created_at?: string;
|
|
52468
|
+
created_by?: string | null;
|
|
52469
|
+
days: number;
|
|
52470
|
+
id?: string;
|
|
52471
|
+
note?: string | null;
|
|
52472
|
+
updated_at?: string;
|
|
52473
|
+
user_id: string;
|
|
52474
|
+
year?: number;
|
|
52475
|
+
};
|
|
52476
|
+
Update: {
|
|
52477
|
+
created_at?: string;
|
|
52478
|
+
created_by?: string | null;
|
|
52479
|
+
days?: number;
|
|
52480
|
+
id?: string;
|
|
52481
|
+
note?: string | null;
|
|
52482
|
+
updated_at?: string;
|
|
52483
|
+
user_id?: string;
|
|
52484
|
+
year?: number;
|
|
52485
|
+
};
|
|
52486
|
+
Relationships: [{
|
|
52487
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
52488
|
+
columns: ["created_by"];
|
|
52489
|
+
isOneToOne: false;
|
|
52490
|
+
referencedRelation: "profiles";
|
|
52491
|
+
referencedColumns: ["id"];
|
|
52492
|
+
}, {
|
|
52493
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
52494
|
+
columns: ["user_id"];
|
|
52495
|
+
isOneToOne: false;
|
|
52496
|
+
referencedRelation: "profiles";
|
|
52497
|
+
referencedColumns: ["id"];
|
|
52498
|
+
}];
|
|
52499
|
+
};
|
|
52022
52500
|
van_inventories: {
|
|
52023
52501
|
Row: {
|
|
52024
52502
|
barcode: string | null;
|
|
@@ -53303,6 +53781,78 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
53303
53781
|
referencedColumns: ["id"];
|
|
53304
53782
|
}];
|
|
53305
53783
|
};
|
|
53784
|
+
werkbon_voorstellen: {
|
|
53785
|
+
Row: {
|
|
53786
|
+
bron_werkbon_id: string;
|
|
53787
|
+
budget_mandate_cents: number;
|
|
53788
|
+
created_at: string;
|
|
53789
|
+
created_by: string;
|
|
53790
|
+
customer_id: string | null;
|
|
53791
|
+
id: string;
|
|
53792
|
+
payload: import("../integrations/supabase/types").Json;
|
|
53793
|
+
reden: string | null;
|
|
53794
|
+
status: string;
|
|
53795
|
+
updated_at: string;
|
|
53796
|
+
verwerkt_door: string | null;
|
|
53797
|
+
verwerkt_op: string | null;
|
|
53798
|
+
werkbon_id: string | null;
|
|
53799
|
+
};
|
|
53800
|
+
Insert: {
|
|
53801
|
+
bron_werkbon_id: string;
|
|
53802
|
+
budget_mandate_cents?: number;
|
|
53803
|
+
created_at?: string;
|
|
53804
|
+
created_by?: string;
|
|
53805
|
+
customer_id?: string | null;
|
|
53806
|
+
id?: string;
|
|
53807
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
53808
|
+
reden?: string | null;
|
|
53809
|
+
status?: string;
|
|
53810
|
+
updated_at?: string;
|
|
53811
|
+
verwerkt_door?: string | null;
|
|
53812
|
+
verwerkt_op?: string | null;
|
|
53813
|
+
werkbon_id?: string | null;
|
|
53814
|
+
};
|
|
53815
|
+
Update: {
|
|
53816
|
+
bron_werkbon_id?: string;
|
|
53817
|
+
budget_mandate_cents?: number;
|
|
53818
|
+
created_at?: string;
|
|
53819
|
+
created_by?: string;
|
|
53820
|
+
customer_id?: string | null;
|
|
53821
|
+
id?: string;
|
|
53822
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
53823
|
+
reden?: string | null;
|
|
53824
|
+
status?: string;
|
|
53825
|
+
updated_at?: string;
|
|
53826
|
+
verwerkt_door?: string | null;
|
|
53827
|
+
verwerkt_op?: string | null;
|
|
53828
|
+
werkbon_id?: string | null;
|
|
53829
|
+
};
|
|
53830
|
+
Relationships: [{
|
|
53831
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
53832
|
+
columns: ["bron_werkbon_id"];
|
|
53833
|
+
isOneToOne: false;
|
|
53834
|
+
referencedRelation: "werkbonnen";
|
|
53835
|
+
referencedColumns: ["id"];
|
|
53836
|
+
}, {
|
|
53837
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
53838
|
+
columns: ["bron_werkbon_id"];
|
|
53839
|
+
isOneToOne: false;
|
|
53840
|
+
referencedRelation: "wo_overview";
|
|
53841
|
+
referencedColumns: ["id"];
|
|
53842
|
+
}, {
|
|
53843
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
53844
|
+
columns: ["werkbon_id"];
|
|
53845
|
+
isOneToOne: false;
|
|
53846
|
+
referencedRelation: "werkbonnen";
|
|
53847
|
+
referencedColumns: ["id"];
|
|
53848
|
+
}, {
|
|
53849
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
53850
|
+
columns: ["werkbon_id"];
|
|
53851
|
+
isOneToOne: false;
|
|
53852
|
+
referencedRelation: "wo_overview";
|
|
53853
|
+
referencedColumns: ["id"];
|
|
53854
|
+
}];
|
|
53855
|
+
};
|
|
53306
53856
|
werkbonnen: {
|
|
53307
53857
|
Row: {
|
|
53308
53858
|
assigned_user_id: string | null;
|
|
@@ -54543,6 +55093,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
54543
55093
|
};
|
|
54544
55094
|
Returns: undefined;
|
|
54545
55095
|
};
|
|
55096
|
+
_wo_is_planner: {
|
|
55097
|
+
Args: never;
|
|
55098
|
+
Returns: boolean;
|
|
55099
|
+
};
|
|
54546
55100
|
afh_city_code: {
|
|
54547
55101
|
Args: {
|
|
54548
55102
|
_city: string;
|
|
@@ -55655,6 +56209,22 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
55655
56209
|
};
|
|
55656
56210
|
Returns: number;
|
|
55657
56211
|
};
|
|
56212
|
+
get_product_stock: {
|
|
56213
|
+
Args: {
|
|
56214
|
+
p_product_id: string;
|
|
56215
|
+
};
|
|
56216
|
+
Returns: {
|
|
56217
|
+
connection_id: string;
|
|
56218
|
+
incoming_stock: number;
|
|
56219
|
+
minimum_stock: number;
|
|
56220
|
+
notes: string;
|
|
56221
|
+
physical_stock: number;
|
|
56222
|
+
product_id: string;
|
|
56223
|
+
reserved_stock: number;
|
|
56224
|
+
trade_item_key: string;
|
|
56225
|
+
updated_at: string;
|
|
56226
|
+
}[];
|
|
56227
|
+
};
|
|
55658
56228
|
get_room_busy_windows: {
|
|
55659
56229
|
Args: {
|
|
55660
56230
|
p_from: string;
|
|
@@ -55992,6 +56562,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
55992
56562
|
};
|
|
55993
56563
|
Returns: number;
|
|
55994
56564
|
};
|
|
56565
|
+
invoice_branding_snapshot: {
|
|
56566
|
+
Args: never;
|
|
56567
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56568
|
+
};
|
|
55995
56569
|
invoice_create_from_source: {
|
|
55996
56570
|
Args: {
|
|
55997
56571
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -56026,6 +56600,17 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
56026
56600
|
};
|
|
56027
56601
|
Returns: import("../integrations/supabase/types").Json;
|
|
56028
56602
|
};
|
|
56603
|
+
invoice_mark_sent: {
|
|
56604
|
+
Args: {
|
|
56605
|
+
_invoice_id: string;
|
|
56606
|
+
_to: string;
|
|
56607
|
+
};
|
|
56608
|
+
Returns: undefined;
|
|
56609
|
+
};
|
|
56610
|
+
invoice_peek_next_number: {
|
|
56611
|
+
Args: never;
|
|
56612
|
+
Returns: string;
|
|
56613
|
+
};
|
|
56029
56614
|
invoice_ready_work_orders: {
|
|
56030
56615
|
Args: {
|
|
56031
56616
|
_limit?: number;
|
|
@@ -56038,6 +56623,18 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
56038
56623
|
};
|
|
56039
56624
|
Returns: import("../integrations/supabase/types").Json;
|
|
56040
56625
|
};
|
|
56626
|
+
invoice_save_branding_settings: {
|
|
56627
|
+
Args: {
|
|
56628
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
56629
|
+
};
|
|
56630
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56631
|
+
};
|
|
56632
|
+
invoice_set_email_purpose: {
|
|
56633
|
+
Args: {
|
|
56634
|
+
_purpose: string;
|
|
56635
|
+
};
|
|
56636
|
+
Returns: string;
|
|
56637
|
+
};
|
|
56041
56638
|
invoice_source_lines: {
|
|
56042
56639
|
Args: {
|
|
56043
56640
|
_source_id: string;
|
|
@@ -56045,6 +56642,19 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
56045
56642
|
};
|
|
56046
56643
|
Returns: import("../integrations/supabase/types").Json;
|
|
56047
56644
|
};
|
|
56645
|
+
invoice_update_full: {
|
|
56646
|
+
Args: {
|
|
56647
|
+
_invoice_id: string;
|
|
56648
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
56649
|
+
};
|
|
56650
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56651
|
+
};
|
|
56652
|
+
invoice_work_order_locked: {
|
|
56653
|
+
Args: {
|
|
56654
|
+
_werkbon_id: string;
|
|
56655
|
+
};
|
|
56656
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
56657
|
+
};
|
|
56048
56658
|
is_authenticated: {
|
|
56049
56659
|
Args: never;
|
|
56050
56660
|
Returns: boolean;
|
|
@@ -59344,6 +59954,19 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
59344
59954
|
};
|
|
59345
59955
|
Returns: boolean;
|
|
59346
59956
|
};
|
|
59957
|
+
quote_assign_number: {
|
|
59958
|
+
Args: {
|
|
59959
|
+
_offerte_id: string;
|
|
59960
|
+
};
|
|
59961
|
+
Returns: string;
|
|
59962
|
+
};
|
|
59963
|
+
quote_create_follow_up_now: {
|
|
59964
|
+
Args: {
|
|
59965
|
+
_offerte_id: string;
|
|
59966
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
59967
|
+
};
|
|
59968
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59969
|
+
};
|
|
59347
59970
|
quote_create_from_source: {
|
|
59348
59971
|
Args: {
|
|
59349
59972
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60057,6 +60680,26 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
60057
60680
|
};
|
|
60058
60681
|
Returns: undefined;
|
|
60059
60682
|
};
|
|
60683
|
+
set_product_stock: {
|
|
60684
|
+
Args: {
|
|
60685
|
+
p_incoming_stock?: number;
|
|
60686
|
+
p_minimum_stock?: number;
|
|
60687
|
+
p_notes?: string;
|
|
60688
|
+
p_physical_stock: number;
|
|
60689
|
+
p_product_id: string;
|
|
60690
|
+
};
|
|
60691
|
+
Returns: {
|
|
60692
|
+
connection_id: string;
|
|
60693
|
+
incoming_stock: number;
|
|
60694
|
+
minimum_stock: number;
|
|
60695
|
+
notes: string;
|
|
60696
|
+
physical_stock: number;
|
|
60697
|
+
product_id: string;
|
|
60698
|
+
reserved_stock: number;
|
|
60699
|
+
trade_item_key: string;
|
|
60700
|
+
updated_at: string;
|
|
60701
|
+
}[];
|
|
60702
|
+
};
|
|
60060
60703
|
show_limit: {
|
|
60061
60704
|
Args: never;
|
|
60062
60705
|
Returns: number;
|
|
@@ -60581,6 +61224,13 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
60581
61224
|
};
|
|
60582
61225
|
Returns: number;
|
|
60583
61226
|
};
|
|
61227
|
+
vakantie_overuren: {
|
|
61228
|
+
Args: {
|
|
61229
|
+
_user_id: string;
|
|
61230
|
+
_year?: number;
|
|
61231
|
+
};
|
|
61232
|
+
Returns: number;
|
|
61233
|
+
};
|
|
60584
61234
|
vakantie_saldo: {
|
|
60585
61235
|
Args: {
|
|
60586
61236
|
_user_id: string;
|
|
@@ -60588,7 +61238,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
60588
61238
|
};
|
|
60589
61239
|
Returns: {
|
|
60590
61240
|
day_hours: number;
|
|
61241
|
+
earned_from_overtime_days: number;
|
|
60591
61242
|
entitlement_days: number;
|
|
61243
|
+
hours_to_next_day: number;
|
|
61244
|
+
overtime_hours: number;
|
|
61245
|
+
overtime_remainder_hours: number;
|
|
61246
|
+
paid_out_days: number;
|
|
60592
61247
|
remaining_days: number;
|
|
60593
61248
|
used_days: number;
|
|
60594
61249
|
}[];
|
|
@@ -60599,7 +61254,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
60599
61254
|
};
|
|
60600
61255
|
Returns: {
|
|
60601
61256
|
day_hours: number;
|
|
61257
|
+
earned_from_overtime_days: number;
|
|
60602
61258
|
entitlement_days: number;
|
|
61259
|
+
hours_to_next_day: number;
|
|
61260
|
+
overtime_hours: number;
|
|
61261
|
+
overtime_remainder_hours: number;
|
|
61262
|
+
paid_out_days: number;
|
|
60603
61263
|
remaining_days: number;
|
|
60604
61264
|
used_days: number;
|
|
60605
61265
|
user_id: string;
|
|
@@ -60653,12 +61313,25 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
60653
61313
|
};
|
|
60654
61314
|
Returns: import("../integrations/supabase/types").Json;
|
|
60655
61315
|
};
|
|
61316
|
+
wo_list_proposals: {
|
|
61317
|
+
Args: {
|
|
61318
|
+
_status?: string;
|
|
61319
|
+
};
|
|
61320
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61321
|
+
};
|
|
60656
61322
|
wo_process_offerte_request: {
|
|
60657
61323
|
Args: {
|
|
60658
61324
|
_queue_id: string;
|
|
60659
61325
|
};
|
|
60660
61326
|
Returns: import("../integrations/supabase/types").Json;
|
|
60661
61327
|
};
|
|
61328
|
+
wo_process_proposal: {
|
|
61329
|
+
Args: {
|
|
61330
|
+
_id: string;
|
|
61331
|
+
_overrides?: import("../integrations/supabase/types").Json;
|
|
61332
|
+
};
|
|
61333
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61334
|
+
};
|
|
60662
61335
|
wo_reject_offerte_request: {
|
|
60663
61336
|
Args: {
|
|
60664
61337
|
_queue_id: string;
|
|
@@ -60666,6 +61339,13 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
60666
61339
|
};
|
|
60667
61340
|
Returns: import("../integrations/supabase/types").Json;
|
|
60668
61341
|
};
|
|
61342
|
+
wo_reject_proposal: {
|
|
61343
|
+
Args: {
|
|
61344
|
+
_id: string;
|
|
61345
|
+
_reden?: string;
|
|
61346
|
+
};
|
|
61347
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61348
|
+
};
|
|
60669
61349
|
wo_set_status: {
|
|
60670
61350
|
Args: {
|
|
60671
61351
|
_reason?: string;
|