@flowselections/floriday-afhandeling-module 1.0.80 → 1.0.84

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.
@@ -6092,6 +6092,36 @@ export type Database = {
6092
6092
  };
6093
6093
  Relationships: [];
6094
6094
  };
6095
+ floricode_derived_list_state: {
6096
+ Row: {
6097
+ changed: number;
6098
+ cursor_record_id: string | null;
6099
+ done_at: string | null;
6100
+ list_name: string;
6101
+ pass_started_at: string | null;
6102
+ processed: number;
6103
+ updated_at: string;
6104
+ };
6105
+ Insert: {
6106
+ changed?: number;
6107
+ cursor_record_id?: string | null;
6108
+ done_at?: string | null;
6109
+ list_name: string;
6110
+ pass_started_at?: string | null;
6111
+ processed?: number;
6112
+ updated_at?: string;
6113
+ };
6114
+ Update: {
6115
+ changed?: number;
6116
+ cursor_record_id?: string | null;
6117
+ done_at?: string | null;
6118
+ list_name?: string;
6119
+ pass_started_at?: string | null;
6120
+ processed?: number;
6121
+ updated_at?: string;
6122
+ };
6123
+ Relationships: [];
6124
+ };
6095
6125
  floricode_records: {
6096
6126
  Row: {
6097
6127
  change_date_time: string | null;
@@ -7216,6 +7246,24 @@ export type Database = {
7216
7246
  }
7217
7247
  ];
7218
7248
  };
7249
+ floriday_cron_secret: {
7250
+ Row: {
7251
+ created_at: string;
7252
+ id: number;
7253
+ secret: string;
7254
+ };
7255
+ Insert: {
7256
+ created_at?: string;
7257
+ id?: number;
7258
+ secret: string;
7259
+ };
7260
+ Update: {
7261
+ created_at?: string;
7262
+ id?: number;
7263
+ secret?: string;
7264
+ };
7265
+ Relationships: [];
7266
+ };
7219
7267
  floriday_customer_offers_cache: {
7220
7268
  Row: {
7221
7269
  connection_id: string;
@@ -11691,6 +11739,33 @@ export type Database = {
11691
11739
  };
11692
11740
  Relationships: [];
11693
11741
  };
11742
+ klanten_correctie_log: {
11743
+ Row: {
11744
+ aanroeper: string | null;
11745
+ created_at: string;
11746
+ functie: string;
11747
+ id: string;
11748
+ resultaat: Json;
11749
+ uitgevoerd: boolean;
11750
+ };
11751
+ Insert: {
11752
+ aanroeper?: string | null;
11753
+ created_at?: string;
11754
+ functie: string;
11755
+ id?: string;
11756
+ resultaat: Json;
11757
+ uitgevoerd: boolean;
11758
+ };
11759
+ Update: {
11760
+ aanroeper?: string | null;
11761
+ created_at?: string;
11762
+ functie?: string;
11763
+ id?: string;
11764
+ resultaat?: Json;
11765
+ uitgevoerd?: boolean;
11766
+ };
11767
+ Relationships: [];
11768
+ };
11694
11769
  layout_auto_acties: {
11695
11770
  Row: {
11696
11771
  actie: string;
@@ -16968,6 +17043,7 @@ export type Database = {
16968
17043
  sort_order: number;
16969
17044
  sticker_available: boolean;
16970
17045
  sticker_cost: number | null;
17046
+ zero_price_confirmed: boolean;
16971
17047
  };
16972
17048
  Insert: {
16973
17049
  available_stock?: number;
@@ -16987,6 +17063,7 @@ export type Database = {
16987
17063
  sort_order?: number;
16988
17064
  sticker_available?: boolean;
16989
17065
  sticker_cost?: number | null;
17066
+ zero_price_confirmed?: boolean;
16990
17067
  };
16991
17068
  Update: {
16992
17069
  available_stock?: number;
@@ -17006,6 +17083,7 @@ export type Database = {
17006
17083
  sort_order?: number;
17007
17084
  sticker_available?: boolean;
17008
17085
  sticker_cost?: number | null;
17086
+ zero_price_confirmed?: boolean;
17009
17087
  };
17010
17088
  Relationships: [
17011
17089
  {
@@ -17031,6 +17109,7 @@ export type Database = {
17031
17109
  status: string;
17032
17110
  subject: string;
17033
17111
  updated_at: string;
17112
+ valid_until: string | null;
17034
17113
  };
17035
17114
  Insert: {
17036
17115
  created_at?: string;
@@ -17045,6 +17124,7 @@ export type Database = {
17045
17124
  status?: string;
17046
17125
  subject: string;
17047
17126
  updated_at?: string;
17127
+ valid_until?: string | null;
17048
17128
  };
17049
17129
  Update: {
17050
17130
  created_at?: string;
@@ -17059,6 +17139,7 @@ export type Database = {
17059
17139
  status?: string;
17060
17140
  subject?: string;
17061
17141
  updated_at?: string;
17142
+ valid_until?: string | null;
17062
17143
  };
17063
17144
  Relationships: [];
17064
17145
  };
@@ -17107,6 +17188,8 @@ export type Database = {
17107
17188
  offer_orders: {
17108
17189
  Row: {
17109
17190
  campaign_id: string;
17191
+ carrier_warning: string | null;
17192
+ carrier_warning_at: string | null;
17110
17193
  created_at: string;
17111
17194
  customer_email: string;
17112
17195
  customer_id: string | null;
@@ -17115,6 +17198,9 @@ export type Database = {
17115
17198
  id: string;
17116
17199
  items: Json;
17117
17200
  notes: string | null;
17201
+ office_notification_at: string | null;
17202
+ office_notification_reason: string | null;
17203
+ office_notification_status: string | null;
17118
17204
  order_creation_attempts: number;
17119
17205
  order_creation_error: string | null;
17120
17206
  order_creation_failed_at: string | null;
@@ -17126,6 +17212,8 @@ export type Database = {
17126
17212
  };
17127
17213
  Insert: {
17128
17214
  campaign_id: string;
17215
+ carrier_warning?: string | null;
17216
+ carrier_warning_at?: string | null;
17129
17217
  created_at?: string;
17130
17218
  customer_email: string;
17131
17219
  customer_id?: string | null;
@@ -17134,6 +17222,9 @@ export type Database = {
17134
17222
  id?: string;
17135
17223
  items?: Json;
17136
17224
  notes?: string | null;
17225
+ office_notification_at?: string | null;
17226
+ office_notification_reason?: string | null;
17227
+ office_notification_status?: string | null;
17137
17228
  order_creation_attempts?: number;
17138
17229
  order_creation_error?: string | null;
17139
17230
  order_creation_failed_at?: string | null;
@@ -17145,6 +17236,8 @@ export type Database = {
17145
17236
  };
17146
17237
  Update: {
17147
17238
  campaign_id?: string;
17239
+ carrier_warning?: string | null;
17240
+ carrier_warning_at?: string | null;
17148
17241
  created_at?: string;
17149
17242
  customer_email?: string;
17150
17243
  customer_id?: string | null;
@@ -17153,6 +17246,9 @@ export type Database = {
17153
17246
  id?: string;
17154
17247
  items?: Json;
17155
17248
  notes?: string | null;
17249
+ office_notification_at?: string | null;
17250
+ office_notification_reason?: string | null;
17251
+ office_notification_status?: string | null;
17156
17252
  order_creation_attempts?: number;
17157
17253
  order_creation_error?: string | null;
17158
17254
  order_creation_failed_at?: string | null;
@@ -18825,6 +18921,74 @@ export type Database = {
18825
18921
  }
18826
18922
  ];
18827
18923
  };
18924
+ pick_settings: {
18925
+ Row: {
18926
+ created_at: string;
18927
+ device_key_required: boolean;
18928
+ id: boolean;
18929
+ updated_at: string;
18930
+ };
18931
+ Insert: {
18932
+ created_at?: string;
18933
+ device_key_required?: boolean;
18934
+ id?: boolean;
18935
+ updated_at?: string;
18936
+ };
18937
+ Update: {
18938
+ created_at?: string;
18939
+ device_key_required?: boolean;
18940
+ id?: boolean;
18941
+ updated_at?: string;
18942
+ };
18943
+ Relationships: [];
18944
+ };
18945
+ pick_station_devices: {
18946
+ Row: {
18947
+ aangemaakt_door: string | null;
18948
+ created_at: string;
18949
+ id: string;
18950
+ ingetrokken_door: string | null;
18951
+ ingetrokken_op: string | null;
18952
+ key_hash: string;
18953
+ laatst_gezien: string | null;
18954
+ naam: string | null;
18955
+ station_id: string;
18956
+ updated_at: string;
18957
+ };
18958
+ Insert: {
18959
+ aangemaakt_door?: string | null;
18960
+ created_at?: string;
18961
+ id?: string;
18962
+ ingetrokken_door?: string | null;
18963
+ ingetrokken_op?: string | null;
18964
+ key_hash: string;
18965
+ laatst_gezien?: string | null;
18966
+ naam?: string | null;
18967
+ station_id: string;
18968
+ updated_at?: string;
18969
+ };
18970
+ Update: {
18971
+ aangemaakt_door?: string | null;
18972
+ created_at?: string;
18973
+ id?: string;
18974
+ ingetrokken_door?: string | null;
18975
+ ingetrokken_op?: string | null;
18976
+ key_hash?: string;
18977
+ laatst_gezien?: string | null;
18978
+ naam?: string | null;
18979
+ station_id?: string;
18980
+ updated_at?: string;
18981
+ };
18982
+ Relationships: [
18983
+ {
18984
+ foreignKeyName: "pick_station_devices_station_id_fkey";
18985
+ columns: ["station_id"];
18986
+ isOneToOne: false;
18987
+ referencedRelation: "pick_stations";
18988
+ referencedColumns: ["id"];
18989
+ }
18990
+ ];
18991
+ };
18828
18992
  pick_station_heartbeats: {
18829
18993
  Row: {
18830
18994
  browser: string | null;
@@ -18957,6 +19121,53 @@ export type Database = {
18957
19121
  };
18958
19122
  Relationships: [];
18959
19123
  };
19124
+ pick_station_pair_codes: {
19125
+ Row: {
19126
+ aangemaakt_door: string | null;
19127
+ code_hash: string;
19128
+ created_at: string;
19129
+ device_id: string | null;
19130
+ gebruikt_op: string | null;
19131
+ geldig_tot: string;
19132
+ id: string;
19133
+ pogingen: number;
19134
+ station_id: string;
19135
+ vervallen_op: string | null;
19136
+ };
19137
+ Insert: {
19138
+ aangemaakt_door?: string | null;
19139
+ code_hash: string;
19140
+ created_at?: string;
19141
+ device_id?: string | null;
19142
+ gebruikt_op?: string | null;
19143
+ geldig_tot: string;
19144
+ id?: string;
19145
+ pogingen?: number;
19146
+ station_id: string;
19147
+ vervallen_op?: string | null;
19148
+ };
19149
+ Update: {
19150
+ aangemaakt_door?: string | null;
19151
+ code_hash?: string;
19152
+ created_at?: string;
19153
+ device_id?: string | null;
19154
+ gebruikt_op?: string | null;
19155
+ geldig_tot?: string;
19156
+ id?: string;
19157
+ pogingen?: number;
19158
+ station_id?: string;
19159
+ vervallen_op?: string | null;
19160
+ };
19161
+ Relationships: [
19162
+ {
19163
+ foreignKeyName: "pick_station_pair_codes_station_id_fkey";
19164
+ columns: ["station_id"];
19165
+ isOneToOne: false;
19166
+ referencedRelation: "pick_stations";
19167
+ referencedColumns: ["id"];
19168
+ }
19169
+ ];
19170
+ };
18960
19171
  pick_station_permissions: {
18961
19172
  Row: {
18962
19173
  can_break_lock: boolean;
@@ -19128,6 +19339,29 @@ export type Database = {
19128
19339
  }
19129
19340
  ];
19130
19341
  };
19342
+ pick_station_signals: {
19343
+ Row: {
19344
+ signaal_op: string;
19345
+ station_id: string;
19346
+ };
19347
+ Insert: {
19348
+ signaal_op?: string;
19349
+ station_id: string;
19350
+ };
19351
+ Update: {
19352
+ signaal_op?: string;
19353
+ station_id?: string;
19354
+ };
19355
+ Relationships: [
19356
+ {
19357
+ foreignKeyName: "pick_station_signals_station_id_fkey";
19358
+ columns: ["station_id"];
19359
+ isOneToOne: true;
19360
+ referencedRelation: "pick_stations";
19361
+ referencedColumns: ["id"];
19362
+ }
19363
+ ];
19364
+ };
19131
19365
  pick_station_tasks: {
19132
19366
  Row: {
19133
19367
  active: boolean;
@@ -20402,6 +20636,7 @@ export type Database = {
20402
20636
  render_html: string | null;
20403
20637
  resultaat_pdf_base64: string | null;
20404
20638
  status: Database["public"]["Enums"]["print_job_status"];
20639
+ uitwijk: Json | null;
20405
20640
  updated_at: string;
20406
20641
  verloopt_na_s: number | null;
20407
20642
  verwerkingsfase: string;
@@ -20458,6 +20693,7 @@ export type Database = {
20458
20693
  render_html?: string | null;
20459
20694
  resultaat_pdf_base64?: string | null;
20460
20695
  status?: Database["public"]["Enums"]["print_job_status"];
20696
+ uitwijk?: Json | null;
20461
20697
  updated_at?: string;
20462
20698
  verloopt_na_s?: number | null;
20463
20699
  verwerkingsfase?: string;
@@ -20514,6 +20750,7 @@ export type Database = {
20514
20750
  render_html?: string | null;
20515
20751
  resultaat_pdf_base64?: string | null;
20516
20752
  status?: Database["public"]["Enums"]["print_job_status"];
20753
+ uitwijk?: Json | null;
20517
20754
  updated_at?: string;
20518
20755
  verloopt_na_s?: number | null;
20519
20756
  verwerkingsfase?: string;
@@ -23079,6 +23316,107 @@ export type Database = {
23079
23316
  };
23080
23317
  Relationships: [];
23081
23318
  };
23319
+ scan_apparaat_koppelcodes: {
23320
+ Row: {
23321
+ aangemaakt_door: string | null;
23322
+ apparaat_id: string | null;
23323
+ code_hash: string;
23324
+ created_at: string;
23325
+ gebruikt_op: string | null;
23326
+ geldig_tot: string;
23327
+ id: string;
23328
+ pogingen: number;
23329
+ scanner_id: string;
23330
+ vervallen_op: string | null;
23331
+ };
23332
+ Insert: {
23333
+ aangemaakt_door?: string | null;
23334
+ apparaat_id?: string | null;
23335
+ code_hash: string;
23336
+ created_at?: string;
23337
+ gebruikt_op?: string | null;
23338
+ geldig_tot: string;
23339
+ id?: string;
23340
+ pogingen?: number;
23341
+ scanner_id: string;
23342
+ vervallen_op?: string | null;
23343
+ };
23344
+ Update: {
23345
+ aangemaakt_door?: string | null;
23346
+ apparaat_id?: string | null;
23347
+ code_hash?: string;
23348
+ created_at?: string;
23349
+ gebruikt_op?: string | null;
23350
+ geldig_tot?: string;
23351
+ id?: string;
23352
+ pogingen?: number;
23353
+ scanner_id?: string;
23354
+ vervallen_op?: string | null;
23355
+ };
23356
+ Relationships: [
23357
+ {
23358
+ foreignKeyName: "scan_apparaat_koppelcodes_apparaat_id_fkey";
23359
+ columns: ["apparaat_id"];
23360
+ isOneToOne: false;
23361
+ referencedRelation: "scan_apparaten";
23362
+ referencedColumns: ["id"];
23363
+ },
23364
+ {
23365
+ foreignKeyName: "scan_apparaat_koppelcodes_scanner_id_fkey";
23366
+ columns: ["scanner_id"];
23367
+ isOneToOne: false;
23368
+ referencedRelation: "scan_scanners";
23369
+ referencedColumns: ["id"];
23370
+ }
23371
+ ];
23372
+ };
23373
+ scan_apparaten: {
23374
+ Row: {
23375
+ aangemaakt_door: string | null;
23376
+ created_at: string;
23377
+ id: string;
23378
+ ingetrokken_door: string | null;
23379
+ ingetrokken_op: string | null;
23380
+ laatst_gezien: string | null;
23381
+ naam: string | null;
23382
+ scanner_id: string;
23383
+ sleutel_hash: string;
23384
+ updated_at: string;
23385
+ };
23386
+ Insert: {
23387
+ aangemaakt_door?: string | null;
23388
+ created_at?: string;
23389
+ id?: string;
23390
+ ingetrokken_door?: string | null;
23391
+ ingetrokken_op?: string | null;
23392
+ laatst_gezien?: string | null;
23393
+ naam?: string | null;
23394
+ scanner_id: string;
23395
+ sleutel_hash: string;
23396
+ updated_at?: string;
23397
+ };
23398
+ Update: {
23399
+ aangemaakt_door?: string | null;
23400
+ created_at?: string;
23401
+ id?: string;
23402
+ ingetrokken_door?: string | null;
23403
+ ingetrokken_op?: string | null;
23404
+ laatst_gezien?: string | null;
23405
+ naam?: string | null;
23406
+ scanner_id?: string;
23407
+ sleutel_hash?: string;
23408
+ updated_at?: string;
23409
+ };
23410
+ Relationships: [
23411
+ {
23412
+ foreignKeyName: "scan_apparaten_scanner_id_fkey";
23413
+ columns: ["scanner_id"];
23414
+ isOneToOne: false;
23415
+ referencedRelation: "scan_scanners";
23416
+ referencedColumns: ["id"];
23417
+ }
23418
+ ];
23419
+ };
23082
23420
  scan_kar_items: {
23083
23421
  Row: {
23084
23422
  barcode: string;
@@ -23482,6 +23820,35 @@ export type Database = {
23482
23820
  };
23483
23821
  Relationships: [];
23484
23822
  };
23823
+ scan_pin_pogingen: {
23824
+ Row: {
23825
+ fout_pogingen: number;
23826
+ geblokkeerd_tot: string | null;
23827
+ scanner_id: string;
23828
+ updated_at: string;
23829
+ };
23830
+ Insert: {
23831
+ fout_pogingen?: number;
23832
+ geblokkeerd_tot?: string | null;
23833
+ scanner_id: string;
23834
+ updated_at?: string;
23835
+ };
23836
+ Update: {
23837
+ fout_pogingen?: number;
23838
+ geblokkeerd_tot?: string | null;
23839
+ scanner_id?: string;
23840
+ updated_at?: string;
23841
+ };
23842
+ Relationships: [
23843
+ {
23844
+ foreignKeyName: "scan_pin_pogingen_scanner_id_fkey";
23845
+ columns: ["scanner_id"];
23846
+ isOneToOne: true;
23847
+ referencedRelation: "scan_scanners";
23848
+ referencedColumns: ["id"];
23849
+ }
23850
+ ];
23851
+ };
23485
23852
  scan_restpakbonnen: {
23486
23853
  Row: {
23487
23854
  barcode: string;
@@ -26168,6 +26535,7 @@ export type Database = {
26168
26535
  cron_timeouts: Json;
26169
26536
  id: number;
26170
26537
  public_base_url: string | null;
26538
+ token_route_bearer_open: boolean;
26171
26539
  updated_at: string;
26172
26540
  };
26173
26541
  Insert: {
@@ -26178,6 +26546,7 @@ export type Database = {
26178
26546
  cron_timeouts?: Json;
26179
26547
  id?: number;
26180
26548
  public_base_url?: string | null;
26549
+ token_route_bearer_open?: boolean;
26181
26550
  updated_at?: string;
26182
26551
  };
26183
26552
  Update: {
@@ -26188,6 +26557,7 @@ export type Database = {
26188
26557
  cron_timeouts?: Json;
26189
26558
  id?: number;
26190
26559
  public_base_url?: string | null;
26560
+ token_route_bearer_open?: boolean;
26191
26561
  updated_at?: string;
26192
26562
  };
26193
26563
  Relationships: [];
@@ -26417,6 +26787,42 @@ export type Database = {
26417
26787
  }
26418
26788
  ];
26419
26789
  };
26790
+ twinfield_token_issue_log: {
26791
+ Row: {
26792
+ acting_user_id: string | null;
26793
+ caller_kind: string;
26794
+ connection_id: string | null;
26795
+ id: string;
26796
+ issued_at: string;
26797
+ module_id: string | null;
26798
+ outcome: string;
26799
+ route: string;
26800
+ user_id: string | null;
26801
+ };
26802
+ Insert: {
26803
+ acting_user_id?: string | null;
26804
+ caller_kind: string;
26805
+ connection_id?: string | null;
26806
+ id?: string;
26807
+ issued_at?: string;
26808
+ module_id?: string | null;
26809
+ outcome: string;
26810
+ route: string;
26811
+ user_id?: string | null;
26812
+ };
26813
+ Update: {
26814
+ acting_user_id?: string | null;
26815
+ caller_kind?: string;
26816
+ connection_id?: string | null;
26817
+ id?: string;
26818
+ issued_at?: string;
26819
+ module_id?: string | null;
26820
+ outcome?: string;
26821
+ route?: string;
26822
+ user_id?: string | null;
26823
+ };
26824
+ Relationships: [];
26825
+ };
26420
26826
  twinfield_vat_code_map: {
26421
26827
  Row: {
26422
26828
  confirmed_at: string | null;
@@ -27313,6 +27719,51 @@ export type Database = {
27313
27719
  }
27314
27720
  ];
27315
27721
  };
27722
+ verkoop_correctie_log: {
27723
+ Row: {
27724
+ aantal_orders: number;
27725
+ aantal_orders_gewijzigd: number;
27726
+ aantal_overgeslagen: number;
27727
+ aantal_regels_gewijzigd: number;
27728
+ correctie: string;
27729
+ created_at: string;
27730
+ details: Json;
27731
+ door_label: string;
27732
+ id: string;
27733
+ uitgevoerd_door: string | null;
27734
+ uitgevoerd_op: string;
27735
+ uitvoeren: boolean;
27736
+ };
27737
+ Insert: {
27738
+ aantal_orders?: number;
27739
+ aantal_orders_gewijzigd?: number;
27740
+ aantal_overgeslagen?: number;
27741
+ aantal_regels_gewijzigd?: number;
27742
+ correctie: string;
27743
+ created_at?: string;
27744
+ details?: Json;
27745
+ door_label: string;
27746
+ id?: string;
27747
+ uitgevoerd_door?: string | null;
27748
+ uitgevoerd_op?: string;
27749
+ uitvoeren: boolean;
27750
+ };
27751
+ Update: {
27752
+ aantal_orders?: number;
27753
+ aantal_orders_gewijzigd?: number;
27754
+ aantal_overgeslagen?: number;
27755
+ aantal_regels_gewijzigd?: number;
27756
+ correctie?: string;
27757
+ created_at?: string;
27758
+ details?: Json;
27759
+ door_label?: string;
27760
+ id?: string;
27761
+ uitgevoerd_door?: string | null;
27762
+ uitgevoerd_op?: string;
27763
+ uitvoeren?: boolean;
27764
+ };
27765
+ Relationships: [];
27766
+ };
27316
27767
  voorraad_buffer_state: {
27317
27768
  Row: {
27318
27769
  buffer_id: string;
@@ -27343,6 +27794,36 @@ export type Database = {
27343
27794
  };
27344
27795
  Relationships: [];
27345
27796
  };
27797
+ voorraad_correcties: {
27798
+ Row: {
27799
+ aantallen: Json;
27800
+ correctie: string;
27801
+ hash_ok: boolean | null;
27802
+ id: string;
27803
+ proef: boolean;
27804
+ uitgevoerd_door: string;
27805
+ uitgevoerd_op: string;
27806
+ };
27807
+ Insert: {
27808
+ aantallen?: Json;
27809
+ correctie: string;
27810
+ hash_ok?: boolean | null;
27811
+ id?: string;
27812
+ proef: boolean;
27813
+ uitgevoerd_door: string;
27814
+ uitgevoerd_op?: string;
27815
+ };
27816
+ Update: {
27817
+ aantallen?: Json;
27818
+ correctie?: string;
27819
+ hash_ok?: boolean | null;
27820
+ id?: string;
27821
+ proef?: boolean;
27822
+ uitgevoerd_door?: string;
27823
+ uitgevoerd_op?: string;
27824
+ };
27825
+ Relationships: [];
27826
+ };
27346
27827
  voorraad_custom_fields: {
27347
27828
  Row: {
27348
27829
  created_at: string;
@@ -30024,6 +30505,10 @@ export type Database = {
30024
30505
  };
30025
30506
  Returns: number;
30026
30507
  };
30508
+ _floriday_write_mode_data: {
30509
+ Args: never;
30510
+ Returns: Json;
30511
+ };
30027
30512
  _jsonb_paden_met_waarde: {
30028
30513
  Args: {
30029
30514
  _j: Json;
@@ -30043,6 +30528,13 @@ export type Database = {
30043
30528
  };
30044
30529
  Returns: undefined;
30045
30530
  };
30531
+ _pick_job_of_station: {
30532
+ Args: {
30533
+ p_job_id: string;
30534
+ p_station: string;
30535
+ };
30536
+ Returns: boolean;
30537
+ };
30046
30538
  _pick_station_for_cart: {
30047
30539
  Args: {
30048
30540
  p_cart_id: string;
@@ -30068,6 +30560,63 @@ export type Database = {
30068
30560
  };
30069
30561
  Returns: Json;
30070
30562
  };
30563
+ _scan_alleen_gekoppeld: {
30564
+ Args: never;
30565
+ Returns: boolean;
30566
+ };
30567
+ _scan_assert_beheer: {
30568
+ Args: never;
30569
+ Returns: undefined;
30570
+ };
30571
+ _scan_assert_device: {
30572
+ Args: {
30573
+ p_device_key: string;
30574
+ };
30575
+ Returns: string;
30576
+ };
30577
+ _scan_assert_legacy: {
30578
+ Args: never;
30579
+ Returns: undefined;
30580
+ };
30581
+ _scan_check_kar: {
30582
+ Args: {
30583
+ p_kar_id: string;
30584
+ v: string;
30585
+ };
30586
+ Returns: undefined;
30587
+ };
30588
+ _scan_check_scanner: {
30589
+ Args: {
30590
+ p: string;
30591
+ v: string;
30592
+ };
30593
+ Returns: string;
30594
+ };
30595
+ _scan_check_sessie: {
30596
+ Args: {
30597
+ p_sessie_id: string;
30598
+ v: string;
30599
+ };
30600
+ Returns: undefined;
30601
+ };
30602
+ _scan_floriday_stand: {
30603
+ Args: never;
30604
+ Returns: Json;
30605
+ };
30606
+ _scan_hash: {
30607
+ Args: {
30608
+ p: string;
30609
+ };
30610
+ Returns: string;
30611
+ };
30612
+ _scan_is_beheer: {
30613
+ Args: never;
30614
+ Returns: boolean;
30615
+ };
30616
+ _scan_is_server: {
30617
+ Args: never;
30618
+ Returns: boolean;
30619
+ };
30071
30620
  _scan_kar_floriday_afgehandeld: {
30072
30621
  Args: {
30073
30622
  p_cart_id: string;
@@ -30087,6 +30636,10 @@ export type Database = {
30087
30636
  };
30088
30637
  Returns: Json;
30089
30638
  };
30639
+ _scan_vertrouwd: {
30640
+ Args: never;
30641
+ Returns: boolean;
30642
+ };
30090
30643
  _stock_import_caller: {
30091
30644
  Args: {
30092
30645
  p_owner: string;
@@ -30097,6 +30650,73 @@ export type Database = {
30097
30650
  Args: never;
30098
30651
  Returns: boolean;
30099
30652
  };
30653
+ aanbiedingsmail_assert_caller: {
30654
+ Args: {
30655
+ p_level: string;
30656
+ };
30657
+ Returns: undefined;
30658
+ };
30659
+ aanbiedingsmail_create_order: {
30660
+ Args: {
30661
+ p_offer_order_id: string;
30662
+ };
30663
+ Returns: Json;
30664
+ };
30665
+ aanbiedingsmail_ensure_cron: {
30666
+ Args: never;
30667
+ Returns: Json;
30668
+ };
30669
+ aanbiedingsmail_install_check: {
30670
+ Args: never;
30671
+ Returns: Json;
30672
+ };
30673
+ aanbiedingsmail_is_server: {
30674
+ Args: never;
30675
+ Returns: boolean;
30676
+ };
30677
+ aanbiedingsmail_koppel_producten: {
30678
+ Args: {
30679
+ p_uitvoeren?: boolean;
30680
+ };
30681
+ Returns: Json;
30682
+ };
30683
+ aanbiedingsmail_link_status: {
30684
+ Args: {
30685
+ p_code: string;
30686
+ };
30687
+ Returns: Json;
30688
+ };
30689
+ aanbiedingsmail_notify_office: {
30690
+ Args: {
30691
+ p_offer_order_id: string;
30692
+ };
30693
+ Returns: Json;
30694
+ };
30695
+ aanbiedingsmail_place_offer_order: {
30696
+ Args: {
30697
+ p_code: string;
30698
+ p_customer_email: string;
30699
+ p_customer_name: string;
30700
+ p_customer_phone: string;
30701
+ p_items: Json;
30702
+ p_notes: string;
30703
+ p_retry_payload: Json;
30704
+ p_total: number;
30705
+ };
30706
+ Returns: Json;
30707
+ };
30708
+ aanbiedingsmail_resolve_product_id: {
30709
+ Args: {
30710
+ p_ref: string;
30711
+ };
30712
+ Returns: string;
30713
+ };
30714
+ aanbiedingsmail_stock_key: {
30715
+ Args: {
30716
+ p_ref: string;
30717
+ };
30718
+ Returns: string;
30719
+ };
30100
30720
  afh_assert_ingelogd: {
30101
30721
  Args: never;
30102
30722
  Returns: undefined;
@@ -30300,6 +30920,17 @@ export type Database = {
30300
30920
  };
30301
30921
  Returns: Json;
30302
30922
  };
30923
+ afh_signup_moment_for_orders: {
30924
+ Args: {
30925
+ p_order_ids: string[];
30926
+ };
30927
+ Returns: {
30928
+ aanmeld_at: string;
30929
+ bron: string;
30930
+ carrier_id: string;
30931
+ order_id: string;
30932
+ }[];
30933
+ };
30303
30934
  afh_signup_send_group: {
30304
30935
  Args: {
30305
30936
  g: Json;
@@ -30341,6 +30972,26 @@ export type Database = {
30341
30972
  Args: never;
30342
30973
  Returns: Json;
30343
30974
  };
30975
+ ai_catalog: {
30976
+ Args: never;
30977
+ Returns: Json;
30978
+ };
30979
+ ai_declare_installatietechniek_werkbonnen_planner: {
30980
+ Args: never;
30981
+ Returns: Json;
30982
+ };
30983
+ ai_declare_klanten_stickers: {
30984
+ Args: never;
30985
+ Returns: Json;
30986
+ };
30987
+ ai_declare_mailbox_bestellingen: {
30988
+ Args: never;
30989
+ Returns: Json;
30990
+ };
30991
+ ai_declare_werkbon_postvak: {
30992
+ Args: never;
30993
+ Returns: Json;
30994
+ };
30344
30995
  ai_is_admin: {
30345
30996
  Args: {
30346
30997
  _uid: string;
@@ -30361,6 +31012,10 @@ export type Database = {
30361
31012
  };
30362
31013
  Returns: boolean;
30363
31014
  };
31015
+ ai_sync_catalog: {
31016
+ Args: never;
31017
+ Returns: Json;
31018
+ };
30364
31019
  ai_usage_by_module: {
30365
31020
  Args: {
30366
31021
  _from: string;
@@ -30619,6 +31274,7 @@ export type Database = {
30619
31274
  render_html: string | null;
30620
31275
  resultaat_pdf_base64: string | null;
30621
31276
  status: Database["public"]["Enums"]["print_job_status"];
31277
+ uitwijk: Json | null;
30622
31278
  updated_at: string;
30623
31279
  verloopt_na_s: number | null;
30624
31280
  verwerkingsfase: string;
@@ -30817,6 +31473,7 @@ export type Database = {
30817
31473
  render_html: string | null;
30818
31474
  resultaat_pdf_base64: string | null;
30819
31475
  status: Database["public"]["Enums"]["print_job_status"];
31476
+ uitwijk: Json | null;
30820
31477
  updated_at: string;
30821
31478
  verloopt_na_s: number | null;
30822
31479
  verwerkingsfase: string;
@@ -30885,6 +31542,7 @@ export type Database = {
30885
31542
  render_html: string | null;
30886
31543
  resultaat_pdf_base64: string | null;
30887
31544
  status: Database["public"]["Enums"]["print_job_status"];
31545
+ uitwijk: Json | null;
30888
31546
  updated_at: string;
30889
31547
  verloopt_na_s: number | null;
30890
31548
  verwerkingsfase: string;
@@ -31290,6 +31948,16 @@ export type Database = {
31290
31948
  };
31291
31949
  Returns: string;
31292
31950
  };
31951
+ email_auth_enqueue_internal: {
31952
+ Args: {
31953
+ p_dedupe_key: string;
31954
+ p_from_name: string;
31955
+ p_html: string;
31956
+ p_source_module: string;
31957
+ p_subject: string;
31958
+ };
31959
+ Returns: Json;
31960
+ };
31293
31961
  email_auth_fetch_message: {
31294
31962
  Args: {
31295
31963
  _connection_id: string;
@@ -31313,6 +31981,14 @@ export type Database = {
31313
31981
  status: string;
31314
31982
  }[];
31315
31983
  };
31984
+ email_auth_install_check: {
31985
+ Args: never;
31986
+ Returns: Json;
31987
+ };
31988
+ email_auth_is_server_call: {
31989
+ Args: never;
31990
+ Returns: boolean;
31991
+ };
31316
31992
  email_auth_upsert_connection: {
31317
31993
  Args: {
31318
31994
  _account_email: string;
@@ -31436,6 +32112,30 @@ export type Database = {
31436
32112
  };
31437
32113
  Returns: boolean;
31438
32114
  };
32115
+ floricode_load_carriers: {
32116
+ Args: never;
32117
+ Returns: {
32118
+ code: string;
32119
+ environment: string;
32120
+ height_mm: number;
32121
+ length_mm: number;
32122
+ name: string;
32123
+ width_mm: number;
32124
+ }[];
32125
+ };
32126
+ floricode_packaging_types: {
32127
+ Args: never;
32128
+ Returns: {
32129
+ code: string;
32130
+ expiry_date: string;
32131
+ height_mm: number;
32132
+ length_mm: number;
32133
+ name: string;
32134
+ packaging_type_id: string;
32135
+ packaging_type_name: string;
32136
+ width_mm: number;
32137
+ }[];
32138
+ };
31439
32139
  floricode_sync_cron_schedule: {
31440
32140
  Args: {
31441
32141
  p_apikey: string;
@@ -31467,6 +32167,26 @@ export type Database = {
31467
32167
  };
31468
32168
  Returns: Json;
31469
32169
  };
32170
+ floriday_assert_caller: {
32171
+ Args: {
32172
+ p_fn: string;
32173
+ p_level: string;
32174
+ };
32175
+ Returns: boolean;
32176
+ };
32177
+ floriday_authenticatie_install_check: {
32178
+ Args: never;
32179
+ Returns: {
32180
+ aanwezig: boolean;
32181
+ anon_uitvoer: boolean;
32182
+ authenticated_uitvoer: boolean;
32183
+ interne_controle: boolean;
32184
+ melding: string;
32185
+ naam: string;
32186
+ niveau: string;
32187
+ soort: string;
32188
+ }[];
32189
+ };
31470
32190
  floriday_autoheal_connections: {
31471
32191
  Args: never;
31472
32192
  Returns: Json;
@@ -31479,6 +32199,17 @@ export type Database = {
31479
32199
  schedule: string;
31480
32200
  }[];
31481
32201
  };
32202
+ floriday_beschermde_functies: {
32203
+ Args: never;
32204
+ Returns: {
32205
+ naam: string;
32206
+ niveau: string;
32207
+ }[];
32208
+ };
32209
+ floriday_caller_is_server: {
32210
+ Args: never;
32211
+ Returns: boolean;
32212
+ };
31482
32213
  floriday_capture_stock_snapshot: {
31483
32214
  Args: never;
31484
32215
  Returns: number;
@@ -31491,6 +32222,28 @@ export type Database = {
31491
32222
  Args: never;
31492
32223
  Returns: undefined;
31493
32224
  };
32225
+ floriday_cron_command: {
32226
+ Args: {
32227
+ p_only_with_connection: boolean;
32228
+ p_route: string;
32229
+ p_timeout_ms: number;
32230
+ };
32231
+ Returns: string;
32232
+ };
32233
+ floriday_cron_inventory: {
32234
+ Args: never;
32235
+ Returns: {
32236
+ default_schedule: string;
32237
+ jobname: string;
32238
+ only_with_connection: boolean;
32239
+ route: string;
32240
+ timeout_ms: number;
32241
+ }[];
32242
+ };
32243
+ floriday_cron_key: {
32244
+ Args: never;
32245
+ Returns: string;
32246
+ };
31494
32247
  floriday_customer_candidates: {
31495
32248
  Args: never;
31496
32249
  Returns: {
@@ -31552,6 +32305,10 @@ export type Database = {
31552
32305
  postcode: string;
31553
32306
  }[];
31554
32307
  };
32308
+ floriday_ensure_cron: {
32309
+ Args: never;
32310
+ Returns: Json;
32311
+ };
31555
32312
  floriday_erp_leading_preview: {
31556
32313
  Args: {
31557
32314
  p_connection_id: string;
@@ -32571,10 +33328,26 @@ export type Database = {
32571
33328
  Args: never;
32572
33329
  Returns: Json;
32573
33330
  };
33331
+ klanten_correctie_landcodes: {
33332
+ Args: {
33333
+ p_uitvoeren?: boolean;
33334
+ };
33335
+ Returns: Json;
33336
+ };
32574
33337
  klanten_install_check: {
32575
33338
  Args: never;
32576
33339
  Returns: Json;
32577
33340
  };
33341
+ klanten_is_server: {
33342
+ Args: never;
33343
+ Returns: boolean;
33344
+ };
33345
+ klanten_landnaam_kandidaten: {
33346
+ Args: {
33347
+ p_waarde: string;
33348
+ };
33349
+ Returns: string[];
33350
+ };
32578
33351
  klanten_promote_round: {
32579
33352
  Args: never;
32580
33353
  Returns: Json;
@@ -32590,6 +33363,12 @@ export type Database = {
32590
33363
  };
32591
33364
  Returns: Json;
32592
33365
  };
33366
+ klanten_toegang: {
33367
+ Args: {
33368
+ p_niveau: string;
33369
+ };
33370
+ Returns: undefined;
33371
+ };
32593
33372
  layout_print_document: {
32594
33373
  Args: {
32595
33374
  _documentnaam: string;
@@ -32616,6 +33395,12 @@ export type Database = {
32616
33395
  status: string;
32617
33396
  }[];
32618
33397
  };
33398
+ layout_rij_weergavenaam: {
33399
+ Args: {
33400
+ _rij: Json;
33401
+ };
33402
+ Returns: string;
33403
+ };
32619
33404
  layout_standaard_overnemen: {
32620
33405
  Args: {
32621
33406
  _layout_id: string;
@@ -32751,6 +33536,42 @@ export type Database = {
32751
33536
  };
32752
33537
  Returns: boolean;
32753
33538
  };
33539
+ logistics_acc_direct: {
33540
+ Args: {
33541
+ p_fn: string;
33542
+ };
33543
+ Returns: boolean;
33544
+ };
33545
+ logistics_acc_entry: {
33546
+ Args: never;
33547
+ Returns: string;
33548
+ };
33549
+ logistics_acc_guard: {
33550
+ Args: {
33551
+ p_fn: string;
33552
+ p_level: string;
33553
+ };
33554
+ Returns: undefined;
33555
+ };
33556
+ logistics_acc_is_server: {
33557
+ Args: never;
33558
+ Returns: boolean;
33559
+ };
33560
+ logistics_acc_levels: {
33561
+ Args: never;
33562
+ Returns: {
33563
+ functie: string;
33564
+ niveau: string;
33565
+ }[];
33566
+ };
33567
+ logistics_access_check: {
33568
+ Args: never;
33569
+ Returns: {
33570
+ ok: boolean;
33571
+ onderdeel: string;
33572
+ toelichting: string;
33573
+ }[];
33574
+ };
32754
33575
  logistics_active_layout_method: {
32755
33576
  Args: never;
32756
33577
  Returns: string;
@@ -32946,6 +33767,19 @@ export type Database = {
32946
33767
  Args: never;
32947
33768
  Returns: string;
32948
33769
  };
33770
+ logistics_belading_wacht: {
33771
+ Args: {
33772
+ p_order_id?: string;
33773
+ };
33774
+ Returns: {
33775
+ order_id: string;
33776
+ order_ref: string;
33777
+ product: string;
33778
+ redenen: string[];
33779
+ sinds: string;
33780
+ sleutel: string;
33781
+ }[];
33782
+ };
32949
33783
  logistics_block_reason_code: {
32950
33784
  Args: {
32951
33785
  p_details?: Json;
@@ -33501,6 +34335,14 @@ export type Database = {
33501
34335
  Args: never;
33502
34336
  Returns: number;
33503
34337
  };
34338
+ logistics_check_190: {
34339
+ Args: never;
34340
+ Returns: {
34341
+ ok: boolean;
34342
+ onderdeel: string;
34343
+ toelichting: string;
34344
+ }[];
34345
+ };
33504
34346
  logistics_check_order_allowed: {
33505
34347
  Args: {
33506
34348
  p_lines: Json;
@@ -34725,6 +35567,14 @@ export type Database = {
34725
35567
  Args: never;
34726
35568
  Returns: Json;
34727
35569
  };
35570
+ logistics_overload_check: {
35571
+ Args: never;
35572
+ Returns: {
35573
+ ok: boolean;
35574
+ onderdeel: string;
35575
+ toelichting: string;
35576
+ }[];
35577
+ };
34728
35578
  logistics_own_sticker_count: {
34729
35579
  Args: {
34730
35580
  p_ppc_product: number;
@@ -34988,6 +35838,15 @@ export type Database = {
34988
35838
  };
34989
35839
  Returns: string;
34990
35840
  };
35841
+ logistics_plan_fail_log: {
35842
+ Args: {
35843
+ p_actor: string;
35844
+ p_msg: string;
35845
+ p_order_id: string;
35846
+ p_state: string;
35847
+ };
35848
+ Returns: undefined;
35849
+ };
34991
35850
  logistics_plan_finish: {
34992
35851
  Args: {
34993
35852
  p_error?: string;
@@ -35630,6 +36489,13 @@ export type Database = {
35630
36489
  p_order_id: string;
35631
36490
  };
35632
36491
  Returns: Json;
36492
+ } | {
36493
+ Args: {
36494
+ p_actor: string;
36495
+ p_carrier_id: string;
36496
+ p_order_id: string;
36497
+ };
36498
+ Returns: Json;
35633
36499
  };
35634
36500
  logistics_set_order_priority: {
35635
36501
  Args: {
@@ -35904,6 +36770,19 @@ export type Database = {
35904
36770
  Args: never;
35905
36771
  Returns: boolean;
35906
36772
  };
36773
+ logistics_sticker_maten_per_dag: {
36774
+ Args: {
36775
+ p_tot: string;
36776
+ p_van: string;
36777
+ };
36778
+ Returns: {
36779
+ aantal: number;
36780
+ breedte_mm: number;
36781
+ dag: string;
36782
+ hoogte_mm: number;
36783
+ print_plek_id: string;
36784
+ }[];
36785
+ };
35907
36786
  logistics_sticker_moment: {
35908
36787
  Args: {
35909
36788
  _cart: string;
@@ -36486,10 +37365,25 @@ export type Database = {
36486
37365
  naam: string;
36487
37366
  online: boolean;
36488
37367
  }[];
37368
+ } | {
37369
+ Args: {
37370
+ p_device_key: string;
37371
+ };
37372
+ Returns: {
37373
+ id: string;
37374
+ locatie: string;
37375
+ naam: string;
37376
+ online: boolean;
37377
+ }[];
36489
37378
  };
36490
37379
  pick_apply_buffer_events: {
36491
37380
  Args: never;
36492
37381
  Returns: Json;
37382
+ } | {
37383
+ Args: {
37384
+ p_device_key: string;
37385
+ };
37386
+ Returns: Json;
36493
37387
  };
36494
37388
  pick_assert_printable: {
36495
37389
  Args: {
@@ -36497,6 +37391,12 @@ export type Database = {
36497
37391
  };
36498
37392
  Returns: undefined;
36499
37393
  };
37394
+ pick_assert_station: {
37395
+ Args: {
37396
+ p_device_key: string;
37397
+ };
37398
+ Returns: string;
37399
+ };
36500
37400
  pick_available_pick_days: {
36501
37401
  Args: {
36502
37402
  _max_days?: number;
@@ -36505,6 +37405,15 @@ export type Database = {
36505
37405
  orders: number;
36506
37406
  pick_day: string;
36507
37407
  }[];
37408
+ } | {
37409
+ Args: {
37410
+ _max_days?: number;
37411
+ p_device_key: string;
37412
+ };
37413
+ Returns: {
37414
+ orders: number;
37415
+ pick_day: string;
37416
+ }[];
36508
37417
  };
36509
37418
  pick_buffer_order_ids: {
36510
37419
  Args: {
@@ -36512,6 +37421,10 @@ export type Database = {
36512
37421
  };
36513
37422
  Returns: string[];
36514
37423
  };
37424
+ pick_build_key_variants: {
37425
+ Args: never;
37426
+ Returns: Json;
37427
+ };
36515
37428
  pick_cart_breakdown: {
36516
37429
  Args: {
36517
37430
  _order_id: string;
@@ -36567,6 +37480,56 @@ export type Database = {
36567
37480
  isOneToOne: true;
36568
37481
  isSetofReturn: false;
36569
37482
  };
37483
+ } | {
37484
+ Args: {
37485
+ _queue_item_id: string;
37486
+ _screen_id: string;
37487
+ _session_id: string;
37488
+ _station_id: string;
37489
+ _timeout_seconds?: number;
37490
+ p_device_key: string;
37491
+ };
37492
+ Returns: {
37493
+ announced_at: string;
37494
+ assigned_user_id: string | null;
37495
+ barcode: string | null;
37496
+ cancelled_at: string | null;
37497
+ cart_count: number;
37498
+ completed_at: string | null;
37499
+ country_code: string | null;
37500
+ created_at: string;
37501
+ customer_name: string | null;
37502
+ delivery_address: string | null;
37503
+ document_number: string | null;
37504
+ document_type_id: string | null;
37505
+ due_at: string | null;
37506
+ id: string;
37507
+ is_urgent: boolean;
37508
+ line_count: number;
37509
+ order_number: string | null;
37510
+ order_type: string | null;
37511
+ payload: Json;
37512
+ print_count: number;
37513
+ print_job_id: string | null;
37514
+ printed_at: string | null;
37515
+ printed_by: string | null;
37516
+ printed_cart_ids: Json;
37517
+ printer_id: string | null;
37518
+ priority: number;
37519
+ reference: string | null;
37520
+ route: string | null;
37521
+ screen_id: string | null;
37522
+ station_id: string | null;
37523
+ status_id: string | null;
37524
+ updated_at: string;
37525
+ warnings: Json;
37526
+ };
37527
+ SetofOptions: {
37528
+ from: "*";
37529
+ to: "pick_queue";
37530
+ isOneToOne: true;
37531
+ isSetofReturn: false;
37532
+ };
36570
37533
  };
36571
37534
  pick_claim_next_document: {
36572
37535
  Args: {
@@ -36618,6 +37581,57 @@ export type Database = {
36618
37581
  isOneToOne: true;
36619
37582
  isSetofReturn: false;
36620
37583
  };
37584
+ } | {
37585
+ Args: {
37586
+ _country_code: string;
37587
+ _pick_day?: string;
37588
+ _screen_id: string;
37589
+ _session_id: string;
37590
+ _station_id: string;
37591
+ _timeout_seconds?: number;
37592
+ p_device_key: string;
37593
+ };
37594
+ Returns: {
37595
+ announced_at: string;
37596
+ assigned_user_id: string | null;
37597
+ barcode: string | null;
37598
+ cancelled_at: string | null;
37599
+ cart_count: number;
37600
+ completed_at: string | null;
37601
+ country_code: string | null;
37602
+ created_at: string;
37603
+ customer_name: string | null;
37604
+ delivery_address: string | null;
37605
+ document_number: string | null;
37606
+ document_type_id: string | null;
37607
+ due_at: string | null;
37608
+ id: string;
37609
+ is_urgent: boolean;
37610
+ line_count: number;
37611
+ order_number: string | null;
37612
+ order_type: string | null;
37613
+ payload: Json;
37614
+ print_count: number;
37615
+ print_job_id: string | null;
37616
+ printed_at: string | null;
37617
+ printed_by: string | null;
37618
+ printed_cart_ids: Json;
37619
+ printer_id: string | null;
37620
+ priority: number;
37621
+ reference: string | null;
37622
+ route: string | null;
37623
+ screen_id: string | null;
37624
+ station_id: string | null;
37625
+ status_id: string | null;
37626
+ updated_at: string;
37627
+ warnings: Json;
37628
+ };
37629
+ SetofOptions: {
37630
+ from: "*";
37631
+ to: "pick_queue";
37632
+ isOneToOne: true;
37633
+ isSetofReturn: false;
37634
+ };
36621
37635
  };
36622
37636
  pick_cleanup_maintenance: {
36623
37637
  Args: {
@@ -36673,13 +37687,12 @@ export type Database = {
36673
37687
  isOneToOne: true;
36674
37688
  isSetofReturn: false;
36675
37689
  };
36676
- };
36677
- pick_complete_print_cart: {
37690
+ } | {
36678
37691
  Args: {
36679
- _cart_id: string;
36680
37692
  _printer_id: string;
36681
37693
  _queue_item_id: string;
36682
37694
  _session_id: string;
37695
+ p_device_key: string;
36683
37696
  };
36684
37697
  Returns: {
36685
37698
  announced_at: string;
@@ -36723,77 +37736,308 @@ export type Database = {
36723
37736
  isSetofReturn: false;
36724
37737
  };
36725
37738
  };
36726
- pick_complete_print_carts: {
37739
+ pick_complete_print_cart: {
36727
37740
  Args: {
36728
- _cart_ids: string[];
37741
+ _cart_id: string;
37742
+ _printer_id: string;
36729
37743
  _queue_item_id: string;
36730
37744
  _session_id: string;
36731
37745
  };
36732
- Returns: Json;
36733
- };
36734
- pick_current_pick_day: {
36735
- Args: never;
36736
- Returns: string;
36737
- };
36738
- pick_day_counts: {
36739
- Args: {
36740
- _pick_day?: string;
36741
- _screen_id?: string;
36742
- _station_id?: string;
36743
- };
36744
- Returns: Json;
36745
- };
36746
- pick_document_layout_data: {
36747
- Args: {
36748
- _layout_id: string;
37746
+ Returns: {
37747
+ announced_at: string;
37748
+ assigned_user_id: string | null;
37749
+ barcode: string | null;
37750
+ cancelled_at: string | null;
37751
+ cart_count: number;
37752
+ completed_at: string | null;
37753
+ country_code: string | null;
37754
+ created_at: string;
37755
+ customer_name: string | null;
37756
+ delivery_address: string | null;
37757
+ document_number: string | null;
37758
+ document_type_id: string | null;
37759
+ due_at: string | null;
37760
+ id: string;
37761
+ is_urgent: boolean;
37762
+ line_count: number;
37763
+ order_number: string | null;
37764
+ order_type: string | null;
37765
+ payload: Json;
37766
+ print_count: number;
37767
+ print_job_id: string | null;
37768
+ printed_at: string | null;
37769
+ printed_by: string | null;
37770
+ printed_cart_ids: Json;
37771
+ printer_id: string | null;
37772
+ priority: number;
37773
+ reference: string | null;
37774
+ route: string | null;
37775
+ screen_id: string | null;
37776
+ station_id: string | null;
37777
+ status_id: string | null;
37778
+ updated_at: string;
37779
+ warnings: Json;
36749
37780
  };
36750
- Returns: Json;
36751
- };
36752
- pick_enqueue_print_job: {
36753
- Args: {
36754
- _is_herprint?: boolean;
36755
- _printer_id?: string;
36756
- _queue_item_id: string;
36757
- _session_id?: string;
37781
+ SetofOptions: {
37782
+ from: "*";
37783
+ to: "pick_queue";
37784
+ isOneToOne: true;
37785
+ isSetofReturn: false;
36758
37786
  };
36759
- Returns: string;
36760
37787
  } | {
36761
37788
  Args: {
36762
37789
  _cart_id: string;
36763
- _is_herprint: boolean;
36764
37790
  _printer_id: string;
36765
37791
  _queue_item_id: string;
36766
37792
  _session_id: string;
36767
- };
36768
- Returns: string;
36769
- };
36770
- pick_enqueue_print_job_from_cart: {
36771
- Args: {
36772
- _cart_id: string;
36773
- _is_herprint: boolean;
36774
- _printer_id: string;
36775
- _queue_item_id: string;
36776
- _selected_cart: Json;
36777
- _session_id: string;
36778
- };
36779
- Returns: string;
36780
- };
36781
- pick_find_sent_elsewhere: {
36782
- Args: {
36783
- _cart_id: string;
36784
- _queue_item_id: string;
36785
- };
36786
- Returns: Json;
36787
- };
36788
- pick_is_reference_admin: {
36789
- Args: never;
36790
- Returns: boolean;
36791
- };
36792
- pick_mark_printed: {
36793
- Args: {
36794
- _queue_item_id: string;
36795
- _reden?: string;
36796
- _session_id: string;
37793
+ p_device_key: string;
37794
+ };
37795
+ Returns: {
37796
+ announced_at: string;
37797
+ assigned_user_id: string | null;
37798
+ barcode: string | null;
37799
+ cancelled_at: string | null;
37800
+ cart_count: number;
37801
+ completed_at: string | null;
37802
+ country_code: string | null;
37803
+ created_at: string;
37804
+ customer_name: string | null;
37805
+ delivery_address: string | null;
37806
+ document_number: string | null;
37807
+ document_type_id: string | null;
37808
+ due_at: string | null;
37809
+ id: string;
37810
+ is_urgent: boolean;
37811
+ line_count: number;
37812
+ order_number: string | null;
37813
+ order_type: string | null;
37814
+ payload: Json;
37815
+ print_count: number;
37816
+ print_job_id: string | null;
37817
+ printed_at: string | null;
37818
+ printed_by: string | null;
37819
+ printed_cart_ids: Json;
37820
+ printer_id: string | null;
37821
+ priority: number;
37822
+ reference: string | null;
37823
+ route: string | null;
37824
+ screen_id: string | null;
37825
+ station_id: string | null;
37826
+ status_id: string | null;
37827
+ updated_at: string;
37828
+ warnings: Json;
37829
+ };
37830
+ SetofOptions: {
37831
+ from: "*";
37832
+ to: "pick_queue";
37833
+ isOneToOne: true;
37834
+ isSetofReturn: false;
37835
+ };
37836
+ };
37837
+ pick_complete_print_carts: {
37838
+ Args: {
37839
+ _cart_ids: string[];
37840
+ _queue_item_id: string;
37841
+ _session_id: string;
37842
+ };
37843
+ Returns: Json;
37844
+ } | {
37845
+ Args: {
37846
+ _cart_ids: string[];
37847
+ _queue_item_id: string;
37848
+ _session_id: string;
37849
+ p_device_key: string;
37850
+ };
37851
+ Returns: Json;
37852
+ };
37853
+ pick_create_pair_code: {
37854
+ Args: {
37855
+ p_station_id: string;
37856
+ };
37857
+ Returns: Json;
37858
+ };
37859
+ pick_current_pick_day: {
37860
+ Args: never;
37861
+ Returns: string;
37862
+ } | {
37863
+ Args: {
37864
+ p_device_key: string;
37865
+ };
37866
+ Returns: string;
37867
+ };
37868
+ pick_day_counts: {
37869
+ Args: {
37870
+ _pick_day?: string;
37871
+ _screen_id?: string;
37872
+ _station_id?: string;
37873
+ };
37874
+ Returns: Json;
37875
+ } | {
37876
+ Args: {
37877
+ _pick_day?: string;
37878
+ _screen_id?: string;
37879
+ _station_id?: string;
37880
+ p_device_key: string;
37881
+ };
37882
+ Returns: Json;
37883
+ };
37884
+ pick_device_check: {
37885
+ Args: {
37886
+ p_cart: string;
37887
+ p_device_key: string;
37888
+ p_item: string;
37889
+ p_order: string;
37890
+ p_slug: string;
37891
+ p_station: string;
37892
+ };
37893
+ Returns: undefined;
37894
+ };
37895
+ pick_device_gate: {
37896
+ Args: {
37897
+ p_device_key: string;
37898
+ };
37899
+ Returns: string;
37900
+ };
37901
+ pick_device_key_required: {
37902
+ Args: never;
37903
+ Returns: boolean;
37904
+ };
37905
+ pick_document_layout_data: {
37906
+ Args: {
37907
+ _layout_id: string;
37908
+ };
37909
+ Returns: Json;
37910
+ };
37911
+ pick_enqueue_print_job: {
37912
+ Args: {
37913
+ _is_herprint?: boolean;
37914
+ _printer_id?: string;
37915
+ _queue_item_id: string;
37916
+ _session_id?: string;
37917
+ };
37918
+ Returns: string;
37919
+ } | {
37920
+ Args: {
37921
+ _cart_id: string;
37922
+ _is_herprint: boolean;
37923
+ _printer_id: string;
37924
+ _queue_item_id: string;
37925
+ _session_id: string;
37926
+ };
37927
+ Returns: string;
37928
+ } | {
37929
+ Args: {
37930
+ _is_herprint?: boolean;
37931
+ _printer_id?: string;
37932
+ _queue_item_id: string;
37933
+ _session_id?: string;
37934
+ p_device_key: string;
37935
+ };
37936
+ Returns: string;
37937
+ } | {
37938
+ Args: {
37939
+ _cart_id: string;
37940
+ _is_herprint: boolean;
37941
+ _printer_id: string;
37942
+ _queue_item_id: string;
37943
+ _session_id: string;
37944
+ p_device_key: string;
37945
+ };
37946
+ Returns: string;
37947
+ };
37948
+ pick_enqueue_print_job_from_cart: {
37949
+ Args: {
37950
+ _cart_id: string;
37951
+ _is_herprint: boolean;
37952
+ _printer_id: string;
37953
+ _queue_item_id: string;
37954
+ _selected_cart: Json;
37955
+ _session_id: string;
37956
+ };
37957
+ Returns: string;
37958
+ };
37959
+ pick_ensure_settings: {
37960
+ Args: never;
37961
+ Returns: undefined;
37962
+ };
37963
+ pick_find_sent_elsewhere: {
37964
+ Args: {
37965
+ _cart_id: string;
37966
+ _queue_item_id: string;
37967
+ };
37968
+ Returns: Json;
37969
+ };
37970
+ pick_has_station_role: {
37971
+ Args: never;
37972
+ Returns: boolean;
37973
+ };
37974
+ pick_is_reference_admin: {
37975
+ Args: never;
37976
+ Returns: boolean;
37977
+ };
37978
+ pick_is_server: {
37979
+ Args: never;
37980
+ Returns: boolean;
37981
+ };
37982
+ pick_key_hash: {
37983
+ Args: {
37984
+ p_key: string;
37985
+ };
37986
+ Returns: string;
37987
+ };
37988
+ pick_mark_printed: {
37989
+ Args: {
37990
+ _queue_item_id: string;
37991
+ _reden?: string;
37992
+ _session_id: string;
37993
+ };
37994
+ Returns: {
37995
+ announced_at: string;
37996
+ assigned_user_id: string | null;
37997
+ barcode: string | null;
37998
+ cancelled_at: string | null;
37999
+ cart_count: number;
38000
+ completed_at: string | null;
38001
+ country_code: string | null;
38002
+ created_at: string;
38003
+ customer_name: string | null;
38004
+ delivery_address: string | null;
38005
+ document_number: string | null;
38006
+ document_type_id: string | null;
38007
+ due_at: string | null;
38008
+ id: string;
38009
+ is_urgent: boolean;
38010
+ line_count: number;
38011
+ order_number: string | null;
38012
+ order_type: string | null;
38013
+ payload: Json;
38014
+ print_count: number;
38015
+ print_job_id: string | null;
38016
+ printed_at: string | null;
38017
+ printed_by: string | null;
38018
+ printed_cart_ids: Json;
38019
+ printer_id: string | null;
38020
+ priority: number;
38021
+ reference: string | null;
38022
+ route: string | null;
38023
+ screen_id: string | null;
38024
+ station_id: string | null;
38025
+ status_id: string | null;
38026
+ updated_at: string;
38027
+ warnings: Json;
38028
+ };
38029
+ SetofOptions: {
38030
+ from: "*";
38031
+ to: "pick_queue";
38032
+ isOneToOne: true;
38033
+ isSetofReturn: false;
38034
+ };
38035
+ } | {
38036
+ Args: {
38037
+ _queue_item_id: string;
38038
+ _reden?: string;
38039
+ _session_id: string;
38040
+ p_device_key: string;
36797
38041
  };
36798
38042
  Returns: {
36799
38043
  announced_at: string;
@@ -36850,18 +38094,37 @@ export type Database = {
36850
38094
  _station_slug: string;
36851
38095
  };
36852
38096
  Returns: Json;
38097
+ } | {
38098
+ Args: {
38099
+ _queue_item_id: string;
38100
+ _station_slug: string;
38101
+ p_device_key: string;
38102
+ };
38103
+ Returns: Json;
36853
38104
  };
36854
38105
  pick_print_job_status: {
36855
38106
  Args: {
36856
38107
  _job_id: string;
36857
38108
  };
36858
38109
  Returns: Json;
38110
+ } | {
38111
+ Args: {
38112
+ _job_id: string;
38113
+ p_device_key: string;
38114
+ };
38115
+ Returns: Json;
36859
38116
  };
36860
38117
  pick_print_jobs_status: {
36861
38118
  Args: {
36862
38119
  _job_ids: string[];
36863
38120
  };
36864
38121
  Returns: Json[];
38122
+ } | {
38123
+ Args: {
38124
+ _job_ids: string[];
38125
+ p_device_key: string;
38126
+ };
38127
+ Returns: Json[];
36865
38128
  };
36866
38129
  pick_print_plekken: {
36867
38130
  Args: never;
@@ -36870,12 +38133,27 @@ export type Database = {
36870
38133
  naam: string;
36871
38134
  omschrijving: string;
36872
38135
  }[];
38136
+ } | {
38137
+ Args: {
38138
+ p_device_key: string;
38139
+ };
38140
+ Returns: {
38141
+ id: string;
38142
+ naam: string;
38143
+ omschrijving: string;
38144
+ }[];
36873
38145
  };
36874
38146
  pick_queue_cart_plan: {
36875
38147
  Args: {
36876
38148
  _queue_item_id: string;
36877
38149
  };
36878
38150
  Returns: Json;
38151
+ } | {
38152
+ Args: {
38153
+ _queue_item_id: string;
38154
+ p_device_key: string;
38155
+ };
38156
+ Returns: Json;
36879
38157
  };
36880
38158
  pick_queue_cart_plan_v152: {
36881
38159
  Args: {
@@ -36883,23 +38161,234 @@ export type Database = {
36883
38161
  };
36884
38162
  Returns: Json;
36885
38163
  };
38164
+ pick_read_by_code: {
38165
+ Args: {
38166
+ p_code: string;
38167
+ p_device_key: string;
38168
+ p_station_id: string;
38169
+ };
38170
+ Returns: {
38171
+ announced_at: string;
38172
+ assigned_user_id: string | null;
38173
+ barcode: string | null;
38174
+ cancelled_at: string | null;
38175
+ cart_count: number;
38176
+ completed_at: string | null;
38177
+ country_code: string | null;
38178
+ created_at: string;
38179
+ customer_name: string | null;
38180
+ delivery_address: string | null;
38181
+ document_number: string | null;
38182
+ document_type_id: string | null;
38183
+ due_at: string | null;
38184
+ id: string;
38185
+ is_urgent: boolean;
38186
+ line_count: number;
38187
+ order_number: string | null;
38188
+ order_type: string | null;
38189
+ payload: Json;
38190
+ print_count: number;
38191
+ print_job_id: string | null;
38192
+ printed_at: string | null;
38193
+ printed_by: string | null;
38194
+ printed_cart_ids: Json;
38195
+ printer_id: string | null;
38196
+ priority: number;
38197
+ reference: string | null;
38198
+ route: string | null;
38199
+ screen_id: string | null;
38200
+ station_id: string | null;
38201
+ status_id: string | null;
38202
+ updated_at: string;
38203
+ warnings: Json;
38204
+ }[];
38205
+ SetofOptions: {
38206
+ from: "*";
38207
+ to: "pick_queue";
38208
+ isOneToOne: false;
38209
+ isSetofReturn: true;
38210
+ };
38211
+ };
38212
+ pick_read_country_counts: {
38213
+ Args: {
38214
+ p_device_key: string;
38215
+ p_screen_id: string;
38216
+ p_station_id: string;
38217
+ };
38218
+ Returns: Json;
38219
+ };
38220
+ pick_read_locks: {
38221
+ Args: {
38222
+ p_device_key: string;
38223
+ p_station_id: string;
38224
+ };
38225
+ Returns: {
38226
+ expires_at: string;
38227
+ id: string;
38228
+ locked_at: string;
38229
+ locked_by: string | null;
38230
+ queue_item_id: string;
38231
+ screen_id: string | null;
38232
+ session_id: string | null;
38233
+ station_id: string | null;
38234
+ }[];
38235
+ SetofOptions: {
38236
+ from: "*";
38237
+ to: "pick_queue_locks";
38238
+ isOneToOne: false;
38239
+ isSetofReturn: true;
38240
+ };
38241
+ };
38242
+ pick_read_print_job_uitwijk: {
38243
+ Args: {
38244
+ p_device_key: string;
38245
+ p_job_ids: string[];
38246
+ };
38247
+ Returns: Json;
38248
+ };
38249
+ pick_read_queue: {
38250
+ Args: {
38251
+ p_country: string;
38252
+ p_device_key: string;
38253
+ p_document_type_id: string;
38254
+ p_include_done: boolean;
38255
+ p_limit: number;
38256
+ p_offset: number;
38257
+ p_pick_day: string;
38258
+ p_screen_id: string;
38259
+ p_search: string;
38260
+ p_sort: Json;
38261
+ p_station_id: string;
38262
+ p_urgent_only: boolean;
38263
+ };
38264
+ Returns: Json;
38265
+ };
38266
+ pick_read_station: {
38267
+ Args: {
38268
+ p_device_key: string;
38269
+ p_slug: string;
38270
+ };
38271
+ Returns: {
38272
+ active: boolean;
38273
+ allow_multi_screen: boolean;
38274
+ color: string | null;
38275
+ created_at: string;
38276
+ default_printer_id: string | null;
38277
+ department: string | null;
38278
+ description: string | null;
38279
+ icon: string | null;
38280
+ id: string;
38281
+ location: string | null;
38282
+ lock_timeout_seconds: number;
38283
+ name: string;
38284
+ require_country_selection: boolean;
38285
+ slug: string | null;
38286
+ sort_order: number;
38287
+ sort_rules: Json;
38288
+ task_id: string | null;
38289
+ type_id: string | null;
38290
+ updated_at: string;
38291
+ }[];
38292
+ SetofOptions: {
38293
+ from: "*";
38294
+ to: "pick_stations";
38295
+ isOneToOne: false;
38296
+ isSetofReturn: true;
38297
+ };
38298
+ };
38299
+ pick_read_unscanned_earlier: {
38300
+ Args: {
38301
+ p_before_day: string;
38302
+ p_device_key: string;
38303
+ p_station_id: string;
38304
+ };
38305
+ Returns: {
38306
+ announced_at: string;
38307
+ assigned_user_id: string | null;
38308
+ barcode: string | null;
38309
+ cancelled_at: string | null;
38310
+ cart_count: number;
38311
+ completed_at: string | null;
38312
+ country_code: string | null;
38313
+ created_at: string;
38314
+ customer_name: string | null;
38315
+ delivery_address: string | null;
38316
+ document_number: string | null;
38317
+ document_type_id: string | null;
38318
+ due_at: string | null;
38319
+ id: string;
38320
+ is_urgent: boolean;
38321
+ line_count: number;
38322
+ order_number: string | null;
38323
+ order_type: string | null;
38324
+ payload: Json;
38325
+ print_count: number;
38326
+ print_job_id: string | null;
38327
+ printed_at: string | null;
38328
+ printed_by: string | null;
38329
+ printed_cart_ids: Json;
38330
+ printer_id: string | null;
38331
+ priority: number;
38332
+ reference: string | null;
38333
+ route: string | null;
38334
+ screen_id: string | null;
38335
+ station_id: string | null;
38336
+ status_id: string | null;
38337
+ updated_at: string;
38338
+ warnings: Json;
38339
+ }[];
38340
+ SetofOptions: {
38341
+ from: "*";
38342
+ to: "pick_queue";
38343
+ isOneToOne: false;
38344
+ isSetofReturn: true;
38345
+ };
38346
+ };
38347
+ pick_read_vroege_sticker_waarschuwing: {
38348
+ Args: {
38349
+ p_device_key: string;
38350
+ p_station_id: string;
38351
+ };
38352
+ Returns: Json;
38353
+ };
36886
38354
  pick_reference_data_status: {
36887
38355
  Args: never;
36888
38356
  Returns: Json;
38357
+ } | {
38358
+ Args: {
38359
+ p_device_key: string;
38360
+ };
38361
+ Returns: Json;
36889
38362
  };
36890
38363
  pick_release_expired_locks: {
36891
38364
  Args: never;
36892
38365
  Returns: number;
38366
+ } | {
38367
+ Args: {
38368
+ p_device_key: string;
38369
+ };
38370
+ Returns: number;
36893
38371
  };
36894
38372
  pick_release_lock: {
36895
38373
  Args: {
36896
38374
  _queue_item_id: string;
36897
38375
  };
36898
38376
  Returns: undefined;
38377
+ } | {
38378
+ Args: {
38379
+ _queue_item_id: string;
38380
+ p_device_key: string;
38381
+ };
38382
+ Returns: undefined;
36899
38383
  };
36900
38384
  pick_report_missing_cart_plan: {
36901
38385
  Args: never;
36902
38386
  Returns: Json;
38387
+ } | {
38388
+ Args: {
38389
+ p_device_key: string;
38390
+ };
38391
+ Returns: Json;
36903
38392
  };
36904
38393
  pick_reprint_cart: {
36905
38394
  Args: {
@@ -36909,6 +38398,15 @@ export type Database = {
36909
38398
  _throttle_seconds?: number;
36910
38399
  };
36911
38400
  Returns: string;
38401
+ } | {
38402
+ Args: {
38403
+ _cart_id: string;
38404
+ _queue_item_id: string;
38405
+ _session_id: string;
38406
+ _throttle_seconds?: number;
38407
+ p_device_key: string;
38408
+ };
38409
+ Returns: string;
36912
38410
  };
36913
38411
  pick_reprint_document: {
36914
38412
  Args: {
@@ -36917,6 +38415,14 @@ export type Database = {
36917
38415
  _throttle_seconds?: number;
36918
38416
  };
36919
38417
  Returns: string;
38418
+ } | {
38419
+ Args: {
38420
+ _queue_item_id: string;
38421
+ _session_id: string;
38422
+ _throttle_seconds?: number;
38423
+ p_device_key: string;
38424
+ };
38425
+ Returns: string;
36920
38426
  };
36921
38427
  pick_reset_print: {
36922
38428
  Args: {
@@ -37011,13 +38517,255 @@ export type Database = {
37011
38517
  isOneToOne: true;
37012
38518
  isSetofReturn: false;
37013
38519
  };
37014
- };
37015
- pick_reset_print_job: {
38520
+ } | {
38521
+ Args: {
38522
+ _queue_item_id: string;
38523
+ _session_id: string;
38524
+ p_device_key: string;
38525
+ };
38526
+ Returns: {
38527
+ announced_at: string;
38528
+ assigned_user_id: string | null;
38529
+ barcode: string | null;
38530
+ cancelled_at: string | null;
38531
+ cart_count: number;
38532
+ completed_at: string | null;
38533
+ country_code: string | null;
38534
+ created_at: string;
38535
+ customer_name: string | null;
38536
+ delivery_address: string | null;
38537
+ document_number: string | null;
38538
+ document_type_id: string | null;
38539
+ due_at: string | null;
38540
+ id: string;
38541
+ is_urgent: boolean;
38542
+ line_count: number;
38543
+ order_number: string | null;
38544
+ order_type: string | null;
38545
+ payload: Json;
38546
+ print_count: number;
38547
+ print_job_id: string | null;
38548
+ printed_at: string | null;
38549
+ printed_by: string | null;
38550
+ printed_cart_ids: Json;
38551
+ printer_id: string | null;
38552
+ priority: number;
38553
+ reference: string | null;
38554
+ route: string | null;
38555
+ screen_id: string | null;
38556
+ station_id: string | null;
38557
+ status_id: string | null;
38558
+ updated_at: string;
38559
+ warnings: Json;
38560
+ };
38561
+ SetofOptions: {
38562
+ from: "*";
38563
+ to: "pick_queue";
38564
+ isOneToOne: true;
38565
+ isSetofReturn: false;
38566
+ };
38567
+ } | {
38568
+ Args: {
38569
+ _cart_id: string;
38570
+ _queue_item_id: string;
38571
+ _session_id: string;
38572
+ p_device_key: string;
38573
+ };
38574
+ Returns: {
38575
+ announced_at: string;
38576
+ assigned_user_id: string | null;
38577
+ barcode: string | null;
38578
+ cancelled_at: string | null;
38579
+ cart_count: number;
38580
+ completed_at: string | null;
38581
+ country_code: string | null;
38582
+ created_at: string;
38583
+ customer_name: string | null;
38584
+ delivery_address: string | null;
38585
+ document_number: string | null;
38586
+ document_type_id: string | null;
38587
+ due_at: string | null;
38588
+ id: string;
38589
+ is_urgent: boolean;
38590
+ line_count: number;
38591
+ order_number: string | null;
38592
+ order_type: string | null;
38593
+ payload: Json;
38594
+ print_count: number;
38595
+ print_job_id: string | null;
38596
+ printed_at: string | null;
38597
+ printed_by: string | null;
38598
+ printed_cart_ids: Json;
38599
+ printer_id: string | null;
38600
+ priority: number;
38601
+ reference: string | null;
38602
+ route: string | null;
38603
+ screen_id: string | null;
38604
+ station_id: string | null;
38605
+ status_id: string | null;
38606
+ updated_at: string;
38607
+ warnings: Json;
38608
+ };
38609
+ SetofOptions: {
38610
+ from: "*";
38611
+ to: "pick_queue";
38612
+ isOneToOne: true;
38613
+ isSetofReturn: false;
38614
+ };
38615
+ };
38616
+ pick_reset_print_job: {
38617
+ Args: {
38618
+ _cart_id: string;
38619
+ _job_id: string;
38620
+ _queue_item_id: string;
38621
+ _session_id: string;
38622
+ };
38623
+ Returns: {
38624
+ announced_at: string;
38625
+ assigned_user_id: string | null;
38626
+ barcode: string | null;
38627
+ cancelled_at: string | null;
38628
+ cart_count: number;
38629
+ completed_at: string | null;
38630
+ country_code: string | null;
38631
+ created_at: string;
38632
+ customer_name: string | null;
38633
+ delivery_address: string | null;
38634
+ document_number: string | null;
38635
+ document_type_id: string | null;
38636
+ due_at: string | null;
38637
+ id: string;
38638
+ is_urgent: boolean;
38639
+ line_count: number;
38640
+ order_number: string | null;
38641
+ order_type: string | null;
38642
+ payload: Json;
38643
+ print_count: number;
38644
+ print_job_id: string | null;
38645
+ printed_at: string | null;
38646
+ printed_by: string | null;
38647
+ printed_cart_ids: Json;
38648
+ printer_id: string | null;
38649
+ priority: number;
38650
+ reference: string | null;
38651
+ route: string | null;
38652
+ screen_id: string | null;
38653
+ station_id: string | null;
38654
+ status_id: string | null;
38655
+ updated_at: string;
38656
+ warnings: Json;
38657
+ };
38658
+ SetofOptions: {
38659
+ from: "*";
38660
+ to: "pick_queue";
38661
+ isOneToOne: true;
38662
+ isSetofReturn: false;
38663
+ };
38664
+ } | {
38665
+ Args: {
38666
+ _cart_id: string;
38667
+ _job_id: string;
38668
+ _queue_item_id: string;
38669
+ _session_id: string;
38670
+ p_device_key: string;
38671
+ };
38672
+ Returns: {
38673
+ announced_at: string;
38674
+ assigned_user_id: string | null;
38675
+ barcode: string | null;
38676
+ cancelled_at: string | null;
38677
+ cart_count: number;
38678
+ completed_at: string | null;
38679
+ country_code: string | null;
38680
+ created_at: string;
38681
+ customer_name: string | null;
38682
+ delivery_address: string | null;
38683
+ document_number: string | null;
38684
+ document_type_id: string | null;
38685
+ due_at: string | null;
38686
+ id: string;
38687
+ is_urgent: boolean;
38688
+ line_count: number;
38689
+ order_number: string | null;
38690
+ order_type: string | null;
38691
+ payload: Json;
38692
+ print_count: number;
38693
+ print_job_id: string | null;
38694
+ printed_at: string | null;
38695
+ printed_by: string | null;
38696
+ printed_cart_ids: Json;
38697
+ printer_id: string | null;
38698
+ priority: number;
38699
+ reference: string | null;
38700
+ route: string | null;
38701
+ screen_id: string | null;
38702
+ station_id: string | null;
38703
+ status_id: string | null;
38704
+ updated_at: string;
38705
+ warnings: Json;
38706
+ };
38707
+ SetofOptions: {
38708
+ from: "*";
38709
+ to: "pick_queue";
38710
+ isOneToOne: true;
38711
+ isSetofReturn: false;
38712
+ };
38713
+ };
38714
+ pick_reset_print_jobs: {
38715
+ Args: {
38716
+ _cart_ids: string[];
38717
+ _job_ids: string[];
38718
+ _queue_item_id: string;
38719
+ _session_id: string;
38720
+ };
38721
+ Returns: {
38722
+ announced_at: string;
38723
+ assigned_user_id: string | null;
38724
+ barcode: string | null;
38725
+ cancelled_at: string | null;
38726
+ cart_count: number;
38727
+ completed_at: string | null;
38728
+ country_code: string | null;
38729
+ created_at: string;
38730
+ customer_name: string | null;
38731
+ delivery_address: string | null;
38732
+ document_number: string | null;
38733
+ document_type_id: string | null;
38734
+ due_at: string | null;
38735
+ id: string;
38736
+ is_urgent: boolean;
38737
+ line_count: number;
38738
+ order_number: string | null;
38739
+ order_type: string | null;
38740
+ payload: Json;
38741
+ print_count: number;
38742
+ print_job_id: string | null;
38743
+ printed_at: string | null;
38744
+ printed_by: string | null;
38745
+ printed_cart_ids: Json;
38746
+ printer_id: string | null;
38747
+ priority: number;
38748
+ reference: string | null;
38749
+ route: string | null;
38750
+ screen_id: string | null;
38751
+ station_id: string | null;
38752
+ status_id: string | null;
38753
+ updated_at: string;
38754
+ warnings: Json;
38755
+ };
38756
+ SetofOptions: {
38757
+ from: "*";
38758
+ to: "pick_queue";
38759
+ isOneToOne: true;
38760
+ isSetofReturn: false;
38761
+ };
38762
+ } | {
37016
38763
  Args: {
37017
- _cart_id: string;
37018
- _job_id: string;
38764
+ _cart_ids: string[];
38765
+ _job_ids: string[];
37019
38766
  _queue_item_id: string;
37020
38767
  _session_id: string;
38768
+ p_device_key: string;
37021
38769
  };
37022
38770
  Returns: {
37023
38771
  announced_at: string;
@@ -37061,10 +38809,15 @@ export type Database = {
37061
38809
  isSetofReturn: false;
37062
38810
  };
37063
38811
  };
37064
- pick_reset_print_jobs: {
38812
+ pick_resolve_scan_code: {
38813
+ Args: {
38814
+ p_code: string;
38815
+ p_device_key: string;
38816
+ };
38817
+ Returns: string;
38818
+ };
38819
+ pick_restore_to_queue: {
37065
38820
  Args: {
37066
- _cart_ids: string[];
37067
- _job_ids: string[];
37068
38821
  _queue_item_id: string;
37069
38822
  _session_id: string;
37070
38823
  };
@@ -37109,11 +38862,11 @@ export type Database = {
37109
38862
  isOneToOne: true;
37110
38863
  isSetofReturn: false;
37111
38864
  };
37112
- };
37113
- pick_restore_to_queue: {
38865
+ } | {
37114
38866
  Args: {
37115
38867
  _queue_item_id: string;
37116
38868
  _session_id: string;
38869
+ p_device_key: string;
37117
38870
  };
37118
38871
  Returns: {
37119
38872
  announced_at: string;
@@ -37157,6 +38910,18 @@ export type Database = {
37157
38910
  isSetofReturn: false;
37158
38911
  };
37159
38912
  };
38913
+ pick_revoke_device: {
38914
+ Args: {
38915
+ p_device_id: string;
38916
+ };
38917
+ Returns: undefined;
38918
+ };
38919
+ pick_role_allowed: {
38920
+ Args: {
38921
+ p_level: string;
38922
+ };
38923
+ Returns: boolean;
38924
+ };
37160
38925
  pick_seed_reference_data: {
37161
38926
  Args: never;
37162
38927
  Returns: Json;
@@ -37167,6 +38932,19 @@ export type Database = {
37167
38932
  _station_id: string;
37168
38933
  };
37169
38934
  Returns: string;
38935
+ } | {
38936
+ Args: {
38937
+ _print_plek_id: string;
38938
+ _station_id: string;
38939
+ p_device_key: string;
38940
+ };
38941
+ Returns: string;
38942
+ };
38943
+ pick_signal_station: {
38944
+ Args: {
38945
+ p_station: string;
38946
+ };
38947
+ Returns: undefined;
37170
38948
  };
37171
38949
  pick_station_dashboard: {
37172
38950
  Args: never;
@@ -37179,6 +38957,31 @@ export type Database = {
37179
38957
  station_name: string;
37180
38958
  waiting: number;
37181
38959
  }[];
38960
+ } | {
38961
+ Args: {
38962
+ p_device_key: string;
38963
+ };
38964
+ Returns: {
38965
+ active: number;
38966
+ active_sessions: number;
38967
+ avg_wait_seconds: number;
38968
+ done_today: number;
38969
+ station_id: string;
38970
+ station_name: string;
38971
+ waiting: number;
38972
+ }[];
38973
+ };
38974
+ pick_station_devices_list: {
38975
+ Args: {
38976
+ p_station_id: string;
38977
+ };
38978
+ Returns: {
38979
+ created_at: string;
38980
+ id: string;
38981
+ ingetrokken_op: string;
38982
+ laatst_gezien: string;
38983
+ naam: string;
38984
+ }[];
37182
38985
  };
37183
38986
  pick_station_print_plek: {
37184
38987
  Args: {
@@ -37189,6 +38992,16 @@ export type Database = {
37189
38992
  omschrijving: string;
37190
38993
  print_plek_id: string;
37191
38994
  }[];
38995
+ } | {
38996
+ Args: {
38997
+ _station_id: string;
38998
+ p_device_key: string;
38999
+ };
39000
+ Returns: {
39001
+ naam: string;
39002
+ omschrijving: string;
39003
+ print_plek_id: string;
39004
+ }[];
37192
39005
  };
37193
39006
  pick_station_print_plekken: {
37194
39007
  Args: never;
@@ -37198,6 +39011,16 @@ export type Database = {
37198
39011
  print_plek_id: string;
37199
39012
  station_id: string;
37200
39013
  }[];
39014
+ } | {
39015
+ Args: {
39016
+ p_device_key: string;
39017
+ };
39018
+ Returns: {
39019
+ naam: string;
39020
+ omschrijving: string;
39021
+ print_plek_id: string;
39022
+ station_id: string;
39023
+ }[];
37201
39024
  };
37202
39025
  pick_station_slugify: {
37203
39026
  Args: {
@@ -37217,20 +39040,49 @@ export type Database = {
37217
39040
  _day: string;
37218
39041
  };
37219
39042
  Returns: Json;
39043
+ } | {
39044
+ Args: {
39045
+ _day: string;
39046
+ p_device_key: string;
39047
+ };
39048
+ Returns: Json;
37220
39049
  };
37221
39050
  pick_sync_queue_throttled: {
37222
39051
  Args: {
37223
39052
  _min_seconds?: number;
37224
39053
  };
37225
39054
  Returns: Json;
39055
+ } | {
39056
+ Args: {
39057
+ _min_seconds?: number;
39058
+ p_device_key: string;
39059
+ };
39060
+ Returns: Json;
37226
39061
  };
37227
39062
  pick_verify_rows: {
37228
39063
  Args: {
37229
39064
  _rows: Json;
37230
39065
  };
37231
39066
  Returns: Json;
39067
+ } | {
39068
+ Args: {
39069
+ _rows: Json;
39070
+ p_device_key: string;
39071
+ };
39072
+ Returns: Json;
39073
+ };
39074
+ pickschermen_install_check: {
39075
+ Args: never;
39076
+ Returns: Json;
37232
39077
  };
37233
39078
  pickstation_auto_send_status: {
39079
+ Args: {
39080
+ p_device_key: string;
39081
+ p_order_id: string;
39082
+ p_slug: string;
39083
+ };
39084
+ Returns: Json;
39085
+ } | {
37234
39086
  Args: {
37235
39087
  p_order_id: string;
37236
39088
  p_slug: string;
@@ -37238,13 +39090,34 @@ export type Database = {
37238
39090
  Returns: Json;
37239
39091
  };
37240
39092
  pickstation_cart_sticker_state: {
39093
+ Args: {
39094
+ p_cart_id: string;
39095
+ p_device_key: string;
39096
+ p_slug: string;
39097
+ };
39098
+ Returns: Json;
39099
+ } | {
37241
39100
  Args: {
37242
39101
  p_cart_id: string;
37243
39102
  p_slug: string;
37244
39103
  };
37245
39104
  Returns: Json;
37246
39105
  };
39106
+ pickstation_device_status: {
39107
+ Args: {
39108
+ p_device_key: string;
39109
+ p_slug: string;
39110
+ };
39111
+ Returns: Json;
39112
+ };
37247
39113
  pickstation_document_for_order: {
39114
+ Args: {
39115
+ p_device_key: string;
39116
+ p_queue_item_id: string;
39117
+ p_slug: string;
39118
+ };
39119
+ Returns: Json;
39120
+ } | {
37248
39121
  Args: {
37249
39122
  p_queue_item_id: string;
37250
39123
  p_slug: string;
@@ -37254,33 +39127,184 @@ export type Database = {
37254
39127
  pickstation_get_orders_raw: {
37255
39128
  Args: never;
37256
39129
  Returns: Json;
39130
+ } | {
39131
+ Args: {
39132
+ p_device_key: string;
39133
+ };
39134
+ Returns: Json;
37257
39135
  };
37258
39136
  pickstation_get_planning_context: {
37259
39137
  Args: never;
37260
39138
  Returns: Json;
39139
+ } | {
39140
+ Args: {
39141
+ p_device_key: string;
39142
+ };
39143
+ Returns: Json;
37261
39144
  };
37262
39145
  pickstation_get_settings: {
37263
39146
  Args: never;
37264
39147
  Returns: Json;
39148
+ } | {
39149
+ Args: {
39150
+ p_device_key: string;
39151
+ };
39152
+ Returns: Json;
37265
39153
  };
37266
39154
  pickstation_log_print: {
37267
39155
  Args: {
37268
39156
  p_customer_name: string;
39157
+ p_device_key: string;
37269
39158
  p_documents: string[];
37270
39159
  p_ip_address: string;
37271
39160
  p_order_id: string;
37272
39161
  p_order_number: string;
37273
39162
  };
37274
39163
  Returns: undefined;
39164
+ } | {
39165
+ Args: {
39166
+ p_customer_name: string;
39167
+ p_documents: string[];
39168
+ p_ip_address: string;
39169
+ p_order_id: string;
39170
+ p_order_number: string;
39171
+ };
39172
+ Returns: undefined;
39173
+ };
39174
+ pickstation_logistics_barcode_lookup: {
39175
+ Args: {
39176
+ p_barcode: string;
39177
+ p_device_key: string;
39178
+ };
39179
+ Returns: Json;
39180
+ };
39181
+ pickstation_logistics_cart_plan_status: {
39182
+ Args: {
39183
+ p_device_key: string;
39184
+ p_ref: string;
39185
+ };
39186
+ Returns: Json;
39187
+ };
39188
+ pickstation_logistics_cart_slip_plan: {
39189
+ Args: {
39190
+ p_device_key: string;
39191
+ p_order_id: string;
39192
+ };
39193
+ Returns: Json;
39194
+ };
39195
+ pickstation_logistics_complete_task: {
39196
+ Args: {
39197
+ p_device_key: string;
39198
+ p_result?: Json;
39199
+ p_task_id: string;
39200
+ };
39201
+ Returns: {
39202
+ attempt_log: Json;
39203
+ attempts: number;
39204
+ buffer_ref: string | null;
39205
+ claimed_at: string | null;
39206
+ claimed_by: string | null;
39207
+ completed_at: string | null;
39208
+ created_at: string;
39209
+ depends_on: string[];
39210
+ due_at: string | null;
39211
+ error: string | null;
39212
+ id: string;
39213
+ last_error: string | null;
39214
+ next_attempt_at: string | null;
39215
+ order_ref: string;
39216
+ owner_module: string;
39217
+ payload: Json;
39218
+ plan_run_id: string | null;
39219
+ planned_end: string | null;
39220
+ planned_start: string | null;
39221
+ priority: number;
39222
+ result: Json | null;
39223
+ rule_config_id: string | null;
39224
+ rule_version: number | null;
39225
+ sequence: number;
39226
+ shadow: boolean;
39227
+ started_at: string | null;
39228
+ status: string;
39229
+ strategy_id: string | null;
39230
+ task_type: string;
39231
+ updated_at: string;
39232
+ user_id: string;
39233
+ };
39234
+ SetofOptions: {
39235
+ from: "*";
39236
+ to: "logistics_tasks";
39237
+ isOneToOne: true;
39238
+ isSetofReturn: false;
39239
+ };
39240
+ };
39241
+ pickstation_logistics_is_pick_workday: {
39242
+ Args: {
39243
+ p_date: string;
39244
+ p_device_key: string;
39245
+ };
39246
+ Returns: boolean;
39247
+ };
39248
+ pickstation_logistics_order_released: {
39249
+ Args: {
39250
+ p_device_key: string;
39251
+ p_order_ref: string;
39252
+ };
39253
+ Returns: boolean;
39254
+ };
39255
+ pickstation_logistics_pick_mode: {
39256
+ Args: {
39257
+ p_device_key: string;
39258
+ };
39259
+ Returns: Json;
39260
+ };
39261
+ pickstation_logistics_shipping_note_from_barcode: {
39262
+ Args: {
39263
+ p_allow_reprint?: boolean;
39264
+ p_barcode: string;
39265
+ p_device_key: string;
39266
+ p_station_id?: string;
39267
+ };
39268
+ Returns: Json;
39269
+ };
39270
+ pickstation_logistics_working_hours_status: {
39271
+ Args: {
39272
+ p_device_key: string;
39273
+ };
39274
+ Returns: Json;
37275
39275
  };
37276
39276
  pickstation_order_sticker_meldingen: {
39277
+ Args: {
39278
+ p_device_key: string;
39279
+ p_order_id: string;
39280
+ p_slug: string;
39281
+ };
39282
+ Returns: Json;
39283
+ } | {
37277
39284
  Args: {
37278
39285
  p_order_id: string;
37279
39286
  p_slug: string;
37280
39287
  };
37281
39288
  Returns: Json;
37282
39289
  };
39290
+ pickstation_pair_device: {
39291
+ Args: {
39292
+ p_code: string;
39293
+ p_device_name: string;
39294
+ p_slug: string;
39295
+ };
39296
+ Returns: Json;
39297
+ };
37283
39298
  pickstation_resolve_delivery_orders: {
39299
+ Args: {
39300
+ p_device_key: string;
39301
+ p_sales_order_ids: string[];
39302
+ };
39303
+ Returns: {
39304
+ delivery_order_id: string;
39305
+ sales_order_id: string;
39306
+ }[];
39307
+ } | {
37284
39308
  Args: {
37285
39309
  p_sales_order_ids: string[];
37286
39310
  };
@@ -37299,6 +39323,13 @@ export type Database = {
37299
39323
  Returns: undefined;
37300
39324
  };
37301
39325
  pickstation_sticker_past_controle: {
39326
+ Args: {
39327
+ p_cart_id: string;
39328
+ p_device_key: string;
39329
+ p_slug: string;
39330
+ };
39331
+ Returns: Json;
39332
+ } | {
37302
39333
  Args: {
37303
39334
  p_cart_id: string;
37304
39335
  p_slug: string;
@@ -37306,6 +39337,14 @@ export type Database = {
37306
39337
  Returns: Json;
37307
39338
  };
37308
39339
  pickstation_sticker_reprint: {
39340
+ Args: {
39341
+ p_cart_id: string;
39342
+ p_device_key: string;
39343
+ p_reden?: string;
39344
+ p_slug: string;
39345
+ };
39346
+ Returns: Json;
39347
+ } | {
37309
39348
  Args: {
37310
39349
  p_cart_id: string;
37311
39350
  p_reden?: string;
@@ -37912,6 +39951,13 @@ export type Database = {
37912
39951
  Args: never;
37913
39952
  Returns: undefined;
37914
39953
  };
39954
+ refresh_floricode_derived_code_list_batch: {
39955
+ Args: {
39956
+ p_limit?: number;
39957
+ p_list: string;
39958
+ };
39959
+ Returns: Json;
39960
+ };
37915
39961
  refresh_floricode_derived_code_lists: {
37916
39962
  Args: never;
37917
39963
  Returns: {
@@ -38044,6 +40090,10 @@ export type Database = {
38044
40090
  };
38045
40091
  Returns: string;
38046
40092
  };
40093
+ restart_floricode_derived_code_lists: {
40094
+ Args: never;
40095
+ Returns: undefined;
40096
+ };
38047
40097
  retry_offer_orders: {
38048
40098
  Args: never;
38049
40099
  Returns: number;
@@ -38150,7 +40200,46 @@ export type Database = {
38150
40200
  };
38151
40201
  Returns: Json;
38152
40202
  };
40203
+ scan_alleen_gekoppeld_zetten: {
40204
+ Args: {
40205
+ p_aan: boolean;
40206
+ };
40207
+ Returns: Json;
40208
+ };
40209
+ scan_apparaat_intrekken: {
40210
+ Args: {
40211
+ p_apparaat_id: string;
40212
+ };
40213
+ Returns: Json;
40214
+ };
40215
+ scan_apparaat_koppelen: {
40216
+ Args: {
40217
+ p_code: string;
40218
+ p_naam?: string;
40219
+ p_scanner_id: string;
40220
+ };
40221
+ Returns: Json;
40222
+ };
40223
+ scan_apparaat_status: {
40224
+ Args: {
40225
+ p_device_key?: string;
40226
+ p_scanner_id: string;
40227
+ };
40228
+ Returns: Json;
40229
+ };
40230
+ scan_apparaten_lijst: {
40231
+ Args: {
40232
+ p_scanner_id: string;
40233
+ };
40234
+ Returns: Json;
40235
+ };
38153
40236
  scan_cancel_kar: {
40237
+ Args: {
40238
+ p_device_key: string;
40239
+ p_kar_id: string;
40240
+ };
40241
+ Returns: Json;
40242
+ } | {
38154
40243
  Args: {
38155
40244
  p_kar_id: string;
38156
40245
  };
@@ -38164,8 +40253,24 @@ export type Database = {
38164
40253
  p_scanner_id?: string;
38165
40254
  };
38166
40255
  Returns: Json;
40256
+ } | {
40257
+ Args: {
40258
+ p_allow_reprint?: boolean;
40259
+ p_cart_id: string;
40260
+ p_device_key: string;
40261
+ p_print?: boolean;
40262
+ p_scanner_id?: string;
40263
+ };
40264
+ Returns: Json;
38167
40265
  };
38168
40266
  scan_controleer_pincode: {
40267
+ Args: {
40268
+ p_device_key: string;
40269
+ p_pin: string;
40270
+ p_scanner_id: string;
40271
+ };
40272
+ Returns: Json;
40273
+ } | {
38169
40274
  Args: {
38170
40275
  p_pin: string;
38171
40276
  p_scanner_id: string;
@@ -38185,20 +40290,51 @@ export type Database = {
38185
40290
  p_scanner_id?: string;
38186
40291
  };
38187
40292
  Returns: Json;
40293
+ } | {
40294
+ Args: {
40295
+ p_barcode: string;
40296
+ p_bevestig_niet_geprint?: boolean;
40297
+ p_device_key: string;
40298
+ p_scanner_id?: string;
40299
+ };
40300
+ Returns: Json;
38188
40301
  };
38189
40302
  scan_finish_kar: {
40303
+ Args: {
40304
+ p_device_key: string;
40305
+ p_kar_id: string;
40306
+ };
40307
+ Returns: Json;
40308
+ } | {
38190
40309
  Args: {
38191
40310
  p_kar_id: string;
38192
40311
  };
38193
40312
  Returns: Json;
38194
40313
  };
38195
40314
  scan_heeft_pincode: {
40315
+ Args: {
40316
+ p_device_key: string;
40317
+ p_scanner_id: string;
40318
+ };
40319
+ Returns: boolean;
40320
+ } | {
38196
40321
  Args: {
38197
40322
  p_scanner_id: string;
38198
40323
  };
38199
40324
  Returns: boolean;
38200
40325
  };
40326
+ scan_install_check: {
40327
+ Args: never;
40328
+ Returns: Json;
40329
+ };
38201
40330
  scan_kar_compleet: {
40331
+ Args: {
40332
+ p_allow_reprint?: boolean;
40333
+ p_device_key: string;
40334
+ p_sessie_id: string;
40335
+ };
40336
+ Returns: Json;
40337
+ } | {
38202
40338
  Args: {
38203
40339
  p_allow_reprint?: boolean;
38204
40340
  p_sessie_id: string;
@@ -38217,11 +40353,25 @@ export type Database = {
38217
40353
  result: string;
38218
40354
  }[];
38219
40355
  };
40356
+ scan_kar_markeren: {
40357
+ Args: {
40358
+ p_device_key: string;
40359
+ p_kar_id: string;
40360
+ p_veld: string;
40361
+ };
40362
+ Returns: Json;
40363
+ };
38220
40364
  scan_kar_regels: {
38221
40365
  Args: {
38222
40366
  p_cart_id: string;
38223
40367
  };
38224
40368
  Returns: Json;
40369
+ } | {
40370
+ Args: {
40371
+ p_cart_id: string;
40372
+ p_device_key: string;
40373
+ };
40374
+ Returns: Json;
38225
40375
  };
38226
40376
  scan_kar_voortgang: {
38227
40377
  Args: {
@@ -38230,6 +40380,20 @@ export type Database = {
38230
40380
  p_slug?: string;
38231
40381
  };
38232
40382
  Returns: Json;
40383
+ } | {
40384
+ Args: {
40385
+ p_cart_id: string;
40386
+ p_device_key: string;
40387
+ p_scanner_id?: string;
40388
+ p_slug?: string;
40389
+ };
40390
+ Returns: Json;
40391
+ };
40392
+ scan_koppelcode_maken: {
40393
+ Args: {
40394
+ p_scanner_id: string;
40395
+ };
40396
+ Returns: Json;
38233
40397
  };
38234
40398
  scan_log_code: {
38235
40399
  Args: {
@@ -38242,14 +40406,38 @@ export type Database = {
38242
40406
  p_scanner_key?: string;
38243
40407
  };
38244
40408
  Returns: string;
40409
+ } | {
40410
+ Args: {
40411
+ p_code: string;
40412
+ p_device_key: string;
40413
+ p_kar_id?: string;
40414
+ p_latency_ms?: number;
40415
+ p_medewerker?: string;
40416
+ p_message?: string;
40417
+ p_result: string;
40418
+ p_scanner_key?: string;
40419
+ };
40420
+ Returns: string;
38245
40421
  };
38246
40422
  scan_open_pakbonnen: {
38247
40423
  Args: {
38248
40424
  p_dagen?: number;
38249
40425
  };
38250
40426
  Returns: Json;
40427
+ } | {
40428
+ Args: {
40429
+ p_dagen?: number;
40430
+ p_device_key: string;
40431
+ };
40432
+ Returns: Json;
38251
40433
  };
38252
40434
  scan_order_klant: {
40435
+ Args: {
40436
+ p_device_key: string;
40437
+ p_order_id: string;
40438
+ };
40439
+ Returns: Json;
40440
+ } | {
38253
40441
  Args: {
38254
40442
  p_order_id: string;
38255
40443
  };
@@ -38260,6 +40448,12 @@ export type Database = {
38260
40448
  p_barcode: string;
38261
40449
  };
38262
40450
  Returns: Json;
40451
+ } | {
40452
+ Args: {
40453
+ p_barcode: string;
40454
+ p_device_key: string;
40455
+ };
40456
+ Returns: Json;
38263
40457
  };
38264
40458
  scan_pakbon_opnieuw: {
38265
40459
  Args: {
@@ -38267,8 +40461,24 @@ export type Database = {
38267
40461
  p_scanner_id?: string;
38268
40462
  };
38269
40463
  Returns: Json;
40464
+ } | {
40465
+ Args: {
40466
+ p_barcode: string;
40467
+ p_device_key: string;
40468
+ p_scanner_id?: string;
40469
+ };
40470
+ Returns: Json;
38270
40471
  };
38271
40472
  scan_pakbon_toevoegen: {
40473
+ Args: {
40474
+ p_barcode: string;
40475
+ p_device_key: string;
40476
+ p_medewerker?: string;
40477
+ p_regels?: Json;
40478
+ p_scanner_id: string;
40479
+ };
40480
+ Returns: Json;
40481
+ } | {
38272
40482
  Args: {
38273
40483
  p_barcode: string;
38274
40484
  p_medewerker?: string;
@@ -38277,7 +40487,34 @@ export type Database = {
38277
40487
  };
38278
40488
  Returns: Json;
38279
40489
  };
40490
+ scan_pakbonnen_open: {
40491
+ Args: {
40492
+ p_device_key: string;
40493
+ p_limiet?: number;
40494
+ };
40495
+ Returns: Json;
40496
+ };
40497
+ scan_pin_blokkade_opheffen: {
40498
+ Args: {
40499
+ p_scanner_id: string;
40500
+ };
40501
+ Returns: Json;
40502
+ };
40503
+ scan_print_job_status: {
40504
+ Args: {
40505
+ p_device_key: string;
40506
+ p_job_id: string;
40507
+ };
40508
+ Returns: Json;
40509
+ };
38280
40510
  scan_print_restpakbon: {
40511
+ Args: {
40512
+ p_device_key: string;
40513
+ p_printer_id?: string;
40514
+ p_restpakbon_id: string;
40515
+ };
40516
+ Returns: Json;
40517
+ } | {
38281
40518
  Args: {
38282
40519
  p_printer_id?: string;
38283
40520
  p_restpakbon_id: string;
@@ -38290,7 +40527,21 @@ export type Database = {
38290
40527
  };
38291
40528
  Returns: Json;
38292
40529
  };
40530
+ scan_printers: {
40531
+ Args: {
40532
+ p_device_key: string;
40533
+ };
40534
+ Returns: Json;
40535
+ };
38293
40536
  scan_register_item: {
40537
+ Args: {
40538
+ p_device_key: string;
40539
+ p_kar_id: string;
40540
+ p_pakbon_item_id: string;
40541
+ p_scanned_by?: string;
40542
+ };
40543
+ Returns: Json;
40544
+ } | {
38294
40545
  Args: {
38295
40546
  p_kar_id: string;
38296
40547
  p_pakbon_item_id: string;
@@ -38301,20 +40552,51 @@ export type Database = {
38301
40552
  scan_release_expired_locks: {
38302
40553
  Args: never;
38303
40554
  Returns: Json;
40555
+ } | {
40556
+ Args: {
40557
+ p_device_key: string;
40558
+ };
40559
+ Returns: Json;
38304
40560
  };
38305
40561
  scan_remove_item: {
40562
+ Args: {
40563
+ p_device_key: string;
40564
+ p_kar_item_id: string;
40565
+ };
40566
+ Returns: Json;
40567
+ } | {
38306
40568
  Args: {
38307
40569
  p_kar_item_id: string;
38308
40570
  };
38309
40571
  Returns: Json;
38310
40572
  };
40573
+ scan_resolve: {
40574
+ Args: {
40575
+ p_code: string;
40576
+ p_device_key: string;
40577
+ };
40578
+ Returns: Json;
40579
+ };
38311
40580
  scan_restpakbon_geprint: {
40581
+ Args: {
40582
+ p_device_key: string;
40583
+ p_id: string;
40584
+ p_print_job_id?: string;
40585
+ };
40586
+ Returns: undefined;
40587
+ } | {
38312
40588
  Args: {
38313
40589
  p_id: string;
38314
40590
  p_print_job_id?: string;
38315
40591
  };
38316
40592
  Returns: undefined;
38317
40593
  };
40594
+ scan_role_allowed: {
40595
+ Args: {
40596
+ p_level: string;
40597
+ };
40598
+ Returns: boolean;
40599
+ };
38318
40600
  scan_scanner_info: {
38319
40601
  Args: {
38320
40602
  p_slug: string;
@@ -38332,18 +40614,40 @@ export type Database = {
38332
40614
  }[];
38333
40615
  };
38334
40616
  scan_sessie_annuleren: {
40617
+ Args: {
40618
+ p_device_key: string;
40619
+ p_sessie_id: string;
40620
+ };
40621
+ Returns: undefined;
40622
+ } | {
38335
40623
  Args: {
38336
40624
  p_sessie_id: string;
38337
40625
  };
38338
40626
  Returns: undefined;
38339
40627
  };
38340
40628
  scan_sessie_open: {
40629
+ Args: {
40630
+ p_device_key: string;
40631
+ p_scanner_id: string;
40632
+ };
40633
+ Returns: Json;
40634
+ } | {
38341
40635
  Args: {
38342
40636
  p_scanner_id: string;
38343
40637
  };
38344
40638
  Returns: Json;
38345
40639
  };
38346
40640
  scan_start_kar: {
40641
+ Args: {
40642
+ p_device_key: string;
40643
+ p_medewerker_id?: string;
40644
+ p_medewerker_naam?: string;
40645
+ p_pakbon_ids: string[];
40646
+ p_scanner_key?: string;
40647
+ p_sessie?: string;
40648
+ };
40649
+ Returns: Json;
40650
+ } | {
38347
40651
  Args: {
38348
40652
  p_medewerker_id?: string;
38349
40653
  p_medewerker_naam?: string;
@@ -38920,6 +41224,13 @@ export type Database = {
38920
41224
  };
38921
41225
  Returns: boolean;
38922
41226
  };
41227
+ twinfield_assert_caller: {
41228
+ Args: {
41229
+ p_level: string;
41230
+ p_owner?: string;
41231
+ };
41232
+ Returns: undefined;
41233
+ };
38923
41234
  twinfield_auth_install_check: {
38924
41235
  Args: never;
38925
41236
  Returns: {
@@ -38929,6 +41240,10 @@ export type Database = {
38929
41240
  schema_version: string;
38930
41241
  }[];
38931
41242
  };
41243
+ twinfield_caller_is_server: {
41244
+ Args: never;
41245
+ Returns: boolean;
41246
+ };
38932
41247
  twinfield_cancel_queue_item: {
38933
41248
  Args: {
38934
41249
  p_id: string;
@@ -39625,6 +41940,19 @@ export type Database = {
39625
41940
  };
39626
41941
  Returns: number;
39627
41942
  };
41943
+ verkoop_assert_caller: {
41944
+ Args: {
41945
+ p_level: string;
41946
+ p_roles?: Database["public"]["Enums"]["app_role"][];
41947
+ };
41948
+ Returns: undefined;
41949
+ };
41950
+ verkoop_correctie_verpakking: {
41951
+ Args: {
41952
+ p_uitvoeren?: boolean;
41953
+ };
41954
+ Returns: Json;
41955
+ };
39628
41956
  verkoop_create_order: {
39629
41957
  Args: {
39630
41958
  p_accept_late_signup?: boolean;
@@ -39643,6 +41971,15 @@ export type Database = {
39643
41971
  };
39644
41972
  Returns: Json;
39645
41973
  };
41974
+ verkoop_guarded_functions: {
41975
+ Args: never;
41976
+ Returns: {
41977
+ niveau: string;
41978
+ opmerking: string;
41979
+ rollen: string;
41980
+ sig: string;
41981
+ }[];
41982
+ };
39646
41983
  verkoop_insert_manual_order: {
39647
41984
  Args: {
39648
41985
  p_idempotency_key: string;
@@ -39651,6 +41988,23 @@ export type Database = {
39651
41988
  };
39652
41989
  Returns: Json;
39653
41990
  };
41991
+ verkoop_install_check: {
41992
+ Args: never;
41993
+ Returns: {
41994
+ aanwezig: boolean;
41995
+ anon_uitvoerrecht: boolean;
41996
+ authenticated_uitvoerrecht: boolean;
41997
+ naam: string;
41998
+ niveau: string;
41999
+ opmerking: string;
42000
+ poort_aanwezig: boolean;
42001
+ soort: string;
42002
+ }[];
42003
+ };
42004
+ verkoop_is_server: {
42005
+ Args: never;
42006
+ Returns: boolean;
42007
+ };
39654
42008
  verkoop_packing_drift_apply: {
39655
42009
  Args: {
39656
42010
  p_order_ids: string[];
@@ -39724,6 +42078,18 @@ export type Database = {
39724
42078
  };
39725
42079
  Returns: number;
39726
42080
  };
42081
+ voorraad_correctie_1098: {
42082
+ Args: {
42083
+ p_uitvoeren?: boolean;
42084
+ };
42085
+ Returns: Json;
42086
+ };
42087
+ voorraad_correctie_status: {
42088
+ Args: {
42089
+ p_correctie?: string;
42090
+ };
42091
+ Returns: Json;
42092
+ };
39727
42093
  voorraad_external_fulfilled_ids: {
39728
42094
  Args: {
39729
42095
  p_cf: Json;
@@ -39736,6 +42102,20 @@ export type Database = {
39736
42102
  };
39737
42103
  Returns: boolean;
39738
42104
  };
42105
+ voorraad_fust_dimensions: {
42106
+ Args: never;
42107
+ Returns: {
42108
+ dimension_source: string;
42109
+ floricode_name: string;
42110
+ fust_key: string;
42111
+ fust_type_id: string;
42112
+ height_mm: number;
42113
+ length_mm: number;
42114
+ name: string;
42115
+ vbn_code: number;
42116
+ width_mm: number;
42117
+ }[];
42118
+ };
39739
42119
  voorraad_hook_base_url: {
39740
42120
  Args: never;
39741
42121
  Returns: string;
@@ -39753,6 +42133,14 @@ export type Database = {
39753
42133
  };
39754
42134
  Returns: undefined;
39755
42135
  };
42136
+ voorraad_install_check: {
42137
+ Args: never;
42138
+ Returns: Json;
42139
+ };
42140
+ voorraad_is_server: {
42141
+ Args: never;
42142
+ Returns: boolean;
42143
+ };
39756
42144
  voorraad_mark_floriday_sold_before_switch: {
39757
42145
  Args: {
39758
42146
  p_product_id: string;
@@ -39770,6 +42158,13 @@ export type Database = {
39770
42158
  };
39771
42159
  Returns: string;
39772
42160
  };
42161
+ voorraad_vereis: {
42162
+ Args: {
42163
+ p_functie: string;
42164
+ p_niveau: string;
42165
+ };
42166
+ Returns: undefined;
42167
+ };
39773
42168
  voorraad_week_is_past: {
39774
42169
  Args: {
39775
42170
  p_week: number;