@flowselections/floriday-verkoop-module 1.0.46 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +3 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  3. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +90 -19
  4. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/SalesOrderDetailView.js +1 -1
  6. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +6 -0
  7. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -0
  8. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.js +26 -0
  9. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  10. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +2 -1
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +328 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.d.ts +328 -0
  14. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.js +2 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +328 -0
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  19. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  20. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  21. package/dist-lib/integrations/supabase/types.d.ts +335 -0
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/cart-lock.functions.d.ts +328 -0
  24. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/cart-planning-settings.functions.d.ts +4307 -699
  26. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/cart-replan.functions.d.ts +984 -0
  28. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/create-order.functions.d.ts +7175 -1599
  30. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +984 -0
  32. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +328 -0
  34. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-mirror.functions.d.ts +328 -0
  36. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-mirror.functions.js +39 -10
  38. package/dist-lib/lib/floriday-public.functions.d.ts +2395 -99
  39. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-writes.functions.d.ts +1640 -0
  41. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/invoice-timing.functions.d.ts +1312 -0
  43. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/load-carriers.functions.d.ts +328 -0
  45. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/logistics-engine.functions.d.ts +1640 -0
  47. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/logistics-stock.functions.d.ts +656 -0
  49. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-addresses.functions.d.ts +328 -0
  51. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-buffers.functions.d.ts +984 -0
  53. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/order-carrier.functions.d.ts +656 -0
  55. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/order-pickup.functions.d.ts +656 -0
  57. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/order-shipments.functions.d.ts +1312 -0
  59. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders-list.functions.d.ts +328 -0
  61. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/salesorders.functions.d.ts +1640 -0
  63. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +45850 -0
  65. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -0
  66. package/dist-lib/lib/stock-consumption-alerts.functions.js +50 -0
  67. package/dist-lib/lib/tradeitems.functions.d.ts +328 -0
  68. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  69. package/package.json +2 -1
@@ -674,6 +674,99 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
674
674
  };
675
675
  Relationships: [];
676
676
  };
677
+ artikelen_cache: {
678
+ Row: {
679
+ artikelcode: string;
680
+ bron: string;
681
+ bruto_prijs_cent: number | null;
682
+ created_at: string;
683
+ eenheid: string;
684
+ fabrikant: string | null;
685
+ fetched_at: string;
686
+ gtin: string | null;
687
+ id: string;
688
+ naam: string;
689
+ netto_prijs_cent: number | null;
690
+ omschrijving: string | null;
691
+ raw: import("../integrations/supabase/types").Json;
692
+ updated_at: string;
693
+ valuta: string;
694
+ };
695
+ Insert: {
696
+ artikelcode: string;
697
+ bron?: string;
698
+ bruto_prijs_cent?: number | null;
699
+ created_at?: string;
700
+ eenheid?: string;
701
+ fabrikant?: string | null;
702
+ fetched_at?: string;
703
+ gtin?: string | null;
704
+ id?: string;
705
+ naam: string;
706
+ netto_prijs_cent?: number | null;
707
+ omschrijving?: string | null;
708
+ raw?: import("../integrations/supabase/types").Json;
709
+ updated_at?: string;
710
+ valuta?: string;
711
+ };
712
+ Update: {
713
+ artikelcode?: string;
714
+ bron?: string;
715
+ bruto_prijs_cent?: number | null;
716
+ created_at?: string;
717
+ eenheid?: string;
718
+ fabrikant?: string | null;
719
+ fetched_at?: string;
720
+ gtin?: string | null;
721
+ id?: string;
722
+ naam?: string;
723
+ netto_prijs_cent?: number | null;
724
+ omschrijving?: string | null;
725
+ raw?: import("../integrations/supabase/types").Json;
726
+ updated_at?: string;
727
+ valuta?: string;
728
+ };
729
+ Relationships: [];
730
+ };
731
+ artikelen_veldconfig: {
732
+ Row: {
733
+ bron_pad: string;
734
+ created_at: string;
735
+ id: string;
736
+ label: string;
737
+ sort_order: number;
738
+ type: string;
739
+ updated_at: string;
740
+ veld_key: string;
741
+ zichtbaar_in_detail: boolean;
742
+ zichtbaar_in_lijst: boolean;
743
+ };
744
+ Insert: {
745
+ bron_pad: string;
746
+ created_at?: string;
747
+ id?: string;
748
+ label: string;
749
+ sort_order?: number;
750
+ type?: string;
751
+ updated_at?: string;
752
+ veld_key: string;
753
+ zichtbaar_in_detail?: boolean;
754
+ zichtbaar_in_lijst?: boolean;
755
+ };
756
+ Update: {
757
+ bron_pad?: string;
758
+ created_at?: string;
759
+ id?: string;
760
+ label?: string;
761
+ sort_order?: number;
762
+ type?: string;
763
+ updated_at?: string;
764
+ veld_key?: string;
765
+ zichtbaar_in_detail?: boolean;
766
+ zichtbaar_in_lijst?: boolean;
767
+ };
768
+ Relationships: [];
769
+ };
677
770
  booking_items: {
678
771
  Row: {
679
772
  booking_id: string;
@@ -3146,6 +3239,48 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
3146
3239
  };
3147
3240
  Relationships: [];
3148
3241
  };
3242
+ document_printplek_printers: {
3243
+ Row: {
3244
+ created_at: string;
3245
+ documenttype: string;
3246
+ id: string;
3247
+ papierformaat: string | null;
3248
+ print_plek_id: string;
3249
+ printer_id: string | null;
3250
+ updated_at: string;
3251
+ };
3252
+ Insert: {
3253
+ created_at?: string;
3254
+ documenttype: string;
3255
+ id?: string;
3256
+ papierformaat?: string | null;
3257
+ print_plek_id: string;
3258
+ printer_id?: string | null;
3259
+ updated_at?: string;
3260
+ };
3261
+ Update: {
3262
+ created_at?: string;
3263
+ documenttype?: string;
3264
+ id?: string;
3265
+ papierformaat?: string | null;
3266
+ print_plek_id?: string;
3267
+ printer_id?: string | null;
3268
+ updated_at?: string;
3269
+ };
3270
+ Relationships: [{
3271
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3272
+ columns: ["print_plek_id"];
3273
+ isOneToOne: false;
3274
+ referencedRelation: "print_plekken";
3275
+ referencedColumns: ["id"];
3276
+ }, {
3277
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3278
+ columns: ["printer_id"];
3279
+ isOneToOne: false;
3280
+ referencedRelation: "printers";
3281
+ referencedColumns: ["id"];
3282
+ }];
3283
+ };
3149
3284
  document_werkplek_printers: {
3150
3285
  Row: {
3151
3286
  created_at: string;
@@ -9127,6 +9262,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
9127
9262
  last_error_at: string | null;
9128
9263
  last_error_code: string | null;
9129
9264
  last_gateway_status: number | null;
9265
+ last_queued_at: string | null;
9130
9266
  last_response: import("../integrations/supabase/types").Json | null;
9131
9267
  last_sent_hash: string | null;
9132
9268
  locked_by: string | null;
@@ -9150,6 +9286,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
9150
9286
  last_error_at?: string | null;
9151
9287
  last_error_code?: string | null;
9152
9288
  last_gateway_status?: number | null;
9289
+ last_queued_at?: string | null;
9153
9290
  last_response?: import("../integrations/supabase/types").Json | null;
9154
9291
  last_sent_hash?: string | null;
9155
9292
  locked_by?: string | null;
@@ -9173,6 +9310,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
9173
9310
  last_error_at?: string | null;
9174
9311
  last_error_code?: string | null;
9175
9312
  last_gateway_status?: number | null;
9313
+ last_queued_at?: string | null;
9176
9314
  last_response?: import("../integrations/supabase/types").Json | null;
9177
9315
  last_sent_hash?: string | null;
9178
9316
  locked_by?: string | null;
@@ -13343,6 +13481,99 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
13343
13481
  referencedColumns: ["id"];
13344
13482
  }];
13345
13483
  };
13484
+ print_plek_computers: {
13485
+ Row: {
13486
+ computer_naam: string;
13487
+ created_at: string;
13488
+ id: string;
13489
+ print_plek_id: string;
13490
+ updated_at: string;
13491
+ };
13492
+ Insert: {
13493
+ computer_naam: string;
13494
+ created_at?: string;
13495
+ id?: string;
13496
+ print_plek_id: string;
13497
+ updated_at?: string;
13498
+ };
13499
+ Update: {
13500
+ computer_naam?: string;
13501
+ created_at?: string;
13502
+ id?: string;
13503
+ print_plek_id?: string;
13504
+ updated_at?: string;
13505
+ };
13506
+ Relationships: [{
13507
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13508
+ columns: ["print_plek_id"];
13509
+ isOneToOne: false;
13510
+ referencedRelation: "print_plekken";
13511
+ referencedColumns: ["id"];
13512
+ }];
13513
+ };
13514
+ print_plek_koppelingen: {
13515
+ Row: {
13516
+ bron: string;
13517
+ bron_id: string;
13518
+ created_at: string;
13519
+ id: string;
13520
+ label: string | null;
13521
+ print_plek_id: string;
13522
+ updated_at: string;
13523
+ };
13524
+ Insert: {
13525
+ bron: string;
13526
+ bron_id: string;
13527
+ created_at?: string;
13528
+ id?: string;
13529
+ label?: string | null;
13530
+ print_plek_id: string;
13531
+ updated_at?: string;
13532
+ };
13533
+ Update: {
13534
+ bron?: string;
13535
+ bron_id?: string;
13536
+ created_at?: string;
13537
+ id?: string;
13538
+ label?: string | null;
13539
+ print_plek_id?: string;
13540
+ updated_at?: string;
13541
+ };
13542
+ Relationships: [{
13543
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13544
+ columns: ["print_plek_id"];
13545
+ isOneToOne: false;
13546
+ referencedRelation: "print_plekken";
13547
+ referencedColumns: ["id"];
13548
+ }];
13549
+ };
13550
+ print_plekken: {
13551
+ Row: {
13552
+ actief: boolean;
13553
+ created_at: string;
13554
+ id: string;
13555
+ naam: string;
13556
+ omschrijving: string | null;
13557
+ updated_at: string;
13558
+ };
13559
+ Insert: {
13560
+ actief?: boolean;
13561
+ created_at?: string;
13562
+ id?: string;
13563
+ naam: string;
13564
+ omschrijving?: string | null;
13565
+ updated_at?: string;
13566
+ };
13567
+ Update: {
13568
+ actief?: boolean;
13569
+ created_at?: string;
13570
+ id?: string;
13571
+ naam?: string;
13572
+ omschrijving?: string | null;
13573
+ updated_at?: string;
13574
+ };
13575
+ Relationships: [];
13576
+ };
13346
13577
  print_queue_runners: {
13347
13578
  Row: {
13348
13579
  actief: boolean;
@@ -15497,6 +15728,45 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
15497
15728
  };
15498
15729
  Relationships: [];
15499
15730
  };
15731
+ stock_consumption_alerts: {
15732
+ Row: {
15733
+ alert_type: string;
15734
+ created_at: string;
15735
+ id: string;
15736
+ mutation_log_id: string | null;
15737
+ order_id: string | null;
15738
+ order_item_id: string | null;
15739
+ qty: number;
15740
+ reason: string | null;
15741
+ resolved_at: string | null;
15742
+ updated_at: string;
15743
+ };
15744
+ Insert: {
15745
+ alert_type: string;
15746
+ created_at?: string;
15747
+ id?: string;
15748
+ mutation_log_id?: string | null;
15749
+ order_id?: string | null;
15750
+ order_item_id?: string | null;
15751
+ qty?: number;
15752
+ reason?: string | null;
15753
+ resolved_at?: string | null;
15754
+ updated_at?: string;
15755
+ };
15756
+ Update: {
15757
+ alert_type?: string;
15758
+ created_at?: string;
15759
+ id?: string;
15760
+ mutation_log_id?: string | null;
15761
+ order_id?: string | null;
15762
+ order_item_id?: string | null;
15763
+ qty?: number;
15764
+ reason?: string | null;
15765
+ resolved_at?: string | null;
15766
+ updated_at?: string;
15767
+ };
15768
+ Relationships: [];
15769
+ };
15500
15770
  stock_import_runs: {
15501
15771
  Row: {
15502
15772
  connection_id: string | null;
@@ -21091,6 +21361,24 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
21091
21361
  };
21092
21362
  Returns: string;
21093
21363
  };
21364
+ logistics_floriday_finish_push_v3: {
21365
+ Args: {
21366
+ _error?: string;
21367
+ _error_code?: string;
21368
+ _fulfillment_order_id?: string;
21369
+ _gateway_status?: number;
21370
+ _id: string;
21371
+ _max_age_hours?: number;
21372
+ _max_attempts?: number;
21373
+ _outcome: string;
21374
+ _permanent?: boolean;
21375
+ _response?: import("../integrations/supabase/types").Json;
21376
+ _revision: number;
21377
+ _sent_hash?: string;
21378
+ _wait_max_age_hours?: number;
21379
+ };
21380
+ Returns: string;
21381
+ };
21094
21382
  logistics_floriday_prune_pushes: {
21095
21383
  Args: {
21096
21384
  _days?: number;
@@ -21519,6 +21807,12 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
21519
21807
  verwijderd: number;
21520
21808
  }[];
21521
21809
  };
21810
+ order_departure_proof: {
21811
+ Args: {
21812
+ p_order_id: string;
21813
+ };
21814
+ Returns: import("../integrations/supabase/types").Json;
21815
+ };
21522
21816
  order_number_prefix: {
21523
21817
  Args: {
21524
21818
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21726,6 +22020,14 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
21726
22020
  };
21727
22021
  Returns: import("../integrations/supabase/types").Json;
21728
22022
  };
22023
+ pick_print_plekken: {
22024
+ Args: never;
22025
+ Returns: {
22026
+ id: string;
22027
+ naam: string;
22028
+ omschrijving: string;
22029
+ }[];
22030
+ };
21729
22031
  pick_release_expired_locks: {
21730
22032
  Args: never;
21731
22033
  Returns: number;
@@ -21790,6 +22092,13 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
21790
22092
  isSetofReturn: false;
21791
22093
  };
21792
22094
  };
22095
+ pick_set_station_print_plek: {
22096
+ Args: {
22097
+ _print_plek_id: string;
22098
+ _station_id: string;
22099
+ };
22100
+ Returns: string;
22101
+ };
21793
22102
  pick_station_dashboard: {
21794
22103
  Args: never;
21795
22104
  Returns: {
@@ -21802,6 +22111,25 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
21802
22111
  waiting: number;
21803
22112
  }[];
21804
22113
  };
22114
+ pick_station_print_plek: {
22115
+ Args: {
22116
+ _station_id: string;
22117
+ };
22118
+ Returns: {
22119
+ naam: string;
22120
+ omschrijving: string;
22121
+ print_plek_id: string;
22122
+ }[];
22123
+ };
22124
+ pick_station_print_plekken: {
22125
+ Args: never;
22126
+ Returns: {
22127
+ naam: string;
22128
+ omschrijving: string;
22129
+ print_plek_id: string;
22130
+ station_id: string;
22131
+ }[];
22132
+ };
21805
22133
  pick_station_slugify: {
21806
22134
  Args: {
21807
22135
  _id: string;
@@ -23260,6 +23588,99 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
23260
23588
  };
23261
23589
  Relationships: [];
23262
23590
  };
23591
+ artikelen_cache: {
23592
+ Row: {
23593
+ artikelcode: string;
23594
+ bron: string;
23595
+ bruto_prijs_cent: number | null;
23596
+ created_at: string;
23597
+ eenheid: string;
23598
+ fabrikant: string | null;
23599
+ fetched_at: string;
23600
+ gtin: string | null;
23601
+ id: string;
23602
+ naam: string;
23603
+ netto_prijs_cent: number | null;
23604
+ omschrijving: string | null;
23605
+ raw: import("../integrations/supabase/types").Json;
23606
+ updated_at: string;
23607
+ valuta: string;
23608
+ };
23609
+ Insert: {
23610
+ artikelcode: string;
23611
+ bron?: string;
23612
+ bruto_prijs_cent?: number | null;
23613
+ created_at?: string;
23614
+ eenheid?: string;
23615
+ fabrikant?: string | null;
23616
+ fetched_at?: string;
23617
+ gtin?: string | null;
23618
+ id?: string;
23619
+ naam: string;
23620
+ netto_prijs_cent?: number | null;
23621
+ omschrijving?: string | null;
23622
+ raw?: import("../integrations/supabase/types").Json;
23623
+ updated_at?: string;
23624
+ valuta?: string;
23625
+ };
23626
+ Update: {
23627
+ artikelcode?: string;
23628
+ bron?: string;
23629
+ bruto_prijs_cent?: number | null;
23630
+ created_at?: string;
23631
+ eenheid?: string;
23632
+ fabrikant?: string | null;
23633
+ fetched_at?: string;
23634
+ gtin?: string | null;
23635
+ id?: string;
23636
+ naam?: string;
23637
+ netto_prijs_cent?: number | null;
23638
+ omschrijving?: string | null;
23639
+ raw?: import("../integrations/supabase/types").Json;
23640
+ updated_at?: string;
23641
+ valuta?: string;
23642
+ };
23643
+ Relationships: [];
23644
+ };
23645
+ artikelen_veldconfig: {
23646
+ Row: {
23647
+ bron_pad: string;
23648
+ created_at: string;
23649
+ id: string;
23650
+ label: string;
23651
+ sort_order: number;
23652
+ type: string;
23653
+ updated_at: string;
23654
+ veld_key: string;
23655
+ zichtbaar_in_detail: boolean;
23656
+ zichtbaar_in_lijst: boolean;
23657
+ };
23658
+ Insert: {
23659
+ bron_pad: string;
23660
+ created_at?: string;
23661
+ id?: string;
23662
+ label: string;
23663
+ sort_order?: number;
23664
+ type?: string;
23665
+ updated_at?: string;
23666
+ veld_key: string;
23667
+ zichtbaar_in_detail?: boolean;
23668
+ zichtbaar_in_lijst?: boolean;
23669
+ };
23670
+ Update: {
23671
+ bron_pad?: string;
23672
+ created_at?: string;
23673
+ id?: string;
23674
+ label?: string;
23675
+ sort_order?: number;
23676
+ type?: string;
23677
+ updated_at?: string;
23678
+ veld_key?: string;
23679
+ zichtbaar_in_detail?: boolean;
23680
+ zichtbaar_in_lijst?: boolean;
23681
+ };
23682
+ Relationships: [];
23683
+ };
23263
23684
  booking_items: {
23264
23685
  Row: {
23265
23686
  booking_id: string;
@@ -25732,6 +26153,48 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
25732
26153
  };
25733
26154
  Relationships: [];
25734
26155
  };
26156
+ document_printplek_printers: {
26157
+ Row: {
26158
+ created_at: string;
26159
+ documenttype: string;
26160
+ id: string;
26161
+ papierformaat: string | null;
26162
+ print_plek_id: string;
26163
+ printer_id: string | null;
26164
+ updated_at: string;
26165
+ };
26166
+ Insert: {
26167
+ created_at?: string;
26168
+ documenttype: string;
26169
+ id?: string;
26170
+ papierformaat?: string | null;
26171
+ print_plek_id: string;
26172
+ printer_id?: string | null;
26173
+ updated_at?: string;
26174
+ };
26175
+ Update: {
26176
+ created_at?: string;
26177
+ documenttype?: string;
26178
+ id?: string;
26179
+ papierformaat?: string | null;
26180
+ print_plek_id?: string;
26181
+ printer_id?: string | null;
26182
+ updated_at?: string;
26183
+ };
26184
+ Relationships: [{
26185
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
26186
+ columns: ["print_plek_id"];
26187
+ isOneToOne: false;
26188
+ referencedRelation: "print_plekken";
26189
+ referencedColumns: ["id"];
26190
+ }, {
26191
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
26192
+ columns: ["printer_id"];
26193
+ isOneToOne: false;
26194
+ referencedRelation: "printers";
26195
+ referencedColumns: ["id"];
26196
+ }];
26197
+ };
25735
26198
  document_werkplek_printers: {
25736
26199
  Row: {
25737
26200
  created_at: string;
@@ -31713,6 +32176,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
31713
32176
  last_error_at: string | null;
31714
32177
  last_error_code: string | null;
31715
32178
  last_gateway_status: number | null;
32179
+ last_queued_at: string | null;
31716
32180
  last_response: import("../integrations/supabase/types").Json | null;
31717
32181
  last_sent_hash: string | null;
31718
32182
  locked_by: string | null;
@@ -31736,6 +32200,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
31736
32200
  last_error_at?: string | null;
31737
32201
  last_error_code?: string | null;
31738
32202
  last_gateway_status?: number | null;
32203
+ last_queued_at?: string | null;
31739
32204
  last_response?: import("../integrations/supabase/types").Json | null;
31740
32205
  last_sent_hash?: string | null;
31741
32206
  locked_by?: string | null;
@@ -31759,6 +32224,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
31759
32224
  last_error_at?: string | null;
31760
32225
  last_error_code?: string | null;
31761
32226
  last_gateway_status?: number | null;
32227
+ last_queued_at?: string | null;
31762
32228
  last_response?: import("../integrations/supabase/types").Json | null;
31763
32229
  last_sent_hash?: string | null;
31764
32230
  locked_by?: string | null;
@@ -35929,6 +36395,99 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
35929
36395
  referencedColumns: ["id"];
35930
36396
  }];
35931
36397
  };
36398
+ print_plek_computers: {
36399
+ Row: {
36400
+ computer_naam: string;
36401
+ created_at: string;
36402
+ id: string;
36403
+ print_plek_id: string;
36404
+ updated_at: string;
36405
+ };
36406
+ Insert: {
36407
+ computer_naam: string;
36408
+ created_at?: string;
36409
+ id?: string;
36410
+ print_plek_id: string;
36411
+ updated_at?: string;
36412
+ };
36413
+ Update: {
36414
+ computer_naam?: string;
36415
+ created_at?: string;
36416
+ id?: string;
36417
+ print_plek_id?: string;
36418
+ updated_at?: string;
36419
+ };
36420
+ Relationships: [{
36421
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
36422
+ columns: ["print_plek_id"];
36423
+ isOneToOne: false;
36424
+ referencedRelation: "print_plekken";
36425
+ referencedColumns: ["id"];
36426
+ }];
36427
+ };
36428
+ print_plek_koppelingen: {
36429
+ Row: {
36430
+ bron: string;
36431
+ bron_id: string;
36432
+ created_at: string;
36433
+ id: string;
36434
+ label: string | null;
36435
+ print_plek_id: string;
36436
+ updated_at: string;
36437
+ };
36438
+ Insert: {
36439
+ bron: string;
36440
+ bron_id: string;
36441
+ created_at?: string;
36442
+ id?: string;
36443
+ label?: string | null;
36444
+ print_plek_id: string;
36445
+ updated_at?: string;
36446
+ };
36447
+ Update: {
36448
+ bron?: string;
36449
+ bron_id?: string;
36450
+ created_at?: string;
36451
+ id?: string;
36452
+ label?: string | null;
36453
+ print_plek_id?: string;
36454
+ updated_at?: string;
36455
+ };
36456
+ Relationships: [{
36457
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
36458
+ columns: ["print_plek_id"];
36459
+ isOneToOne: false;
36460
+ referencedRelation: "print_plekken";
36461
+ referencedColumns: ["id"];
36462
+ }];
36463
+ };
36464
+ print_plekken: {
36465
+ Row: {
36466
+ actief: boolean;
36467
+ created_at: string;
36468
+ id: string;
36469
+ naam: string;
36470
+ omschrijving: string | null;
36471
+ updated_at: string;
36472
+ };
36473
+ Insert: {
36474
+ actief?: boolean;
36475
+ created_at?: string;
36476
+ id?: string;
36477
+ naam: string;
36478
+ omschrijving?: string | null;
36479
+ updated_at?: string;
36480
+ };
36481
+ Update: {
36482
+ actief?: boolean;
36483
+ created_at?: string;
36484
+ id?: string;
36485
+ naam?: string;
36486
+ omschrijving?: string | null;
36487
+ updated_at?: string;
36488
+ };
36489
+ Relationships: [];
36490
+ };
35932
36491
  print_queue_runners: {
35933
36492
  Row: {
35934
36493
  actief: boolean;
@@ -38083,6 +38642,45 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
38083
38642
  };
38084
38643
  Relationships: [];
38085
38644
  };
38645
+ stock_consumption_alerts: {
38646
+ Row: {
38647
+ alert_type: string;
38648
+ created_at: string;
38649
+ id: string;
38650
+ mutation_log_id: string | null;
38651
+ order_id: string | null;
38652
+ order_item_id: string | null;
38653
+ qty: number;
38654
+ reason: string | null;
38655
+ resolved_at: string | null;
38656
+ updated_at: string;
38657
+ };
38658
+ Insert: {
38659
+ alert_type: string;
38660
+ created_at?: string;
38661
+ id?: string;
38662
+ mutation_log_id?: string | null;
38663
+ order_id?: string | null;
38664
+ order_item_id?: string | null;
38665
+ qty?: number;
38666
+ reason?: string | null;
38667
+ resolved_at?: string | null;
38668
+ updated_at?: string;
38669
+ };
38670
+ Update: {
38671
+ alert_type?: string;
38672
+ created_at?: string;
38673
+ id?: string;
38674
+ mutation_log_id?: string | null;
38675
+ order_id?: string | null;
38676
+ order_item_id?: string | null;
38677
+ qty?: number;
38678
+ reason?: string | null;
38679
+ resolved_at?: string | null;
38680
+ updated_at?: string;
38681
+ };
38682
+ Relationships: [];
38683
+ };
38086
38684
  stock_import_runs: {
38087
38685
  Row: {
38088
38686
  connection_id: string | null;
@@ -43677,6 +44275,24 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
43677
44275
  };
43678
44276
  Returns: string;
43679
44277
  };
44278
+ logistics_floriday_finish_push_v3: {
44279
+ Args: {
44280
+ _error?: string;
44281
+ _error_code?: string;
44282
+ _fulfillment_order_id?: string;
44283
+ _gateway_status?: number;
44284
+ _id: string;
44285
+ _max_age_hours?: number;
44286
+ _max_attempts?: number;
44287
+ _outcome: string;
44288
+ _permanent?: boolean;
44289
+ _response?: import("../integrations/supabase/types").Json;
44290
+ _revision: number;
44291
+ _sent_hash?: string;
44292
+ _wait_max_age_hours?: number;
44293
+ };
44294
+ Returns: string;
44295
+ };
43680
44296
  logistics_floriday_prune_pushes: {
43681
44297
  Args: {
43682
44298
  _days?: number;
@@ -44105,6 +44721,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
44105
44721
  verwijderd: number;
44106
44722
  }[];
44107
44723
  };
44724
+ order_departure_proof: {
44725
+ Args: {
44726
+ p_order_id: string;
44727
+ };
44728
+ Returns: import("../integrations/supabase/types").Json;
44729
+ };
44108
44730
  order_number_prefix: {
44109
44731
  Args: {
44110
44732
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -44312,6 +44934,14 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
44312
44934
  };
44313
44935
  Returns: import("../integrations/supabase/types").Json;
44314
44936
  };
44937
+ pick_print_plekken: {
44938
+ Args: never;
44939
+ Returns: {
44940
+ id: string;
44941
+ naam: string;
44942
+ omschrijving: string;
44943
+ }[];
44944
+ };
44315
44945
  pick_release_expired_locks: {
44316
44946
  Args: never;
44317
44947
  Returns: number;
@@ -44376,6 +45006,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
44376
45006
  isSetofReturn: false;
44377
45007
  };
44378
45008
  };
45009
+ pick_set_station_print_plek: {
45010
+ Args: {
45011
+ _print_plek_id: string;
45012
+ _station_id: string;
45013
+ };
45014
+ Returns: string;
45015
+ };
44379
45016
  pick_station_dashboard: {
44380
45017
  Args: never;
44381
45018
  Returns: {
@@ -44388,6 +45025,25 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
44388
45025
  waiting: number;
44389
45026
  }[];
44390
45027
  };
45028
+ pick_station_print_plek: {
45029
+ Args: {
45030
+ _station_id: string;
45031
+ };
45032
+ Returns: {
45033
+ naam: string;
45034
+ omschrijving: string;
45035
+ print_plek_id: string;
45036
+ }[];
45037
+ };
45038
+ pick_station_print_plekken: {
45039
+ Args: never;
45040
+ Returns: {
45041
+ naam: string;
45042
+ omschrijving: string;
45043
+ print_plek_id: string;
45044
+ station_id: string;
45045
+ }[];
45046
+ };
44391
45047
  pick_station_slugify: {
44392
45048
  Args: {
44393
45049
  _id: string;
@@ -45859,6 +46515,99 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
45859
46515
  };
45860
46516
  Relationships: [];
45861
46517
  };
46518
+ artikelen_cache: {
46519
+ Row: {
46520
+ artikelcode: string;
46521
+ bron: string;
46522
+ bruto_prijs_cent: number | null;
46523
+ created_at: string;
46524
+ eenheid: string;
46525
+ fabrikant: string | null;
46526
+ fetched_at: string;
46527
+ gtin: string | null;
46528
+ id: string;
46529
+ naam: string;
46530
+ netto_prijs_cent: number | null;
46531
+ omschrijving: string | null;
46532
+ raw: import("../integrations/supabase/types").Json;
46533
+ updated_at: string;
46534
+ valuta: string;
46535
+ };
46536
+ Insert: {
46537
+ artikelcode: string;
46538
+ bron?: string;
46539
+ bruto_prijs_cent?: number | null;
46540
+ created_at?: string;
46541
+ eenheid?: string;
46542
+ fabrikant?: string | null;
46543
+ fetched_at?: string;
46544
+ gtin?: string | null;
46545
+ id?: string;
46546
+ naam: string;
46547
+ netto_prijs_cent?: number | null;
46548
+ omschrijving?: string | null;
46549
+ raw?: import("../integrations/supabase/types").Json;
46550
+ updated_at?: string;
46551
+ valuta?: string;
46552
+ };
46553
+ Update: {
46554
+ artikelcode?: string;
46555
+ bron?: string;
46556
+ bruto_prijs_cent?: number | null;
46557
+ created_at?: string;
46558
+ eenheid?: string;
46559
+ fabrikant?: string | null;
46560
+ fetched_at?: string;
46561
+ gtin?: string | null;
46562
+ id?: string;
46563
+ naam?: string;
46564
+ netto_prijs_cent?: number | null;
46565
+ omschrijving?: string | null;
46566
+ raw?: import("../integrations/supabase/types").Json;
46567
+ updated_at?: string;
46568
+ valuta?: string;
46569
+ };
46570
+ Relationships: [];
46571
+ };
46572
+ artikelen_veldconfig: {
46573
+ Row: {
46574
+ bron_pad: string;
46575
+ created_at: string;
46576
+ id: string;
46577
+ label: string;
46578
+ sort_order: number;
46579
+ type: string;
46580
+ updated_at: string;
46581
+ veld_key: string;
46582
+ zichtbaar_in_detail: boolean;
46583
+ zichtbaar_in_lijst: boolean;
46584
+ };
46585
+ Insert: {
46586
+ bron_pad: string;
46587
+ created_at?: string;
46588
+ id?: string;
46589
+ label: string;
46590
+ sort_order?: number;
46591
+ type?: string;
46592
+ updated_at?: string;
46593
+ veld_key: string;
46594
+ zichtbaar_in_detail?: boolean;
46595
+ zichtbaar_in_lijst?: boolean;
46596
+ };
46597
+ Update: {
46598
+ bron_pad?: string;
46599
+ created_at?: string;
46600
+ id?: string;
46601
+ label?: string;
46602
+ sort_order?: number;
46603
+ type?: string;
46604
+ updated_at?: string;
46605
+ veld_key?: string;
46606
+ zichtbaar_in_detail?: boolean;
46607
+ zichtbaar_in_lijst?: boolean;
46608
+ };
46609
+ Relationships: [];
46610
+ };
45862
46611
  booking_items: {
45863
46612
  Row: {
45864
46613
  booking_id: string;
@@ -48331,6 +49080,48 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
48331
49080
  };
48332
49081
  Relationships: [];
48333
49082
  };
49083
+ document_printplek_printers: {
49084
+ Row: {
49085
+ created_at: string;
49086
+ documenttype: string;
49087
+ id: string;
49088
+ papierformaat: string | null;
49089
+ print_plek_id: string;
49090
+ printer_id: string | null;
49091
+ updated_at: string;
49092
+ };
49093
+ Insert: {
49094
+ created_at?: string;
49095
+ documenttype: string;
49096
+ id?: string;
49097
+ papierformaat?: string | null;
49098
+ print_plek_id: string;
49099
+ printer_id?: string | null;
49100
+ updated_at?: string;
49101
+ };
49102
+ Update: {
49103
+ created_at?: string;
49104
+ documenttype?: string;
49105
+ id?: string;
49106
+ papierformaat?: string | null;
49107
+ print_plek_id?: string;
49108
+ printer_id?: string | null;
49109
+ updated_at?: string;
49110
+ };
49111
+ Relationships: [{
49112
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
49113
+ columns: ["print_plek_id"];
49114
+ isOneToOne: false;
49115
+ referencedRelation: "print_plekken";
49116
+ referencedColumns: ["id"];
49117
+ }, {
49118
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
49119
+ columns: ["printer_id"];
49120
+ isOneToOne: false;
49121
+ referencedRelation: "printers";
49122
+ referencedColumns: ["id"];
49123
+ }];
49124
+ };
48334
49125
  document_werkplek_printers: {
48335
49126
  Row: {
48336
49127
  created_at: string;
@@ -54312,6 +55103,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
54312
55103
  last_error_at: string | null;
54313
55104
  last_error_code: string | null;
54314
55105
  last_gateway_status: number | null;
55106
+ last_queued_at: string | null;
54315
55107
  last_response: import("../integrations/supabase/types").Json | null;
54316
55108
  last_sent_hash: string | null;
54317
55109
  locked_by: string | null;
@@ -54335,6 +55127,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
54335
55127
  last_error_at?: string | null;
54336
55128
  last_error_code?: string | null;
54337
55129
  last_gateway_status?: number | null;
55130
+ last_queued_at?: string | null;
54338
55131
  last_response?: import("../integrations/supabase/types").Json | null;
54339
55132
  last_sent_hash?: string | null;
54340
55133
  locked_by?: string | null;
@@ -54358,6 +55151,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
54358
55151
  last_error_at?: string | null;
54359
55152
  last_error_code?: string | null;
54360
55153
  last_gateway_status?: number | null;
55154
+ last_queued_at?: string | null;
54361
55155
  last_response?: import("../integrations/supabase/types").Json | null;
54362
55156
  last_sent_hash?: string | null;
54363
55157
  locked_by?: string | null;
@@ -58528,6 +59322,99 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
58528
59322
  referencedColumns: ["id"];
58529
59323
  }];
58530
59324
  };
59325
+ print_plek_computers: {
59326
+ Row: {
59327
+ computer_naam: string;
59328
+ created_at: string;
59329
+ id: string;
59330
+ print_plek_id: string;
59331
+ updated_at: string;
59332
+ };
59333
+ Insert: {
59334
+ computer_naam: string;
59335
+ created_at?: string;
59336
+ id?: string;
59337
+ print_plek_id: string;
59338
+ updated_at?: string;
59339
+ };
59340
+ Update: {
59341
+ computer_naam?: string;
59342
+ created_at?: string;
59343
+ id?: string;
59344
+ print_plek_id?: string;
59345
+ updated_at?: string;
59346
+ };
59347
+ Relationships: [{
59348
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
59349
+ columns: ["print_plek_id"];
59350
+ isOneToOne: false;
59351
+ referencedRelation: "print_plekken";
59352
+ referencedColumns: ["id"];
59353
+ }];
59354
+ };
59355
+ print_plek_koppelingen: {
59356
+ Row: {
59357
+ bron: string;
59358
+ bron_id: string;
59359
+ created_at: string;
59360
+ id: string;
59361
+ label: string | null;
59362
+ print_plek_id: string;
59363
+ updated_at: string;
59364
+ };
59365
+ Insert: {
59366
+ bron: string;
59367
+ bron_id: string;
59368
+ created_at?: string;
59369
+ id?: string;
59370
+ label?: string | null;
59371
+ print_plek_id: string;
59372
+ updated_at?: string;
59373
+ };
59374
+ Update: {
59375
+ bron?: string;
59376
+ bron_id?: string;
59377
+ created_at?: string;
59378
+ id?: string;
59379
+ label?: string | null;
59380
+ print_plek_id?: string;
59381
+ updated_at?: string;
59382
+ };
59383
+ Relationships: [{
59384
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
59385
+ columns: ["print_plek_id"];
59386
+ isOneToOne: false;
59387
+ referencedRelation: "print_plekken";
59388
+ referencedColumns: ["id"];
59389
+ }];
59390
+ };
59391
+ print_plekken: {
59392
+ Row: {
59393
+ actief: boolean;
59394
+ created_at: string;
59395
+ id: string;
59396
+ naam: string;
59397
+ omschrijving: string | null;
59398
+ updated_at: string;
59399
+ };
59400
+ Insert: {
59401
+ actief?: boolean;
59402
+ created_at?: string;
59403
+ id?: string;
59404
+ naam: string;
59405
+ omschrijving?: string | null;
59406
+ updated_at?: string;
59407
+ };
59408
+ Update: {
59409
+ actief?: boolean;
59410
+ created_at?: string;
59411
+ id?: string;
59412
+ naam?: string;
59413
+ omschrijving?: string | null;
59414
+ updated_at?: string;
59415
+ };
59416
+ Relationships: [];
59417
+ };
58531
59418
  print_queue_runners: {
58532
59419
  Row: {
58533
59420
  actief: boolean;
@@ -60682,6 +61569,45 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
60682
61569
  };
60683
61570
  Relationships: [];
60684
61571
  };
61572
+ stock_consumption_alerts: {
61573
+ Row: {
61574
+ alert_type: string;
61575
+ created_at: string;
61576
+ id: string;
61577
+ mutation_log_id: string | null;
61578
+ order_id: string | null;
61579
+ order_item_id: string | null;
61580
+ qty: number;
61581
+ reason: string | null;
61582
+ resolved_at: string | null;
61583
+ updated_at: string;
61584
+ };
61585
+ Insert: {
61586
+ alert_type: string;
61587
+ created_at?: string;
61588
+ id?: string;
61589
+ mutation_log_id?: string | null;
61590
+ order_id?: string | null;
61591
+ order_item_id?: string | null;
61592
+ qty?: number;
61593
+ reason?: string | null;
61594
+ resolved_at?: string | null;
61595
+ updated_at?: string;
61596
+ };
61597
+ Update: {
61598
+ alert_type?: string;
61599
+ created_at?: string;
61600
+ id?: string;
61601
+ mutation_log_id?: string | null;
61602
+ order_id?: string | null;
61603
+ order_item_id?: string | null;
61604
+ qty?: number;
61605
+ reason?: string | null;
61606
+ resolved_at?: string | null;
61607
+ updated_at?: string;
61608
+ };
61609
+ Relationships: [];
61610
+ };
60685
61611
  stock_import_runs: {
60686
61612
  Row: {
60687
61613
  connection_id: string | null;
@@ -66276,6 +67202,24 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
66276
67202
  };
66277
67203
  Returns: string;
66278
67204
  };
67205
+ logistics_floriday_finish_push_v3: {
67206
+ Args: {
67207
+ _error?: string;
67208
+ _error_code?: string;
67209
+ _fulfillment_order_id?: string;
67210
+ _gateway_status?: number;
67211
+ _id: string;
67212
+ _max_age_hours?: number;
67213
+ _max_attempts?: number;
67214
+ _outcome: string;
67215
+ _permanent?: boolean;
67216
+ _response?: import("../integrations/supabase/types").Json;
67217
+ _revision: number;
67218
+ _sent_hash?: string;
67219
+ _wait_max_age_hours?: number;
67220
+ };
67221
+ Returns: string;
67222
+ };
66279
67223
  logistics_floriday_prune_pushes: {
66280
67224
  Args: {
66281
67225
  _days?: number;
@@ -66704,6 +67648,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
66704
67648
  verwijderd: number;
66705
67649
  }[];
66706
67650
  };
67651
+ order_departure_proof: {
67652
+ Args: {
67653
+ p_order_id: string;
67654
+ };
67655
+ Returns: import("../integrations/supabase/types").Json;
67656
+ };
66707
67657
  order_number_prefix: {
66708
67658
  Args: {
66709
67659
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -66911,6 +67861,14 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
66911
67861
  };
66912
67862
  Returns: import("../integrations/supabase/types").Json;
66913
67863
  };
67864
+ pick_print_plekken: {
67865
+ Args: never;
67866
+ Returns: {
67867
+ id: string;
67868
+ naam: string;
67869
+ omschrijving: string;
67870
+ }[];
67871
+ };
66914
67872
  pick_release_expired_locks: {
66915
67873
  Args: never;
66916
67874
  Returns: number;
@@ -66975,6 +67933,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
66975
67933
  isSetofReturn: false;
66976
67934
  };
66977
67935
  };
67936
+ pick_set_station_print_plek: {
67937
+ Args: {
67938
+ _print_plek_id: string;
67939
+ _station_id: string;
67940
+ };
67941
+ Returns: string;
67942
+ };
66978
67943
  pick_station_dashboard: {
66979
67944
  Args: never;
66980
67945
  Returns: {
@@ -66987,6 +67952,25 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
66987
67952
  waiting: number;
66988
67953
  }[];
66989
67954
  };
67955
+ pick_station_print_plek: {
67956
+ Args: {
67957
+ _station_id: string;
67958
+ };
67959
+ Returns: {
67960
+ naam: string;
67961
+ omschrijving: string;
67962
+ print_plek_id: string;
67963
+ }[];
67964
+ };
67965
+ pick_station_print_plekken: {
67966
+ Args: never;
67967
+ Returns: {
67968
+ naam: string;
67969
+ omschrijving: string;
67970
+ print_plek_id: string;
67971
+ station_id: string;
67972
+ }[];
67973
+ };
66990
67974
  pick_station_slugify: {
66991
67975
  Args: {
66992
67976
  _id: string;
@@ -68449,6 +69433,99 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
68449
69433
  };
68450
69434
  Relationships: [];
68451
69435
  };
69436
+ artikelen_cache: {
69437
+ Row: {
69438
+ artikelcode: string;
69439
+ bron: string;
69440
+ bruto_prijs_cent: number | null;
69441
+ created_at: string;
69442
+ eenheid: string;
69443
+ fabrikant: string | null;
69444
+ fetched_at: string;
69445
+ gtin: string | null;
69446
+ id: string;
69447
+ naam: string;
69448
+ netto_prijs_cent: number | null;
69449
+ omschrijving: string | null;
69450
+ raw: import("../integrations/supabase/types").Json;
69451
+ updated_at: string;
69452
+ valuta: string;
69453
+ };
69454
+ Insert: {
69455
+ artikelcode: string;
69456
+ bron?: string;
69457
+ bruto_prijs_cent?: number | null;
69458
+ created_at?: string;
69459
+ eenheid?: string;
69460
+ fabrikant?: string | null;
69461
+ fetched_at?: string;
69462
+ gtin?: string | null;
69463
+ id?: string;
69464
+ naam: string;
69465
+ netto_prijs_cent?: number | null;
69466
+ omschrijving?: string | null;
69467
+ raw?: import("../integrations/supabase/types").Json;
69468
+ updated_at?: string;
69469
+ valuta?: string;
69470
+ };
69471
+ Update: {
69472
+ artikelcode?: string;
69473
+ bron?: string;
69474
+ bruto_prijs_cent?: number | null;
69475
+ created_at?: string;
69476
+ eenheid?: string;
69477
+ fabrikant?: string | null;
69478
+ fetched_at?: string;
69479
+ gtin?: string | null;
69480
+ id?: string;
69481
+ naam?: string;
69482
+ netto_prijs_cent?: number | null;
69483
+ omschrijving?: string | null;
69484
+ raw?: import("../integrations/supabase/types").Json;
69485
+ updated_at?: string;
69486
+ valuta?: string;
69487
+ };
69488
+ Relationships: [];
69489
+ };
69490
+ artikelen_veldconfig: {
69491
+ Row: {
69492
+ bron_pad: string;
69493
+ created_at: string;
69494
+ id: string;
69495
+ label: string;
69496
+ sort_order: number;
69497
+ type: string;
69498
+ updated_at: string;
69499
+ veld_key: string;
69500
+ zichtbaar_in_detail: boolean;
69501
+ zichtbaar_in_lijst: boolean;
69502
+ };
69503
+ Insert: {
69504
+ bron_pad: string;
69505
+ created_at?: string;
69506
+ id?: string;
69507
+ label: string;
69508
+ sort_order?: number;
69509
+ type?: string;
69510
+ updated_at?: string;
69511
+ veld_key: string;
69512
+ zichtbaar_in_detail?: boolean;
69513
+ zichtbaar_in_lijst?: boolean;
69514
+ };
69515
+ Update: {
69516
+ bron_pad?: string;
69517
+ created_at?: string;
69518
+ id?: string;
69519
+ label?: string;
69520
+ sort_order?: number;
69521
+ type?: string;
69522
+ updated_at?: string;
69523
+ veld_key?: string;
69524
+ zichtbaar_in_detail?: boolean;
69525
+ zichtbaar_in_lijst?: boolean;
69526
+ };
69527
+ Relationships: [];
69528
+ };
68452
69529
  booking_items: {
68453
69530
  Row: {
68454
69531
  booking_id: string;
@@ -70921,6 +71998,48 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
70921
71998
  };
70922
71999
  Relationships: [];
70923
72000
  };
72001
+ document_printplek_printers: {
72002
+ Row: {
72003
+ created_at: string;
72004
+ documenttype: string;
72005
+ id: string;
72006
+ papierformaat: string | null;
72007
+ print_plek_id: string;
72008
+ printer_id: string | null;
72009
+ updated_at: string;
72010
+ };
72011
+ Insert: {
72012
+ created_at?: string;
72013
+ documenttype: string;
72014
+ id?: string;
72015
+ papierformaat?: string | null;
72016
+ print_plek_id: string;
72017
+ printer_id?: string | null;
72018
+ updated_at?: string;
72019
+ };
72020
+ Update: {
72021
+ created_at?: string;
72022
+ documenttype?: string;
72023
+ id?: string;
72024
+ papierformaat?: string | null;
72025
+ print_plek_id?: string;
72026
+ printer_id?: string | null;
72027
+ updated_at?: string;
72028
+ };
72029
+ Relationships: [{
72030
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
72031
+ columns: ["print_plek_id"];
72032
+ isOneToOne: false;
72033
+ referencedRelation: "print_plekken";
72034
+ referencedColumns: ["id"];
72035
+ }, {
72036
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
72037
+ columns: ["printer_id"];
72038
+ isOneToOne: false;
72039
+ referencedRelation: "printers";
72040
+ referencedColumns: ["id"];
72041
+ }];
72042
+ };
70924
72043
  document_werkplek_printers: {
70925
72044
  Row: {
70926
72045
  created_at: string;
@@ -76902,6 +78021,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
76902
78021
  last_error_at: string | null;
76903
78022
  last_error_code: string | null;
76904
78023
  last_gateway_status: number | null;
78024
+ last_queued_at: string | null;
76905
78025
  last_response: import("../integrations/supabase/types").Json | null;
76906
78026
  last_sent_hash: string | null;
76907
78027
  locked_by: string | null;
@@ -76925,6 +78045,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
76925
78045
  last_error_at?: string | null;
76926
78046
  last_error_code?: string | null;
76927
78047
  last_gateway_status?: number | null;
78048
+ last_queued_at?: string | null;
76928
78049
  last_response?: import("../integrations/supabase/types").Json | null;
76929
78050
  last_sent_hash?: string | null;
76930
78051
  locked_by?: string | null;
@@ -76948,6 +78069,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
76948
78069
  last_error_at?: string | null;
76949
78070
  last_error_code?: string | null;
76950
78071
  last_gateway_status?: number | null;
78072
+ last_queued_at?: string | null;
76951
78073
  last_response?: import("../integrations/supabase/types").Json | null;
76952
78074
  last_sent_hash?: string | null;
76953
78075
  locked_by?: string | null;
@@ -81118,6 +82240,99 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
81118
82240
  referencedColumns: ["id"];
81119
82241
  }];
81120
82242
  };
82243
+ print_plek_computers: {
82244
+ Row: {
82245
+ computer_naam: string;
82246
+ created_at: string;
82247
+ id: string;
82248
+ print_plek_id: string;
82249
+ updated_at: string;
82250
+ };
82251
+ Insert: {
82252
+ computer_naam: string;
82253
+ created_at?: string;
82254
+ id?: string;
82255
+ print_plek_id: string;
82256
+ updated_at?: string;
82257
+ };
82258
+ Update: {
82259
+ computer_naam?: string;
82260
+ created_at?: string;
82261
+ id?: string;
82262
+ print_plek_id?: string;
82263
+ updated_at?: string;
82264
+ };
82265
+ Relationships: [{
82266
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
82267
+ columns: ["print_plek_id"];
82268
+ isOneToOne: false;
82269
+ referencedRelation: "print_plekken";
82270
+ referencedColumns: ["id"];
82271
+ }];
82272
+ };
82273
+ print_plek_koppelingen: {
82274
+ Row: {
82275
+ bron: string;
82276
+ bron_id: string;
82277
+ created_at: string;
82278
+ id: string;
82279
+ label: string | null;
82280
+ print_plek_id: string;
82281
+ updated_at: string;
82282
+ };
82283
+ Insert: {
82284
+ bron: string;
82285
+ bron_id: string;
82286
+ created_at?: string;
82287
+ id?: string;
82288
+ label?: string | null;
82289
+ print_plek_id: string;
82290
+ updated_at?: string;
82291
+ };
82292
+ Update: {
82293
+ bron?: string;
82294
+ bron_id?: string;
82295
+ created_at?: string;
82296
+ id?: string;
82297
+ label?: string | null;
82298
+ print_plek_id?: string;
82299
+ updated_at?: string;
82300
+ };
82301
+ Relationships: [{
82302
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
82303
+ columns: ["print_plek_id"];
82304
+ isOneToOne: false;
82305
+ referencedRelation: "print_plekken";
82306
+ referencedColumns: ["id"];
82307
+ }];
82308
+ };
82309
+ print_plekken: {
82310
+ Row: {
82311
+ actief: boolean;
82312
+ created_at: string;
82313
+ id: string;
82314
+ naam: string;
82315
+ omschrijving: string | null;
82316
+ updated_at: string;
82317
+ };
82318
+ Insert: {
82319
+ actief?: boolean;
82320
+ created_at?: string;
82321
+ id?: string;
82322
+ naam: string;
82323
+ omschrijving?: string | null;
82324
+ updated_at?: string;
82325
+ };
82326
+ Update: {
82327
+ actief?: boolean;
82328
+ created_at?: string;
82329
+ id?: string;
82330
+ naam?: string;
82331
+ omschrijving?: string | null;
82332
+ updated_at?: string;
82333
+ };
82334
+ Relationships: [];
82335
+ };
81121
82336
  print_queue_runners: {
81122
82337
  Row: {
81123
82338
  actief: boolean;
@@ -83272,6 +84487,45 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
83272
84487
  };
83273
84488
  Relationships: [];
83274
84489
  };
84490
+ stock_consumption_alerts: {
84491
+ Row: {
84492
+ alert_type: string;
84493
+ created_at: string;
84494
+ id: string;
84495
+ mutation_log_id: string | null;
84496
+ order_id: string | null;
84497
+ order_item_id: string | null;
84498
+ qty: number;
84499
+ reason: string | null;
84500
+ resolved_at: string | null;
84501
+ updated_at: string;
84502
+ };
84503
+ Insert: {
84504
+ alert_type: string;
84505
+ created_at?: string;
84506
+ id?: string;
84507
+ mutation_log_id?: string | null;
84508
+ order_id?: string | null;
84509
+ order_item_id?: string | null;
84510
+ qty?: number;
84511
+ reason?: string | null;
84512
+ resolved_at?: string | null;
84513
+ updated_at?: string;
84514
+ };
84515
+ Update: {
84516
+ alert_type?: string;
84517
+ created_at?: string;
84518
+ id?: string;
84519
+ mutation_log_id?: string | null;
84520
+ order_id?: string | null;
84521
+ order_item_id?: string | null;
84522
+ qty?: number;
84523
+ reason?: string | null;
84524
+ resolved_at?: string | null;
84525
+ updated_at?: string;
84526
+ };
84527
+ Relationships: [];
84528
+ };
83275
84529
  stock_import_runs: {
83276
84530
  Row: {
83277
84531
  connection_id: string | null;
@@ -88866,6 +90120,24 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
88866
90120
  };
88867
90121
  Returns: string;
88868
90122
  };
90123
+ logistics_floriday_finish_push_v3: {
90124
+ Args: {
90125
+ _error?: string;
90126
+ _error_code?: string;
90127
+ _fulfillment_order_id?: string;
90128
+ _gateway_status?: number;
90129
+ _id: string;
90130
+ _max_age_hours?: number;
90131
+ _max_attempts?: number;
90132
+ _outcome: string;
90133
+ _permanent?: boolean;
90134
+ _response?: import("../integrations/supabase/types").Json;
90135
+ _revision: number;
90136
+ _sent_hash?: string;
90137
+ _wait_max_age_hours?: number;
90138
+ };
90139
+ Returns: string;
90140
+ };
88869
90141
  logistics_floriday_prune_pushes: {
88870
90142
  Args: {
88871
90143
  _days?: number;
@@ -89294,6 +90566,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
89294
90566
  verwijderd: number;
89295
90567
  }[];
89296
90568
  };
90569
+ order_departure_proof: {
90570
+ Args: {
90571
+ p_order_id: string;
90572
+ };
90573
+ Returns: import("../integrations/supabase/types").Json;
90574
+ };
89297
90575
  order_number_prefix: {
89298
90576
  Args: {
89299
90577
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -89501,6 +90779,14 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
89501
90779
  };
89502
90780
  Returns: import("../integrations/supabase/types").Json;
89503
90781
  };
90782
+ pick_print_plekken: {
90783
+ Args: never;
90784
+ Returns: {
90785
+ id: string;
90786
+ naam: string;
90787
+ omschrijving: string;
90788
+ }[];
90789
+ };
89504
90790
  pick_release_expired_locks: {
89505
90791
  Args: never;
89506
90792
  Returns: number;
@@ -89565,6 +90851,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
89565
90851
  isSetofReturn: false;
89566
90852
  };
89567
90853
  };
90854
+ pick_set_station_print_plek: {
90855
+ Args: {
90856
+ _print_plek_id: string;
90857
+ _station_id: string;
90858
+ };
90859
+ Returns: string;
90860
+ };
89568
90861
  pick_station_dashboard: {
89569
90862
  Args: never;
89570
90863
  Returns: {
@@ -89577,6 +90870,25 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
89577
90870
  waiting: number;
89578
90871
  }[];
89579
90872
  };
90873
+ pick_station_print_plek: {
90874
+ Args: {
90875
+ _station_id: string;
90876
+ };
90877
+ Returns: {
90878
+ naam: string;
90879
+ omschrijving: string;
90880
+ print_plek_id: string;
90881
+ }[];
90882
+ };
90883
+ pick_station_print_plekken: {
90884
+ Args: never;
90885
+ Returns: {
90886
+ naam: string;
90887
+ omschrijving: string;
90888
+ print_plek_id: string;
90889
+ station_id: string;
90890
+ }[];
90891
+ };
89580
90892
  pick_station_slugify: {
89581
90893
  Args: {
89582
90894
  _id: string;