@flowselections/floriday-voorraad 1.0.33 → 1.0.34

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 (62) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +11 -5
  3. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +2 -0
  4. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -0
  5. package/dist-lib/components/voorraad/ModuleHealthCard.js +40 -0
  6. package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
  7. package/dist-lib/components/voorraad/StockBulkButtons.js +5 -2
  8. package/dist-lib/components/voorraad/StockPushMonitor.d.ts +4 -0
  9. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -0
  10. package/dist-lib/components/voorraad/StockPushMonitor.js +110 -0
  11. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  12. package/dist-lib/components/voorraad/VoorraadPage.js +2 -1
  13. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  14. package/dist-lib/components/voorraad/VoorraadStockCard.js +10 -5
  15. package/dist-lib/hooks/useStockPushJobs.d.ts +23 -0
  16. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -0
  17. package/dist-lib/hooks/useStockPushJobs.js +86 -0
  18. package/dist-lib/hooks/useTradeItemStock.d.ts +12 -0
  19. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  20. package/dist-lib/hooks/useTradeItemStock.js +22 -0
  21. package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
  22. package/dist-lib/hooks/useVoorraadData.js +11 -3
  23. package/dist-lib/index.d.ts +1 -0
  24. package/dist-lib/index.d.ts.map +1 -1
  25. package/dist-lib/index.js +6 -1
  26. package/dist-lib/integrations/supabase/auth-middleware.d.ts +410 -4
  27. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  28. package/dist-lib/integrations/supabase/client.d.ts +410 -4
  29. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  30. package/dist-lib/integrations/supabase/client.server.d.ts +410 -4
  31. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  32. package/dist-lib/integrations/supabase/types.d.ts +411 -5
  33. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  34. package/dist-lib/integrations/supabase/types.js +12 -1
  35. package/dist-lib/lib/centralSecrets.server.js +1 -1
  36. package/dist-lib/lib/floricode-required-features.functions.d.ts +410 -4
  37. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +410 -4
  39. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-env.functions.d.ts +820 -8
  41. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/floriday-gateway.functions.d.ts +2460 -24
  43. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  45. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-gateway.server.js +62 -10
  47. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +820 -8
  48. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1230 -12
  50. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/floriday-writes.functions.d.ts +820 -8
  52. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/module-health.functions.d.ts +41725 -0
  54. package/dist-lib/lib/module-health.functions.d.ts.map +1 -0
  55. package/dist-lib/lib/module-health.functions.js +173 -0
  56. package/dist-lib/lib/module-runtime.server.d.ts +8 -1
  57. package/dist-lib/lib/module-runtime.server.d.ts.map +1 -1
  58. package/dist-lib/lib/module-runtime.server.js +103 -12
  59. package/dist-lib/lib/stock-sync.functions.d.ts +21302 -31
  60. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/stock-sync.functions.js +46 -3
  62. package/package.json +2 -2
@@ -1711,7 +1711,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1711
1711
  city: string | null;
1712
1712
  country: string | null;
1713
1713
  created_at: string;
1714
- customer_id: string | null;
1714
+ customer_id: string;
1715
1715
  external_key: string | null;
1716
1716
  external_provider: string | null;
1717
1717
  floriday_location_id: string | null;
@@ -1735,7 +1735,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1735
1735
  city?: string | null;
1736
1736
  country?: string | null;
1737
1737
  created_at?: string;
1738
- customer_id?: string | null;
1738
+ customer_id: string;
1739
1739
  external_key?: string | null;
1740
1740
  external_provider?: string | null;
1741
1741
  floriday_location_id?: string | null;
@@ -1759,7 +1759,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1759
1759
  city?: string | null;
1760
1760
  country?: string | null;
1761
1761
  created_at?: string;
1762
- customer_id?: string | null;
1762
+ customer_id?: string;
1763
1763
  external_key?: string | null;
1764
1764
  external_provider?: string | null;
1765
1765
  floriday_location_id?: string | null;
@@ -8519,6 +8519,69 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8519
8519
  };
8520
8520
  Relationships: [];
8521
8521
  };
8522
+ logistics_floriday_pushes: {
8523
+ Row: {
8524
+ attempts: number;
8525
+ created_at: string;
8526
+ first_queued_at: string;
8527
+ fulfillment_order_id: string | null;
8528
+ id: string;
8529
+ last_error: string | null;
8530
+ last_error_at: string | null;
8531
+ last_sent_hash: string | null;
8532
+ locked_by: string | null;
8533
+ locked_until: string | null;
8534
+ next_attempt_at: string;
8535
+ order_ref: string;
8536
+ payload: import("../integrations/supabase/types").Json;
8537
+ payload_hash: string | null;
8538
+ revision: number;
8539
+ sent_at: string | null;
8540
+ status: string;
8541
+ updated_at: string;
8542
+ };
8543
+ Insert: {
8544
+ attempts?: number;
8545
+ created_at?: string;
8546
+ first_queued_at?: string;
8547
+ fulfillment_order_id?: string | null;
8548
+ id?: string;
8549
+ last_error?: string | null;
8550
+ last_error_at?: string | null;
8551
+ last_sent_hash?: string | null;
8552
+ locked_by?: string | null;
8553
+ locked_until?: string | null;
8554
+ next_attempt_at?: string;
8555
+ order_ref: string;
8556
+ payload?: import("../integrations/supabase/types").Json;
8557
+ payload_hash?: string | null;
8558
+ revision?: number;
8559
+ sent_at?: string | null;
8560
+ status?: string;
8561
+ updated_at?: string;
8562
+ };
8563
+ Update: {
8564
+ attempts?: number;
8565
+ created_at?: string;
8566
+ first_queued_at?: string;
8567
+ fulfillment_order_id?: string | null;
8568
+ id?: string;
8569
+ last_error?: string | null;
8570
+ last_error_at?: string | null;
8571
+ last_sent_hash?: string | null;
8572
+ locked_by?: string | null;
8573
+ locked_until?: string | null;
8574
+ next_attempt_at?: string;
8575
+ order_ref?: string;
8576
+ payload?: import("../integrations/supabase/types").Json;
8577
+ payload_hash?: string | null;
8578
+ revision?: number;
8579
+ sent_at?: string | null;
8580
+ status?: string;
8581
+ updated_at?: string;
8582
+ };
8583
+ Relationships: [];
8584
+ };
8522
8585
  logistics_formulas: {
8523
8586
  Row: {
8524
8587
  created_at: string;
@@ -9382,14 +9445,17 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9382
9445
  };
9383
9446
  mailbox_messages: {
9384
9447
  Row: {
9448
+ attachments: import("../integrations/supabase/types").Json;
9385
9449
  body_html: string | null;
9386
9450
  body_text: string | null;
9451
+ cc_recipients: import("../integrations/supabase/types").Json;
9387
9452
  connection_id: string | null;
9388
9453
  created_at: string;
9389
9454
  error_message: string | null;
9390
9455
  external_id: string | null;
9391
9456
  from_email: string | null;
9392
9457
  from_name: string | null;
9458
+ has_attachments: boolean;
9393
9459
  id: string;
9394
9460
  message_id: string | null;
9395
9461
  profile_id: string | null;
@@ -9397,18 +9463,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9397
9463
  received_at: string | null;
9398
9464
  status: string;
9399
9465
  subject: string | null;
9466
+ to_recipients: import("../integrations/supabase/types").Json;
9400
9467
  uid: number | null;
9401
9468
  updated_at: string;
9402
9469
  };
9403
9470
  Insert: {
9471
+ attachments?: import("../integrations/supabase/types").Json;
9404
9472
  body_html?: string | null;
9405
9473
  body_text?: string | null;
9474
+ cc_recipients?: import("../integrations/supabase/types").Json;
9406
9475
  connection_id?: string | null;
9407
9476
  created_at?: string;
9408
9477
  error_message?: string | null;
9409
9478
  external_id?: string | null;
9410
9479
  from_email?: string | null;
9411
9480
  from_name?: string | null;
9481
+ has_attachments?: boolean;
9412
9482
  id?: string;
9413
9483
  message_id?: string | null;
9414
9484
  profile_id?: string | null;
@@ -9416,18 +9486,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9416
9486
  received_at?: string | null;
9417
9487
  status?: string;
9418
9488
  subject?: string | null;
9489
+ to_recipients?: import("../integrations/supabase/types").Json;
9419
9490
  uid?: number | null;
9420
9491
  updated_at?: string;
9421
9492
  };
9422
9493
  Update: {
9494
+ attachments?: import("../integrations/supabase/types").Json;
9423
9495
  body_html?: string | null;
9424
9496
  body_text?: string | null;
9497
+ cc_recipients?: import("../integrations/supabase/types").Json;
9425
9498
  connection_id?: string | null;
9426
9499
  created_at?: string;
9427
9500
  error_message?: string | null;
9428
9501
  external_id?: string | null;
9429
9502
  from_email?: string | null;
9430
9503
  from_name?: string | null;
9504
+ has_attachments?: boolean;
9431
9505
  id?: string;
9432
9506
  message_id?: string | null;
9433
9507
  profile_id?: string | null;
@@ -9435,6 +9509,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9435
9509
  received_at?: string | null;
9436
9510
  status?: string;
9437
9511
  subject?: string | null;
9512
+ to_recipients?: import("../integrations/supabase/types").Json;
9438
9513
  uid?: number | null;
9439
9514
  updated_at?: string;
9440
9515
  };
@@ -9842,6 +9917,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9842
9917
  };
9843
9918
  Relationships: [];
9844
9919
  };
9920
+ module_registry: {
9921
+ Row: {
9922
+ created_at: string;
9923
+ is_active: boolean;
9924
+ last_seen_at: string;
9925
+ module_id: string;
9926
+ name: string;
9927
+ shell_id: string | null;
9928
+ sort_order: number | null;
9929
+ };
9930
+ Insert: {
9931
+ created_at?: string;
9932
+ is_active?: boolean;
9933
+ last_seen_at?: string;
9934
+ module_id: string;
9935
+ name: string;
9936
+ shell_id?: string | null;
9937
+ sort_order?: number | null;
9938
+ };
9939
+ Update: {
9940
+ created_at?: string;
9941
+ is_active?: boolean;
9942
+ last_seen_at?: string;
9943
+ module_id?: string;
9944
+ name?: string;
9945
+ shell_id?: string | null;
9946
+ sort_order?: number | null;
9947
+ };
9948
+ Relationships: [];
9949
+ };
9845
9950
  module_runtime_config: {
9846
9951
  Row: {
9847
9952
  key: string;
@@ -12321,22 +12426,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12321
12426
  created_at: string;
12322
12427
  documentnaam: string;
12323
12428
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
12429
+ extern_job_id: string | null;
12324
12430
  foutmelding: string | null;
12325
12431
  gebruiker_id: string | null;
12326
12432
  gebruiker_naam: string;
12327
12433
  gestart_op: string | null;
12328
12434
  id: string;
12435
+ idempotentie_sleutel: string | null;
12329
12436
  is_herprint: boolean;
12330
12437
  kopieen: number;
12331
12438
  layout_id: string | null;
12332
12439
  opgepakt_op: string | null;
12333
12440
  paginas: number;
12334
12441
  payload: import("../integrations/supabase/types").Json;
12442
+ pdf_base64: string | null;
12443
+ pdf_url: string | null;
12335
12444
  pogingen: number;
12336
12445
  printer_id: string | null;
12337
12446
  render_html: string | null;
12338
12447
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
12339
12448
  updated_at: string;
12449
+ volgende_poging: string | null;
12340
12450
  voltooid_op: string | null;
12341
12451
  };
12342
12452
  Insert: {
@@ -12345,22 +12455,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12345
12455
  created_at?: string;
12346
12456
  documentnaam?: string;
12347
12457
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
12458
+ extern_job_id?: string | null;
12348
12459
  foutmelding?: string | null;
12349
12460
  gebruiker_id?: string | null;
12350
12461
  gebruiker_naam?: string;
12351
12462
  gestart_op?: string | null;
12352
12463
  id?: string;
12464
+ idempotentie_sleutel?: string | null;
12353
12465
  is_herprint?: boolean;
12354
12466
  kopieen?: number;
12355
12467
  layout_id?: string | null;
12356
12468
  opgepakt_op?: string | null;
12357
12469
  paginas?: number;
12358
12470
  payload?: import("../integrations/supabase/types").Json;
12471
+ pdf_base64?: string | null;
12472
+ pdf_url?: string | null;
12359
12473
  pogingen?: number;
12360
12474
  printer_id?: string | null;
12361
12475
  render_html?: string | null;
12362
12476
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
12363
12477
  updated_at?: string;
12478
+ volgende_poging?: string | null;
12364
12479
  voltooid_op?: string | null;
12365
12480
  };
12366
12481
  Update: {
@@ -12369,22 +12484,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12369
12484
  created_at?: string;
12370
12485
  documentnaam?: string;
12371
12486
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
12487
+ extern_job_id?: string | null;
12372
12488
  foutmelding?: string | null;
12373
12489
  gebruiker_id?: string | null;
12374
12490
  gebruiker_naam?: string;
12375
12491
  gestart_op?: string | null;
12376
12492
  id?: string;
12493
+ idempotentie_sleutel?: string | null;
12377
12494
  is_herprint?: boolean;
12378
12495
  kopieen?: number;
12379
12496
  layout_id?: string | null;
12380
12497
  opgepakt_op?: string | null;
12381
12498
  paginas?: number;
12382
12499
  payload?: import("../integrations/supabase/types").Json;
12500
+ pdf_base64?: string | null;
12501
+ pdf_url?: string | null;
12383
12502
  pogingen?: number;
12384
12503
  printer_id?: string | null;
12385
12504
  render_html?: string | null;
12386
12505
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
12387
12506
  updated_at?: string;
12507
+ volgende_poging?: string | null;
12388
12508
  voltooid_op?: string | null;
12389
12509
  };
12390
12510
  Relationships: [{
@@ -12407,6 +12527,63 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12407
12527
  referencedColumns: ["id"];
12408
12528
  }];
12409
12529
  };
12530
+ print_queue_runners: {
12531
+ Row: {
12532
+ actief: boolean;
12533
+ basis_url: string;
12534
+ created_at: string;
12535
+ id: string;
12536
+ laatst_gezien: string;
12537
+ tick_sleutel: string;
12538
+ updated_at: string;
12539
+ };
12540
+ Insert: {
12541
+ actief?: boolean;
12542
+ basis_url: string;
12543
+ created_at?: string;
12544
+ id?: string;
12545
+ laatst_gezien?: string;
12546
+ tick_sleutel?: string;
12547
+ updated_at?: string;
12548
+ };
12549
+ Update: {
12550
+ actief?: boolean;
12551
+ basis_url?: string;
12552
+ created_at?: string;
12553
+ id?: string;
12554
+ laatst_gezien?: string;
12555
+ tick_sleutel?: string;
12556
+ updated_at?: string;
12557
+ };
12558
+ Relationships: [];
12559
+ };
12560
+ print_queue_settings: {
12561
+ Row: {
12562
+ bewaar_bestanden_dagen: number;
12563
+ bewaar_opdrachten_dagen: number;
12564
+ created_at: string;
12565
+ dubbel_venster_minuten: number;
12566
+ id: string;
12567
+ updated_at: string;
12568
+ };
12569
+ Insert: {
12570
+ bewaar_bestanden_dagen?: number;
12571
+ bewaar_opdrachten_dagen?: number;
12572
+ created_at?: string;
12573
+ dubbel_venster_minuten?: number;
12574
+ id?: string;
12575
+ updated_at?: string;
12576
+ };
12577
+ Update: {
12578
+ bewaar_bestanden_dagen?: number;
12579
+ bewaar_opdrachten_dagen?: number;
12580
+ created_at?: string;
12581
+ dubbel_venster_minuten?: number;
12582
+ id?: string;
12583
+ updated_at?: string;
12584
+ };
12585
+ Relationships: [];
12586
+ };
12410
12587
  print_rules: {
12411
12588
  Row: {
12412
12589
  actief: boolean;
@@ -12567,6 +12744,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12567
12744
  agent_id: string | null;
12568
12745
  created_at: string;
12569
12746
  driver: string;
12747
+ extern_printer_id: string | null;
12570
12748
  id: string;
12571
12749
  ip_adres: string | null;
12572
12750
  laatst_gezien: string | null;
@@ -12588,6 +12766,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12588
12766
  agent_id?: string | null;
12589
12767
  created_at?: string;
12590
12768
  driver?: string;
12769
+ extern_printer_id?: string | null;
12591
12770
  id?: string;
12592
12771
  ip_adres?: string | null;
12593
12772
  laatst_gezien?: string | null;
@@ -12609,6 +12788,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12609
12788
  agent_id?: string | null;
12610
12789
  created_at?: string;
12611
12790
  driver?: string;
12791
+ extern_printer_id?: string | null;
12612
12792
  id?: string;
12613
12793
  ip_adres?: string | null;
12614
12794
  laatst_gezien?: string | null;
@@ -16346,6 +16526,33 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16346
16526
  referencedColumns: ["id"];
16347
16527
  }];
16348
16528
  };
16529
+ user_module_permissions: {
16530
+ Row: {
16531
+ created_at: string;
16532
+ id: string;
16533
+ module_id: string;
16534
+ permission: string;
16535
+ updated_at: string;
16536
+ user_id: string;
16537
+ };
16538
+ Insert: {
16539
+ created_at?: string;
16540
+ id?: string;
16541
+ module_id: string;
16542
+ permission: string;
16543
+ updated_at?: string;
16544
+ user_id: string;
16545
+ };
16546
+ Update: {
16547
+ created_at?: string;
16548
+ id?: string;
16549
+ module_id?: string;
16550
+ permission?: string;
16551
+ updated_at?: string;
16552
+ user_id?: string;
16553
+ };
16554
+ Relationships: [];
16555
+ };
16349
16556
  user_roles: {
16350
16557
  Row: {
16351
16558
  created_at: string;
@@ -18213,6 +18420,46 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18213
18420
  };
18214
18421
  Returns: import("../integrations/supabase/types").Json;
18215
18422
  };
18423
+ claim_cloud_print_jobs: {
18424
+ Args: {
18425
+ _max?: number;
18426
+ };
18427
+ Returns: {
18428
+ agent_id: string | null;
18429
+ bron_job_id: string | null;
18430
+ created_at: string;
18431
+ documentnaam: string;
18432
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
18433
+ extern_job_id: string | null;
18434
+ foutmelding: string | null;
18435
+ gebruiker_id: string | null;
18436
+ gebruiker_naam: string;
18437
+ gestart_op: string | null;
18438
+ id: string;
18439
+ idempotentie_sleutel: string | null;
18440
+ is_herprint: boolean;
18441
+ kopieen: number;
18442
+ layout_id: string | null;
18443
+ opgepakt_op: string | null;
18444
+ paginas: number;
18445
+ payload: import("../integrations/supabase/types").Json;
18446
+ pdf_base64: string | null;
18447
+ pdf_url: string | null;
18448
+ pogingen: number;
18449
+ printer_id: string | null;
18450
+ render_html: string | null;
18451
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
18452
+ updated_at: string;
18453
+ volgende_poging: string | null;
18454
+ voltooid_op: string | null;
18455
+ }[];
18456
+ SetofOptions: {
18457
+ from: "*";
18458
+ to: "print_jobs";
18459
+ isOneToOne: false;
18460
+ isSetofReturn: true;
18461
+ };
18462
+ };
18216
18463
  claim_floriday_stock_queue: {
18217
18464
  Args: {
18218
18465
  p_limit?: number;
@@ -18303,22 +18550,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18303
18550
  created_at: string;
18304
18551
  documentnaam: string;
18305
18552
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
18553
+ extern_job_id: string | null;
18306
18554
  foutmelding: string | null;
18307
18555
  gebruiker_id: string | null;
18308
18556
  gebruiker_naam: string;
18309
18557
  gestart_op: string | null;
18310
18558
  id: string;
18559
+ idempotentie_sleutel: string | null;
18311
18560
  is_herprint: boolean;
18312
18561
  kopieen: number;
18313
18562
  layout_id: string | null;
18314
18563
  opgepakt_op: string | null;
18315
18564
  paginas: number;
18316
18565
  payload: import("../integrations/supabase/types").Json;
18566
+ pdf_base64: string | null;
18567
+ pdf_url: string | null;
18317
18568
  pogingen: number;
18318
18569
  printer_id: string | null;
18319
18570
  render_html: string | null;
18320
18571
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
18321
18572
  updated_at: string;
18573
+ volgende_poging: string | null;
18322
18574
  voltooid_op: string | null;
18323
18575
  }[];
18324
18576
  SetofOptions: {
@@ -18364,6 +18616,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18364
18616
  Args: never;
18365
18617
  Returns: undefined;
18366
18618
  };
18619
+ cleanup_voorraad_module_history: {
18620
+ Args: never;
18621
+ Returns: undefined;
18622
+ };
18367
18623
  complete_floriday_stock_queue: {
18368
18624
  Args: {
18369
18625
  p_attempt_id?: string;
@@ -18485,6 +18741,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18485
18741
  };
18486
18742
  Returns: import("../integrations/supabase/types").Json;
18487
18743
  };
18744
+ effective_module_permission: {
18745
+ Args: {
18746
+ _module_id: string;
18747
+ _user_id: string;
18748
+ };
18749
+ Returns: string;
18750
+ };
18488
18751
  email_auth_decrypt: {
18489
18752
  Args: {
18490
18753
  cipher: string;
@@ -19288,6 +19551,51 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19288
19551
  isSetofReturn: false;
19289
19552
  };
19290
19553
  };
19554
+ logistics_floriday_claim_pushes: {
19555
+ Args: {
19556
+ _lease_seconds?: number;
19557
+ _limit?: number;
19558
+ _worker?: string;
19559
+ };
19560
+ Returns: {
19561
+ attempts: number;
19562
+ fulfillment_order_id: string;
19563
+ id: string;
19564
+ last_sent_hash: string;
19565
+ order_ref: string;
19566
+ payload: import("../integrations/supabase/types").Json;
19567
+ payload_hash: string;
19568
+ revision: number;
19569
+ }[];
19570
+ };
19571
+ logistics_floriday_finish_push: {
19572
+ Args: {
19573
+ _error?: string;
19574
+ _fulfillment_order_id?: string;
19575
+ _id: string;
19576
+ _max_age_hours?: number;
19577
+ _max_attempts?: number;
19578
+ _ok: boolean;
19579
+ _permanent?: boolean;
19580
+ _revision: number;
19581
+ _sent_hash?: string;
19582
+ };
19583
+ Returns: string;
19584
+ };
19585
+ logistics_floriday_prune_pushes: {
19586
+ Args: {
19587
+ _days?: number;
19588
+ };
19589
+ Returns: number;
19590
+ };
19591
+ logistics_floriday_queue_push: {
19592
+ Args: {
19593
+ _order_ref: string;
19594
+ _payload?: import("../integrations/supabase/types").Json;
19595
+ _payload_hash?: string;
19596
+ };
19597
+ Returns: string;
19598
+ };
19291
19599
  logistics_live_carriers: {
19292
19600
  Args: {
19293
19601
  p_order_ref: string;
@@ -19578,6 +19886,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19578
19886
  };
19579
19887
  Returns: undefined;
19580
19888
  };
19889
+ my_module_permissions: {
19890
+ Args: never;
19891
+ Returns: {
19892
+ module_id: string;
19893
+ permission: string;
19894
+ }[];
19895
+ };
19581
19896
  next_manufacture_partij: {
19582
19897
  Args: {
19583
19898
  _tenant_id: string;
@@ -19628,6 +19943,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19628
19943
  };
19629
19944
  Returns: boolean;
19630
19945
  };
19946
+ opruim_print_historie: {
19947
+ Args: never;
19948
+ Returns: {
19949
+ ontdaan: number;
19950
+ verwijderd: number;
19951
+ }[];
19952
+ };
19631
19953
  order_number_prefix: {
19632
19954
  Args: {
19633
19955
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -19635,6 +19957,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19635
19957
  };
19636
19958
  Returns: string;
19637
19959
  };
19960
+ pick_active_printers: {
19961
+ Args: never;
19962
+ Returns: {
19963
+ id: string;
19964
+ locatie: string;
19965
+ naam: string;
19966
+ online: boolean;
19967
+ }[];
19968
+ };
19638
19969
  pick_claim_document: {
19639
19970
  Args: {
19640
19971
  _queue_item_id: string;
@@ -19821,6 +20152,52 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19821
20152
  };
19822
20153
  Returns: undefined;
19823
20154
  };
20155
+ pick_reset_print: {
20156
+ Args: {
20157
+ _queue_item_id: string;
20158
+ _session_id: string;
20159
+ };
20160
+ Returns: {
20161
+ announced_at: string;
20162
+ assigned_user_id: string | null;
20163
+ barcode: string | null;
20164
+ cancelled_at: string | null;
20165
+ cart_count: number;
20166
+ completed_at: string | null;
20167
+ country_code: string | null;
20168
+ created_at: string;
20169
+ customer_name: string | null;
20170
+ delivery_address: string | null;
20171
+ document_number: string | null;
20172
+ document_type_id: string | null;
20173
+ due_at: string | null;
20174
+ id: string;
20175
+ is_urgent: boolean;
20176
+ line_count: number;
20177
+ order_number: string | null;
20178
+ order_type: string | null;
20179
+ payload: import("../integrations/supabase/types").Json;
20180
+ print_count: number;
20181
+ print_job_id: string | null;
20182
+ printed_at: string | null;
20183
+ printed_by: string | null;
20184
+ printer_id: string | null;
20185
+ priority: number;
20186
+ reference: string | null;
20187
+ route: string | null;
20188
+ screen_id: string | null;
20189
+ station_id: string | null;
20190
+ status_id: string | null;
20191
+ updated_at: string;
20192
+ warnings: import("../integrations/supabase/types").Json;
20193
+ };
20194
+ SetofOptions: {
20195
+ from: "*";
20196
+ to: "pick_queue";
20197
+ isOneToOne: true;
20198
+ isSetofReturn: false;
20199
+ };
20200
+ };
19824
20201
  pick_station_dashboard: {
19825
20202
  Args: never;
19826
20203
  Returns: {
@@ -19967,6 +20344,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19967
20344
  };
19968
20345
  Returns: undefined;
19969
20346
  };
20347
+ reset_stalled_floriday_stock_queue: {
20348
+ Args: {
20349
+ p_include_failed?: boolean;
20350
+ };
20351
+ Returns: number;
20352
+ };
19970
20353
  resolve_group_allocation: {
19971
20354
  Args: {
19972
20355
  _needed: number;
@@ -20011,14 +20394,28 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20011
20394
  };
20012
20395
  Returns: import("../integrations/supabase/types").Json;
20013
20396
  };
20397
+ ruim_print_jobs_op: {
20398
+ Args: {
20399
+ _bewaar_dagen?: number;
20400
+ };
20401
+ Returns: number;
20402
+ };
20014
20403
  run_floriday_continuous_stock_sync: {
20015
20404
  Args: never;
20016
20405
  Returns: undefined;
20017
20406
  };
20407
+ run_floriday_stock_queue_process: {
20408
+ Args: never;
20409
+ Returns: undefined;
20410
+ };
20018
20411
  run_logistics_tasks_dispatch: {
20019
20412
  Args: never;
20020
20413
  Returns: undefined;
20021
20414
  };
20415
+ run_print_queue_ticks: {
20416
+ Args: never;
20417
+ Returns: number;
20418
+ };
20022
20419
  run_twinfield_queue_tick: {
20023
20420
  Args: never;
20024
20421
  Returns: undefined;
@@ -20406,6 +20803,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20406
20803
  };
20407
20804
  Returns: undefined;
20408
20805
  };
20806
+ trade_item_stock_duplicates: {
20807
+ Args: never;
20808
+ Returns: {
20809
+ keys: string[];
20810
+ product_id: string;
20811
+ product_name: string;
20812
+ row_count: number;
20813
+ }[];
20814
+ };
20409
20815
  try_debtor_lock: {
20410
20816
  Args: {
20411
20817
  _group_key: string;
@@ -20455,7 +20861,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20455
20861
  };
20456
20862
  Enums: {
20457
20863
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
20458
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20864
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
20459
20865
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
20460
20866
  doc_orientation: "portrait" | "landscape";
20461
20867
  exact_env: "staging" | "live";