@flowselections/floriday-voorraad 1.0.103 → 1.0.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +3 -2
  3. package/dist-lib/components/voorraad/FloridayLoadCarriers.d.ts +9 -0
  4. package/dist-lib/components/voorraad/FloridayLoadCarriers.d.ts.map +1 -0
  5. package/dist-lib/components/voorraad/FloridayLoadCarriers.js +60 -0
  6. package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
  7. package/dist-lib/components/voorraad/FustenPage.js +14 -6
  8. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
  9. package/dist-lib/components/voorraad/NieuwArtikelPage.js +10 -6
  10. package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
  11. package/dist-lib/components/voorraad/StockBulkButtons.js +3 -6
  12. package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
  13. package/dist-lib/components/voorraad/StockSyncStatus.js +10 -2
  14. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  15. package/dist-lib/components/voorraad/VoorraadStockCard.js +6 -4
  16. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  17. package/dist-lib/components/voorraad/VoorraadTable.js +6 -1
  18. package/dist-lib/hooks/useFloridayWriteMode.d.ts +7 -0
  19. package/dist-lib/hooks/useFloridayWriteMode.d.ts.map +1 -0
  20. package/dist-lib/hooks/useFloridayWriteMode.js +21 -0
  21. package/dist-lib/hooks/useStockSyncHealth.d.ts +9 -0
  22. package/dist-lib/hooks/useStockSyncHealth.d.ts.map +1 -1
  23. package/dist-lib/hooks/useStockSyncHealth.js +23 -0
  24. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  25. package/dist-lib/hooks/useTradeItemStock.js +23 -10
  26. package/dist-lib/integrations/supabase/types.d.ts +2247 -131
  27. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  28. package/dist-lib/lib/__tests__/floriday-write-mode.test.d.ts +2 -0
  29. package/dist-lib/lib/__tests__/floriday-write-mode.test.d.ts.map +1 -0
  30. package/dist-lib/lib/__tests__/floriday-write-mode.test.js +40 -0
  31. package/dist-lib/lib/floriday-write-mode.d.ts +21 -0
  32. package/dist-lib/lib/floriday-write-mode.d.ts.map +1 -0
  33. package/dist-lib/lib/floriday-write-mode.js +40 -0
  34. package/dist-lib/lib/fusten.d.ts +20 -0
  35. package/dist-lib/lib/fusten.d.ts.map +1 -1
  36. package/dist-lib/lib/fusten.js +48 -41
  37. package/dist-lib/lib/stock-scope.d.ts +3 -1
  38. package/dist-lib/lib/stock-scope.d.ts.map +1 -1
  39. package/dist-lib/lib/stock-scope.js +3 -1
  40. package/package.json +1 -1
  41. package/sql/AGENTS.md +2 -8
  42. package/sql/floriday-voorraad-schema.sql +194 -71
@@ -17043,6 +17043,7 @@ export type Database = {
17043
17043
  sort_order: number;
17044
17044
  sticker_available: boolean;
17045
17045
  sticker_cost: number | null;
17046
+ zero_price_confirmed: boolean;
17046
17047
  };
17047
17048
  Insert: {
17048
17049
  available_stock?: number;
@@ -17062,6 +17063,7 @@ export type Database = {
17062
17063
  sort_order?: number;
17063
17064
  sticker_available?: boolean;
17064
17065
  sticker_cost?: number | null;
17066
+ zero_price_confirmed?: boolean;
17065
17067
  };
17066
17068
  Update: {
17067
17069
  available_stock?: number;
@@ -17081,6 +17083,7 @@ export type Database = {
17081
17083
  sort_order?: number;
17082
17084
  sticker_available?: boolean;
17083
17085
  sticker_cost?: number | null;
17086
+ zero_price_confirmed?: boolean;
17084
17087
  };
17085
17088
  Relationships: [
17086
17089
  {
@@ -17106,6 +17109,7 @@ export type Database = {
17106
17109
  status: string;
17107
17110
  subject: string;
17108
17111
  updated_at: string;
17112
+ valid_until: string | null;
17109
17113
  };
17110
17114
  Insert: {
17111
17115
  created_at?: string;
@@ -17120,6 +17124,7 @@ export type Database = {
17120
17124
  status?: string;
17121
17125
  subject: string;
17122
17126
  updated_at?: string;
17127
+ valid_until?: string | null;
17123
17128
  };
17124
17129
  Update: {
17125
17130
  created_at?: string;
@@ -17134,6 +17139,7 @@ export type Database = {
17134
17139
  status?: string;
17135
17140
  subject?: string;
17136
17141
  updated_at?: string;
17142
+ valid_until?: string | null;
17137
17143
  };
17138
17144
  Relationships: [];
17139
17145
  };
@@ -17182,6 +17188,8 @@ export type Database = {
17182
17188
  offer_orders: {
17183
17189
  Row: {
17184
17190
  campaign_id: string;
17191
+ carrier_warning: string | null;
17192
+ carrier_warning_at: string | null;
17185
17193
  created_at: string;
17186
17194
  customer_email: string;
17187
17195
  customer_id: string | null;
@@ -17190,6 +17198,9 @@ export type Database = {
17190
17198
  id: string;
17191
17199
  items: Json;
17192
17200
  notes: string | null;
17201
+ office_notification_at: string | null;
17202
+ office_notification_reason: string | null;
17203
+ office_notification_status: string | null;
17193
17204
  order_creation_attempts: number;
17194
17205
  order_creation_error: string | null;
17195
17206
  order_creation_failed_at: string | null;
@@ -17201,6 +17212,8 @@ export type Database = {
17201
17212
  };
17202
17213
  Insert: {
17203
17214
  campaign_id: string;
17215
+ carrier_warning?: string | null;
17216
+ carrier_warning_at?: string | null;
17204
17217
  created_at?: string;
17205
17218
  customer_email: string;
17206
17219
  customer_id?: string | null;
@@ -17209,6 +17222,9 @@ export type Database = {
17209
17222
  id?: string;
17210
17223
  items?: Json;
17211
17224
  notes?: string | null;
17225
+ office_notification_at?: string | null;
17226
+ office_notification_reason?: string | null;
17227
+ office_notification_status?: string | null;
17212
17228
  order_creation_attempts?: number;
17213
17229
  order_creation_error?: string | null;
17214
17230
  order_creation_failed_at?: string | null;
@@ -17220,6 +17236,8 @@ export type Database = {
17220
17236
  };
17221
17237
  Update: {
17222
17238
  campaign_id?: string;
17239
+ carrier_warning?: string | null;
17240
+ carrier_warning_at?: string | null;
17223
17241
  created_at?: string;
17224
17242
  customer_email?: string;
17225
17243
  customer_id?: string | null;
@@ -17228,6 +17246,9 @@ export type Database = {
17228
17246
  id?: string;
17229
17247
  items?: Json;
17230
17248
  notes?: string | null;
17249
+ office_notification_at?: string | null;
17250
+ office_notification_reason?: string | null;
17251
+ office_notification_status?: string | null;
17231
17252
  order_creation_attempts?: number;
17232
17253
  order_creation_error?: string | null;
17233
17254
  order_creation_failed_at?: string | null;
@@ -18900,6 +18921,74 @@ export type Database = {
18900
18921
  }
18901
18922
  ];
18902
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
+ };
18903
18992
  pick_station_heartbeats: {
18904
18993
  Row: {
18905
18994
  browser: string | null;
@@ -19032,6 +19121,53 @@ export type Database = {
19032
19121
  };
19033
19122
  Relationships: [];
19034
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
+ };
19035
19171
  pick_station_permissions: {
19036
19172
  Row: {
19037
19173
  can_break_lock: boolean;
@@ -19203,6 +19339,29 @@ export type Database = {
19203
19339
  }
19204
19340
  ];
19205
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
+ };
19206
19365
  pick_station_tasks: {
19207
19366
  Row: {
19208
19367
  active: boolean;
@@ -20477,6 +20636,7 @@ export type Database = {
20477
20636
  render_html: string | null;
20478
20637
  resultaat_pdf_base64: string | null;
20479
20638
  status: Database["public"]["Enums"]["print_job_status"];
20639
+ uitwijk: Json | null;
20480
20640
  updated_at: string;
20481
20641
  verloopt_na_s: number | null;
20482
20642
  verwerkingsfase: string;
@@ -20533,6 +20693,7 @@ export type Database = {
20533
20693
  render_html?: string | null;
20534
20694
  resultaat_pdf_base64?: string | null;
20535
20695
  status?: Database["public"]["Enums"]["print_job_status"];
20696
+ uitwijk?: Json | null;
20536
20697
  updated_at?: string;
20537
20698
  verloopt_na_s?: number | null;
20538
20699
  verwerkingsfase?: string;
@@ -20589,6 +20750,7 @@ export type Database = {
20589
20750
  render_html?: string | null;
20590
20751
  resultaat_pdf_base64?: string | null;
20591
20752
  status?: Database["public"]["Enums"]["print_job_status"];
20753
+ uitwijk?: Json | null;
20592
20754
  updated_at?: string;
20593
20755
  verloopt_na_s?: number | null;
20594
20756
  verwerkingsfase?: string;
@@ -20739,6 +20901,7 @@ export type Database = {
20739
20901
  };
20740
20902
  print_plekken: {
20741
20903
  Row: {
20904
+ a4_stickervel: Json | null;
20742
20905
  actief: boolean;
20743
20906
  created_at: string;
20744
20907
  id: string;
@@ -20747,6 +20910,7 @@ export type Database = {
20747
20910
  updated_at: string;
20748
20911
  };
20749
20912
  Insert: {
20913
+ a4_stickervel?: Json | null;
20750
20914
  actief?: boolean;
20751
20915
  created_at?: string;
20752
20916
  id?: string;
@@ -20755,6 +20919,7 @@ export type Database = {
20755
20919
  updated_at?: string;
20756
20920
  };
20757
20921
  Update: {
20922
+ a4_stickervel?: Json | null;
20758
20923
  actief?: boolean;
20759
20924
  created_at?: string;
20760
20925
  id?: string;
@@ -23154,6 +23319,107 @@ export type Database = {
23154
23319
  };
23155
23320
  Relationships: [];
23156
23321
  };
23322
+ scan_apparaat_koppelcodes: {
23323
+ Row: {
23324
+ aangemaakt_door: string | null;
23325
+ apparaat_id: string | null;
23326
+ code_hash: string;
23327
+ created_at: string;
23328
+ gebruikt_op: string | null;
23329
+ geldig_tot: string;
23330
+ id: string;
23331
+ pogingen: number;
23332
+ scanner_id: string;
23333
+ vervallen_op: string | null;
23334
+ };
23335
+ Insert: {
23336
+ aangemaakt_door?: string | null;
23337
+ apparaat_id?: string | null;
23338
+ code_hash: string;
23339
+ created_at?: string;
23340
+ gebruikt_op?: string | null;
23341
+ geldig_tot: string;
23342
+ id?: string;
23343
+ pogingen?: number;
23344
+ scanner_id: string;
23345
+ vervallen_op?: string | null;
23346
+ };
23347
+ Update: {
23348
+ aangemaakt_door?: string | null;
23349
+ apparaat_id?: string | null;
23350
+ code_hash?: string;
23351
+ created_at?: string;
23352
+ gebruikt_op?: string | null;
23353
+ geldig_tot?: string;
23354
+ id?: string;
23355
+ pogingen?: number;
23356
+ scanner_id?: string;
23357
+ vervallen_op?: string | null;
23358
+ };
23359
+ Relationships: [
23360
+ {
23361
+ foreignKeyName: "scan_apparaat_koppelcodes_apparaat_id_fkey";
23362
+ columns: ["apparaat_id"];
23363
+ isOneToOne: false;
23364
+ referencedRelation: "scan_apparaten";
23365
+ referencedColumns: ["id"];
23366
+ },
23367
+ {
23368
+ foreignKeyName: "scan_apparaat_koppelcodes_scanner_id_fkey";
23369
+ columns: ["scanner_id"];
23370
+ isOneToOne: false;
23371
+ referencedRelation: "scan_scanners";
23372
+ referencedColumns: ["id"];
23373
+ }
23374
+ ];
23375
+ };
23376
+ scan_apparaten: {
23377
+ Row: {
23378
+ aangemaakt_door: string | null;
23379
+ created_at: string;
23380
+ id: string;
23381
+ ingetrokken_door: string | null;
23382
+ ingetrokken_op: string | null;
23383
+ laatst_gezien: string | null;
23384
+ naam: string | null;
23385
+ scanner_id: string;
23386
+ sleutel_hash: string;
23387
+ updated_at: string;
23388
+ };
23389
+ Insert: {
23390
+ aangemaakt_door?: string | null;
23391
+ created_at?: string;
23392
+ id?: string;
23393
+ ingetrokken_door?: string | null;
23394
+ ingetrokken_op?: string | null;
23395
+ laatst_gezien?: string | null;
23396
+ naam?: string | null;
23397
+ scanner_id: string;
23398
+ sleutel_hash: string;
23399
+ updated_at?: string;
23400
+ };
23401
+ Update: {
23402
+ aangemaakt_door?: string | null;
23403
+ created_at?: string;
23404
+ id?: string;
23405
+ ingetrokken_door?: string | null;
23406
+ ingetrokken_op?: string | null;
23407
+ laatst_gezien?: string | null;
23408
+ naam?: string | null;
23409
+ scanner_id?: string;
23410
+ sleutel_hash?: string;
23411
+ updated_at?: string;
23412
+ };
23413
+ Relationships: [
23414
+ {
23415
+ foreignKeyName: "scan_apparaten_scanner_id_fkey";
23416
+ columns: ["scanner_id"];
23417
+ isOneToOne: false;
23418
+ referencedRelation: "scan_scanners";
23419
+ referencedColumns: ["id"];
23420
+ }
23421
+ ];
23422
+ };
23157
23423
  scan_kar_items: {
23158
23424
  Row: {
23159
23425
  barcode: string;
@@ -23557,6 +23823,35 @@ export type Database = {
23557
23823
  };
23558
23824
  Relationships: [];
23559
23825
  };
23826
+ scan_pin_pogingen: {
23827
+ Row: {
23828
+ fout_pogingen: number;
23829
+ geblokkeerd_tot: string | null;
23830
+ scanner_id: string;
23831
+ updated_at: string;
23832
+ };
23833
+ Insert: {
23834
+ fout_pogingen?: number;
23835
+ geblokkeerd_tot?: string | null;
23836
+ scanner_id: string;
23837
+ updated_at?: string;
23838
+ };
23839
+ Update: {
23840
+ fout_pogingen?: number;
23841
+ geblokkeerd_tot?: string | null;
23842
+ scanner_id?: string;
23843
+ updated_at?: string;
23844
+ };
23845
+ Relationships: [
23846
+ {
23847
+ foreignKeyName: "scan_pin_pogingen_scanner_id_fkey";
23848
+ columns: ["scanner_id"];
23849
+ isOneToOne: true;
23850
+ referencedRelation: "scan_scanners";
23851
+ referencedColumns: ["id"];
23852
+ }
23853
+ ];
23854
+ };
23560
23855
  scan_restpakbonnen: {
23561
23856
  Row: {
23562
23857
  barcode: string;
@@ -27427,6 +27722,51 @@ export type Database = {
27427
27722
  }
27428
27723
  ];
27429
27724
  };
27725
+ verkoop_correctie_log: {
27726
+ Row: {
27727
+ aantal_orders: number;
27728
+ aantal_orders_gewijzigd: number;
27729
+ aantal_overgeslagen: number;
27730
+ aantal_regels_gewijzigd: number;
27731
+ correctie: string;
27732
+ created_at: string;
27733
+ details: Json;
27734
+ door_label: string;
27735
+ id: string;
27736
+ uitgevoerd_door: string | null;
27737
+ uitgevoerd_op: string;
27738
+ uitvoeren: boolean;
27739
+ };
27740
+ Insert: {
27741
+ aantal_orders?: number;
27742
+ aantal_orders_gewijzigd?: number;
27743
+ aantal_overgeslagen?: number;
27744
+ aantal_regels_gewijzigd?: number;
27745
+ correctie: string;
27746
+ created_at?: string;
27747
+ details?: Json;
27748
+ door_label: string;
27749
+ id?: string;
27750
+ uitgevoerd_door?: string | null;
27751
+ uitgevoerd_op?: string;
27752
+ uitvoeren: boolean;
27753
+ };
27754
+ Update: {
27755
+ aantal_orders?: number;
27756
+ aantal_orders_gewijzigd?: number;
27757
+ aantal_overgeslagen?: number;
27758
+ aantal_regels_gewijzigd?: number;
27759
+ correctie?: string;
27760
+ created_at?: string;
27761
+ details?: Json;
27762
+ door_label?: string;
27763
+ id?: string;
27764
+ uitgevoerd_door?: string | null;
27765
+ uitgevoerd_op?: string;
27766
+ uitvoeren?: boolean;
27767
+ };
27768
+ Relationships: [];
27769
+ };
27430
27770
  voorraad_buffer_state: {
27431
27771
  Row: {
27432
27772
  buffer_id: string;
@@ -27529,6 +27869,27 @@ export type Database = {
27529
27869
  };
27530
27870
  Relationships: [];
27531
27871
  };
27872
+ voorraad_local_context: {
27873
+ Row: {
27874
+ created_at: string;
27875
+ created_by: string | null;
27876
+ id: string;
27877
+ singleton: boolean;
27878
+ };
27879
+ Insert: {
27880
+ created_at?: string;
27881
+ created_by?: string | null;
27882
+ id?: string;
27883
+ singleton?: boolean;
27884
+ };
27885
+ Update: {
27886
+ created_at?: string;
27887
+ created_by?: string | null;
27888
+ id?: string;
27889
+ singleton?: boolean;
27890
+ };
27891
+ Relationships: [];
27892
+ };
27532
27893
  voorraad_logistics_event_log: {
27533
27894
  Row: {
27534
27895
  created_at: string;
@@ -30168,6 +30529,10 @@ export type Database = {
30168
30529
  };
30169
30530
  Returns: number;
30170
30531
  };
30532
+ _floriday_write_mode_data: {
30533
+ Args: never;
30534
+ Returns: Json;
30535
+ };
30171
30536
  _jsonb_paden_met_waarde: {
30172
30537
  Args: {
30173
30538
  _j: Json;
@@ -30180,6 +30545,12 @@ export type Database = {
30180
30545
  Args: never;
30181
30546
  Returns: boolean;
30182
30547
  };
30548
+ _layouts_toegang_server_of_ingelogd: {
30549
+ Args: {
30550
+ p_alleen_beheer: boolean;
30551
+ };
30552
+ Returns: undefined;
30553
+ };
30183
30554
  _migrate_rewrite_stock_key: {
30184
30555
  Args: {
30185
30556
  _from_key: string;
@@ -30187,6 +30558,13 @@ export type Database = {
30187
30558
  };
30188
30559
  Returns: undefined;
30189
30560
  };
30561
+ _pick_job_of_station: {
30562
+ Args: {
30563
+ p_job_id: string;
30564
+ p_station: string;
30565
+ };
30566
+ Returns: boolean;
30567
+ };
30190
30568
  _pick_station_for_cart: {
30191
30569
  Args: {
30192
30570
  p_cart_id: string;
@@ -30212,25 +30590,86 @@ export type Database = {
30212
30590
  };
30213
30591
  Returns: Json;
30214
30592
  };
30215
- _scan_kar_floriday_afgehandeld: {
30593
+ _scan_alleen_gekoppeld: {
30594
+ Args: never;
30595
+ Returns: boolean;
30596
+ };
30597
+ _scan_assert_beheer: {
30598
+ Args: never;
30599
+ Returns: undefined;
30600
+ };
30601
+ _scan_assert_device: {
30216
30602
  Args: {
30217
- p_cart_id: string;
30218
- p_order_id?: string;
30603
+ p_device_key: string;
30219
30604
  };
30220
- Returns: Json;
30605
+ Returns: string;
30221
30606
  };
30222
- _scan_kar_pakbon_geprint: {
30607
+ _scan_assert_legacy: {
30608
+ Args: never;
30609
+ Returns: undefined;
30610
+ };
30611
+ _scan_check_kar: {
30223
30612
  Args: {
30224
- p_cart_id: string;
30613
+ p_kar_id: string;
30614
+ v: string;
30225
30615
  };
30226
- Returns: Json;
30616
+ Returns: undefined;
30227
30617
  };
30228
- _scan_kar_voortgang: {
30618
+ _scan_check_scanner: {
30229
30619
  Args: {
30230
- p_cart_id: string;
30620
+ p: string;
30621
+ v: string;
30622
+ };
30623
+ Returns: string;
30624
+ };
30625
+ _scan_check_sessie: {
30626
+ Args: {
30627
+ p_sessie_id: string;
30628
+ v: string;
30629
+ };
30630
+ Returns: undefined;
30631
+ };
30632
+ _scan_floriday_stand: {
30633
+ Args: never;
30634
+ Returns: Json;
30635
+ };
30636
+ _scan_hash: {
30637
+ Args: {
30638
+ p: string;
30639
+ };
30640
+ Returns: string;
30641
+ };
30642
+ _scan_is_beheer: {
30643
+ Args: never;
30644
+ Returns: boolean;
30645
+ };
30646
+ _scan_is_server: {
30647
+ Args: never;
30648
+ Returns: boolean;
30649
+ };
30650
+ _scan_kar_floriday_afgehandeld: {
30651
+ Args: {
30652
+ p_cart_id: string;
30653
+ p_order_id?: string;
30654
+ };
30655
+ Returns: Json;
30656
+ };
30657
+ _scan_kar_pakbon_geprint: {
30658
+ Args: {
30659
+ p_cart_id: string;
30660
+ };
30661
+ Returns: Json;
30662
+ };
30663
+ _scan_kar_voortgang: {
30664
+ Args: {
30665
+ p_cart_id: string;
30231
30666
  };
30232
30667
  Returns: Json;
30233
30668
  };
30669
+ _scan_vertrouwd: {
30670
+ Args: never;
30671
+ Returns: boolean;
30672
+ };
30234
30673
  _stock_import_caller: {
30235
30674
  Args: {
30236
30675
  p_owner: string;
@@ -30241,6 +30680,73 @@ export type Database = {
30241
30680
  Args: never;
30242
30681
  Returns: boolean;
30243
30682
  };
30683
+ aanbiedingsmail_assert_caller: {
30684
+ Args: {
30685
+ p_level: string;
30686
+ };
30687
+ Returns: undefined;
30688
+ };
30689
+ aanbiedingsmail_create_order: {
30690
+ Args: {
30691
+ p_offer_order_id: string;
30692
+ };
30693
+ Returns: Json;
30694
+ };
30695
+ aanbiedingsmail_ensure_cron: {
30696
+ Args: never;
30697
+ Returns: Json;
30698
+ };
30699
+ aanbiedingsmail_install_check: {
30700
+ Args: never;
30701
+ Returns: Json;
30702
+ };
30703
+ aanbiedingsmail_is_server: {
30704
+ Args: never;
30705
+ Returns: boolean;
30706
+ };
30707
+ aanbiedingsmail_koppel_producten: {
30708
+ Args: {
30709
+ p_uitvoeren?: boolean;
30710
+ };
30711
+ Returns: Json;
30712
+ };
30713
+ aanbiedingsmail_link_status: {
30714
+ Args: {
30715
+ p_code: string;
30716
+ };
30717
+ Returns: Json;
30718
+ };
30719
+ aanbiedingsmail_notify_office: {
30720
+ Args: {
30721
+ p_offer_order_id: string;
30722
+ };
30723
+ Returns: Json;
30724
+ };
30725
+ aanbiedingsmail_place_offer_order: {
30726
+ Args: {
30727
+ p_code: string;
30728
+ p_customer_email: string;
30729
+ p_customer_name: string;
30730
+ p_customer_phone: string;
30731
+ p_items: Json;
30732
+ p_notes: string;
30733
+ p_retry_payload: Json;
30734
+ p_total: number;
30735
+ };
30736
+ Returns: Json;
30737
+ };
30738
+ aanbiedingsmail_resolve_product_id: {
30739
+ Args: {
30740
+ p_ref: string;
30741
+ };
30742
+ Returns: string;
30743
+ };
30744
+ aanbiedingsmail_stock_key: {
30745
+ Args: {
30746
+ p_ref: string;
30747
+ };
30748
+ Returns: string;
30749
+ };
30244
30750
  afh_assert_ingelogd: {
30245
30751
  Args: never;
30246
30752
  Returns: undefined;
@@ -30444,6 +30950,17 @@ export type Database = {
30444
30950
  };
30445
30951
  Returns: Json;
30446
30952
  };
30953
+ afh_signup_moment_for_orders: {
30954
+ Args: {
30955
+ p_order_ids: string[];
30956
+ };
30957
+ Returns: {
30958
+ aanmeld_at: string;
30959
+ bron: string;
30960
+ carrier_id: string;
30961
+ order_id: string;
30962
+ }[];
30963
+ };
30447
30964
  afh_signup_send_group: {
30448
30965
  Args: {
30449
30966
  g: Json;
@@ -30485,6 +31002,26 @@ export type Database = {
30485
31002
  Args: never;
30486
31003
  Returns: Json;
30487
31004
  };
31005
+ ai_catalog: {
31006
+ Args: never;
31007
+ Returns: Json;
31008
+ };
31009
+ ai_declare_installatietechniek_werkbonnen_planner: {
31010
+ Args: never;
31011
+ Returns: Json;
31012
+ };
31013
+ ai_declare_klanten_stickers: {
31014
+ Args: never;
31015
+ Returns: Json;
31016
+ };
31017
+ ai_declare_mailbox_bestellingen: {
31018
+ Args: never;
31019
+ Returns: Json;
31020
+ };
31021
+ ai_declare_werkbon_postvak: {
31022
+ Args: never;
31023
+ Returns: Json;
31024
+ };
30488
31025
  ai_is_admin: {
30489
31026
  Args: {
30490
31027
  _uid: string;
@@ -30505,6 +31042,10 @@ export type Database = {
30505
31042
  };
30506
31043
  Returns: boolean;
30507
31044
  };
31045
+ ai_sync_catalog: {
31046
+ Args: never;
31047
+ Returns: Json;
31048
+ };
30508
31049
  ai_usage_by_module: {
30509
31050
  Args: {
30510
31051
  _from: string;
@@ -30763,6 +31304,7 @@ export type Database = {
30763
31304
  render_html: string | null;
30764
31305
  resultaat_pdf_base64: string | null;
30765
31306
  status: Database["public"]["Enums"]["print_job_status"];
31307
+ uitwijk: Json | null;
30766
31308
  updated_at: string;
30767
31309
  verloopt_na_s: number | null;
30768
31310
  verwerkingsfase: string;
@@ -30961,6 +31503,7 @@ export type Database = {
30961
31503
  render_html: string | null;
30962
31504
  resultaat_pdf_base64: string | null;
30963
31505
  status: Database["public"]["Enums"]["print_job_status"];
31506
+ uitwijk: Json | null;
30964
31507
  updated_at: string;
30965
31508
  verloopt_na_s: number | null;
30966
31509
  verwerkingsfase: string;
@@ -31029,6 +31572,7 @@ export type Database = {
31029
31572
  render_html: string | null;
31030
31573
  resultaat_pdf_base64: string | null;
31031
31574
  status: Database["public"]["Enums"]["print_job_status"];
31575
+ uitwijk: Json | null;
31032
31576
  updated_at: string;
31033
31577
  verloopt_na_s: number | null;
31034
31578
  verwerkingsfase: string;
@@ -31434,6 +31978,16 @@ export type Database = {
31434
31978
  };
31435
31979
  Returns: string;
31436
31980
  };
31981
+ email_auth_enqueue_internal: {
31982
+ Args: {
31983
+ p_dedupe_key: string;
31984
+ p_from_name: string;
31985
+ p_html: string;
31986
+ p_source_module: string;
31987
+ p_subject: string;
31988
+ };
31989
+ Returns: Json;
31990
+ };
31437
31991
  email_auth_fetch_message: {
31438
31992
  Args: {
31439
31993
  _connection_id: string;
@@ -31457,6 +32011,14 @@ export type Database = {
31457
32011
  status: string;
31458
32012
  }[];
31459
32013
  };
32014
+ email_auth_install_check: {
32015
+ Args: never;
32016
+ Returns: Json;
32017
+ };
32018
+ email_auth_is_server_call: {
32019
+ Args: never;
32020
+ Returns: boolean;
32021
+ };
31460
32022
  email_auth_upsert_connection: {
31461
32023
  Args: {
31462
32024
  _account_email: string;
@@ -31515,6 +32077,10 @@ export type Database = {
31515
32077
  Args: never;
31516
32078
  Returns: string;
31517
32079
  };
32080
+ ensure_voorraad_local_context: {
32081
+ Args: never;
32082
+ Returns: string;
32083
+ };
31518
32084
  exact_auth_consume_calls: {
31519
32085
  Args: {
31520
32086
  _account_key: string;
@@ -31580,6 +32146,30 @@ export type Database = {
31580
32146
  };
31581
32147
  Returns: boolean;
31582
32148
  };
32149
+ floricode_load_carriers: {
32150
+ Args: never;
32151
+ Returns: {
32152
+ code: string;
32153
+ environment: string;
32154
+ height_mm: number;
32155
+ length_mm: number;
32156
+ name: string;
32157
+ width_mm: number;
32158
+ }[];
32159
+ };
32160
+ floricode_packaging_types: {
32161
+ Args: never;
32162
+ Returns: {
32163
+ code: string;
32164
+ expiry_date: string;
32165
+ height_mm: number;
32166
+ length_mm: number;
32167
+ name: string;
32168
+ packaging_type_id: string;
32169
+ packaging_type_name: string;
32170
+ width_mm: number;
32171
+ }[];
32172
+ };
31583
32173
  floricode_sync_cron_schedule: {
31584
32174
  Args: {
31585
32175
  p_apikey: string;
@@ -32159,6 +32749,17 @@ export type Database = {
32159
32749
  status: string;
32160
32750
  }[];
32161
32751
  };
32752
+ get_stock_context: {
32753
+ Args: {
32754
+ p_ensure?: boolean;
32755
+ };
32756
+ Returns: {
32757
+ connection_id: string;
32758
+ context_id: string;
32759
+ context_kind: string;
32760
+ user_id: string;
32761
+ }[];
32762
+ };
32162
32763
  get_twinfield_cron_jobs: {
32163
32764
  Args: never;
32164
32765
  Returns: {
@@ -32839,6 +33440,12 @@ export type Database = {
32839
33440
  status: string;
32840
33441
  }[];
32841
33442
  };
33443
+ layout_rij_weergavenaam: {
33444
+ Args: {
33445
+ _rij: Json;
33446
+ };
33447
+ Returns: string;
33448
+ };
32842
33449
  layout_standaard_overnemen: {
32843
33450
  Args: {
32844
33451
  _layout_id: string;
@@ -32875,6 +33482,26 @@ export type Database = {
32875
33482
  Args: never;
32876
33483
  Returns: number;
32877
33484
  };
33485
+ layouts_a4_velindelingen: {
33486
+ Args: never;
33487
+ Returns: {
33488
+ breedte_mm: number;
33489
+ hoogte_mm: number;
33490
+ kolommen: number;
33491
+ rijen: number;
33492
+ }[];
33493
+ };
33494
+ layouts_vroege_sticker_waarschuwing: {
33495
+ Args: {
33496
+ p_tot: string;
33497
+ p_van: string;
33498
+ };
33499
+ Returns: Json;
33500
+ };
33501
+ layouts_zorg_voor_a4_stickervel: {
33502
+ Args: never;
33503
+ Returns: Json;
33504
+ };
32878
33505
  list_medewerkers: {
32879
33506
  Args: never;
32880
33507
  Returns: {
@@ -33205,6 +33832,19 @@ export type Database = {
33205
33832
  Args: never;
33206
33833
  Returns: string;
33207
33834
  };
33835
+ logistics_belading_wacht: {
33836
+ Args: {
33837
+ p_order_id?: string;
33838
+ };
33839
+ Returns: {
33840
+ order_id: string;
33841
+ order_ref: string;
33842
+ product: string;
33843
+ redenen: string[];
33844
+ sinds: string;
33845
+ sleutel: string;
33846
+ }[];
33847
+ };
33208
33848
  logistics_block_reason_code: {
33209
33849
  Args: {
33210
33850
  p_details?: Json;
@@ -33760,6 +34400,14 @@ export type Database = {
33760
34400
  Args: never;
33761
34401
  Returns: number;
33762
34402
  };
34403
+ logistics_check_190: {
34404
+ Args: never;
34405
+ Returns: {
34406
+ ok: boolean;
34407
+ onderdeel: string;
34408
+ toelichting: string;
34409
+ }[];
34410
+ };
33763
34411
  logistics_check_order_allowed: {
33764
34412
  Args: {
33765
34413
  p_lines: Json;
@@ -34984,6 +35632,14 @@ export type Database = {
34984
35632
  Args: never;
34985
35633
  Returns: Json;
34986
35634
  };
35635
+ logistics_overload_check: {
35636
+ Args: never;
35637
+ Returns: {
35638
+ ok: boolean;
35639
+ onderdeel: string;
35640
+ toelichting: string;
35641
+ }[];
35642
+ };
34987
35643
  logistics_own_sticker_count: {
34988
35644
  Args: {
34989
35645
  p_ppc_product: number;
@@ -35247,6 +35903,15 @@ export type Database = {
35247
35903
  };
35248
35904
  Returns: string;
35249
35905
  };
35906
+ logistics_plan_fail_log: {
35907
+ Args: {
35908
+ p_actor: string;
35909
+ p_msg: string;
35910
+ p_order_id: string;
35911
+ p_state: string;
35912
+ };
35913
+ Returns: undefined;
35914
+ };
35250
35915
  logistics_plan_finish: {
35251
35916
  Args: {
35252
35917
  p_error?: string;
@@ -36170,6 +36835,19 @@ export type Database = {
36170
36835
  Args: never;
36171
36836
  Returns: boolean;
36172
36837
  };
36838
+ logistics_sticker_maten_per_dag: {
36839
+ Args: {
36840
+ p_tot: string;
36841
+ p_van: string;
36842
+ };
36843
+ Returns: {
36844
+ aantal: number;
36845
+ breedte_mm: number;
36846
+ dag: string;
36847
+ hoogte_mm: number;
36848
+ print_plek_id: string;
36849
+ }[];
36850
+ };
36173
36851
  logistics_sticker_moment: {
36174
36852
  Args: {
36175
36853
  _cart: string;
@@ -36752,10 +37430,25 @@ export type Database = {
36752
37430
  naam: string;
36753
37431
  online: boolean;
36754
37432
  }[];
37433
+ } | {
37434
+ Args: {
37435
+ p_device_key: string;
37436
+ };
37437
+ Returns: {
37438
+ id: string;
37439
+ locatie: string;
37440
+ naam: string;
37441
+ online: boolean;
37442
+ }[];
36755
37443
  };
36756
37444
  pick_apply_buffer_events: {
36757
37445
  Args: never;
36758
37446
  Returns: Json;
37447
+ } | {
37448
+ Args: {
37449
+ p_device_key: string;
37450
+ };
37451
+ Returns: Json;
36759
37452
  };
36760
37453
  pick_assert_printable: {
36761
37454
  Args: {
@@ -36763,6 +37456,12 @@ export type Database = {
36763
37456
  };
36764
37457
  Returns: undefined;
36765
37458
  };
37459
+ pick_assert_station: {
37460
+ Args: {
37461
+ p_device_key: string;
37462
+ };
37463
+ Returns: string;
37464
+ };
36766
37465
  pick_available_pick_days: {
36767
37466
  Args: {
36768
37467
  _max_days?: number;
@@ -36771,6 +37470,15 @@ export type Database = {
36771
37470
  orders: number;
36772
37471
  pick_day: string;
36773
37472
  }[];
37473
+ } | {
37474
+ Args: {
37475
+ _max_days?: number;
37476
+ p_device_key: string;
37477
+ };
37478
+ Returns: {
37479
+ orders: number;
37480
+ pick_day: string;
37481
+ }[];
36774
37482
  };
36775
37483
  pick_buffer_order_ids: {
36776
37484
  Args: {
@@ -36778,6 +37486,10 @@ export type Database = {
36778
37486
  };
36779
37487
  Returns: string[];
36780
37488
  };
37489
+ pick_build_key_variants: {
37490
+ Args: never;
37491
+ Returns: Json;
37492
+ };
36781
37493
  pick_cart_breakdown: {
36782
37494
  Args: {
36783
37495
  _order_id: string;
@@ -36833,15 +37545,14 @@ export type Database = {
36833
37545
  isOneToOne: true;
36834
37546
  isSetofReturn: false;
36835
37547
  };
36836
- };
36837
- pick_claim_next_document: {
37548
+ } | {
36838
37549
  Args: {
36839
- _country_code: string;
36840
- _pick_day?: string;
37550
+ _queue_item_id: string;
36841
37551
  _screen_id: string;
36842
37552
  _session_id: string;
36843
37553
  _station_id: string;
36844
37554
  _timeout_seconds?: number;
37555
+ p_device_key: string;
36845
37556
  };
36846
37557
  Returns: {
36847
37558
  announced_at: string;
@@ -36885,18 +37596,14 @@ export type Database = {
36885
37596
  isSetofReturn: false;
36886
37597
  };
36887
37598
  };
36888
- pick_cleanup_maintenance: {
37599
+ pick_claim_next_document: {
36889
37600
  Args: {
36890
- _heartbeat_hours?: number;
36891
- _log_days?: number;
36892
- };
36893
- Returns: Json;
36894
- };
36895
- pick_complete_print: {
36896
- Args: {
36897
- _printer_id: string;
36898
- _queue_item_id: string;
37601
+ _country_code: string;
37602
+ _pick_day?: string;
37603
+ _screen_id: string;
36899
37604
  _session_id: string;
37605
+ _station_id: string;
37606
+ _timeout_seconds?: number;
36900
37607
  };
36901
37608
  Returns: {
36902
37609
  announced_at: string;
@@ -36939,13 +37646,15 @@ export type Database = {
36939
37646
  isOneToOne: true;
36940
37647
  isSetofReturn: false;
36941
37648
  };
36942
- };
36943
- pick_complete_print_cart: {
37649
+ } | {
36944
37650
  Args: {
36945
- _cart_id: string;
36946
- _printer_id: string;
36947
- _queue_item_id: string;
37651
+ _country_code: string;
37652
+ _pick_day?: string;
37653
+ _screen_id: string;
36948
37654
  _session_id: string;
37655
+ _station_id: string;
37656
+ _timeout_seconds?: number;
37657
+ p_device_key: string;
36949
37658
  };
36950
37659
  Returns: {
36951
37660
  announced_at: string;
@@ -36989,77 +37698,164 @@ export type Database = {
36989
37698
  isSetofReturn: false;
36990
37699
  };
36991
37700
  };
36992
- pick_complete_print_carts: {
37701
+ pick_cleanup_maintenance: {
36993
37702
  Args: {
36994
- _cart_ids: string[];
36995
- _queue_item_id: string;
36996
- _session_id: string;
37703
+ _heartbeat_hours?: number;
37704
+ _log_days?: number;
36997
37705
  };
36998
37706
  Returns: Json;
36999
37707
  };
37000
- pick_current_pick_day: {
37001
- Args: never;
37002
- Returns: string;
37003
- };
37004
- pick_day_counts: {
37708
+ pick_complete_print: {
37005
37709
  Args: {
37006
- _pick_day?: string;
37007
- _screen_id?: string;
37008
- _station_id?: string;
37710
+ _printer_id: string;
37711
+ _queue_item_id: string;
37712
+ _session_id: string;
37009
37713
  };
37010
- Returns: Json;
37011
- };
37012
- pick_document_layout_data: {
37013
- Args: {
37014
- _layout_id: string;
37714
+ Returns: {
37715
+ announced_at: string;
37716
+ assigned_user_id: string | null;
37717
+ barcode: string | null;
37718
+ cancelled_at: string | null;
37719
+ cart_count: number;
37720
+ completed_at: string | null;
37721
+ country_code: string | null;
37722
+ created_at: string;
37723
+ customer_name: string | null;
37724
+ delivery_address: string | null;
37725
+ document_number: string | null;
37726
+ document_type_id: string | null;
37727
+ due_at: string | null;
37728
+ id: string;
37729
+ is_urgent: boolean;
37730
+ line_count: number;
37731
+ order_number: string | null;
37732
+ order_type: string | null;
37733
+ payload: Json;
37734
+ print_count: number;
37735
+ print_job_id: string | null;
37736
+ printed_at: string | null;
37737
+ printed_by: string | null;
37738
+ printed_cart_ids: Json;
37739
+ printer_id: string | null;
37740
+ priority: number;
37741
+ reference: string | null;
37742
+ route: string | null;
37743
+ screen_id: string | null;
37744
+ station_id: string | null;
37745
+ status_id: string | null;
37746
+ updated_at: string;
37747
+ warnings: Json;
37015
37748
  };
37016
- Returns: Json;
37017
- };
37018
- pick_enqueue_print_job: {
37019
- Args: {
37020
- _is_herprint?: boolean;
37021
- _printer_id?: string;
37022
- _queue_item_id: string;
37023
- _session_id?: string;
37749
+ SetofOptions: {
37750
+ from: "*";
37751
+ to: "pick_queue";
37752
+ isOneToOne: true;
37753
+ isSetofReturn: false;
37024
37754
  };
37025
- Returns: string;
37026
37755
  } | {
37027
37756
  Args: {
37028
- _cart_id: string;
37029
- _is_herprint: boolean;
37030
37757
  _printer_id: string;
37031
37758
  _queue_item_id: string;
37032
37759
  _session_id: string;
37760
+ p_device_key: string;
37761
+ };
37762
+ Returns: {
37763
+ announced_at: string;
37764
+ assigned_user_id: string | null;
37765
+ barcode: string | null;
37766
+ cancelled_at: string | null;
37767
+ cart_count: number;
37768
+ completed_at: string | null;
37769
+ country_code: string | null;
37770
+ created_at: string;
37771
+ customer_name: string | null;
37772
+ delivery_address: string | null;
37773
+ document_number: string | null;
37774
+ document_type_id: string | null;
37775
+ due_at: string | null;
37776
+ id: string;
37777
+ is_urgent: boolean;
37778
+ line_count: number;
37779
+ order_number: string | null;
37780
+ order_type: string | null;
37781
+ payload: Json;
37782
+ print_count: number;
37783
+ print_job_id: string | null;
37784
+ printed_at: string | null;
37785
+ printed_by: string | null;
37786
+ printed_cart_ids: Json;
37787
+ printer_id: string | null;
37788
+ priority: number;
37789
+ reference: string | null;
37790
+ route: string | null;
37791
+ screen_id: string | null;
37792
+ station_id: string | null;
37793
+ status_id: string | null;
37794
+ updated_at: string;
37795
+ warnings: Json;
37796
+ };
37797
+ SetofOptions: {
37798
+ from: "*";
37799
+ to: "pick_queue";
37800
+ isOneToOne: true;
37801
+ isSetofReturn: false;
37033
37802
  };
37034
- Returns: string;
37035
37803
  };
37036
- pick_enqueue_print_job_from_cart: {
37804
+ pick_complete_print_cart: {
37037
37805
  Args: {
37038
37806
  _cart_id: string;
37039
- _is_herprint: boolean;
37040
37807
  _printer_id: string;
37041
37808
  _queue_item_id: string;
37042
- _selected_cart: Json;
37043
37809
  _session_id: string;
37044
37810
  };
37045
- Returns: string;
37046
- };
37047
- pick_find_sent_elsewhere: {
37048
- Args: {
37049
- _cart_id: string;
37050
- _queue_item_id: string;
37811
+ Returns: {
37812
+ announced_at: string;
37813
+ assigned_user_id: string | null;
37814
+ barcode: string | null;
37815
+ cancelled_at: string | null;
37816
+ cart_count: number;
37817
+ completed_at: string | null;
37818
+ country_code: string | null;
37819
+ created_at: string;
37820
+ customer_name: string | null;
37821
+ delivery_address: string | null;
37822
+ document_number: string | null;
37823
+ document_type_id: string | null;
37824
+ due_at: string | null;
37825
+ id: string;
37826
+ is_urgent: boolean;
37827
+ line_count: number;
37828
+ order_number: string | null;
37829
+ order_type: string | null;
37830
+ payload: Json;
37831
+ print_count: number;
37832
+ print_job_id: string | null;
37833
+ printed_at: string | null;
37834
+ printed_by: string | null;
37835
+ printed_cart_ids: Json;
37836
+ printer_id: string | null;
37837
+ priority: number;
37838
+ reference: string | null;
37839
+ route: string | null;
37840
+ screen_id: string | null;
37841
+ station_id: string | null;
37842
+ status_id: string | null;
37843
+ updated_at: string;
37844
+ warnings: Json;
37051
37845
  };
37052
- Returns: Json;
37053
- };
37054
- pick_is_reference_admin: {
37055
- Args: never;
37056
- Returns: boolean;
37057
- };
37058
- pick_mark_printed: {
37846
+ SetofOptions: {
37847
+ from: "*";
37848
+ to: "pick_queue";
37849
+ isOneToOne: true;
37850
+ isSetofReturn: false;
37851
+ };
37852
+ } | {
37059
37853
  Args: {
37854
+ _cart_id: string;
37855
+ _printer_id: string;
37060
37856
  _queue_item_id: string;
37061
- _reden?: string;
37062
37857
  _session_id: string;
37858
+ p_device_key: string;
37063
37859
  };
37064
37860
  Returns: {
37065
37861
  announced_at: string;
@@ -37103,69 +37899,561 @@ export type Database = {
37103
37899
  isSetofReturn: false;
37104
37900
  };
37105
37901
  };
37106
- pick_order_context: {
37902
+ pick_complete_print_carts: {
37107
37903
  Args: {
37108
- _order_id?: string;
37109
- _order_number?: string;
37904
+ _cart_ids: string[];
37905
+ _queue_item_id: string;
37906
+ _session_id: string;
37110
37907
  };
37111
37908
  Returns: Json;
37112
- };
37113
- pick_preview_job: {
37909
+ } | {
37114
37910
  Args: {
37911
+ _cart_ids: string[];
37115
37912
  _queue_item_id: string;
37116
- _station_slug: string;
37913
+ _session_id: string;
37914
+ p_device_key: string;
37117
37915
  };
37118
37916
  Returns: Json;
37119
37917
  };
37120
- pick_print_job_status: {
37918
+ pick_create_pair_code: {
37121
37919
  Args: {
37122
- _job_id: string;
37920
+ p_station_id: string;
37123
37921
  };
37124
37922
  Returns: Json;
37125
37923
  };
37126
- pick_print_jobs_status: {
37924
+ pick_current_pick_day: {
37925
+ Args: never;
37926
+ Returns: string;
37927
+ } | {
37127
37928
  Args: {
37128
- _job_ids: string[];
37929
+ p_device_key: string;
37129
37930
  };
37130
- Returns: Json[];
37131
- };
37132
- pick_print_plekken: {
37133
- Args: never;
37134
- Returns: {
37135
- id: string;
37136
- naam: string;
37137
- omschrijving: string;
37138
- }[];
37931
+ Returns: string;
37139
37932
  };
37140
- pick_queue_cart_plan: {
37933
+ pick_day_counts: {
37141
37934
  Args: {
37142
- _queue_item_id: string;
37935
+ _pick_day?: string;
37936
+ _screen_id?: string;
37937
+ _station_id?: string;
37143
37938
  };
37144
37939
  Returns: Json;
37145
- };
37146
- pick_queue_cart_plan_v152: {
37940
+ } | {
37147
37941
  Args: {
37148
- _queue_item_id: string;
37942
+ _pick_day?: string;
37943
+ _screen_id?: string;
37944
+ _station_id?: string;
37945
+ p_device_key: string;
37149
37946
  };
37150
37947
  Returns: Json;
37151
37948
  };
37152
- pick_reference_data_status: {
37153
- Args: never;
37154
- Returns: Json;
37155
- };
37156
- pick_release_expired_locks: {
37157
- Args: never;
37158
- Returns: number;
37159
- };
37160
- pick_release_lock: {
37949
+ pick_device_check: {
37161
37950
  Args: {
37162
- _queue_item_id: string;
37163
- };
37164
- Returns: undefined;
37951
+ p_cart: string;
37952
+ p_device_key: string;
37953
+ p_item: string;
37954
+ p_order: string;
37955
+ p_slug: string;
37956
+ p_station: string;
37957
+ };
37958
+ Returns: undefined;
37959
+ };
37960
+ pick_device_gate: {
37961
+ Args: {
37962
+ p_device_key: string;
37963
+ };
37964
+ Returns: string;
37965
+ };
37966
+ pick_device_key_required: {
37967
+ Args: never;
37968
+ Returns: boolean;
37969
+ };
37970
+ pick_document_layout_data: {
37971
+ Args: {
37972
+ _layout_id: string;
37973
+ };
37974
+ Returns: Json;
37975
+ };
37976
+ pick_enqueue_print_job: {
37977
+ Args: {
37978
+ _is_herprint?: boolean;
37979
+ _printer_id?: string;
37980
+ _queue_item_id: string;
37981
+ _session_id?: string;
37982
+ };
37983
+ Returns: string;
37984
+ } | {
37985
+ Args: {
37986
+ _cart_id: string;
37987
+ _is_herprint: boolean;
37988
+ _printer_id: string;
37989
+ _queue_item_id: string;
37990
+ _session_id: string;
37991
+ };
37992
+ Returns: string;
37993
+ } | {
37994
+ Args: {
37995
+ _is_herprint?: boolean;
37996
+ _printer_id?: string;
37997
+ _queue_item_id: string;
37998
+ _session_id?: string;
37999
+ p_device_key: string;
38000
+ };
38001
+ Returns: string;
38002
+ } | {
38003
+ Args: {
38004
+ _cart_id: string;
38005
+ _is_herprint: boolean;
38006
+ _printer_id: string;
38007
+ _queue_item_id: string;
38008
+ _session_id: string;
38009
+ p_device_key: string;
38010
+ };
38011
+ Returns: string;
38012
+ };
38013
+ pick_enqueue_print_job_from_cart: {
38014
+ Args: {
38015
+ _cart_id: string;
38016
+ _is_herprint: boolean;
38017
+ _printer_id: string;
38018
+ _queue_item_id: string;
38019
+ _selected_cart: Json;
38020
+ _session_id: string;
38021
+ };
38022
+ Returns: string;
38023
+ };
38024
+ pick_ensure_settings: {
38025
+ Args: never;
38026
+ Returns: undefined;
38027
+ };
38028
+ pick_find_sent_elsewhere: {
38029
+ Args: {
38030
+ _cart_id: string;
38031
+ _queue_item_id: string;
38032
+ };
38033
+ Returns: Json;
38034
+ };
38035
+ pick_has_station_role: {
38036
+ Args: never;
38037
+ Returns: boolean;
38038
+ };
38039
+ pick_is_reference_admin: {
38040
+ Args: never;
38041
+ Returns: boolean;
38042
+ };
38043
+ pick_is_server: {
38044
+ Args: never;
38045
+ Returns: boolean;
38046
+ };
38047
+ pick_key_hash: {
38048
+ Args: {
38049
+ p_key: string;
38050
+ };
38051
+ Returns: string;
38052
+ };
38053
+ pick_mark_printed: {
38054
+ Args: {
38055
+ _queue_item_id: string;
38056
+ _reden?: string;
38057
+ _session_id: string;
38058
+ };
38059
+ Returns: {
38060
+ announced_at: string;
38061
+ assigned_user_id: string | null;
38062
+ barcode: string | null;
38063
+ cancelled_at: string | null;
38064
+ cart_count: number;
38065
+ completed_at: string | null;
38066
+ country_code: string | null;
38067
+ created_at: string;
38068
+ customer_name: string | null;
38069
+ delivery_address: string | null;
38070
+ document_number: string | null;
38071
+ document_type_id: string | null;
38072
+ due_at: string | null;
38073
+ id: string;
38074
+ is_urgent: boolean;
38075
+ line_count: number;
38076
+ order_number: string | null;
38077
+ order_type: string | null;
38078
+ payload: Json;
38079
+ print_count: number;
38080
+ print_job_id: string | null;
38081
+ printed_at: string | null;
38082
+ printed_by: string | null;
38083
+ printed_cart_ids: Json;
38084
+ printer_id: string | null;
38085
+ priority: number;
38086
+ reference: string | null;
38087
+ route: string | null;
38088
+ screen_id: string | null;
38089
+ station_id: string | null;
38090
+ status_id: string | null;
38091
+ updated_at: string;
38092
+ warnings: Json;
38093
+ };
38094
+ SetofOptions: {
38095
+ from: "*";
38096
+ to: "pick_queue";
38097
+ isOneToOne: true;
38098
+ isSetofReturn: false;
38099
+ };
38100
+ } | {
38101
+ Args: {
38102
+ _queue_item_id: string;
38103
+ _reden?: string;
38104
+ _session_id: string;
38105
+ p_device_key: string;
38106
+ };
38107
+ Returns: {
38108
+ announced_at: string;
38109
+ assigned_user_id: string | null;
38110
+ barcode: string | null;
38111
+ cancelled_at: string | null;
38112
+ cart_count: number;
38113
+ completed_at: string | null;
38114
+ country_code: string | null;
38115
+ created_at: string;
38116
+ customer_name: string | null;
38117
+ delivery_address: string | null;
38118
+ document_number: string | null;
38119
+ document_type_id: string | null;
38120
+ due_at: string | null;
38121
+ id: string;
38122
+ is_urgent: boolean;
38123
+ line_count: number;
38124
+ order_number: string | null;
38125
+ order_type: string | null;
38126
+ payload: Json;
38127
+ print_count: number;
38128
+ print_job_id: string | null;
38129
+ printed_at: string | null;
38130
+ printed_by: string | null;
38131
+ printed_cart_ids: Json;
38132
+ printer_id: string | null;
38133
+ priority: number;
38134
+ reference: string | null;
38135
+ route: string | null;
38136
+ screen_id: string | null;
38137
+ station_id: string | null;
38138
+ status_id: string | null;
38139
+ updated_at: string;
38140
+ warnings: Json;
38141
+ };
38142
+ SetofOptions: {
38143
+ from: "*";
38144
+ to: "pick_queue";
38145
+ isOneToOne: true;
38146
+ isSetofReturn: false;
38147
+ };
38148
+ };
38149
+ pick_order_context: {
38150
+ Args: {
38151
+ _order_id?: string;
38152
+ _order_number?: string;
38153
+ };
38154
+ Returns: Json;
38155
+ };
38156
+ pick_preview_job: {
38157
+ Args: {
38158
+ _queue_item_id: string;
38159
+ _station_slug: string;
38160
+ };
38161
+ Returns: Json;
38162
+ } | {
38163
+ Args: {
38164
+ _queue_item_id: string;
38165
+ _station_slug: string;
38166
+ p_device_key: string;
38167
+ };
38168
+ Returns: Json;
38169
+ };
38170
+ pick_print_job_status: {
38171
+ Args: {
38172
+ _job_id: string;
38173
+ };
38174
+ Returns: Json;
38175
+ } | {
38176
+ Args: {
38177
+ _job_id: string;
38178
+ p_device_key: string;
38179
+ };
38180
+ Returns: Json;
38181
+ };
38182
+ pick_print_jobs_status: {
38183
+ Args: {
38184
+ _job_ids: string[];
38185
+ };
38186
+ Returns: Json[];
38187
+ } | {
38188
+ Args: {
38189
+ _job_ids: string[];
38190
+ p_device_key: string;
38191
+ };
38192
+ Returns: Json[];
38193
+ };
38194
+ pick_print_plekken: {
38195
+ Args: never;
38196
+ Returns: {
38197
+ id: string;
38198
+ naam: string;
38199
+ omschrijving: string;
38200
+ }[];
38201
+ } | {
38202
+ Args: {
38203
+ p_device_key: string;
38204
+ };
38205
+ Returns: {
38206
+ id: string;
38207
+ naam: string;
38208
+ omschrijving: string;
38209
+ }[];
38210
+ };
38211
+ pick_queue_cart_plan: {
38212
+ Args: {
38213
+ _queue_item_id: string;
38214
+ };
38215
+ Returns: Json;
38216
+ } | {
38217
+ Args: {
38218
+ _queue_item_id: string;
38219
+ p_device_key: string;
38220
+ };
38221
+ Returns: Json;
38222
+ };
38223
+ pick_queue_cart_plan_v152: {
38224
+ Args: {
38225
+ _queue_item_id: string;
38226
+ };
38227
+ Returns: Json;
38228
+ };
38229
+ pick_read_by_code: {
38230
+ Args: {
38231
+ p_code: string;
38232
+ p_device_key: string;
38233
+ p_station_id: string;
38234
+ };
38235
+ Returns: {
38236
+ announced_at: string;
38237
+ assigned_user_id: string | null;
38238
+ barcode: string | null;
38239
+ cancelled_at: string | null;
38240
+ cart_count: number;
38241
+ completed_at: string | null;
38242
+ country_code: string | null;
38243
+ created_at: string;
38244
+ customer_name: string | null;
38245
+ delivery_address: string | null;
38246
+ document_number: string | null;
38247
+ document_type_id: string | null;
38248
+ due_at: string | null;
38249
+ id: string;
38250
+ is_urgent: boolean;
38251
+ line_count: number;
38252
+ order_number: string | null;
38253
+ order_type: string | null;
38254
+ payload: Json;
38255
+ print_count: number;
38256
+ print_job_id: string | null;
38257
+ printed_at: string | null;
38258
+ printed_by: string | null;
38259
+ printed_cart_ids: Json;
38260
+ printer_id: string | null;
38261
+ priority: number;
38262
+ reference: string | null;
38263
+ route: string | null;
38264
+ screen_id: string | null;
38265
+ station_id: string | null;
38266
+ status_id: string | null;
38267
+ updated_at: string;
38268
+ warnings: Json;
38269
+ }[];
38270
+ SetofOptions: {
38271
+ from: "*";
38272
+ to: "pick_queue";
38273
+ isOneToOne: false;
38274
+ isSetofReturn: true;
38275
+ };
38276
+ };
38277
+ pick_read_country_counts: {
38278
+ Args: {
38279
+ p_device_key: string;
38280
+ p_screen_id: string;
38281
+ p_station_id: string;
38282
+ };
38283
+ Returns: Json;
38284
+ };
38285
+ pick_read_locks: {
38286
+ Args: {
38287
+ p_device_key: string;
38288
+ p_station_id: string;
38289
+ };
38290
+ Returns: {
38291
+ expires_at: string;
38292
+ id: string;
38293
+ locked_at: string;
38294
+ locked_by: string | null;
38295
+ queue_item_id: string;
38296
+ screen_id: string | null;
38297
+ session_id: string | null;
38298
+ station_id: string | null;
38299
+ }[];
38300
+ SetofOptions: {
38301
+ from: "*";
38302
+ to: "pick_queue_locks";
38303
+ isOneToOne: false;
38304
+ isSetofReturn: true;
38305
+ };
38306
+ };
38307
+ pick_read_print_job_uitwijk: {
38308
+ Args: {
38309
+ p_device_key: string;
38310
+ p_job_ids: string[];
38311
+ };
38312
+ Returns: Json;
38313
+ };
38314
+ pick_read_queue: {
38315
+ Args: {
38316
+ p_country: string;
38317
+ p_device_key: string;
38318
+ p_document_type_id: string;
38319
+ p_include_done: boolean;
38320
+ p_limit: number;
38321
+ p_offset: number;
38322
+ p_pick_day: string;
38323
+ p_screen_id: string;
38324
+ p_search: string;
38325
+ p_sort: Json;
38326
+ p_station_id: string;
38327
+ p_urgent_only: boolean;
38328
+ };
38329
+ Returns: Json;
38330
+ };
38331
+ pick_read_station: {
38332
+ Args: {
38333
+ p_device_key: string;
38334
+ p_slug: string;
38335
+ };
38336
+ Returns: {
38337
+ active: boolean;
38338
+ allow_multi_screen: boolean;
38339
+ color: string | null;
38340
+ created_at: string;
38341
+ default_printer_id: string | null;
38342
+ department: string | null;
38343
+ description: string | null;
38344
+ icon: string | null;
38345
+ id: string;
38346
+ location: string | null;
38347
+ lock_timeout_seconds: number;
38348
+ name: string;
38349
+ require_country_selection: boolean;
38350
+ slug: string | null;
38351
+ sort_order: number;
38352
+ sort_rules: Json;
38353
+ task_id: string | null;
38354
+ type_id: string | null;
38355
+ updated_at: string;
38356
+ }[];
38357
+ SetofOptions: {
38358
+ from: "*";
38359
+ to: "pick_stations";
38360
+ isOneToOne: false;
38361
+ isSetofReturn: true;
38362
+ };
38363
+ };
38364
+ pick_read_unscanned_earlier: {
38365
+ Args: {
38366
+ p_before_day: string;
38367
+ p_device_key: string;
38368
+ p_station_id: string;
38369
+ };
38370
+ Returns: {
38371
+ announced_at: string;
38372
+ assigned_user_id: string | null;
38373
+ barcode: string | null;
38374
+ cancelled_at: string | null;
38375
+ cart_count: number;
38376
+ completed_at: string | null;
38377
+ country_code: string | null;
38378
+ created_at: string;
38379
+ customer_name: string | null;
38380
+ delivery_address: string | null;
38381
+ document_number: string | null;
38382
+ document_type_id: string | null;
38383
+ due_at: string | null;
38384
+ id: string;
38385
+ is_urgent: boolean;
38386
+ line_count: number;
38387
+ order_number: string | null;
38388
+ order_type: string | null;
38389
+ payload: Json;
38390
+ print_count: number;
38391
+ print_job_id: string | null;
38392
+ printed_at: string | null;
38393
+ printed_by: string | null;
38394
+ printed_cart_ids: Json;
38395
+ printer_id: string | null;
38396
+ priority: number;
38397
+ reference: string | null;
38398
+ route: string | null;
38399
+ screen_id: string | null;
38400
+ station_id: string | null;
38401
+ status_id: string | null;
38402
+ updated_at: string;
38403
+ warnings: Json;
38404
+ }[];
38405
+ SetofOptions: {
38406
+ from: "*";
38407
+ to: "pick_queue";
38408
+ isOneToOne: false;
38409
+ isSetofReturn: true;
38410
+ };
38411
+ };
38412
+ pick_read_vroege_sticker_waarschuwing: {
38413
+ Args: {
38414
+ p_device_key: string;
38415
+ p_station_id: string;
38416
+ };
38417
+ Returns: Json;
38418
+ };
38419
+ pick_reference_data_status: {
38420
+ Args: never;
38421
+ Returns: Json;
38422
+ } | {
38423
+ Args: {
38424
+ p_device_key: string;
38425
+ };
38426
+ Returns: Json;
38427
+ };
38428
+ pick_release_expired_locks: {
38429
+ Args: never;
38430
+ Returns: number;
38431
+ } | {
38432
+ Args: {
38433
+ p_device_key: string;
38434
+ };
38435
+ Returns: number;
38436
+ };
38437
+ pick_release_lock: {
38438
+ Args: {
38439
+ _queue_item_id: string;
38440
+ };
38441
+ Returns: undefined;
38442
+ } | {
38443
+ Args: {
38444
+ _queue_item_id: string;
38445
+ p_device_key: string;
38446
+ };
38447
+ Returns: undefined;
37165
38448
  };
37166
38449
  pick_report_missing_cart_plan: {
37167
38450
  Args: never;
37168
38451
  Returns: Json;
38452
+ } | {
38453
+ Args: {
38454
+ p_device_key: string;
38455
+ };
38456
+ Returns: Json;
37169
38457
  };
37170
38458
  pick_reprint_cart: {
37171
38459
  Args: {
@@ -37175,6 +38463,15 @@ export type Database = {
37175
38463
  _throttle_seconds?: number;
37176
38464
  };
37177
38465
  Returns: string;
38466
+ } | {
38467
+ Args: {
38468
+ _cart_id: string;
38469
+ _queue_item_id: string;
38470
+ _session_id: string;
38471
+ _throttle_seconds?: number;
38472
+ p_device_key: string;
38473
+ };
38474
+ Returns: string;
37178
38475
  };
37179
38476
  pick_reprint_document: {
37180
38477
  Args: {
@@ -37182,12 +38479,260 @@ export type Database = {
37182
38479
  _session_id: string;
37183
38480
  _throttle_seconds?: number;
37184
38481
  };
37185
- Returns: string;
37186
- };
37187
- pick_reset_print: {
38482
+ Returns: string;
38483
+ } | {
38484
+ Args: {
38485
+ _queue_item_id: string;
38486
+ _session_id: string;
38487
+ _throttle_seconds?: number;
38488
+ p_device_key: string;
38489
+ };
38490
+ Returns: string;
38491
+ };
38492
+ pick_reset_print: {
38493
+ Args: {
38494
+ _queue_item_id: string;
38495
+ _session_id: string;
38496
+ };
38497
+ Returns: {
38498
+ announced_at: string;
38499
+ assigned_user_id: string | null;
38500
+ barcode: string | null;
38501
+ cancelled_at: string | null;
38502
+ cart_count: number;
38503
+ completed_at: string | null;
38504
+ country_code: string | null;
38505
+ created_at: string;
38506
+ customer_name: string | null;
38507
+ delivery_address: string | null;
38508
+ document_number: string | null;
38509
+ document_type_id: string | null;
38510
+ due_at: string | null;
38511
+ id: string;
38512
+ is_urgent: boolean;
38513
+ line_count: number;
38514
+ order_number: string | null;
38515
+ order_type: string | null;
38516
+ payload: Json;
38517
+ print_count: number;
38518
+ print_job_id: string | null;
38519
+ printed_at: string | null;
38520
+ printed_by: string | null;
38521
+ printed_cart_ids: Json;
38522
+ printer_id: string | null;
38523
+ priority: number;
38524
+ reference: string | null;
38525
+ route: string | null;
38526
+ screen_id: string | null;
38527
+ station_id: string | null;
38528
+ status_id: string | null;
38529
+ updated_at: string;
38530
+ warnings: Json;
38531
+ };
38532
+ SetofOptions: {
38533
+ from: "*";
38534
+ to: "pick_queue";
38535
+ isOneToOne: true;
38536
+ isSetofReturn: false;
38537
+ };
38538
+ } | {
38539
+ Args: {
38540
+ _cart_id?: string;
38541
+ _queue_item_id: string;
38542
+ _session_id: string;
38543
+ };
38544
+ Returns: {
38545
+ announced_at: string;
38546
+ assigned_user_id: string | null;
38547
+ barcode: string | null;
38548
+ cancelled_at: string | null;
38549
+ cart_count: number;
38550
+ completed_at: string | null;
38551
+ country_code: string | null;
38552
+ created_at: string;
38553
+ customer_name: string | null;
38554
+ delivery_address: string | null;
38555
+ document_number: string | null;
38556
+ document_type_id: string | null;
38557
+ due_at: string | null;
38558
+ id: string;
38559
+ is_urgent: boolean;
38560
+ line_count: number;
38561
+ order_number: string | null;
38562
+ order_type: string | null;
38563
+ payload: Json;
38564
+ print_count: number;
38565
+ print_job_id: string | null;
38566
+ printed_at: string | null;
38567
+ printed_by: string | null;
38568
+ printed_cart_ids: Json;
38569
+ printer_id: string | null;
38570
+ priority: number;
38571
+ reference: string | null;
38572
+ route: string | null;
38573
+ screen_id: string | null;
38574
+ station_id: string | null;
38575
+ status_id: string | null;
38576
+ updated_at: string;
38577
+ warnings: Json;
38578
+ };
38579
+ SetofOptions: {
38580
+ from: "*";
38581
+ to: "pick_queue";
38582
+ isOneToOne: true;
38583
+ isSetofReturn: false;
38584
+ };
38585
+ } | {
38586
+ Args: {
38587
+ _queue_item_id: string;
38588
+ _session_id: string;
38589
+ p_device_key: string;
38590
+ };
38591
+ Returns: {
38592
+ announced_at: string;
38593
+ assigned_user_id: string | null;
38594
+ barcode: string | null;
38595
+ cancelled_at: string | null;
38596
+ cart_count: number;
38597
+ completed_at: string | null;
38598
+ country_code: string | null;
38599
+ created_at: string;
38600
+ customer_name: string | null;
38601
+ delivery_address: string | null;
38602
+ document_number: string | null;
38603
+ document_type_id: string | null;
38604
+ due_at: string | null;
38605
+ id: string;
38606
+ is_urgent: boolean;
38607
+ line_count: number;
38608
+ order_number: string | null;
38609
+ order_type: string | null;
38610
+ payload: Json;
38611
+ print_count: number;
38612
+ print_job_id: string | null;
38613
+ printed_at: string | null;
38614
+ printed_by: string | null;
38615
+ printed_cart_ids: Json;
38616
+ printer_id: string | null;
38617
+ priority: number;
38618
+ reference: string | null;
38619
+ route: string | null;
38620
+ screen_id: string | null;
38621
+ station_id: string | null;
38622
+ status_id: string | null;
38623
+ updated_at: string;
38624
+ warnings: Json;
38625
+ };
38626
+ SetofOptions: {
38627
+ from: "*";
38628
+ to: "pick_queue";
38629
+ isOneToOne: true;
38630
+ isSetofReturn: false;
38631
+ };
38632
+ } | {
38633
+ Args: {
38634
+ _cart_id: string;
38635
+ _queue_item_id: string;
38636
+ _session_id: string;
38637
+ p_device_key: string;
38638
+ };
38639
+ Returns: {
38640
+ announced_at: string;
38641
+ assigned_user_id: string | null;
38642
+ barcode: string | null;
38643
+ cancelled_at: string | null;
38644
+ cart_count: number;
38645
+ completed_at: string | null;
38646
+ country_code: string | null;
38647
+ created_at: string;
38648
+ customer_name: string | null;
38649
+ delivery_address: string | null;
38650
+ document_number: string | null;
38651
+ document_type_id: string | null;
38652
+ due_at: string | null;
38653
+ id: string;
38654
+ is_urgent: boolean;
38655
+ line_count: number;
38656
+ order_number: string | null;
38657
+ order_type: string | null;
38658
+ payload: Json;
38659
+ print_count: number;
38660
+ print_job_id: string | null;
38661
+ printed_at: string | null;
38662
+ printed_by: string | null;
38663
+ printed_cart_ids: Json;
38664
+ printer_id: string | null;
38665
+ priority: number;
38666
+ reference: string | null;
38667
+ route: string | null;
38668
+ screen_id: string | null;
38669
+ station_id: string | null;
38670
+ status_id: string | null;
38671
+ updated_at: string;
38672
+ warnings: Json;
38673
+ };
38674
+ SetofOptions: {
38675
+ from: "*";
38676
+ to: "pick_queue";
38677
+ isOneToOne: true;
38678
+ isSetofReturn: false;
38679
+ };
38680
+ };
38681
+ pick_reset_print_job: {
38682
+ Args: {
38683
+ _cart_id: string;
38684
+ _job_id: string;
38685
+ _queue_item_id: string;
38686
+ _session_id: string;
38687
+ };
38688
+ Returns: {
38689
+ announced_at: string;
38690
+ assigned_user_id: string | null;
38691
+ barcode: string | null;
38692
+ cancelled_at: string | null;
38693
+ cart_count: number;
38694
+ completed_at: string | null;
38695
+ country_code: string | null;
38696
+ created_at: string;
38697
+ customer_name: string | null;
38698
+ delivery_address: string | null;
38699
+ document_number: string | null;
38700
+ document_type_id: string | null;
38701
+ due_at: string | null;
38702
+ id: string;
38703
+ is_urgent: boolean;
38704
+ line_count: number;
38705
+ order_number: string | null;
38706
+ order_type: string | null;
38707
+ payload: Json;
38708
+ print_count: number;
38709
+ print_job_id: string | null;
38710
+ printed_at: string | null;
38711
+ printed_by: string | null;
38712
+ printed_cart_ids: Json;
38713
+ printer_id: string | null;
38714
+ priority: number;
38715
+ reference: string | null;
38716
+ route: string | null;
38717
+ screen_id: string | null;
38718
+ station_id: string | null;
38719
+ status_id: string | null;
38720
+ updated_at: string;
38721
+ warnings: Json;
38722
+ };
38723
+ SetofOptions: {
38724
+ from: "*";
38725
+ to: "pick_queue";
38726
+ isOneToOne: true;
38727
+ isSetofReturn: false;
38728
+ };
38729
+ } | {
37188
38730
  Args: {
38731
+ _cart_id: string;
38732
+ _job_id: string;
37189
38733
  _queue_item_id: string;
37190
38734
  _session_id: string;
38735
+ p_device_key: string;
37191
38736
  };
37192
38737
  Returns: {
37193
38738
  announced_at: string;
@@ -37230,9 +38775,11 @@ export type Database = {
37230
38775
  isOneToOne: true;
37231
38776
  isSetofReturn: false;
37232
38777
  };
37233
- } | {
38778
+ };
38779
+ pick_reset_print_jobs: {
37234
38780
  Args: {
37235
- _cart_id?: string;
38781
+ _cart_ids: string[];
38782
+ _job_ids: string[];
37236
38783
  _queue_item_id: string;
37237
38784
  _session_id: string;
37238
38785
  };
@@ -37277,13 +38824,13 @@ export type Database = {
37277
38824
  isOneToOne: true;
37278
38825
  isSetofReturn: false;
37279
38826
  };
37280
- };
37281
- pick_reset_print_job: {
38827
+ } | {
37282
38828
  Args: {
37283
- _cart_id: string;
37284
- _job_id: string;
38829
+ _cart_ids: string[];
38830
+ _job_ids: string[];
37285
38831
  _queue_item_id: string;
37286
38832
  _session_id: string;
38833
+ p_device_key: string;
37287
38834
  };
37288
38835
  Returns: {
37289
38836
  announced_at: string;
@@ -37327,10 +38874,15 @@ export type Database = {
37327
38874
  isSetofReturn: false;
37328
38875
  };
37329
38876
  };
37330
- pick_reset_print_jobs: {
38877
+ pick_resolve_scan_code: {
38878
+ Args: {
38879
+ p_code: string;
38880
+ p_device_key: string;
38881
+ };
38882
+ Returns: string;
38883
+ };
38884
+ pick_restore_to_queue: {
37331
38885
  Args: {
37332
- _cart_ids: string[];
37333
- _job_ids: string[];
37334
38886
  _queue_item_id: string;
37335
38887
  _session_id: string;
37336
38888
  };
@@ -37375,11 +38927,11 @@ export type Database = {
37375
38927
  isOneToOne: true;
37376
38928
  isSetofReturn: false;
37377
38929
  };
37378
- };
37379
- pick_restore_to_queue: {
38930
+ } | {
37380
38931
  Args: {
37381
38932
  _queue_item_id: string;
37382
38933
  _session_id: string;
38934
+ p_device_key: string;
37383
38935
  };
37384
38936
  Returns: {
37385
38937
  announced_at: string;
@@ -37423,6 +38975,18 @@ export type Database = {
37423
38975
  isSetofReturn: false;
37424
38976
  };
37425
38977
  };
38978
+ pick_revoke_device: {
38979
+ Args: {
38980
+ p_device_id: string;
38981
+ };
38982
+ Returns: undefined;
38983
+ };
38984
+ pick_role_allowed: {
38985
+ Args: {
38986
+ p_level: string;
38987
+ };
38988
+ Returns: boolean;
38989
+ };
37426
38990
  pick_seed_reference_data: {
37427
38991
  Args: never;
37428
38992
  Returns: Json;
@@ -37433,6 +38997,19 @@ export type Database = {
37433
38997
  _station_id: string;
37434
38998
  };
37435
38999
  Returns: string;
39000
+ } | {
39001
+ Args: {
39002
+ _print_plek_id: string;
39003
+ _station_id: string;
39004
+ p_device_key: string;
39005
+ };
39006
+ Returns: string;
39007
+ };
39008
+ pick_signal_station: {
39009
+ Args: {
39010
+ p_station: string;
39011
+ };
39012
+ Returns: undefined;
37436
39013
  };
37437
39014
  pick_station_dashboard: {
37438
39015
  Args: never;
@@ -37445,6 +39022,31 @@ export type Database = {
37445
39022
  station_name: string;
37446
39023
  waiting: number;
37447
39024
  }[];
39025
+ } | {
39026
+ Args: {
39027
+ p_device_key: string;
39028
+ };
39029
+ Returns: {
39030
+ active: number;
39031
+ active_sessions: number;
39032
+ avg_wait_seconds: number;
39033
+ done_today: number;
39034
+ station_id: string;
39035
+ station_name: string;
39036
+ waiting: number;
39037
+ }[];
39038
+ };
39039
+ pick_station_devices_list: {
39040
+ Args: {
39041
+ p_station_id: string;
39042
+ };
39043
+ Returns: {
39044
+ created_at: string;
39045
+ id: string;
39046
+ ingetrokken_op: string;
39047
+ laatst_gezien: string;
39048
+ naam: string;
39049
+ }[];
37448
39050
  };
37449
39051
  pick_station_print_plek: {
37450
39052
  Args: {
@@ -37455,6 +39057,16 @@ export type Database = {
37455
39057
  omschrijving: string;
37456
39058
  print_plek_id: string;
37457
39059
  }[];
39060
+ } | {
39061
+ Args: {
39062
+ _station_id: string;
39063
+ p_device_key: string;
39064
+ };
39065
+ Returns: {
39066
+ naam: string;
39067
+ omschrijving: string;
39068
+ print_plek_id: string;
39069
+ }[];
37458
39070
  };
37459
39071
  pick_station_print_plekken: {
37460
39072
  Args: never;
@@ -37464,6 +39076,16 @@ export type Database = {
37464
39076
  print_plek_id: string;
37465
39077
  station_id: string;
37466
39078
  }[];
39079
+ } | {
39080
+ Args: {
39081
+ p_device_key: string;
39082
+ };
39083
+ Returns: {
39084
+ naam: string;
39085
+ omschrijving: string;
39086
+ print_plek_id: string;
39087
+ station_id: string;
39088
+ }[];
37467
39089
  };
37468
39090
  pick_station_slugify: {
37469
39091
  Args: {
@@ -37483,20 +39105,49 @@ export type Database = {
37483
39105
  _day: string;
37484
39106
  };
37485
39107
  Returns: Json;
39108
+ } | {
39109
+ Args: {
39110
+ _day: string;
39111
+ p_device_key: string;
39112
+ };
39113
+ Returns: Json;
37486
39114
  };
37487
39115
  pick_sync_queue_throttled: {
37488
39116
  Args: {
37489
39117
  _min_seconds?: number;
37490
39118
  };
37491
39119
  Returns: Json;
39120
+ } | {
39121
+ Args: {
39122
+ _min_seconds?: number;
39123
+ p_device_key: string;
39124
+ };
39125
+ Returns: Json;
37492
39126
  };
37493
39127
  pick_verify_rows: {
37494
39128
  Args: {
37495
39129
  _rows: Json;
37496
39130
  };
37497
39131
  Returns: Json;
39132
+ } | {
39133
+ Args: {
39134
+ _rows: Json;
39135
+ p_device_key: string;
39136
+ };
39137
+ Returns: Json;
39138
+ };
39139
+ pickschermen_install_check: {
39140
+ Args: never;
39141
+ Returns: Json;
37498
39142
  };
37499
39143
  pickstation_auto_send_status: {
39144
+ Args: {
39145
+ p_device_key: string;
39146
+ p_order_id: string;
39147
+ p_slug: string;
39148
+ };
39149
+ Returns: Json;
39150
+ } | {
37500
39151
  Args: {
37501
39152
  p_order_id: string;
37502
39153
  p_slug: string;
@@ -37506,11 +39157,32 @@ export type Database = {
37506
39157
  pickstation_cart_sticker_state: {
37507
39158
  Args: {
37508
39159
  p_cart_id: string;
39160
+ p_device_key: string;
39161
+ p_slug: string;
39162
+ };
39163
+ Returns: Json;
39164
+ } | {
39165
+ Args: {
39166
+ p_cart_id: string;
39167
+ p_slug: string;
39168
+ };
39169
+ Returns: Json;
39170
+ };
39171
+ pickstation_device_status: {
39172
+ Args: {
39173
+ p_device_key: string;
37509
39174
  p_slug: string;
37510
39175
  };
37511
39176
  Returns: Json;
37512
39177
  };
37513
39178
  pickstation_document_for_order: {
39179
+ Args: {
39180
+ p_device_key: string;
39181
+ p_queue_item_id: string;
39182
+ p_slug: string;
39183
+ };
39184
+ Returns: Json;
39185
+ } | {
37514
39186
  Args: {
37515
39187
  p_queue_item_id: string;
37516
39188
  p_slug: string;
@@ -37520,33 +39192,184 @@ export type Database = {
37520
39192
  pickstation_get_orders_raw: {
37521
39193
  Args: never;
37522
39194
  Returns: Json;
39195
+ } | {
39196
+ Args: {
39197
+ p_device_key: string;
39198
+ };
39199
+ Returns: Json;
37523
39200
  };
37524
39201
  pickstation_get_planning_context: {
37525
39202
  Args: never;
37526
39203
  Returns: Json;
39204
+ } | {
39205
+ Args: {
39206
+ p_device_key: string;
39207
+ };
39208
+ Returns: Json;
37527
39209
  };
37528
39210
  pickstation_get_settings: {
37529
39211
  Args: never;
37530
39212
  Returns: Json;
39213
+ } | {
39214
+ Args: {
39215
+ p_device_key: string;
39216
+ };
39217
+ Returns: Json;
37531
39218
  };
37532
39219
  pickstation_log_print: {
37533
39220
  Args: {
37534
- p_customer_name: string;
37535
- p_documents: string[];
37536
- p_ip_address: string;
39221
+ p_customer_name: string;
39222
+ p_device_key: string;
39223
+ p_documents: string[];
39224
+ p_ip_address: string;
39225
+ p_order_id: string;
39226
+ p_order_number: string;
39227
+ };
39228
+ Returns: undefined;
39229
+ } | {
39230
+ Args: {
39231
+ p_customer_name: string;
39232
+ p_documents: string[];
39233
+ p_ip_address: string;
39234
+ p_order_id: string;
39235
+ p_order_number: string;
39236
+ };
39237
+ Returns: undefined;
39238
+ };
39239
+ pickstation_logistics_barcode_lookup: {
39240
+ Args: {
39241
+ p_barcode: string;
39242
+ p_device_key: string;
39243
+ };
39244
+ Returns: Json;
39245
+ };
39246
+ pickstation_logistics_cart_plan_status: {
39247
+ Args: {
39248
+ p_device_key: string;
39249
+ p_ref: string;
39250
+ };
39251
+ Returns: Json;
39252
+ };
39253
+ pickstation_logistics_cart_slip_plan: {
39254
+ Args: {
39255
+ p_device_key: string;
39256
+ p_order_id: string;
39257
+ };
39258
+ Returns: Json;
39259
+ };
39260
+ pickstation_logistics_complete_task: {
39261
+ Args: {
39262
+ p_device_key: string;
39263
+ p_result?: Json;
39264
+ p_task_id: string;
39265
+ };
39266
+ Returns: {
39267
+ attempt_log: Json;
39268
+ attempts: number;
39269
+ buffer_ref: string | null;
39270
+ claimed_at: string | null;
39271
+ claimed_by: string | null;
39272
+ completed_at: string | null;
39273
+ created_at: string;
39274
+ depends_on: string[];
39275
+ due_at: string | null;
39276
+ error: string | null;
39277
+ id: string;
39278
+ last_error: string | null;
39279
+ next_attempt_at: string | null;
39280
+ order_ref: string;
39281
+ owner_module: string;
39282
+ payload: Json;
39283
+ plan_run_id: string | null;
39284
+ planned_end: string | null;
39285
+ planned_start: string | null;
39286
+ priority: number;
39287
+ result: Json | null;
39288
+ rule_config_id: string | null;
39289
+ rule_version: number | null;
39290
+ sequence: number;
39291
+ shadow: boolean;
39292
+ started_at: string | null;
39293
+ status: string;
39294
+ strategy_id: string | null;
39295
+ task_type: string;
39296
+ updated_at: string;
39297
+ user_id: string;
39298
+ };
39299
+ SetofOptions: {
39300
+ from: "*";
39301
+ to: "logistics_tasks";
39302
+ isOneToOne: true;
39303
+ isSetofReturn: false;
39304
+ };
39305
+ };
39306
+ pickstation_logistics_is_pick_workday: {
39307
+ Args: {
39308
+ p_date: string;
39309
+ p_device_key: string;
39310
+ };
39311
+ Returns: boolean;
39312
+ };
39313
+ pickstation_logistics_order_released: {
39314
+ Args: {
39315
+ p_device_key: string;
39316
+ p_order_ref: string;
39317
+ };
39318
+ Returns: boolean;
39319
+ };
39320
+ pickstation_logistics_pick_mode: {
39321
+ Args: {
39322
+ p_device_key: string;
39323
+ };
39324
+ Returns: Json;
39325
+ };
39326
+ pickstation_logistics_shipping_note_from_barcode: {
39327
+ Args: {
39328
+ p_allow_reprint?: boolean;
39329
+ p_barcode: string;
39330
+ p_device_key: string;
39331
+ p_station_id?: string;
39332
+ };
39333
+ Returns: Json;
39334
+ };
39335
+ pickstation_logistics_working_hours_status: {
39336
+ Args: {
39337
+ p_device_key: string;
39338
+ };
39339
+ Returns: Json;
39340
+ };
39341
+ pickstation_order_sticker_meldingen: {
39342
+ Args: {
39343
+ p_device_key: string;
39344
+ p_order_id: string;
39345
+ p_slug: string;
39346
+ };
39347
+ Returns: Json;
39348
+ } | {
39349
+ Args: {
37537
39350
  p_order_id: string;
37538
- p_order_number: string;
39351
+ p_slug: string;
37539
39352
  };
37540
- Returns: undefined;
39353
+ Returns: Json;
37541
39354
  };
37542
- pickstation_order_sticker_meldingen: {
39355
+ pickstation_pair_device: {
37543
39356
  Args: {
37544
- p_order_id: string;
39357
+ p_code: string;
39358
+ p_device_name: string;
37545
39359
  p_slug: string;
37546
39360
  };
37547
39361
  Returns: Json;
37548
39362
  };
37549
39363
  pickstation_resolve_delivery_orders: {
39364
+ Args: {
39365
+ p_device_key: string;
39366
+ p_sales_order_ids: string[];
39367
+ };
39368
+ Returns: {
39369
+ delivery_order_id: string;
39370
+ sales_order_id: string;
39371
+ }[];
39372
+ } | {
37550
39373
  Args: {
37551
39374
  p_sales_order_ids: string[];
37552
39375
  };
@@ -37565,6 +39388,13 @@ export type Database = {
37565
39388
  Returns: undefined;
37566
39389
  };
37567
39390
  pickstation_sticker_past_controle: {
39391
+ Args: {
39392
+ p_cart_id: string;
39393
+ p_device_key: string;
39394
+ p_slug: string;
39395
+ };
39396
+ Returns: Json;
39397
+ } | {
37568
39398
  Args: {
37569
39399
  p_cart_id: string;
37570
39400
  p_slug: string;
@@ -37572,6 +39402,14 @@ export type Database = {
37572
39402
  Returns: Json;
37573
39403
  };
37574
39404
  pickstation_sticker_reprint: {
39405
+ Args: {
39406
+ p_cart_id: string;
39407
+ p_device_key: string;
39408
+ p_reden?: string;
39409
+ p_slug: string;
39410
+ };
39411
+ Returns: Json;
39412
+ } | {
37575
39413
  Args: {
37576
39414
  p_cart_id: string;
37577
39415
  p_reden?: string;
@@ -38427,7 +40265,46 @@ export type Database = {
38427
40265
  };
38428
40266
  Returns: Json;
38429
40267
  };
40268
+ scan_alleen_gekoppeld_zetten: {
40269
+ Args: {
40270
+ p_aan: boolean;
40271
+ };
40272
+ Returns: Json;
40273
+ };
40274
+ scan_apparaat_intrekken: {
40275
+ Args: {
40276
+ p_apparaat_id: string;
40277
+ };
40278
+ Returns: Json;
40279
+ };
40280
+ scan_apparaat_koppelen: {
40281
+ Args: {
40282
+ p_code: string;
40283
+ p_naam?: string;
40284
+ p_scanner_id: string;
40285
+ };
40286
+ Returns: Json;
40287
+ };
40288
+ scan_apparaat_status: {
40289
+ Args: {
40290
+ p_device_key?: string;
40291
+ p_scanner_id: string;
40292
+ };
40293
+ Returns: Json;
40294
+ };
40295
+ scan_apparaten_lijst: {
40296
+ Args: {
40297
+ p_scanner_id: string;
40298
+ };
40299
+ Returns: Json;
40300
+ };
38430
40301
  scan_cancel_kar: {
40302
+ Args: {
40303
+ p_device_key: string;
40304
+ p_kar_id: string;
40305
+ };
40306
+ Returns: Json;
40307
+ } | {
38431
40308
  Args: {
38432
40309
  p_kar_id: string;
38433
40310
  };
@@ -38441,8 +40318,24 @@ export type Database = {
38441
40318
  p_scanner_id?: string;
38442
40319
  };
38443
40320
  Returns: Json;
40321
+ } | {
40322
+ Args: {
40323
+ p_allow_reprint?: boolean;
40324
+ p_cart_id: string;
40325
+ p_device_key: string;
40326
+ p_print?: boolean;
40327
+ p_scanner_id?: string;
40328
+ };
40329
+ Returns: Json;
38444
40330
  };
38445
40331
  scan_controleer_pincode: {
40332
+ Args: {
40333
+ p_device_key: string;
40334
+ p_pin: string;
40335
+ p_scanner_id: string;
40336
+ };
40337
+ Returns: Json;
40338
+ } | {
38446
40339
  Args: {
38447
40340
  p_pin: string;
38448
40341
  p_scanner_id: string;
@@ -38462,8 +40355,22 @@ export type Database = {
38462
40355
  p_scanner_id?: string;
38463
40356
  };
38464
40357
  Returns: Json;
40358
+ } | {
40359
+ Args: {
40360
+ p_barcode: string;
40361
+ p_bevestig_niet_geprint?: boolean;
40362
+ p_device_key: string;
40363
+ p_scanner_id?: string;
40364
+ };
40365
+ Returns: Json;
38465
40366
  };
38466
40367
  scan_finish_kar: {
40368
+ Args: {
40369
+ p_device_key: string;
40370
+ p_kar_id: string;
40371
+ };
40372
+ Returns: Json;
40373
+ } | {
38467
40374
  Args: {
38468
40375
  p_kar_id: string;
38469
40376
  };
@@ -38471,11 +40378,28 @@ export type Database = {
38471
40378
  };
38472
40379
  scan_heeft_pincode: {
38473
40380
  Args: {
40381
+ p_device_key: string;
38474
40382
  p_scanner_id: string;
38475
40383
  };
38476
40384
  Returns: boolean;
40385
+ } | {
40386
+ Args: {
40387
+ p_scanner_id: string;
40388
+ };
40389
+ Returns: boolean;
40390
+ };
40391
+ scan_install_check: {
40392
+ Args: never;
40393
+ Returns: Json;
38477
40394
  };
38478
40395
  scan_kar_compleet: {
40396
+ Args: {
40397
+ p_allow_reprint?: boolean;
40398
+ p_device_key: string;
40399
+ p_sessie_id: string;
40400
+ };
40401
+ Returns: Json;
40402
+ } | {
38479
40403
  Args: {
38480
40404
  p_allow_reprint?: boolean;
38481
40405
  p_sessie_id: string;
@@ -38494,11 +40418,25 @@ export type Database = {
38494
40418
  result: string;
38495
40419
  }[];
38496
40420
  };
40421
+ scan_kar_markeren: {
40422
+ Args: {
40423
+ p_device_key: string;
40424
+ p_kar_id: string;
40425
+ p_veld: string;
40426
+ };
40427
+ Returns: Json;
40428
+ };
38497
40429
  scan_kar_regels: {
38498
40430
  Args: {
38499
40431
  p_cart_id: string;
38500
40432
  };
38501
40433
  Returns: Json;
40434
+ } | {
40435
+ Args: {
40436
+ p_cart_id: string;
40437
+ p_device_key: string;
40438
+ };
40439
+ Returns: Json;
38502
40440
  };
38503
40441
  scan_kar_voortgang: {
38504
40442
  Args: {
@@ -38507,6 +40445,20 @@ export type Database = {
38507
40445
  p_slug?: string;
38508
40446
  };
38509
40447
  Returns: Json;
40448
+ } | {
40449
+ Args: {
40450
+ p_cart_id: string;
40451
+ p_device_key: string;
40452
+ p_scanner_id?: string;
40453
+ p_slug?: string;
40454
+ };
40455
+ Returns: Json;
40456
+ };
40457
+ scan_koppelcode_maken: {
40458
+ Args: {
40459
+ p_scanner_id: string;
40460
+ };
40461
+ Returns: Json;
38510
40462
  };
38511
40463
  scan_log_code: {
38512
40464
  Args: {
@@ -38519,14 +40471,38 @@ export type Database = {
38519
40471
  p_scanner_key?: string;
38520
40472
  };
38521
40473
  Returns: string;
40474
+ } | {
40475
+ Args: {
40476
+ p_code: string;
40477
+ p_device_key: string;
40478
+ p_kar_id?: string;
40479
+ p_latency_ms?: number;
40480
+ p_medewerker?: string;
40481
+ p_message?: string;
40482
+ p_result: string;
40483
+ p_scanner_key?: string;
40484
+ };
40485
+ Returns: string;
38522
40486
  };
38523
40487
  scan_open_pakbonnen: {
38524
40488
  Args: {
38525
40489
  p_dagen?: number;
38526
40490
  };
38527
40491
  Returns: Json;
40492
+ } | {
40493
+ Args: {
40494
+ p_dagen?: number;
40495
+ p_device_key: string;
40496
+ };
40497
+ Returns: Json;
38528
40498
  };
38529
40499
  scan_order_klant: {
40500
+ Args: {
40501
+ p_device_key: string;
40502
+ p_order_id: string;
40503
+ };
40504
+ Returns: Json;
40505
+ } | {
38530
40506
  Args: {
38531
40507
  p_order_id: string;
38532
40508
  };
@@ -38537,6 +40513,12 @@ export type Database = {
38537
40513
  p_barcode: string;
38538
40514
  };
38539
40515
  Returns: Json;
40516
+ } | {
40517
+ Args: {
40518
+ p_barcode: string;
40519
+ p_device_key: string;
40520
+ };
40521
+ Returns: Json;
38540
40522
  };
38541
40523
  scan_pakbon_opnieuw: {
38542
40524
  Args: {
@@ -38544,8 +40526,24 @@ export type Database = {
38544
40526
  p_scanner_id?: string;
38545
40527
  };
38546
40528
  Returns: Json;
40529
+ } | {
40530
+ Args: {
40531
+ p_barcode: string;
40532
+ p_device_key: string;
40533
+ p_scanner_id?: string;
40534
+ };
40535
+ Returns: Json;
38547
40536
  };
38548
40537
  scan_pakbon_toevoegen: {
40538
+ Args: {
40539
+ p_barcode: string;
40540
+ p_device_key: string;
40541
+ p_medewerker?: string;
40542
+ p_regels?: Json;
40543
+ p_scanner_id: string;
40544
+ };
40545
+ Returns: Json;
40546
+ } | {
38549
40547
  Args: {
38550
40548
  p_barcode: string;
38551
40549
  p_medewerker?: string;
@@ -38554,7 +40552,34 @@ export type Database = {
38554
40552
  };
38555
40553
  Returns: Json;
38556
40554
  };
40555
+ scan_pakbonnen_open: {
40556
+ Args: {
40557
+ p_device_key: string;
40558
+ p_limiet?: number;
40559
+ };
40560
+ Returns: Json;
40561
+ };
40562
+ scan_pin_blokkade_opheffen: {
40563
+ Args: {
40564
+ p_scanner_id: string;
40565
+ };
40566
+ Returns: Json;
40567
+ };
40568
+ scan_print_job_status: {
40569
+ Args: {
40570
+ p_device_key: string;
40571
+ p_job_id: string;
40572
+ };
40573
+ Returns: Json;
40574
+ };
38557
40575
  scan_print_restpakbon: {
40576
+ Args: {
40577
+ p_device_key: string;
40578
+ p_printer_id?: string;
40579
+ p_restpakbon_id: string;
40580
+ };
40581
+ Returns: Json;
40582
+ } | {
38558
40583
  Args: {
38559
40584
  p_printer_id?: string;
38560
40585
  p_restpakbon_id: string;
@@ -38567,7 +40592,21 @@ export type Database = {
38567
40592
  };
38568
40593
  Returns: Json;
38569
40594
  };
40595
+ scan_printers: {
40596
+ Args: {
40597
+ p_device_key: string;
40598
+ };
40599
+ Returns: Json;
40600
+ };
38570
40601
  scan_register_item: {
40602
+ Args: {
40603
+ p_device_key: string;
40604
+ p_kar_id: string;
40605
+ p_pakbon_item_id: string;
40606
+ p_scanned_by?: string;
40607
+ };
40608
+ Returns: Json;
40609
+ } | {
38571
40610
  Args: {
38572
40611
  p_kar_id: string;
38573
40612
  p_pakbon_item_id: string;
@@ -38578,20 +40617,51 @@ export type Database = {
38578
40617
  scan_release_expired_locks: {
38579
40618
  Args: never;
38580
40619
  Returns: Json;
40620
+ } | {
40621
+ Args: {
40622
+ p_device_key: string;
40623
+ };
40624
+ Returns: Json;
38581
40625
  };
38582
40626
  scan_remove_item: {
40627
+ Args: {
40628
+ p_device_key: string;
40629
+ p_kar_item_id: string;
40630
+ };
40631
+ Returns: Json;
40632
+ } | {
38583
40633
  Args: {
38584
40634
  p_kar_item_id: string;
38585
40635
  };
38586
40636
  Returns: Json;
38587
40637
  };
40638
+ scan_resolve: {
40639
+ Args: {
40640
+ p_code: string;
40641
+ p_device_key: string;
40642
+ };
40643
+ Returns: Json;
40644
+ };
38588
40645
  scan_restpakbon_geprint: {
40646
+ Args: {
40647
+ p_device_key: string;
40648
+ p_id: string;
40649
+ p_print_job_id?: string;
40650
+ };
40651
+ Returns: undefined;
40652
+ } | {
38589
40653
  Args: {
38590
40654
  p_id: string;
38591
40655
  p_print_job_id?: string;
38592
40656
  };
38593
40657
  Returns: undefined;
38594
40658
  };
40659
+ scan_role_allowed: {
40660
+ Args: {
40661
+ p_level: string;
40662
+ };
40663
+ Returns: boolean;
40664
+ };
38595
40665
  scan_scanner_info: {
38596
40666
  Args: {
38597
40667
  p_slug: string;
@@ -38609,18 +40679,40 @@ export type Database = {
38609
40679
  }[];
38610
40680
  };
38611
40681
  scan_sessie_annuleren: {
40682
+ Args: {
40683
+ p_device_key: string;
40684
+ p_sessie_id: string;
40685
+ };
40686
+ Returns: undefined;
40687
+ } | {
38612
40688
  Args: {
38613
40689
  p_sessie_id: string;
38614
40690
  };
38615
40691
  Returns: undefined;
38616
40692
  };
38617
40693
  scan_sessie_open: {
40694
+ Args: {
40695
+ p_device_key: string;
40696
+ p_scanner_id: string;
40697
+ };
40698
+ Returns: Json;
40699
+ } | {
38618
40700
  Args: {
38619
40701
  p_scanner_id: string;
38620
40702
  };
38621
40703
  Returns: Json;
38622
40704
  };
38623
40705
  scan_start_kar: {
40706
+ Args: {
40707
+ p_device_key: string;
40708
+ p_medewerker_id?: string;
40709
+ p_medewerker_naam?: string;
40710
+ p_pakbon_ids: string[];
40711
+ p_scanner_key?: string;
40712
+ p_sessie?: string;
40713
+ };
40714
+ Returns: Json;
40715
+ } | {
38624
40716
  Args: {
38625
40717
  p_medewerker_id?: string;
38626
40718
  p_medewerker_naam?: string;
@@ -39920,6 +42012,12 @@ export type Database = {
39920
42012
  };
39921
42013
  Returns: undefined;
39922
42014
  };
42015
+ verkoop_correctie_verpakking: {
42016
+ Args: {
42017
+ p_uitvoeren?: boolean;
42018
+ };
42019
+ Returns: Json;
42020
+ };
39923
42021
  verkoop_create_order: {
39924
42022
  Args: {
39925
42023
  p_accept_late_signup?: boolean;
@@ -40069,6 +42167,20 @@ export type Database = {
40069
42167
  };
40070
42168
  Returns: boolean;
40071
42169
  };
42170
+ voorraad_fust_dimensions: {
42171
+ Args: never;
42172
+ Returns: {
42173
+ dimension_source: string;
42174
+ floricode_name: string;
42175
+ fust_key: string;
42176
+ fust_type_id: string;
42177
+ height_mm: number;
42178
+ length_mm: number;
42179
+ name: string;
42180
+ vbn_code: number;
42181
+ width_mm: number;
42182
+ }[];
42183
+ };
40072
42184
  voorraad_hook_base_url: {
40073
42185
  Args: never;
40074
42186
  Returns: string;
@@ -40111,6 +42223,10 @@ export type Database = {
40111
42223
  };
40112
42224
  Returns: string;
40113
42225
  };
42226
+ voorraad_stock_context_status: {
42227
+ Args: never;
42228
+ Returns: Json;
42229
+ };
40114
42230
  voorraad_vereis: {
40115
42231
  Args: {
40116
42232
  p_functie: string;