@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
@@ -8263,6 +8263,69 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8263
8263
  };
8264
8264
  Relationships: [];
8265
8265
  };
8266
+ invoice_branding_settings: {
8267
+ Row: {
8268
+ address: string;
8269
+ chamber_of_commerce_number: string;
8270
+ city: string;
8271
+ company_name: string;
8272
+ created_at: string;
8273
+ email: string;
8274
+ email_purpose: string | null;
8275
+ iban: string;
8276
+ logo_path: string | null;
8277
+ payment_term_days: number;
8278
+ phone: string;
8279
+ postal_code: string;
8280
+ primary_color: string;
8281
+ secondary_color: string;
8282
+ singleton_key: boolean;
8283
+ updated_at: string;
8284
+ vat_identification_number: string;
8285
+ website: string;
8286
+ };
8287
+ Insert: {
8288
+ address?: string;
8289
+ chamber_of_commerce_number?: string;
8290
+ city?: string;
8291
+ company_name?: string;
8292
+ created_at?: string;
8293
+ email?: string;
8294
+ email_purpose?: string | null;
8295
+ iban?: string;
8296
+ logo_path?: string | null;
8297
+ payment_term_days?: number;
8298
+ phone?: string;
8299
+ postal_code?: string;
8300
+ primary_color?: string;
8301
+ secondary_color?: string;
8302
+ singleton_key?: boolean;
8303
+ updated_at?: string;
8304
+ vat_identification_number?: string;
8305
+ website?: string;
8306
+ };
8307
+ Update: {
8308
+ address?: string;
8309
+ chamber_of_commerce_number?: string;
8310
+ city?: string;
8311
+ company_name?: string;
8312
+ created_at?: string;
8313
+ email?: string;
8314
+ email_purpose?: string | null;
8315
+ iban?: string;
8316
+ logo_path?: string | null;
8317
+ payment_term_days?: number;
8318
+ phone?: string;
8319
+ postal_code?: string;
8320
+ primary_color?: string;
8321
+ secondary_color?: string;
8322
+ singleton_key?: boolean;
8323
+ updated_at?: string;
8324
+ vat_identification_number?: string;
8325
+ website?: string;
8326
+ };
8327
+ Relationships: [];
8328
+ };
8266
8329
  invoice_items: {
8267
8330
  Row: {
8268
8331
  created_at: string;
@@ -8276,6 +8339,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8276
8339
  total_cents: number;
8277
8340
  unit: string;
8278
8341
  unit_price_cents: number;
8342
+ vat_rate: number | null;
8279
8343
  };
8280
8344
  Insert: {
8281
8345
  created_at?: string;
@@ -8289,6 +8353,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8289
8353
  total_cents?: number;
8290
8354
  unit?: string;
8291
8355
  unit_price_cents?: number;
8356
+ vat_rate?: number | null;
8292
8357
  };
8293
8358
  Update: {
8294
8359
  created_at?: string;
@@ -8302,6 +8367,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8302
8367
  total_cents?: number;
8303
8368
  unit?: string;
8304
8369
  unit_price_cents?: number;
8370
+ vat_rate?: number | null;
8305
8371
  };
8306
8372
  Relationships: [{
8307
8373
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -8547,6 +8613,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8547
8613
  };
8548
8614
  invoices: {
8549
8615
  Row: {
8616
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
8550
8617
  created_at: string;
8551
8618
  created_by: string | null;
8552
8619
  customer_address: string | null;
@@ -8565,6 +8632,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8565
8632
  note: string | null;
8566
8633
  payment_term_days: number;
8567
8634
  reference: string | null;
8635
+ sent_at: string | null;
8636
+ sent_to: string | null;
8568
8637
  source_number: string | null;
8569
8638
  source_ref: string | null;
8570
8639
  source_type: string;
@@ -8577,6 +8646,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8577
8646
  work_address: string | null;
8578
8647
  };
8579
8648
  Insert: {
8649
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8580
8650
  created_at?: string;
8581
8651
  created_by?: string | null;
8582
8652
  customer_address?: string | null;
@@ -8595,6 +8665,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8595
8665
  note?: string | null;
8596
8666
  payment_term_days?: number;
8597
8667
  reference?: string | null;
8668
+ sent_at?: string | null;
8669
+ sent_to?: string | null;
8598
8670
  source_number?: string | null;
8599
8671
  source_ref?: string | null;
8600
8672
  source_type?: string;
@@ -8607,6 +8679,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8607
8679
  work_address?: string | null;
8608
8680
  };
8609
8681
  Update: {
8682
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8610
8683
  created_at?: string;
8611
8684
  created_by?: string | null;
8612
8685
  customer_address?: string | null;
@@ -8625,6 +8698,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
8625
8698
  note?: string | null;
8626
8699
  payment_term_days?: number;
8627
8700
  reference?: string | null;
8701
+ sent_at?: string | null;
8702
+ sent_to?: string | null;
8628
8703
  source_number?: string | null;
8629
8704
  source_ref?: string | null;
8630
8705
  source_type?: string;
@@ -9333,6 +9408,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9333
9408
  quantity: number;
9334
9409
  sort_order: number;
9335
9410
  source: string;
9411
+ unit: string | null;
9336
9412
  unit_price_cents: number;
9337
9413
  updated_at: string;
9338
9414
  };
@@ -9346,6 +9422,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9346
9422
  quantity?: number;
9347
9423
  sort_order?: number;
9348
9424
  source?: string;
9425
+ unit?: string | null;
9349
9426
  unit_price_cents?: number;
9350
9427
  updated_at?: string;
9351
9428
  };
@@ -9359,6 +9436,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9359
9436
  quantity?: number;
9360
9437
  sort_order?: number;
9361
9438
  source?: string;
9439
+ unit?: string | null;
9362
9440
  unit_price_cents?: number;
9363
9441
  updated_at?: string;
9364
9442
  };
@@ -9382,6 +9460,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9382
9460
  created_at: string;
9383
9461
  default_geldigheid_dagen: number;
9384
9462
  default_vat_rate: number;
9463
+ email_purpose: string | null;
9385
9464
  id: string;
9386
9465
  singleton: boolean;
9387
9466
  updated_at: string;
@@ -9391,6 +9470,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9391
9470
  created_at?: string;
9392
9471
  default_geldigheid_dagen?: number;
9393
9472
  default_vat_rate?: number;
9473
+ email_purpose?: string | null;
9394
9474
  id?: string;
9395
9475
  singleton?: boolean;
9396
9476
  updated_at?: string;
@@ -9400,6 +9480,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9400
9480
  created_at?: string;
9401
9481
  default_geldigheid_dagen?: number;
9402
9482
  default_vat_rate?: number;
9483
+ email_purpose?: string | null;
9403
9484
  id?: string;
9404
9485
  singleton?: boolean;
9405
9486
  updated_at?: string;
@@ -9492,6 +9573,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9492
9573
  };
9493
9574
  itk_offertes: {
9494
9575
  Row: {
9576
+ aandachtspunten: string | null;
9495
9577
  ai_generated: boolean;
9496
9578
  approved_at: string | null;
9497
9579
  binnen_mandaat: boolean;
@@ -9507,6 +9589,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9507
9589
  notities: string | null;
9508
9590
  offerte_number: string | null;
9509
9591
  omschrijving: string;
9592
+ onderwerp: string | null;
9510
9593
  rejected_at: string | null;
9511
9594
  sent_at: string | null;
9512
9595
  source_number: string | null;
@@ -9519,12 +9602,15 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9519
9602
  valid_until: string | null;
9520
9603
  vat_cents: number;
9521
9604
  vat_rate: number;
9605
+ verzonden_naar: string | null;
9522
9606
  viewed_at: string | null;
9523
9607
  volgnummer: number | null;
9608
+ voorwaarden: string | null;
9524
9609
  werkbon_id: string | null;
9525
9610
  work_location_id: string | null;
9526
9611
  };
9527
9612
  Insert: {
9613
+ aandachtspunten?: string | null;
9528
9614
  ai_generated?: boolean;
9529
9615
  approved_at?: string | null;
9530
9616
  binnen_mandaat?: boolean;
@@ -9540,6 +9626,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9540
9626
  notities?: string | null;
9541
9627
  offerte_number?: string | null;
9542
9628
  omschrijving?: string;
9629
+ onderwerp?: string | null;
9543
9630
  rejected_at?: string | null;
9544
9631
  sent_at?: string | null;
9545
9632
  source_number?: string | null;
@@ -9552,12 +9639,15 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9552
9639
  valid_until?: string | null;
9553
9640
  vat_cents?: number;
9554
9641
  vat_rate?: number;
9642
+ verzonden_naar?: string | null;
9555
9643
  viewed_at?: string | null;
9556
9644
  volgnummer?: number | null;
9645
+ voorwaarden?: string | null;
9557
9646
  werkbon_id?: string | null;
9558
9647
  work_location_id?: string | null;
9559
9648
  };
9560
9649
  Update: {
9650
+ aandachtspunten?: string | null;
9561
9651
  ai_generated?: boolean;
9562
9652
  approved_at?: string | null;
9563
9653
  binnen_mandaat?: boolean;
@@ -9573,6 +9663,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9573
9663
  notities?: string | null;
9574
9664
  offerte_number?: string | null;
9575
9665
  omschrijving?: string;
9666
+ onderwerp?: string | null;
9576
9667
  rejected_at?: string | null;
9577
9668
  sent_at?: string | null;
9578
9669
  source_number?: string | null;
@@ -9585,8 +9676,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9585
9676
  valid_until?: string | null;
9586
9677
  vat_cents?: number;
9587
9678
  vat_rate?: number;
9679
+ verzonden_naar?: string | null;
9588
9680
  viewed_at?: string | null;
9589
9681
  volgnummer?: number | null;
9682
+ voorwaarden?: string | null;
9590
9683
  werkbon_id?: string | null;
9591
9684
  work_location_id?: string | null;
9592
9685
  };
@@ -21664,6 +21757,51 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
21664
21757
  referencedColumns: ["id"];
21665
21758
  }];
21666
21759
  };
21760
+ vakantie_uitbetalingen: {
21761
+ Row: {
21762
+ created_at: string;
21763
+ created_by: string | null;
21764
+ days: number;
21765
+ id: string;
21766
+ note: string | null;
21767
+ updated_at: string;
21768
+ user_id: string;
21769
+ year: number;
21770
+ };
21771
+ Insert: {
21772
+ created_at?: string;
21773
+ created_by?: string | null;
21774
+ days: number;
21775
+ id?: string;
21776
+ note?: string | null;
21777
+ updated_at?: string;
21778
+ user_id: string;
21779
+ year?: number;
21780
+ };
21781
+ Update: {
21782
+ created_at?: string;
21783
+ created_by?: string | null;
21784
+ days?: number;
21785
+ id?: string;
21786
+ note?: string | null;
21787
+ updated_at?: string;
21788
+ user_id?: string;
21789
+ year?: number;
21790
+ };
21791
+ Relationships: [{
21792
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
21793
+ columns: ["created_by"];
21794
+ isOneToOne: false;
21795
+ referencedRelation: "profiles";
21796
+ referencedColumns: ["id"];
21797
+ }, {
21798
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
21799
+ columns: ["user_id"];
21800
+ isOneToOne: false;
21801
+ referencedRelation: "profiles";
21802
+ referencedColumns: ["id"];
21803
+ }];
21804
+ };
21667
21805
  van_inventories: {
21668
21806
  Row: {
21669
21807
  barcode: string | null;
@@ -22948,6 +23086,78 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22948
23086
  referencedColumns: ["id"];
22949
23087
  }];
22950
23088
  };
23089
+ werkbon_voorstellen: {
23090
+ Row: {
23091
+ bron_werkbon_id: string;
23092
+ budget_mandate_cents: number;
23093
+ created_at: string;
23094
+ created_by: string;
23095
+ customer_id: string | null;
23096
+ id: string;
23097
+ payload: import("../integrations/supabase/types").Json;
23098
+ reden: string | null;
23099
+ status: string;
23100
+ updated_at: string;
23101
+ verwerkt_door: string | null;
23102
+ verwerkt_op: string | null;
23103
+ werkbon_id: string | null;
23104
+ };
23105
+ Insert: {
23106
+ bron_werkbon_id: string;
23107
+ budget_mandate_cents?: number;
23108
+ created_at?: string;
23109
+ created_by?: string;
23110
+ customer_id?: string | null;
23111
+ id?: string;
23112
+ payload?: import("../integrations/supabase/types").Json;
23113
+ reden?: string | null;
23114
+ status?: string;
23115
+ updated_at?: string;
23116
+ verwerkt_door?: string | null;
23117
+ verwerkt_op?: string | null;
23118
+ werkbon_id?: string | null;
23119
+ };
23120
+ Update: {
23121
+ bron_werkbon_id?: string;
23122
+ budget_mandate_cents?: number;
23123
+ created_at?: string;
23124
+ created_by?: string;
23125
+ customer_id?: string | null;
23126
+ id?: string;
23127
+ payload?: import("../integrations/supabase/types").Json;
23128
+ reden?: string | null;
23129
+ status?: string;
23130
+ updated_at?: string;
23131
+ verwerkt_door?: string | null;
23132
+ verwerkt_op?: string | null;
23133
+ werkbon_id?: string | null;
23134
+ };
23135
+ Relationships: [{
23136
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23137
+ columns: ["bron_werkbon_id"];
23138
+ isOneToOne: false;
23139
+ referencedRelation: "werkbonnen";
23140
+ referencedColumns: ["id"];
23141
+ }, {
23142
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23143
+ columns: ["bron_werkbon_id"];
23144
+ isOneToOne: false;
23145
+ referencedRelation: "wo_overview";
23146
+ referencedColumns: ["id"];
23147
+ }, {
23148
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23149
+ columns: ["werkbon_id"];
23150
+ isOneToOne: false;
23151
+ referencedRelation: "werkbonnen";
23152
+ referencedColumns: ["id"];
23153
+ }, {
23154
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23155
+ columns: ["werkbon_id"];
23156
+ isOneToOne: false;
23157
+ referencedRelation: "wo_overview";
23158
+ referencedColumns: ["id"];
23159
+ }];
23160
+ };
22951
23161
  werkbonnen: {
22952
23162
  Row: {
22953
23163
  assigned_user_id: string | null;
@@ -24188,6 +24398,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24188
24398
  };
24189
24399
  Returns: undefined;
24190
24400
  };
24401
+ _wo_is_planner: {
24402
+ Args: never;
24403
+ Returns: boolean;
24404
+ };
24191
24405
  afh_city_code: {
24192
24406
  Args: {
24193
24407
  _city: string;
@@ -25300,6 +25514,22 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25300
25514
  };
25301
25515
  Returns: number;
25302
25516
  };
25517
+ get_product_stock: {
25518
+ Args: {
25519
+ p_product_id: string;
25520
+ };
25521
+ Returns: {
25522
+ connection_id: string;
25523
+ incoming_stock: number;
25524
+ minimum_stock: number;
25525
+ notes: string;
25526
+ physical_stock: number;
25527
+ product_id: string;
25528
+ reserved_stock: number;
25529
+ trade_item_key: string;
25530
+ updated_at: string;
25531
+ }[];
25532
+ };
25303
25533
  get_room_busy_windows: {
25304
25534
  Args: {
25305
25535
  p_from: string;
@@ -25637,6 +25867,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25637
25867
  };
25638
25868
  Returns: number;
25639
25869
  };
25870
+ invoice_branding_snapshot: {
25871
+ Args: never;
25872
+ Returns: import("../integrations/supabase/types").Json;
25873
+ };
25640
25874
  invoice_create_from_source: {
25641
25875
  Args: {
25642
25876
  _payload?: import("../integrations/supabase/types").Json;
@@ -25671,6 +25905,17 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25671
25905
  };
25672
25906
  Returns: import("../integrations/supabase/types").Json;
25673
25907
  };
25908
+ invoice_mark_sent: {
25909
+ Args: {
25910
+ _invoice_id: string;
25911
+ _to: string;
25912
+ };
25913
+ Returns: undefined;
25914
+ };
25915
+ invoice_peek_next_number: {
25916
+ Args: never;
25917
+ Returns: string;
25918
+ };
25674
25919
  invoice_ready_work_orders: {
25675
25920
  Args: {
25676
25921
  _limit?: number;
@@ -25683,6 +25928,18 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25683
25928
  };
25684
25929
  Returns: import("../integrations/supabase/types").Json;
25685
25930
  };
25931
+ invoice_save_branding_settings: {
25932
+ Args: {
25933
+ _payload: import("../integrations/supabase/types").Json;
25934
+ };
25935
+ Returns: import("../integrations/supabase/types").Json;
25936
+ };
25937
+ invoice_set_email_purpose: {
25938
+ Args: {
25939
+ _purpose: string;
25940
+ };
25941
+ Returns: string;
25942
+ };
25686
25943
  invoice_source_lines: {
25687
25944
  Args: {
25688
25945
  _source_id: string;
@@ -25690,6 +25947,19 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25690
25947
  };
25691
25948
  Returns: import("../integrations/supabase/types").Json;
25692
25949
  };
25950
+ invoice_update_full: {
25951
+ Args: {
25952
+ _invoice_id: string;
25953
+ _payload: import("../integrations/supabase/types").Json;
25954
+ };
25955
+ Returns: import("../integrations/supabase/types").Json;
25956
+ };
25957
+ invoice_work_order_locked: {
25958
+ Args: {
25959
+ _werkbon_id: string;
25960
+ };
25961
+ Returns: import("../integrations/supabase/types").Json;
25962
+ };
25693
25963
  is_authenticated: {
25694
25964
  Args: never;
25695
25965
  Returns: boolean;
@@ -28989,6 +29259,19 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
28989
29259
  };
28990
29260
  Returns: boolean;
28991
29261
  };
29262
+ quote_assign_number: {
29263
+ Args: {
29264
+ _offerte_id: string;
29265
+ };
29266
+ Returns: string;
29267
+ };
29268
+ quote_create_follow_up_now: {
29269
+ Args: {
29270
+ _offerte_id: string;
29271
+ _payload?: import("../integrations/supabase/types").Json;
29272
+ };
29273
+ Returns: import("../integrations/supabase/types").Json;
29274
+ };
28992
29275
  quote_create_from_source: {
28993
29276
  Args: {
28994
29277
  _payload?: import("../integrations/supabase/types").Json;
@@ -29702,6 +29985,26 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
29702
29985
  };
29703
29986
  Returns: undefined;
29704
29987
  };
29988
+ set_product_stock: {
29989
+ Args: {
29990
+ p_incoming_stock?: number;
29991
+ p_minimum_stock?: number;
29992
+ p_notes?: string;
29993
+ p_physical_stock: number;
29994
+ p_product_id: string;
29995
+ };
29996
+ Returns: {
29997
+ connection_id: string;
29998
+ incoming_stock: number;
29999
+ minimum_stock: number;
30000
+ notes: string;
30001
+ physical_stock: number;
30002
+ product_id: string;
30003
+ reserved_stock: number;
30004
+ trade_item_key: string;
30005
+ updated_at: string;
30006
+ }[];
30007
+ };
29705
30008
  show_limit: {
29706
30009
  Args: never;
29707
30010
  Returns: number;
@@ -30226,6 +30529,13 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
30226
30529
  };
30227
30530
  Returns: number;
30228
30531
  };
30532
+ vakantie_overuren: {
30533
+ Args: {
30534
+ _user_id: string;
30535
+ _year?: number;
30536
+ };
30537
+ Returns: number;
30538
+ };
30229
30539
  vakantie_saldo: {
30230
30540
  Args: {
30231
30541
  _user_id: string;
@@ -30233,7 +30543,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
30233
30543
  };
30234
30544
  Returns: {
30235
30545
  day_hours: number;
30546
+ earned_from_overtime_days: number;
30236
30547
  entitlement_days: number;
30548
+ hours_to_next_day: number;
30549
+ overtime_hours: number;
30550
+ overtime_remainder_hours: number;
30551
+ paid_out_days: number;
30237
30552
  remaining_days: number;
30238
30553
  used_days: number;
30239
30554
  }[];
@@ -30244,7 +30559,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
30244
30559
  };
30245
30560
  Returns: {
30246
30561
  day_hours: number;
30562
+ earned_from_overtime_days: number;
30247
30563
  entitlement_days: number;
30564
+ hours_to_next_day: number;
30565
+ overtime_hours: number;
30566
+ overtime_remainder_hours: number;
30567
+ paid_out_days: number;
30248
30568
  remaining_days: number;
30249
30569
  used_days: number;
30250
30570
  user_id: string;
@@ -30298,12 +30618,25 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
30298
30618
  };
30299
30619
  Returns: import("../integrations/supabase/types").Json;
30300
30620
  };
30621
+ wo_list_proposals: {
30622
+ Args: {
30623
+ _status?: string;
30624
+ };
30625
+ Returns: import("../integrations/supabase/types").Json;
30626
+ };
30301
30627
  wo_process_offerte_request: {
30302
30628
  Args: {
30303
30629
  _queue_id: string;
30304
30630
  };
30305
30631
  Returns: import("../integrations/supabase/types").Json;
30306
30632
  };
30633
+ wo_process_proposal: {
30634
+ Args: {
30635
+ _id: string;
30636
+ _overrides?: import("../integrations/supabase/types").Json;
30637
+ };
30638
+ Returns: import("../integrations/supabase/types").Json;
30639
+ };
30307
30640
  wo_reject_offerte_request: {
30308
30641
  Args: {
30309
30642
  _queue_id: string;
@@ -30311,6 +30644,13 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
30311
30644
  };
30312
30645
  Returns: import("../integrations/supabase/types").Json;
30313
30646
  };
30647
+ wo_reject_proposal: {
30648
+ Args: {
30649
+ _id: string;
30650
+ _reden?: string;
30651
+ };
30652
+ Returns: import("../integrations/supabase/types").Json;
30653
+ };
30314
30654
  wo_set_status: {
30315
30655
  Args: {
30316
30656
  _reason?: string;
@@ -38610,6 +38950,69 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38610
38950
  };
38611
38951
  Relationships: [];
38612
38952
  };
38953
+ invoice_branding_settings: {
38954
+ Row: {
38955
+ address: string;
38956
+ chamber_of_commerce_number: string;
38957
+ city: string;
38958
+ company_name: string;
38959
+ created_at: string;
38960
+ email: string;
38961
+ email_purpose: string | null;
38962
+ iban: string;
38963
+ logo_path: string | null;
38964
+ payment_term_days: number;
38965
+ phone: string;
38966
+ postal_code: string;
38967
+ primary_color: string;
38968
+ secondary_color: string;
38969
+ singleton_key: boolean;
38970
+ updated_at: string;
38971
+ vat_identification_number: string;
38972
+ website: string;
38973
+ };
38974
+ Insert: {
38975
+ address?: string;
38976
+ chamber_of_commerce_number?: string;
38977
+ city?: string;
38978
+ company_name?: string;
38979
+ created_at?: string;
38980
+ email?: string;
38981
+ email_purpose?: string | null;
38982
+ iban?: string;
38983
+ logo_path?: string | null;
38984
+ payment_term_days?: number;
38985
+ phone?: string;
38986
+ postal_code?: string;
38987
+ primary_color?: string;
38988
+ secondary_color?: string;
38989
+ singleton_key?: boolean;
38990
+ updated_at?: string;
38991
+ vat_identification_number?: string;
38992
+ website?: string;
38993
+ };
38994
+ Update: {
38995
+ address?: string;
38996
+ chamber_of_commerce_number?: string;
38997
+ city?: string;
38998
+ company_name?: string;
38999
+ created_at?: string;
39000
+ email?: string;
39001
+ email_purpose?: string | null;
39002
+ iban?: string;
39003
+ logo_path?: string | null;
39004
+ payment_term_days?: number;
39005
+ phone?: string;
39006
+ postal_code?: string;
39007
+ primary_color?: string;
39008
+ secondary_color?: string;
39009
+ singleton_key?: boolean;
39010
+ updated_at?: string;
39011
+ vat_identification_number?: string;
39012
+ website?: string;
39013
+ };
39014
+ Relationships: [];
39015
+ };
38613
39016
  invoice_items: {
38614
39017
  Row: {
38615
39018
  created_at: string;
@@ -38623,6 +39026,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38623
39026
  total_cents: number;
38624
39027
  unit: string;
38625
39028
  unit_price_cents: number;
39029
+ vat_rate: number | null;
38626
39030
  };
38627
39031
  Insert: {
38628
39032
  created_at?: string;
@@ -38636,6 +39040,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38636
39040
  total_cents?: number;
38637
39041
  unit?: string;
38638
39042
  unit_price_cents?: number;
39043
+ vat_rate?: number | null;
38639
39044
  };
38640
39045
  Update: {
38641
39046
  created_at?: string;
@@ -38649,6 +39054,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38649
39054
  total_cents?: number;
38650
39055
  unit?: string;
38651
39056
  unit_price_cents?: number;
39057
+ vat_rate?: number | null;
38652
39058
  };
38653
39059
  Relationships: [{
38654
39060
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -38894,6 +39300,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38894
39300
  };
38895
39301
  invoices: {
38896
39302
  Row: {
39303
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
38897
39304
  created_at: string;
38898
39305
  created_by: string | null;
38899
39306
  customer_address: string | null;
@@ -38912,6 +39319,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38912
39319
  note: string | null;
38913
39320
  payment_term_days: number;
38914
39321
  reference: string | null;
39322
+ sent_at: string | null;
39323
+ sent_to: string | null;
38915
39324
  source_number: string | null;
38916
39325
  source_ref: string | null;
38917
39326
  source_type: string;
@@ -38924,6 +39333,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38924
39333
  work_address: string | null;
38925
39334
  };
38926
39335
  Insert: {
39336
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38927
39337
  created_at?: string;
38928
39338
  created_by?: string | null;
38929
39339
  customer_address?: string | null;
@@ -38942,6 +39352,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38942
39352
  note?: string | null;
38943
39353
  payment_term_days?: number;
38944
39354
  reference?: string | null;
39355
+ sent_at?: string | null;
39356
+ sent_to?: string | null;
38945
39357
  source_number?: string | null;
38946
39358
  source_ref?: string | null;
38947
39359
  source_type?: string;
@@ -38954,6 +39366,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38954
39366
  work_address?: string | null;
38955
39367
  };
38956
39368
  Update: {
39369
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38957
39370
  created_at?: string;
38958
39371
  created_by?: string | null;
38959
39372
  customer_address?: string | null;
@@ -38972,6 +39385,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38972
39385
  note?: string | null;
38973
39386
  payment_term_days?: number;
38974
39387
  reference?: string | null;
39388
+ sent_at?: string | null;
39389
+ sent_to?: string | null;
38975
39390
  source_number?: string | null;
38976
39391
  source_ref?: string | null;
38977
39392
  source_type?: string;
@@ -39680,6 +40095,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39680
40095
  quantity: number;
39681
40096
  sort_order: number;
39682
40097
  source: string;
40098
+ unit: string | null;
39683
40099
  unit_price_cents: number;
39684
40100
  updated_at: string;
39685
40101
  };
@@ -39693,6 +40109,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39693
40109
  quantity?: number;
39694
40110
  sort_order?: number;
39695
40111
  source?: string;
40112
+ unit?: string | null;
39696
40113
  unit_price_cents?: number;
39697
40114
  updated_at?: string;
39698
40115
  };
@@ -39706,6 +40123,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39706
40123
  quantity?: number;
39707
40124
  sort_order?: number;
39708
40125
  source?: string;
40126
+ unit?: string | null;
39709
40127
  unit_price_cents?: number;
39710
40128
  updated_at?: string;
39711
40129
  };
@@ -39729,6 +40147,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39729
40147
  created_at: string;
39730
40148
  default_geldigheid_dagen: number;
39731
40149
  default_vat_rate: number;
40150
+ email_purpose: string | null;
39732
40151
  id: string;
39733
40152
  singleton: boolean;
39734
40153
  updated_at: string;
@@ -39738,6 +40157,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39738
40157
  created_at?: string;
39739
40158
  default_geldigheid_dagen?: number;
39740
40159
  default_vat_rate?: number;
40160
+ email_purpose?: string | null;
39741
40161
  id?: string;
39742
40162
  singleton?: boolean;
39743
40163
  updated_at?: string;
@@ -39747,6 +40167,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39747
40167
  created_at?: string;
39748
40168
  default_geldigheid_dagen?: number;
39749
40169
  default_vat_rate?: number;
40170
+ email_purpose?: string | null;
39750
40171
  id?: string;
39751
40172
  singleton?: boolean;
39752
40173
  updated_at?: string;
@@ -39839,6 +40260,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39839
40260
  };
39840
40261
  itk_offertes: {
39841
40262
  Row: {
40263
+ aandachtspunten: string | null;
39842
40264
  ai_generated: boolean;
39843
40265
  approved_at: string | null;
39844
40266
  binnen_mandaat: boolean;
@@ -39854,6 +40276,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39854
40276
  notities: string | null;
39855
40277
  offerte_number: string | null;
39856
40278
  omschrijving: string;
40279
+ onderwerp: string | null;
39857
40280
  rejected_at: string | null;
39858
40281
  sent_at: string | null;
39859
40282
  source_number: string | null;
@@ -39866,12 +40289,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39866
40289
  valid_until: string | null;
39867
40290
  vat_cents: number;
39868
40291
  vat_rate: number;
40292
+ verzonden_naar: string | null;
39869
40293
  viewed_at: string | null;
39870
40294
  volgnummer: number | null;
40295
+ voorwaarden: string | null;
39871
40296
  werkbon_id: string | null;
39872
40297
  work_location_id: string | null;
39873
40298
  };
39874
40299
  Insert: {
40300
+ aandachtspunten?: string | null;
39875
40301
  ai_generated?: boolean;
39876
40302
  approved_at?: string | null;
39877
40303
  binnen_mandaat?: boolean;
@@ -39887,6 +40313,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39887
40313
  notities?: string | null;
39888
40314
  offerte_number?: string | null;
39889
40315
  omschrijving?: string;
40316
+ onderwerp?: string | null;
39890
40317
  rejected_at?: string | null;
39891
40318
  sent_at?: string | null;
39892
40319
  source_number?: string | null;
@@ -39899,12 +40326,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39899
40326
  valid_until?: string | null;
39900
40327
  vat_cents?: number;
39901
40328
  vat_rate?: number;
40329
+ verzonden_naar?: string | null;
39902
40330
  viewed_at?: string | null;
39903
40331
  volgnummer?: number | null;
40332
+ voorwaarden?: string | null;
39904
40333
  werkbon_id?: string | null;
39905
40334
  work_location_id?: string | null;
39906
40335
  };
39907
40336
  Update: {
40337
+ aandachtspunten?: string | null;
39908
40338
  ai_generated?: boolean;
39909
40339
  approved_at?: string | null;
39910
40340
  binnen_mandaat?: boolean;
@@ -39920,6 +40350,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39920
40350
  notities?: string | null;
39921
40351
  offerte_number?: string | null;
39922
40352
  omschrijving?: string;
40353
+ onderwerp?: string | null;
39923
40354
  rejected_at?: string | null;
39924
40355
  sent_at?: string | null;
39925
40356
  source_number?: string | null;
@@ -39932,8 +40363,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39932
40363
  valid_until?: string | null;
39933
40364
  vat_cents?: number;
39934
40365
  vat_rate?: number;
40366
+ verzonden_naar?: string | null;
39935
40367
  viewed_at?: string | null;
39936
40368
  volgnummer?: number | null;
40369
+ voorwaarden?: string | null;
39937
40370
  werkbon_id?: string | null;
39938
40371
  work_location_id?: string | null;
39939
40372
  };
@@ -52011,6 +52444,51 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52011
52444
  referencedColumns: ["id"];
52012
52445
  }];
52013
52446
  };
52447
+ vakantie_uitbetalingen: {
52448
+ Row: {
52449
+ created_at: string;
52450
+ created_by: string | null;
52451
+ days: number;
52452
+ id: string;
52453
+ note: string | null;
52454
+ updated_at: string;
52455
+ user_id: string;
52456
+ year: number;
52457
+ };
52458
+ Insert: {
52459
+ created_at?: string;
52460
+ created_by?: string | null;
52461
+ days: number;
52462
+ id?: string;
52463
+ note?: string | null;
52464
+ updated_at?: string;
52465
+ user_id: string;
52466
+ year?: number;
52467
+ };
52468
+ Update: {
52469
+ created_at?: string;
52470
+ created_by?: string | null;
52471
+ days?: number;
52472
+ id?: string;
52473
+ note?: string | null;
52474
+ updated_at?: string;
52475
+ user_id?: string;
52476
+ year?: number;
52477
+ };
52478
+ Relationships: [{
52479
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
52480
+ columns: ["created_by"];
52481
+ isOneToOne: false;
52482
+ referencedRelation: "profiles";
52483
+ referencedColumns: ["id"];
52484
+ }, {
52485
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
52486
+ columns: ["user_id"];
52487
+ isOneToOne: false;
52488
+ referencedRelation: "profiles";
52489
+ referencedColumns: ["id"];
52490
+ }];
52491
+ };
52014
52492
  van_inventories: {
52015
52493
  Row: {
52016
52494
  barcode: string | null;
@@ -53295,6 +53773,78 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
53295
53773
  referencedColumns: ["id"];
53296
53774
  }];
53297
53775
  };
53776
+ werkbon_voorstellen: {
53777
+ Row: {
53778
+ bron_werkbon_id: string;
53779
+ budget_mandate_cents: number;
53780
+ created_at: string;
53781
+ created_by: string;
53782
+ customer_id: string | null;
53783
+ id: string;
53784
+ payload: import("../integrations/supabase/types").Json;
53785
+ reden: string | null;
53786
+ status: string;
53787
+ updated_at: string;
53788
+ verwerkt_door: string | null;
53789
+ verwerkt_op: string | null;
53790
+ werkbon_id: string | null;
53791
+ };
53792
+ Insert: {
53793
+ bron_werkbon_id: string;
53794
+ budget_mandate_cents?: number;
53795
+ created_at?: string;
53796
+ created_by?: string;
53797
+ customer_id?: string | null;
53798
+ id?: string;
53799
+ payload?: import("../integrations/supabase/types").Json;
53800
+ reden?: string | null;
53801
+ status?: string;
53802
+ updated_at?: string;
53803
+ verwerkt_door?: string | null;
53804
+ verwerkt_op?: string | null;
53805
+ werkbon_id?: string | null;
53806
+ };
53807
+ Update: {
53808
+ bron_werkbon_id?: string;
53809
+ budget_mandate_cents?: number;
53810
+ created_at?: string;
53811
+ created_by?: string;
53812
+ customer_id?: string | null;
53813
+ id?: string;
53814
+ payload?: import("../integrations/supabase/types").Json;
53815
+ reden?: string | null;
53816
+ status?: string;
53817
+ updated_at?: string;
53818
+ verwerkt_door?: string | null;
53819
+ verwerkt_op?: string | null;
53820
+ werkbon_id?: string | null;
53821
+ };
53822
+ Relationships: [{
53823
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
53824
+ columns: ["bron_werkbon_id"];
53825
+ isOneToOne: false;
53826
+ referencedRelation: "werkbonnen";
53827
+ referencedColumns: ["id"];
53828
+ }, {
53829
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
53830
+ columns: ["bron_werkbon_id"];
53831
+ isOneToOne: false;
53832
+ referencedRelation: "wo_overview";
53833
+ referencedColumns: ["id"];
53834
+ }, {
53835
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
53836
+ columns: ["werkbon_id"];
53837
+ isOneToOne: false;
53838
+ referencedRelation: "werkbonnen";
53839
+ referencedColumns: ["id"];
53840
+ }, {
53841
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
53842
+ columns: ["werkbon_id"];
53843
+ isOneToOne: false;
53844
+ referencedRelation: "wo_overview";
53845
+ referencedColumns: ["id"];
53846
+ }];
53847
+ };
53298
53848
  werkbonnen: {
53299
53849
  Row: {
53300
53850
  assigned_user_id: string | null;
@@ -54535,6 +55085,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
54535
55085
  };
54536
55086
  Returns: undefined;
54537
55087
  };
55088
+ _wo_is_planner: {
55089
+ Args: never;
55090
+ Returns: boolean;
55091
+ };
54538
55092
  afh_city_code: {
54539
55093
  Args: {
54540
55094
  _city: string;
@@ -55647,6 +56201,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
55647
56201
  };
55648
56202
  Returns: number;
55649
56203
  };
56204
+ get_product_stock: {
56205
+ Args: {
56206
+ p_product_id: string;
56207
+ };
56208
+ Returns: {
56209
+ connection_id: string;
56210
+ incoming_stock: number;
56211
+ minimum_stock: number;
56212
+ notes: string;
56213
+ physical_stock: number;
56214
+ product_id: string;
56215
+ reserved_stock: number;
56216
+ trade_item_key: string;
56217
+ updated_at: string;
56218
+ }[];
56219
+ };
55650
56220
  get_room_busy_windows: {
55651
56221
  Args: {
55652
56222
  p_from: string;
@@ -55984,6 +56554,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
55984
56554
  };
55985
56555
  Returns: number;
55986
56556
  };
56557
+ invoice_branding_snapshot: {
56558
+ Args: never;
56559
+ Returns: import("../integrations/supabase/types").Json;
56560
+ };
55987
56561
  invoice_create_from_source: {
55988
56562
  Args: {
55989
56563
  _payload?: import("../integrations/supabase/types").Json;
@@ -56018,6 +56592,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
56018
56592
  };
56019
56593
  Returns: import("../integrations/supabase/types").Json;
56020
56594
  };
56595
+ invoice_mark_sent: {
56596
+ Args: {
56597
+ _invoice_id: string;
56598
+ _to: string;
56599
+ };
56600
+ Returns: undefined;
56601
+ };
56602
+ invoice_peek_next_number: {
56603
+ Args: never;
56604
+ Returns: string;
56605
+ };
56021
56606
  invoice_ready_work_orders: {
56022
56607
  Args: {
56023
56608
  _limit?: number;
@@ -56030,6 +56615,18 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
56030
56615
  };
56031
56616
  Returns: import("../integrations/supabase/types").Json;
56032
56617
  };
56618
+ invoice_save_branding_settings: {
56619
+ Args: {
56620
+ _payload: import("../integrations/supabase/types").Json;
56621
+ };
56622
+ Returns: import("../integrations/supabase/types").Json;
56623
+ };
56624
+ invoice_set_email_purpose: {
56625
+ Args: {
56626
+ _purpose: string;
56627
+ };
56628
+ Returns: string;
56629
+ };
56033
56630
  invoice_source_lines: {
56034
56631
  Args: {
56035
56632
  _source_id: string;
@@ -56037,6 +56634,19 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
56037
56634
  };
56038
56635
  Returns: import("../integrations/supabase/types").Json;
56039
56636
  };
56637
+ invoice_update_full: {
56638
+ Args: {
56639
+ _invoice_id: string;
56640
+ _payload: import("../integrations/supabase/types").Json;
56641
+ };
56642
+ Returns: import("../integrations/supabase/types").Json;
56643
+ };
56644
+ invoice_work_order_locked: {
56645
+ Args: {
56646
+ _werkbon_id: string;
56647
+ };
56648
+ Returns: import("../integrations/supabase/types").Json;
56649
+ };
56040
56650
  is_authenticated: {
56041
56651
  Args: never;
56042
56652
  Returns: boolean;
@@ -59336,6 +59946,19 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
59336
59946
  };
59337
59947
  Returns: boolean;
59338
59948
  };
59949
+ quote_assign_number: {
59950
+ Args: {
59951
+ _offerte_id: string;
59952
+ };
59953
+ Returns: string;
59954
+ };
59955
+ quote_create_follow_up_now: {
59956
+ Args: {
59957
+ _offerte_id: string;
59958
+ _payload?: import("../integrations/supabase/types").Json;
59959
+ };
59960
+ Returns: import("../integrations/supabase/types").Json;
59961
+ };
59339
59962
  quote_create_from_source: {
59340
59963
  Args: {
59341
59964
  _payload?: import("../integrations/supabase/types").Json;
@@ -60049,6 +60672,26 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60049
60672
  };
60050
60673
  Returns: undefined;
60051
60674
  };
60675
+ set_product_stock: {
60676
+ Args: {
60677
+ p_incoming_stock?: number;
60678
+ p_minimum_stock?: number;
60679
+ p_notes?: string;
60680
+ p_physical_stock: number;
60681
+ p_product_id: string;
60682
+ };
60683
+ Returns: {
60684
+ connection_id: string;
60685
+ incoming_stock: number;
60686
+ minimum_stock: number;
60687
+ notes: string;
60688
+ physical_stock: number;
60689
+ product_id: string;
60690
+ reserved_stock: number;
60691
+ trade_item_key: string;
60692
+ updated_at: string;
60693
+ }[];
60694
+ };
60052
60695
  show_limit: {
60053
60696
  Args: never;
60054
60697
  Returns: number;
@@ -60573,6 +61216,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60573
61216
  };
60574
61217
  Returns: number;
60575
61218
  };
61219
+ vakantie_overuren: {
61220
+ Args: {
61221
+ _user_id: string;
61222
+ _year?: number;
61223
+ };
61224
+ Returns: number;
61225
+ };
60576
61226
  vakantie_saldo: {
60577
61227
  Args: {
60578
61228
  _user_id: string;
@@ -60580,7 +61230,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60580
61230
  };
60581
61231
  Returns: {
60582
61232
  day_hours: number;
61233
+ earned_from_overtime_days: number;
60583
61234
  entitlement_days: number;
61235
+ hours_to_next_day: number;
61236
+ overtime_hours: number;
61237
+ overtime_remainder_hours: number;
61238
+ paid_out_days: number;
60584
61239
  remaining_days: number;
60585
61240
  used_days: number;
60586
61241
  }[];
@@ -60591,7 +61246,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60591
61246
  };
60592
61247
  Returns: {
60593
61248
  day_hours: number;
61249
+ earned_from_overtime_days: number;
60594
61250
  entitlement_days: number;
61251
+ hours_to_next_day: number;
61252
+ overtime_hours: number;
61253
+ overtime_remainder_hours: number;
61254
+ paid_out_days: number;
60595
61255
  remaining_days: number;
60596
61256
  used_days: number;
60597
61257
  user_id: string;
@@ -60645,12 +61305,25 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60645
61305
  };
60646
61306
  Returns: import("../integrations/supabase/types").Json;
60647
61307
  };
61308
+ wo_list_proposals: {
61309
+ Args: {
61310
+ _status?: string;
61311
+ };
61312
+ Returns: import("../integrations/supabase/types").Json;
61313
+ };
60648
61314
  wo_process_offerte_request: {
60649
61315
  Args: {
60650
61316
  _queue_id: string;
60651
61317
  };
60652
61318
  Returns: import("../integrations/supabase/types").Json;
60653
61319
  };
61320
+ wo_process_proposal: {
61321
+ Args: {
61322
+ _id: string;
61323
+ _overrides?: import("../integrations/supabase/types").Json;
61324
+ };
61325
+ Returns: import("../integrations/supabase/types").Json;
61326
+ };
60654
61327
  wo_reject_offerte_request: {
60655
61328
  Args: {
60656
61329
  _queue_id: string;
@@ -60658,6 +61331,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60658
61331
  };
60659
61332
  Returns: import("../integrations/supabase/types").Json;
60660
61333
  };
61334
+ wo_reject_proposal: {
61335
+ Args: {
61336
+ _id: string;
61337
+ _reden?: string;
61338
+ };
61339
+ Returns: import("../integrations/supabase/types").Json;
61340
+ };
60661
61341
  wo_set_status: {
60662
61342
  Args: {
60663
61343
  _reason?: string;