@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
@@ -679,6 +679,99 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
679
679
  };
680
680
  Relationships: [];
681
681
  };
682
+ artikelen_cache: {
683
+ Row: {
684
+ artikelcode: string;
685
+ bron: string;
686
+ bruto_prijs_cent: number | null;
687
+ created_at: string;
688
+ eenheid: string;
689
+ fabrikant: string | null;
690
+ fetched_at: string;
691
+ gtin: string | null;
692
+ id: string;
693
+ naam: string;
694
+ netto_prijs_cent: number | null;
695
+ omschrijving: string | null;
696
+ raw: import("../integrations/supabase/types").Json;
697
+ updated_at: string;
698
+ valuta: string;
699
+ };
700
+ Insert: {
701
+ artikelcode: string;
702
+ bron?: string;
703
+ bruto_prijs_cent?: number | null;
704
+ created_at?: string;
705
+ eenheid?: string;
706
+ fabrikant?: string | null;
707
+ fetched_at?: string;
708
+ gtin?: string | null;
709
+ id?: string;
710
+ naam: string;
711
+ netto_prijs_cent?: number | null;
712
+ omschrijving?: string | null;
713
+ raw?: import("../integrations/supabase/types").Json;
714
+ updated_at?: string;
715
+ valuta?: string;
716
+ };
717
+ Update: {
718
+ artikelcode?: string;
719
+ bron?: string;
720
+ bruto_prijs_cent?: number | null;
721
+ created_at?: string;
722
+ eenheid?: string;
723
+ fabrikant?: string | null;
724
+ fetched_at?: string;
725
+ gtin?: string | null;
726
+ id?: string;
727
+ naam?: string;
728
+ netto_prijs_cent?: number | null;
729
+ omschrijving?: string | null;
730
+ raw?: import("../integrations/supabase/types").Json;
731
+ updated_at?: string;
732
+ valuta?: string;
733
+ };
734
+ Relationships: [];
735
+ };
736
+ artikelen_veldconfig: {
737
+ Row: {
738
+ bron_pad: string;
739
+ created_at: string;
740
+ id: string;
741
+ label: string;
742
+ sort_order: number;
743
+ type: string;
744
+ updated_at: string;
745
+ veld_key: string;
746
+ zichtbaar_in_detail: boolean;
747
+ zichtbaar_in_lijst: boolean;
748
+ };
749
+ Insert: {
750
+ bron_pad: string;
751
+ created_at?: string;
752
+ id?: string;
753
+ label: string;
754
+ sort_order?: number;
755
+ type?: string;
756
+ updated_at?: string;
757
+ veld_key: string;
758
+ zichtbaar_in_detail?: boolean;
759
+ zichtbaar_in_lijst?: boolean;
760
+ };
761
+ Update: {
762
+ bron_pad?: string;
763
+ created_at?: string;
764
+ id?: string;
765
+ label?: string;
766
+ sort_order?: number;
767
+ type?: string;
768
+ updated_at?: string;
769
+ veld_key?: string;
770
+ zichtbaar_in_detail?: boolean;
771
+ zichtbaar_in_lijst?: boolean;
772
+ };
773
+ Relationships: [];
774
+ };
682
775
  booking_items: {
683
776
  Row: {
684
777
  booking_id: string;
@@ -3151,6 +3244,48 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
3151
3244
  };
3152
3245
  Relationships: [];
3153
3246
  };
3247
+ document_printplek_printers: {
3248
+ Row: {
3249
+ created_at: string;
3250
+ documenttype: string;
3251
+ id: string;
3252
+ papierformaat: string | null;
3253
+ print_plek_id: string;
3254
+ printer_id: string | null;
3255
+ updated_at: string;
3256
+ };
3257
+ Insert: {
3258
+ created_at?: string;
3259
+ documenttype: string;
3260
+ id?: string;
3261
+ papierformaat?: string | null;
3262
+ print_plek_id: string;
3263
+ printer_id?: string | null;
3264
+ updated_at?: string;
3265
+ };
3266
+ Update: {
3267
+ created_at?: string;
3268
+ documenttype?: string;
3269
+ id?: string;
3270
+ papierformaat?: string | null;
3271
+ print_plek_id?: string;
3272
+ printer_id?: string | null;
3273
+ updated_at?: string;
3274
+ };
3275
+ Relationships: [{
3276
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3277
+ columns: ["print_plek_id"];
3278
+ isOneToOne: false;
3279
+ referencedRelation: "print_plekken";
3280
+ referencedColumns: ["id"];
3281
+ }, {
3282
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3283
+ columns: ["printer_id"];
3284
+ isOneToOne: false;
3285
+ referencedRelation: "printers";
3286
+ referencedColumns: ["id"];
3287
+ }];
3288
+ };
3154
3289
  document_werkplek_printers: {
3155
3290
  Row: {
3156
3291
  created_at: string;
@@ -9132,6 +9267,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
9132
9267
  last_error_at: string | null;
9133
9268
  last_error_code: string | null;
9134
9269
  last_gateway_status: number | null;
9270
+ last_queued_at: string | null;
9135
9271
  last_response: import("../integrations/supabase/types").Json | null;
9136
9272
  last_sent_hash: string | null;
9137
9273
  locked_by: string | null;
@@ -9155,6 +9291,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
9155
9291
  last_error_at?: string | null;
9156
9292
  last_error_code?: string | null;
9157
9293
  last_gateway_status?: number | null;
9294
+ last_queued_at?: string | null;
9158
9295
  last_response?: import("../integrations/supabase/types").Json | null;
9159
9296
  last_sent_hash?: string | null;
9160
9297
  locked_by?: string | null;
@@ -9178,6 +9315,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
9178
9315
  last_error_at?: string | null;
9179
9316
  last_error_code?: string | null;
9180
9317
  last_gateway_status?: number | null;
9318
+ last_queued_at?: string | null;
9181
9319
  last_response?: import("../integrations/supabase/types").Json | null;
9182
9320
  last_sent_hash?: string | null;
9183
9321
  locked_by?: string | null;
@@ -13348,6 +13486,99 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
13348
13486
  referencedColumns: ["id"];
13349
13487
  }];
13350
13488
  };
13489
+ print_plek_computers: {
13490
+ Row: {
13491
+ computer_naam: string;
13492
+ created_at: string;
13493
+ id: string;
13494
+ print_plek_id: string;
13495
+ updated_at: string;
13496
+ };
13497
+ Insert: {
13498
+ computer_naam: string;
13499
+ created_at?: string;
13500
+ id?: string;
13501
+ print_plek_id: string;
13502
+ updated_at?: string;
13503
+ };
13504
+ Update: {
13505
+ computer_naam?: string;
13506
+ created_at?: string;
13507
+ id?: string;
13508
+ print_plek_id?: string;
13509
+ updated_at?: string;
13510
+ };
13511
+ Relationships: [{
13512
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13513
+ columns: ["print_plek_id"];
13514
+ isOneToOne: false;
13515
+ referencedRelation: "print_plekken";
13516
+ referencedColumns: ["id"];
13517
+ }];
13518
+ };
13519
+ print_plek_koppelingen: {
13520
+ Row: {
13521
+ bron: string;
13522
+ bron_id: string;
13523
+ created_at: string;
13524
+ id: string;
13525
+ label: string | null;
13526
+ print_plek_id: string;
13527
+ updated_at: string;
13528
+ };
13529
+ Insert: {
13530
+ bron: string;
13531
+ bron_id: string;
13532
+ created_at?: string;
13533
+ id?: string;
13534
+ label?: string | null;
13535
+ print_plek_id: string;
13536
+ updated_at?: string;
13537
+ };
13538
+ Update: {
13539
+ bron?: string;
13540
+ bron_id?: string;
13541
+ created_at?: string;
13542
+ id?: string;
13543
+ label?: string | null;
13544
+ print_plek_id?: string;
13545
+ updated_at?: string;
13546
+ };
13547
+ Relationships: [{
13548
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13549
+ columns: ["print_plek_id"];
13550
+ isOneToOne: false;
13551
+ referencedRelation: "print_plekken";
13552
+ referencedColumns: ["id"];
13553
+ }];
13554
+ };
13555
+ print_plekken: {
13556
+ Row: {
13557
+ actief: boolean;
13558
+ created_at: string;
13559
+ id: string;
13560
+ naam: string;
13561
+ omschrijving: string | null;
13562
+ updated_at: string;
13563
+ };
13564
+ Insert: {
13565
+ actief?: boolean;
13566
+ created_at?: string;
13567
+ id?: string;
13568
+ naam: string;
13569
+ omschrijving?: string | null;
13570
+ updated_at?: string;
13571
+ };
13572
+ Update: {
13573
+ actief?: boolean;
13574
+ created_at?: string;
13575
+ id?: string;
13576
+ naam?: string;
13577
+ omschrijving?: string | null;
13578
+ updated_at?: string;
13579
+ };
13580
+ Relationships: [];
13581
+ };
13351
13582
  print_queue_runners: {
13352
13583
  Row: {
13353
13584
  actief: boolean;
@@ -15502,6 +15733,45 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
15502
15733
  };
15503
15734
  Relationships: [];
15504
15735
  };
15736
+ stock_consumption_alerts: {
15737
+ Row: {
15738
+ alert_type: string;
15739
+ created_at: string;
15740
+ id: string;
15741
+ mutation_log_id: string | null;
15742
+ order_id: string | null;
15743
+ order_item_id: string | null;
15744
+ qty: number;
15745
+ reason: string | null;
15746
+ resolved_at: string | null;
15747
+ updated_at: string;
15748
+ };
15749
+ Insert: {
15750
+ alert_type: string;
15751
+ created_at?: string;
15752
+ id?: string;
15753
+ mutation_log_id?: string | null;
15754
+ order_id?: string | null;
15755
+ order_item_id?: string | null;
15756
+ qty?: number;
15757
+ reason?: string | null;
15758
+ resolved_at?: string | null;
15759
+ updated_at?: string;
15760
+ };
15761
+ Update: {
15762
+ alert_type?: string;
15763
+ created_at?: string;
15764
+ id?: string;
15765
+ mutation_log_id?: string | null;
15766
+ order_id?: string | null;
15767
+ order_item_id?: string | null;
15768
+ qty?: number;
15769
+ reason?: string | null;
15770
+ resolved_at?: string | null;
15771
+ updated_at?: string;
15772
+ };
15773
+ Relationships: [];
15774
+ };
15505
15775
  stock_import_runs: {
15506
15776
  Row: {
15507
15777
  connection_id: string | null;
@@ -21096,6 +21366,24 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
21096
21366
  };
21097
21367
  Returns: string;
21098
21368
  };
21369
+ logistics_floriday_finish_push_v3: {
21370
+ Args: {
21371
+ _error?: string;
21372
+ _error_code?: string;
21373
+ _fulfillment_order_id?: string;
21374
+ _gateway_status?: number;
21375
+ _id: string;
21376
+ _max_age_hours?: number;
21377
+ _max_attempts?: number;
21378
+ _outcome: string;
21379
+ _permanent?: boolean;
21380
+ _response?: import("../integrations/supabase/types").Json;
21381
+ _revision: number;
21382
+ _sent_hash?: string;
21383
+ _wait_max_age_hours?: number;
21384
+ };
21385
+ Returns: string;
21386
+ };
21099
21387
  logistics_floriday_prune_pushes: {
21100
21388
  Args: {
21101
21389
  _days?: number;
@@ -21524,6 +21812,12 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
21524
21812
  verwijderd: number;
21525
21813
  }[];
21526
21814
  };
21815
+ order_departure_proof: {
21816
+ Args: {
21817
+ p_order_id: string;
21818
+ };
21819
+ Returns: import("../integrations/supabase/types").Json;
21820
+ };
21527
21821
  order_number_prefix: {
21528
21822
  Args: {
21529
21823
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21731,6 +22025,14 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
21731
22025
  };
21732
22026
  Returns: import("../integrations/supabase/types").Json;
21733
22027
  };
22028
+ pick_print_plekken: {
22029
+ Args: never;
22030
+ Returns: {
22031
+ id: string;
22032
+ naam: string;
22033
+ omschrijving: string;
22034
+ }[];
22035
+ };
21734
22036
  pick_release_expired_locks: {
21735
22037
  Args: never;
21736
22038
  Returns: number;
@@ -21795,6 +22097,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
21795
22097
  isSetofReturn: false;
21796
22098
  };
21797
22099
  };
22100
+ pick_set_station_print_plek: {
22101
+ Args: {
22102
+ _print_plek_id: string;
22103
+ _station_id: string;
22104
+ };
22105
+ Returns: string;
22106
+ };
21798
22107
  pick_station_dashboard: {
21799
22108
  Args: never;
21800
22109
  Returns: {
@@ -21807,6 +22116,25 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
21807
22116
  waiting: number;
21808
22117
  }[];
21809
22118
  };
22119
+ pick_station_print_plek: {
22120
+ Args: {
22121
+ _station_id: string;
22122
+ };
22123
+ Returns: {
22124
+ naam: string;
22125
+ omschrijving: string;
22126
+ print_plek_id: string;
22127
+ }[];
22128
+ };
22129
+ pick_station_print_plekken: {
22130
+ Args: never;
22131
+ Returns: {
22132
+ naam: string;
22133
+ omschrijving: string;
22134
+ print_plek_id: string;
22135
+ station_id: string;
22136
+ }[];
22137
+ };
21810
22138
  pick_station_slugify: {
21811
22139
  Args: {
21812
22140
  _id: string;
@@ -23268,6 +23596,99 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
23268
23596
  };
23269
23597
  Relationships: [];
23270
23598
  };
23599
+ artikelen_cache: {
23600
+ Row: {
23601
+ artikelcode: string;
23602
+ bron: string;
23603
+ bruto_prijs_cent: number | null;
23604
+ created_at: string;
23605
+ eenheid: string;
23606
+ fabrikant: string | null;
23607
+ fetched_at: string;
23608
+ gtin: string | null;
23609
+ id: string;
23610
+ naam: string;
23611
+ netto_prijs_cent: number | null;
23612
+ omschrijving: string | null;
23613
+ raw: import("../integrations/supabase/types").Json;
23614
+ updated_at: string;
23615
+ valuta: string;
23616
+ };
23617
+ Insert: {
23618
+ artikelcode: string;
23619
+ bron?: string;
23620
+ bruto_prijs_cent?: number | null;
23621
+ created_at?: string;
23622
+ eenheid?: string;
23623
+ fabrikant?: string | null;
23624
+ fetched_at?: string;
23625
+ gtin?: string | null;
23626
+ id?: string;
23627
+ naam: string;
23628
+ netto_prijs_cent?: number | null;
23629
+ omschrijving?: string | null;
23630
+ raw?: import("../integrations/supabase/types").Json;
23631
+ updated_at?: string;
23632
+ valuta?: string;
23633
+ };
23634
+ Update: {
23635
+ artikelcode?: string;
23636
+ bron?: string;
23637
+ bruto_prijs_cent?: number | null;
23638
+ created_at?: string;
23639
+ eenheid?: string;
23640
+ fabrikant?: string | null;
23641
+ fetched_at?: string;
23642
+ gtin?: string | null;
23643
+ id?: string;
23644
+ naam?: string;
23645
+ netto_prijs_cent?: number | null;
23646
+ omschrijving?: string | null;
23647
+ raw?: import("../integrations/supabase/types").Json;
23648
+ updated_at?: string;
23649
+ valuta?: string;
23650
+ };
23651
+ Relationships: [];
23652
+ };
23653
+ artikelen_veldconfig: {
23654
+ Row: {
23655
+ bron_pad: string;
23656
+ created_at: string;
23657
+ id: string;
23658
+ label: string;
23659
+ sort_order: number;
23660
+ type: string;
23661
+ updated_at: string;
23662
+ veld_key: string;
23663
+ zichtbaar_in_detail: boolean;
23664
+ zichtbaar_in_lijst: boolean;
23665
+ };
23666
+ Insert: {
23667
+ bron_pad: string;
23668
+ created_at?: string;
23669
+ id?: string;
23670
+ label: string;
23671
+ sort_order?: number;
23672
+ type?: string;
23673
+ updated_at?: string;
23674
+ veld_key: string;
23675
+ zichtbaar_in_detail?: boolean;
23676
+ zichtbaar_in_lijst?: boolean;
23677
+ };
23678
+ Update: {
23679
+ bron_pad?: string;
23680
+ created_at?: string;
23681
+ id?: string;
23682
+ label?: string;
23683
+ sort_order?: number;
23684
+ type?: string;
23685
+ updated_at?: string;
23686
+ veld_key?: string;
23687
+ zichtbaar_in_detail?: boolean;
23688
+ zichtbaar_in_lijst?: boolean;
23689
+ };
23690
+ Relationships: [];
23691
+ };
23271
23692
  booking_items: {
23272
23693
  Row: {
23273
23694
  booking_id: string;
@@ -25740,6 +26161,48 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
25740
26161
  };
25741
26162
  Relationships: [];
25742
26163
  };
26164
+ document_printplek_printers: {
26165
+ Row: {
26166
+ created_at: string;
26167
+ documenttype: string;
26168
+ id: string;
26169
+ papierformaat: string | null;
26170
+ print_plek_id: string;
26171
+ printer_id: string | null;
26172
+ updated_at: string;
26173
+ };
26174
+ Insert: {
26175
+ created_at?: string;
26176
+ documenttype: string;
26177
+ id?: string;
26178
+ papierformaat?: string | null;
26179
+ print_plek_id: string;
26180
+ printer_id?: string | null;
26181
+ updated_at?: string;
26182
+ };
26183
+ Update: {
26184
+ created_at?: string;
26185
+ documenttype?: string;
26186
+ id?: string;
26187
+ papierformaat?: string | null;
26188
+ print_plek_id?: string;
26189
+ printer_id?: string | null;
26190
+ updated_at?: string;
26191
+ };
26192
+ Relationships: [{
26193
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
26194
+ columns: ["print_plek_id"];
26195
+ isOneToOne: false;
26196
+ referencedRelation: "print_plekken";
26197
+ referencedColumns: ["id"];
26198
+ }, {
26199
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
26200
+ columns: ["printer_id"];
26201
+ isOneToOne: false;
26202
+ referencedRelation: "printers";
26203
+ referencedColumns: ["id"];
26204
+ }];
26205
+ };
25743
26206
  document_werkplek_printers: {
25744
26207
  Row: {
25745
26208
  created_at: string;
@@ -31721,6 +32184,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
31721
32184
  last_error_at: string | null;
31722
32185
  last_error_code: string | null;
31723
32186
  last_gateway_status: number | null;
32187
+ last_queued_at: string | null;
31724
32188
  last_response: import("../integrations/supabase/types").Json | null;
31725
32189
  last_sent_hash: string | null;
31726
32190
  locked_by: string | null;
@@ -31744,6 +32208,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
31744
32208
  last_error_at?: string | null;
31745
32209
  last_error_code?: string | null;
31746
32210
  last_gateway_status?: number | null;
32211
+ last_queued_at?: string | null;
31747
32212
  last_response?: import("../integrations/supabase/types").Json | null;
31748
32213
  last_sent_hash?: string | null;
31749
32214
  locked_by?: string | null;
@@ -31767,6 +32232,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
31767
32232
  last_error_at?: string | null;
31768
32233
  last_error_code?: string | null;
31769
32234
  last_gateway_status?: number | null;
32235
+ last_queued_at?: string | null;
31770
32236
  last_response?: import("../integrations/supabase/types").Json | null;
31771
32237
  last_sent_hash?: string | null;
31772
32238
  locked_by?: string | null;
@@ -35937,6 +36403,99 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
35937
36403
  referencedColumns: ["id"];
35938
36404
  }];
35939
36405
  };
36406
+ print_plek_computers: {
36407
+ Row: {
36408
+ computer_naam: string;
36409
+ created_at: string;
36410
+ id: string;
36411
+ print_plek_id: string;
36412
+ updated_at: string;
36413
+ };
36414
+ Insert: {
36415
+ computer_naam: string;
36416
+ created_at?: string;
36417
+ id?: string;
36418
+ print_plek_id: string;
36419
+ updated_at?: string;
36420
+ };
36421
+ Update: {
36422
+ computer_naam?: string;
36423
+ created_at?: string;
36424
+ id?: string;
36425
+ print_plek_id?: string;
36426
+ updated_at?: string;
36427
+ };
36428
+ Relationships: [{
36429
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
36430
+ columns: ["print_plek_id"];
36431
+ isOneToOne: false;
36432
+ referencedRelation: "print_plekken";
36433
+ referencedColumns: ["id"];
36434
+ }];
36435
+ };
36436
+ print_plek_koppelingen: {
36437
+ Row: {
36438
+ bron: string;
36439
+ bron_id: string;
36440
+ created_at: string;
36441
+ id: string;
36442
+ label: string | null;
36443
+ print_plek_id: string;
36444
+ updated_at: string;
36445
+ };
36446
+ Insert: {
36447
+ bron: string;
36448
+ bron_id: string;
36449
+ created_at?: string;
36450
+ id?: string;
36451
+ label?: string | null;
36452
+ print_plek_id: string;
36453
+ updated_at?: string;
36454
+ };
36455
+ Update: {
36456
+ bron?: string;
36457
+ bron_id?: string;
36458
+ created_at?: string;
36459
+ id?: string;
36460
+ label?: string | null;
36461
+ print_plek_id?: string;
36462
+ updated_at?: string;
36463
+ };
36464
+ Relationships: [{
36465
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
36466
+ columns: ["print_plek_id"];
36467
+ isOneToOne: false;
36468
+ referencedRelation: "print_plekken";
36469
+ referencedColumns: ["id"];
36470
+ }];
36471
+ };
36472
+ print_plekken: {
36473
+ Row: {
36474
+ actief: boolean;
36475
+ created_at: string;
36476
+ id: string;
36477
+ naam: string;
36478
+ omschrijving: string | null;
36479
+ updated_at: string;
36480
+ };
36481
+ Insert: {
36482
+ actief?: boolean;
36483
+ created_at?: string;
36484
+ id?: string;
36485
+ naam: string;
36486
+ omschrijving?: string | null;
36487
+ updated_at?: string;
36488
+ };
36489
+ Update: {
36490
+ actief?: boolean;
36491
+ created_at?: string;
36492
+ id?: string;
36493
+ naam?: string;
36494
+ omschrijving?: string | null;
36495
+ updated_at?: string;
36496
+ };
36497
+ Relationships: [];
36498
+ };
35940
36499
  print_queue_runners: {
35941
36500
  Row: {
35942
36501
  actief: boolean;
@@ -38091,6 +38650,45 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
38091
38650
  };
38092
38651
  Relationships: [];
38093
38652
  };
38653
+ stock_consumption_alerts: {
38654
+ Row: {
38655
+ alert_type: string;
38656
+ created_at: string;
38657
+ id: string;
38658
+ mutation_log_id: string | null;
38659
+ order_id: string | null;
38660
+ order_item_id: string | null;
38661
+ qty: number;
38662
+ reason: string | null;
38663
+ resolved_at: string | null;
38664
+ updated_at: string;
38665
+ };
38666
+ Insert: {
38667
+ alert_type: string;
38668
+ created_at?: string;
38669
+ id?: string;
38670
+ mutation_log_id?: string | null;
38671
+ order_id?: string | null;
38672
+ order_item_id?: string | null;
38673
+ qty?: number;
38674
+ reason?: string | null;
38675
+ resolved_at?: string | null;
38676
+ updated_at?: string;
38677
+ };
38678
+ Update: {
38679
+ alert_type?: string;
38680
+ created_at?: string;
38681
+ id?: string;
38682
+ mutation_log_id?: string | null;
38683
+ order_id?: string | null;
38684
+ order_item_id?: string | null;
38685
+ qty?: number;
38686
+ reason?: string | null;
38687
+ resolved_at?: string | null;
38688
+ updated_at?: string;
38689
+ };
38690
+ Relationships: [];
38691
+ };
38094
38692
  stock_import_runs: {
38095
38693
  Row: {
38096
38694
  connection_id: string | null;
@@ -43685,6 +44283,24 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
43685
44283
  };
43686
44284
  Returns: string;
43687
44285
  };
44286
+ logistics_floriday_finish_push_v3: {
44287
+ Args: {
44288
+ _error?: string;
44289
+ _error_code?: string;
44290
+ _fulfillment_order_id?: string;
44291
+ _gateway_status?: number;
44292
+ _id: string;
44293
+ _max_age_hours?: number;
44294
+ _max_attempts?: number;
44295
+ _outcome: string;
44296
+ _permanent?: boolean;
44297
+ _response?: import("../integrations/supabase/types").Json;
44298
+ _revision: number;
44299
+ _sent_hash?: string;
44300
+ _wait_max_age_hours?: number;
44301
+ };
44302
+ Returns: string;
44303
+ };
43688
44304
  logistics_floriday_prune_pushes: {
43689
44305
  Args: {
43690
44306
  _days?: number;
@@ -44113,6 +44729,12 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
44113
44729
  verwijderd: number;
44114
44730
  }[];
44115
44731
  };
44732
+ order_departure_proof: {
44733
+ Args: {
44734
+ p_order_id: string;
44735
+ };
44736
+ Returns: import("../integrations/supabase/types").Json;
44737
+ };
44116
44738
  order_number_prefix: {
44117
44739
  Args: {
44118
44740
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -44320,6 +44942,14 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
44320
44942
  };
44321
44943
  Returns: import("../integrations/supabase/types").Json;
44322
44944
  };
44945
+ pick_print_plekken: {
44946
+ Args: never;
44947
+ Returns: {
44948
+ id: string;
44949
+ naam: string;
44950
+ omschrijving: string;
44951
+ }[];
44952
+ };
44323
44953
  pick_release_expired_locks: {
44324
44954
  Args: never;
44325
44955
  Returns: number;
@@ -44384,6 +45014,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
44384
45014
  isSetofReturn: false;
44385
45015
  };
44386
45016
  };
45017
+ pick_set_station_print_plek: {
45018
+ Args: {
45019
+ _print_plek_id: string;
45020
+ _station_id: string;
45021
+ };
45022
+ Returns: string;
45023
+ };
44387
45024
  pick_station_dashboard: {
44388
45025
  Args: never;
44389
45026
  Returns: {
@@ -44396,6 +45033,25 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
44396
45033
  waiting: number;
44397
45034
  }[];
44398
45035
  };
45036
+ pick_station_print_plek: {
45037
+ Args: {
45038
+ _station_id: string;
45039
+ };
45040
+ Returns: {
45041
+ naam: string;
45042
+ omschrijving: string;
45043
+ print_plek_id: string;
45044
+ }[];
45045
+ };
45046
+ pick_station_print_plekken: {
45047
+ Args: never;
45048
+ Returns: {
45049
+ naam: string;
45050
+ omschrijving: string;
45051
+ print_plek_id: string;
45052
+ station_id: string;
45053
+ }[];
45054
+ };
44399
45055
  pick_station_slugify: {
44400
45056
  Args: {
44401
45057
  _id: string;
@@ -45867,6 +46523,99 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
45867
46523
  };
45868
46524
  Relationships: [];
45869
46525
  };
46526
+ artikelen_cache: {
46527
+ Row: {
46528
+ artikelcode: string;
46529
+ bron: string;
46530
+ bruto_prijs_cent: number | null;
46531
+ created_at: string;
46532
+ eenheid: string;
46533
+ fabrikant: string | null;
46534
+ fetched_at: string;
46535
+ gtin: string | null;
46536
+ id: string;
46537
+ naam: string;
46538
+ netto_prijs_cent: number | null;
46539
+ omschrijving: string | null;
46540
+ raw: import("../integrations/supabase/types").Json;
46541
+ updated_at: string;
46542
+ valuta: string;
46543
+ };
46544
+ Insert: {
46545
+ artikelcode: string;
46546
+ bron?: string;
46547
+ bruto_prijs_cent?: number | null;
46548
+ created_at?: string;
46549
+ eenheid?: string;
46550
+ fabrikant?: string | null;
46551
+ fetched_at?: string;
46552
+ gtin?: string | null;
46553
+ id?: string;
46554
+ naam: string;
46555
+ netto_prijs_cent?: number | null;
46556
+ omschrijving?: string | null;
46557
+ raw?: import("../integrations/supabase/types").Json;
46558
+ updated_at?: string;
46559
+ valuta?: string;
46560
+ };
46561
+ Update: {
46562
+ artikelcode?: string;
46563
+ bron?: string;
46564
+ bruto_prijs_cent?: number | null;
46565
+ created_at?: string;
46566
+ eenheid?: string;
46567
+ fabrikant?: string | null;
46568
+ fetched_at?: string;
46569
+ gtin?: string | null;
46570
+ id?: string;
46571
+ naam?: string;
46572
+ netto_prijs_cent?: number | null;
46573
+ omschrijving?: string | null;
46574
+ raw?: import("../integrations/supabase/types").Json;
46575
+ updated_at?: string;
46576
+ valuta?: string;
46577
+ };
46578
+ Relationships: [];
46579
+ };
46580
+ artikelen_veldconfig: {
46581
+ Row: {
46582
+ bron_pad: string;
46583
+ created_at: string;
46584
+ id: string;
46585
+ label: string;
46586
+ sort_order: number;
46587
+ type: string;
46588
+ updated_at: string;
46589
+ veld_key: string;
46590
+ zichtbaar_in_detail: boolean;
46591
+ zichtbaar_in_lijst: boolean;
46592
+ };
46593
+ Insert: {
46594
+ bron_pad: string;
46595
+ created_at?: string;
46596
+ id?: string;
46597
+ label: string;
46598
+ sort_order?: number;
46599
+ type?: string;
46600
+ updated_at?: string;
46601
+ veld_key: string;
46602
+ zichtbaar_in_detail?: boolean;
46603
+ zichtbaar_in_lijst?: boolean;
46604
+ };
46605
+ Update: {
46606
+ bron_pad?: string;
46607
+ created_at?: string;
46608
+ id?: string;
46609
+ label?: string;
46610
+ sort_order?: number;
46611
+ type?: string;
46612
+ updated_at?: string;
46613
+ veld_key?: string;
46614
+ zichtbaar_in_detail?: boolean;
46615
+ zichtbaar_in_lijst?: boolean;
46616
+ };
46617
+ Relationships: [];
46618
+ };
45870
46619
  booking_items: {
45871
46620
  Row: {
45872
46621
  booking_id: string;
@@ -48339,6 +49088,48 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
48339
49088
  };
48340
49089
  Relationships: [];
48341
49090
  };
49091
+ document_printplek_printers: {
49092
+ Row: {
49093
+ created_at: string;
49094
+ documenttype: string;
49095
+ id: string;
49096
+ papierformaat: string | null;
49097
+ print_plek_id: string;
49098
+ printer_id: string | null;
49099
+ updated_at: string;
49100
+ };
49101
+ Insert: {
49102
+ created_at?: string;
49103
+ documenttype: string;
49104
+ id?: string;
49105
+ papierformaat?: string | null;
49106
+ print_plek_id: string;
49107
+ printer_id?: string | null;
49108
+ updated_at?: string;
49109
+ };
49110
+ Update: {
49111
+ created_at?: string;
49112
+ documenttype?: string;
49113
+ id?: string;
49114
+ papierformaat?: string | null;
49115
+ print_plek_id?: string;
49116
+ printer_id?: string | null;
49117
+ updated_at?: string;
49118
+ };
49119
+ Relationships: [{
49120
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
49121
+ columns: ["print_plek_id"];
49122
+ isOneToOne: false;
49123
+ referencedRelation: "print_plekken";
49124
+ referencedColumns: ["id"];
49125
+ }, {
49126
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
49127
+ columns: ["printer_id"];
49128
+ isOneToOne: false;
49129
+ referencedRelation: "printers";
49130
+ referencedColumns: ["id"];
49131
+ }];
49132
+ };
48342
49133
  document_werkplek_printers: {
48343
49134
  Row: {
48344
49135
  created_at: string;
@@ -54320,6 +55111,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
54320
55111
  last_error_at: string | null;
54321
55112
  last_error_code: string | null;
54322
55113
  last_gateway_status: number | null;
55114
+ last_queued_at: string | null;
54323
55115
  last_response: import("../integrations/supabase/types").Json | null;
54324
55116
  last_sent_hash: string | null;
54325
55117
  locked_by: string | null;
@@ -54343,6 +55135,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
54343
55135
  last_error_at?: string | null;
54344
55136
  last_error_code?: string | null;
54345
55137
  last_gateway_status?: number | null;
55138
+ last_queued_at?: string | null;
54346
55139
  last_response?: import("../integrations/supabase/types").Json | null;
54347
55140
  last_sent_hash?: string | null;
54348
55141
  locked_by?: string | null;
@@ -54366,6 +55159,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
54366
55159
  last_error_at?: string | null;
54367
55160
  last_error_code?: string | null;
54368
55161
  last_gateway_status?: number | null;
55162
+ last_queued_at?: string | null;
54369
55163
  last_response?: import("../integrations/supabase/types").Json | null;
54370
55164
  last_sent_hash?: string | null;
54371
55165
  locked_by?: string | null;
@@ -58536,6 +59330,99 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
58536
59330
  referencedColumns: ["id"];
58537
59331
  }];
58538
59332
  };
59333
+ print_plek_computers: {
59334
+ Row: {
59335
+ computer_naam: string;
59336
+ created_at: string;
59337
+ id: string;
59338
+ print_plek_id: string;
59339
+ updated_at: string;
59340
+ };
59341
+ Insert: {
59342
+ computer_naam: string;
59343
+ created_at?: string;
59344
+ id?: string;
59345
+ print_plek_id: string;
59346
+ updated_at?: string;
59347
+ };
59348
+ Update: {
59349
+ computer_naam?: string;
59350
+ created_at?: string;
59351
+ id?: string;
59352
+ print_plek_id?: string;
59353
+ updated_at?: string;
59354
+ };
59355
+ Relationships: [{
59356
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
59357
+ columns: ["print_plek_id"];
59358
+ isOneToOne: false;
59359
+ referencedRelation: "print_plekken";
59360
+ referencedColumns: ["id"];
59361
+ }];
59362
+ };
59363
+ print_plek_koppelingen: {
59364
+ Row: {
59365
+ bron: string;
59366
+ bron_id: string;
59367
+ created_at: string;
59368
+ id: string;
59369
+ label: string | null;
59370
+ print_plek_id: string;
59371
+ updated_at: string;
59372
+ };
59373
+ Insert: {
59374
+ bron: string;
59375
+ bron_id: string;
59376
+ created_at?: string;
59377
+ id?: string;
59378
+ label?: string | null;
59379
+ print_plek_id: string;
59380
+ updated_at?: string;
59381
+ };
59382
+ Update: {
59383
+ bron?: string;
59384
+ bron_id?: string;
59385
+ created_at?: string;
59386
+ id?: string;
59387
+ label?: string | null;
59388
+ print_plek_id?: string;
59389
+ updated_at?: string;
59390
+ };
59391
+ Relationships: [{
59392
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
59393
+ columns: ["print_plek_id"];
59394
+ isOneToOne: false;
59395
+ referencedRelation: "print_plekken";
59396
+ referencedColumns: ["id"];
59397
+ }];
59398
+ };
59399
+ print_plekken: {
59400
+ Row: {
59401
+ actief: boolean;
59402
+ created_at: string;
59403
+ id: string;
59404
+ naam: string;
59405
+ omschrijving: string | null;
59406
+ updated_at: string;
59407
+ };
59408
+ Insert: {
59409
+ actief?: boolean;
59410
+ created_at?: string;
59411
+ id?: string;
59412
+ naam: string;
59413
+ omschrijving?: string | null;
59414
+ updated_at?: string;
59415
+ };
59416
+ Update: {
59417
+ actief?: boolean;
59418
+ created_at?: string;
59419
+ id?: string;
59420
+ naam?: string;
59421
+ omschrijving?: string | null;
59422
+ updated_at?: string;
59423
+ };
59424
+ Relationships: [];
59425
+ };
58539
59426
  print_queue_runners: {
58540
59427
  Row: {
58541
59428
  actief: boolean;
@@ -60690,6 +61577,45 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
60690
61577
  };
60691
61578
  Relationships: [];
60692
61579
  };
61580
+ stock_consumption_alerts: {
61581
+ Row: {
61582
+ alert_type: string;
61583
+ created_at: string;
61584
+ id: string;
61585
+ mutation_log_id: string | null;
61586
+ order_id: string | null;
61587
+ order_item_id: string | null;
61588
+ qty: number;
61589
+ reason: string | null;
61590
+ resolved_at: string | null;
61591
+ updated_at: string;
61592
+ };
61593
+ Insert: {
61594
+ alert_type: string;
61595
+ created_at?: string;
61596
+ id?: string;
61597
+ mutation_log_id?: string | null;
61598
+ order_id?: string | null;
61599
+ order_item_id?: string | null;
61600
+ qty?: number;
61601
+ reason?: string | null;
61602
+ resolved_at?: string | null;
61603
+ updated_at?: string;
61604
+ };
61605
+ Update: {
61606
+ alert_type?: string;
61607
+ created_at?: string;
61608
+ id?: string;
61609
+ mutation_log_id?: string | null;
61610
+ order_id?: string | null;
61611
+ order_item_id?: string | null;
61612
+ qty?: number;
61613
+ reason?: string | null;
61614
+ resolved_at?: string | null;
61615
+ updated_at?: string;
61616
+ };
61617
+ Relationships: [];
61618
+ };
60693
61619
  stock_import_runs: {
60694
61620
  Row: {
60695
61621
  connection_id: string | null;
@@ -66284,6 +67210,24 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
66284
67210
  };
66285
67211
  Returns: string;
66286
67212
  };
67213
+ logistics_floriday_finish_push_v3: {
67214
+ Args: {
67215
+ _error?: string;
67216
+ _error_code?: string;
67217
+ _fulfillment_order_id?: string;
67218
+ _gateway_status?: number;
67219
+ _id: string;
67220
+ _max_age_hours?: number;
67221
+ _max_attempts?: number;
67222
+ _outcome: string;
67223
+ _permanent?: boolean;
67224
+ _response?: import("../integrations/supabase/types").Json;
67225
+ _revision: number;
67226
+ _sent_hash?: string;
67227
+ _wait_max_age_hours?: number;
67228
+ };
67229
+ Returns: string;
67230
+ };
66287
67231
  logistics_floriday_prune_pushes: {
66288
67232
  Args: {
66289
67233
  _days?: number;
@@ -66712,6 +67656,12 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
66712
67656
  verwijderd: number;
66713
67657
  }[];
66714
67658
  };
67659
+ order_departure_proof: {
67660
+ Args: {
67661
+ p_order_id: string;
67662
+ };
67663
+ Returns: import("../integrations/supabase/types").Json;
67664
+ };
66715
67665
  order_number_prefix: {
66716
67666
  Args: {
66717
67667
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -66919,6 +67869,14 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
66919
67869
  };
66920
67870
  Returns: import("../integrations/supabase/types").Json;
66921
67871
  };
67872
+ pick_print_plekken: {
67873
+ Args: never;
67874
+ Returns: {
67875
+ id: string;
67876
+ naam: string;
67877
+ omschrijving: string;
67878
+ }[];
67879
+ };
66922
67880
  pick_release_expired_locks: {
66923
67881
  Args: never;
66924
67882
  Returns: number;
@@ -66983,6 +67941,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
66983
67941
  isSetofReturn: false;
66984
67942
  };
66985
67943
  };
67944
+ pick_set_station_print_plek: {
67945
+ Args: {
67946
+ _print_plek_id: string;
67947
+ _station_id: string;
67948
+ };
67949
+ Returns: string;
67950
+ };
66986
67951
  pick_station_dashboard: {
66987
67952
  Args: never;
66988
67953
  Returns: {
@@ -66995,6 +67960,25 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
66995
67960
  waiting: number;
66996
67961
  }[];
66997
67962
  };
67963
+ pick_station_print_plek: {
67964
+ Args: {
67965
+ _station_id: string;
67966
+ };
67967
+ Returns: {
67968
+ naam: string;
67969
+ omschrijving: string;
67970
+ print_plek_id: string;
67971
+ }[];
67972
+ };
67973
+ pick_station_print_plekken: {
67974
+ Args: never;
67975
+ Returns: {
67976
+ naam: string;
67977
+ omschrijving: string;
67978
+ print_plek_id: string;
67979
+ station_id: string;
67980
+ }[];
67981
+ };
66998
67982
  pick_station_slugify: {
66999
67983
  Args: {
67000
67984
  _id: string;
@@ -68484,6 +69468,99 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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 getSalesOrderDetail: import("@tanstack/start-client-core").
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;
@@ -91072,6 +92384,99 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
91072
92384
  };
91073
92385
  Relationships: [];
91074
92386
  };
92387
+ artikelen_cache: {
92388
+ Row: {
92389
+ artikelcode: string;
92390
+ bron: string;
92391
+ bruto_prijs_cent: number | null;
92392
+ created_at: string;
92393
+ eenheid: string;
92394
+ fabrikant: string | null;
92395
+ fetched_at: string;
92396
+ gtin: string | null;
92397
+ id: string;
92398
+ naam: string;
92399
+ netto_prijs_cent: number | null;
92400
+ omschrijving: string | null;
92401
+ raw: import("../integrations/supabase/types").Json;
92402
+ updated_at: string;
92403
+ valuta: string;
92404
+ };
92405
+ Insert: {
92406
+ artikelcode: string;
92407
+ bron?: string;
92408
+ bruto_prijs_cent?: number | null;
92409
+ created_at?: string;
92410
+ eenheid?: string;
92411
+ fabrikant?: string | null;
92412
+ fetched_at?: string;
92413
+ gtin?: string | null;
92414
+ id?: string;
92415
+ naam: string;
92416
+ netto_prijs_cent?: number | null;
92417
+ omschrijving?: string | null;
92418
+ raw?: import("../integrations/supabase/types").Json;
92419
+ updated_at?: string;
92420
+ valuta?: string;
92421
+ };
92422
+ Update: {
92423
+ artikelcode?: string;
92424
+ bron?: string;
92425
+ bruto_prijs_cent?: number | null;
92426
+ created_at?: string;
92427
+ eenheid?: string;
92428
+ fabrikant?: string | null;
92429
+ fetched_at?: string;
92430
+ gtin?: string | null;
92431
+ id?: string;
92432
+ naam?: string;
92433
+ netto_prijs_cent?: number | null;
92434
+ omschrijving?: string | null;
92435
+ raw?: import("../integrations/supabase/types").Json;
92436
+ updated_at?: string;
92437
+ valuta?: string;
92438
+ };
92439
+ Relationships: [];
92440
+ };
92441
+ artikelen_veldconfig: {
92442
+ Row: {
92443
+ bron_pad: string;
92444
+ created_at: string;
92445
+ id: string;
92446
+ label: string;
92447
+ sort_order: number;
92448
+ type: string;
92449
+ updated_at: string;
92450
+ veld_key: string;
92451
+ zichtbaar_in_detail: boolean;
92452
+ zichtbaar_in_lijst: boolean;
92453
+ };
92454
+ Insert: {
92455
+ bron_pad: string;
92456
+ created_at?: string;
92457
+ id?: string;
92458
+ label: string;
92459
+ sort_order?: number;
92460
+ type?: string;
92461
+ updated_at?: string;
92462
+ veld_key: string;
92463
+ zichtbaar_in_detail?: boolean;
92464
+ zichtbaar_in_lijst?: boolean;
92465
+ };
92466
+ Update: {
92467
+ bron_pad?: string;
92468
+ created_at?: string;
92469
+ id?: string;
92470
+ label?: string;
92471
+ sort_order?: number;
92472
+ type?: string;
92473
+ updated_at?: string;
92474
+ veld_key?: string;
92475
+ zichtbaar_in_detail?: boolean;
92476
+ zichtbaar_in_lijst?: boolean;
92477
+ };
92478
+ Relationships: [];
92479
+ };
91075
92480
  booking_items: {
91076
92481
  Row: {
91077
92482
  booking_id: string;
@@ -93544,6 +94949,48 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
93544
94949
  };
93545
94950
  Relationships: [];
93546
94951
  };
94952
+ document_printplek_printers: {
94953
+ Row: {
94954
+ created_at: string;
94955
+ documenttype: string;
94956
+ id: string;
94957
+ papierformaat: string | null;
94958
+ print_plek_id: string;
94959
+ printer_id: string | null;
94960
+ updated_at: string;
94961
+ };
94962
+ Insert: {
94963
+ created_at?: string;
94964
+ documenttype: string;
94965
+ id?: string;
94966
+ papierformaat?: string | null;
94967
+ print_plek_id: string;
94968
+ printer_id?: string | null;
94969
+ updated_at?: string;
94970
+ };
94971
+ Update: {
94972
+ created_at?: string;
94973
+ documenttype?: string;
94974
+ id?: string;
94975
+ papierformaat?: string | null;
94976
+ print_plek_id?: string;
94977
+ printer_id?: string | null;
94978
+ updated_at?: string;
94979
+ };
94980
+ Relationships: [{
94981
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
94982
+ columns: ["print_plek_id"];
94983
+ isOneToOne: false;
94984
+ referencedRelation: "print_plekken";
94985
+ referencedColumns: ["id"];
94986
+ }, {
94987
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
94988
+ columns: ["printer_id"];
94989
+ isOneToOne: false;
94990
+ referencedRelation: "printers";
94991
+ referencedColumns: ["id"];
94992
+ }];
94993
+ };
93547
94994
  document_werkplek_printers: {
93548
94995
  Row: {
93549
94996
  created_at: string;
@@ -99525,6 +100972,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
99525
100972
  last_error_at: string | null;
99526
100973
  last_error_code: string | null;
99527
100974
  last_gateway_status: number | null;
100975
+ last_queued_at: string | null;
99528
100976
  last_response: import("../integrations/supabase/types").Json | null;
99529
100977
  last_sent_hash: string | null;
99530
100978
  locked_by: string | null;
@@ -99548,6 +100996,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
99548
100996
  last_error_at?: string | null;
99549
100997
  last_error_code?: string | null;
99550
100998
  last_gateway_status?: number | null;
100999
+ last_queued_at?: string | null;
99551
101000
  last_response?: import("../integrations/supabase/types").Json | null;
99552
101001
  last_sent_hash?: string | null;
99553
101002
  locked_by?: string | null;
@@ -99571,6 +101020,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
99571
101020
  last_error_at?: string | null;
99572
101021
  last_error_code?: string | null;
99573
101022
  last_gateway_status?: number | null;
101023
+ last_queued_at?: string | null;
99574
101024
  last_response?: import("../integrations/supabase/types").Json | null;
99575
101025
  last_sent_hash?: string | null;
99576
101026
  locked_by?: string | null;
@@ -103741,6 +105191,99 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
103741
105191
  referencedColumns: ["id"];
103742
105192
  }];
103743
105193
  };
105194
+ print_plek_computers: {
105195
+ Row: {
105196
+ computer_naam: string;
105197
+ created_at: string;
105198
+ id: string;
105199
+ print_plek_id: string;
105200
+ updated_at: string;
105201
+ };
105202
+ Insert: {
105203
+ computer_naam: string;
105204
+ created_at?: string;
105205
+ id?: string;
105206
+ print_plek_id: string;
105207
+ updated_at?: string;
105208
+ };
105209
+ Update: {
105210
+ computer_naam?: string;
105211
+ created_at?: string;
105212
+ id?: string;
105213
+ print_plek_id?: string;
105214
+ updated_at?: string;
105215
+ };
105216
+ Relationships: [{
105217
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
105218
+ columns: ["print_plek_id"];
105219
+ isOneToOne: false;
105220
+ referencedRelation: "print_plekken";
105221
+ referencedColumns: ["id"];
105222
+ }];
105223
+ };
105224
+ print_plek_koppelingen: {
105225
+ Row: {
105226
+ bron: string;
105227
+ bron_id: string;
105228
+ created_at: string;
105229
+ id: string;
105230
+ label: string | null;
105231
+ print_plek_id: string;
105232
+ updated_at: string;
105233
+ };
105234
+ Insert: {
105235
+ bron: string;
105236
+ bron_id: string;
105237
+ created_at?: string;
105238
+ id?: string;
105239
+ label?: string | null;
105240
+ print_plek_id: string;
105241
+ updated_at?: string;
105242
+ };
105243
+ Update: {
105244
+ bron?: string;
105245
+ bron_id?: string;
105246
+ created_at?: string;
105247
+ id?: string;
105248
+ label?: string | null;
105249
+ print_plek_id?: string;
105250
+ updated_at?: string;
105251
+ };
105252
+ Relationships: [{
105253
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
105254
+ columns: ["print_plek_id"];
105255
+ isOneToOne: false;
105256
+ referencedRelation: "print_plekken";
105257
+ referencedColumns: ["id"];
105258
+ }];
105259
+ };
105260
+ print_plekken: {
105261
+ Row: {
105262
+ actief: boolean;
105263
+ created_at: string;
105264
+ id: string;
105265
+ naam: string;
105266
+ omschrijving: string | null;
105267
+ updated_at: string;
105268
+ };
105269
+ Insert: {
105270
+ actief?: boolean;
105271
+ created_at?: string;
105272
+ id?: string;
105273
+ naam: string;
105274
+ omschrijving?: string | null;
105275
+ updated_at?: string;
105276
+ };
105277
+ Update: {
105278
+ actief?: boolean;
105279
+ created_at?: string;
105280
+ id?: string;
105281
+ naam?: string;
105282
+ omschrijving?: string | null;
105283
+ updated_at?: string;
105284
+ };
105285
+ Relationships: [];
105286
+ };
103744
105287
  print_queue_runners: {
103745
105288
  Row: {
103746
105289
  actief: boolean;
@@ -105895,6 +107438,45 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
105895
107438
  };
105896
107439
  Relationships: [];
105897
107440
  };
107441
+ stock_consumption_alerts: {
107442
+ Row: {
107443
+ alert_type: string;
107444
+ created_at: string;
107445
+ id: string;
107446
+ mutation_log_id: string | null;
107447
+ order_id: string | null;
107448
+ order_item_id: string | null;
107449
+ qty: number;
107450
+ reason: string | null;
107451
+ resolved_at: string | null;
107452
+ updated_at: string;
107453
+ };
107454
+ Insert: {
107455
+ alert_type: string;
107456
+ created_at?: string;
107457
+ id?: string;
107458
+ mutation_log_id?: string | null;
107459
+ order_id?: string | null;
107460
+ order_item_id?: string | null;
107461
+ qty?: number;
107462
+ reason?: string | null;
107463
+ resolved_at?: string | null;
107464
+ updated_at?: string;
107465
+ };
107466
+ Update: {
107467
+ alert_type?: string;
107468
+ created_at?: string;
107469
+ id?: string;
107470
+ mutation_log_id?: string | null;
107471
+ order_id?: string | null;
107472
+ order_item_id?: string | null;
107473
+ qty?: number;
107474
+ reason?: string | null;
107475
+ resolved_at?: string | null;
107476
+ updated_at?: string;
107477
+ };
107478
+ Relationships: [];
107479
+ };
105898
107480
  stock_import_runs: {
105899
107481
  Row: {
105900
107482
  connection_id: string | null;
@@ -111489,6 +113071,24 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
111489
113071
  };
111490
113072
  Returns: string;
111491
113073
  };
113074
+ logistics_floriday_finish_push_v3: {
113075
+ Args: {
113076
+ _error?: string;
113077
+ _error_code?: string;
113078
+ _fulfillment_order_id?: string;
113079
+ _gateway_status?: number;
113080
+ _id: string;
113081
+ _max_age_hours?: number;
113082
+ _max_attempts?: number;
113083
+ _outcome: string;
113084
+ _permanent?: boolean;
113085
+ _response?: import("../integrations/supabase/types").Json;
113086
+ _revision: number;
113087
+ _sent_hash?: string;
113088
+ _wait_max_age_hours?: number;
113089
+ };
113090
+ Returns: string;
113091
+ };
111492
113092
  logistics_floriday_prune_pushes: {
111493
113093
  Args: {
111494
113094
  _days?: number;
@@ -111917,6 +113517,12 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
111917
113517
  verwijderd: number;
111918
113518
  }[];
111919
113519
  };
113520
+ order_departure_proof: {
113521
+ Args: {
113522
+ p_order_id: string;
113523
+ };
113524
+ Returns: import("../integrations/supabase/types").Json;
113525
+ };
111920
113526
  order_number_prefix: {
111921
113527
  Args: {
111922
113528
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -112124,6 +113730,14 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
112124
113730
  };
112125
113731
  Returns: import("../integrations/supabase/types").Json;
112126
113732
  };
113733
+ pick_print_plekken: {
113734
+ Args: never;
113735
+ Returns: {
113736
+ id: string;
113737
+ naam: string;
113738
+ omschrijving: string;
113739
+ }[];
113740
+ };
112127
113741
  pick_release_expired_locks: {
112128
113742
  Args: never;
112129
113743
  Returns: number;
@@ -112188,6 +113802,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
112188
113802
  isSetofReturn: false;
112189
113803
  };
112190
113804
  };
113805
+ pick_set_station_print_plek: {
113806
+ Args: {
113807
+ _print_plek_id: string;
113808
+ _station_id: string;
113809
+ };
113810
+ Returns: string;
113811
+ };
112191
113812
  pick_station_dashboard: {
112192
113813
  Args: never;
112193
113814
  Returns: {
@@ -112200,6 +113821,25 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
112200
113821
  waiting: number;
112201
113822
  }[];
112202
113823
  };
113824
+ pick_station_print_plek: {
113825
+ Args: {
113826
+ _station_id: string;
113827
+ };
113828
+ Returns: {
113829
+ naam: string;
113830
+ omschrijving: string;
113831
+ print_plek_id: string;
113832
+ }[];
113833
+ };
113834
+ pick_station_print_plekken: {
113835
+ Args: never;
113836
+ Returns: {
113837
+ naam: string;
113838
+ omschrijving: string;
113839
+ print_plek_id: string;
113840
+ station_id: string;
113841
+ }[];
113842
+ };
112203
113843
  pick_station_slugify: {
112204
113844
  Args: {
112205
113845
  _id: string;