@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
@@ -8292,6 +8292,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8292
8292
  };
8293
8293
  Relationships: [];
8294
8294
  };
8295
+ invoice_branding_settings: {
8296
+ Row: {
8297
+ address: string;
8298
+ chamber_of_commerce_number: string;
8299
+ city: string;
8300
+ company_name: string;
8301
+ created_at: string;
8302
+ email: string;
8303
+ email_purpose: string | null;
8304
+ iban: string;
8305
+ logo_path: string | null;
8306
+ payment_term_days: number;
8307
+ phone: string;
8308
+ postal_code: string;
8309
+ primary_color: string;
8310
+ secondary_color: string;
8311
+ singleton_key: boolean;
8312
+ updated_at: string;
8313
+ vat_identification_number: string;
8314
+ website: string;
8315
+ };
8316
+ Insert: {
8317
+ address?: string;
8318
+ chamber_of_commerce_number?: string;
8319
+ city?: string;
8320
+ company_name?: string;
8321
+ created_at?: string;
8322
+ email?: string;
8323
+ email_purpose?: string | null;
8324
+ iban?: string;
8325
+ logo_path?: string | null;
8326
+ payment_term_days?: number;
8327
+ phone?: string;
8328
+ postal_code?: string;
8329
+ primary_color?: string;
8330
+ secondary_color?: string;
8331
+ singleton_key?: boolean;
8332
+ updated_at?: string;
8333
+ vat_identification_number?: string;
8334
+ website?: string;
8335
+ };
8336
+ Update: {
8337
+ address?: string;
8338
+ chamber_of_commerce_number?: string;
8339
+ city?: string;
8340
+ company_name?: string;
8341
+ created_at?: string;
8342
+ email?: string;
8343
+ email_purpose?: string | null;
8344
+ iban?: string;
8345
+ logo_path?: string | null;
8346
+ payment_term_days?: number;
8347
+ phone?: string;
8348
+ postal_code?: string;
8349
+ primary_color?: string;
8350
+ secondary_color?: string;
8351
+ singleton_key?: boolean;
8352
+ updated_at?: string;
8353
+ vat_identification_number?: string;
8354
+ website?: string;
8355
+ };
8356
+ Relationships: [];
8357
+ };
8295
8358
  invoice_items: {
8296
8359
  Row: {
8297
8360
  created_at: string;
@@ -8305,6 +8368,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8305
8368
  total_cents: number;
8306
8369
  unit: string;
8307
8370
  unit_price_cents: number;
8371
+ vat_rate: number | null;
8308
8372
  };
8309
8373
  Insert: {
8310
8374
  created_at?: string;
@@ -8318,6 +8382,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8318
8382
  total_cents?: number;
8319
8383
  unit?: string;
8320
8384
  unit_price_cents?: number;
8385
+ vat_rate?: number | null;
8321
8386
  };
8322
8387
  Update: {
8323
8388
  created_at?: string;
@@ -8331,6 +8396,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8331
8396
  total_cents?: number;
8332
8397
  unit?: string;
8333
8398
  unit_price_cents?: number;
8399
+ vat_rate?: number | null;
8334
8400
  };
8335
8401
  Relationships: [{
8336
8402
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -8576,6 +8642,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8576
8642
  };
8577
8643
  invoices: {
8578
8644
  Row: {
8645
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
8579
8646
  created_at: string;
8580
8647
  created_by: string | null;
8581
8648
  customer_address: string | null;
@@ -8594,6 +8661,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8594
8661
  note: string | null;
8595
8662
  payment_term_days: number;
8596
8663
  reference: string | null;
8664
+ sent_at: string | null;
8665
+ sent_to: string | null;
8597
8666
  source_number: string | null;
8598
8667
  source_ref: string | null;
8599
8668
  source_type: string;
@@ -8606,6 +8675,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8606
8675
  work_address: string | null;
8607
8676
  };
8608
8677
  Insert: {
8678
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8609
8679
  created_at?: string;
8610
8680
  created_by?: string | null;
8611
8681
  customer_address?: string | null;
@@ -8624,6 +8694,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8624
8694
  note?: string | null;
8625
8695
  payment_term_days?: number;
8626
8696
  reference?: string | null;
8697
+ sent_at?: string | null;
8698
+ sent_to?: string | null;
8627
8699
  source_number?: string | null;
8628
8700
  source_ref?: string | null;
8629
8701
  source_type?: string;
@@ -8636,6 +8708,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8636
8708
  work_address?: string | null;
8637
8709
  };
8638
8710
  Update: {
8711
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8639
8712
  created_at?: string;
8640
8713
  created_by?: string | null;
8641
8714
  customer_address?: string | null;
@@ -8654,6 +8727,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8654
8727
  note?: string | null;
8655
8728
  payment_term_days?: number;
8656
8729
  reference?: string | null;
8730
+ sent_at?: string | null;
8731
+ sent_to?: string | null;
8657
8732
  source_number?: string | null;
8658
8733
  source_ref?: string | null;
8659
8734
  source_type?: string;
@@ -9362,6 +9437,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9362
9437
  quantity: number;
9363
9438
  sort_order: number;
9364
9439
  source: string;
9440
+ unit: string | null;
9365
9441
  unit_price_cents: number;
9366
9442
  updated_at: string;
9367
9443
  };
@@ -9375,6 +9451,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9375
9451
  quantity?: number;
9376
9452
  sort_order?: number;
9377
9453
  source?: string;
9454
+ unit?: string | null;
9378
9455
  unit_price_cents?: number;
9379
9456
  updated_at?: string;
9380
9457
  };
@@ -9388,6 +9465,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9388
9465
  quantity?: number;
9389
9466
  sort_order?: number;
9390
9467
  source?: string;
9468
+ unit?: string | null;
9391
9469
  unit_price_cents?: number;
9392
9470
  updated_at?: string;
9393
9471
  };
@@ -9411,6 +9489,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9411
9489
  created_at: string;
9412
9490
  default_geldigheid_dagen: number;
9413
9491
  default_vat_rate: number;
9492
+ email_purpose: string | null;
9414
9493
  id: string;
9415
9494
  singleton: boolean;
9416
9495
  updated_at: string;
@@ -9420,6 +9499,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9420
9499
  created_at?: string;
9421
9500
  default_geldigheid_dagen?: number;
9422
9501
  default_vat_rate?: number;
9502
+ email_purpose?: string | null;
9423
9503
  id?: string;
9424
9504
  singleton?: boolean;
9425
9505
  updated_at?: string;
@@ -9429,6 +9509,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9429
9509
  created_at?: string;
9430
9510
  default_geldigheid_dagen?: number;
9431
9511
  default_vat_rate?: number;
9512
+ email_purpose?: string | null;
9432
9513
  id?: string;
9433
9514
  singleton?: boolean;
9434
9515
  updated_at?: string;
@@ -9521,6 +9602,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9521
9602
  };
9522
9603
  itk_offertes: {
9523
9604
  Row: {
9605
+ aandachtspunten: string | null;
9524
9606
  ai_generated: boolean;
9525
9607
  approved_at: string | null;
9526
9608
  binnen_mandaat: boolean;
@@ -9536,6 +9618,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9536
9618
  notities: string | null;
9537
9619
  offerte_number: string | null;
9538
9620
  omschrijving: string;
9621
+ onderwerp: string | null;
9539
9622
  rejected_at: string | null;
9540
9623
  sent_at: string | null;
9541
9624
  source_number: string | null;
@@ -9548,12 +9631,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9548
9631
  valid_until: string | null;
9549
9632
  vat_cents: number;
9550
9633
  vat_rate: number;
9634
+ verzonden_naar: string | null;
9551
9635
  viewed_at: string | null;
9552
9636
  volgnummer: number | null;
9637
+ voorwaarden: string | null;
9553
9638
  werkbon_id: string | null;
9554
9639
  work_location_id: string | null;
9555
9640
  };
9556
9641
  Insert: {
9642
+ aandachtspunten?: string | null;
9557
9643
  ai_generated?: boolean;
9558
9644
  approved_at?: string | null;
9559
9645
  binnen_mandaat?: boolean;
@@ -9569,6 +9655,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9569
9655
  notities?: string | null;
9570
9656
  offerte_number?: string | null;
9571
9657
  omschrijving?: string;
9658
+ onderwerp?: string | null;
9572
9659
  rejected_at?: string | null;
9573
9660
  sent_at?: string | null;
9574
9661
  source_number?: string | null;
@@ -9581,12 +9668,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9581
9668
  valid_until?: string | null;
9582
9669
  vat_cents?: number;
9583
9670
  vat_rate?: number;
9671
+ verzonden_naar?: string | null;
9584
9672
  viewed_at?: string | null;
9585
9673
  volgnummer?: number | null;
9674
+ voorwaarden?: string | null;
9586
9675
  werkbon_id?: string | null;
9587
9676
  work_location_id?: string | null;
9588
9677
  };
9589
9678
  Update: {
9679
+ aandachtspunten?: string | null;
9590
9680
  ai_generated?: boolean;
9591
9681
  approved_at?: string | null;
9592
9682
  binnen_mandaat?: boolean;
@@ -9602,6 +9692,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9602
9692
  notities?: string | null;
9603
9693
  offerte_number?: string | null;
9604
9694
  omschrijving?: string;
9695
+ onderwerp?: string | null;
9605
9696
  rejected_at?: string | null;
9606
9697
  sent_at?: string | null;
9607
9698
  source_number?: string | null;
@@ -9614,8 +9705,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9614
9705
  valid_until?: string | null;
9615
9706
  vat_cents?: number;
9616
9707
  vat_rate?: number;
9708
+ verzonden_naar?: string | null;
9617
9709
  viewed_at?: string | null;
9618
9710
  volgnummer?: number | null;
9711
+ voorwaarden?: string | null;
9619
9712
  werkbon_id?: string | null;
9620
9713
  work_location_id?: string | null;
9621
9714
  };
@@ -21693,6 +21786,51 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21693
21786
  referencedColumns: ["id"];
21694
21787
  }];
21695
21788
  };
21789
+ vakantie_uitbetalingen: {
21790
+ Row: {
21791
+ created_at: string;
21792
+ created_by: string | null;
21793
+ days: number;
21794
+ id: string;
21795
+ note: string | null;
21796
+ updated_at: string;
21797
+ user_id: string;
21798
+ year: number;
21799
+ };
21800
+ Insert: {
21801
+ created_at?: string;
21802
+ created_by?: string | null;
21803
+ days: number;
21804
+ id?: string;
21805
+ note?: string | null;
21806
+ updated_at?: string;
21807
+ user_id: string;
21808
+ year?: number;
21809
+ };
21810
+ Update: {
21811
+ created_at?: string;
21812
+ created_by?: string | null;
21813
+ days?: number;
21814
+ id?: string;
21815
+ note?: string | null;
21816
+ updated_at?: string;
21817
+ user_id?: string;
21818
+ year?: number;
21819
+ };
21820
+ Relationships: [{
21821
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
21822
+ columns: ["created_by"];
21823
+ isOneToOne: false;
21824
+ referencedRelation: "profiles";
21825
+ referencedColumns: ["id"];
21826
+ }, {
21827
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
21828
+ columns: ["user_id"];
21829
+ isOneToOne: false;
21830
+ referencedRelation: "profiles";
21831
+ referencedColumns: ["id"];
21832
+ }];
21833
+ };
21696
21834
  van_inventories: {
21697
21835
  Row: {
21698
21836
  barcode: string | null;
@@ -22977,6 +23115,78 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22977
23115
  referencedColumns: ["id"];
22978
23116
  }];
22979
23117
  };
23118
+ werkbon_voorstellen: {
23119
+ Row: {
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
+ Insert: {
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
+ Update: {
23150
+ bron_werkbon_id?: string;
23151
+ budget_mandate_cents?: number;
23152
+ created_at?: string;
23153
+ created_by?: string;
23154
+ customer_id?: string | null;
23155
+ id?: string;
23156
+ payload?: import("../integrations/supabase/types").Json;
23157
+ reden?: string | null;
23158
+ status?: string;
23159
+ updated_at?: string;
23160
+ verwerkt_door?: string | null;
23161
+ verwerkt_op?: string | null;
23162
+ werkbon_id?: string | null;
23163
+ };
23164
+ Relationships: [{
23165
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23166
+ columns: ["bron_werkbon_id"];
23167
+ isOneToOne: false;
23168
+ referencedRelation: "werkbonnen";
23169
+ referencedColumns: ["id"];
23170
+ }, {
23171
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23172
+ columns: ["bron_werkbon_id"];
23173
+ isOneToOne: false;
23174
+ referencedRelation: "wo_overview";
23175
+ referencedColumns: ["id"];
23176
+ }, {
23177
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23178
+ columns: ["werkbon_id"];
23179
+ isOneToOne: false;
23180
+ referencedRelation: "werkbonnen";
23181
+ referencedColumns: ["id"];
23182
+ }, {
23183
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23184
+ columns: ["werkbon_id"];
23185
+ isOneToOne: false;
23186
+ referencedRelation: "wo_overview";
23187
+ referencedColumns: ["id"];
23188
+ }];
23189
+ };
22980
23190
  werkbonnen: {
22981
23191
  Row: {
22982
23192
  assigned_user_id: string | null;
@@ -24217,6 +24427,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24217
24427
  };
24218
24428
  Returns: undefined;
24219
24429
  };
24430
+ _wo_is_planner: {
24431
+ Args: never;
24432
+ Returns: boolean;
24433
+ };
24220
24434
  afh_city_code: {
24221
24435
  Args: {
24222
24436
  _city: string;
@@ -25329,6 +25543,22 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25329
25543
  };
25330
25544
  Returns: number;
25331
25545
  };
25546
+ get_product_stock: {
25547
+ Args: {
25548
+ p_product_id: string;
25549
+ };
25550
+ Returns: {
25551
+ connection_id: string;
25552
+ incoming_stock: number;
25553
+ minimum_stock: number;
25554
+ notes: string;
25555
+ physical_stock: number;
25556
+ product_id: string;
25557
+ reserved_stock: number;
25558
+ trade_item_key: string;
25559
+ updated_at: string;
25560
+ }[];
25561
+ };
25332
25562
  get_room_busy_windows: {
25333
25563
  Args: {
25334
25564
  p_from: string;
@@ -25666,6 +25896,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25666
25896
  };
25667
25897
  Returns: number;
25668
25898
  };
25899
+ invoice_branding_snapshot: {
25900
+ Args: never;
25901
+ Returns: import("../integrations/supabase/types").Json;
25902
+ };
25669
25903
  invoice_create_from_source: {
25670
25904
  Args: {
25671
25905
  _payload?: import("../integrations/supabase/types").Json;
@@ -25700,6 +25934,17 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25700
25934
  };
25701
25935
  Returns: import("../integrations/supabase/types").Json;
25702
25936
  };
25937
+ invoice_mark_sent: {
25938
+ Args: {
25939
+ _invoice_id: string;
25940
+ _to: string;
25941
+ };
25942
+ Returns: undefined;
25943
+ };
25944
+ invoice_peek_next_number: {
25945
+ Args: never;
25946
+ Returns: string;
25947
+ };
25703
25948
  invoice_ready_work_orders: {
25704
25949
  Args: {
25705
25950
  _limit?: number;
@@ -25712,6 +25957,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25712
25957
  };
25713
25958
  Returns: import("../integrations/supabase/types").Json;
25714
25959
  };
25960
+ invoice_save_branding_settings: {
25961
+ Args: {
25962
+ _payload: import("../integrations/supabase/types").Json;
25963
+ };
25964
+ Returns: import("../integrations/supabase/types").Json;
25965
+ };
25966
+ invoice_set_email_purpose: {
25967
+ Args: {
25968
+ _purpose: string;
25969
+ };
25970
+ Returns: string;
25971
+ };
25715
25972
  invoice_source_lines: {
25716
25973
  Args: {
25717
25974
  _source_id: string;
@@ -25719,6 +25976,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25719
25976
  };
25720
25977
  Returns: import("../integrations/supabase/types").Json;
25721
25978
  };
25979
+ invoice_update_full: {
25980
+ Args: {
25981
+ _invoice_id: string;
25982
+ _payload: import("../integrations/supabase/types").Json;
25983
+ };
25984
+ Returns: import("../integrations/supabase/types").Json;
25985
+ };
25986
+ invoice_work_order_locked: {
25987
+ Args: {
25988
+ _werkbon_id: string;
25989
+ };
25990
+ Returns: import("../integrations/supabase/types").Json;
25991
+ };
25722
25992
  is_authenticated: {
25723
25993
  Args: never;
25724
25994
  Returns: boolean;
@@ -29018,6 +29288,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
29018
29288
  };
29019
29289
  Returns: boolean;
29020
29290
  };
29291
+ quote_assign_number: {
29292
+ Args: {
29293
+ _offerte_id: string;
29294
+ };
29295
+ Returns: string;
29296
+ };
29297
+ quote_create_follow_up_now: {
29298
+ Args: {
29299
+ _offerte_id: string;
29300
+ _payload?: import("../integrations/supabase/types").Json;
29301
+ };
29302
+ Returns: import("../integrations/supabase/types").Json;
29303
+ };
29021
29304
  quote_create_from_source: {
29022
29305
  Args: {
29023
29306
  _payload?: import("../integrations/supabase/types").Json;
@@ -29731,6 +30014,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
29731
30014
  };
29732
30015
  Returns: undefined;
29733
30016
  };
30017
+ set_product_stock: {
30018
+ Args: {
30019
+ p_incoming_stock?: number;
30020
+ p_minimum_stock?: number;
30021
+ p_notes?: string;
30022
+ p_physical_stock: number;
30023
+ p_product_id: string;
30024
+ };
30025
+ Returns: {
30026
+ connection_id: string;
30027
+ incoming_stock: number;
30028
+ minimum_stock: number;
30029
+ notes: string;
30030
+ physical_stock: number;
30031
+ product_id: string;
30032
+ reserved_stock: number;
30033
+ trade_item_key: string;
30034
+ updated_at: string;
30035
+ }[];
30036
+ };
29734
30037
  show_limit: {
29735
30038
  Args: never;
29736
30039
  Returns: number;
@@ -30255,6 +30558,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
30255
30558
  };
30256
30559
  Returns: number;
30257
30560
  };
30561
+ vakantie_overuren: {
30562
+ Args: {
30563
+ _user_id: string;
30564
+ _year?: number;
30565
+ };
30566
+ Returns: number;
30567
+ };
30258
30568
  vakantie_saldo: {
30259
30569
  Args: {
30260
30570
  _user_id: string;
@@ -30262,7 +30572,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
30262
30572
  };
30263
30573
  Returns: {
30264
30574
  day_hours: number;
30575
+ earned_from_overtime_days: number;
30265
30576
  entitlement_days: number;
30577
+ hours_to_next_day: number;
30578
+ overtime_hours: number;
30579
+ overtime_remainder_hours: number;
30580
+ paid_out_days: number;
30266
30581
  remaining_days: number;
30267
30582
  used_days: number;
30268
30583
  }[];
@@ -30273,7 +30588,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
30273
30588
  };
30274
30589
  Returns: {
30275
30590
  day_hours: number;
30591
+ earned_from_overtime_days: number;
30276
30592
  entitlement_days: number;
30593
+ hours_to_next_day: number;
30594
+ overtime_hours: number;
30595
+ overtime_remainder_hours: number;
30596
+ paid_out_days: number;
30277
30597
  remaining_days: number;
30278
30598
  used_days: number;
30279
30599
  user_id: string;
@@ -30327,12 +30647,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
30327
30647
  };
30328
30648
  Returns: import("../integrations/supabase/types").Json;
30329
30649
  };
30650
+ wo_list_proposals: {
30651
+ Args: {
30652
+ _status?: string;
30653
+ };
30654
+ Returns: import("../integrations/supabase/types").Json;
30655
+ };
30330
30656
  wo_process_offerte_request: {
30331
30657
  Args: {
30332
30658
  _queue_id: string;
30333
30659
  };
30334
30660
  Returns: import("../integrations/supabase/types").Json;
30335
30661
  };
30662
+ wo_process_proposal: {
30663
+ Args: {
30664
+ _id: string;
30665
+ _overrides?: import("../integrations/supabase/types").Json;
30666
+ };
30667
+ Returns: import("../integrations/supabase/types").Json;
30668
+ };
30336
30669
  wo_reject_offerte_request: {
30337
30670
  Args: {
30338
30671
  _queue_id: string;
@@ -30340,6 +30673,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
30340
30673
  };
30341
30674
  Returns: import("../integrations/supabase/types").Json;
30342
30675
  };
30676
+ wo_reject_proposal: {
30677
+ Args: {
30678
+ _id: string;
30679
+ _reden?: string;
30680
+ };
30681
+ Returns: import("../integrations/supabase/types").Json;
30682
+ };
30343
30683
  wo_set_status: {
30344
30684
  Args: {
30345
30685
  _reason?: string;