@flowselections/floriday-voorraad 1.0.32 → 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
@@ -1684,7 +1684,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1684
1684
  city: string | null;
1685
1685
  country: string | null;
1686
1686
  created_at: string;
1687
- customer_id: string | null;
1687
+ customer_id: string;
1688
1688
  external_key: string | null;
1689
1689
  external_provider: string | null;
1690
1690
  floriday_location_id: string | null;
@@ -1708,7 +1708,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1708
1708
  city?: string | null;
1709
1709
  country?: string | null;
1710
1710
  created_at?: string;
1711
- customer_id?: string | null;
1711
+ customer_id: string;
1712
1712
  external_key?: string | null;
1713
1713
  external_provider?: string | null;
1714
1714
  floriday_location_id?: string | null;
@@ -1732,7 +1732,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1732
1732
  city?: string | null;
1733
1733
  country?: string | null;
1734
1734
  created_at?: string;
1735
- customer_id?: string | null;
1735
+ customer_id?: string;
1736
1736
  external_key?: string | null;
1737
1737
  external_provider?: string | null;
1738
1738
  floriday_location_id?: string | null;
@@ -8492,6 +8492,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8492
8492
  };
8493
8493
  Relationships: [];
8494
8494
  };
8495
+ logistics_floriday_pushes: {
8496
+ Row: {
8497
+ attempts: number;
8498
+ created_at: string;
8499
+ first_queued_at: string;
8500
+ fulfillment_order_id: string | null;
8501
+ id: string;
8502
+ last_error: string | null;
8503
+ last_error_at: string | null;
8504
+ last_sent_hash: string | null;
8505
+ locked_by: string | null;
8506
+ locked_until: string | null;
8507
+ next_attempt_at: string;
8508
+ order_ref: string;
8509
+ payload: import("./types").Json;
8510
+ payload_hash: string | null;
8511
+ revision: number;
8512
+ sent_at: string | null;
8513
+ status: string;
8514
+ updated_at: string;
8515
+ };
8516
+ Insert: {
8517
+ attempts?: number;
8518
+ created_at?: string;
8519
+ first_queued_at?: string;
8520
+ fulfillment_order_id?: string | null;
8521
+ id?: string;
8522
+ last_error?: string | null;
8523
+ last_error_at?: string | null;
8524
+ last_sent_hash?: string | null;
8525
+ locked_by?: string | null;
8526
+ locked_until?: string | null;
8527
+ next_attempt_at?: string;
8528
+ order_ref: string;
8529
+ payload?: import("./types").Json;
8530
+ payload_hash?: string | null;
8531
+ revision?: number;
8532
+ sent_at?: string | null;
8533
+ status?: string;
8534
+ updated_at?: string;
8535
+ };
8536
+ Update: {
8537
+ attempts?: number;
8538
+ created_at?: string;
8539
+ first_queued_at?: string;
8540
+ fulfillment_order_id?: string | null;
8541
+ id?: string;
8542
+ last_error?: string | null;
8543
+ last_error_at?: string | null;
8544
+ last_sent_hash?: string | null;
8545
+ locked_by?: string | null;
8546
+ locked_until?: string | null;
8547
+ next_attempt_at?: string;
8548
+ order_ref?: string;
8549
+ payload?: import("./types").Json;
8550
+ payload_hash?: string | null;
8551
+ revision?: number;
8552
+ sent_at?: string | null;
8553
+ status?: string;
8554
+ updated_at?: string;
8555
+ };
8556
+ Relationships: [];
8557
+ };
8495
8558
  logistics_formulas: {
8496
8559
  Row: {
8497
8560
  created_at: string;
@@ -9355,14 +9418,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9355
9418
  };
9356
9419
  mailbox_messages: {
9357
9420
  Row: {
9421
+ attachments: import("./types").Json;
9358
9422
  body_html: string | null;
9359
9423
  body_text: string | null;
9424
+ cc_recipients: import("./types").Json;
9360
9425
  connection_id: string | null;
9361
9426
  created_at: string;
9362
9427
  error_message: string | null;
9363
9428
  external_id: string | null;
9364
9429
  from_email: string | null;
9365
9430
  from_name: string | null;
9431
+ has_attachments: boolean;
9366
9432
  id: string;
9367
9433
  message_id: string | null;
9368
9434
  profile_id: string | null;
@@ -9370,18 +9436,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9370
9436
  received_at: string | null;
9371
9437
  status: string;
9372
9438
  subject: string | null;
9439
+ to_recipients: import("./types").Json;
9373
9440
  uid: number | null;
9374
9441
  updated_at: string;
9375
9442
  };
9376
9443
  Insert: {
9444
+ attachments?: import("./types").Json;
9377
9445
  body_html?: string | null;
9378
9446
  body_text?: string | null;
9447
+ cc_recipients?: import("./types").Json;
9379
9448
  connection_id?: string | null;
9380
9449
  created_at?: string;
9381
9450
  error_message?: string | null;
9382
9451
  external_id?: string | null;
9383
9452
  from_email?: string | null;
9384
9453
  from_name?: string | null;
9454
+ has_attachments?: boolean;
9385
9455
  id?: string;
9386
9456
  message_id?: string | null;
9387
9457
  profile_id?: string | null;
@@ -9389,18 +9459,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9389
9459
  received_at?: string | null;
9390
9460
  status?: string;
9391
9461
  subject?: string | null;
9462
+ to_recipients?: import("./types").Json;
9392
9463
  uid?: number | null;
9393
9464
  updated_at?: string;
9394
9465
  };
9395
9466
  Update: {
9467
+ attachments?: import("./types").Json;
9396
9468
  body_html?: string | null;
9397
9469
  body_text?: string | null;
9470
+ cc_recipients?: import("./types").Json;
9398
9471
  connection_id?: string | null;
9399
9472
  created_at?: string;
9400
9473
  error_message?: string | null;
9401
9474
  external_id?: string | null;
9402
9475
  from_email?: string | null;
9403
9476
  from_name?: string | null;
9477
+ has_attachments?: boolean;
9404
9478
  id?: string;
9405
9479
  message_id?: string | null;
9406
9480
  profile_id?: string | null;
@@ -9408,6 +9482,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9408
9482
  received_at?: string | null;
9409
9483
  status?: string;
9410
9484
  subject?: string | null;
9485
+ to_recipients?: import("./types").Json;
9411
9486
  uid?: number | null;
9412
9487
  updated_at?: string;
9413
9488
  };
@@ -9815,6 +9890,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9815
9890
  };
9816
9891
  Relationships: [];
9817
9892
  };
9893
+ module_registry: {
9894
+ Row: {
9895
+ created_at: string;
9896
+ is_active: boolean;
9897
+ last_seen_at: string;
9898
+ module_id: string;
9899
+ name: string;
9900
+ shell_id: string | null;
9901
+ sort_order: number | null;
9902
+ };
9903
+ Insert: {
9904
+ created_at?: string;
9905
+ is_active?: boolean;
9906
+ last_seen_at?: string;
9907
+ module_id: string;
9908
+ name: string;
9909
+ shell_id?: string | null;
9910
+ sort_order?: number | null;
9911
+ };
9912
+ Update: {
9913
+ created_at?: string;
9914
+ is_active?: boolean;
9915
+ last_seen_at?: string;
9916
+ module_id?: string;
9917
+ name?: string;
9918
+ shell_id?: string | null;
9919
+ sort_order?: number | null;
9920
+ };
9921
+ Relationships: [];
9922
+ };
9818
9923
  module_runtime_config: {
9819
9924
  Row: {
9820
9925
  key: string;
@@ -12294,22 +12399,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12294
12399
  created_at: string;
12295
12400
  documentnaam: string;
12296
12401
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
12402
+ extern_job_id: string | null;
12297
12403
  foutmelding: string | null;
12298
12404
  gebruiker_id: string | null;
12299
12405
  gebruiker_naam: string;
12300
12406
  gestart_op: string | null;
12301
12407
  id: string;
12408
+ idempotentie_sleutel: string | null;
12302
12409
  is_herprint: boolean;
12303
12410
  kopieen: number;
12304
12411
  layout_id: string | null;
12305
12412
  opgepakt_op: string | null;
12306
12413
  paginas: number;
12307
12414
  payload: import("./types").Json;
12415
+ pdf_base64: string | null;
12416
+ pdf_url: string | null;
12308
12417
  pogingen: number;
12309
12418
  printer_id: string | null;
12310
12419
  render_html: string | null;
12311
12420
  status: Database["public"]["Enums"]["print_job_status"];
12312
12421
  updated_at: string;
12422
+ volgende_poging: string | null;
12313
12423
  voltooid_op: string | null;
12314
12424
  };
12315
12425
  Insert: {
@@ -12318,22 +12428,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12318
12428
  created_at?: string;
12319
12429
  documentnaam?: string;
12320
12430
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
12431
+ extern_job_id?: string | null;
12321
12432
  foutmelding?: string | null;
12322
12433
  gebruiker_id?: string | null;
12323
12434
  gebruiker_naam?: string;
12324
12435
  gestart_op?: string | null;
12325
12436
  id?: string;
12437
+ idempotentie_sleutel?: string | null;
12326
12438
  is_herprint?: boolean;
12327
12439
  kopieen?: number;
12328
12440
  layout_id?: string | null;
12329
12441
  opgepakt_op?: string | null;
12330
12442
  paginas?: number;
12331
12443
  payload?: import("./types").Json;
12444
+ pdf_base64?: string | null;
12445
+ pdf_url?: string | null;
12332
12446
  pogingen?: number;
12333
12447
  printer_id?: string | null;
12334
12448
  render_html?: string | null;
12335
12449
  status?: Database["public"]["Enums"]["print_job_status"];
12336
12450
  updated_at?: string;
12451
+ volgende_poging?: string | null;
12337
12452
  voltooid_op?: string | null;
12338
12453
  };
12339
12454
  Update: {
@@ -12342,22 +12457,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12342
12457
  created_at?: string;
12343
12458
  documentnaam?: string;
12344
12459
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
12460
+ extern_job_id?: string | null;
12345
12461
  foutmelding?: string | null;
12346
12462
  gebruiker_id?: string | null;
12347
12463
  gebruiker_naam?: string;
12348
12464
  gestart_op?: string | null;
12349
12465
  id?: string;
12466
+ idempotentie_sleutel?: string | null;
12350
12467
  is_herprint?: boolean;
12351
12468
  kopieen?: number;
12352
12469
  layout_id?: string | null;
12353
12470
  opgepakt_op?: string | null;
12354
12471
  paginas?: number;
12355
12472
  payload?: import("./types").Json;
12473
+ pdf_base64?: string | null;
12474
+ pdf_url?: string | null;
12356
12475
  pogingen?: number;
12357
12476
  printer_id?: string | null;
12358
12477
  render_html?: string | null;
12359
12478
  status?: Database["public"]["Enums"]["print_job_status"];
12360
12479
  updated_at?: string;
12480
+ volgende_poging?: string | null;
12361
12481
  voltooid_op?: string | null;
12362
12482
  };
12363
12483
  Relationships: [{
@@ -12380,6 +12500,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12380
12500
  referencedColumns: ["id"];
12381
12501
  }];
12382
12502
  };
12503
+ print_queue_runners: {
12504
+ Row: {
12505
+ actief: boolean;
12506
+ basis_url: string;
12507
+ created_at: string;
12508
+ id: string;
12509
+ laatst_gezien: string;
12510
+ tick_sleutel: string;
12511
+ updated_at: string;
12512
+ };
12513
+ Insert: {
12514
+ actief?: boolean;
12515
+ basis_url: string;
12516
+ created_at?: string;
12517
+ id?: string;
12518
+ laatst_gezien?: string;
12519
+ tick_sleutel?: string;
12520
+ updated_at?: string;
12521
+ };
12522
+ Update: {
12523
+ actief?: boolean;
12524
+ basis_url?: string;
12525
+ created_at?: string;
12526
+ id?: string;
12527
+ laatst_gezien?: string;
12528
+ tick_sleutel?: string;
12529
+ updated_at?: string;
12530
+ };
12531
+ Relationships: [];
12532
+ };
12533
+ print_queue_settings: {
12534
+ Row: {
12535
+ bewaar_bestanden_dagen: number;
12536
+ bewaar_opdrachten_dagen: number;
12537
+ created_at: string;
12538
+ dubbel_venster_minuten: number;
12539
+ id: string;
12540
+ updated_at: string;
12541
+ };
12542
+ Insert: {
12543
+ bewaar_bestanden_dagen?: number;
12544
+ bewaar_opdrachten_dagen?: number;
12545
+ created_at?: string;
12546
+ dubbel_venster_minuten?: number;
12547
+ id?: string;
12548
+ updated_at?: string;
12549
+ };
12550
+ Update: {
12551
+ bewaar_bestanden_dagen?: number;
12552
+ bewaar_opdrachten_dagen?: number;
12553
+ created_at?: string;
12554
+ dubbel_venster_minuten?: number;
12555
+ id?: string;
12556
+ updated_at?: string;
12557
+ };
12558
+ Relationships: [];
12559
+ };
12383
12560
  print_rules: {
12384
12561
  Row: {
12385
12562
  actief: boolean;
@@ -12540,6 +12717,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12540
12717
  agent_id: string | null;
12541
12718
  created_at: string;
12542
12719
  driver: string;
12720
+ extern_printer_id: string | null;
12543
12721
  id: string;
12544
12722
  ip_adres: string | null;
12545
12723
  laatst_gezien: string | null;
@@ -12561,6 +12739,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12561
12739
  agent_id?: string | null;
12562
12740
  created_at?: string;
12563
12741
  driver?: string;
12742
+ extern_printer_id?: string | null;
12564
12743
  id?: string;
12565
12744
  ip_adres?: string | null;
12566
12745
  laatst_gezien?: string | null;
@@ -12582,6 +12761,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12582
12761
  agent_id?: string | null;
12583
12762
  created_at?: string;
12584
12763
  driver?: string;
12764
+ extern_printer_id?: string | null;
12585
12765
  id?: string;
12586
12766
  ip_adres?: string | null;
12587
12767
  laatst_gezien?: string | null;
@@ -16319,6 +16499,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16319
16499
  referencedColumns: ["id"];
16320
16500
  }];
16321
16501
  };
16502
+ user_module_permissions: {
16503
+ Row: {
16504
+ created_at: string;
16505
+ id: string;
16506
+ module_id: string;
16507
+ permission: string;
16508
+ updated_at: string;
16509
+ user_id: string;
16510
+ };
16511
+ Insert: {
16512
+ created_at?: string;
16513
+ id?: string;
16514
+ module_id: string;
16515
+ permission: string;
16516
+ updated_at?: string;
16517
+ user_id: string;
16518
+ };
16519
+ Update: {
16520
+ created_at?: string;
16521
+ id?: string;
16522
+ module_id?: string;
16523
+ permission?: string;
16524
+ updated_at?: string;
16525
+ user_id?: string;
16526
+ };
16527
+ Relationships: [];
16528
+ };
16322
16529
  user_roles: {
16323
16530
  Row: {
16324
16531
  created_at: string;
@@ -18186,6 +18393,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18186
18393
  };
18187
18394
  Returns: import("./types").Json;
18188
18395
  };
18396
+ claim_cloud_print_jobs: {
18397
+ Args: {
18398
+ _max?: number;
18399
+ };
18400
+ Returns: {
18401
+ agent_id: string | null;
18402
+ bron_job_id: string | null;
18403
+ created_at: string;
18404
+ documentnaam: string;
18405
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
18406
+ extern_job_id: string | null;
18407
+ foutmelding: string | null;
18408
+ gebruiker_id: string | null;
18409
+ gebruiker_naam: string;
18410
+ gestart_op: string | null;
18411
+ id: string;
18412
+ idempotentie_sleutel: string | null;
18413
+ is_herprint: boolean;
18414
+ kopieen: number;
18415
+ layout_id: string | null;
18416
+ opgepakt_op: string | null;
18417
+ paginas: number;
18418
+ payload: import("./types").Json;
18419
+ pdf_base64: string | null;
18420
+ pdf_url: string | null;
18421
+ pogingen: number;
18422
+ printer_id: string | null;
18423
+ render_html: string | null;
18424
+ status: Database["public"]["Enums"]["print_job_status"];
18425
+ updated_at: string;
18426
+ volgende_poging: string | null;
18427
+ voltooid_op: string | null;
18428
+ }[];
18429
+ SetofOptions: {
18430
+ from: "*";
18431
+ to: "print_jobs";
18432
+ isOneToOne: false;
18433
+ isSetofReturn: true;
18434
+ };
18435
+ };
18189
18436
  claim_floriday_stock_queue: {
18190
18437
  Args: {
18191
18438
  p_limit?: number;
@@ -18276,22 +18523,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18276
18523
  created_at: string;
18277
18524
  documentnaam: string;
18278
18525
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
18526
+ extern_job_id: string | null;
18279
18527
  foutmelding: string | null;
18280
18528
  gebruiker_id: string | null;
18281
18529
  gebruiker_naam: string;
18282
18530
  gestart_op: string | null;
18283
18531
  id: string;
18532
+ idempotentie_sleutel: string | null;
18284
18533
  is_herprint: boolean;
18285
18534
  kopieen: number;
18286
18535
  layout_id: string | null;
18287
18536
  opgepakt_op: string | null;
18288
18537
  paginas: number;
18289
18538
  payload: import("./types").Json;
18539
+ pdf_base64: string | null;
18540
+ pdf_url: string | null;
18290
18541
  pogingen: number;
18291
18542
  printer_id: string | null;
18292
18543
  render_html: string | null;
18293
18544
  status: Database["public"]["Enums"]["print_job_status"];
18294
18545
  updated_at: string;
18546
+ volgende_poging: string | null;
18295
18547
  voltooid_op: string | null;
18296
18548
  }[];
18297
18549
  SetofOptions: {
@@ -18337,6 +18589,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18337
18589
  Args: never;
18338
18590
  Returns: undefined;
18339
18591
  };
18592
+ cleanup_voorraad_module_history: {
18593
+ Args: never;
18594
+ Returns: undefined;
18595
+ };
18340
18596
  complete_floriday_stock_queue: {
18341
18597
  Args: {
18342
18598
  p_attempt_id?: string;
@@ -18458,6 +18714,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18458
18714
  };
18459
18715
  Returns: import("./types").Json;
18460
18716
  };
18717
+ effective_module_permission: {
18718
+ Args: {
18719
+ _module_id: string;
18720
+ _user_id: string;
18721
+ };
18722
+ Returns: string;
18723
+ };
18461
18724
  email_auth_decrypt: {
18462
18725
  Args: {
18463
18726
  cipher: string;
@@ -19261,6 +19524,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19261
19524
  isSetofReturn: false;
19262
19525
  };
19263
19526
  };
19527
+ logistics_floriday_claim_pushes: {
19528
+ Args: {
19529
+ _lease_seconds?: number;
19530
+ _limit?: number;
19531
+ _worker?: string;
19532
+ };
19533
+ Returns: {
19534
+ attempts: number;
19535
+ fulfillment_order_id: string;
19536
+ id: string;
19537
+ last_sent_hash: string;
19538
+ order_ref: string;
19539
+ payload: import("./types").Json;
19540
+ payload_hash: string;
19541
+ revision: number;
19542
+ }[];
19543
+ };
19544
+ logistics_floriday_finish_push: {
19545
+ Args: {
19546
+ _error?: string;
19547
+ _fulfillment_order_id?: string;
19548
+ _id: string;
19549
+ _max_age_hours?: number;
19550
+ _max_attempts?: number;
19551
+ _ok: boolean;
19552
+ _permanent?: boolean;
19553
+ _revision: number;
19554
+ _sent_hash?: string;
19555
+ };
19556
+ Returns: string;
19557
+ };
19558
+ logistics_floriday_prune_pushes: {
19559
+ Args: {
19560
+ _days?: number;
19561
+ };
19562
+ Returns: number;
19563
+ };
19564
+ logistics_floriday_queue_push: {
19565
+ Args: {
19566
+ _order_ref: string;
19567
+ _payload?: import("./types").Json;
19568
+ _payload_hash?: string;
19569
+ };
19570
+ Returns: string;
19571
+ };
19264
19572
  logistics_live_carriers: {
19265
19573
  Args: {
19266
19574
  p_order_ref: string;
@@ -19551,6 +19859,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19551
19859
  };
19552
19860
  Returns: undefined;
19553
19861
  };
19862
+ my_module_permissions: {
19863
+ Args: never;
19864
+ Returns: {
19865
+ module_id: string;
19866
+ permission: string;
19867
+ }[];
19868
+ };
19554
19869
  next_manufacture_partij: {
19555
19870
  Args: {
19556
19871
  _tenant_id: string;
@@ -19601,6 +19916,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19601
19916
  };
19602
19917
  Returns: boolean;
19603
19918
  };
19919
+ opruim_print_historie: {
19920
+ Args: never;
19921
+ Returns: {
19922
+ ontdaan: number;
19923
+ verwijderd: number;
19924
+ }[];
19925
+ };
19604
19926
  order_number_prefix: {
19605
19927
  Args: {
19606
19928
  p_custom_fields?: import("./types").Json;
@@ -19608,6 +19930,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19608
19930
  };
19609
19931
  Returns: string;
19610
19932
  };
19933
+ pick_active_printers: {
19934
+ Args: never;
19935
+ Returns: {
19936
+ id: string;
19937
+ locatie: string;
19938
+ naam: string;
19939
+ online: boolean;
19940
+ }[];
19941
+ };
19611
19942
  pick_claim_document: {
19612
19943
  Args: {
19613
19944
  _queue_item_id: string;
@@ -19794,6 +20125,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19794
20125
  };
19795
20126
  Returns: undefined;
19796
20127
  };
20128
+ pick_reset_print: {
20129
+ Args: {
20130
+ _queue_item_id: string;
20131
+ _session_id: string;
20132
+ };
20133
+ Returns: {
20134
+ announced_at: string;
20135
+ assigned_user_id: string | null;
20136
+ barcode: string | null;
20137
+ cancelled_at: string | null;
20138
+ cart_count: number;
20139
+ completed_at: string | null;
20140
+ country_code: string | null;
20141
+ created_at: string;
20142
+ customer_name: string | null;
20143
+ delivery_address: string | null;
20144
+ document_number: string | null;
20145
+ document_type_id: string | null;
20146
+ due_at: string | null;
20147
+ id: string;
20148
+ is_urgent: boolean;
20149
+ line_count: number;
20150
+ order_number: string | null;
20151
+ order_type: string | null;
20152
+ payload: import("./types").Json;
20153
+ print_count: number;
20154
+ print_job_id: string | null;
20155
+ printed_at: string | null;
20156
+ printed_by: string | null;
20157
+ printer_id: string | null;
20158
+ priority: number;
20159
+ reference: string | null;
20160
+ route: string | null;
20161
+ screen_id: string | null;
20162
+ station_id: string | null;
20163
+ status_id: string | null;
20164
+ updated_at: string;
20165
+ warnings: import("./types").Json;
20166
+ };
20167
+ SetofOptions: {
20168
+ from: "*";
20169
+ to: "pick_queue";
20170
+ isOneToOne: true;
20171
+ isSetofReturn: false;
20172
+ };
20173
+ };
19797
20174
  pick_station_dashboard: {
19798
20175
  Args: never;
19799
20176
  Returns: {
@@ -19940,6 +20317,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19940
20317
  };
19941
20318
  Returns: undefined;
19942
20319
  };
20320
+ reset_stalled_floriday_stock_queue: {
20321
+ Args: {
20322
+ p_include_failed?: boolean;
20323
+ };
20324
+ Returns: number;
20325
+ };
19943
20326
  resolve_group_allocation: {
19944
20327
  Args: {
19945
20328
  _needed: number;
@@ -19984,14 +20367,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19984
20367
  };
19985
20368
  Returns: import("./types").Json;
19986
20369
  };
20370
+ ruim_print_jobs_op: {
20371
+ Args: {
20372
+ _bewaar_dagen?: number;
20373
+ };
20374
+ Returns: number;
20375
+ };
19987
20376
  run_floriday_continuous_stock_sync: {
19988
20377
  Args: never;
19989
20378
  Returns: undefined;
19990
20379
  };
20380
+ run_floriday_stock_queue_process: {
20381
+ Args: never;
20382
+ Returns: undefined;
20383
+ };
19991
20384
  run_logistics_tasks_dispatch: {
19992
20385
  Args: never;
19993
20386
  Returns: undefined;
19994
20387
  };
20388
+ run_print_queue_ticks: {
20389
+ Args: never;
20390
+ Returns: number;
20391
+ };
19995
20392
  run_twinfield_queue_tick: {
19996
20393
  Args: never;
19997
20394
  Returns: undefined;
@@ -20379,6 +20776,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20379
20776
  };
20380
20777
  Returns: undefined;
20381
20778
  };
20779
+ trade_item_stock_duplicates: {
20780
+ Args: never;
20781
+ Returns: {
20782
+ keys: string[];
20783
+ product_id: string;
20784
+ product_name: string;
20785
+ row_count: number;
20786
+ }[];
20787
+ };
20382
20788
  try_debtor_lock: {
20383
20789
  Args: {
20384
20790
  _group_key: string;
@@ -20428,7 +20834,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20428
20834
  };
20429
20835
  Enums: {
20430
20836
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
20431
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20837
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
20432
20838
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
20433
20839
  doc_orientation: "portrait" | "landscape";
20434
20840
  exact_env: "staging" | "live";