@flowselections/pick-schermen-kwekers 1.0.15 → 1.0.17

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.
@@ -2,18 +2,6 @@ import type { Database } from './types';
2
2
  export declare const requireSupabaseAuth: import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
3
3
  supabase: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
4
4
  Tables: {
5
- _banner_check: {
6
- Row: {
7
- inactief: import("./types").Json | null;
8
- };
9
- Insert: {
10
- inactief?: import("./types").Json | null;
11
- };
12
- Update: {
13
- inactief?: import("./types").Json | null;
14
- };
15
- Relationships: [];
16
- };
17
5
  afhandeling_settings: {
18
6
  Row: {
19
7
  auto_print_delivery_note: boolean;
@@ -10748,6 +10736,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10748
10736
  };
10749
10737
  Relationships: [];
10750
10738
  };
10739
+ maps_job_lease: {
10740
+ Row: {
10741
+ job: string;
10742
+ locked_until: string;
10743
+ updated_at: string;
10744
+ };
10745
+ Insert: {
10746
+ job: string;
10747
+ locked_until?: string;
10748
+ updated_at?: string;
10749
+ };
10750
+ Update: {
10751
+ job?: string;
10752
+ locked_until?: string;
10753
+ updated_at?: string;
10754
+ };
10755
+ Relationships: [];
10756
+ };
10751
10757
  maps_request_queue: {
10752
10758
  Row: {
10753
10759
  attempts: number;
@@ -10809,6 +10815,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10809
10815
  last_error: string | null;
10810
10816
  last_error_at: string | null;
10811
10817
  last_success_at: string | null;
10818
+ provider: string;
10812
10819
  updated_at: string;
10813
10820
  };
10814
10821
  Insert: {
@@ -10820,6 +10827,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10820
10827
  last_error?: string | null;
10821
10828
  last_error_at?: string | null;
10822
10829
  last_success_at?: string | null;
10830
+ provider?: string;
10823
10831
  updated_at?: string;
10824
10832
  };
10825
10833
  Update: {
@@ -10831,6 +10839,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10831
10839
  last_error?: string | null;
10832
10840
  last_error_at?: string | null;
10833
10841
  last_success_at?: string | null;
10842
+ provider?: string;
10834
10843
  updated_at?: string;
10835
10844
  };
10836
10845
  Relationships: [];
@@ -13568,6 +13577,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13568
13577
  };
13569
13578
  Relationships: [];
13570
13579
  };
13580
+ print_dedupe_events: {
13581
+ Row: {
13582
+ bestaande_job_id: string | null;
13583
+ created_at: string;
13584
+ detail: string | null;
13585
+ documentnaam: string | null;
13586
+ documenttype: string | null;
13587
+ id: string;
13588
+ idempotentie_sleutel: string;
13589
+ reden: string;
13590
+ };
13591
+ Insert: {
13592
+ bestaande_job_id?: string | null;
13593
+ created_at?: string;
13594
+ detail?: string | null;
13595
+ documentnaam?: string | null;
13596
+ documenttype?: string | null;
13597
+ id?: string;
13598
+ idempotentie_sleutel: string;
13599
+ reden: string;
13600
+ };
13601
+ Update: {
13602
+ bestaande_job_id?: string | null;
13603
+ created_at?: string;
13604
+ detail?: string | null;
13605
+ documentnaam?: string | null;
13606
+ documenttype?: string | null;
13607
+ id?: string;
13608
+ idempotentie_sleutel?: string;
13609
+ reden?: string;
13610
+ };
13611
+ Relationships: [];
13612
+ };
13571
13613
  print_job_logs: {
13572
13614
  Row: {
13573
13615
  created_at: string;
@@ -13609,6 +13651,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13609
13651
  foutmelding: string | null;
13610
13652
  gebruiker_id: string | null;
13611
13653
  gebruiker_naam: string;
13654
+ gebruikte_bron: string | null;
13655
+ gebruikte_layout_id: string | null;
13612
13656
  gestart_op: string | null;
13613
13657
  herkomst: string | null;
13614
13658
  id: string;
@@ -13616,6 +13660,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13616
13660
  is_herprint: boolean;
13617
13661
  kopieen: number;
13618
13662
  layout_id: string | null;
13663
+ lokaal_opgeslagen_op: string | null;
13664
+ lokale_pdf_fout: string | null;
13665
+ lokale_pdf_status: string | null;
13619
13666
  opgepakt_op: string | null;
13620
13667
  paginas: number;
13621
13668
  payload: import("./types").Json;
@@ -13624,6 +13671,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13624
13671
  pogingen: number;
13625
13672
  printer_id: string | null;
13626
13673
  render_html: string | null;
13674
+ resultaat_pdf_base64: string | null;
13627
13675
  status: Database["public"]["Enums"]["print_job_status"];
13628
13676
  updated_at: string;
13629
13677
  volgende_poging: string | null;
@@ -13639,6 +13687,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13639
13687
  foutmelding?: string | null;
13640
13688
  gebruiker_id?: string | null;
13641
13689
  gebruiker_naam?: string;
13690
+ gebruikte_bron?: string | null;
13691
+ gebruikte_layout_id?: string | null;
13642
13692
  gestart_op?: string | null;
13643
13693
  herkomst?: string | null;
13644
13694
  id?: string;
@@ -13646,6 +13696,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13646
13696
  is_herprint?: boolean;
13647
13697
  kopieen?: number;
13648
13698
  layout_id?: string | null;
13699
+ lokaal_opgeslagen_op?: string | null;
13700
+ lokale_pdf_fout?: string | null;
13701
+ lokale_pdf_status?: string | null;
13649
13702
  opgepakt_op?: string | null;
13650
13703
  paginas?: number;
13651
13704
  payload?: import("./types").Json;
@@ -13654,6 +13707,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13654
13707
  pogingen?: number;
13655
13708
  printer_id?: string | null;
13656
13709
  render_html?: string | null;
13710
+ resultaat_pdf_base64?: string | null;
13657
13711
  status?: Database["public"]["Enums"]["print_job_status"];
13658
13712
  updated_at?: string;
13659
13713
  volgende_poging?: string | null;
@@ -13669,6 +13723,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13669
13723
  foutmelding?: string | null;
13670
13724
  gebruiker_id?: string | null;
13671
13725
  gebruiker_naam?: string;
13726
+ gebruikte_bron?: string | null;
13727
+ gebruikte_layout_id?: string | null;
13672
13728
  gestart_op?: string | null;
13673
13729
  herkomst?: string | null;
13674
13730
  id?: string;
@@ -13676,6 +13732,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13676
13732
  is_herprint?: boolean;
13677
13733
  kopieen?: number;
13678
13734
  layout_id?: string | null;
13735
+ lokaal_opgeslagen_op?: string | null;
13736
+ lokale_pdf_fout?: string | null;
13737
+ lokale_pdf_status?: string | null;
13679
13738
  opgepakt_op?: string | null;
13680
13739
  paginas?: number;
13681
13740
  payload?: import("./types").Json;
@@ -13684,6 +13743,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13684
13743
  pogingen?: number;
13685
13744
  printer_id?: string | null;
13686
13745
  render_html?: string | null;
13746
+ resultaat_pdf_base64?: string | null;
13687
13747
  status?: Database["public"]["Enums"]["print_job_status"];
13688
13748
  updated_at?: string;
13689
13749
  volgende_poging?: string | null;
@@ -13802,6 +13862,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13802
13862
  };
13803
13863
  Relationships: [];
13804
13864
  };
13865
+ print_preview_events: {
13866
+ Row: {
13867
+ code: string | null;
13868
+ created_at: string;
13869
+ detail: import("./types").Json;
13870
+ id: string;
13871
+ queue_item_id: string | null;
13872
+ reden: string | null;
13873
+ station_slug: string | null;
13874
+ uitkomst: string;
13875
+ };
13876
+ Insert: {
13877
+ code?: string | null;
13878
+ created_at?: string;
13879
+ detail?: import("./types").Json;
13880
+ id?: string;
13881
+ queue_item_id?: string | null;
13882
+ reden?: string | null;
13883
+ station_slug?: string | null;
13884
+ uitkomst?: string;
13885
+ };
13886
+ Update: {
13887
+ code?: string | null;
13888
+ created_at?: string;
13889
+ detail?: import("./types").Json;
13890
+ id?: string;
13891
+ queue_item_id?: string | null;
13892
+ reden?: string | null;
13893
+ station_slug?: string | null;
13894
+ uitkomst?: string;
13895
+ };
13896
+ Relationships: [];
13897
+ };
13805
13898
  print_queue_runners: {
13806
13899
  Row: {
13807
13900
  actief: boolean;
@@ -14029,6 +14122,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14029
14122
  created_at: string;
14030
14123
  driver: string;
14031
14124
  extern_printer_id: string | null;
14125
+ formaten_bijgewerkt_op: string | null;
14032
14126
  id: string;
14033
14127
  ip_adres: string | null;
14034
14128
  laatst_gezien: string | null;
@@ -14036,8 +14130,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14036
14130
  merk: string;
14037
14131
  naam: string;
14038
14132
  omschrijving: string;
14133
+ ondersteunde_formaten: import("./types").Json | null;
14134
+ ondersteunde_laden: import("./types").Json | null;
14039
14135
  online: boolean;
14040
14136
  papierformaat: string;
14137
+ pdf_map: string | null;
14041
14138
  poort: number | null;
14042
14139
  soort: Database["public"]["Enums"]["printer_kind"];
14043
14140
  systeemnaam: string;
@@ -14051,6 +14148,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14051
14148
  created_at?: string;
14052
14149
  driver?: string;
14053
14150
  extern_printer_id?: string | null;
14151
+ formaten_bijgewerkt_op?: string | null;
14054
14152
  id?: string;
14055
14153
  ip_adres?: string | null;
14056
14154
  laatst_gezien?: string | null;
@@ -14058,8 +14156,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14058
14156
  merk?: string;
14059
14157
  naam: string;
14060
14158
  omschrijving?: string;
14159
+ ondersteunde_formaten?: import("./types").Json | null;
14160
+ ondersteunde_laden?: import("./types").Json | null;
14061
14161
  online?: boolean;
14062
14162
  papierformaat?: string;
14163
+ pdf_map?: string | null;
14063
14164
  poort?: number | null;
14064
14165
  soort?: Database["public"]["Enums"]["printer_kind"];
14065
14166
  systeemnaam?: string;
@@ -14073,6 +14174,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14073
14174
  created_at?: string;
14074
14175
  driver?: string;
14075
14176
  extern_printer_id?: string | null;
14177
+ formaten_bijgewerkt_op?: string | null;
14076
14178
  id?: string;
14077
14179
  ip_adres?: string | null;
14078
14180
  laatst_gezien?: string | null;
@@ -14080,8 +14182,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14080
14182
  merk?: string;
14081
14183
  naam?: string;
14082
14184
  omschrijving?: string;
14185
+ ondersteunde_formaten?: import("./types").Json | null;
14186
+ ondersteunde_laden?: import("./types").Json | null;
14083
14187
  online?: boolean;
14084
14188
  papierformaat?: string;
14189
+ pdf_map?: string | null;
14085
14190
  poort?: number | null;
14086
14191
  soort?: Database["public"]["Enums"]["printer_kind"];
14087
14192
  systeemnaam?: string;
@@ -20329,6 +20434,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20329
20434
  foutmelding: string | null;
20330
20435
  gebruiker_id: string | null;
20331
20436
  gebruiker_naam: string;
20437
+ gebruikte_bron: string | null;
20438
+ gebruikte_layout_id: string | null;
20332
20439
  gestart_op: string | null;
20333
20440
  herkomst: string | null;
20334
20441
  id: string;
@@ -20336,6 +20443,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20336
20443
  is_herprint: boolean;
20337
20444
  kopieen: number;
20338
20445
  layout_id: string | null;
20446
+ lokaal_opgeslagen_op: string | null;
20447
+ lokale_pdf_fout: string | null;
20448
+ lokale_pdf_status: string | null;
20339
20449
  opgepakt_op: string | null;
20340
20450
  paginas: number;
20341
20451
  payload: import("./types").Json;
@@ -20344,6 +20454,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20344
20454
  pogingen: number;
20345
20455
  printer_id: string | null;
20346
20456
  render_html: string | null;
20457
+ resultaat_pdf_base64: string | null;
20347
20458
  status: Database["public"]["Enums"]["print_job_status"];
20348
20459
  updated_at: string;
20349
20460
  volgende_poging: string | null;
@@ -20435,6 +20546,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20435
20546
  isSetofReturn: true;
20436
20547
  };
20437
20548
  };
20549
+ claim_pdf_print_jobs: {
20550
+ Args: {
20551
+ _max?: number;
20552
+ };
20553
+ Returns: {
20554
+ agent_id: string | null;
20555
+ bron_job_id: string | null;
20556
+ created_at: string;
20557
+ documentnaam: string;
20558
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
20559
+ extern_job_id: string | null;
20560
+ foutmelding: string | null;
20561
+ gebruiker_id: string | null;
20562
+ gebruiker_naam: string;
20563
+ gebruikte_bron: string | null;
20564
+ gebruikte_layout_id: string | null;
20565
+ gestart_op: string | null;
20566
+ herkomst: string | null;
20567
+ id: string;
20568
+ idempotentie_sleutel: string | null;
20569
+ is_herprint: boolean;
20570
+ kopieen: number;
20571
+ layout_id: string | null;
20572
+ lokaal_opgeslagen_op: string | null;
20573
+ lokale_pdf_fout: string | null;
20574
+ lokale_pdf_status: string | null;
20575
+ opgepakt_op: string | null;
20576
+ paginas: number;
20577
+ payload: import("./types").Json;
20578
+ pdf_base64: string | null;
20579
+ pdf_url: string | null;
20580
+ pogingen: number;
20581
+ printer_id: string | null;
20582
+ render_html: string | null;
20583
+ resultaat_pdf_base64: string | null;
20584
+ status: Database["public"]["Enums"]["print_job_status"];
20585
+ updated_at: string;
20586
+ volgende_poging: string | null;
20587
+ voltooid_op: string | null;
20588
+ }[];
20589
+ SetofOptions: {
20590
+ from: "*";
20591
+ to: "print_jobs";
20592
+ isOneToOne: false;
20593
+ isSetofReturn: true;
20594
+ };
20595
+ };
20438
20596
  claim_print_jobs: {
20439
20597
  Args: {
20440
20598
  _agent_id: string;
@@ -20450,6 +20608,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20450
20608
  foutmelding: string | null;
20451
20609
  gebruiker_id: string | null;
20452
20610
  gebruiker_naam: string;
20611
+ gebruikte_bron: string | null;
20612
+ gebruikte_layout_id: string | null;
20453
20613
  gestart_op: string | null;
20454
20614
  herkomst: string | null;
20455
20615
  id: string;
@@ -20457,6 +20617,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20457
20617
  is_herprint: boolean;
20458
20618
  kopieen: number;
20459
20619
  layout_id: string | null;
20620
+ lokaal_opgeslagen_op: string | null;
20621
+ lokale_pdf_fout: string | null;
20622
+ lokale_pdf_status: string | null;
20460
20623
  opgepakt_op: string | null;
20461
20624
  paginas: number;
20462
20625
  payload: import("./types").Json;
@@ -20465,6 +20628,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20465
20628
  pogingen: number;
20466
20629
  printer_id: string | null;
20467
20630
  render_html: string | null;
20631
+ resultaat_pdf_base64: string | null;
20468
20632
  status: Database["public"]["Enums"]["print_job_status"];
20469
20633
  updated_at: string;
20470
20634
  volgende_poging: string | null;
@@ -20605,6 +20769,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20605
20769
  order_id: string;
20606
20770
  order_source: string;
20607
20771
  pick_date: string;
20772
+ printed_at: string;
20773
+ printed_today: boolean;
20608
20774
  status: string;
20609
20775
  }[];
20610
20776
  };
@@ -21506,6 +21672,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21506
21672
  };
21507
21673
  Returns: string;
21508
21674
  };
21675
+ logistics_document_type_map: {
21676
+ Args: {
21677
+ _document_code: string;
21678
+ };
21679
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
21680
+ };
21509
21681
  logistics_emit_event: {
21510
21682
  Args: {
21511
21683
  p_event_type: string;
@@ -21680,6 +21852,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21680
21852
  };
21681
21853
  Returns: string;
21682
21854
  };
21855
+ logistics_pick_agenda: {
21856
+ Args: {
21857
+ p_from?: string;
21858
+ p_to?: string;
21859
+ };
21860
+ Returns: {
21861
+ cart_count: number;
21862
+ in_preparation: number;
21863
+ order_count: number;
21864
+ orders: import("./types").Json;
21865
+ pick_date: string;
21866
+ plant_count: number;
21867
+ ready: number;
21868
+ shifted_count: number;
21869
+ }[];
21870
+ };
21683
21871
  logistics_pick_email_purpose: {
21684
21872
  Args: never;
21685
21873
  Returns: string;
@@ -21839,6 +22027,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21839
22027
  };
21840
22028
  Returns: import("./types").Json;
21841
22029
  };
22030
+ logistics_resolve_pick_document: {
22031
+ Args: {
22032
+ _is_herprint: boolean;
22033
+ _queue_item_id: string;
22034
+ _session_id: string;
22035
+ _voorbeeld: boolean;
22036
+ };
22037
+ Returns: import("./types").Json;
22038
+ };
21842
22039
  logistics_resolve_settings: {
21843
22040
  Args: {
21844
22041
  p_config_id: string;
@@ -22279,6 +22476,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22279
22476
  };
22280
22477
  pick_enqueue_print_job: {
22281
22478
  Args: {
22479
+ _is_herprint?: boolean;
22282
22480
  _printer_id?: string;
22283
22481
  _queue_item_id: string;
22284
22482
  _session_id?: string;
@@ -22292,6 +22490,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22292
22490
  };
22293
22491
  Returns: import("./types").Json;
22294
22492
  };
22493
+ pick_preview_job: {
22494
+ Args: {
22495
+ _queue_item_id: string;
22496
+ _station_slug: string;
22497
+ };
22498
+ Returns: import("./types").Json;
22499
+ };
22295
22500
  pick_print_job_status: {
22296
22501
  Args: {
22297
22502
  _job_id: string;
@@ -22469,6 +22674,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22469
22674
  };
22470
22675
  Returns: undefined;
22471
22676
  };
22677
+ print_preview_toestaan: {
22678
+ Args: {
22679
+ _max?: number;
22680
+ _queue_item_id: string;
22681
+ _station_slug: string;
22682
+ _venster_sec?: number;
22683
+ };
22684
+ Returns: import("./types").Json;
22685
+ };
22686
+ print_preview_weiger: {
22687
+ Args: {
22688
+ _code: string;
22689
+ _queue_item_id: string;
22690
+ _reden: string;
22691
+ _station_slug: string;
22692
+ };
22693
+ Returns: undefined;
22694
+ };
22472
22695
  process_logistics_event: {
22473
22696
  Args: {
22474
22697
  p_event_id: string;
@@ -22586,6 +22809,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22586
22809
  };
22587
22810
  Returns: undefined;
22588
22811
  };
22812
+ replace_order_carts: {
22813
+ Args: {
22814
+ p_buffer_id: string;
22815
+ p_carts: import("./types").Json;
22816
+ p_order_id: string;
22817
+ };
22818
+ Returns: import("./types").Json;
22819
+ };
22589
22820
  reset_floriday_sync_cursor: {
22590
22821
  Args: {
22591
22822
  p_connection_id: string;
@@ -22615,6 +22846,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22615
22846
  };
22616
22847
  Returns: string;
22617
22848
  };
22849
+ resolve_print_job_printer_id: {
22850
+ Args: {
22851
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
22852
+ };
22853
+ Returns: string;
22854
+ };
22618
22855
  resolve_product_id_for_item: {
22619
22856
  Args: {
22620
22857
  p_product_name: string;
@@ -23206,7 +23443,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23206
23443
  };
23207
23444
  CompositeTypes: { [_ in never]: never; };
23208
23445
  }, {
23209
- PostgrestVersion: "14.17";
23446
+ PostgrestVersion: "14.5";
23210
23447
  }>;
23211
23448
  userId: string;
23212
23449
  claims: import("@supabase/auth-js").JwtPayload;