@flowselections/floriday-verkoop-module 1.0.46 → 1.0.47

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 (69) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +3 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  3. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +90 -19
  4. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/SalesOrderDetailView.js +1 -1
  6. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +6 -0
  7. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -0
  8. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.js +26 -0
  9. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  10. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +2 -1
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +328 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.d.ts +328 -0
  14. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.js +2 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +328 -0
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  19. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  20. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  21. package/dist-lib/integrations/supabase/types.d.ts +335 -0
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/cart-lock.functions.d.ts +328 -0
  24. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/cart-planning-settings.functions.d.ts +4307 -699
  26. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/cart-replan.functions.d.ts +984 -0
  28. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/create-order.functions.d.ts +7175 -1599
  30. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +984 -0
  32. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +328 -0
  34. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-mirror.functions.d.ts +328 -0
  36. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-mirror.functions.js +39 -10
  38. package/dist-lib/lib/floriday-public.functions.d.ts +2395 -99
  39. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-writes.functions.d.ts +1640 -0
  41. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/invoice-timing.functions.d.ts +1312 -0
  43. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/load-carriers.functions.d.ts +328 -0
  45. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/logistics-engine.functions.d.ts +1640 -0
  47. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/logistics-stock.functions.d.ts +656 -0
  49. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-addresses.functions.d.ts +328 -0
  51. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-buffers.functions.d.ts +984 -0
  53. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/order-carrier.functions.d.ts +656 -0
  55. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/order-pickup.functions.d.ts +656 -0
  57. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/order-shipments.functions.d.ts +1312 -0
  59. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders-list.functions.d.ts +328 -0
  61. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/salesorders.functions.d.ts +1640 -0
  63. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +45850 -0
  65. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -0
  66. package/dist-lib/lib/stock-consumption-alerts.functions.js +50 -0
  67. package/dist-lib/lib/tradeitems.functions.d.ts +328 -0
  68. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  69. package/package.json +2 -1
@@ -674,6 +674,99 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
674
674
  };
675
675
  Relationships: [];
676
676
  };
677
+ artikelen_cache: {
678
+ Row: {
679
+ artikelcode: string;
680
+ bron: string;
681
+ bruto_prijs_cent: number | null;
682
+ created_at: string;
683
+ eenheid: string;
684
+ fabrikant: string | null;
685
+ fetched_at: string;
686
+ gtin: string | null;
687
+ id: string;
688
+ naam: string;
689
+ netto_prijs_cent: number | null;
690
+ omschrijving: string | null;
691
+ raw: import("../integrations/supabase/types").Json;
692
+ updated_at: string;
693
+ valuta: string;
694
+ };
695
+ Insert: {
696
+ artikelcode: string;
697
+ bron?: string;
698
+ bruto_prijs_cent?: number | null;
699
+ created_at?: string;
700
+ eenheid?: string;
701
+ fabrikant?: string | null;
702
+ fetched_at?: string;
703
+ gtin?: string | null;
704
+ id?: string;
705
+ naam: string;
706
+ netto_prijs_cent?: number | null;
707
+ omschrijving?: string | null;
708
+ raw?: import("../integrations/supabase/types").Json;
709
+ updated_at?: string;
710
+ valuta?: string;
711
+ };
712
+ Update: {
713
+ artikelcode?: string;
714
+ bron?: string;
715
+ bruto_prijs_cent?: number | null;
716
+ created_at?: string;
717
+ eenheid?: string;
718
+ fabrikant?: string | null;
719
+ fetched_at?: string;
720
+ gtin?: string | null;
721
+ id?: string;
722
+ naam?: string;
723
+ netto_prijs_cent?: number | null;
724
+ omschrijving?: string | null;
725
+ raw?: import("../integrations/supabase/types").Json;
726
+ updated_at?: string;
727
+ valuta?: string;
728
+ };
729
+ Relationships: [];
730
+ };
731
+ artikelen_veldconfig: {
732
+ Row: {
733
+ bron_pad: string;
734
+ created_at: string;
735
+ id: string;
736
+ label: string;
737
+ sort_order: number;
738
+ type: string;
739
+ updated_at: string;
740
+ veld_key: string;
741
+ zichtbaar_in_detail: boolean;
742
+ zichtbaar_in_lijst: boolean;
743
+ };
744
+ Insert: {
745
+ bron_pad: string;
746
+ created_at?: string;
747
+ id?: string;
748
+ label: string;
749
+ sort_order?: number;
750
+ type?: string;
751
+ updated_at?: string;
752
+ veld_key: string;
753
+ zichtbaar_in_detail?: boolean;
754
+ zichtbaar_in_lijst?: boolean;
755
+ };
756
+ Update: {
757
+ bron_pad?: string;
758
+ created_at?: string;
759
+ id?: string;
760
+ label?: string;
761
+ sort_order?: number;
762
+ type?: string;
763
+ updated_at?: string;
764
+ veld_key?: string;
765
+ zichtbaar_in_detail?: boolean;
766
+ zichtbaar_in_lijst?: boolean;
767
+ };
768
+ Relationships: [];
769
+ };
677
770
  booking_items: {
678
771
  Row: {
679
772
  booking_id: string;
@@ -3146,6 +3239,48 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
3146
3239
  };
3147
3240
  Relationships: [];
3148
3241
  };
3242
+ document_printplek_printers: {
3243
+ Row: {
3244
+ created_at: string;
3245
+ documenttype: string;
3246
+ id: string;
3247
+ papierformaat: string | null;
3248
+ print_plek_id: string;
3249
+ printer_id: string | null;
3250
+ updated_at: string;
3251
+ };
3252
+ Insert: {
3253
+ created_at?: string;
3254
+ documenttype: string;
3255
+ id?: string;
3256
+ papierformaat?: string | null;
3257
+ print_plek_id: string;
3258
+ printer_id?: string | null;
3259
+ updated_at?: string;
3260
+ };
3261
+ Update: {
3262
+ created_at?: string;
3263
+ documenttype?: string;
3264
+ id?: string;
3265
+ papierformaat?: string | null;
3266
+ print_plek_id?: string;
3267
+ printer_id?: string | null;
3268
+ updated_at?: string;
3269
+ };
3270
+ Relationships: [{
3271
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3272
+ columns: ["print_plek_id"];
3273
+ isOneToOne: false;
3274
+ referencedRelation: "print_plekken";
3275
+ referencedColumns: ["id"];
3276
+ }, {
3277
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3278
+ columns: ["printer_id"];
3279
+ isOneToOne: false;
3280
+ referencedRelation: "printers";
3281
+ referencedColumns: ["id"];
3282
+ }];
3283
+ };
3149
3284
  document_werkplek_printers: {
3150
3285
  Row: {
3151
3286
  created_at: string;
@@ -9127,6 +9262,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
9127
9262
  last_error_at: string | null;
9128
9263
  last_error_code: string | null;
9129
9264
  last_gateway_status: number | null;
9265
+ last_queued_at: string | null;
9130
9266
  last_response: import("../integrations/supabase/types").Json | null;
9131
9267
  last_sent_hash: string | null;
9132
9268
  locked_by: string | null;
@@ -9150,6 +9286,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
9150
9286
  last_error_at?: string | null;
9151
9287
  last_error_code?: string | null;
9152
9288
  last_gateway_status?: number | null;
9289
+ last_queued_at?: string | null;
9153
9290
  last_response?: import("../integrations/supabase/types").Json | null;
9154
9291
  last_sent_hash?: string | null;
9155
9292
  locked_by?: string | null;
@@ -9173,6 +9310,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
9173
9310
  last_error_at?: string | null;
9174
9311
  last_error_code?: string | null;
9175
9312
  last_gateway_status?: number | null;
9313
+ last_queued_at?: string | null;
9176
9314
  last_response?: import("../integrations/supabase/types").Json | null;
9177
9315
  last_sent_hash?: string | null;
9178
9316
  locked_by?: string | null;
@@ -13343,6 +13481,99 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
13343
13481
  referencedColumns: ["id"];
13344
13482
  }];
13345
13483
  };
13484
+ print_plek_computers: {
13485
+ Row: {
13486
+ computer_naam: string;
13487
+ created_at: string;
13488
+ id: string;
13489
+ print_plek_id: string;
13490
+ updated_at: string;
13491
+ };
13492
+ Insert: {
13493
+ computer_naam: string;
13494
+ created_at?: string;
13495
+ id?: string;
13496
+ print_plek_id: string;
13497
+ updated_at?: string;
13498
+ };
13499
+ Update: {
13500
+ computer_naam?: string;
13501
+ created_at?: string;
13502
+ id?: string;
13503
+ print_plek_id?: string;
13504
+ updated_at?: string;
13505
+ };
13506
+ Relationships: [{
13507
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13508
+ columns: ["print_plek_id"];
13509
+ isOneToOne: false;
13510
+ referencedRelation: "print_plekken";
13511
+ referencedColumns: ["id"];
13512
+ }];
13513
+ };
13514
+ print_plek_koppelingen: {
13515
+ Row: {
13516
+ bron: string;
13517
+ bron_id: string;
13518
+ created_at: string;
13519
+ id: string;
13520
+ label: string | null;
13521
+ print_plek_id: string;
13522
+ updated_at: string;
13523
+ };
13524
+ Insert: {
13525
+ bron: string;
13526
+ bron_id: string;
13527
+ created_at?: string;
13528
+ id?: string;
13529
+ label?: string | null;
13530
+ print_plek_id: string;
13531
+ updated_at?: string;
13532
+ };
13533
+ Update: {
13534
+ bron?: string;
13535
+ bron_id?: string;
13536
+ created_at?: string;
13537
+ id?: string;
13538
+ label?: string | null;
13539
+ print_plek_id?: string;
13540
+ updated_at?: string;
13541
+ };
13542
+ Relationships: [{
13543
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13544
+ columns: ["print_plek_id"];
13545
+ isOneToOne: false;
13546
+ referencedRelation: "print_plekken";
13547
+ referencedColumns: ["id"];
13548
+ }];
13549
+ };
13550
+ print_plekken: {
13551
+ Row: {
13552
+ actief: boolean;
13553
+ created_at: string;
13554
+ id: string;
13555
+ naam: string;
13556
+ omschrijving: string | null;
13557
+ updated_at: string;
13558
+ };
13559
+ Insert: {
13560
+ actief?: boolean;
13561
+ created_at?: string;
13562
+ id?: string;
13563
+ naam: string;
13564
+ omschrijving?: string | null;
13565
+ updated_at?: string;
13566
+ };
13567
+ Update: {
13568
+ actief?: boolean;
13569
+ created_at?: string;
13570
+ id?: string;
13571
+ naam?: string;
13572
+ omschrijving?: string | null;
13573
+ updated_at?: string;
13574
+ };
13575
+ Relationships: [];
13576
+ };
13346
13577
  print_queue_runners: {
13347
13578
  Row: {
13348
13579
  actief: boolean;
@@ -15497,6 +15728,45 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
15497
15728
  };
15498
15729
  Relationships: [];
15499
15730
  };
15731
+ stock_consumption_alerts: {
15732
+ Row: {
15733
+ alert_type: string;
15734
+ created_at: string;
15735
+ id: string;
15736
+ mutation_log_id: string | null;
15737
+ order_id: string | null;
15738
+ order_item_id: string | null;
15739
+ qty: number;
15740
+ reason: string | null;
15741
+ resolved_at: string | null;
15742
+ updated_at: string;
15743
+ };
15744
+ Insert: {
15745
+ alert_type: string;
15746
+ created_at?: string;
15747
+ id?: string;
15748
+ mutation_log_id?: string | null;
15749
+ order_id?: string | null;
15750
+ order_item_id?: string | null;
15751
+ qty?: number;
15752
+ reason?: string | null;
15753
+ resolved_at?: string | null;
15754
+ updated_at?: string;
15755
+ };
15756
+ Update: {
15757
+ alert_type?: string;
15758
+ created_at?: string;
15759
+ id?: string;
15760
+ mutation_log_id?: string | null;
15761
+ order_id?: string | null;
15762
+ order_item_id?: string | null;
15763
+ qty?: number;
15764
+ reason?: string | null;
15765
+ resolved_at?: string | null;
15766
+ updated_at?: string;
15767
+ };
15768
+ Relationships: [];
15769
+ };
15500
15770
  stock_import_runs: {
15501
15771
  Row: {
15502
15772
  connection_id: string | null;
@@ -21091,6 +21361,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
21091
21361
  };
21092
21362
  Returns: string;
21093
21363
  };
21364
+ logistics_floriday_finish_push_v3: {
21365
+ Args: {
21366
+ _error?: string;
21367
+ _error_code?: string;
21368
+ _fulfillment_order_id?: string;
21369
+ _gateway_status?: number;
21370
+ _id: string;
21371
+ _max_age_hours?: number;
21372
+ _max_attempts?: number;
21373
+ _outcome: string;
21374
+ _permanent?: boolean;
21375
+ _response?: import("../integrations/supabase/types").Json;
21376
+ _revision: number;
21377
+ _sent_hash?: string;
21378
+ _wait_max_age_hours?: number;
21379
+ };
21380
+ Returns: string;
21381
+ };
21094
21382
  logistics_floriday_prune_pushes: {
21095
21383
  Args: {
21096
21384
  _days?: number;
@@ -21519,6 +21807,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
21519
21807
  verwijderd: number;
21520
21808
  }[];
21521
21809
  };
21810
+ order_departure_proof: {
21811
+ Args: {
21812
+ p_order_id: string;
21813
+ };
21814
+ Returns: import("../integrations/supabase/types").Json;
21815
+ };
21522
21816
  order_number_prefix: {
21523
21817
  Args: {
21524
21818
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21726,6 +22020,14 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
21726
22020
  };
21727
22021
  Returns: import("../integrations/supabase/types").Json;
21728
22022
  };
22023
+ pick_print_plekken: {
22024
+ Args: never;
22025
+ Returns: {
22026
+ id: string;
22027
+ naam: string;
22028
+ omschrijving: string;
22029
+ }[];
22030
+ };
21729
22031
  pick_release_expired_locks: {
21730
22032
  Args: never;
21731
22033
  Returns: number;
@@ -21790,6 +22092,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
21790
22092
  isSetofReturn: false;
21791
22093
  };
21792
22094
  };
22095
+ pick_set_station_print_plek: {
22096
+ Args: {
22097
+ _print_plek_id: string;
22098
+ _station_id: string;
22099
+ };
22100
+ Returns: string;
22101
+ };
21793
22102
  pick_station_dashboard: {
21794
22103
  Args: never;
21795
22104
  Returns: {
@@ -21802,6 +22111,25 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
21802
22111
  waiting: number;
21803
22112
  }[];
21804
22113
  };
22114
+ pick_station_print_plek: {
22115
+ Args: {
22116
+ _station_id: string;
22117
+ };
22118
+ Returns: {
22119
+ naam: string;
22120
+ omschrijving: string;
22121
+ print_plek_id: string;
22122
+ }[];
22123
+ };
22124
+ pick_station_print_plekken: {
22125
+ Args: never;
22126
+ Returns: {
22127
+ naam: string;
22128
+ omschrijving: string;
22129
+ print_plek_id: string;
22130
+ station_id: string;
22131
+ }[];
22132
+ };
21805
22133
  pick_station_slugify: {
21806
22134
  Args: {
21807
22135
  _id: string;
@@ -23267,6 +23595,99 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
23267
23595
  };
23268
23596
  Relationships: [];
23269
23597
  };
23598
+ artikelen_cache: {
23599
+ Row: {
23600
+ artikelcode: string;
23601
+ bron: string;
23602
+ bruto_prijs_cent: number | null;
23603
+ created_at: string;
23604
+ eenheid: string;
23605
+ fabrikant: string | null;
23606
+ fetched_at: string;
23607
+ gtin: string | null;
23608
+ id: string;
23609
+ naam: string;
23610
+ netto_prijs_cent: number | null;
23611
+ omschrijving: string | null;
23612
+ raw: import("../integrations/supabase/types").Json;
23613
+ updated_at: string;
23614
+ valuta: string;
23615
+ };
23616
+ Insert: {
23617
+ artikelcode: string;
23618
+ bron?: string;
23619
+ bruto_prijs_cent?: number | null;
23620
+ created_at?: string;
23621
+ eenheid?: string;
23622
+ fabrikant?: string | null;
23623
+ fetched_at?: string;
23624
+ gtin?: string | null;
23625
+ id?: string;
23626
+ naam: string;
23627
+ netto_prijs_cent?: number | null;
23628
+ omschrijving?: string | null;
23629
+ raw?: import("../integrations/supabase/types").Json;
23630
+ updated_at?: string;
23631
+ valuta?: string;
23632
+ };
23633
+ Update: {
23634
+ artikelcode?: string;
23635
+ bron?: string;
23636
+ bruto_prijs_cent?: number | null;
23637
+ created_at?: string;
23638
+ eenheid?: string;
23639
+ fabrikant?: string | null;
23640
+ fetched_at?: string;
23641
+ gtin?: string | null;
23642
+ id?: string;
23643
+ naam?: string;
23644
+ netto_prijs_cent?: number | null;
23645
+ omschrijving?: string | null;
23646
+ raw?: import("../integrations/supabase/types").Json;
23647
+ updated_at?: string;
23648
+ valuta?: string;
23649
+ };
23650
+ Relationships: [];
23651
+ };
23652
+ artikelen_veldconfig: {
23653
+ Row: {
23654
+ bron_pad: string;
23655
+ created_at: string;
23656
+ id: string;
23657
+ label: string;
23658
+ sort_order: number;
23659
+ type: string;
23660
+ updated_at: string;
23661
+ veld_key: string;
23662
+ zichtbaar_in_detail: boolean;
23663
+ zichtbaar_in_lijst: boolean;
23664
+ };
23665
+ Insert: {
23666
+ bron_pad: string;
23667
+ created_at?: string;
23668
+ id?: string;
23669
+ label: string;
23670
+ sort_order?: number;
23671
+ type?: string;
23672
+ updated_at?: string;
23673
+ veld_key: string;
23674
+ zichtbaar_in_detail?: boolean;
23675
+ zichtbaar_in_lijst?: boolean;
23676
+ };
23677
+ Update: {
23678
+ bron_pad?: string;
23679
+ created_at?: string;
23680
+ id?: string;
23681
+ label?: string;
23682
+ sort_order?: number;
23683
+ type?: string;
23684
+ updated_at?: string;
23685
+ veld_key?: string;
23686
+ zichtbaar_in_detail?: boolean;
23687
+ zichtbaar_in_lijst?: boolean;
23688
+ };
23689
+ Relationships: [];
23690
+ };
23270
23691
  booking_items: {
23271
23692
  Row: {
23272
23693
  booking_id: string;
@@ -25739,6 +26160,48 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
25739
26160
  };
25740
26161
  Relationships: [];
25741
26162
  };
26163
+ document_printplek_printers: {
26164
+ Row: {
26165
+ created_at: string;
26166
+ documenttype: string;
26167
+ id: string;
26168
+ papierformaat: string | null;
26169
+ print_plek_id: string;
26170
+ printer_id: string | null;
26171
+ updated_at: string;
26172
+ };
26173
+ Insert: {
26174
+ created_at?: string;
26175
+ documenttype: string;
26176
+ id?: string;
26177
+ papierformaat?: string | null;
26178
+ print_plek_id: string;
26179
+ printer_id?: string | null;
26180
+ updated_at?: string;
26181
+ };
26182
+ Update: {
26183
+ created_at?: string;
26184
+ documenttype?: string;
26185
+ id?: string;
26186
+ papierformaat?: string | null;
26187
+ print_plek_id?: string;
26188
+ printer_id?: string | null;
26189
+ updated_at?: string;
26190
+ };
26191
+ Relationships: [{
26192
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
26193
+ columns: ["print_plek_id"];
26194
+ isOneToOne: false;
26195
+ referencedRelation: "print_plekken";
26196
+ referencedColumns: ["id"];
26197
+ }, {
26198
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
26199
+ columns: ["printer_id"];
26200
+ isOneToOne: false;
26201
+ referencedRelation: "printers";
26202
+ referencedColumns: ["id"];
26203
+ }];
26204
+ };
25742
26205
  document_werkplek_printers: {
25743
26206
  Row: {
25744
26207
  created_at: string;
@@ -31720,6 +32183,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
31720
32183
  last_error_at: string | null;
31721
32184
  last_error_code: string | null;
31722
32185
  last_gateway_status: number | null;
32186
+ last_queued_at: string | null;
31723
32187
  last_response: import("../integrations/supabase/types").Json | null;
31724
32188
  last_sent_hash: string | null;
31725
32189
  locked_by: string | null;
@@ -31743,6 +32207,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
31743
32207
  last_error_at?: string | null;
31744
32208
  last_error_code?: string | null;
31745
32209
  last_gateway_status?: number | null;
32210
+ last_queued_at?: string | null;
31746
32211
  last_response?: import("../integrations/supabase/types").Json | null;
31747
32212
  last_sent_hash?: string | null;
31748
32213
  locked_by?: string | null;
@@ -31766,6 +32231,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
31766
32231
  last_error_at?: string | null;
31767
32232
  last_error_code?: string | null;
31768
32233
  last_gateway_status?: number | null;
32234
+ last_queued_at?: string | null;
31769
32235
  last_response?: import("../integrations/supabase/types").Json | null;
31770
32236
  last_sent_hash?: string | null;
31771
32237
  locked_by?: string | null;
@@ -35936,6 +36402,99 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
35936
36402
  referencedColumns: ["id"];
35937
36403
  }];
35938
36404
  };
36405
+ print_plek_computers: {
36406
+ Row: {
36407
+ computer_naam: string;
36408
+ created_at: string;
36409
+ id: string;
36410
+ print_plek_id: string;
36411
+ updated_at: string;
36412
+ };
36413
+ Insert: {
36414
+ computer_naam: string;
36415
+ created_at?: string;
36416
+ id?: string;
36417
+ print_plek_id: string;
36418
+ updated_at?: string;
36419
+ };
36420
+ Update: {
36421
+ computer_naam?: string;
36422
+ created_at?: string;
36423
+ id?: string;
36424
+ print_plek_id?: string;
36425
+ updated_at?: string;
36426
+ };
36427
+ Relationships: [{
36428
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
36429
+ columns: ["print_plek_id"];
36430
+ isOneToOne: false;
36431
+ referencedRelation: "print_plekken";
36432
+ referencedColumns: ["id"];
36433
+ }];
36434
+ };
36435
+ print_plek_koppelingen: {
36436
+ Row: {
36437
+ bron: string;
36438
+ bron_id: string;
36439
+ created_at: string;
36440
+ id: string;
36441
+ label: string | null;
36442
+ print_plek_id: string;
36443
+ updated_at: string;
36444
+ };
36445
+ Insert: {
36446
+ bron: string;
36447
+ bron_id: string;
36448
+ created_at?: string;
36449
+ id?: string;
36450
+ label?: string | null;
36451
+ print_plek_id: string;
36452
+ updated_at?: string;
36453
+ };
36454
+ Update: {
36455
+ bron?: string;
36456
+ bron_id?: string;
36457
+ created_at?: string;
36458
+ id?: string;
36459
+ label?: string | null;
36460
+ print_plek_id?: string;
36461
+ updated_at?: string;
36462
+ };
36463
+ Relationships: [{
36464
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
36465
+ columns: ["print_plek_id"];
36466
+ isOneToOne: false;
36467
+ referencedRelation: "print_plekken";
36468
+ referencedColumns: ["id"];
36469
+ }];
36470
+ };
36471
+ print_plekken: {
36472
+ Row: {
36473
+ actief: boolean;
36474
+ created_at: string;
36475
+ id: string;
36476
+ naam: string;
36477
+ omschrijving: string | null;
36478
+ updated_at: string;
36479
+ };
36480
+ Insert: {
36481
+ actief?: boolean;
36482
+ created_at?: string;
36483
+ id?: string;
36484
+ naam: string;
36485
+ omschrijving?: string | null;
36486
+ updated_at?: string;
36487
+ };
36488
+ Update: {
36489
+ actief?: boolean;
36490
+ created_at?: string;
36491
+ id?: string;
36492
+ naam?: string;
36493
+ omschrijving?: string | null;
36494
+ updated_at?: string;
36495
+ };
36496
+ Relationships: [];
36497
+ };
35939
36498
  print_queue_runners: {
35940
36499
  Row: {
35941
36500
  actief: boolean;
@@ -38090,6 +38649,45 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
38090
38649
  };
38091
38650
  Relationships: [];
38092
38651
  };
38652
+ stock_consumption_alerts: {
38653
+ Row: {
38654
+ alert_type: string;
38655
+ created_at: string;
38656
+ id: string;
38657
+ mutation_log_id: string | null;
38658
+ order_id: string | null;
38659
+ order_item_id: string | null;
38660
+ qty: number;
38661
+ reason: string | null;
38662
+ resolved_at: string | null;
38663
+ updated_at: string;
38664
+ };
38665
+ Insert: {
38666
+ alert_type: string;
38667
+ created_at?: string;
38668
+ id?: string;
38669
+ mutation_log_id?: string | null;
38670
+ order_id?: string | null;
38671
+ order_item_id?: string | null;
38672
+ qty?: number;
38673
+ reason?: string | null;
38674
+ resolved_at?: string | null;
38675
+ updated_at?: string;
38676
+ };
38677
+ Update: {
38678
+ alert_type?: string;
38679
+ created_at?: string;
38680
+ id?: string;
38681
+ mutation_log_id?: string | null;
38682
+ order_id?: string | null;
38683
+ order_item_id?: string | null;
38684
+ qty?: number;
38685
+ reason?: string | null;
38686
+ resolved_at?: string | null;
38687
+ updated_at?: string;
38688
+ };
38689
+ Relationships: [];
38690
+ };
38093
38691
  stock_import_runs: {
38094
38692
  Row: {
38095
38693
  connection_id: string | null;
@@ -43684,6 +44282,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
43684
44282
  };
43685
44283
  Returns: string;
43686
44284
  };
44285
+ logistics_floriday_finish_push_v3: {
44286
+ Args: {
44287
+ _error?: string;
44288
+ _error_code?: string;
44289
+ _fulfillment_order_id?: string;
44290
+ _gateway_status?: number;
44291
+ _id: string;
44292
+ _max_age_hours?: number;
44293
+ _max_attempts?: number;
44294
+ _outcome: string;
44295
+ _permanent?: boolean;
44296
+ _response?: import("../integrations/supabase/types").Json;
44297
+ _revision: number;
44298
+ _sent_hash?: string;
44299
+ _wait_max_age_hours?: number;
44300
+ };
44301
+ Returns: string;
44302
+ };
43687
44303
  logistics_floriday_prune_pushes: {
43688
44304
  Args: {
43689
44305
  _days?: number;
@@ -44112,6 +44728,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
44112
44728
  verwijderd: number;
44113
44729
  }[];
44114
44730
  };
44731
+ order_departure_proof: {
44732
+ Args: {
44733
+ p_order_id: string;
44734
+ };
44735
+ Returns: import("../integrations/supabase/types").Json;
44736
+ };
44115
44737
  order_number_prefix: {
44116
44738
  Args: {
44117
44739
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -44319,6 +44941,14 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
44319
44941
  };
44320
44942
  Returns: import("../integrations/supabase/types").Json;
44321
44943
  };
44944
+ pick_print_plekken: {
44945
+ Args: never;
44946
+ Returns: {
44947
+ id: string;
44948
+ naam: string;
44949
+ omschrijving: string;
44950
+ }[];
44951
+ };
44322
44952
  pick_release_expired_locks: {
44323
44953
  Args: never;
44324
44954
  Returns: number;
@@ -44383,6 +45013,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
44383
45013
  isSetofReturn: false;
44384
45014
  };
44385
45015
  };
45016
+ pick_set_station_print_plek: {
45017
+ Args: {
45018
+ _print_plek_id: string;
45019
+ _station_id: string;
45020
+ };
45021
+ Returns: string;
45022
+ };
44386
45023
  pick_station_dashboard: {
44387
45024
  Args: never;
44388
45025
  Returns: {
@@ -44395,6 +45032,25 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
44395
45032
  waiting: number;
44396
45033
  }[];
44397
45034
  };
45035
+ pick_station_print_plek: {
45036
+ Args: {
45037
+ _station_id: string;
45038
+ };
45039
+ Returns: {
45040
+ naam: string;
45041
+ omschrijving: string;
45042
+ print_plek_id: string;
45043
+ }[];
45044
+ };
45045
+ pick_station_print_plekken: {
45046
+ Args: never;
45047
+ Returns: {
45048
+ naam: string;
45049
+ omschrijving: string;
45050
+ print_plek_id: string;
45051
+ station_id: string;
45052
+ }[];
45053
+ };
44398
45054
  pick_station_slugify: {
44399
45055
  Args: {
44400
45056
  _id: string;
@@ -45857,6 +46513,99 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
45857
46513
  };
45858
46514
  Relationships: [];
45859
46515
  };
46516
+ artikelen_cache: {
46517
+ Row: {
46518
+ artikelcode: string;
46519
+ bron: string;
46520
+ bruto_prijs_cent: number | null;
46521
+ created_at: string;
46522
+ eenheid: string;
46523
+ fabrikant: string | null;
46524
+ fetched_at: string;
46525
+ gtin: string | null;
46526
+ id: string;
46527
+ naam: string;
46528
+ netto_prijs_cent: number | null;
46529
+ omschrijving: string | null;
46530
+ raw: import("../integrations/supabase/types").Json;
46531
+ updated_at: string;
46532
+ valuta: string;
46533
+ };
46534
+ Insert: {
46535
+ artikelcode: string;
46536
+ bron?: string;
46537
+ bruto_prijs_cent?: number | null;
46538
+ created_at?: string;
46539
+ eenheid?: string;
46540
+ fabrikant?: string | null;
46541
+ fetched_at?: string;
46542
+ gtin?: string | null;
46543
+ id?: string;
46544
+ naam: string;
46545
+ netto_prijs_cent?: number | null;
46546
+ omschrijving?: string | null;
46547
+ raw?: import("../integrations/supabase/types").Json;
46548
+ updated_at?: string;
46549
+ valuta?: string;
46550
+ };
46551
+ Update: {
46552
+ artikelcode?: string;
46553
+ bron?: string;
46554
+ bruto_prijs_cent?: number | null;
46555
+ created_at?: string;
46556
+ eenheid?: string;
46557
+ fabrikant?: string | null;
46558
+ fetched_at?: string;
46559
+ gtin?: string | null;
46560
+ id?: string;
46561
+ naam?: string;
46562
+ netto_prijs_cent?: number | null;
46563
+ omschrijving?: string | null;
46564
+ raw?: import("../integrations/supabase/types").Json;
46565
+ updated_at?: string;
46566
+ valuta?: string;
46567
+ };
46568
+ Relationships: [];
46569
+ };
46570
+ artikelen_veldconfig: {
46571
+ Row: {
46572
+ bron_pad: string;
46573
+ created_at: string;
46574
+ id: string;
46575
+ label: string;
46576
+ sort_order: number;
46577
+ type: string;
46578
+ updated_at: string;
46579
+ veld_key: string;
46580
+ zichtbaar_in_detail: boolean;
46581
+ zichtbaar_in_lijst: boolean;
46582
+ };
46583
+ Insert: {
46584
+ bron_pad: string;
46585
+ created_at?: string;
46586
+ id?: string;
46587
+ label: string;
46588
+ sort_order?: number;
46589
+ type?: string;
46590
+ updated_at?: string;
46591
+ veld_key: string;
46592
+ zichtbaar_in_detail?: boolean;
46593
+ zichtbaar_in_lijst?: boolean;
46594
+ };
46595
+ Update: {
46596
+ bron_pad?: string;
46597
+ created_at?: string;
46598
+ id?: string;
46599
+ label?: string;
46600
+ sort_order?: number;
46601
+ type?: string;
46602
+ updated_at?: string;
46603
+ veld_key?: string;
46604
+ zichtbaar_in_detail?: boolean;
46605
+ zichtbaar_in_lijst?: boolean;
46606
+ };
46607
+ Relationships: [];
46608
+ };
45860
46609
  booking_items: {
45861
46610
  Row: {
45862
46611
  booking_id: string;
@@ -48329,6 +49078,48 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
48329
49078
  };
48330
49079
  Relationships: [];
48331
49080
  };
49081
+ document_printplek_printers: {
49082
+ Row: {
49083
+ created_at: string;
49084
+ documenttype: string;
49085
+ id: string;
49086
+ papierformaat: string | null;
49087
+ print_plek_id: string;
49088
+ printer_id: string | null;
49089
+ updated_at: string;
49090
+ };
49091
+ Insert: {
49092
+ created_at?: string;
49093
+ documenttype: string;
49094
+ id?: string;
49095
+ papierformaat?: string | null;
49096
+ print_plek_id: string;
49097
+ printer_id?: string | null;
49098
+ updated_at?: string;
49099
+ };
49100
+ Update: {
49101
+ created_at?: string;
49102
+ documenttype?: string;
49103
+ id?: string;
49104
+ papierformaat?: string | null;
49105
+ print_plek_id?: string;
49106
+ printer_id?: string | null;
49107
+ updated_at?: string;
49108
+ };
49109
+ Relationships: [{
49110
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
49111
+ columns: ["print_plek_id"];
49112
+ isOneToOne: false;
49113
+ referencedRelation: "print_plekken";
49114
+ referencedColumns: ["id"];
49115
+ }, {
49116
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
49117
+ columns: ["printer_id"];
49118
+ isOneToOne: false;
49119
+ referencedRelation: "printers";
49120
+ referencedColumns: ["id"];
49121
+ }];
49122
+ };
48332
49123
  document_werkplek_printers: {
48333
49124
  Row: {
48334
49125
  created_at: string;
@@ -54310,6 +55101,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
54310
55101
  last_error_at: string | null;
54311
55102
  last_error_code: string | null;
54312
55103
  last_gateway_status: number | null;
55104
+ last_queued_at: string | null;
54313
55105
  last_response: import("../integrations/supabase/types").Json | null;
54314
55106
  last_sent_hash: string | null;
54315
55107
  locked_by: string | null;
@@ -54333,6 +55125,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
54333
55125
  last_error_at?: string | null;
54334
55126
  last_error_code?: string | null;
54335
55127
  last_gateway_status?: number | null;
55128
+ last_queued_at?: string | null;
54336
55129
  last_response?: import("../integrations/supabase/types").Json | null;
54337
55130
  last_sent_hash?: string | null;
54338
55131
  locked_by?: string | null;
@@ -54356,6 +55149,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
54356
55149
  last_error_at?: string | null;
54357
55150
  last_error_code?: string | null;
54358
55151
  last_gateway_status?: number | null;
55152
+ last_queued_at?: string | null;
54359
55153
  last_response?: import("../integrations/supabase/types").Json | null;
54360
55154
  last_sent_hash?: string | null;
54361
55155
  locked_by?: string | null;
@@ -58526,6 +59320,99 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
58526
59320
  referencedColumns: ["id"];
58527
59321
  }];
58528
59322
  };
59323
+ print_plek_computers: {
59324
+ Row: {
59325
+ computer_naam: string;
59326
+ created_at: string;
59327
+ id: string;
59328
+ print_plek_id: string;
59329
+ updated_at: string;
59330
+ };
59331
+ Insert: {
59332
+ computer_naam: string;
59333
+ created_at?: string;
59334
+ id?: string;
59335
+ print_plek_id: string;
59336
+ updated_at?: string;
59337
+ };
59338
+ Update: {
59339
+ computer_naam?: string;
59340
+ created_at?: string;
59341
+ id?: string;
59342
+ print_plek_id?: string;
59343
+ updated_at?: string;
59344
+ };
59345
+ Relationships: [{
59346
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
59347
+ columns: ["print_plek_id"];
59348
+ isOneToOne: false;
59349
+ referencedRelation: "print_plekken";
59350
+ referencedColumns: ["id"];
59351
+ }];
59352
+ };
59353
+ print_plek_koppelingen: {
59354
+ Row: {
59355
+ bron: string;
59356
+ bron_id: string;
59357
+ created_at: string;
59358
+ id: string;
59359
+ label: string | null;
59360
+ print_plek_id: string;
59361
+ updated_at: string;
59362
+ };
59363
+ Insert: {
59364
+ bron: string;
59365
+ bron_id: string;
59366
+ created_at?: string;
59367
+ id?: string;
59368
+ label?: string | null;
59369
+ print_plek_id: string;
59370
+ updated_at?: string;
59371
+ };
59372
+ Update: {
59373
+ bron?: string;
59374
+ bron_id?: string;
59375
+ created_at?: string;
59376
+ id?: string;
59377
+ label?: string | null;
59378
+ print_plek_id?: string;
59379
+ updated_at?: string;
59380
+ };
59381
+ Relationships: [{
59382
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
59383
+ columns: ["print_plek_id"];
59384
+ isOneToOne: false;
59385
+ referencedRelation: "print_plekken";
59386
+ referencedColumns: ["id"];
59387
+ }];
59388
+ };
59389
+ print_plekken: {
59390
+ Row: {
59391
+ actief: boolean;
59392
+ created_at: string;
59393
+ id: string;
59394
+ naam: string;
59395
+ omschrijving: string | null;
59396
+ updated_at: string;
59397
+ };
59398
+ Insert: {
59399
+ actief?: boolean;
59400
+ created_at?: string;
59401
+ id?: string;
59402
+ naam: string;
59403
+ omschrijving?: string | null;
59404
+ updated_at?: string;
59405
+ };
59406
+ Update: {
59407
+ actief?: boolean;
59408
+ created_at?: string;
59409
+ id?: string;
59410
+ naam?: string;
59411
+ omschrijving?: string | null;
59412
+ updated_at?: string;
59413
+ };
59414
+ Relationships: [];
59415
+ };
58529
59416
  print_queue_runners: {
58530
59417
  Row: {
58531
59418
  actief: boolean;
@@ -60680,6 +61567,45 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
60680
61567
  };
60681
61568
  Relationships: [];
60682
61569
  };
61570
+ stock_consumption_alerts: {
61571
+ Row: {
61572
+ alert_type: string;
61573
+ created_at: string;
61574
+ id: string;
61575
+ mutation_log_id: string | null;
61576
+ order_id: string | null;
61577
+ order_item_id: string | null;
61578
+ qty: number;
61579
+ reason: string | null;
61580
+ resolved_at: string | null;
61581
+ updated_at: string;
61582
+ };
61583
+ Insert: {
61584
+ alert_type: string;
61585
+ created_at?: string;
61586
+ id?: string;
61587
+ mutation_log_id?: string | null;
61588
+ order_id?: string | null;
61589
+ order_item_id?: string | null;
61590
+ qty?: number;
61591
+ reason?: string | null;
61592
+ resolved_at?: string | null;
61593
+ updated_at?: string;
61594
+ };
61595
+ Update: {
61596
+ alert_type?: string;
61597
+ created_at?: string;
61598
+ id?: string;
61599
+ mutation_log_id?: string | null;
61600
+ order_id?: string | null;
61601
+ order_item_id?: string | null;
61602
+ qty?: number;
61603
+ reason?: string | null;
61604
+ resolved_at?: string | null;
61605
+ updated_at?: string;
61606
+ };
61607
+ Relationships: [];
61608
+ };
60683
61609
  stock_import_runs: {
60684
61610
  Row: {
60685
61611
  connection_id: string | null;
@@ -66274,6 +67200,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
66274
67200
  };
66275
67201
  Returns: string;
66276
67202
  };
67203
+ logistics_floriday_finish_push_v3: {
67204
+ Args: {
67205
+ _error?: string;
67206
+ _error_code?: string;
67207
+ _fulfillment_order_id?: string;
67208
+ _gateway_status?: number;
67209
+ _id: string;
67210
+ _max_age_hours?: number;
67211
+ _max_attempts?: number;
67212
+ _outcome: string;
67213
+ _permanent?: boolean;
67214
+ _response?: import("../integrations/supabase/types").Json;
67215
+ _revision: number;
67216
+ _sent_hash?: string;
67217
+ _wait_max_age_hours?: number;
67218
+ };
67219
+ Returns: string;
67220
+ };
66277
67221
  logistics_floriday_prune_pushes: {
66278
67222
  Args: {
66279
67223
  _days?: number;
@@ -66702,6 +67646,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
66702
67646
  verwijderd: number;
66703
67647
  }[];
66704
67648
  };
67649
+ order_departure_proof: {
67650
+ Args: {
67651
+ p_order_id: string;
67652
+ };
67653
+ Returns: import("../integrations/supabase/types").Json;
67654
+ };
66705
67655
  order_number_prefix: {
66706
67656
  Args: {
66707
67657
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -66909,6 +67859,14 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
66909
67859
  };
66910
67860
  Returns: import("../integrations/supabase/types").Json;
66911
67861
  };
67862
+ pick_print_plekken: {
67863
+ Args: never;
67864
+ Returns: {
67865
+ id: string;
67866
+ naam: string;
67867
+ omschrijving: string;
67868
+ }[];
67869
+ };
66912
67870
  pick_release_expired_locks: {
66913
67871
  Args: never;
66914
67872
  Returns: number;
@@ -66973,6 +67931,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
66973
67931
  isSetofReturn: false;
66974
67932
  };
66975
67933
  };
67934
+ pick_set_station_print_plek: {
67935
+ Args: {
67936
+ _print_plek_id: string;
67937
+ _station_id: string;
67938
+ };
67939
+ Returns: string;
67940
+ };
66976
67941
  pick_station_dashboard: {
66977
67942
  Args: never;
66978
67943
  Returns: {
@@ -66985,6 +67950,25 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
66985
67950
  waiting: number;
66986
67951
  }[];
66987
67952
  };
67953
+ pick_station_print_plek: {
67954
+ Args: {
67955
+ _station_id: string;
67956
+ };
67957
+ Returns: {
67958
+ naam: string;
67959
+ omschrijving: string;
67960
+ print_plek_id: string;
67961
+ }[];
67962
+ };
67963
+ pick_station_print_plekken: {
67964
+ Args: never;
67965
+ Returns: {
67966
+ naam: string;
67967
+ omschrijving: string;
67968
+ print_plek_id: string;
67969
+ station_id: string;
67970
+ }[];
67971
+ };
66988
67972
  pick_station_slugify: {
66989
67973
  Args: {
66990
67974
  _id: string;
@@ -68450,6 +69434,99 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
68450
69434
  };
68451
69435
  Relationships: [];
68452
69436
  };
69437
+ artikelen_cache: {
69438
+ Row: {
69439
+ artikelcode: string;
69440
+ bron: string;
69441
+ bruto_prijs_cent: number | null;
69442
+ created_at: string;
69443
+ eenheid: string;
69444
+ fabrikant: string | null;
69445
+ fetched_at: string;
69446
+ gtin: string | null;
69447
+ id: string;
69448
+ naam: string;
69449
+ netto_prijs_cent: number | null;
69450
+ omschrijving: string | null;
69451
+ raw: import("../integrations/supabase/types").Json;
69452
+ updated_at: string;
69453
+ valuta: string;
69454
+ };
69455
+ Insert: {
69456
+ artikelcode: string;
69457
+ bron?: string;
69458
+ bruto_prijs_cent?: number | null;
69459
+ created_at?: string;
69460
+ eenheid?: string;
69461
+ fabrikant?: string | null;
69462
+ fetched_at?: string;
69463
+ gtin?: string | null;
69464
+ id?: string;
69465
+ naam: string;
69466
+ netto_prijs_cent?: number | null;
69467
+ omschrijving?: string | null;
69468
+ raw?: import("../integrations/supabase/types").Json;
69469
+ updated_at?: string;
69470
+ valuta?: string;
69471
+ };
69472
+ Update: {
69473
+ artikelcode?: string;
69474
+ bron?: string;
69475
+ bruto_prijs_cent?: number | null;
69476
+ created_at?: string;
69477
+ eenheid?: string;
69478
+ fabrikant?: string | null;
69479
+ fetched_at?: string;
69480
+ gtin?: string | null;
69481
+ id?: string;
69482
+ naam?: string;
69483
+ netto_prijs_cent?: number | null;
69484
+ omschrijving?: string | null;
69485
+ raw?: import("../integrations/supabase/types").Json;
69486
+ updated_at?: string;
69487
+ valuta?: string;
69488
+ };
69489
+ Relationships: [];
69490
+ };
69491
+ artikelen_veldconfig: {
69492
+ Row: {
69493
+ bron_pad: string;
69494
+ created_at: string;
69495
+ id: string;
69496
+ label: string;
69497
+ sort_order: number;
69498
+ type: string;
69499
+ updated_at: string;
69500
+ veld_key: string;
69501
+ zichtbaar_in_detail: boolean;
69502
+ zichtbaar_in_lijst: boolean;
69503
+ };
69504
+ Insert: {
69505
+ bron_pad: string;
69506
+ created_at?: string;
69507
+ id?: string;
69508
+ label: string;
69509
+ sort_order?: number;
69510
+ type?: string;
69511
+ updated_at?: string;
69512
+ veld_key: string;
69513
+ zichtbaar_in_detail?: boolean;
69514
+ zichtbaar_in_lijst?: boolean;
69515
+ };
69516
+ Update: {
69517
+ bron_pad?: string;
69518
+ created_at?: string;
69519
+ id?: string;
69520
+ label?: string;
69521
+ sort_order?: number;
69522
+ type?: string;
69523
+ updated_at?: string;
69524
+ veld_key?: string;
69525
+ zichtbaar_in_detail?: boolean;
69526
+ zichtbaar_in_lijst?: boolean;
69527
+ };
69528
+ Relationships: [];
69529
+ };
68453
69530
  booking_items: {
68454
69531
  Row: {
68455
69532
  booking_id: string;
@@ -70922,6 +71999,48 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
70922
71999
  };
70923
72000
  Relationships: [];
70924
72001
  };
72002
+ document_printplek_printers: {
72003
+ Row: {
72004
+ created_at: string;
72005
+ documenttype: string;
72006
+ id: string;
72007
+ papierformaat: string | null;
72008
+ print_plek_id: string;
72009
+ printer_id: string | null;
72010
+ updated_at: string;
72011
+ };
72012
+ Insert: {
72013
+ created_at?: string;
72014
+ documenttype: string;
72015
+ id?: string;
72016
+ papierformaat?: string | null;
72017
+ print_plek_id: string;
72018
+ printer_id?: string | null;
72019
+ updated_at?: string;
72020
+ };
72021
+ Update: {
72022
+ created_at?: string;
72023
+ documenttype?: string;
72024
+ id?: string;
72025
+ papierformaat?: string | null;
72026
+ print_plek_id?: string;
72027
+ printer_id?: string | null;
72028
+ updated_at?: string;
72029
+ };
72030
+ Relationships: [{
72031
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
72032
+ columns: ["print_plek_id"];
72033
+ isOneToOne: false;
72034
+ referencedRelation: "print_plekken";
72035
+ referencedColumns: ["id"];
72036
+ }, {
72037
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
72038
+ columns: ["printer_id"];
72039
+ isOneToOne: false;
72040
+ referencedRelation: "printers";
72041
+ referencedColumns: ["id"];
72042
+ }];
72043
+ };
70925
72044
  document_werkplek_printers: {
70926
72045
  Row: {
70927
72046
  created_at: string;
@@ -76903,6 +78022,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
76903
78022
  last_error_at: string | null;
76904
78023
  last_error_code: string | null;
76905
78024
  last_gateway_status: number | null;
78025
+ last_queued_at: string | null;
76906
78026
  last_response: import("../integrations/supabase/types").Json | null;
76907
78027
  last_sent_hash: string | null;
76908
78028
  locked_by: string | null;
@@ -76926,6 +78046,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
76926
78046
  last_error_at?: string | null;
76927
78047
  last_error_code?: string | null;
76928
78048
  last_gateway_status?: number | null;
78049
+ last_queued_at?: string | null;
76929
78050
  last_response?: import("../integrations/supabase/types").Json | null;
76930
78051
  last_sent_hash?: string | null;
76931
78052
  locked_by?: string | null;
@@ -76949,6 +78070,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
76949
78070
  last_error_at?: string | null;
76950
78071
  last_error_code?: string | null;
76951
78072
  last_gateway_status?: number | null;
78073
+ last_queued_at?: string | null;
76952
78074
  last_response?: import("../integrations/supabase/types").Json | null;
76953
78075
  last_sent_hash?: string | null;
76954
78076
  locked_by?: string | null;
@@ -81119,6 +82241,99 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
81119
82241
  referencedColumns: ["id"];
81120
82242
  }];
81121
82243
  };
82244
+ print_plek_computers: {
82245
+ Row: {
82246
+ computer_naam: string;
82247
+ created_at: string;
82248
+ id: string;
82249
+ print_plek_id: string;
82250
+ updated_at: string;
82251
+ };
82252
+ Insert: {
82253
+ computer_naam: string;
82254
+ created_at?: string;
82255
+ id?: string;
82256
+ print_plek_id: string;
82257
+ updated_at?: string;
82258
+ };
82259
+ Update: {
82260
+ computer_naam?: string;
82261
+ created_at?: string;
82262
+ id?: string;
82263
+ print_plek_id?: string;
82264
+ updated_at?: string;
82265
+ };
82266
+ Relationships: [{
82267
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
82268
+ columns: ["print_plek_id"];
82269
+ isOneToOne: false;
82270
+ referencedRelation: "print_plekken";
82271
+ referencedColumns: ["id"];
82272
+ }];
82273
+ };
82274
+ print_plek_koppelingen: {
82275
+ Row: {
82276
+ bron: string;
82277
+ bron_id: string;
82278
+ created_at: string;
82279
+ id: string;
82280
+ label: string | null;
82281
+ print_plek_id: string;
82282
+ updated_at: string;
82283
+ };
82284
+ Insert: {
82285
+ bron: string;
82286
+ bron_id: string;
82287
+ created_at?: string;
82288
+ id?: string;
82289
+ label?: string | null;
82290
+ print_plek_id: string;
82291
+ updated_at?: string;
82292
+ };
82293
+ Update: {
82294
+ bron?: string;
82295
+ bron_id?: string;
82296
+ created_at?: string;
82297
+ id?: string;
82298
+ label?: string | null;
82299
+ print_plek_id?: string;
82300
+ updated_at?: string;
82301
+ };
82302
+ Relationships: [{
82303
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
82304
+ columns: ["print_plek_id"];
82305
+ isOneToOne: false;
82306
+ referencedRelation: "print_plekken";
82307
+ referencedColumns: ["id"];
82308
+ }];
82309
+ };
82310
+ print_plekken: {
82311
+ Row: {
82312
+ actief: boolean;
82313
+ created_at: string;
82314
+ id: string;
82315
+ naam: string;
82316
+ omschrijving: string | null;
82317
+ updated_at: string;
82318
+ };
82319
+ Insert: {
82320
+ actief?: boolean;
82321
+ created_at?: string;
82322
+ id?: string;
82323
+ naam: string;
82324
+ omschrijving?: string | null;
82325
+ updated_at?: string;
82326
+ };
82327
+ Update: {
82328
+ actief?: boolean;
82329
+ created_at?: string;
82330
+ id?: string;
82331
+ naam?: string;
82332
+ omschrijving?: string | null;
82333
+ updated_at?: string;
82334
+ };
82335
+ Relationships: [];
82336
+ };
81122
82337
  print_queue_runners: {
81123
82338
  Row: {
81124
82339
  actief: boolean;
@@ -83273,6 +84488,45 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
83273
84488
  };
83274
84489
  Relationships: [];
83275
84490
  };
84491
+ stock_consumption_alerts: {
84492
+ Row: {
84493
+ alert_type: string;
84494
+ created_at: string;
84495
+ id: string;
84496
+ mutation_log_id: string | null;
84497
+ order_id: string | null;
84498
+ order_item_id: string | null;
84499
+ qty: number;
84500
+ reason: string | null;
84501
+ resolved_at: string | null;
84502
+ updated_at: string;
84503
+ };
84504
+ Insert: {
84505
+ alert_type: string;
84506
+ created_at?: string;
84507
+ id?: string;
84508
+ mutation_log_id?: string | null;
84509
+ order_id?: string | null;
84510
+ order_item_id?: string | null;
84511
+ qty?: number;
84512
+ reason?: string | null;
84513
+ resolved_at?: string | null;
84514
+ updated_at?: string;
84515
+ };
84516
+ Update: {
84517
+ alert_type?: string;
84518
+ created_at?: string;
84519
+ id?: string;
84520
+ mutation_log_id?: string | null;
84521
+ order_id?: string | null;
84522
+ order_item_id?: string | null;
84523
+ qty?: number;
84524
+ reason?: string | null;
84525
+ resolved_at?: string | null;
84526
+ updated_at?: string;
84527
+ };
84528
+ Relationships: [];
84529
+ };
83276
84530
  stock_import_runs: {
83277
84531
  Row: {
83278
84532
  connection_id: string | null;
@@ -88867,6 +90121,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
88867
90121
  };
88868
90122
  Returns: string;
88869
90123
  };
90124
+ logistics_floriday_finish_push_v3: {
90125
+ Args: {
90126
+ _error?: string;
90127
+ _error_code?: string;
90128
+ _fulfillment_order_id?: string;
90129
+ _gateway_status?: number;
90130
+ _id: string;
90131
+ _max_age_hours?: number;
90132
+ _max_attempts?: number;
90133
+ _outcome: string;
90134
+ _permanent?: boolean;
90135
+ _response?: import("../integrations/supabase/types").Json;
90136
+ _revision: number;
90137
+ _sent_hash?: string;
90138
+ _wait_max_age_hours?: number;
90139
+ };
90140
+ Returns: string;
90141
+ };
88870
90142
  logistics_floriday_prune_pushes: {
88871
90143
  Args: {
88872
90144
  _days?: number;
@@ -89295,6 +90567,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
89295
90567
  verwijderd: number;
89296
90568
  }[];
89297
90569
  };
90570
+ order_departure_proof: {
90571
+ Args: {
90572
+ p_order_id: string;
90573
+ };
90574
+ Returns: import("../integrations/supabase/types").Json;
90575
+ };
89298
90576
  order_number_prefix: {
89299
90577
  Args: {
89300
90578
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -89502,6 +90780,14 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
89502
90780
  };
89503
90781
  Returns: import("../integrations/supabase/types").Json;
89504
90782
  };
90783
+ pick_print_plekken: {
90784
+ Args: never;
90785
+ Returns: {
90786
+ id: string;
90787
+ naam: string;
90788
+ omschrijving: string;
90789
+ }[];
90790
+ };
89505
90791
  pick_release_expired_locks: {
89506
90792
  Args: never;
89507
90793
  Returns: number;
@@ -89566,6 +90852,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
89566
90852
  isSetofReturn: false;
89567
90853
  };
89568
90854
  };
90855
+ pick_set_station_print_plek: {
90856
+ Args: {
90857
+ _print_plek_id: string;
90858
+ _station_id: string;
90859
+ };
90860
+ Returns: string;
90861
+ };
89569
90862
  pick_station_dashboard: {
89570
90863
  Args: never;
89571
90864
  Returns: {
@@ -89578,6 +90871,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
89578
90871
  waiting: number;
89579
90872
  }[];
89580
90873
  };
90874
+ pick_station_print_plek: {
90875
+ Args: {
90876
+ _station_id: string;
90877
+ };
90878
+ Returns: {
90879
+ naam: string;
90880
+ omschrijving: string;
90881
+ print_plek_id: string;
90882
+ }[];
90883
+ };
90884
+ pick_station_print_plekken: {
90885
+ Args: never;
90886
+ Returns: {
90887
+ naam: string;
90888
+ omschrijving: string;
90889
+ print_plek_id: string;
90890
+ station_id: string;
90891
+ }[];
90892
+ };
89581
90893
  pick_station_slugify: {
89582
90894
  Args: {
89583
90895
  _id: string;
@@ -91040,6 +92352,99 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
91040
92352
  };
91041
92353
  Relationships: [];
91042
92354
  };
92355
+ artikelen_cache: {
92356
+ Row: {
92357
+ artikelcode: string;
92358
+ bron: string;
92359
+ bruto_prijs_cent: number | null;
92360
+ created_at: string;
92361
+ eenheid: string;
92362
+ fabrikant: string | null;
92363
+ fetched_at: string;
92364
+ gtin: string | null;
92365
+ id: string;
92366
+ naam: string;
92367
+ netto_prijs_cent: number | null;
92368
+ omschrijving: string | null;
92369
+ raw: import("../integrations/supabase/types").Json;
92370
+ updated_at: string;
92371
+ valuta: string;
92372
+ };
92373
+ Insert: {
92374
+ artikelcode: string;
92375
+ bron?: string;
92376
+ bruto_prijs_cent?: number | null;
92377
+ created_at?: string;
92378
+ eenheid?: string;
92379
+ fabrikant?: string | null;
92380
+ fetched_at?: string;
92381
+ gtin?: string | null;
92382
+ id?: string;
92383
+ naam: string;
92384
+ netto_prijs_cent?: number | null;
92385
+ omschrijving?: string | null;
92386
+ raw?: import("../integrations/supabase/types").Json;
92387
+ updated_at?: string;
92388
+ valuta?: string;
92389
+ };
92390
+ Update: {
92391
+ artikelcode?: string;
92392
+ bron?: string;
92393
+ bruto_prijs_cent?: number | null;
92394
+ created_at?: string;
92395
+ eenheid?: string;
92396
+ fabrikant?: string | null;
92397
+ fetched_at?: string;
92398
+ gtin?: string | null;
92399
+ id?: string;
92400
+ naam?: string;
92401
+ netto_prijs_cent?: number | null;
92402
+ omschrijving?: string | null;
92403
+ raw?: import("../integrations/supabase/types").Json;
92404
+ updated_at?: string;
92405
+ valuta?: string;
92406
+ };
92407
+ Relationships: [];
92408
+ };
92409
+ artikelen_veldconfig: {
92410
+ Row: {
92411
+ bron_pad: string;
92412
+ created_at: string;
92413
+ id: string;
92414
+ label: string;
92415
+ sort_order: number;
92416
+ type: string;
92417
+ updated_at: string;
92418
+ veld_key: string;
92419
+ zichtbaar_in_detail: boolean;
92420
+ zichtbaar_in_lijst: boolean;
92421
+ };
92422
+ Insert: {
92423
+ bron_pad: string;
92424
+ created_at?: string;
92425
+ id?: string;
92426
+ label: string;
92427
+ sort_order?: number;
92428
+ type?: string;
92429
+ updated_at?: string;
92430
+ veld_key: string;
92431
+ zichtbaar_in_detail?: boolean;
92432
+ zichtbaar_in_lijst?: boolean;
92433
+ };
92434
+ Update: {
92435
+ bron_pad?: string;
92436
+ created_at?: string;
92437
+ id?: string;
92438
+ label?: string;
92439
+ sort_order?: number;
92440
+ type?: string;
92441
+ updated_at?: string;
92442
+ veld_key?: string;
92443
+ zichtbaar_in_detail?: boolean;
92444
+ zichtbaar_in_lijst?: boolean;
92445
+ };
92446
+ Relationships: [];
92447
+ };
91043
92448
  booking_items: {
91044
92449
  Row: {
91045
92450
  booking_id: string;
@@ -93512,6 +94917,48 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
93512
94917
  };
93513
94918
  Relationships: [];
93514
94919
  };
94920
+ document_printplek_printers: {
94921
+ Row: {
94922
+ created_at: string;
94923
+ documenttype: string;
94924
+ id: string;
94925
+ papierformaat: string | null;
94926
+ print_plek_id: string;
94927
+ printer_id: string | null;
94928
+ updated_at: string;
94929
+ };
94930
+ Insert: {
94931
+ created_at?: string;
94932
+ documenttype: string;
94933
+ id?: string;
94934
+ papierformaat?: string | null;
94935
+ print_plek_id: string;
94936
+ printer_id?: string | null;
94937
+ updated_at?: string;
94938
+ };
94939
+ Update: {
94940
+ created_at?: string;
94941
+ documenttype?: string;
94942
+ id?: string;
94943
+ papierformaat?: string | null;
94944
+ print_plek_id?: string;
94945
+ printer_id?: string | null;
94946
+ updated_at?: string;
94947
+ };
94948
+ Relationships: [{
94949
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
94950
+ columns: ["print_plek_id"];
94951
+ isOneToOne: false;
94952
+ referencedRelation: "print_plekken";
94953
+ referencedColumns: ["id"];
94954
+ }, {
94955
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
94956
+ columns: ["printer_id"];
94957
+ isOneToOne: false;
94958
+ referencedRelation: "printers";
94959
+ referencedColumns: ["id"];
94960
+ }];
94961
+ };
93515
94962
  document_werkplek_printers: {
93516
94963
  Row: {
93517
94964
  created_at: string;
@@ -99493,6 +100940,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
99493
100940
  last_error_at: string | null;
99494
100941
  last_error_code: string | null;
99495
100942
  last_gateway_status: number | null;
100943
+ last_queued_at: string | null;
99496
100944
  last_response: import("../integrations/supabase/types").Json | null;
99497
100945
  last_sent_hash: string | null;
99498
100946
  locked_by: string | null;
@@ -99516,6 +100964,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
99516
100964
  last_error_at?: string | null;
99517
100965
  last_error_code?: string | null;
99518
100966
  last_gateway_status?: number | null;
100967
+ last_queued_at?: string | null;
99519
100968
  last_response?: import("../integrations/supabase/types").Json | null;
99520
100969
  last_sent_hash?: string | null;
99521
100970
  locked_by?: string | null;
@@ -99539,6 +100988,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
99539
100988
  last_error_at?: string | null;
99540
100989
  last_error_code?: string | null;
99541
100990
  last_gateway_status?: number | null;
100991
+ last_queued_at?: string | null;
99542
100992
  last_response?: import("../integrations/supabase/types").Json | null;
99543
100993
  last_sent_hash?: string | null;
99544
100994
  locked_by?: string | null;
@@ -103709,6 +105159,99 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
103709
105159
  referencedColumns: ["id"];
103710
105160
  }];
103711
105161
  };
105162
+ print_plek_computers: {
105163
+ Row: {
105164
+ computer_naam: string;
105165
+ created_at: string;
105166
+ id: string;
105167
+ print_plek_id: string;
105168
+ updated_at: string;
105169
+ };
105170
+ Insert: {
105171
+ computer_naam: string;
105172
+ created_at?: string;
105173
+ id?: string;
105174
+ print_plek_id: string;
105175
+ updated_at?: string;
105176
+ };
105177
+ Update: {
105178
+ computer_naam?: string;
105179
+ created_at?: string;
105180
+ id?: string;
105181
+ print_plek_id?: string;
105182
+ updated_at?: string;
105183
+ };
105184
+ Relationships: [{
105185
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
105186
+ columns: ["print_plek_id"];
105187
+ isOneToOne: false;
105188
+ referencedRelation: "print_plekken";
105189
+ referencedColumns: ["id"];
105190
+ }];
105191
+ };
105192
+ print_plek_koppelingen: {
105193
+ Row: {
105194
+ bron: string;
105195
+ bron_id: string;
105196
+ created_at: string;
105197
+ id: string;
105198
+ label: string | null;
105199
+ print_plek_id: string;
105200
+ updated_at: string;
105201
+ };
105202
+ Insert: {
105203
+ bron: string;
105204
+ bron_id: string;
105205
+ created_at?: string;
105206
+ id?: string;
105207
+ label?: string | null;
105208
+ print_plek_id: string;
105209
+ updated_at?: string;
105210
+ };
105211
+ Update: {
105212
+ bron?: string;
105213
+ bron_id?: string;
105214
+ created_at?: string;
105215
+ id?: string;
105216
+ label?: string | null;
105217
+ print_plek_id?: string;
105218
+ updated_at?: string;
105219
+ };
105220
+ Relationships: [{
105221
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
105222
+ columns: ["print_plek_id"];
105223
+ isOneToOne: false;
105224
+ referencedRelation: "print_plekken";
105225
+ referencedColumns: ["id"];
105226
+ }];
105227
+ };
105228
+ print_plekken: {
105229
+ Row: {
105230
+ actief: boolean;
105231
+ created_at: string;
105232
+ id: string;
105233
+ naam: string;
105234
+ omschrijving: string | null;
105235
+ updated_at: string;
105236
+ };
105237
+ Insert: {
105238
+ actief?: boolean;
105239
+ created_at?: string;
105240
+ id?: string;
105241
+ naam: string;
105242
+ omschrijving?: string | null;
105243
+ updated_at?: string;
105244
+ };
105245
+ Update: {
105246
+ actief?: boolean;
105247
+ created_at?: string;
105248
+ id?: string;
105249
+ naam?: string;
105250
+ omschrijving?: string | null;
105251
+ updated_at?: string;
105252
+ };
105253
+ Relationships: [];
105254
+ };
103712
105255
  print_queue_runners: {
103713
105256
  Row: {
103714
105257
  actief: boolean;
@@ -105863,6 +107406,45 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
105863
107406
  };
105864
107407
  Relationships: [];
105865
107408
  };
107409
+ stock_consumption_alerts: {
107410
+ Row: {
107411
+ alert_type: string;
107412
+ created_at: string;
107413
+ id: string;
107414
+ mutation_log_id: string | null;
107415
+ order_id: string | null;
107416
+ order_item_id: string | null;
107417
+ qty: number;
107418
+ reason: string | null;
107419
+ resolved_at: string | null;
107420
+ updated_at: string;
107421
+ };
107422
+ Insert: {
107423
+ alert_type: string;
107424
+ created_at?: string;
107425
+ id?: string;
107426
+ mutation_log_id?: string | null;
107427
+ order_id?: string | null;
107428
+ order_item_id?: string | null;
107429
+ qty?: number;
107430
+ reason?: string | null;
107431
+ resolved_at?: string | null;
107432
+ updated_at?: string;
107433
+ };
107434
+ Update: {
107435
+ alert_type?: string;
107436
+ created_at?: string;
107437
+ id?: string;
107438
+ mutation_log_id?: string | null;
107439
+ order_id?: string | null;
107440
+ order_item_id?: string | null;
107441
+ qty?: number;
107442
+ reason?: string | null;
107443
+ resolved_at?: string | null;
107444
+ updated_at?: string;
107445
+ };
107446
+ Relationships: [];
107447
+ };
105866
107448
  stock_import_runs: {
105867
107449
  Row: {
105868
107450
  connection_id: string | null;
@@ -111457,6 +113039,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
111457
113039
  };
111458
113040
  Returns: string;
111459
113041
  };
113042
+ logistics_floriday_finish_push_v3: {
113043
+ Args: {
113044
+ _error?: string;
113045
+ _error_code?: string;
113046
+ _fulfillment_order_id?: string;
113047
+ _gateway_status?: number;
113048
+ _id: string;
113049
+ _max_age_hours?: number;
113050
+ _max_attempts?: number;
113051
+ _outcome: string;
113052
+ _permanent?: boolean;
113053
+ _response?: import("../integrations/supabase/types").Json;
113054
+ _revision: number;
113055
+ _sent_hash?: string;
113056
+ _wait_max_age_hours?: number;
113057
+ };
113058
+ Returns: string;
113059
+ };
111460
113060
  logistics_floriday_prune_pushes: {
111461
113061
  Args: {
111462
113062
  _days?: number;
@@ -111885,6 +113485,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
111885
113485
  verwijderd: number;
111886
113486
  }[];
111887
113487
  };
113488
+ order_departure_proof: {
113489
+ Args: {
113490
+ p_order_id: string;
113491
+ };
113492
+ Returns: import("../integrations/supabase/types").Json;
113493
+ };
111888
113494
  order_number_prefix: {
111889
113495
  Args: {
111890
113496
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -112092,6 +113698,14 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
112092
113698
  };
112093
113699
  Returns: import("../integrations/supabase/types").Json;
112094
113700
  };
113701
+ pick_print_plekken: {
113702
+ Args: never;
113703
+ Returns: {
113704
+ id: string;
113705
+ naam: string;
113706
+ omschrijving: string;
113707
+ }[];
113708
+ };
112095
113709
  pick_release_expired_locks: {
112096
113710
  Args: never;
112097
113711
  Returns: number;
@@ -112156,6 +113770,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
112156
113770
  isSetofReturn: false;
112157
113771
  };
112158
113772
  };
113773
+ pick_set_station_print_plek: {
113774
+ Args: {
113775
+ _print_plek_id: string;
113776
+ _station_id: string;
113777
+ };
113778
+ Returns: string;
113779
+ };
112159
113780
  pick_station_dashboard: {
112160
113781
  Args: never;
112161
113782
  Returns: {
@@ -112168,6 +113789,25 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
112168
113789
  waiting: number;
112169
113790
  }[];
112170
113791
  };
113792
+ pick_station_print_plek: {
113793
+ Args: {
113794
+ _station_id: string;
113795
+ };
113796
+ Returns: {
113797
+ naam: string;
113798
+ omschrijving: string;
113799
+ print_plek_id: string;
113800
+ }[];
113801
+ };
113802
+ pick_station_print_plekken: {
113803
+ Args: never;
113804
+ Returns: {
113805
+ naam: string;
113806
+ omschrijving: string;
113807
+ print_plek_id: string;
113808
+ station_id: string;
113809
+ }[];
113810
+ };
112171
113811
  pick_station_slugify: {
112172
113812
  Args: {
112173
113813
  _id: string;