@flowselections/floriday-verkoop-module 1.0.46 → 1.0.48

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 (79) 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 +4 -13
  6. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  7. package/dist-lib/components/verkoop/SalesOrdersTable.js +5 -1
  8. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +6 -0
  9. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -0
  10. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.js +26 -0
  11. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  12. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +2 -1
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts +328 -0
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.d.ts +328 -0
  16. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.js +2 -1
  18. package/dist-lib/integrations/supabase/client.server.d.ts +328 -0
  19. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  21. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  22. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  23. package/dist-lib/integrations/supabase/types.d.ts +335 -0
  24. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  25. package/dist-lib/lib/cart-lock.functions.d.ts +328 -0
  26. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/cart-planning-settings.functions.d.ts +4307 -699
  28. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/cart-replan.functions.d.ts +984 -0
  30. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/create-order.functions.d.ts +7175 -1599
  32. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +984 -0
  34. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +328 -0
  36. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-mirror.functions.d.ts +328 -0
  38. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/floriday-mirror.functions.js +39 -10
  40. package/dist-lib/lib/floriday-public.functions.d.ts +2395 -99
  41. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/floriday-writes.functions.d.ts +1640 -0
  43. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/invoice-timing.functions.d.ts +1312 -0
  45. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/load-carriers.functions.d.ts +328 -0
  47. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/logistics-engine.functions.d.ts +1640 -0
  49. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/logistics-stock.functions.d.ts +656 -0
  51. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-addresses.functions.d.ts +328 -0
  53. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/order-buffers.functions.d.ts +984 -0
  55. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/order-carrier.functions.d.ts +656 -0
  57. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/order-pickup.functions.d.ts +656 -0
  59. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/order-shipments.functions.d.ts +1312 -0
  61. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/order-status.d.ts +7 -10
  63. package/dist-lib/lib/order-status.d.ts.map +1 -1
  64. package/dist-lib/lib/order-status.js +6 -3
  65. package/dist-lib/lib/salesorders-list.functions.d.ts +328 -0
  66. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  67. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  68. package/dist-lib/lib/salesorders-list.server.js +15 -22
  69. package/dist-lib/lib/salesorders-mapping.d.ts +7 -0
  70. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  71. package/dist-lib/lib/salesorders.functions.d.ts +1640 -0
  72. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  73. package/dist-lib/lib/salesorders.functions.js +24 -6
  74. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +45850 -0
  75. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -0
  76. package/dist-lib/lib/stock-consumption-alerts.functions.js +50 -0
  77. package/dist-lib/lib/tradeitems.functions.d.ts +328 -0
  78. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  79. package/package.json +2 -1
@@ -673,6 +673,99 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
673
673
  };
674
674
  Relationships: [];
675
675
  };
676
+ artikelen_cache: {
677
+ Row: {
678
+ artikelcode: string;
679
+ bron: string;
680
+ bruto_prijs_cent: number | null;
681
+ created_at: string;
682
+ eenheid: string;
683
+ fabrikant: string | null;
684
+ fetched_at: string;
685
+ gtin: string | null;
686
+ id: string;
687
+ naam: string;
688
+ netto_prijs_cent: number | null;
689
+ omschrijving: string | null;
690
+ raw: import("../integrations/supabase/types").Json;
691
+ updated_at: string;
692
+ valuta: string;
693
+ };
694
+ Insert: {
695
+ artikelcode: string;
696
+ bron?: string;
697
+ bruto_prijs_cent?: number | null;
698
+ created_at?: string;
699
+ eenheid?: string;
700
+ fabrikant?: string | null;
701
+ fetched_at?: string;
702
+ gtin?: string | null;
703
+ id?: string;
704
+ naam: string;
705
+ netto_prijs_cent?: number | null;
706
+ omschrijving?: string | null;
707
+ raw?: import("../integrations/supabase/types").Json;
708
+ updated_at?: string;
709
+ valuta?: string;
710
+ };
711
+ Update: {
712
+ artikelcode?: string;
713
+ bron?: string;
714
+ bruto_prijs_cent?: number | null;
715
+ created_at?: string;
716
+ eenheid?: string;
717
+ fabrikant?: string | null;
718
+ fetched_at?: string;
719
+ gtin?: string | null;
720
+ id?: string;
721
+ naam?: string;
722
+ netto_prijs_cent?: number | null;
723
+ omschrijving?: string | null;
724
+ raw?: import("../integrations/supabase/types").Json;
725
+ updated_at?: string;
726
+ valuta?: string;
727
+ };
728
+ Relationships: [];
729
+ };
730
+ artikelen_veldconfig: {
731
+ Row: {
732
+ bron_pad: string;
733
+ created_at: string;
734
+ id: string;
735
+ label: string;
736
+ sort_order: number;
737
+ type: string;
738
+ updated_at: string;
739
+ veld_key: string;
740
+ zichtbaar_in_detail: boolean;
741
+ zichtbaar_in_lijst: boolean;
742
+ };
743
+ Insert: {
744
+ bron_pad: string;
745
+ created_at?: string;
746
+ id?: string;
747
+ label: string;
748
+ sort_order?: number;
749
+ type?: string;
750
+ updated_at?: string;
751
+ veld_key: string;
752
+ zichtbaar_in_detail?: boolean;
753
+ zichtbaar_in_lijst?: boolean;
754
+ };
755
+ Update: {
756
+ bron_pad?: string;
757
+ created_at?: string;
758
+ id?: string;
759
+ label?: string;
760
+ sort_order?: number;
761
+ type?: string;
762
+ updated_at?: string;
763
+ veld_key?: string;
764
+ zichtbaar_in_detail?: boolean;
765
+ zichtbaar_in_lijst?: boolean;
766
+ };
767
+ Relationships: [];
768
+ };
676
769
  booking_items: {
677
770
  Row: {
678
771
  booking_id: string;
@@ -3145,6 +3238,48 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
3145
3238
  };
3146
3239
  Relationships: [];
3147
3240
  };
3241
+ document_printplek_printers: {
3242
+ Row: {
3243
+ created_at: string;
3244
+ documenttype: string;
3245
+ id: string;
3246
+ papierformaat: string | null;
3247
+ print_plek_id: string;
3248
+ printer_id: string | null;
3249
+ updated_at: string;
3250
+ };
3251
+ Insert: {
3252
+ created_at?: string;
3253
+ documenttype: string;
3254
+ id?: string;
3255
+ papierformaat?: string | null;
3256
+ print_plek_id: string;
3257
+ printer_id?: string | null;
3258
+ updated_at?: string;
3259
+ };
3260
+ Update: {
3261
+ created_at?: string;
3262
+ documenttype?: string;
3263
+ id?: string;
3264
+ papierformaat?: string | null;
3265
+ print_plek_id?: string;
3266
+ printer_id?: string | null;
3267
+ updated_at?: string;
3268
+ };
3269
+ Relationships: [{
3270
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3271
+ columns: ["print_plek_id"];
3272
+ isOneToOne: false;
3273
+ referencedRelation: "print_plekken";
3274
+ referencedColumns: ["id"];
3275
+ }, {
3276
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3277
+ columns: ["printer_id"];
3278
+ isOneToOne: false;
3279
+ referencedRelation: "printers";
3280
+ referencedColumns: ["id"];
3281
+ }];
3282
+ };
3148
3283
  document_werkplek_printers: {
3149
3284
  Row: {
3150
3285
  created_at: string;
@@ -9126,6 +9261,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
9126
9261
  last_error_at: string | null;
9127
9262
  last_error_code: string | null;
9128
9263
  last_gateway_status: number | null;
9264
+ last_queued_at: string | null;
9129
9265
  last_response: import("../integrations/supabase/types").Json | null;
9130
9266
  last_sent_hash: string | null;
9131
9267
  locked_by: string | null;
@@ -9149,6 +9285,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
9149
9285
  last_error_at?: string | null;
9150
9286
  last_error_code?: string | null;
9151
9287
  last_gateway_status?: number | null;
9288
+ last_queued_at?: string | null;
9152
9289
  last_response?: import("../integrations/supabase/types").Json | null;
9153
9290
  last_sent_hash?: string | null;
9154
9291
  locked_by?: string | null;
@@ -9172,6 +9309,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
9172
9309
  last_error_at?: string | null;
9173
9310
  last_error_code?: string | null;
9174
9311
  last_gateway_status?: number | null;
9312
+ last_queued_at?: string | null;
9175
9313
  last_response?: import("../integrations/supabase/types").Json | null;
9176
9314
  last_sent_hash?: string | null;
9177
9315
  locked_by?: string | null;
@@ -13342,6 +13480,99 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13342
13480
  referencedColumns: ["id"];
13343
13481
  }];
13344
13482
  };
13483
+ print_plek_computers: {
13484
+ Row: {
13485
+ computer_naam: string;
13486
+ created_at: string;
13487
+ id: string;
13488
+ print_plek_id: string;
13489
+ updated_at: string;
13490
+ };
13491
+ Insert: {
13492
+ computer_naam: string;
13493
+ created_at?: string;
13494
+ id?: string;
13495
+ print_plek_id: string;
13496
+ updated_at?: string;
13497
+ };
13498
+ Update: {
13499
+ computer_naam?: string;
13500
+ created_at?: string;
13501
+ id?: string;
13502
+ print_plek_id?: string;
13503
+ updated_at?: string;
13504
+ };
13505
+ Relationships: [{
13506
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13507
+ columns: ["print_plek_id"];
13508
+ isOneToOne: false;
13509
+ referencedRelation: "print_plekken";
13510
+ referencedColumns: ["id"];
13511
+ }];
13512
+ };
13513
+ print_plek_koppelingen: {
13514
+ Row: {
13515
+ bron: string;
13516
+ bron_id: string;
13517
+ created_at: string;
13518
+ id: string;
13519
+ label: string | null;
13520
+ print_plek_id: string;
13521
+ updated_at: string;
13522
+ };
13523
+ Insert: {
13524
+ bron: string;
13525
+ bron_id: string;
13526
+ created_at?: string;
13527
+ id?: string;
13528
+ label?: string | null;
13529
+ print_plek_id: string;
13530
+ updated_at?: string;
13531
+ };
13532
+ Update: {
13533
+ bron?: string;
13534
+ bron_id?: string;
13535
+ created_at?: string;
13536
+ id?: string;
13537
+ label?: string | null;
13538
+ print_plek_id?: string;
13539
+ updated_at?: string;
13540
+ };
13541
+ Relationships: [{
13542
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13543
+ columns: ["print_plek_id"];
13544
+ isOneToOne: false;
13545
+ referencedRelation: "print_plekken";
13546
+ referencedColumns: ["id"];
13547
+ }];
13548
+ };
13549
+ print_plekken: {
13550
+ Row: {
13551
+ actief: boolean;
13552
+ created_at: string;
13553
+ id: string;
13554
+ naam: string;
13555
+ omschrijving: string | null;
13556
+ updated_at: string;
13557
+ };
13558
+ Insert: {
13559
+ actief?: boolean;
13560
+ created_at?: string;
13561
+ id?: string;
13562
+ naam: string;
13563
+ omschrijving?: string | null;
13564
+ updated_at?: string;
13565
+ };
13566
+ Update: {
13567
+ actief?: boolean;
13568
+ created_at?: string;
13569
+ id?: string;
13570
+ naam?: string;
13571
+ omschrijving?: string | null;
13572
+ updated_at?: string;
13573
+ };
13574
+ Relationships: [];
13575
+ };
13345
13576
  print_queue_runners: {
13346
13577
  Row: {
13347
13578
  actief: boolean;
@@ -15496,6 +15727,45 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
15496
15727
  };
15497
15728
  Relationships: [];
15498
15729
  };
15730
+ stock_consumption_alerts: {
15731
+ Row: {
15732
+ alert_type: string;
15733
+ created_at: string;
15734
+ id: string;
15735
+ mutation_log_id: string | null;
15736
+ order_id: string | null;
15737
+ order_item_id: string | null;
15738
+ qty: number;
15739
+ reason: string | null;
15740
+ resolved_at: string | null;
15741
+ updated_at: string;
15742
+ };
15743
+ Insert: {
15744
+ alert_type: string;
15745
+ created_at?: string;
15746
+ id?: string;
15747
+ mutation_log_id?: string | null;
15748
+ order_id?: string | null;
15749
+ order_item_id?: string | null;
15750
+ qty?: number;
15751
+ reason?: string | null;
15752
+ resolved_at?: string | null;
15753
+ updated_at?: string;
15754
+ };
15755
+ Update: {
15756
+ alert_type?: string;
15757
+ created_at?: string;
15758
+ id?: string;
15759
+ mutation_log_id?: string | null;
15760
+ order_id?: string | null;
15761
+ order_item_id?: string | null;
15762
+ qty?: number;
15763
+ reason?: string | null;
15764
+ resolved_at?: string | null;
15765
+ updated_at?: string;
15766
+ };
15767
+ Relationships: [];
15768
+ };
15499
15769
  stock_import_runs: {
15500
15770
  Row: {
15501
15771
  connection_id: string | null;
@@ -21090,6 +21360,24 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21090
21360
  };
21091
21361
  Returns: string;
21092
21362
  };
21363
+ logistics_floriday_finish_push_v3: {
21364
+ Args: {
21365
+ _error?: string;
21366
+ _error_code?: string;
21367
+ _fulfillment_order_id?: string;
21368
+ _gateway_status?: number;
21369
+ _id: string;
21370
+ _max_age_hours?: number;
21371
+ _max_attempts?: number;
21372
+ _outcome: string;
21373
+ _permanent?: boolean;
21374
+ _response?: import("../integrations/supabase/types").Json;
21375
+ _revision: number;
21376
+ _sent_hash?: string;
21377
+ _wait_max_age_hours?: number;
21378
+ };
21379
+ Returns: string;
21380
+ };
21093
21381
  logistics_floriday_prune_pushes: {
21094
21382
  Args: {
21095
21383
  _days?: number;
@@ -21518,6 +21806,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21518
21806
  verwijderd: number;
21519
21807
  }[];
21520
21808
  };
21809
+ order_departure_proof: {
21810
+ Args: {
21811
+ p_order_id: string;
21812
+ };
21813
+ Returns: import("../integrations/supabase/types").Json;
21814
+ };
21521
21815
  order_number_prefix: {
21522
21816
  Args: {
21523
21817
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21725,6 +22019,14 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21725
22019
  };
21726
22020
  Returns: import("../integrations/supabase/types").Json;
21727
22021
  };
22022
+ pick_print_plekken: {
22023
+ Args: never;
22024
+ Returns: {
22025
+ id: string;
22026
+ naam: string;
22027
+ omschrijving: string;
22028
+ }[];
22029
+ };
21728
22030
  pick_release_expired_locks: {
21729
22031
  Args: never;
21730
22032
  Returns: number;
@@ -21789,6 +22091,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21789
22091
  isSetofReturn: false;
21790
22092
  };
21791
22093
  };
22094
+ pick_set_station_print_plek: {
22095
+ Args: {
22096
+ _print_plek_id: string;
22097
+ _station_id: string;
22098
+ };
22099
+ Returns: string;
22100
+ };
21792
22101
  pick_station_dashboard: {
21793
22102
  Args: never;
21794
22103
  Returns: {
@@ -21801,6 +22110,25 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21801
22110
  waiting: number;
21802
22111
  }[];
21803
22112
  };
22113
+ pick_station_print_plek: {
22114
+ Args: {
22115
+ _station_id: string;
22116
+ };
22117
+ Returns: {
22118
+ naam: string;
22119
+ omschrijving: string;
22120
+ print_plek_id: string;
22121
+ }[];
22122
+ };
22123
+ pick_station_print_plekken: {
22124
+ Args: never;
22125
+ Returns: {
22126
+ naam: string;
22127
+ omschrijving: string;
22128
+ print_plek_id: string;
22129
+ station_id: string;
22130
+ }[];
22131
+ };
21804
22132
  pick_station_slugify: {
21805
22133
  Args: {
21806
22134
  _id: string;
@@ -23293,6 +23621,99 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
23293
23621
  };
23294
23622
  Relationships: [];
23295
23623
  };
23624
+ artikelen_cache: {
23625
+ Row: {
23626
+ artikelcode: string;
23627
+ bron: string;
23628
+ bruto_prijs_cent: number | null;
23629
+ created_at: string;
23630
+ eenheid: string;
23631
+ fabrikant: string | null;
23632
+ fetched_at: string;
23633
+ gtin: string | null;
23634
+ id: string;
23635
+ naam: string;
23636
+ netto_prijs_cent: number | null;
23637
+ omschrijving: string | null;
23638
+ raw: import("../integrations/supabase/types").Json;
23639
+ updated_at: string;
23640
+ valuta: string;
23641
+ };
23642
+ Insert: {
23643
+ artikelcode: string;
23644
+ bron?: string;
23645
+ bruto_prijs_cent?: number | null;
23646
+ created_at?: string;
23647
+ eenheid?: string;
23648
+ fabrikant?: string | null;
23649
+ fetched_at?: string;
23650
+ gtin?: string | null;
23651
+ id?: string;
23652
+ naam: string;
23653
+ netto_prijs_cent?: number | null;
23654
+ omschrijving?: string | null;
23655
+ raw?: import("../integrations/supabase/types").Json;
23656
+ updated_at?: string;
23657
+ valuta?: string;
23658
+ };
23659
+ Update: {
23660
+ artikelcode?: string;
23661
+ bron?: string;
23662
+ bruto_prijs_cent?: number | null;
23663
+ created_at?: string;
23664
+ eenheid?: string;
23665
+ fabrikant?: string | null;
23666
+ fetched_at?: string;
23667
+ gtin?: string | null;
23668
+ id?: string;
23669
+ naam?: string;
23670
+ netto_prijs_cent?: number | null;
23671
+ omschrijving?: string | null;
23672
+ raw?: import("../integrations/supabase/types").Json;
23673
+ updated_at?: string;
23674
+ valuta?: string;
23675
+ };
23676
+ Relationships: [];
23677
+ };
23678
+ artikelen_veldconfig: {
23679
+ Row: {
23680
+ bron_pad: string;
23681
+ created_at: string;
23682
+ id: string;
23683
+ label: string;
23684
+ sort_order: number;
23685
+ type: string;
23686
+ updated_at: string;
23687
+ veld_key: string;
23688
+ zichtbaar_in_detail: boolean;
23689
+ zichtbaar_in_lijst: boolean;
23690
+ };
23691
+ Insert: {
23692
+ bron_pad: string;
23693
+ created_at?: string;
23694
+ id?: string;
23695
+ label: string;
23696
+ sort_order?: number;
23697
+ type?: string;
23698
+ updated_at?: string;
23699
+ veld_key: string;
23700
+ zichtbaar_in_detail?: boolean;
23701
+ zichtbaar_in_lijst?: boolean;
23702
+ };
23703
+ Update: {
23704
+ bron_pad?: string;
23705
+ created_at?: string;
23706
+ id?: string;
23707
+ label?: string;
23708
+ sort_order?: number;
23709
+ type?: string;
23710
+ updated_at?: string;
23711
+ veld_key?: string;
23712
+ zichtbaar_in_detail?: boolean;
23713
+ zichtbaar_in_lijst?: boolean;
23714
+ };
23715
+ Relationships: [];
23716
+ };
23296
23717
  booking_items: {
23297
23718
  Row: {
23298
23719
  booking_id: string;
@@ -25765,6 +26186,48 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
25765
26186
  };
25766
26187
  Relationships: [];
25767
26188
  };
26189
+ document_printplek_printers: {
26190
+ Row: {
26191
+ created_at: string;
26192
+ documenttype: string;
26193
+ id: string;
26194
+ papierformaat: string | null;
26195
+ print_plek_id: string;
26196
+ printer_id: string | null;
26197
+ updated_at: string;
26198
+ };
26199
+ Insert: {
26200
+ created_at?: string;
26201
+ documenttype: string;
26202
+ id?: string;
26203
+ papierformaat?: string | null;
26204
+ print_plek_id: string;
26205
+ printer_id?: string | null;
26206
+ updated_at?: string;
26207
+ };
26208
+ Update: {
26209
+ created_at?: string;
26210
+ documenttype?: string;
26211
+ id?: string;
26212
+ papierformaat?: string | null;
26213
+ print_plek_id?: string;
26214
+ printer_id?: string | null;
26215
+ updated_at?: string;
26216
+ };
26217
+ Relationships: [{
26218
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
26219
+ columns: ["print_plek_id"];
26220
+ isOneToOne: false;
26221
+ referencedRelation: "print_plekken";
26222
+ referencedColumns: ["id"];
26223
+ }, {
26224
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
26225
+ columns: ["printer_id"];
26226
+ isOneToOne: false;
26227
+ referencedRelation: "printers";
26228
+ referencedColumns: ["id"];
26229
+ }];
26230
+ };
25768
26231
  document_werkplek_printers: {
25769
26232
  Row: {
25770
26233
  created_at: string;
@@ -31746,6 +32209,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31746
32209
  last_error_at: string | null;
31747
32210
  last_error_code: string | null;
31748
32211
  last_gateway_status: number | null;
32212
+ last_queued_at: string | null;
31749
32213
  last_response: import("../integrations/supabase/types").Json | null;
31750
32214
  last_sent_hash: string | null;
31751
32215
  locked_by: string | null;
@@ -31769,6 +32233,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31769
32233
  last_error_at?: string | null;
31770
32234
  last_error_code?: string | null;
31771
32235
  last_gateway_status?: number | null;
32236
+ last_queued_at?: string | null;
31772
32237
  last_response?: import("../integrations/supabase/types").Json | null;
31773
32238
  last_sent_hash?: string | null;
31774
32239
  locked_by?: string | null;
@@ -31792,6 +32257,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31792
32257
  last_error_at?: string | null;
31793
32258
  last_error_code?: string | null;
31794
32259
  last_gateway_status?: number | null;
32260
+ last_queued_at?: string | null;
31795
32261
  last_response?: import("../integrations/supabase/types").Json | null;
31796
32262
  last_sent_hash?: string | null;
31797
32263
  locked_by?: string | null;
@@ -35962,6 +36428,99 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
35962
36428
  referencedColumns: ["id"];
35963
36429
  }];
35964
36430
  };
36431
+ print_plek_computers: {
36432
+ Row: {
36433
+ computer_naam: string;
36434
+ created_at: string;
36435
+ id: string;
36436
+ print_plek_id: string;
36437
+ updated_at: string;
36438
+ };
36439
+ Insert: {
36440
+ computer_naam: string;
36441
+ created_at?: string;
36442
+ id?: string;
36443
+ print_plek_id: string;
36444
+ updated_at?: string;
36445
+ };
36446
+ Update: {
36447
+ computer_naam?: string;
36448
+ created_at?: string;
36449
+ id?: string;
36450
+ print_plek_id?: string;
36451
+ updated_at?: string;
36452
+ };
36453
+ Relationships: [{
36454
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
36455
+ columns: ["print_plek_id"];
36456
+ isOneToOne: false;
36457
+ referencedRelation: "print_plekken";
36458
+ referencedColumns: ["id"];
36459
+ }];
36460
+ };
36461
+ print_plek_koppelingen: {
36462
+ Row: {
36463
+ bron: string;
36464
+ bron_id: string;
36465
+ created_at: string;
36466
+ id: string;
36467
+ label: string | null;
36468
+ print_plek_id: string;
36469
+ updated_at: string;
36470
+ };
36471
+ Insert: {
36472
+ bron: string;
36473
+ bron_id: string;
36474
+ created_at?: string;
36475
+ id?: string;
36476
+ label?: string | null;
36477
+ print_plek_id: string;
36478
+ updated_at?: string;
36479
+ };
36480
+ Update: {
36481
+ bron?: string;
36482
+ bron_id?: string;
36483
+ created_at?: string;
36484
+ id?: string;
36485
+ label?: string | null;
36486
+ print_plek_id?: string;
36487
+ updated_at?: string;
36488
+ };
36489
+ Relationships: [{
36490
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
36491
+ columns: ["print_plek_id"];
36492
+ isOneToOne: false;
36493
+ referencedRelation: "print_plekken";
36494
+ referencedColumns: ["id"];
36495
+ }];
36496
+ };
36497
+ print_plekken: {
36498
+ Row: {
36499
+ actief: boolean;
36500
+ created_at: string;
36501
+ id: string;
36502
+ naam: string;
36503
+ omschrijving: string | null;
36504
+ updated_at: string;
36505
+ };
36506
+ Insert: {
36507
+ actief?: boolean;
36508
+ created_at?: string;
36509
+ id?: string;
36510
+ naam: string;
36511
+ omschrijving?: string | null;
36512
+ updated_at?: string;
36513
+ };
36514
+ Update: {
36515
+ actief?: boolean;
36516
+ created_at?: string;
36517
+ id?: string;
36518
+ naam?: string;
36519
+ omschrijving?: string | null;
36520
+ updated_at?: string;
36521
+ };
36522
+ Relationships: [];
36523
+ };
35965
36524
  print_queue_runners: {
35966
36525
  Row: {
35967
36526
  actief: boolean;
@@ -38116,6 +38675,45 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38116
38675
  };
38117
38676
  Relationships: [];
38118
38677
  };
38678
+ stock_consumption_alerts: {
38679
+ Row: {
38680
+ alert_type: string;
38681
+ created_at: string;
38682
+ id: string;
38683
+ mutation_log_id: string | null;
38684
+ order_id: string | null;
38685
+ order_item_id: string | null;
38686
+ qty: number;
38687
+ reason: string | null;
38688
+ resolved_at: string | null;
38689
+ updated_at: string;
38690
+ };
38691
+ Insert: {
38692
+ alert_type: string;
38693
+ created_at?: string;
38694
+ id?: string;
38695
+ mutation_log_id?: string | null;
38696
+ order_id?: string | null;
38697
+ order_item_id?: string | null;
38698
+ qty?: number;
38699
+ reason?: string | null;
38700
+ resolved_at?: string | null;
38701
+ updated_at?: string;
38702
+ };
38703
+ Update: {
38704
+ alert_type?: string;
38705
+ created_at?: string;
38706
+ id?: string;
38707
+ mutation_log_id?: string | null;
38708
+ order_id?: string | null;
38709
+ order_item_id?: string | null;
38710
+ qty?: number;
38711
+ reason?: string | null;
38712
+ resolved_at?: string | null;
38713
+ updated_at?: string;
38714
+ };
38715
+ Relationships: [];
38716
+ };
38119
38717
  stock_import_runs: {
38120
38718
  Row: {
38121
38719
  connection_id: string | null;
@@ -43710,6 +44308,24 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43710
44308
  };
43711
44309
  Returns: string;
43712
44310
  };
44311
+ logistics_floriday_finish_push_v3: {
44312
+ Args: {
44313
+ _error?: string;
44314
+ _error_code?: string;
44315
+ _fulfillment_order_id?: string;
44316
+ _gateway_status?: number;
44317
+ _id: string;
44318
+ _max_age_hours?: number;
44319
+ _max_attempts?: number;
44320
+ _outcome: string;
44321
+ _permanent?: boolean;
44322
+ _response?: import("../integrations/supabase/types").Json;
44323
+ _revision: number;
44324
+ _sent_hash?: string;
44325
+ _wait_max_age_hours?: number;
44326
+ };
44327
+ Returns: string;
44328
+ };
43713
44329
  logistics_floriday_prune_pushes: {
43714
44330
  Args: {
43715
44331
  _days?: number;
@@ -44138,6 +44754,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44138
44754
  verwijderd: number;
44139
44755
  }[];
44140
44756
  };
44757
+ order_departure_proof: {
44758
+ Args: {
44759
+ p_order_id: string;
44760
+ };
44761
+ Returns: import("../integrations/supabase/types").Json;
44762
+ };
44141
44763
  order_number_prefix: {
44142
44764
  Args: {
44143
44765
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -44345,6 +44967,14 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44345
44967
  };
44346
44968
  Returns: import("../integrations/supabase/types").Json;
44347
44969
  };
44970
+ pick_print_plekken: {
44971
+ Args: never;
44972
+ Returns: {
44973
+ id: string;
44974
+ naam: string;
44975
+ omschrijving: string;
44976
+ }[];
44977
+ };
44348
44978
  pick_release_expired_locks: {
44349
44979
  Args: never;
44350
44980
  Returns: number;
@@ -44409,6 +45039,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44409
45039
  isSetofReturn: false;
44410
45040
  };
44411
45041
  };
45042
+ pick_set_station_print_plek: {
45043
+ Args: {
45044
+ _print_plek_id: string;
45045
+ _station_id: string;
45046
+ };
45047
+ Returns: string;
45048
+ };
44412
45049
  pick_station_dashboard: {
44413
45050
  Args: never;
44414
45051
  Returns: {
@@ -44421,6 +45058,25 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44421
45058
  waiting: number;
44422
45059
  }[];
44423
45060
  };
45061
+ pick_station_print_plek: {
45062
+ Args: {
45063
+ _station_id: string;
45064
+ };
45065
+ Returns: {
45066
+ naam: string;
45067
+ omschrijving: string;
45068
+ print_plek_id: string;
45069
+ }[];
45070
+ };
45071
+ pick_station_print_plekken: {
45072
+ Args: never;
45073
+ Returns: {
45074
+ naam: string;
45075
+ omschrijving: string;
45076
+ print_plek_id: string;
45077
+ station_id: string;
45078
+ }[];
45079
+ };
44424
45080
  pick_station_slugify: {
44425
45081
  Args: {
44426
45082
  _id: string;
@@ -45894,6 +46550,99 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
45894
46550
  };
45895
46551
  Relationships: [];
45896
46552
  };
46553
+ artikelen_cache: {
46554
+ Row: {
46555
+ artikelcode: string;
46556
+ bron: string;
46557
+ bruto_prijs_cent: number | null;
46558
+ created_at: string;
46559
+ eenheid: string;
46560
+ fabrikant: string | null;
46561
+ fetched_at: string;
46562
+ gtin: string | null;
46563
+ id: string;
46564
+ naam: string;
46565
+ netto_prijs_cent: number | null;
46566
+ omschrijving: string | null;
46567
+ raw: import("../integrations/supabase/types").Json;
46568
+ updated_at: string;
46569
+ valuta: string;
46570
+ };
46571
+ Insert: {
46572
+ artikelcode: string;
46573
+ bron?: string;
46574
+ bruto_prijs_cent?: number | null;
46575
+ created_at?: string;
46576
+ eenheid?: string;
46577
+ fabrikant?: string | null;
46578
+ fetched_at?: string;
46579
+ gtin?: string | null;
46580
+ id?: string;
46581
+ naam: string;
46582
+ netto_prijs_cent?: number | null;
46583
+ omschrijving?: string | null;
46584
+ raw?: import("../integrations/supabase/types").Json;
46585
+ updated_at?: string;
46586
+ valuta?: string;
46587
+ };
46588
+ Update: {
46589
+ artikelcode?: string;
46590
+ bron?: string;
46591
+ bruto_prijs_cent?: number | null;
46592
+ created_at?: string;
46593
+ eenheid?: string;
46594
+ fabrikant?: string | null;
46595
+ fetched_at?: string;
46596
+ gtin?: string | null;
46597
+ id?: string;
46598
+ naam?: string;
46599
+ netto_prijs_cent?: number | null;
46600
+ omschrijving?: string | null;
46601
+ raw?: import("../integrations/supabase/types").Json;
46602
+ updated_at?: string;
46603
+ valuta?: string;
46604
+ };
46605
+ Relationships: [];
46606
+ };
46607
+ artikelen_veldconfig: {
46608
+ Row: {
46609
+ bron_pad: string;
46610
+ created_at: string;
46611
+ id: string;
46612
+ label: string;
46613
+ sort_order: number;
46614
+ type: string;
46615
+ updated_at: string;
46616
+ veld_key: string;
46617
+ zichtbaar_in_detail: boolean;
46618
+ zichtbaar_in_lijst: boolean;
46619
+ };
46620
+ Insert: {
46621
+ bron_pad: string;
46622
+ created_at?: string;
46623
+ id?: string;
46624
+ label: string;
46625
+ sort_order?: number;
46626
+ type?: string;
46627
+ updated_at?: string;
46628
+ veld_key: string;
46629
+ zichtbaar_in_detail?: boolean;
46630
+ zichtbaar_in_lijst?: boolean;
46631
+ };
46632
+ Update: {
46633
+ bron_pad?: string;
46634
+ created_at?: string;
46635
+ id?: string;
46636
+ label?: string;
46637
+ sort_order?: number;
46638
+ type?: string;
46639
+ updated_at?: string;
46640
+ veld_key?: string;
46641
+ zichtbaar_in_detail?: boolean;
46642
+ zichtbaar_in_lijst?: boolean;
46643
+ };
46644
+ Relationships: [];
46645
+ };
45897
46646
  booking_items: {
45898
46647
  Row: {
45899
46648
  booking_id: string;
@@ -48366,6 +49115,48 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
48366
49115
  };
48367
49116
  Relationships: [];
48368
49117
  };
49118
+ document_printplek_printers: {
49119
+ Row: {
49120
+ created_at: string;
49121
+ documenttype: string;
49122
+ id: string;
49123
+ papierformaat: string | null;
49124
+ print_plek_id: string;
49125
+ printer_id: string | null;
49126
+ updated_at: string;
49127
+ };
49128
+ Insert: {
49129
+ created_at?: string;
49130
+ documenttype: string;
49131
+ id?: string;
49132
+ papierformaat?: string | null;
49133
+ print_plek_id: string;
49134
+ printer_id?: string | null;
49135
+ updated_at?: string;
49136
+ };
49137
+ Update: {
49138
+ created_at?: string;
49139
+ documenttype?: string;
49140
+ id?: string;
49141
+ papierformaat?: string | null;
49142
+ print_plek_id?: string;
49143
+ printer_id?: string | null;
49144
+ updated_at?: string;
49145
+ };
49146
+ Relationships: [{
49147
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
49148
+ columns: ["print_plek_id"];
49149
+ isOneToOne: false;
49150
+ referencedRelation: "print_plekken";
49151
+ referencedColumns: ["id"];
49152
+ }, {
49153
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
49154
+ columns: ["printer_id"];
49155
+ isOneToOne: false;
49156
+ referencedRelation: "printers";
49157
+ referencedColumns: ["id"];
49158
+ }];
49159
+ };
48369
49160
  document_werkplek_printers: {
48370
49161
  Row: {
48371
49162
  created_at: string;
@@ -54347,6 +55138,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
54347
55138
  last_error_at: string | null;
54348
55139
  last_error_code: string | null;
54349
55140
  last_gateway_status: number | null;
55141
+ last_queued_at: string | null;
54350
55142
  last_response: import("../integrations/supabase/types").Json | null;
54351
55143
  last_sent_hash: string | null;
54352
55144
  locked_by: string | null;
@@ -54370,6 +55162,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
54370
55162
  last_error_at?: string | null;
54371
55163
  last_error_code?: string | null;
54372
55164
  last_gateway_status?: number | null;
55165
+ last_queued_at?: string | null;
54373
55166
  last_response?: import("../integrations/supabase/types").Json | null;
54374
55167
  last_sent_hash?: string | null;
54375
55168
  locked_by?: string | null;
@@ -54393,6 +55186,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
54393
55186
  last_error_at?: string | null;
54394
55187
  last_error_code?: string | null;
54395
55188
  last_gateway_status?: number | null;
55189
+ last_queued_at?: string | null;
54396
55190
  last_response?: import("../integrations/supabase/types").Json | null;
54397
55191
  last_sent_hash?: string | null;
54398
55192
  locked_by?: string | null;
@@ -58563,6 +59357,99 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
58563
59357
  referencedColumns: ["id"];
58564
59358
  }];
58565
59359
  };
59360
+ print_plek_computers: {
59361
+ Row: {
59362
+ computer_naam: string;
59363
+ created_at: string;
59364
+ id: string;
59365
+ print_plek_id: string;
59366
+ updated_at: string;
59367
+ };
59368
+ Insert: {
59369
+ computer_naam: string;
59370
+ created_at?: string;
59371
+ id?: string;
59372
+ print_plek_id: string;
59373
+ updated_at?: string;
59374
+ };
59375
+ Update: {
59376
+ computer_naam?: string;
59377
+ created_at?: string;
59378
+ id?: string;
59379
+ print_plek_id?: string;
59380
+ updated_at?: string;
59381
+ };
59382
+ Relationships: [{
59383
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
59384
+ columns: ["print_plek_id"];
59385
+ isOneToOne: false;
59386
+ referencedRelation: "print_plekken";
59387
+ referencedColumns: ["id"];
59388
+ }];
59389
+ };
59390
+ print_plek_koppelingen: {
59391
+ Row: {
59392
+ bron: string;
59393
+ bron_id: string;
59394
+ created_at: string;
59395
+ id: string;
59396
+ label: string | null;
59397
+ print_plek_id: string;
59398
+ updated_at: string;
59399
+ };
59400
+ Insert: {
59401
+ bron: string;
59402
+ bron_id: string;
59403
+ created_at?: string;
59404
+ id?: string;
59405
+ label?: string | null;
59406
+ print_plek_id: string;
59407
+ updated_at?: string;
59408
+ };
59409
+ Update: {
59410
+ bron?: string;
59411
+ bron_id?: string;
59412
+ created_at?: string;
59413
+ id?: string;
59414
+ label?: string | null;
59415
+ print_plek_id?: string;
59416
+ updated_at?: string;
59417
+ };
59418
+ Relationships: [{
59419
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
59420
+ columns: ["print_plek_id"];
59421
+ isOneToOne: false;
59422
+ referencedRelation: "print_plekken";
59423
+ referencedColumns: ["id"];
59424
+ }];
59425
+ };
59426
+ print_plekken: {
59427
+ Row: {
59428
+ actief: boolean;
59429
+ created_at: string;
59430
+ id: string;
59431
+ naam: string;
59432
+ omschrijving: string | null;
59433
+ updated_at: string;
59434
+ };
59435
+ Insert: {
59436
+ actief?: boolean;
59437
+ created_at?: string;
59438
+ id?: string;
59439
+ naam: string;
59440
+ omschrijving?: string | null;
59441
+ updated_at?: string;
59442
+ };
59443
+ Update: {
59444
+ actief?: boolean;
59445
+ created_at?: string;
59446
+ id?: string;
59447
+ naam?: string;
59448
+ omschrijving?: string | null;
59449
+ updated_at?: string;
59450
+ };
59451
+ Relationships: [];
59452
+ };
58566
59453
  print_queue_runners: {
58567
59454
  Row: {
58568
59455
  actief: boolean;
@@ -60717,6 +61604,45 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60717
61604
  };
60718
61605
  Relationships: [];
60719
61606
  };
61607
+ stock_consumption_alerts: {
61608
+ Row: {
61609
+ alert_type: string;
61610
+ created_at: string;
61611
+ id: string;
61612
+ mutation_log_id: string | null;
61613
+ order_id: string | null;
61614
+ order_item_id: string | null;
61615
+ qty: number;
61616
+ reason: string | null;
61617
+ resolved_at: string | null;
61618
+ updated_at: string;
61619
+ };
61620
+ Insert: {
61621
+ alert_type: string;
61622
+ created_at?: string;
61623
+ id?: string;
61624
+ mutation_log_id?: string | null;
61625
+ order_id?: string | null;
61626
+ order_item_id?: string | null;
61627
+ qty?: number;
61628
+ reason?: string | null;
61629
+ resolved_at?: string | null;
61630
+ updated_at?: string;
61631
+ };
61632
+ Update: {
61633
+ alert_type?: string;
61634
+ created_at?: string;
61635
+ id?: string;
61636
+ mutation_log_id?: string | null;
61637
+ order_id?: string | null;
61638
+ order_item_id?: string | null;
61639
+ qty?: number;
61640
+ reason?: string | null;
61641
+ resolved_at?: string | null;
61642
+ updated_at?: string;
61643
+ };
61644
+ Relationships: [];
61645
+ };
60720
61646
  stock_import_runs: {
60721
61647
  Row: {
60722
61648
  connection_id: string | null;
@@ -66311,6 +67237,24 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66311
67237
  };
66312
67238
  Returns: string;
66313
67239
  };
67240
+ logistics_floriday_finish_push_v3: {
67241
+ Args: {
67242
+ _error?: string;
67243
+ _error_code?: string;
67244
+ _fulfillment_order_id?: string;
67245
+ _gateway_status?: number;
67246
+ _id: string;
67247
+ _max_age_hours?: number;
67248
+ _max_attempts?: number;
67249
+ _outcome: string;
67250
+ _permanent?: boolean;
67251
+ _response?: import("../integrations/supabase/types").Json;
67252
+ _revision: number;
67253
+ _sent_hash?: string;
67254
+ _wait_max_age_hours?: number;
67255
+ };
67256
+ Returns: string;
67257
+ };
66314
67258
  logistics_floriday_prune_pushes: {
66315
67259
  Args: {
66316
67260
  _days?: number;
@@ -66739,6 +67683,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66739
67683
  verwijderd: number;
66740
67684
  }[];
66741
67685
  };
67686
+ order_departure_proof: {
67687
+ Args: {
67688
+ p_order_id: string;
67689
+ };
67690
+ Returns: import("../integrations/supabase/types").Json;
67691
+ };
66742
67692
  order_number_prefix: {
66743
67693
  Args: {
66744
67694
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -66946,6 +67896,14 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66946
67896
  };
66947
67897
  Returns: import("../integrations/supabase/types").Json;
66948
67898
  };
67899
+ pick_print_plekken: {
67900
+ Args: never;
67901
+ Returns: {
67902
+ id: string;
67903
+ naam: string;
67904
+ omschrijving: string;
67905
+ }[];
67906
+ };
66949
67907
  pick_release_expired_locks: {
66950
67908
  Args: never;
66951
67909
  Returns: number;
@@ -67010,6 +67968,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67010
67968
  isSetofReturn: false;
67011
67969
  };
67012
67970
  };
67971
+ pick_set_station_print_plek: {
67972
+ Args: {
67973
+ _print_plek_id: string;
67974
+ _station_id: string;
67975
+ };
67976
+ Returns: string;
67977
+ };
67013
67978
  pick_station_dashboard: {
67014
67979
  Args: never;
67015
67980
  Returns: {
@@ -67022,6 +67987,25 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67022
67987
  waiting: number;
67023
67988
  }[];
67024
67989
  };
67990
+ pick_station_print_plek: {
67991
+ Args: {
67992
+ _station_id: string;
67993
+ };
67994
+ Returns: {
67995
+ naam: string;
67996
+ omschrijving: string;
67997
+ print_plek_id: string;
67998
+ }[];
67999
+ };
68000
+ pick_station_print_plekken: {
68001
+ Args: never;
68002
+ Returns: {
68003
+ naam: string;
68004
+ omschrijving: string;
68005
+ print_plek_id: string;
68006
+ station_id: string;
68007
+ }[];
68008
+ };
67025
68009
  pick_station_slugify: {
67026
68010
  Args: {
67027
68011
  _id: string;
@@ -68484,6 +69468,99 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
68484
69468
  };
68485
69469
  Relationships: [];
68486
69470
  };
69471
+ artikelen_cache: {
69472
+ Row: {
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
+ Insert: {
69490
+ artikelcode: string;
69491
+ bron?: string;
69492
+ bruto_prijs_cent?: number | null;
69493
+ created_at?: string;
69494
+ eenheid?: string;
69495
+ fabrikant?: string | null;
69496
+ fetched_at?: string;
69497
+ gtin?: string | null;
69498
+ id?: string;
69499
+ naam: string;
69500
+ netto_prijs_cent?: number | null;
69501
+ omschrijving?: string | null;
69502
+ raw?: import("../integrations/supabase/types").Json;
69503
+ updated_at?: string;
69504
+ valuta?: string;
69505
+ };
69506
+ Update: {
69507
+ artikelcode?: string;
69508
+ bron?: string;
69509
+ bruto_prijs_cent?: number | null;
69510
+ created_at?: string;
69511
+ eenheid?: string;
69512
+ fabrikant?: string | null;
69513
+ fetched_at?: string;
69514
+ gtin?: string | null;
69515
+ id?: string;
69516
+ naam?: string;
69517
+ netto_prijs_cent?: number | null;
69518
+ omschrijving?: string | null;
69519
+ raw?: import("../integrations/supabase/types").Json;
69520
+ updated_at?: string;
69521
+ valuta?: string;
69522
+ };
69523
+ Relationships: [];
69524
+ };
69525
+ artikelen_veldconfig: {
69526
+ Row: {
69527
+ bron_pad: string;
69528
+ created_at: string;
69529
+ id: string;
69530
+ label: string;
69531
+ sort_order: number;
69532
+ type: string;
69533
+ updated_at: string;
69534
+ veld_key: string;
69535
+ zichtbaar_in_detail: boolean;
69536
+ zichtbaar_in_lijst: boolean;
69537
+ };
69538
+ Insert: {
69539
+ bron_pad: string;
69540
+ created_at?: string;
69541
+ id?: string;
69542
+ label: string;
69543
+ sort_order?: number;
69544
+ type?: string;
69545
+ updated_at?: string;
69546
+ veld_key: string;
69547
+ zichtbaar_in_detail?: boolean;
69548
+ zichtbaar_in_lijst?: boolean;
69549
+ };
69550
+ Update: {
69551
+ bron_pad?: string;
69552
+ created_at?: string;
69553
+ id?: string;
69554
+ label?: string;
69555
+ sort_order?: number;
69556
+ type?: string;
69557
+ updated_at?: string;
69558
+ veld_key?: string;
69559
+ zichtbaar_in_detail?: boolean;
69560
+ zichtbaar_in_lijst?: boolean;
69561
+ };
69562
+ Relationships: [];
69563
+ };
68487
69564
  booking_items: {
68488
69565
  Row: {
68489
69566
  booking_id: string;
@@ -70956,6 +72033,48 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
70956
72033
  };
70957
72034
  Relationships: [];
70958
72035
  };
72036
+ document_printplek_printers: {
72037
+ Row: {
72038
+ created_at: string;
72039
+ documenttype: string;
72040
+ id: string;
72041
+ papierformaat: string | null;
72042
+ print_plek_id: string;
72043
+ printer_id: string | null;
72044
+ updated_at: string;
72045
+ };
72046
+ Insert: {
72047
+ created_at?: string;
72048
+ documenttype: string;
72049
+ id?: string;
72050
+ papierformaat?: string | null;
72051
+ print_plek_id: string;
72052
+ printer_id?: string | null;
72053
+ updated_at?: string;
72054
+ };
72055
+ Update: {
72056
+ created_at?: string;
72057
+ documenttype?: string;
72058
+ id?: string;
72059
+ papierformaat?: string | null;
72060
+ print_plek_id?: string;
72061
+ printer_id?: string | null;
72062
+ updated_at?: string;
72063
+ };
72064
+ Relationships: [{
72065
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
72066
+ columns: ["print_plek_id"];
72067
+ isOneToOne: false;
72068
+ referencedRelation: "print_plekken";
72069
+ referencedColumns: ["id"];
72070
+ }, {
72071
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
72072
+ columns: ["printer_id"];
72073
+ isOneToOne: false;
72074
+ referencedRelation: "printers";
72075
+ referencedColumns: ["id"];
72076
+ }];
72077
+ };
70959
72078
  document_werkplek_printers: {
70960
72079
  Row: {
70961
72080
  created_at: string;
@@ -76937,6 +78056,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
76937
78056
  last_error_at: string | null;
76938
78057
  last_error_code: string | null;
76939
78058
  last_gateway_status: number | null;
78059
+ last_queued_at: string | null;
76940
78060
  last_response: import("../integrations/supabase/types").Json | null;
76941
78061
  last_sent_hash: string | null;
76942
78062
  locked_by: string | null;
@@ -76960,6 +78080,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
76960
78080
  last_error_at?: string | null;
76961
78081
  last_error_code?: string | null;
76962
78082
  last_gateway_status?: number | null;
78083
+ last_queued_at?: string | null;
76963
78084
  last_response?: import("../integrations/supabase/types").Json | null;
76964
78085
  last_sent_hash?: string | null;
76965
78086
  locked_by?: string | null;
@@ -76983,6 +78104,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
76983
78104
  last_error_at?: string | null;
76984
78105
  last_error_code?: string | null;
76985
78106
  last_gateway_status?: number | null;
78107
+ last_queued_at?: string | null;
76986
78108
  last_response?: import("../integrations/supabase/types").Json | null;
76987
78109
  last_sent_hash?: string | null;
76988
78110
  locked_by?: string | null;
@@ -81153,6 +82275,99 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
81153
82275
  referencedColumns: ["id"];
81154
82276
  }];
81155
82277
  };
82278
+ print_plek_computers: {
82279
+ Row: {
82280
+ computer_naam: string;
82281
+ created_at: string;
82282
+ id: string;
82283
+ print_plek_id: string;
82284
+ updated_at: string;
82285
+ };
82286
+ Insert: {
82287
+ computer_naam: string;
82288
+ created_at?: string;
82289
+ id?: string;
82290
+ print_plek_id: string;
82291
+ updated_at?: string;
82292
+ };
82293
+ Update: {
82294
+ computer_naam?: string;
82295
+ created_at?: string;
82296
+ id?: string;
82297
+ print_plek_id?: string;
82298
+ updated_at?: string;
82299
+ };
82300
+ Relationships: [{
82301
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
82302
+ columns: ["print_plek_id"];
82303
+ isOneToOne: false;
82304
+ referencedRelation: "print_plekken";
82305
+ referencedColumns: ["id"];
82306
+ }];
82307
+ };
82308
+ print_plek_koppelingen: {
82309
+ Row: {
82310
+ bron: string;
82311
+ bron_id: string;
82312
+ created_at: string;
82313
+ id: string;
82314
+ label: string | null;
82315
+ print_plek_id: string;
82316
+ updated_at: string;
82317
+ };
82318
+ Insert: {
82319
+ bron: string;
82320
+ bron_id: string;
82321
+ created_at?: string;
82322
+ id?: string;
82323
+ label?: string | null;
82324
+ print_plek_id: string;
82325
+ updated_at?: string;
82326
+ };
82327
+ Update: {
82328
+ bron?: string;
82329
+ bron_id?: string;
82330
+ created_at?: string;
82331
+ id?: string;
82332
+ label?: string | null;
82333
+ print_plek_id?: string;
82334
+ updated_at?: string;
82335
+ };
82336
+ Relationships: [{
82337
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
82338
+ columns: ["print_plek_id"];
82339
+ isOneToOne: false;
82340
+ referencedRelation: "print_plekken";
82341
+ referencedColumns: ["id"];
82342
+ }];
82343
+ };
82344
+ print_plekken: {
82345
+ Row: {
82346
+ actief: boolean;
82347
+ created_at: string;
82348
+ id: string;
82349
+ naam: string;
82350
+ omschrijving: string | null;
82351
+ updated_at: string;
82352
+ };
82353
+ Insert: {
82354
+ actief?: boolean;
82355
+ created_at?: string;
82356
+ id?: string;
82357
+ naam: string;
82358
+ omschrijving?: string | null;
82359
+ updated_at?: string;
82360
+ };
82361
+ Update: {
82362
+ actief?: boolean;
82363
+ created_at?: string;
82364
+ id?: string;
82365
+ naam?: string;
82366
+ omschrijving?: string | null;
82367
+ updated_at?: string;
82368
+ };
82369
+ Relationships: [];
82370
+ };
81156
82371
  print_queue_runners: {
81157
82372
  Row: {
81158
82373
  actief: boolean;
@@ -83307,6 +84522,45 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83307
84522
  };
83308
84523
  Relationships: [];
83309
84524
  };
84525
+ stock_consumption_alerts: {
84526
+ Row: {
84527
+ alert_type: string;
84528
+ created_at: string;
84529
+ id: string;
84530
+ mutation_log_id: string | null;
84531
+ order_id: string | null;
84532
+ order_item_id: string | null;
84533
+ qty: number;
84534
+ reason: string | null;
84535
+ resolved_at: string | null;
84536
+ updated_at: string;
84537
+ };
84538
+ Insert: {
84539
+ alert_type: string;
84540
+ created_at?: string;
84541
+ id?: string;
84542
+ mutation_log_id?: string | null;
84543
+ order_id?: string | null;
84544
+ order_item_id?: string | null;
84545
+ qty?: number;
84546
+ reason?: string | null;
84547
+ resolved_at?: string | null;
84548
+ updated_at?: string;
84549
+ };
84550
+ Update: {
84551
+ alert_type?: string;
84552
+ created_at?: string;
84553
+ id?: string;
84554
+ mutation_log_id?: string | null;
84555
+ order_id?: string | null;
84556
+ order_item_id?: string | null;
84557
+ qty?: number;
84558
+ reason?: string | null;
84559
+ resolved_at?: string | null;
84560
+ updated_at?: string;
84561
+ };
84562
+ Relationships: [];
84563
+ };
83310
84564
  stock_import_runs: {
83311
84565
  Row: {
83312
84566
  connection_id: string | null;
@@ -88901,6 +90155,24 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88901
90155
  };
88902
90156
  Returns: string;
88903
90157
  };
90158
+ logistics_floriday_finish_push_v3: {
90159
+ Args: {
90160
+ _error?: string;
90161
+ _error_code?: string;
90162
+ _fulfillment_order_id?: string;
90163
+ _gateway_status?: number;
90164
+ _id: string;
90165
+ _max_age_hours?: number;
90166
+ _max_attempts?: number;
90167
+ _outcome: string;
90168
+ _permanent?: boolean;
90169
+ _response?: import("../integrations/supabase/types").Json;
90170
+ _revision: number;
90171
+ _sent_hash?: string;
90172
+ _wait_max_age_hours?: number;
90173
+ };
90174
+ Returns: string;
90175
+ };
88904
90176
  logistics_floriday_prune_pushes: {
88905
90177
  Args: {
88906
90178
  _days?: number;
@@ -89329,6 +90601,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
89329
90601
  verwijderd: number;
89330
90602
  }[];
89331
90603
  };
90604
+ order_departure_proof: {
90605
+ Args: {
90606
+ p_order_id: string;
90607
+ };
90608
+ Returns: import("../integrations/supabase/types").Json;
90609
+ };
89332
90610
  order_number_prefix: {
89333
90611
  Args: {
89334
90612
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -89536,6 +90814,14 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
89536
90814
  };
89537
90815
  Returns: import("../integrations/supabase/types").Json;
89538
90816
  };
90817
+ pick_print_plekken: {
90818
+ Args: never;
90819
+ Returns: {
90820
+ id: string;
90821
+ naam: string;
90822
+ omschrijving: string;
90823
+ }[];
90824
+ };
89539
90825
  pick_release_expired_locks: {
89540
90826
  Args: never;
89541
90827
  Returns: number;
@@ -89600,6 +90886,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
89600
90886
  isSetofReturn: false;
89601
90887
  };
89602
90888
  };
90889
+ pick_set_station_print_plek: {
90890
+ Args: {
90891
+ _print_plek_id: string;
90892
+ _station_id: string;
90893
+ };
90894
+ Returns: string;
90895
+ };
89603
90896
  pick_station_dashboard: {
89604
90897
  Args: never;
89605
90898
  Returns: {
@@ -89612,6 +90905,25 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
89612
90905
  waiting: number;
89613
90906
  }[];
89614
90907
  };
90908
+ pick_station_print_plek: {
90909
+ Args: {
90910
+ _station_id: string;
90911
+ };
90912
+ Returns: {
90913
+ naam: string;
90914
+ omschrijving: string;
90915
+ print_plek_id: string;
90916
+ }[];
90917
+ };
90918
+ pick_station_print_plekken: {
90919
+ Args: never;
90920
+ Returns: {
90921
+ naam: string;
90922
+ omschrijving: string;
90923
+ print_plek_id: string;
90924
+ station_id: string;
90925
+ }[];
90926
+ };
89615
90927
  pick_station_slugify: {
89616
90928
  Args: {
89617
90929
  _id: string;