@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
@@ -1714,7 +1714,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1714
1714
  city: string | null;
1715
1715
  country: string | null;
1716
1716
  created_at: string;
1717
- customer_id: string | null;
1717
+ customer_id: string;
1718
1718
  external_key: string | null;
1719
1719
  external_provider: string | null;
1720
1720
  floriday_location_id: string | null;
@@ -1738,7 +1738,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1738
1738
  city?: string | null;
1739
1739
  country?: string | null;
1740
1740
  created_at?: string;
1741
- customer_id?: string | null;
1741
+ customer_id: string;
1742
1742
  external_key?: string | null;
1743
1743
  external_provider?: string | null;
1744
1744
  floriday_location_id?: string | null;
@@ -1762,7 +1762,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1762
1762
  city?: string | null;
1763
1763
  country?: string | null;
1764
1764
  created_at?: string;
1765
- customer_id?: string | null;
1765
+ customer_id?: string;
1766
1766
  external_key?: string | null;
1767
1767
  external_provider?: string | null;
1768
1768
  floriday_location_id?: string | null;
@@ -8522,6 +8522,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8522
8522
  };
8523
8523
  Relationships: [];
8524
8524
  };
8525
+ logistics_floriday_pushes: {
8526
+ Row: {
8527
+ attempts: number;
8528
+ created_at: string;
8529
+ first_queued_at: string;
8530
+ fulfillment_order_id: string | null;
8531
+ id: string;
8532
+ last_error: string | null;
8533
+ last_error_at: string | null;
8534
+ last_sent_hash: string | null;
8535
+ locked_by: string | null;
8536
+ locked_until: string | null;
8537
+ next_attempt_at: string;
8538
+ order_ref: string;
8539
+ payload: import("../integrations/supabase/types").Json;
8540
+ payload_hash: string | null;
8541
+ revision: number;
8542
+ sent_at: string | null;
8543
+ status: string;
8544
+ updated_at: string;
8545
+ };
8546
+ Insert: {
8547
+ attempts?: number;
8548
+ created_at?: string;
8549
+ first_queued_at?: string;
8550
+ fulfillment_order_id?: string | null;
8551
+ id?: string;
8552
+ last_error?: string | null;
8553
+ last_error_at?: string | null;
8554
+ last_sent_hash?: string | null;
8555
+ locked_by?: string | null;
8556
+ locked_until?: string | null;
8557
+ next_attempt_at?: string;
8558
+ order_ref: string;
8559
+ payload?: import("../integrations/supabase/types").Json;
8560
+ payload_hash?: string | null;
8561
+ revision?: number;
8562
+ sent_at?: string | null;
8563
+ status?: string;
8564
+ updated_at?: string;
8565
+ };
8566
+ Update: {
8567
+ attempts?: number;
8568
+ created_at?: string;
8569
+ first_queued_at?: string;
8570
+ fulfillment_order_id?: string | null;
8571
+ id?: string;
8572
+ last_error?: string | null;
8573
+ last_error_at?: string | null;
8574
+ last_sent_hash?: string | null;
8575
+ locked_by?: string | null;
8576
+ locked_until?: string | null;
8577
+ next_attempt_at?: string;
8578
+ order_ref?: string;
8579
+ payload?: import("../integrations/supabase/types").Json;
8580
+ payload_hash?: string | null;
8581
+ revision?: number;
8582
+ sent_at?: string | null;
8583
+ status?: string;
8584
+ updated_at?: string;
8585
+ };
8586
+ Relationships: [];
8587
+ };
8525
8588
  logistics_formulas: {
8526
8589
  Row: {
8527
8590
  created_at: string;
@@ -9385,14 +9448,17 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9385
9448
  };
9386
9449
  mailbox_messages: {
9387
9450
  Row: {
9451
+ attachments: import("../integrations/supabase/types").Json;
9388
9452
  body_html: string | null;
9389
9453
  body_text: string | null;
9454
+ cc_recipients: import("../integrations/supabase/types").Json;
9390
9455
  connection_id: string | null;
9391
9456
  created_at: string;
9392
9457
  error_message: string | null;
9393
9458
  external_id: string | null;
9394
9459
  from_email: string | null;
9395
9460
  from_name: string | null;
9461
+ has_attachments: boolean;
9396
9462
  id: string;
9397
9463
  message_id: string | null;
9398
9464
  profile_id: string | null;
@@ -9400,18 +9466,22 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9400
9466
  received_at: string | null;
9401
9467
  status: string;
9402
9468
  subject: string | null;
9469
+ to_recipients: import("../integrations/supabase/types").Json;
9403
9470
  uid: number | null;
9404
9471
  updated_at: string;
9405
9472
  };
9406
9473
  Insert: {
9474
+ attachments?: import("../integrations/supabase/types").Json;
9407
9475
  body_html?: string | null;
9408
9476
  body_text?: string | null;
9477
+ cc_recipients?: import("../integrations/supabase/types").Json;
9409
9478
  connection_id?: string | null;
9410
9479
  created_at?: string;
9411
9480
  error_message?: string | null;
9412
9481
  external_id?: string | null;
9413
9482
  from_email?: string | null;
9414
9483
  from_name?: string | null;
9484
+ has_attachments?: boolean;
9415
9485
  id?: string;
9416
9486
  message_id?: string | null;
9417
9487
  profile_id?: string | null;
@@ -9419,18 +9489,22 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9419
9489
  received_at?: string | null;
9420
9490
  status?: string;
9421
9491
  subject?: string | null;
9492
+ to_recipients?: import("../integrations/supabase/types").Json;
9422
9493
  uid?: number | null;
9423
9494
  updated_at?: string;
9424
9495
  };
9425
9496
  Update: {
9497
+ attachments?: import("../integrations/supabase/types").Json;
9426
9498
  body_html?: string | null;
9427
9499
  body_text?: string | null;
9500
+ cc_recipients?: import("../integrations/supabase/types").Json;
9428
9501
  connection_id?: string | null;
9429
9502
  created_at?: string;
9430
9503
  error_message?: string | null;
9431
9504
  external_id?: string | null;
9432
9505
  from_email?: string | null;
9433
9506
  from_name?: string | null;
9507
+ has_attachments?: boolean;
9434
9508
  id?: string;
9435
9509
  message_id?: string | null;
9436
9510
  profile_id?: string | null;
@@ -9438,6 +9512,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9438
9512
  received_at?: string | null;
9439
9513
  status?: string;
9440
9514
  subject?: string | null;
9515
+ to_recipients?: import("../integrations/supabase/types").Json;
9441
9516
  uid?: number | null;
9442
9517
  updated_at?: string;
9443
9518
  };
@@ -9845,6 +9920,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9845
9920
  };
9846
9921
  Relationships: [];
9847
9922
  };
9923
+ module_registry: {
9924
+ Row: {
9925
+ created_at: string;
9926
+ is_active: boolean;
9927
+ last_seen_at: string;
9928
+ module_id: string;
9929
+ name: string;
9930
+ shell_id: string | null;
9931
+ sort_order: number | null;
9932
+ };
9933
+ Insert: {
9934
+ created_at?: string;
9935
+ is_active?: boolean;
9936
+ last_seen_at?: string;
9937
+ module_id: string;
9938
+ name: string;
9939
+ shell_id?: string | null;
9940
+ sort_order?: number | null;
9941
+ };
9942
+ Update: {
9943
+ created_at?: string;
9944
+ is_active?: boolean;
9945
+ last_seen_at?: string;
9946
+ module_id?: string;
9947
+ name?: string;
9948
+ shell_id?: string | null;
9949
+ sort_order?: number | null;
9950
+ };
9951
+ Relationships: [];
9952
+ };
9848
9953
  module_runtime_config: {
9849
9954
  Row: {
9850
9955
  key: string;
@@ -12324,22 +12429,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12324
12429
  created_at: string;
12325
12430
  documentnaam: string;
12326
12431
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
12432
+ extern_job_id: string | null;
12327
12433
  foutmelding: string | null;
12328
12434
  gebruiker_id: string | null;
12329
12435
  gebruiker_naam: string;
12330
12436
  gestart_op: string | null;
12331
12437
  id: string;
12438
+ idempotentie_sleutel: string | null;
12332
12439
  is_herprint: boolean;
12333
12440
  kopieen: number;
12334
12441
  layout_id: string | null;
12335
12442
  opgepakt_op: string | null;
12336
12443
  paginas: number;
12337
12444
  payload: import("../integrations/supabase/types").Json;
12445
+ pdf_base64: string | null;
12446
+ pdf_url: string | null;
12338
12447
  pogingen: number;
12339
12448
  printer_id: string | null;
12340
12449
  render_html: string | null;
12341
12450
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
12342
12451
  updated_at: string;
12452
+ volgende_poging: string | null;
12343
12453
  voltooid_op: string | null;
12344
12454
  };
12345
12455
  Insert: {
@@ -12348,22 +12458,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12348
12458
  created_at?: string;
12349
12459
  documentnaam?: string;
12350
12460
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
12461
+ extern_job_id?: string | null;
12351
12462
  foutmelding?: string | null;
12352
12463
  gebruiker_id?: string | null;
12353
12464
  gebruiker_naam?: string;
12354
12465
  gestart_op?: string | null;
12355
12466
  id?: string;
12467
+ idempotentie_sleutel?: string | null;
12356
12468
  is_herprint?: boolean;
12357
12469
  kopieen?: number;
12358
12470
  layout_id?: string | null;
12359
12471
  opgepakt_op?: string | null;
12360
12472
  paginas?: number;
12361
12473
  payload?: import("../integrations/supabase/types").Json;
12474
+ pdf_base64?: string | null;
12475
+ pdf_url?: string | null;
12362
12476
  pogingen?: number;
12363
12477
  printer_id?: string | null;
12364
12478
  render_html?: string | null;
12365
12479
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
12366
12480
  updated_at?: string;
12481
+ volgende_poging?: string | null;
12367
12482
  voltooid_op?: string | null;
12368
12483
  };
12369
12484
  Update: {
@@ -12372,22 +12487,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12372
12487
  created_at?: string;
12373
12488
  documentnaam?: string;
12374
12489
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
12490
+ extern_job_id?: string | null;
12375
12491
  foutmelding?: string | null;
12376
12492
  gebruiker_id?: string | null;
12377
12493
  gebruiker_naam?: string;
12378
12494
  gestart_op?: string | null;
12379
12495
  id?: string;
12496
+ idempotentie_sleutel?: string | null;
12380
12497
  is_herprint?: boolean;
12381
12498
  kopieen?: number;
12382
12499
  layout_id?: string | null;
12383
12500
  opgepakt_op?: string | null;
12384
12501
  paginas?: number;
12385
12502
  payload?: import("../integrations/supabase/types").Json;
12503
+ pdf_base64?: string | null;
12504
+ pdf_url?: string | null;
12386
12505
  pogingen?: number;
12387
12506
  printer_id?: string | null;
12388
12507
  render_html?: string | null;
12389
12508
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
12390
12509
  updated_at?: string;
12510
+ volgende_poging?: string | null;
12391
12511
  voltooid_op?: string | null;
12392
12512
  };
12393
12513
  Relationships: [{
@@ -12410,6 +12530,63 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12410
12530
  referencedColumns: ["id"];
12411
12531
  }];
12412
12532
  };
12533
+ print_queue_runners: {
12534
+ Row: {
12535
+ actief: boolean;
12536
+ basis_url: string;
12537
+ created_at: string;
12538
+ id: string;
12539
+ laatst_gezien: string;
12540
+ tick_sleutel: string;
12541
+ updated_at: string;
12542
+ };
12543
+ Insert: {
12544
+ actief?: boolean;
12545
+ basis_url: string;
12546
+ created_at?: string;
12547
+ id?: string;
12548
+ laatst_gezien?: string;
12549
+ tick_sleutel?: string;
12550
+ updated_at?: string;
12551
+ };
12552
+ Update: {
12553
+ actief?: boolean;
12554
+ basis_url?: string;
12555
+ created_at?: string;
12556
+ id?: string;
12557
+ laatst_gezien?: string;
12558
+ tick_sleutel?: string;
12559
+ updated_at?: string;
12560
+ };
12561
+ Relationships: [];
12562
+ };
12563
+ print_queue_settings: {
12564
+ Row: {
12565
+ bewaar_bestanden_dagen: number;
12566
+ bewaar_opdrachten_dagen: number;
12567
+ created_at: string;
12568
+ dubbel_venster_minuten: number;
12569
+ id: string;
12570
+ updated_at: string;
12571
+ };
12572
+ Insert: {
12573
+ bewaar_bestanden_dagen?: number;
12574
+ bewaar_opdrachten_dagen?: number;
12575
+ created_at?: string;
12576
+ dubbel_venster_minuten?: number;
12577
+ id?: string;
12578
+ updated_at?: string;
12579
+ };
12580
+ Update: {
12581
+ bewaar_bestanden_dagen?: number;
12582
+ bewaar_opdrachten_dagen?: number;
12583
+ created_at?: string;
12584
+ dubbel_venster_minuten?: number;
12585
+ id?: string;
12586
+ updated_at?: string;
12587
+ };
12588
+ Relationships: [];
12589
+ };
12413
12590
  print_rules: {
12414
12591
  Row: {
12415
12592
  actief: boolean;
@@ -12570,6 +12747,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12570
12747
  agent_id: string | null;
12571
12748
  created_at: string;
12572
12749
  driver: string;
12750
+ extern_printer_id: string | null;
12573
12751
  id: string;
12574
12752
  ip_adres: string | null;
12575
12753
  laatst_gezien: string | null;
@@ -12591,6 +12769,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12591
12769
  agent_id?: string | null;
12592
12770
  created_at?: string;
12593
12771
  driver?: string;
12772
+ extern_printer_id?: string | null;
12594
12773
  id?: string;
12595
12774
  ip_adres?: string | null;
12596
12775
  laatst_gezien?: string | null;
@@ -12612,6 +12791,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12612
12791
  agent_id?: string | null;
12613
12792
  created_at?: string;
12614
12793
  driver?: string;
12794
+ extern_printer_id?: string | null;
12615
12795
  id?: string;
12616
12796
  ip_adres?: string | null;
12617
12797
  laatst_gezien?: string | null;
@@ -16349,6 +16529,33 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16349
16529
  referencedColumns: ["id"];
16350
16530
  }];
16351
16531
  };
16532
+ user_module_permissions: {
16533
+ Row: {
16534
+ created_at: string;
16535
+ id: string;
16536
+ module_id: string;
16537
+ permission: string;
16538
+ updated_at: string;
16539
+ user_id: string;
16540
+ };
16541
+ Insert: {
16542
+ created_at?: string;
16543
+ id?: string;
16544
+ module_id: string;
16545
+ permission: string;
16546
+ updated_at?: string;
16547
+ user_id: string;
16548
+ };
16549
+ Update: {
16550
+ created_at?: string;
16551
+ id?: string;
16552
+ module_id?: string;
16553
+ permission?: string;
16554
+ updated_at?: string;
16555
+ user_id?: string;
16556
+ };
16557
+ Relationships: [];
16558
+ };
16352
16559
  user_roles: {
16353
16560
  Row: {
16354
16561
  created_at: string;
@@ -18216,6 +18423,46 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18216
18423
  };
18217
18424
  Returns: import("../integrations/supabase/types").Json;
18218
18425
  };
18426
+ claim_cloud_print_jobs: {
18427
+ Args: {
18428
+ _max?: number;
18429
+ };
18430
+ Returns: {
18431
+ agent_id: string | null;
18432
+ bron_job_id: string | null;
18433
+ created_at: string;
18434
+ documentnaam: string;
18435
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
18436
+ extern_job_id: string | null;
18437
+ foutmelding: string | null;
18438
+ gebruiker_id: string | null;
18439
+ gebruiker_naam: string;
18440
+ gestart_op: string | null;
18441
+ id: string;
18442
+ idempotentie_sleutel: string | null;
18443
+ is_herprint: boolean;
18444
+ kopieen: number;
18445
+ layout_id: string | null;
18446
+ opgepakt_op: string | null;
18447
+ paginas: number;
18448
+ payload: import("../integrations/supabase/types").Json;
18449
+ pdf_base64: string | null;
18450
+ pdf_url: string | null;
18451
+ pogingen: number;
18452
+ printer_id: string | null;
18453
+ render_html: string | null;
18454
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
18455
+ updated_at: string;
18456
+ volgende_poging: string | null;
18457
+ voltooid_op: string | null;
18458
+ }[];
18459
+ SetofOptions: {
18460
+ from: "*";
18461
+ to: "print_jobs";
18462
+ isOneToOne: false;
18463
+ isSetofReturn: true;
18464
+ };
18465
+ };
18219
18466
  claim_floriday_stock_queue: {
18220
18467
  Args: {
18221
18468
  p_limit?: number;
@@ -18306,22 +18553,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18306
18553
  created_at: string;
18307
18554
  documentnaam: string;
18308
18555
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
18556
+ extern_job_id: string | null;
18309
18557
  foutmelding: string | null;
18310
18558
  gebruiker_id: string | null;
18311
18559
  gebruiker_naam: string;
18312
18560
  gestart_op: string | null;
18313
18561
  id: string;
18562
+ idempotentie_sleutel: string | null;
18314
18563
  is_herprint: boolean;
18315
18564
  kopieen: number;
18316
18565
  layout_id: string | null;
18317
18566
  opgepakt_op: string | null;
18318
18567
  paginas: number;
18319
18568
  payload: import("../integrations/supabase/types").Json;
18569
+ pdf_base64: string | null;
18570
+ pdf_url: string | null;
18320
18571
  pogingen: number;
18321
18572
  printer_id: string | null;
18322
18573
  render_html: string | null;
18323
18574
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
18324
18575
  updated_at: string;
18576
+ volgende_poging: string | null;
18325
18577
  voltooid_op: string | null;
18326
18578
  }[];
18327
18579
  SetofOptions: {
@@ -18367,6 +18619,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18367
18619
  Args: never;
18368
18620
  Returns: undefined;
18369
18621
  };
18622
+ cleanup_voorraad_module_history: {
18623
+ Args: never;
18624
+ Returns: undefined;
18625
+ };
18370
18626
  complete_floriday_stock_queue: {
18371
18627
  Args: {
18372
18628
  p_attempt_id?: string;
@@ -18488,6 +18744,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18488
18744
  };
18489
18745
  Returns: import("../integrations/supabase/types").Json;
18490
18746
  };
18747
+ effective_module_permission: {
18748
+ Args: {
18749
+ _module_id: string;
18750
+ _user_id: string;
18751
+ };
18752
+ Returns: string;
18753
+ };
18491
18754
  email_auth_decrypt: {
18492
18755
  Args: {
18493
18756
  cipher: string;
@@ -19291,6 +19554,51 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19291
19554
  isSetofReturn: false;
19292
19555
  };
19293
19556
  };
19557
+ logistics_floriday_claim_pushes: {
19558
+ Args: {
19559
+ _lease_seconds?: number;
19560
+ _limit?: number;
19561
+ _worker?: string;
19562
+ };
19563
+ Returns: {
19564
+ attempts: number;
19565
+ fulfillment_order_id: string;
19566
+ id: string;
19567
+ last_sent_hash: string;
19568
+ order_ref: string;
19569
+ payload: import("../integrations/supabase/types").Json;
19570
+ payload_hash: string;
19571
+ revision: number;
19572
+ }[];
19573
+ };
19574
+ logistics_floriday_finish_push: {
19575
+ Args: {
19576
+ _error?: string;
19577
+ _fulfillment_order_id?: string;
19578
+ _id: string;
19579
+ _max_age_hours?: number;
19580
+ _max_attempts?: number;
19581
+ _ok: boolean;
19582
+ _permanent?: boolean;
19583
+ _revision: number;
19584
+ _sent_hash?: string;
19585
+ };
19586
+ Returns: string;
19587
+ };
19588
+ logistics_floriday_prune_pushes: {
19589
+ Args: {
19590
+ _days?: number;
19591
+ };
19592
+ Returns: number;
19593
+ };
19594
+ logistics_floriday_queue_push: {
19595
+ Args: {
19596
+ _order_ref: string;
19597
+ _payload?: import("../integrations/supabase/types").Json;
19598
+ _payload_hash?: string;
19599
+ };
19600
+ Returns: string;
19601
+ };
19294
19602
  logistics_live_carriers: {
19295
19603
  Args: {
19296
19604
  p_order_ref: string;
@@ -19581,6 +19889,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19581
19889
  };
19582
19890
  Returns: undefined;
19583
19891
  };
19892
+ my_module_permissions: {
19893
+ Args: never;
19894
+ Returns: {
19895
+ module_id: string;
19896
+ permission: string;
19897
+ }[];
19898
+ };
19584
19899
  next_manufacture_partij: {
19585
19900
  Args: {
19586
19901
  _tenant_id: string;
@@ -19631,6 +19946,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19631
19946
  };
19632
19947
  Returns: boolean;
19633
19948
  };
19949
+ opruim_print_historie: {
19950
+ Args: never;
19951
+ Returns: {
19952
+ ontdaan: number;
19953
+ verwijderd: number;
19954
+ }[];
19955
+ };
19634
19956
  order_number_prefix: {
19635
19957
  Args: {
19636
19958
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -19638,6 +19960,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19638
19960
  };
19639
19961
  Returns: string;
19640
19962
  };
19963
+ pick_active_printers: {
19964
+ Args: never;
19965
+ Returns: {
19966
+ id: string;
19967
+ locatie: string;
19968
+ naam: string;
19969
+ online: boolean;
19970
+ }[];
19971
+ };
19641
19972
  pick_claim_document: {
19642
19973
  Args: {
19643
19974
  _queue_item_id: string;
@@ -19824,6 +20155,52 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19824
20155
  };
19825
20156
  Returns: undefined;
19826
20157
  };
20158
+ pick_reset_print: {
20159
+ Args: {
20160
+ _queue_item_id: string;
20161
+ _session_id: string;
20162
+ };
20163
+ Returns: {
20164
+ announced_at: string;
20165
+ assigned_user_id: string | null;
20166
+ barcode: string | null;
20167
+ cancelled_at: string | null;
20168
+ cart_count: number;
20169
+ completed_at: string | null;
20170
+ country_code: string | null;
20171
+ created_at: string;
20172
+ customer_name: string | null;
20173
+ delivery_address: string | null;
20174
+ document_number: string | null;
20175
+ document_type_id: string | null;
20176
+ due_at: string | null;
20177
+ id: string;
20178
+ is_urgent: boolean;
20179
+ line_count: number;
20180
+ order_number: string | null;
20181
+ order_type: string | null;
20182
+ payload: import("../integrations/supabase/types").Json;
20183
+ print_count: number;
20184
+ print_job_id: string | null;
20185
+ printed_at: string | null;
20186
+ printed_by: string | null;
20187
+ printer_id: string | null;
20188
+ priority: number;
20189
+ reference: string | null;
20190
+ route: string | null;
20191
+ screen_id: string | null;
20192
+ station_id: string | null;
20193
+ status_id: string | null;
20194
+ updated_at: string;
20195
+ warnings: import("../integrations/supabase/types").Json;
20196
+ };
20197
+ SetofOptions: {
20198
+ from: "*";
20199
+ to: "pick_queue";
20200
+ isOneToOne: true;
20201
+ isSetofReturn: false;
20202
+ };
20203
+ };
19827
20204
  pick_station_dashboard: {
19828
20205
  Args: never;
19829
20206
  Returns: {
@@ -19970,6 +20347,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19970
20347
  };
19971
20348
  Returns: undefined;
19972
20349
  };
20350
+ reset_stalled_floriday_stock_queue: {
20351
+ Args: {
20352
+ p_include_failed?: boolean;
20353
+ };
20354
+ Returns: number;
20355
+ };
19973
20356
  resolve_group_allocation: {
19974
20357
  Args: {
19975
20358
  _needed: number;
@@ -20014,14 +20397,28 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20014
20397
  };
20015
20398
  Returns: import("../integrations/supabase/types").Json;
20016
20399
  };
20400
+ ruim_print_jobs_op: {
20401
+ Args: {
20402
+ _bewaar_dagen?: number;
20403
+ };
20404
+ Returns: number;
20405
+ };
20017
20406
  run_floriday_continuous_stock_sync: {
20018
20407
  Args: never;
20019
20408
  Returns: undefined;
20020
20409
  };
20410
+ run_floriday_stock_queue_process: {
20411
+ Args: never;
20412
+ Returns: undefined;
20413
+ };
20021
20414
  run_logistics_tasks_dispatch: {
20022
20415
  Args: never;
20023
20416
  Returns: undefined;
20024
20417
  };
20418
+ run_print_queue_ticks: {
20419
+ Args: never;
20420
+ Returns: number;
20421
+ };
20025
20422
  run_twinfield_queue_tick: {
20026
20423
  Args: never;
20027
20424
  Returns: undefined;
@@ -20409,6 +20806,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20409
20806
  };
20410
20807
  Returns: undefined;
20411
20808
  };
20809
+ trade_item_stock_duplicates: {
20810
+ Args: never;
20811
+ Returns: {
20812
+ keys: string[];
20813
+ product_id: string;
20814
+ product_name: string;
20815
+ row_count: number;
20816
+ }[];
20817
+ };
20412
20818
  try_debtor_lock: {
20413
20819
  Args: {
20414
20820
  _group_key: string;
@@ -20458,7 +20864,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20458
20864
  };
20459
20865
  Enums: {
20460
20866
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
20461
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20867
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
20462
20868
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
20463
20869
  doc_orientation: "portrait" | "landscape";
20464
20870
  exact_env: "staging" | "live";