@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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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;
@@ -38618,6 +38958,69 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38618
38958
  };
38619
38959
  Relationships: [];
38620
38960
  };
38961
+ invoice_branding_settings: {
38962
+ Row: {
38963
+ address: string;
38964
+ chamber_of_commerce_number: string;
38965
+ city: string;
38966
+ company_name: string;
38967
+ created_at: string;
38968
+ email: string;
38969
+ email_purpose: string | null;
38970
+ iban: string;
38971
+ logo_path: string | null;
38972
+ payment_term_days: number;
38973
+ phone: string;
38974
+ postal_code: string;
38975
+ primary_color: string;
38976
+ secondary_color: string;
38977
+ singleton_key: boolean;
38978
+ updated_at: string;
38979
+ vat_identification_number: string;
38980
+ website: string;
38981
+ };
38982
+ Insert: {
38983
+ address?: string;
38984
+ chamber_of_commerce_number?: string;
38985
+ city?: string;
38986
+ company_name?: string;
38987
+ created_at?: string;
38988
+ email?: string;
38989
+ email_purpose?: string | null;
38990
+ iban?: string;
38991
+ logo_path?: string | null;
38992
+ payment_term_days?: number;
38993
+ phone?: string;
38994
+ postal_code?: string;
38995
+ primary_color?: string;
38996
+ secondary_color?: string;
38997
+ singleton_key?: boolean;
38998
+ updated_at?: string;
38999
+ vat_identification_number?: string;
39000
+ website?: string;
39001
+ };
39002
+ Update: {
39003
+ address?: string;
39004
+ chamber_of_commerce_number?: string;
39005
+ city?: string;
39006
+ company_name?: string;
39007
+ created_at?: string;
39008
+ email?: string;
39009
+ email_purpose?: string | null;
39010
+ iban?: string;
39011
+ logo_path?: string | null;
39012
+ payment_term_days?: number;
39013
+ phone?: string;
39014
+ postal_code?: string;
39015
+ primary_color?: string;
39016
+ secondary_color?: string;
39017
+ singleton_key?: boolean;
39018
+ updated_at?: string;
39019
+ vat_identification_number?: string;
39020
+ website?: string;
39021
+ };
39022
+ Relationships: [];
39023
+ };
38621
39024
  invoice_items: {
38622
39025
  Row: {
38623
39026
  created_at: string;
@@ -38631,6 +39034,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38631
39034
  total_cents: number;
38632
39035
  unit: string;
38633
39036
  unit_price_cents: number;
39037
+ vat_rate: number | null;
38634
39038
  };
38635
39039
  Insert: {
38636
39040
  created_at?: string;
@@ -38644,6 +39048,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38644
39048
  total_cents?: number;
38645
39049
  unit?: string;
38646
39050
  unit_price_cents?: number;
39051
+ vat_rate?: number | null;
38647
39052
  };
38648
39053
  Update: {
38649
39054
  created_at?: string;
@@ -38657,6 +39062,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38657
39062
  total_cents?: number;
38658
39063
  unit?: string;
38659
39064
  unit_price_cents?: number;
39065
+ vat_rate?: number | null;
38660
39066
  };
38661
39067
  Relationships: [{
38662
39068
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -38902,6 +39308,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38902
39308
  };
38903
39309
  invoices: {
38904
39310
  Row: {
39311
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
38905
39312
  created_at: string;
38906
39313
  created_by: string | null;
38907
39314
  customer_address: string | null;
@@ -38920,6 +39327,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38920
39327
  note: string | null;
38921
39328
  payment_term_days: number;
38922
39329
  reference: string | null;
39330
+ sent_at: string | null;
39331
+ sent_to: string | null;
38923
39332
  source_number: string | null;
38924
39333
  source_ref: string | null;
38925
39334
  source_type: string;
@@ -38932,6 +39341,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38932
39341
  work_address: string | null;
38933
39342
  };
38934
39343
  Insert: {
39344
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38935
39345
  created_at?: string;
38936
39346
  created_by?: string | null;
38937
39347
  customer_address?: string | null;
@@ -38950,6 +39360,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38950
39360
  note?: string | null;
38951
39361
  payment_term_days?: number;
38952
39362
  reference?: string | null;
39363
+ sent_at?: string | null;
39364
+ sent_to?: string | null;
38953
39365
  source_number?: string | null;
38954
39366
  source_ref?: string | null;
38955
39367
  source_type?: string;
@@ -38962,6 +39374,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38962
39374
  work_address?: string | null;
38963
39375
  };
38964
39376
  Update: {
39377
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38965
39378
  created_at?: string;
38966
39379
  created_by?: string | null;
38967
39380
  customer_address?: string | null;
@@ -38980,6 +39393,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38980
39393
  note?: string | null;
38981
39394
  payment_term_days?: number;
38982
39395
  reference?: string | null;
39396
+ sent_at?: string | null;
39397
+ sent_to?: string | null;
38983
39398
  source_number?: string | null;
38984
39399
  source_ref?: string | null;
38985
39400
  source_type?: string;
@@ -39688,6 +40103,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39688
40103
  quantity: number;
39689
40104
  sort_order: number;
39690
40105
  source: string;
40106
+ unit: string | null;
39691
40107
  unit_price_cents: number;
39692
40108
  updated_at: string;
39693
40109
  };
@@ -39701,6 +40117,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39701
40117
  quantity?: number;
39702
40118
  sort_order?: number;
39703
40119
  source?: string;
40120
+ unit?: string | null;
39704
40121
  unit_price_cents?: number;
39705
40122
  updated_at?: string;
39706
40123
  };
@@ -39714,6 +40131,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39714
40131
  quantity?: number;
39715
40132
  sort_order?: number;
39716
40133
  source?: string;
40134
+ unit?: string | null;
39717
40135
  unit_price_cents?: number;
39718
40136
  updated_at?: string;
39719
40137
  };
@@ -39737,6 +40155,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39737
40155
  created_at: string;
39738
40156
  default_geldigheid_dagen: number;
39739
40157
  default_vat_rate: number;
40158
+ email_purpose: string | null;
39740
40159
  id: string;
39741
40160
  singleton: boolean;
39742
40161
  updated_at: string;
@@ -39746,6 +40165,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39746
40165
  created_at?: string;
39747
40166
  default_geldigheid_dagen?: number;
39748
40167
  default_vat_rate?: number;
40168
+ email_purpose?: string | null;
39749
40169
  id?: string;
39750
40170
  singleton?: boolean;
39751
40171
  updated_at?: string;
@@ -39755,6 +40175,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39755
40175
  created_at?: string;
39756
40176
  default_geldigheid_dagen?: number;
39757
40177
  default_vat_rate?: number;
40178
+ email_purpose?: string | null;
39758
40179
  id?: string;
39759
40180
  singleton?: boolean;
39760
40181
  updated_at?: string;
@@ -39847,6 +40268,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39847
40268
  };
39848
40269
  itk_offertes: {
39849
40270
  Row: {
40271
+ aandachtspunten: string | null;
39850
40272
  ai_generated: boolean;
39851
40273
  approved_at: string | null;
39852
40274
  binnen_mandaat: boolean;
@@ -39862,6 +40284,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39862
40284
  notities: string | null;
39863
40285
  offerte_number: string | null;
39864
40286
  omschrijving: string;
40287
+ onderwerp: string | null;
39865
40288
  rejected_at: string | null;
39866
40289
  sent_at: string | null;
39867
40290
  source_number: string | null;
@@ -39874,12 +40297,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39874
40297
  valid_until: string | null;
39875
40298
  vat_cents: number;
39876
40299
  vat_rate: number;
40300
+ verzonden_naar: string | null;
39877
40301
  viewed_at: string | null;
39878
40302
  volgnummer: number | null;
40303
+ voorwaarden: string | null;
39879
40304
  werkbon_id: string | null;
39880
40305
  work_location_id: string | null;
39881
40306
  };
39882
40307
  Insert: {
40308
+ aandachtspunten?: string | null;
39883
40309
  ai_generated?: boolean;
39884
40310
  approved_at?: string | null;
39885
40311
  binnen_mandaat?: boolean;
@@ -39895,6 +40321,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39895
40321
  notities?: string | null;
39896
40322
  offerte_number?: string | null;
39897
40323
  omschrijving?: string;
40324
+ onderwerp?: string | null;
39898
40325
  rejected_at?: string | null;
39899
40326
  sent_at?: string | null;
39900
40327
  source_number?: string | null;
@@ -39907,12 +40334,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39907
40334
  valid_until?: string | null;
39908
40335
  vat_cents?: number;
39909
40336
  vat_rate?: number;
40337
+ verzonden_naar?: string | null;
39910
40338
  viewed_at?: string | null;
39911
40339
  volgnummer?: number | null;
40340
+ voorwaarden?: string | null;
39912
40341
  werkbon_id?: string | null;
39913
40342
  work_location_id?: string | null;
39914
40343
  };
39915
40344
  Update: {
40345
+ aandachtspunten?: string | null;
39916
40346
  ai_generated?: boolean;
39917
40347
  approved_at?: string | null;
39918
40348
  binnen_mandaat?: boolean;
@@ -39928,6 +40358,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39928
40358
  notities?: string | null;
39929
40359
  offerte_number?: string | null;
39930
40360
  omschrijving?: string;
40361
+ onderwerp?: string | null;
39931
40362
  rejected_at?: string | null;
39932
40363
  sent_at?: string | null;
39933
40364
  source_number?: string | null;
@@ -39940,8 +40371,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39940
40371
  valid_until?: string | null;
39941
40372
  vat_cents?: number;
39942
40373
  vat_rate?: number;
40374
+ verzonden_naar?: string | null;
39943
40375
  viewed_at?: string | null;
39944
40376
  volgnummer?: number | null;
40377
+ voorwaarden?: string | null;
39945
40378
  werkbon_id?: string | null;
39946
40379
  work_location_id?: string | null;
39947
40380
  };
@@ -52019,6 +52452,51 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
52019
52452
  referencedColumns: ["id"];
52020
52453
  }];
52021
52454
  };
52455
+ vakantie_uitbetalingen: {
52456
+ Row: {
52457
+ created_at: string;
52458
+ created_by: string | null;
52459
+ days: number;
52460
+ id: string;
52461
+ note: string | null;
52462
+ updated_at: string;
52463
+ user_id: string;
52464
+ year: number;
52465
+ };
52466
+ Insert: {
52467
+ created_at?: string;
52468
+ created_by?: string | null;
52469
+ days: number;
52470
+ id?: string;
52471
+ note?: string | null;
52472
+ updated_at?: string;
52473
+ user_id: string;
52474
+ year?: number;
52475
+ };
52476
+ Update: {
52477
+ created_at?: string;
52478
+ created_by?: string | null;
52479
+ days?: number;
52480
+ id?: string;
52481
+ note?: string | null;
52482
+ updated_at?: string;
52483
+ user_id?: string;
52484
+ year?: number;
52485
+ };
52486
+ Relationships: [{
52487
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
52488
+ columns: ["created_by"];
52489
+ isOneToOne: false;
52490
+ referencedRelation: "profiles";
52491
+ referencedColumns: ["id"];
52492
+ }, {
52493
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
52494
+ columns: ["user_id"];
52495
+ isOneToOne: false;
52496
+ referencedRelation: "profiles";
52497
+ referencedColumns: ["id"];
52498
+ }];
52499
+ };
52022
52500
  van_inventories: {
52023
52501
  Row: {
52024
52502
  barcode: string | null;
@@ -53303,6 +53781,78 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
53303
53781
  referencedColumns: ["id"];
53304
53782
  }];
53305
53783
  };
53784
+ werkbon_voorstellen: {
53785
+ Row: {
53786
+ bron_werkbon_id: string;
53787
+ budget_mandate_cents: number;
53788
+ created_at: string;
53789
+ created_by: string;
53790
+ customer_id: string | null;
53791
+ id: string;
53792
+ payload: import("../integrations/supabase/types").Json;
53793
+ reden: string | null;
53794
+ status: string;
53795
+ updated_at: string;
53796
+ verwerkt_door: string | null;
53797
+ verwerkt_op: string | null;
53798
+ werkbon_id: string | null;
53799
+ };
53800
+ Insert: {
53801
+ bron_werkbon_id: string;
53802
+ budget_mandate_cents?: number;
53803
+ created_at?: string;
53804
+ created_by?: string;
53805
+ customer_id?: string | null;
53806
+ id?: string;
53807
+ payload?: import("../integrations/supabase/types").Json;
53808
+ reden?: string | null;
53809
+ status?: string;
53810
+ updated_at?: string;
53811
+ verwerkt_door?: string | null;
53812
+ verwerkt_op?: string | null;
53813
+ werkbon_id?: string | null;
53814
+ };
53815
+ Update: {
53816
+ bron_werkbon_id?: string;
53817
+ budget_mandate_cents?: number;
53818
+ created_at?: string;
53819
+ created_by?: string;
53820
+ customer_id?: string | null;
53821
+ id?: string;
53822
+ payload?: import("../integrations/supabase/types").Json;
53823
+ reden?: string | null;
53824
+ status?: string;
53825
+ updated_at?: string;
53826
+ verwerkt_door?: string | null;
53827
+ verwerkt_op?: string | null;
53828
+ werkbon_id?: string | null;
53829
+ };
53830
+ Relationships: [{
53831
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
53832
+ columns: ["bron_werkbon_id"];
53833
+ isOneToOne: false;
53834
+ referencedRelation: "werkbonnen";
53835
+ referencedColumns: ["id"];
53836
+ }, {
53837
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
53838
+ columns: ["bron_werkbon_id"];
53839
+ isOneToOne: false;
53840
+ referencedRelation: "wo_overview";
53841
+ referencedColumns: ["id"];
53842
+ }, {
53843
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
53844
+ columns: ["werkbon_id"];
53845
+ isOneToOne: false;
53846
+ referencedRelation: "werkbonnen";
53847
+ referencedColumns: ["id"];
53848
+ }, {
53849
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
53850
+ columns: ["werkbon_id"];
53851
+ isOneToOne: false;
53852
+ referencedRelation: "wo_overview";
53853
+ referencedColumns: ["id"];
53854
+ }];
53855
+ };
53306
53856
  werkbonnen: {
53307
53857
  Row: {
53308
53858
  assigned_user_id: string | null;
@@ -54543,6 +55093,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
54543
55093
  };
54544
55094
  Returns: undefined;
54545
55095
  };
55096
+ _wo_is_planner: {
55097
+ Args: never;
55098
+ Returns: boolean;
55099
+ };
54546
55100
  afh_city_code: {
54547
55101
  Args: {
54548
55102
  _city: string;
@@ -55655,6 +56209,22 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
55655
56209
  };
55656
56210
  Returns: number;
55657
56211
  };
56212
+ get_product_stock: {
56213
+ Args: {
56214
+ p_product_id: string;
56215
+ };
56216
+ Returns: {
56217
+ connection_id: string;
56218
+ incoming_stock: number;
56219
+ minimum_stock: number;
56220
+ notes: string;
56221
+ physical_stock: number;
56222
+ product_id: string;
56223
+ reserved_stock: number;
56224
+ trade_item_key: string;
56225
+ updated_at: string;
56226
+ }[];
56227
+ };
55658
56228
  get_room_busy_windows: {
55659
56229
  Args: {
55660
56230
  p_from: string;
@@ -55992,6 +56562,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
55992
56562
  };
55993
56563
  Returns: number;
55994
56564
  };
56565
+ invoice_branding_snapshot: {
56566
+ Args: never;
56567
+ Returns: import("../integrations/supabase/types").Json;
56568
+ };
55995
56569
  invoice_create_from_source: {
55996
56570
  Args: {
55997
56571
  _payload?: import("../integrations/supabase/types").Json;
@@ -56026,6 +56600,17 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
56026
56600
  };
56027
56601
  Returns: import("../integrations/supabase/types").Json;
56028
56602
  };
56603
+ invoice_mark_sent: {
56604
+ Args: {
56605
+ _invoice_id: string;
56606
+ _to: string;
56607
+ };
56608
+ Returns: undefined;
56609
+ };
56610
+ invoice_peek_next_number: {
56611
+ Args: never;
56612
+ Returns: string;
56613
+ };
56029
56614
  invoice_ready_work_orders: {
56030
56615
  Args: {
56031
56616
  _limit?: number;
@@ -56038,6 +56623,18 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
56038
56623
  };
56039
56624
  Returns: import("../integrations/supabase/types").Json;
56040
56625
  };
56626
+ invoice_save_branding_settings: {
56627
+ Args: {
56628
+ _payload: import("../integrations/supabase/types").Json;
56629
+ };
56630
+ Returns: import("../integrations/supabase/types").Json;
56631
+ };
56632
+ invoice_set_email_purpose: {
56633
+ Args: {
56634
+ _purpose: string;
56635
+ };
56636
+ Returns: string;
56637
+ };
56041
56638
  invoice_source_lines: {
56042
56639
  Args: {
56043
56640
  _source_id: string;
@@ -56045,6 +56642,19 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
56045
56642
  };
56046
56643
  Returns: import("../integrations/supabase/types").Json;
56047
56644
  };
56645
+ invoice_update_full: {
56646
+ Args: {
56647
+ _invoice_id: string;
56648
+ _payload: import("../integrations/supabase/types").Json;
56649
+ };
56650
+ Returns: import("../integrations/supabase/types").Json;
56651
+ };
56652
+ invoice_work_order_locked: {
56653
+ Args: {
56654
+ _werkbon_id: string;
56655
+ };
56656
+ Returns: import("../integrations/supabase/types").Json;
56657
+ };
56048
56658
  is_authenticated: {
56049
56659
  Args: never;
56050
56660
  Returns: boolean;
@@ -59344,6 +59954,19 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
59344
59954
  };
59345
59955
  Returns: boolean;
59346
59956
  };
59957
+ quote_assign_number: {
59958
+ Args: {
59959
+ _offerte_id: string;
59960
+ };
59961
+ Returns: string;
59962
+ };
59963
+ quote_create_follow_up_now: {
59964
+ Args: {
59965
+ _offerte_id: string;
59966
+ _payload?: import("../integrations/supabase/types").Json;
59967
+ };
59968
+ Returns: import("../integrations/supabase/types").Json;
59969
+ };
59347
59970
  quote_create_from_source: {
59348
59971
  Args: {
59349
59972
  _payload?: import("../integrations/supabase/types").Json;
@@ -60057,6 +60680,26 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
60057
60680
  };
60058
60681
  Returns: undefined;
60059
60682
  };
60683
+ set_product_stock: {
60684
+ Args: {
60685
+ p_incoming_stock?: number;
60686
+ p_minimum_stock?: number;
60687
+ p_notes?: string;
60688
+ p_physical_stock: number;
60689
+ p_product_id: string;
60690
+ };
60691
+ Returns: {
60692
+ connection_id: string;
60693
+ incoming_stock: number;
60694
+ minimum_stock: number;
60695
+ notes: string;
60696
+ physical_stock: number;
60697
+ product_id: string;
60698
+ reserved_stock: number;
60699
+ trade_item_key: string;
60700
+ updated_at: string;
60701
+ }[];
60702
+ };
60060
60703
  show_limit: {
60061
60704
  Args: never;
60062
60705
  Returns: number;
@@ -60581,6 +61224,13 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
60581
61224
  };
60582
61225
  Returns: number;
60583
61226
  };
61227
+ vakantie_overuren: {
61228
+ Args: {
61229
+ _user_id: string;
61230
+ _year?: number;
61231
+ };
61232
+ Returns: number;
61233
+ };
60584
61234
  vakantie_saldo: {
60585
61235
  Args: {
60586
61236
  _user_id: string;
@@ -60588,7 +61238,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
60588
61238
  };
60589
61239
  Returns: {
60590
61240
  day_hours: number;
61241
+ earned_from_overtime_days: number;
60591
61242
  entitlement_days: number;
61243
+ hours_to_next_day: number;
61244
+ overtime_hours: number;
61245
+ overtime_remainder_hours: number;
61246
+ paid_out_days: number;
60592
61247
  remaining_days: number;
60593
61248
  used_days: number;
60594
61249
  }[];
@@ -60599,7 +61254,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
60599
61254
  };
60600
61255
  Returns: {
60601
61256
  day_hours: number;
61257
+ earned_from_overtime_days: number;
60602
61258
  entitlement_days: number;
61259
+ hours_to_next_day: number;
61260
+ overtime_hours: number;
61261
+ overtime_remainder_hours: number;
61262
+ paid_out_days: number;
60603
61263
  remaining_days: number;
60604
61264
  used_days: number;
60605
61265
  user_id: string;
@@ -60653,12 +61313,25 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
60653
61313
  };
60654
61314
  Returns: import("../integrations/supabase/types").Json;
60655
61315
  };
61316
+ wo_list_proposals: {
61317
+ Args: {
61318
+ _status?: string;
61319
+ };
61320
+ Returns: import("../integrations/supabase/types").Json;
61321
+ };
60656
61322
  wo_process_offerte_request: {
60657
61323
  Args: {
60658
61324
  _queue_id: string;
60659
61325
  };
60660
61326
  Returns: import("../integrations/supabase/types").Json;
60661
61327
  };
61328
+ wo_process_proposal: {
61329
+ Args: {
61330
+ _id: string;
61331
+ _overrides?: import("../integrations/supabase/types").Json;
61332
+ };
61333
+ Returns: import("../integrations/supabase/types").Json;
61334
+ };
60662
61335
  wo_reject_offerte_request: {
60663
61336
  Args: {
60664
61337
  _queue_id: string;
@@ -60666,6 +61339,13 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
60666
61339
  };
60667
61340
  Returns: import("../integrations/supabase/types").Json;
60668
61341
  };
61342
+ wo_reject_proposal: {
61343
+ Args: {
61344
+ _id: string;
61345
+ _reden?: string;
61346
+ };
61347
+ Returns: import("../integrations/supabase/types").Json;
61348
+ };
60669
61349
  wo_set_status: {
60670
61350
  Args: {
60671
61351
  _reason?: string;