@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.
Files changed (46) hide show
  1. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelCompositionCard.js +79 -6
  3. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  4. package/dist-lib/components/voorraad/ArtikelWizard.js +14 -2
  5. package/dist-lib/components/voorraad/CollapsibleText.d.ts +9 -0
  6. package/dist-lib/components/voorraad/CollapsibleText.d.ts.map +1 -0
  7. package/dist-lib/components/voorraad/CollapsibleText.js +32 -0
  8. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
  9. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +2 -1
  10. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  11. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  12. package/dist-lib/components/voorraad/VoorraadStockCard.js +29 -42
  13. package/dist-lib/hooks/useTradeItemStock.d.ts +3 -1
  14. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  15. package/dist-lib/hooks/useTradeItemStock.js +85 -32
  16. package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
  17. package/dist-lib/hooks/useVoorraadData.js +3 -2
  18. package/dist-lib/integrations/supabase/auth-middleware.d.ts +340 -0
  19. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.d.ts +340 -0
  21. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/client.server.d.ts +340 -0
  23. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  24. package/dist-lib/integrations/supabase/types.d.ts +348 -0
  25. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  26. package/dist-lib/lib/floricode-required-features.functions.d.ts +340 -0
  27. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +340 -0
  29. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-env.functions.d.ts +680 -0
  31. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-gateway.functions.d.ts +2040 -0
  33. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +680 -0
  35. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1020 -0
  37. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/floriday-writes.functions.d.ts +680 -0
  39. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/inventory-settings.functions.d.ts +680 -0
  41. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/product-packing.d.ts.map +1 -1
  43. package/dist-lib/lib/product-packing.js +10 -4
  44. package/dist-lib/lib/stock-sync.functions.d.ts +680 -0
  45. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  46. package/package.json +1 -1
@@ -8291,6 +8291,69 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8291
8291
  };
8292
8292
  Relationships: [];
8293
8293
  };
8294
+ invoice_branding_settings: {
8295
+ Row: {
8296
+ address: string;
8297
+ chamber_of_commerce_number: string;
8298
+ city: string;
8299
+ company_name: string;
8300
+ created_at: string;
8301
+ email: string;
8302
+ email_purpose: string | null;
8303
+ iban: string;
8304
+ logo_path: string | null;
8305
+ payment_term_days: number;
8306
+ phone: string;
8307
+ postal_code: string;
8308
+ primary_color: string;
8309
+ secondary_color: string;
8310
+ singleton_key: boolean;
8311
+ updated_at: string;
8312
+ vat_identification_number: string;
8313
+ website: string;
8314
+ };
8315
+ Insert: {
8316
+ address?: string;
8317
+ chamber_of_commerce_number?: string;
8318
+ city?: string;
8319
+ company_name?: string;
8320
+ created_at?: string;
8321
+ email?: string;
8322
+ email_purpose?: string | null;
8323
+ iban?: string;
8324
+ logo_path?: string | null;
8325
+ payment_term_days?: number;
8326
+ phone?: string;
8327
+ postal_code?: string;
8328
+ primary_color?: string;
8329
+ secondary_color?: string;
8330
+ singleton_key?: boolean;
8331
+ updated_at?: string;
8332
+ vat_identification_number?: string;
8333
+ website?: string;
8334
+ };
8335
+ Update: {
8336
+ address?: string;
8337
+ chamber_of_commerce_number?: string;
8338
+ city?: string;
8339
+ company_name?: string;
8340
+ created_at?: string;
8341
+ email?: string;
8342
+ email_purpose?: string | null;
8343
+ iban?: string;
8344
+ logo_path?: string | null;
8345
+ payment_term_days?: number;
8346
+ phone?: string;
8347
+ postal_code?: string;
8348
+ primary_color?: string;
8349
+ secondary_color?: string;
8350
+ singleton_key?: boolean;
8351
+ updated_at?: string;
8352
+ vat_identification_number?: string;
8353
+ website?: string;
8354
+ };
8355
+ Relationships: [];
8356
+ };
8294
8357
  invoice_items: {
8295
8358
  Row: {
8296
8359
  created_at: string;
@@ -8304,6 +8367,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8304
8367
  total_cents: number;
8305
8368
  unit: string;
8306
8369
  unit_price_cents: number;
8370
+ vat_rate: number | null;
8307
8371
  };
8308
8372
  Insert: {
8309
8373
  created_at?: string;
@@ -8317,6 +8381,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8317
8381
  total_cents?: number;
8318
8382
  unit?: string;
8319
8383
  unit_price_cents?: number;
8384
+ vat_rate?: number | null;
8320
8385
  };
8321
8386
  Update: {
8322
8387
  created_at?: string;
@@ -8330,6 +8395,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8330
8395
  total_cents?: number;
8331
8396
  unit?: string;
8332
8397
  unit_price_cents?: number;
8398
+ vat_rate?: number | null;
8333
8399
  };
8334
8400
  Relationships: [{
8335
8401
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -8575,6 +8641,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8575
8641
  };
8576
8642
  invoices: {
8577
8643
  Row: {
8644
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
8578
8645
  created_at: string;
8579
8646
  created_by: string | null;
8580
8647
  customer_address: string | null;
@@ -8593,6 +8660,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8593
8660
  note: string | null;
8594
8661
  payment_term_days: number;
8595
8662
  reference: string | null;
8663
+ sent_at: string | null;
8664
+ sent_to: string | null;
8596
8665
  source_number: string | null;
8597
8666
  source_ref: string | null;
8598
8667
  source_type: string;
@@ -8605,6 +8674,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8605
8674
  work_address: string | null;
8606
8675
  };
8607
8676
  Insert: {
8677
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8608
8678
  created_at?: string;
8609
8679
  created_by?: string | null;
8610
8680
  customer_address?: string | null;
@@ -8623,6 +8693,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8623
8693
  note?: string | null;
8624
8694
  payment_term_days?: number;
8625
8695
  reference?: string | null;
8696
+ sent_at?: string | null;
8697
+ sent_to?: string | null;
8626
8698
  source_number?: string | null;
8627
8699
  source_ref?: string | null;
8628
8700
  source_type?: string;
@@ -8635,6 +8707,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8635
8707
  work_address?: string | null;
8636
8708
  };
8637
8709
  Update: {
8710
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8638
8711
  created_at?: string;
8639
8712
  created_by?: string | null;
8640
8713
  customer_address?: string | null;
@@ -8653,6 +8726,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8653
8726
  note?: string | null;
8654
8727
  payment_term_days?: number;
8655
8728
  reference?: string | null;
8729
+ sent_at?: string | null;
8730
+ sent_to?: string | null;
8656
8731
  source_number?: string | null;
8657
8732
  source_ref?: string | null;
8658
8733
  source_type?: string;
@@ -9361,6 +9436,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9361
9436
  quantity: number;
9362
9437
  sort_order: number;
9363
9438
  source: string;
9439
+ unit: string | null;
9364
9440
  unit_price_cents: number;
9365
9441
  updated_at: string;
9366
9442
  };
@@ -9374,6 +9450,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9374
9450
  quantity?: number;
9375
9451
  sort_order?: number;
9376
9452
  source?: string;
9453
+ unit?: string | null;
9377
9454
  unit_price_cents?: number;
9378
9455
  updated_at?: string;
9379
9456
  };
@@ -9387,6 +9464,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9387
9464
  quantity?: number;
9388
9465
  sort_order?: number;
9389
9466
  source?: string;
9467
+ unit?: string | null;
9390
9468
  unit_price_cents?: number;
9391
9469
  updated_at?: string;
9392
9470
  };
@@ -9410,6 +9488,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9410
9488
  created_at: string;
9411
9489
  default_geldigheid_dagen: number;
9412
9490
  default_vat_rate: number;
9491
+ email_purpose: string | null;
9413
9492
  id: string;
9414
9493
  singleton: boolean;
9415
9494
  updated_at: string;
@@ -9419,6 +9498,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9419
9498
  created_at?: string;
9420
9499
  default_geldigheid_dagen?: number;
9421
9500
  default_vat_rate?: number;
9501
+ email_purpose?: string | null;
9422
9502
  id?: string;
9423
9503
  singleton?: boolean;
9424
9504
  updated_at?: string;
@@ -9428,6 +9508,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9428
9508
  created_at?: string;
9429
9509
  default_geldigheid_dagen?: number;
9430
9510
  default_vat_rate?: number;
9511
+ email_purpose?: string | null;
9431
9512
  id?: string;
9432
9513
  singleton?: boolean;
9433
9514
  updated_at?: string;
@@ -9520,6 +9601,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9520
9601
  };
9521
9602
  itk_offertes: {
9522
9603
  Row: {
9604
+ aandachtspunten: string | null;
9523
9605
  ai_generated: boolean;
9524
9606
  approved_at: string | null;
9525
9607
  binnen_mandaat: boolean;
@@ -9535,6 +9617,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9535
9617
  notities: string | null;
9536
9618
  offerte_number: string | null;
9537
9619
  omschrijving: string;
9620
+ onderwerp: string | null;
9538
9621
  rejected_at: string | null;
9539
9622
  sent_at: string | null;
9540
9623
  source_number: string | null;
@@ -9547,12 +9630,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9547
9630
  valid_until: string | null;
9548
9631
  vat_cents: number;
9549
9632
  vat_rate: number;
9633
+ verzonden_naar: string | null;
9550
9634
  viewed_at: string | null;
9551
9635
  volgnummer: number | null;
9636
+ voorwaarden: string | null;
9552
9637
  werkbon_id: string | null;
9553
9638
  work_location_id: string | null;
9554
9639
  };
9555
9640
  Insert: {
9641
+ aandachtspunten?: string | null;
9556
9642
  ai_generated?: boolean;
9557
9643
  approved_at?: string | null;
9558
9644
  binnen_mandaat?: boolean;
@@ -9568,6 +9654,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9568
9654
  notities?: string | null;
9569
9655
  offerte_number?: string | null;
9570
9656
  omschrijving?: string;
9657
+ onderwerp?: string | null;
9571
9658
  rejected_at?: string | null;
9572
9659
  sent_at?: string | null;
9573
9660
  source_number?: string | null;
@@ -9580,12 +9667,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9580
9667
  valid_until?: string | null;
9581
9668
  vat_cents?: number;
9582
9669
  vat_rate?: number;
9670
+ verzonden_naar?: string | null;
9583
9671
  viewed_at?: string | null;
9584
9672
  volgnummer?: number | null;
9673
+ voorwaarden?: string | null;
9585
9674
  werkbon_id?: string | null;
9586
9675
  work_location_id?: string | null;
9587
9676
  };
9588
9677
  Update: {
9678
+ aandachtspunten?: string | null;
9589
9679
  ai_generated?: boolean;
9590
9680
  approved_at?: string | null;
9591
9681
  binnen_mandaat?: boolean;
@@ -9601,6 +9691,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9601
9691
  notities?: string | null;
9602
9692
  offerte_number?: string | null;
9603
9693
  omschrijving?: string;
9694
+ onderwerp?: string | null;
9604
9695
  rejected_at?: string | null;
9605
9696
  sent_at?: string | null;
9606
9697
  source_number?: string | null;
@@ -9613,8 +9704,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9613
9704
  valid_until?: string | null;
9614
9705
  vat_cents?: number;
9615
9706
  vat_rate?: number;
9707
+ verzonden_naar?: string | null;
9616
9708
  viewed_at?: string | null;
9617
9709
  volgnummer?: number | null;
9710
+ voorwaarden?: string | null;
9618
9711
  werkbon_id?: string | null;
9619
9712
  work_location_id?: string | null;
9620
9713
  };
@@ -21692,6 +21785,51 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21692
21785
  referencedColumns: ["id"];
21693
21786
  }];
21694
21787
  };
21788
+ vakantie_uitbetalingen: {
21789
+ Row: {
21790
+ created_at: string;
21791
+ created_by: string | null;
21792
+ days: number;
21793
+ id: string;
21794
+ note: string | null;
21795
+ updated_at: string;
21796
+ user_id: string;
21797
+ year: number;
21798
+ };
21799
+ Insert: {
21800
+ created_at?: string;
21801
+ created_by?: string | null;
21802
+ days: number;
21803
+ id?: string;
21804
+ note?: string | null;
21805
+ updated_at?: string;
21806
+ user_id: string;
21807
+ year?: number;
21808
+ };
21809
+ Update: {
21810
+ created_at?: string;
21811
+ created_by?: string | null;
21812
+ days?: number;
21813
+ id?: string;
21814
+ note?: string | null;
21815
+ updated_at?: string;
21816
+ user_id?: string;
21817
+ year?: number;
21818
+ };
21819
+ Relationships: [{
21820
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
21821
+ columns: ["created_by"];
21822
+ isOneToOne: false;
21823
+ referencedRelation: "profiles";
21824
+ referencedColumns: ["id"];
21825
+ }, {
21826
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
21827
+ columns: ["user_id"];
21828
+ isOneToOne: false;
21829
+ referencedRelation: "profiles";
21830
+ referencedColumns: ["id"];
21831
+ }];
21832
+ };
21695
21833
  van_inventories: {
21696
21834
  Row: {
21697
21835
  barcode: string | null;
@@ -22976,6 +23114,78 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22976
23114
  referencedColumns: ["id"];
22977
23115
  }];
22978
23116
  };
23117
+ werkbon_voorstellen: {
23118
+ Row: {
23119
+ bron_werkbon_id: string;
23120
+ budget_mandate_cents: number;
23121
+ created_at: string;
23122
+ created_by: string;
23123
+ customer_id: string | null;
23124
+ id: string;
23125
+ payload: import("../integrations/supabase/types").Json;
23126
+ reden: string | null;
23127
+ status: string;
23128
+ updated_at: string;
23129
+ verwerkt_door: string | null;
23130
+ verwerkt_op: string | null;
23131
+ werkbon_id: string | null;
23132
+ };
23133
+ Insert: {
23134
+ bron_werkbon_id: string;
23135
+ budget_mandate_cents?: number;
23136
+ created_at?: string;
23137
+ created_by?: string;
23138
+ customer_id?: string | null;
23139
+ id?: string;
23140
+ payload?: import("../integrations/supabase/types").Json;
23141
+ reden?: string | null;
23142
+ status?: string;
23143
+ updated_at?: string;
23144
+ verwerkt_door?: string | null;
23145
+ verwerkt_op?: string | null;
23146
+ werkbon_id?: string | null;
23147
+ };
23148
+ Update: {
23149
+ bron_werkbon_id?: string;
23150
+ budget_mandate_cents?: number;
23151
+ created_at?: string;
23152
+ created_by?: string;
23153
+ customer_id?: string | null;
23154
+ id?: string;
23155
+ payload?: import("../integrations/supabase/types").Json;
23156
+ reden?: string | null;
23157
+ status?: string;
23158
+ updated_at?: string;
23159
+ verwerkt_door?: string | null;
23160
+ verwerkt_op?: string | null;
23161
+ werkbon_id?: string | null;
23162
+ };
23163
+ Relationships: [{
23164
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23165
+ columns: ["bron_werkbon_id"];
23166
+ isOneToOne: false;
23167
+ referencedRelation: "werkbonnen";
23168
+ referencedColumns: ["id"];
23169
+ }, {
23170
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23171
+ columns: ["bron_werkbon_id"];
23172
+ isOneToOne: false;
23173
+ referencedRelation: "wo_overview";
23174
+ referencedColumns: ["id"];
23175
+ }, {
23176
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23177
+ columns: ["werkbon_id"];
23178
+ isOneToOne: false;
23179
+ referencedRelation: "werkbonnen";
23180
+ referencedColumns: ["id"];
23181
+ }, {
23182
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23183
+ columns: ["werkbon_id"];
23184
+ isOneToOne: false;
23185
+ referencedRelation: "wo_overview";
23186
+ referencedColumns: ["id"];
23187
+ }];
23188
+ };
22979
23189
  werkbonnen: {
22980
23190
  Row: {
22981
23191
  assigned_user_id: string | null;
@@ -24216,6 +24426,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
24216
24426
  };
24217
24427
  Returns: undefined;
24218
24428
  };
24429
+ _wo_is_planner: {
24430
+ Args: never;
24431
+ Returns: boolean;
24432
+ };
24219
24433
  afh_city_code: {
24220
24434
  Args: {
24221
24435
  _city: string;
@@ -25328,6 +25542,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25328
25542
  };
25329
25543
  Returns: number;
25330
25544
  };
25545
+ get_product_stock: {
25546
+ Args: {
25547
+ p_product_id: string;
25548
+ };
25549
+ Returns: {
25550
+ connection_id: string;
25551
+ incoming_stock: number;
25552
+ minimum_stock: number;
25553
+ notes: string;
25554
+ physical_stock: number;
25555
+ product_id: string;
25556
+ reserved_stock: number;
25557
+ trade_item_key: string;
25558
+ updated_at: string;
25559
+ }[];
25560
+ };
25331
25561
  get_room_busy_windows: {
25332
25562
  Args: {
25333
25563
  p_from: string;
@@ -25665,6 +25895,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25665
25895
  };
25666
25896
  Returns: number;
25667
25897
  };
25898
+ invoice_branding_snapshot: {
25899
+ Args: never;
25900
+ Returns: import("../integrations/supabase/types").Json;
25901
+ };
25668
25902
  invoice_create_from_source: {
25669
25903
  Args: {
25670
25904
  _payload?: import("../integrations/supabase/types").Json;
@@ -25699,6 +25933,17 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25699
25933
  };
25700
25934
  Returns: import("../integrations/supabase/types").Json;
25701
25935
  };
25936
+ invoice_mark_sent: {
25937
+ Args: {
25938
+ _invoice_id: string;
25939
+ _to: string;
25940
+ };
25941
+ Returns: undefined;
25942
+ };
25943
+ invoice_peek_next_number: {
25944
+ Args: never;
25945
+ Returns: string;
25946
+ };
25702
25947
  invoice_ready_work_orders: {
25703
25948
  Args: {
25704
25949
  _limit?: number;
@@ -25711,6 +25956,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25711
25956
  };
25712
25957
  Returns: import("../integrations/supabase/types").Json;
25713
25958
  };
25959
+ invoice_save_branding_settings: {
25960
+ Args: {
25961
+ _payload: import("../integrations/supabase/types").Json;
25962
+ };
25963
+ Returns: import("../integrations/supabase/types").Json;
25964
+ };
25965
+ invoice_set_email_purpose: {
25966
+ Args: {
25967
+ _purpose: string;
25968
+ };
25969
+ Returns: string;
25970
+ };
25714
25971
  invoice_source_lines: {
25715
25972
  Args: {
25716
25973
  _source_id: string;
@@ -25718,6 +25975,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25718
25975
  };
25719
25976
  Returns: import("../integrations/supabase/types").Json;
25720
25977
  };
25978
+ invoice_update_full: {
25979
+ Args: {
25980
+ _invoice_id: string;
25981
+ _payload: import("../integrations/supabase/types").Json;
25982
+ };
25983
+ Returns: import("../integrations/supabase/types").Json;
25984
+ };
25985
+ invoice_work_order_locked: {
25986
+ Args: {
25987
+ _werkbon_id: string;
25988
+ };
25989
+ Returns: import("../integrations/supabase/types").Json;
25990
+ };
25721
25991
  is_authenticated: {
25722
25992
  Args: never;
25723
25993
  Returns: boolean;
@@ -29017,6 +29287,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
29017
29287
  };
29018
29288
  Returns: boolean;
29019
29289
  };
29290
+ quote_assign_number: {
29291
+ Args: {
29292
+ _offerte_id: string;
29293
+ };
29294
+ Returns: string;
29295
+ };
29296
+ quote_create_follow_up_now: {
29297
+ Args: {
29298
+ _offerte_id: string;
29299
+ _payload?: import("../integrations/supabase/types").Json;
29300
+ };
29301
+ Returns: import("../integrations/supabase/types").Json;
29302
+ };
29020
29303
  quote_create_from_source: {
29021
29304
  Args: {
29022
29305
  _payload?: import("../integrations/supabase/types").Json;
@@ -29730,6 +30013,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
29730
30013
  };
29731
30014
  Returns: undefined;
29732
30015
  };
30016
+ set_product_stock: {
30017
+ Args: {
30018
+ p_incoming_stock?: number;
30019
+ p_minimum_stock?: number;
30020
+ p_notes?: string;
30021
+ p_physical_stock: number;
30022
+ p_product_id: string;
30023
+ };
30024
+ Returns: {
30025
+ connection_id: string;
30026
+ incoming_stock: number;
30027
+ minimum_stock: number;
30028
+ notes: string;
30029
+ physical_stock: number;
30030
+ product_id: string;
30031
+ reserved_stock: number;
30032
+ trade_item_key: string;
30033
+ updated_at: string;
30034
+ }[];
30035
+ };
29733
30036
  show_limit: {
29734
30037
  Args: never;
29735
30038
  Returns: number;
@@ -30254,6 +30557,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30254
30557
  };
30255
30558
  Returns: number;
30256
30559
  };
30560
+ vakantie_overuren: {
30561
+ Args: {
30562
+ _user_id: string;
30563
+ _year?: number;
30564
+ };
30565
+ Returns: number;
30566
+ };
30257
30567
  vakantie_saldo: {
30258
30568
  Args: {
30259
30569
  _user_id: string;
@@ -30261,7 +30571,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30261
30571
  };
30262
30572
  Returns: {
30263
30573
  day_hours: number;
30574
+ earned_from_overtime_days: number;
30264
30575
  entitlement_days: number;
30576
+ hours_to_next_day: number;
30577
+ overtime_hours: number;
30578
+ overtime_remainder_hours: number;
30579
+ paid_out_days: number;
30265
30580
  remaining_days: number;
30266
30581
  used_days: number;
30267
30582
  }[];
@@ -30272,7 +30587,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30272
30587
  };
30273
30588
  Returns: {
30274
30589
  day_hours: number;
30590
+ earned_from_overtime_days: number;
30275
30591
  entitlement_days: number;
30592
+ hours_to_next_day: number;
30593
+ overtime_hours: number;
30594
+ overtime_remainder_hours: number;
30595
+ paid_out_days: number;
30276
30596
  remaining_days: number;
30277
30597
  used_days: number;
30278
30598
  user_id: string;
@@ -30326,12 +30646,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30326
30646
  };
30327
30647
  Returns: import("../integrations/supabase/types").Json;
30328
30648
  };
30649
+ wo_list_proposals: {
30650
+ Args: {
30651
+ _status?: string;
30652
+ };
30653
+ Returns: import("../integrations/supabase/types").Json;
30654
+ };
30329
30655
  wo_process_offerte_request: {
30330
30656
  Args: {
30331
30657
  _queue_id: string;
30332
30658
  };
30333
30659
  Returns: import("../integrations/supabase/types").Json;
30334
30660
  };
30661
+ wo_process_proposal: {
30662
+ Args: {
30663
+ _id: string;
30664
+ _overrides?: import("../integrations/supabase/types").Json;
30665
+ };
30666
+ Returns: import("../integrations/supabase/types").Json;
30667
+ };
30335
30668
  wo_reject_offerte_request: {
30336
30669
  Args: {
30337
30670
  _queue_id: string;
@@ -30339,6 +30672,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30339
30672
  };
30340
30673
  Returns: import("../integrations/supabase/types").Json;
30341
30674
  };
30675
+ wo_reject_proposal: {
30676
+ Args: {
30677
+ _id: string;
30678
+ _reden?: string;
30679
+ };
30680
+ Returns: import("../integrations/supabase/types").Json;
30681
+ };
30342
30682
  wo_set_status: {
30343
30683
  Args: {
30344
30684
  _reason?: string;