@flowselections/logistiek-engine 1.0.13 → 1.0.15

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 (50) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/FloridayPushCard.d.ts.map +1 -1
  3. package/dist-lib/components/FloridayPushCard.js +7 -2
  4. package/dist-lib/components/PrintjobsCard.d.ts.map +1 -1
  5. package/dist-lib/components/PrintjobsCard.js +3 -1
  6. package/dist-lib/hooks/useFloridayPushes.d.ts +7 -0
  7. package/dist-lib/hooks/useFloridayPushes.d.ts.map +1 -1
  8. package/dist-lib/hooks/useFloridayPushes.js +11 -0
  9. package/dist-lib/hooks/usePrintjobs.d.ts +1 -0
  10. package/dist-lib/hooks/usePrintjobs.d.ts.map +1 -1
  11. package/dist-lib/hooks/usePrintjobs.js +17 -1
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts +336 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/client.d.ts +1516 -159
  15. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +336 -0
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/moduleClient.d.ts +336 -0
  19. package/dist-lib/integrations/supabase/moduleClient.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 +343 -0
  24. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  25. package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts +2 -0
  26. package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts.map +1 -1
  27. package/dist-lib/lib/bulkLoadCarrierPlanning.server.js +11 -0
  28. package/dist-lib/lib/floridayDocuments.functions.d.ts +1008 -0
  29. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floridayPush.functions.d.ts +336 -0
  31. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floridayPush.server.d.ts +12 -0
  33. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  34. package/dist-lib/lib/floridayPush.server.js +41 -9
  35. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1685 -30
  36. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/loadCarrierPlanning.server.d.ts +27 -2
  38. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  39. package/dist-lib/lib/loadCarrierPlanning.server.js +162 -30
  40. package/dist-lib/lib/loadCarrierTaskSync.server.js +1 -1
  41. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +672 -0
  42. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +336 -0
  44. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  46. package/dist-lib/lib/modulePrompts.js +1009 -970
  47. package/dist-lib/lib/planQueue.server.d.ts +2 -0
  48. package/dist-lib/lib/planQueue.server.d.ts.map +1 -1
  49. package/dist-lib/lib/planQueue.server.js +22 -4
  50. package/package.json +1 -1
@@ -673,6 +673,99 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
673
673
  };
674
674
  Relationships: [];
675
675
  };
676
+ artikelen_cache: {
677
+ Row: {
678
+ artikelcode: string;
679
+ bron: string;
680
+ bruto_prijs_cent: number | null;
681
+ created_at: string;
682
+ eenheid: string;
683
+ fabrikant: string | null;
684
+ fetched_at: string;
685
+ gtin: string | null;
686
+ id: string;
687
+ naam: string;
688
+ netto_prijs_cent: number | null;
689
+ omschrijving: string | null;
690
+ raw: import("../integrations/supabase/types").Json;
691
+ updated_at: string;
692
+ valuta: string;
693
+ };
694
+ Insert: {
695
+ artikelcode: string;
696
+ bron?: string;
697
+ bruto_prijs_cent?: number | null;
698
+ created_at?: string;
699
+ eenheid?: string;
700
+ fabrikant?: string | null;
701
+ fetched_at?: string;
702
+ gtin?: string | null;
703
+ id?: string;
704
+ naam: string;
705
+ netto_prijs_cent?: number | null;
706
+ omschrijving?: string | null;
707
+ raw?: import("../integrations/supabase/types").Json;
708
+ updated_at?: string;
709
+ valuta?: string;
710
+ };
711
+ Update: {
712
+ artikelcode?: string;
713
+ bron?: string;
714
+ bruto_prijs_cent?: number | null;
715
+ created_at?: string;
716
+ eenheid?: string;
717
+ fabrikant?: string | null;
718
+ fetched_at?: string;
719
+ gtin?: string | null;
720
+ id?: string;
721
+ naam?: string;
722
+ netto_prijs_cent?: number | null;
723
+ omschrijving?: string | null;
724
+ raw?: import("../integrations/supabase/types").Json;
725
+ updated_at?: string;
726
+ valuta?: string;
727
+ };
728
+ Relationships: [];
729
+ };
730
+ artikelen_veldconfig: {
731
+ Row: {
732
+ bron_pad: string;
733
+ created_at: string;
734
+ id: string;
735
+ label: string;
736
+ sort_order: number;
737
+ type: string;
738
+ updated_at: string;
739
+ veld_key: string;
740
+ zichtbaar_in_detail: boolean;
741
+ zichtbaar_in_lijst: boolean;
742
+ };
743
+ Insert: {
744
+ bron_pad: string;
745
+ created_at?: string;
746
+ id?: string;
747
+ label: string;
748
+ sort_order?: number;
749
+ type?: string;
750
+ updated_at?: string;
751
+ veld_key: string;
752
+ zichtbaar_in_detail?: boolean;
753
+ zichtbaar_in_lijst?: boolean;
754
+ };
755
+ Update: {
756
+ bron_pad?: string;
757
+ created_at?: string;
758
+ id?: string;
759
+ label?: string;
760
+ sort_order?: number;
761
+ type?: string;
762
+ updated_at?: string;
763
+ veld_key?: string;
764
+ zichtbaar_in_detail?: boolean;
765
+ zichtbaar_in_lijst?: boolean;
766
+ };
767
+ Relationships: [];
768
+ };
676
769
  booking_items: {
677
770
  Row: {
678
771
  booking_id: string;
@@ -3145,6 +3238,48 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
3145
3238
  };
3146
3239
  Relationships: [];
3147
3240
  };
3241
+ document_printplek_printers: {
3242
+ Row: {
3243
+ created_at: string;
3244
+ documenttype: string;
3245
+ id: string;
3246
+ papierformaat: string | null;
3247
+ print_plek_id: string;
3248
+ printer_id: string | null;
3249
+ updated_at: string;
3250
+ };
3251
+ Insert: {
3252
+ created_at?: string;
3253
+ documenttype: string;
3254
+ id?: string;
3255
+ papierformaat?: string | null;
3256
+ print_plek_id: string;
3257
+ printer_id?: string | null;
3258
+ updated_at?: string;
3259
+ };
3260
+ Update: {
3261
+ created_at?: string;
3262
+ documenttype?: string;
3263
+ id?: string;
3264
+ papierformaat?: string | null;
3265
+ print_plek_id?: string;
3266
+ printer_id?: string | null;
3267
+ updated_at?: string;
3268
+ };
3269
+ Relationships: [{
3270
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3271
+ columns: ["print_plek_id"];
3272
+ isOneToOne: false;
3273
+ referencedRelation: "print_plekken";
3274
+ referencedColumns: ["id"];
3275
+ }, {
3276
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3277
+ columns: ["printer_id"];
3278
+ isOneToOne: false;
3279
+ referencedRelation: "printers";
3280
+ referencedColumns: ["id"];
3281
+ }];
3282
+ };
3148
3283
  document_werkplek_printers: {
3149
3284
  Row: {
3150
3285
  created_at: string;
@@ -9126,6 +9261,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
9126
9261
  last_error_at: string | null;
9127
9262
  last_error_code: string | null;
9128
9263
  last_gateway_status: number | null;
9264
+ last_queued_at: string | null;
9129
9265
  last_response: import("../integrations/supabase/types").Json | null;
9130
9266
  last_sent_hash: string | null;
9131
9267
  locked_by: string | null;
@@ -9149,6 +9285,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
9149
9285
  last_error_at?: string | null;
9150
9286
  last_error_code?: string | null;
9151
9287
  last_gateway_status?: number | null;
9288
+ last_queued_at?: string | null;
9152
9289
  last_response?: import("../integrations/supabase/types").Json | null;
9153
9290
  last_sent_hash?: string | null;
9154
9291
  locked_by?: string | null;
@@ -9172,6 +9309,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
9172
9309
  last_error_at?: string | null;
9173
9310
  last_error_code?: string | null;
9174
9311
  last_gateway_status?: number | null;
9312
+ last_queued_at?: string | null;
9175
9313
  last_response?: import("../integrations/supabase/types").Json | null;
9176
9314
  last_sent_hash?: string | null;
9177
9315
  locked_by?: string | null;
@@ -13342,6 +13480,99 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13342
13480
  referencedColumns: ["id"];
13343
13481
  }];
13344
13482
  };
13483
+ print_plek_computers: {
13484
+ Row: {
13485
+ computer_naam: string;
13486
+ created_at: string;
13487
+ id: string;
13488
+ print_plek_id: string;
13489
+ updated_at: string;
13490
+ };
13491
+ Insert: {
13492
+ computer_naam: string;
13493
+ created_at?: string;
13494
+ id?: string;
13495
+ print_plek_id: string;
13496
+ updated_at?: string;
13497
+ };
13498
+ Update: {
13499
+ computer_naam?: string;
13500
+ created_at?: string;
13501
+ id?: string;
13502
+ print_plek_id?: string;
13503
+ updated_at?: string;
13504
+ };
13505
+ Relationships: [{
13506
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13507
+ columns: ["print_plek_id"];
13508
+ isOneToOne: false;
13509
+ referencedRelation: "print_plekken";
13510
+ referencedColumns: ["id"];
13511
+ }];
13512
+ };
13513
+ print_plek_koppelingen: {
13514
+ Row: {
13515
+ bron: string;
13516
+ bron_id: string;
13517
+ created_at: string;
13518
+ id: string;
13519
+ label: string | null;
13520
+ print_plek_id: string;
13521
+ updated_at: string;
13522
+ };
13523
+ Insert: {
13524
+ bron: string;
13525
+ bron_id: string;
13526
+ created_at?: string;
13527
+ id?: string;
13528
+ label?: string | null;
13529
+ print_plek_id: string;
13530
+ updated_at?: string;
13531
+ };
13532
+ Update: {
13533
+ bron?: string;
13534
+ bron_id?: string;
13535
+ created_at?: string;
13536
+ id?: string;
13537
+ label?: string | null;
13538
+ print_plek_id?: string;
13539
+ updated_at?: string;
13540
+ };
13541
+ Relationships: [{
13542
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13543
+ columns: ["print_plek_id"];
13544
+ isOneToOne: false;
13545
+ referencedRelation: "print_plekken";
13546
+ referencedColumns: ["id"];
13547
+ }];
13548
+ };
13549
+ print_plekken: {
13550
+ Row: {
13551
+ actief: boolean;
13552
+ created_at: string;
13553
+ id: string;
13554
+ naam: string;
13555
+ omschrijving: string | null;
13556
+ updated_at: string;
13557
+ };
13558
+ Insert: {
13559
+ actief?: boolean;
13560
+ created_at?: string;
13561
+ id?: string;
13562
+ naam: string;
13563
+ omschrijving?: string | null;
13564
+ updated_at?: string;
13565
+ };
13566
+ Update: {
13567
+ actief?: boolean;
13568
+ created_at?: string;
13569
+ id?: string;
13570
+ naam?: string;
13571
+ omschrijving?: string | null;
13572
+ updated_at?: string;
13573
+ };
13574
+ Relationships: [];
13575
+ };
13345
13576
  print_queue_runners: {
13346
13577
  Row: {
13347
13578
  actief: boolean;
@@ -15496,6 +15727,45 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
15496
15727
  };
15497
15728
  Relationships: [];
15498
15729
  };
15730
+ stock_consumption_alerts: {
15731
+ Row: {
15732
+ alert_type: string;
15733
+ created_at: string;
15734
+ id: string;
15735
+ mutation_log_id: string | null;
15736
+ order_id: string | null;
15737
+ order_item_id: string | null;
15738
+ qty: number;
15739
+ reason: string | null;
15740
+ resolved_at: string | null;
15741
+ updated_at: string;
15742
+ };
15743
+ Insert: {
15744
+ alert_type: string;
15745
+ created_at?: string;
15746
+ id?: string;
15747
+ mutation_log_id?: string | null;
15748
+ order_id?: string | null;
15749
+ order_item_id?: string | null;
15750
+ qty?: number;
15751
+ reason?: string | null;
15752
+ resolved_at?: string | null;
15753
+ updated_at?: string;
15754
+ };
15755
+ Update: {
15756
+ alert_type?: string;
15757
+ created_at?: string;
15758
+ id?: string;
15759
+ mutation_log_id?: string | null;
15760
+ order_id?: string | null;
15761
+ order_item_id?: string | null;
15762
+ qty?: number;
15763
+ reason?: string | null;
15764
+ resolved_at?: string | null;
15765
+ updated_at?: string;
15766
+ };
15767
+ Relationships: [];
15768
+ };
15499
15769
  stock_import_runs: {
15500
15770
  Row: {
15501
15771
  connection_id: string | null;
@@ -21090,6 +21360,24 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21090
21360
  };
21091
21361
  Returns: string;
21092
21362
  };
21363
+ logistics_floriday_finish_push_v3: {
21364
+ Args: {
21365
+ _error?: string;
21366
+ _error_code?: string;
21367
+ _fulfillment_order_id?: string;
21368
+ _gateway_status?: number;
21369
+ _id: string;
21370
+ _max_age_hours?: number;
21371
+ _max_attempts?: number;
21372
+ _outcome: string;
21373
+ _permanent?: boolean;
21374
+ _response?: import("../integrations/supabase/types").Json;
21375
+ _revision: number;
21376
+ _sent_hash?: string;
21377
+ _wait_max_age_hours?: number;
21378
+ };
21379
+ Returns: string;
21380
+ };
21093
21381
  logistics_floriday_prune_pushes: {
21094
21382
  Args: {
21095
21383
  _days?: number;
@@ -21150,6 +21438,14 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21150
21438
  };
21151
21439
  Returns: import("../integrations/supabase/types").Json;
21152
21440
  };
21441
+ logistics_plan_block: {
21442
+ Args: {
21443
+ p_details?: import("../integrations/supabase/types").Json;
21444
+ p_order_ids: string[];
21445
+ p_reason: string;
21446
+ };
21447
+ Returns: number;
21448
+ };
21153
21449
  logistics_plan_buffer_sql: {
21154
21450
  Args: {
21155
21451
  p_buffer_id: string;
@@ -21518,6 +21814,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21518
21814
  verwijderd: number;
21519
21815
  }[];
21520
21816
  };
21817
+ order_departure_proof: {
21818
+ Args: {
21819
+ p_order_id: string;
21820
+ };
21821
+ Returns: import("../integrations/supabase/types").Json;
21822
+ };
21521
21823
  order_number_prefix: {
21522
21824
  Args: {
21523
21825
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21725,6 +22027,14 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21725
22027
  };
21726
22028
  Returns: import("../integrations/supabase/types").Json;
21727
22029
  };
22030
+ pick_print_plekken: {
22031
+ Args: never;
22032
+ Returns: {
22033
+ id: string;
22034
+ naam: string;
22035
+ omschrijving: string;
22036
+ }[];
22037
+ };
21728
22038
  pick_release_expired_locks: {
21729
22039
  Args: never;
21730
22040
  Returns: number;
@@ -21789,6 +22099,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21789
22099
  isSetofReturn: false;
21790
22100
  };
21791
22101
  };
22102
+ pick_set_station_print_plek: {
22103
+ Args: {
22104
+ _print_plek_id: string;
22105
+ _station_id: string;
22106
+ };
22107
+ Returns: string;
22108
+ };
21792
22109
  pick_station_dashboard: {
21793
22110
  Args: never;
21794
22111
  Returns: {
@@ -21801,6 +22118,25 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21801
22118
  waiting: number;
21802
22119
  }[];
21803
22120
  };
22121
+ pick_station_print_plek: {
22122
+ Args: {
22123
+ _station_id: string;
22124
+ };
22125
+ Returns: {
22126
+ naam: string;
22127
+ omschrijving: string;
22128
+ print_plek_id: string;
22129
+ }[];
22130
+ };
22131
+ pick_station_print_plekken: {
22132
+ Args: never;
22133
+ Returns: {
22134
+ naam: string;
22135
+ omschrijving: string;
22136
+ print_plek_id: string;
22137
+ station_id: string;
22138
+ }[];
22139
+ };
21804
22140
  pick_station_slugify: {
21805
22141
  Args: {
21806
22142
  _id: string;
@@ -23267,6 +23603,99 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
23267
23603
  };
23268
23604
  Relationships: [];
23269
23605
  };
23606
+ artikelen_cache: {
23607
+ Row: {
23608
+ artikelcode: string;
23609
+ bron: string;
23610
+ bruto_prijs_cent: number | null;
23611
+ created_at: string;
23612
+ eenheid: string;
23613
+ fabrikant: string | null;
23614
+ fetched_at: string;
23615
+ gtin: string | null;
23616
+ id: string;
23617
+ naam: string;
23618
+ netto_prijs_cent: number | null;
23619
+ omschrijving: string | null;
23620
+ raw: import("../integrations/supabase/types").Json;
23621
+ updated_at: string;
23622
+ valuta: string;
23623
+ };
23624
+ Insert: {
23625
+ artikelcode: string;
23626
+ bron?: string;
23627
+ bruto_prijs_cent?: number | null;
23628
+ created_at?: string;
23629
+ eenheid?: string;
23630
+ fabrikant?: string | null;
23631
+ fetched_at?: string;
23632
+ gtin?: string | null;
23633
+ id?: string;
23634
+ naam: string;
23635
+ netto_prijs_cent?: number | null;
23636
+ omschrijving?: string | null;
23637
+ raw?: import("../integrations/supabase/types").Json;
23638
+ updated_at?: string;
23639
+ valuta?: string;
23640
+ };
23641
+ Update: {
23642
+ artikelcode?: string;
23643
+ bron?: string;
23644
+ bruto_prijs_cent?: number | null;
23645
+ created_at?: string;
23646
+ eenheid?: string;
23647
+ fabrikant?: string | null;
23648
+ fetched_at?: string;
23649
+ gtin?: string | null;
23650
+ id?: string;
23651
+ naam?: string;
23652
+ netto_prijs_cent?: number | null;
23653
+ omschrijving?: string | null;
23654
+ raw?: import("../integrations/supabase/types").Json;
23655
+ updated_at?: string;
23656
+ valuta?: string;
23657
+ };
23658
+ Relationships: [];
23659
+ };
23660
+ artikelen_veldconfig: {
23661
+ Row: {
23662
+ bron_pad: string;
23663
+ created_at: string;
23664
+ id: string;
23665
+ label: string;
23666
+ sort_order: number;
23667
+ type: string;
23668
+ updated_at: string;
23669
+ veld_key: string;
23670
+ zichtbaar_in_detail: boolean;
23671
+ zichtbaar_in_lijst: boolean;
23672
+ };
23673
+ Insert: {
23674
+ bron_pad: string;
23675
+ created_at?: string;
23676
+ id?: string;
23677
+ label: string;
23678
+ sort_order?: number;
23679
+ type?: string;
23680
+ updated_at?: string;
23681
+ veld_key: string;
23682
+ zichtbaar_in_detail?: boolean;
23683
+ zichtbaar_in_lijst?: boolean;
23684
+ };
23685
+ Update: {
23686
+ bron_pad?: string;
23687
+ created_at?: string;
23688
+ id?: string;
23689
+ label?: string;
23690
+ sort_order?: number;
23691
+ type?: string;
23692
+ updated_at?: string;
23693
+ veld_key?: string;
23694
+ zichtbaar_in_detail?: boolean;
23695
+ zichtbaar_in_lijst?: boolean;
23696
+ };
23697
+ Relationships: [];
23698
+ };
23270
23699
  booking_items: {
23271
23700
  Row: {
23272
23701
  booking_id: string;
@@ -25739,6 +26168,48 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
25739
26168
  };
25740
26169
  Relationships: [];
25741
26170
  };
26171
+ document_printplek_printers: {
26172
+ Row: {
26173
+ created_at: string;
26174
+ documenttype: string;
26175
+ id: string;
26176
+ papierformaat: string | null;
26177
+ print_plek_id: string;
26178
+ printer_id: string | null;
26179
+ updated_at: string;
26180
+ };
26181
+ Insert: {
26182
+ created_at?: string;
26183
+ documenttype: string;
26184
+ id?: string;
26185
+ papierformaat?: string | null;
26186
+ print_plek_id: string;
26187
+ printer_id?: string | null;
26188
+ updated_at?: string;
26189
+ };
26190
+ Update: {
26191
+ created_at?: string;
26192
+ documenttype?: string;
26193
+ id?: string;
26194
+ papierformaat?: string | null;
26195
+ print_plek_id?: string;
26196
+ printer_id?: string | null;
26197
+ updated_at?: string;
26198
+ };
26199
+ Relationships: [{
26200
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
26201
+ columns: ["print_plek_id"];
26202
+ isOneToOne: false;
26203
+ referencedRelation: "print_plekken";
26204
+ referencedColumns: ["id"];
26205
+ }, {
26206
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
26207
+ columns: ["printer_id"];
26208
+ isOneToOne: false;
26209
+ referencedRelation: "printers";
26210
+ referencedColumns: ["id"];
26211
+ }];
26212
+ };
25742
26213
  document_werkplek_printers: {
25743
26214
  Row: {
25744
26215
  created_at: string;
@@ -31720,6 +32191,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
31720
32191
  last_error_at: string | null;
31721
32192
  last_error_code: string | null;
31722
32193
  last_gateway_status: number | null;
32194
+ last_queued_at: string | null;
31723
32195
  last_response: import("../integrations/supabase/types").Json | null;
31724
32196
  last_sent_hash: string | null;
31725
32197
  locked_by: string | null;
@@ -31743,6 +32215,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
31743
32215
  last_error_at?: string | null;
31744
32216
  last_error_code?: string | null;
31745
32217
  last_gateway_status?: number | null;
32218
+ last_queued_at?: string | null;
31746
32219
  last_response?: import("../integrations/supabase/types").Json | null;
31747
32220
  last_sent_hash?: string | null;
31748
32221
  locked_by?: string | null;
@@ -31766,6 +32239,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
31766
32239
  last_error_at?: string | null;
31767
32240
  last_error_code?: string | null;
31768
32241
  last_gateway_status?: number | null;
32242
+ last_queued_at?: string | null;
31769
32243
  last_response?: import("../integrations/supabase/types").Json | null;
31770
32244
  last_sent_hash?: string | null;
31771
32245
  locked_by?: string | null;
@@ -35936,6 +36410,99 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
35936
36410
  referencedColumns: ["id"];
35937
36411
  }];
35938
36412
  };
36413
+ print_plek_computers: {
36414
+ Row: {
36415
+ computer_naam: string;
36416
+ created_at: string;
36417
+ id: string;
36418
+ print_plek_id: string;
36419
+ updated_at: string;
36420
+ };
36421
+ Insert: {
36422
+ computer_naam: string;
36423
+ created_at?: string;
36424
+ id?: string;
36425
+ print_plek_id: string;
36426
+ updated_at?: string;
36427
+ };
36428
+ Update: {
36429
+ computer_naam?: string;
36430
+ created_at?: string;
36431
+ id?: string;
36432
+ print_plek_id?: string;
36433
+ updated_at?: string;
36434
+ };
36435
+ Relationships: [{
36436
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
36437
+ columns: ["print_plek_id"];
36438
+ isOneToOne: false;
36439
+ referencedRelation: "print_plekken";
36440
+ referencedColumns: ["id"];
36441
+ }];
36442
+ };
36443
+ print_plek_koppelingen: {
36444
+ Row: {
36445
+ bron: string;
36446
+ bron_id: string;
36447
+ created_at: string;
36448
+ id: string;
36449
+ label: string | null;
36450
+ print_plek_id: string;
36451
+ updated_at: string;
36452
+ };
36453
+ Insert: {
36454
+ bron: string;
36455
+ bron_id: string;
36456
+ created_at?: string;
36457
+ id?: string;
36458
+ label?: string | null;
36459
+ print_plek_id: string;
36460
+ updated_at?: string;
36461
+ };
36462
+ Update: {
36463
+ bron?: string;
36464
+ bron_id?: string;
36465
+ created_at?: string;
36466
+ id?: string;
36467
+ label?: string | null;
36468
+ print_plek_id?: string;
36469
+ updated_at?: string;
36470
+ };
36471
+ Relationships: [{
36472
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
36473
+ columns: ["print_plek_id"];
36474
+ isOneToOne: false;
36475
+ referencedRelation: "print_plekken";
36476
+ referencedColumns: ["id"];
36477
+ }];
36478
+ };
36479
+ print_plekken: {
36480
+ Row: {
36481
+ actief: boolean;
36482
+ created_at: string;
36483
+ id: string;
36484
+ naam: string;
36485
+ omschrijving: string | null;
36486
+ updated_at: string;
36487
+ };
36488
+ Insert: {
36489
+ actief?: boolean;
36490
+ created_at?: string;
36491
+ id?: string;
36492
+ naam: string;
36493
+ omschrijving?: string | null;
36494
+ updated_at?: string;
36495
+ };
36496
+ Update: {
36497
+ actief?: boolean;
36498
+ created_at?: string;
36499
+ id?: string;
36500
+ naam?: string;
36501
+ omschrijving?: string | null;
36502
+ updated_at?: string;
36503
+ };
36504
+ Relationships: [];
36505
+ };
35939
36506
  print_queue_runners: {
35940
36507
  Row: {
35941
36508
  actief: boolean;
@@ -38090,6 +38657,45 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
38090
38657
  };
38091
38658
  Relationships: [];
38092
38659
  };
38660
+ stock_consumption_alerts: {
38661
+ Row: {
38662
+ alert_type: string;
38663
+ created_at: string;
38664
+ id: string;
38665
+ mutation_log_id: string | null;
38666
+ order_id: string | null;
38667
+ order_item_id: string | null;
38668
+ qty: number;
38669
+ reason: string | null;
38670
+ resolved_at: string | null;
38671
+ updated_at: string;
38672
+ };
38673
+ Insert: {
38674
+ alert_type: string;
38675
+ created_at?: string;
38676
+ id?: string;
38677
+ mutation_log_id?: string | null;
38678
+ order_id?: string | null;
38679
+ order_item_id?: string | null;
38680
+ qty?: number;
38681
+ reason?: string | null;
38682
+ resolved_at?: string | null;
38683
+ updated_at?: string;
38684
+ };
38685
+ Update: {
38686
+ alert_type?: string;
38687
+ created_at?: string;
38688
+ id?: string;
38689
+ mutation_log_id?: string | null;
38690
+ order_id?: string | null;
38691
+ order_item_id?: string | null;
38692
+ qty?: number;
38693
+ reason?: string | null;
38694
+ resolved_at?: string | null;
38695
+ updated_at?: string;
38696
+ };
38697
+ Relationships: [];
38698
+ };
38093
38699
  stock_import_runs: {
38094
38700
  Row: {
38095
38701
  connection_id: string | null;
@@ -43684,6 +44290,24 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43684
44290
  };
43685
44291
  Returns: string;
43686
44292
  };
44293
+ logistics_floriday_finish_push_v3: {
44294
+ Args: {
44295
+ _error?: string;
44296
+ _error_code?: string;
44297
+ _fulfillment_order_id?: string;
44298
+ _gateway_status?: number;
44299
+ _id: string;
44300
+ _max_age_hours?: number;
44301
+ _max_attempts?: number;
44302
+ _outcome: string;
44303
+ _permanent?: boolean;
44304
+ _response?: import("../integrations/supabase/types").Json;
44305
+ _revision: number;
44306
+ _sent_hash?: string;
44307
+ _wait_max_age_hours?: number;
44308
+ };
44309
+ Returns: string;
44310
+ };
43687
44311
  logistics_floriday_prune_pushes: {
43688
44312
  Args: {
43689
44313
  _days?: number;
@@ -43744,6 +44368,14 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43744
44368
  };
43745
44369
  Returns: import("../integrations/supabase/types").Json;
43746
44370
  };
44371
+ logistics_plan_block: {
44372
+ Args: {
44373
+ p_details?: import("../integrations/supabase/types").Json;
44374
+ p_order_ids: string[];
44375
+ p_reason: string;
44376
+ };
44377
+ Returns: number;
44378
+ };
43747
44379
  logistics_plan_buffer_sql: {
43748
44380
  Args: {
43749
44381
  p_buffer_id: string;
@@ -44112,6 +44744,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44112
44744
  verwijderd: number;
44113
44745
  }[];
44114
44746
  };
44747
+ order_departure_proof: {
44748
+ Args: {
44749
+ p_order_id: string;
44750
+ };
44751
+ Returns: import("../integrations/supabase/types").Json;
44752
+ };
44115
44753
  order_number_prefix: {
44116
44754
  Args: {
44117
44755
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -44319,6 +44957,14 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44319
44957
  };
44320
44958
  Returns: import("../integrations/supabase/types").Json;
44321
44959
  };
44960
+ pick_print_plekken: {
44961
+ Args: never;
44962
+ Returns: {
44963
+ id: string;
44964
+ naam: string;
44965
+ omschrijving: string;
44966
+ }[];
44967
+ };
44322
44968
  pick_release_expired_locks: {
44323
44969
  Args: never;
44324
44970
  Returns: number;
@@ -44383,6 +45029,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44383
45029
  isSetofReturn: false;
44384
45030
  };
44385
45031
  };
45032
+ pick_set_station_print_plek: {
45033
+ Args: {
45034
+ _print_plek_id: string;
45035
+ _station_id: string;
45036
+ };
45037
+ Returns: string;
45038
+ };
44386
45039
  pick_station_dashboard: {
44387
45040
  Args: never;
44388
45041
  Returns: {
@@ -44395,6 +45048,25 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44395
45048
  waiting: number;
44396
45049
  }[];
44397
45050
  };
45051
+ pick_station_print_plek: {
45052
+ Args: {
45053
+ _station_id: string;
45054
+ };
45055
+ Returns: {
45056
+ naam: string;
45057
+ omschrijving: string;
45058
+ print_plek_id: string;
45059
+ }[];
45060
+ };
45061
+ pick_station_print_plekken: {
45062
+ Args: never;
45063
+ Returns: {
45064
+ naam: string;
45065
+ omschrijving: string;
45066
+ print_plek_id: string;
45067
+ station_id: string;
45068
+ }[];
45069
+ };
44398
45070
  pick_station_slugify: {
44399
45071
  Args: {
44400
45072
  _id: string;