@flowselections/floriday-verkoop-module 1.0.116 → 1.0.121

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 (59) hide show
  1. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/CreateOrderPage.js +39 -26
  3. package/dist-lib/components/verkoop/FloridayStageLine.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/FloridayStageLine.js +4 -2
  5. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  6. package/dist-lib/components/verkoop/SalesOrderDetailPage.js +9 -3
  7. package/dist-lib/components/verkoop/SearchableSelect.d.ts +2 -0
  8. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  9. package/dist-lib/components/verkoop/SearchableSelect.js +1 -1
  10. package/dist-lib/integrations/supabase/types.d.ts +2187 -132
  11. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  12. package/dist-lib/lib/carrier-resolve.d.ts.map +1 -1
  13. package/dist-lib/lib/carrier-resolve.js +4 -1
  14. package/dist-lib/lib/create-order.functions.d.ts +1 -0
  15. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/create-order.functions.js +44 -29
  17. package/dist-lib/lib/floriday-write-mode.d.ts +2 -0
  18. package/dist-lib/lib/floriday-write-mode.d.ts.map +1 -0
  19. package/dist-lib/lib/floriday-write-mode.functions.d.ts +9 -0
  20. package/dist-lib/lib/floriday-write-mode.functions.d.ts.map +1 -0
  21. package/dist-lib/lib/floriday-write-mode.functions.js +17 -0
  22. package/dist-lib/lib/floriday-write-mode.js +11 -0
  23. package/dist-lib/lib/module-version.d.ts +1 -1
  24. package/dist-lib/lib/module-version.js +1 -1
  25. package/dist-lib/lib/order-cancel.server.d.ts.map +1 -1
  26. package/dist-lib/lib/order-cancel.server.js +11 -10
  27. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/order-shipments.functions.js +2 -1
  29. package/dist-lib/lib/plan-coverage.server.d.ts +9 -0
  30. package/dist-lib/lib/plan-coverage.server.d.ts.map +1 -1
  31. package/dist-lib/lib/plan-coverage.server.js +20 -0
  32. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/salesorders-list.functions.js +6 -0
  34. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  35. package/dist-lib/lib/salesorders-list.server.js +4 -0
  36. package/dist-lib/lib/salesorders-mapping.d.ts +4 -0
  37. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  38. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/salesorders.functions.js +6 -0
  40. package/dist-lib/lib/stock-errors.check.d.ts +2 -0
  41. package/dist-lib/lib/stock-errors.check.d.ts.map +1 -0
  42. package/dist-lib/lib/stock-errors.check.js +15 -0
  43. package/dist-lib/lib/stock-errors.d.ts +6 -0
  44. package/dist-lib/lib/stock-errors.d.ts.map +1 -0
  45. package/dist-lib/lib/stock-errors.js +15 -0
  46. package/dist-lib/lib/testronde-1119.check.d.ts +2 -0
  47. package/dist-lib/lib/testronde-1119.check.d.ts.map +1 -0
  48. package/dist-lib/lib/testronde-1119.check.js +20 -0
  49. package/dist-lib/lib/useFloridayWriteMode.d.ts +3 -0
  50. package/dist-lib/lib/useFloridayWriteMode.d.ts.map +1 -0
  51. package/dist-lib/lib/useFloridayWriteMode.js +15 -0
  52. package/dist-lib/lib/zero-price-write-mode.check.d.ts +2 -0
  53. package/dist-lib/lib/zero-price-write-mode.check.d.ts.map +1 -0
  54. package/dist-lib/lib/zero-price-write-mode.check.js +18 -0
  55. package/dist-lib/lib/zero-price.d.ts +9 -0
  56. package/dist-lib/lib/zero-price.d.ts.map +1 -0
  57. package/dist-lib/lib/zero-price.js +9 -0
  58. package/package.json +1 -1
  59. package/schema/verkoop.sql +175 -27
@@ -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;
@@ -16995,6 +17043,7 @@ export type Database = {
16995
17043
  sort_order: number;
16996
17044
  sticker_available: boolean;
16997
17045
  sticker_cost: number | null;
17046
+ zero_price_confirmed: boolean;
16998
17047
  };
16999
17048
  Insert: {
17000
17049
  available_stock?: number;
@@ -17014,6 +17063,7 @@ export type Database = {
17014
17063
  sort_order?: number;
17015
17064
  sticker_available?: boolean;
17016
17065
  sticker_cost?: number | null;
17066
+ zero_price_confirmed?: boolean;
17017
17067
  };
17018
17068
  Update: {
17019
17069
  available_stock?: number;
@@ -17033,6 +17083,7 @@ export type Database = {
17033
17083
  sort_order?: number;
17034
17084
  sticker_available?: boolean;
17035
17085
  sticker_cost?: number | null;
17086
+ zero_price_confirmed?: boolean;
17036
17087
  };
17037
17088
  Relationships: [
17038
17089
  {
@@ -17058,6 +17109,7 @@ export type Database = {
17058
17109
  status: string;
17059
17110
  subject: string;
17060
17111
  updated_at: string;
17112
+ valid_until: string | null;
17061
17113
  };
17062
17114
  Insert: {
17063
17115
  created_at?: string;
@@ -17072,6 +17124,7 @@ export type Database = {
17072
17124
  status?: string;
17073
17125
  subject: string;
17074
17126
  updated_at?: string;
17127
+ valid_until?: string | null;
17075
17128
  };
17076
17129
  Update: {
17077
17130
  created_at?: string;
@@ -17086,6 +17139,7 @@ export type Database = {
17086
17139
  status?: string;
17087
17140
  subject?: string;
17088
17141
  updated_at?: string;
17142
+ valid_until?: string | null;
17089
17143
  };
17090
17144
  Relationships: [];
17091
17145
  };
@@ -17134,6 +17188,8 @@ export type Database = {
17134
17188
  offer_orders: {
17135
17189
  Row: {
17136
17190
  campaign_id: string;
17191
+ carrier_warning: string | null;
17192
+ carrier_warning_at: string | null;
17137
17193
  created_at: string;
17138
17194
  customer_email: string;
17139
17195
  customer_id: string | null;
@@ -17142,6 +17198,9 @@ export type Database = {
17142
17198
  id: string;
17143
17199
  items: Json;
17144
17200
  notes: string | null;
17201
+ office_notification_at: string | null;
17202
+ office_notification_reason: string | null;
17203
+ office_notification_status: string | null;
17145
17204
  order_creation_attempts: number;
17146
17205
  order_creation_error: string | null;
17147
17206
  order_creation_failed_at: string | null;
@@ -17153,6 +17212,8 @@ export type Database = {
17153
17212
  };
17154
17213
  Insert: {
17155
17214
  campaign_id: string;
17215
+ carrier_warning?: string | null;
17216
+ carrier_warning_at?: string | null;
17156
17217
  created_at?: string;
17157
17218
  customer_email: string;
17158
17219
  customer_id?: string | null;
@@ -17161,6 +17222,9 @@ export type Database = {
17161
17222
  id?: string;
17162
17223
  items?: Json;
17163
17224
  notes?: string | null;
17225
+ office_notification_at?: string | null;
17226
+ office_notification_reason?: string | null;
17227
+ office_notification_status?: string | null;
17164
17228
  order_creation_attempts?: number;
17165
17229
  order_creation_error?: string | null;
17166
17230
  order_creation_failed_at?: string | null;
@@ -17172,6 +17236,8 @@ export type Database = {
17172
17236
  };
17173
17237
  Update: {
17174
17238
  campaign_id?: string;
17239
+ carrier_warning?: string | null;
17240
+ carrier_warning_at?: string | null;
17175
17241
  created_at?: string;
17176
17242
  customer_email?: string;
17177
17243
  customer_id?: string | null;
@@ -17180,6 +17246,9 @@ export type Database = {
17180
17246
  id?: string;
17181
17247
  items?: Json;
17182
17248
  notes?: string | null;
17249
+ office_notification_at?: string | null;
17250
+ office_notification_reason?: string | null;
17251
+ office_notification_status?: string | null;
17183
17252
  order_creation_attempts?: number;
17184
17253
  order_creation_error?: string | null;
17185
17254
  order_creation_failed_at?: string | null;
@@ -18852,6 +18921,74 @@ export type Database = {
18852
18921
  }
18853
18922
  ];
18854
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
+ };
18855
18992
  pick_station_heartbeats: {
18856
18993
  Row: {
18857
18994
  browser: string | null;
@@ -18984,6 +19121,53 @@ export type Database = {
18984
19121
  };
18985
19122
  Relationships: [];
18986
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
+ };
18987
19171
  pick_station_permissions: {
18988
19172
  Row: {
18989
19173
  can_break_lock: boolean;
@@ -19155,6 +19339,29 @@ export type Database = {
19155
19339
  }
19156
19340
  ];
19157
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
+ };
19158
19365
  pick_station_tasks: {
19159
19366
  Row: {
19160
19367
  active: boolean;
@@ -20429,6 +20636,7 @@ export type Database = {
20429
20636
  render_html: string | null;
20430
20637
  resultaat_pdf_base64: string | null;
20431
20638
  status: Database["public"]["Enums"]["print_job_status"];
20639
+ uitwijk: Json | null;
20432
20640
  updated_at: string;
20433
20641
  verloopt_na_s: number | null;
20434
20642
  verwerkingsfase: string;
@@ -20485,6 +20693,7 @@ export type Database = {
20485
20693
  render_html?: string | null;
20486
20694
  resultaat_pdf_base64?: string | null;
20487
20695
  status?: Database["public"]["Enums"]["print_job_status"];
20696
+ uitwijk?: Json | null;
20488
20697
  updated_at?: string;
20489
20698
  verloopt_na_s?: number | null;
20490
20699
  verwerkingsfase?: string;
@@ -20541,6 +20750,7 @@ export type Database = {
20541
20750
  render_html?: string | null;
20542
20751
  resultaat_pdf_base64?: string | null;
20543
20752
  status?: Database["public"]["Enums"]["print_job_status"];
20753
+ uitwijk?: Json | null;
20544
20754
  updated_at?: string;
20545
20755
  verloopt_na_s?: number | null;
20546
20756
  verwerkingsfase?: string;
@@ -23106,6 +23316,107 @@ export type Database = {
23106
23316
  };
23107
23317
  Relationships: [];
23108
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
+ };
23109
23420
  scan_kar_items: {
23110
23421
  Row: {
23111
23422
  barcode: string;
@@ -23509,6 +23820,35 @@ export type Database = {
23509
23820
  };
23510
23821
  Relationships: [];
23511
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
+ };
23512
23852
  scan_restpakbonnen: {
23513
23853
  Row: {
23514
23854
  barcode: string;
@@ -26449,6 +26789,7 @@ export type Database = {
26449
26789
  };
26450
26790
  twinfield_token_issue_log: {
26451
26791
  Row: {
26792
+ acting_user_id: string | null;
26452
26793
  caller_kind: string;
26453
26794
  connection_id: string | null;
26454
26795
  id: string;
@@ -26459,6 +26800,7 @@ export type Database = {
26459
26800
  user_id: string | null;
26460
26801
  };
26461
26802
  Insert: {
26803
+ acting_user_id?: string | null;
26462
26804
  caller_kind: string;
26463
26805
  connection_id?: string | null;
26464
26806
  id?: string;
@@ -26469,6 +26811,7 @@ export type Database = {
26469
26811
  user_id?: string | null;
26470
26812
  };
26471
26813
  Update: {
26814
+ acting_user_id?: string | null;
26472
26815
  caller_kind?: string;
26473
26816
  connection_id?: string | null;
26474
26817
  id?: string;
@@ -27376,6 +27719,51 @@ export type Database = {
27376
27719
  }
27377
27720
  ];
27378
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
+ };
27379
27767
  voorraad_buffer_state: {
27380
27768
  Row: {
27381
27769
  buffer_id: string;
@@ -30161,6 +30549,63 @@ export type Database = {
30161
30549
  };
30162
30550
  Returns: Json;
30163
30551
  };
30552
+ _scan_alleen_gekoppeld: {
30553
+ Args: never;
30554
+ Returns: boolean;
30555
+ };
30556
+ _scan_assert_beheer: {
30557
+ Args: never;
30558
+ Returns: undefined;
30559
+ };
30560
+ _scan_assert_device: {
30561
+ Args: {
30562
+ p_device_key: string;
30563
+ };
30564
+ Returns: string;
30565
+ };
30566
+ _scan_assert_legacy: {
30567
+ Args: never;
30568
+ Returns: undefined;
30569
+ };
30570
+ _scan_check_kar: {
30571
+ Args: {
30572
+ p_kar_id: string;
30573
+ v: string;
30574
+ };
30575
+ Returns: undefined;
30576
+ };
30577
+ _scan_check_scanner: {
30578
+ Args: {
30579
+ p: string;
30580
+ v: string;
30581
+ };
30582
+ Returns: string;
30583
+ };
30584
+ _scan_check_sessie: {
30585
+ Args: {
30586
+ p_sessie_id: string;
30587
+ v: string;
30588
+ };
30589
+ Returns: undefined;
30590
+ };
30591
+ _scan_floriday_stand: {
30592
+ Args: never;
30593
+ Returns: Json;
30594
+ };
30595
+ _scan_hash: {
30596
+ Args: {
30597
+ p: string;
30598
+ };
30599
+ Returns: string;
30600
+ };
30601
+ _scan_is_beheer: {
30602
+ Args: never;
30603
+ Returns: boolean;
30604
+ };
30605
+ _scan_is_server: {
30606
+ Args: never;
30607
+ Returns: boolean;
30608
+ };
30164
30609
  _scan_kar_floriday_afgehandeld: {
30165
30610
  Args: {
30166
30611
  p_cart_id: string;
@@ -30180,6 +30625,10 @@ export type Database = {
30180
30625
  };
30181
30626
  Returns: Json;
30182
30627
  };
30628
+ _scan_vertrouwd: {
30629
+ Args: never;
30630
+ Returns: boolean;
30631
+ };
30183
30632
  _stock_import_caller: {
30184
30633
  Args: {
30185
30634
  p_owner: string;
@@ -30190,6 +30639,73 @@ export type Database = {
30190
30639
  Args: never;
30191
30640
  Returns: boolean;
30192
30641
  };
30642
+ aanbiedingsmail_assert_caller: {
30643
+ Args: {
30644
+ p_level: string;
30645
+ };
30646
+ Returns: undefined;
30647
+ };
30648
+ aanbiedingsmail_create_order: {
30649
+ Args: {
30650
+ p_offer_order_id: string;
30651
+ };
30652
+ Returns: Json;
30653
+ };
30654
+ aanbiedingsmail_ensure_cron: {
30655
+ Args: never;
30656
+ Returns: Json;
30657
+ };
30658
+ aanbiedingsmail_install_check: {
30659
+ Args: never;
30660
+ Returns: Json;
30661
+ };
30662
+ aanbiedingsmail_is_server: {
30663
+ Args: never;
30664
+ Returns: boolean;
30665
+ };
30666
+ aanbiedingsmail_koppel_producten: {
30667
+ Args: {
30668
+ p_uitvoeren?: boolean;
30669
+ };
30670
+ Returns: Json;
30671
+ };
30672
+ aanbiedingsmail_link_status: {
30673
+ Args: {
30674
+ p_code: string;
30675
+ };
30676
+ Returns: Json;
30677
+ };
30678
+ aanbiedingsmail_notify_office: {
30679
+ Args: {
30680
+ p_offer_order_id: string;
30681
+ };
30682
+ Returns: Json;
30683
+ };
30684
+ aanbiedingsmail_place_offer_order: {
30685
+ Args: {
30686
+ p_code: string;
30687
+ p_customer_email: string;
30688
+ p_customer_name: string;
30689
+ p_customer_phone: string;
30690
+ p_items: Json;
30691
+ p_notes: string;
30692
+ p_retry_payload: Json;
30693
+ p_total: number;
30694
+ };
30695
+ Returns: Json;
30696
+ };
30697
+ aanbiedingsmail_resolve_product_id: {
30698
+ Args: {
30699
+ p_ref: string;
30700
+ };
30701
+ Returns: string;
30702
+ };
30703
+ aanbiedingsmail_stock_key: {
30704
+ Args: {
30705
+ p_ref: string;
30706
+ };
30707
+ Returns: string;
30708
+ };
30193
30709
  afh_assert_ingelogd: {
30194
30710
  Args: never;
30195
30711
  Returns: undefined;
@@ -30434,6 +30950,26 @@ export type Database = {
30434
30950
  Args: never;
30435
30951
  Returns: Json;
30436
30952
  };
30953
+ ai_catalog: {
30954
+ Args: never;
30955
+ Returns: Json;
30956
+ };
30957
+ ai_declare_installatietechniek_werkbonnen_planner: {
30958
+ Args: never;
30959
+ Returns: Json;
30960
+ };
30961
+ ai_declare_klanten_stickers: {
30962
+ Args: never;
30963
+ Returns: Json;
30964
+ };
30965
+ ai_declare_mailbox_bestellingen: {
30966
+ Args: never;
30967
+ Returns: Json;
30968
+ };
30969
+ ai_declare_werkbon_postvak: {
30970
+ Args: never;
30971
+ Returns: Json;
30972
+ };
30437
30973
  ai_is_admin: {
30438
30974
  Args: {
30439
30975
  _uid: string;
@@ -30454,6 +30990,10 @@ export type Database = {
30454
30990
  };
30455
30991
  Returns: boolean;
30456
30992
  };
30993
+ ai_sync_catalog: {
30994
+ Args: never;
30995
+ Returns: Json;
30996
+ };
30457
30997
  ai_usage_by_module: {
30458
30998
  Args: {
30459
30999
  _from: string;
@@ -30712,6 +31252,7 @@ export type Database = {
30712
31252
  render_html: string | null;
30713
31253
  resultaat_pdf_base64: string | null;
30714
31254
  status: Database["public"]["Enums"]["print_job_status"];
31255
+ uitwijk: Json | null;
30715
31256
  updated_at: string;
30716
31257
  verloopt_na_s: number | null;
30717
31258
  verwerkingsfase: string;
@@ -30910,6 +31451,7 @@ export type Database = {
30910
31451
  render_html: string | null;
30911
31452
  resultaat_pdf_base64: string | null;
30912
31453
  status: Database["public"]["Enums"]["print_job_status"];
31454
+ uitwijk: Json | null;
30913
31455
  updated_at: string;
30914
31456
  verloopt_na_s: number | null;
30915
31457
  verwerkingsfase: string;
@@ -30978,6 +31520,7 @@ export type Database = {
30978
31520
  render_html: string | null;
30979
31521
  resultaat_pdf_base64: string | null;
30980
31522
  status: Database["public"]["Enums"]["print_job_status"];
31523
+ uitwijk: Json | null;
30981
31524
  updated_at: string;
30982
31525
  verloopt_na_s: number | null;
30983
31526
  verwerkingsfase: string;
@@ -31383,6 +31926,16 @@ export type Database = {
31383
31926
  };
31384
31927
  Returns: string;
31385
31928
  };
31929
+ email_auth_enqueue_internal: {
31930
+ Args: {
31931
+ p_dedupe_key: string;
31932
+ p_from_name: string;
31933
+ p_html: string;
31934
+ p_source_module: string;
31935
+ p_subject: string;
31936
+ };
31937
+ Returns: Json;
31938
+ };
31386
31939
  email_auth_fetch_message: {
31387
31940
  Args: {
31388
31941
  _connection_id: string;
@@ -31406,6 +31959,14 @@ export type Database = {
31406
31959
  status: string;
31407
31960
  }[];
31408
31961
  };
31962
+ email_auth_install_check: {
31963
+ Args: never;
31964
+ Returns: Json;
31965
+ };
31966
+ email_auth_is_server_call: {
31967
+ Args: never;
31968
+ Returns: boolean;
31969
+ };
31409
31970
  email_auth_upsert_connection: {
31410
31971
  Args: {
31411
31972
  _account_email: string;
@@ -31529,6 +32090,30 @@ export type Database = {
31529
32090
  };
31530
32091
  Returns: boolean;
31531
32092
  };
32093
+ floricode_load_carriers: {
32094
+ Args: never;
32095
+ Returns: {
32096
+ code: string;
32097
+ environment: string;
32098
+ height_mm: number;
32099
+ length_mm: number;
32100
+ name: string;
32101
+ width_mm: number;
32102
+ }[];
32103
+ };
32104
+ floricode_packaging_types: {
32105
+ Args: never;
32106
+ Returns: {
32107
+ code: string;
32108
+ expiry_date: string;
32109
+ height_mm: number;
32110
+ length_mm: number;
32111
+ name: string;
32112
+ packaging_type_id: string;
32113
+ packaging_type_name: string;
32114
+ width_mm: number;
32115
+ }[];
32116
+ };
31532
32117
  floricode_sync_cron_schedule: {
31533
32118
  Args: {
31534
32119
  p_apikey: string;
@@ -31615,6 +32200,28 @@ export type Database = {
31615
32200
  Args: never;
31616
32201
  Returns: undefined;
31617
32202
  };
32203
+ floriday_cron_command: {
32204
+ Args: {
32205
+ p_only_with_connection: boolean;
32206
+ p_route: string;
32207
+ p_timeout_ms: number;
32208
+ };
32209
+ Returns: string;
32210
+ };
32211
+ floriday_cron_inventory: {
32212
+ Args: never;
32213
+ Returns: {
32214
+ default_schedule: string;
32215
+ jobname: string;
32216
+ only_with_connection: boolean;
32217
+ route: string;
32218
+ timeout_ms: number;
32219
+ }[];
32220
+ };
32221
+ floriday_cron_key: {
32222
+ Args: never;
32223
+ Returns: string;
32224
+ };
31618
32225
  floriday_customer_candidates: {
31619
32226
  Args: never;
31620
32227
  Returns: {
@@ -31676,6 +32283,10 @@ export type Database = {
31676
32283
  postcode: string;
31677
32284
  }[];
31678
32285
  };
32286
+ floriday_ensure_cron: {
32287
+ Args: never;
32288
+ Returns: Json;
32289
+ };
31679
32290
  floriday_erp_leading_preview: {
31680
32291
  Args: {
31681
32292
  p_connection_id: string;
@@ -32762,6 +33373,12 @@ export type Database = {
32762
33373
  status: string;
32763
33374
  }[];
32764
33375
  };
33376
+ layout_rij_weergavenaam: {
33377
+ Args: {
33378
+ _rij: Json;
33379
+ };
33380
+ Returns: string;
33381
+ };
32765
33382
  layout_standaard_overnemen: {
32766
33383
  Args: {
32767
33384
  _layout_id: string;
@@ -32903,6 +33520,10 @@ export type Database = {
32903
33520
  };
32904
33521
  Returns: boolean;
32905
33522
  };
33523
+ logistics_acc_entry: {
33524
+ Args: never;
33525
+ Returns: string;
33526
+ };
32906
33527
  logistics_acc_guard: {
32907
33528
  Args: {
32908
33529
  p_fn: string;
@@ -34903,6 +35524,14 @@ export type Database = {
34903
35524
  Args: never;
34904
35525
  Returns: Json;
34905
35526
  };
35527
+ logistics_overload_check: {
35528
+ Args: never;
35529
+ Returns: {
35530
+ ok: boolean;
35531
+ onderdeel: string;
35532
+ toelichting: string;
35533
+ }[];
35534
+ };
34906
35535
  logistics_own_sticker_count: {
34907
35536
  Args: {
34908
35537
  p_ppc_product: number;
@@ -35166,6 +35795,15 @@ export type Database = {
35166
35795
  };
35167
35796
  Returns: string;
35168
35797
  };
35798
+ logistics_plan_fail_log: {
35799
+ Args: {
35800
+ p_actor: string;
35801
+ p_msg: string;
35802
+ p_order_id: string;
35803
+ p_state: string;
35804
+ };
35805
+ Returns: undefined;
35806
+ };
35169
35807
  logistics_plan_finish: {
35170
35808
  Args: {
35171
35809
  p_error?: string;
@@ -36671,10 +37309,25 @@ export type Database = {
36671
37309
  naam: string;
36672
37310
  online: boolean;
36673
37311
  }[];
37312
+ } | {
37313
+ Args: {
37314
+ p_device_key: string;
37315
+ };
37316
+ Returns: {
37317
+ id: string;
37318
+ locatie: string;
37319
+ naam: string;
37320
+ online: boolean;
37321
+ }[];
36674
37322
  };
36675
37323
  pick_apply_buffer_events: {
36676
37324
  Args: never;
36677
37325
  Returns: Json;
37326
+ } | {
37327
+ Args: {
37328
+ p_device_key: string;
37329
+ };
37330
+ Returns: Json;
36678
37331
  };
36679
37332
  pick_assert_printable: {
36680
37333
  Args: {
@@ -36682,6 +37335,12 @@ export type Database = {
36682
37335
  };
36683
37336
  Returns: undefined;
36684
37337
  };
37338
+ pick_assert_station: {
37339
+ Args: {
37340
+ p_device_key: string;
37341
+ };
37342
+ Returns: string;
37343
+ };
36685
37344
  pick_available_pick_days: {
36686
37345
  Args: {
36687
37346
  _max_days?: number;
@@ -36690,6 +37349,15 @@ export type Database = {
36690
37349
  orders: number;
36691
37350
  pick_day: string;
36692
37351
  }[];
37352
+ } | {
37353
+ Args: {
37354
+ _max_days?: number;
37355
+ p_device_key: string;
37356
+ };
37357
+ Returns: {
37358
+ orders: number;
37359
+ pick_day: string;
37360
+ }[];
36693
37361
  };
36694
37362
  pick_buffer_order_ids: {
36695
37363
  Args: {
@@ -36697,6 +37365,10 @@ export type Database = {
36697
37365
  };
36698
37366
  Returns: string[];
36699
37367
  };
37368
+ pick_build_key_variants: {
37369
+ Args: never;
37370
+ Returns: Json;
37371
+ };
36700
37372
  pick_cart_breakdown: {
36701
37373
  Args: {
36702
37374
  _order_id: string;
@@ -36752,15 +37424,14 @@ export type Database = {
36752
37424
  isOneToOne: true;
36753
37425
  isSetofReturn: false;
36754
37426
  };
36755
- };
36756
- pick_claim_next_document: {
37427
+ } | {
36757
37428
  Args: {
36758
- _country_code: string;
36759
- _pick_day?: string;
37429
+ _queue_item_id: string;
36760
37430
  _screen_id: string;
36761
37431
  _session_id: string;
36762
37432
  _station_id: string;
36763
37433
  _timeout_seconds?: number;
37434
+ p_device_key: string;
36764
37435
  };
36765
37436
  Returns: {
36766
37437
  announced_at: string;
@@ -36804,67 +37475,14 @@ export type Database = {
36804
37475
  isSetofReturn: false;
36805
37476
  };
36806
37477
  };
36807
- pick_cleanup_maintenance: {
36808
- Args: {
36809
- _heartbeat_hours?: number;
36810
- _log_days?: number;
36811
- };
36812
- Returns: Json;
36813
- };
36814
- pick_complete_print: {
36815
- Args: {
36816
- _printer_id: string;
36817
- _queue_item_id: string;
36818
- _session_id: string;
36819
- };
36820
- Returns: {
36821
- announced_at: string;
36822
- assigned_user_id: string | null;
36823
- barcode: string | null;
36824
- cancelled_at: string | null;
36825
- cart_count: number;
36826
- completed_at: string | null;
36827
- country_code: string | null;
36828
- created_at: string;
36829
- customer_name: string | null;
36830
- delivery_address: string | null;
36831
- document_number: string | null;
36832
- document_type_id: string | null;
36833
- due_at: string | null;
36834
- id: string;
36835
- is_urgent: boolean;
36836
- line_count: number;
36837
- order_number: string | null;
36838
- order_type: string | null;
36839
- payload: Json;
36840
- print_count: number;
36841
- print_job_id: string | null;
36842
- printed_at: string | null;
36843
- printed_by: string | null;
36844
- printed_cart_ids: Json;
36845
- printer_id: string | null;
36846
- priority: number;
36847
- reference: string | null;
36848
- route: string | null;
36849
- screen_id: string | null;
36850
- station_id: string | null;
36851
- status_id: string | null;
36852
- updated_at: string;
36853
- warnings: Json;
36854
- };
36855
- SetofOptions: {
36856
- from: "*";
36857
- to: "pick_queue";
36858
- isOneToOne: true;
36859
- isSetofReturn: false;
36860
- };
36861
- };
36862
- pick_complete_print_cart: {
37478
+ pick_claim_next_document: {
36863
37479
  Args: {
36864
- _cart_id: string;
36865
- _printer_id: string;
36866
- _queue_item_id: string;
37480
+ _country_code: string;
37481
+ _pick_day?: string;
37482
+ _screen_id: string;
36867
37483
  _session_id: string;
37484
+ _station_id: string;
37485
+ _timeout_seconds?: number;
36868
37486
  };
36869
37487
  Returns: {
36870
37488
  announced_at: string;
@@ -36907,78 +37525,463 @@ export type Database = {
36907
37525
  isOneToOne: true;
36908
37526
  isSetofReturn: false;
36909
37527
  };
36910
- };
36911
- pick_complete_print_carts: {
36912
- Args: {
36913
- _cart_ids: string[];
36914
- _queue_item_id: string;
36915
- _session_id: string;
36916
- };
36917
- Returns: Json;
36918
- };
36919
- pick_current_pick_day: {
36920
- Args: never;
36921
- Returns: string;
36922
- };
36923
- pick_day_counts: {
36924
- Args: {
36925
- _pick_day?: string;
36926
- _screen_id?: string;
36927
- _station_id?: string;
36928
- };
36929
- Returns: Json;
36930
- };
36931
- pick_document_layout_data: {
36932
- Args: {
36933
- _layout_id: string;
36934
- };
36935
- Returns: Json;
36936
- };
36937
- pick_enqueue_print_job: {
36938
- Args: {
36939
- _is_herprint?: boolean;
36940
- _printer_id?: string;
36941
- _queue_item_id: string;
36942
- _session_id?: string;
36943
- };
36944
- Returns: string;
36945
37528
  } | {
36946
37529
  Args: {
36947
- _cart_id: string;
36948
- _is_herprint: boolean;
36949
- _printer_id: string;
36950
- _queue_item_id: string;
36951
- _session_id: string;
36952
- };
36953
- Returns: string;
36954
- };
36955
- pick_enqueue_print_job_from_cart: {
36956
- Args: {
36957
- _cart_id: string;
36958
- _is_herprint: boolean;
36959
- _printer_id: string;
36960
- _queue_item_id: string;
36961
- _selected_cart: Json;
36962
- _session_id: string;
36963
- };
36964
- Returns: string;
36965
- };
36966
- pick_find_sent_elsewhere: {
36967
- Args: {
36968
- _cart_id: string;
36969
- _queue_item_id: string;
36970
- };
36971
- Returns: Json;
36972
- };
36973
- pick_is_reference_admin: {
36974
- Args: never;
36975
- Returns: boolean;
36976
- };
36977
- pick_mark_printed: {
36978
- Args: {
36979
- _queue_item_id: string;
36980
- _reden?: string;
37530
+ _country_code: string;
37531
+ _pick_day?: string;
37532
+ _screen_id: string;
36981
37533
  _session_id: string;
37534
+ _station_id: string;
37535
+ _timeout_seconds?: number;
37536
+ p_device_key: string;
37537
+ };
37538
+ Returns: {
37539
+ announced_at: string;
37540
+ assigned_user_id: string | null;
37541
+ barcode: string | null;
37542
+ cancelled_at: string | null;
37543
+ cart_count: number;
37544
+ completed_at: string | null;
37545
+ country_code: string | null;
37546
+ created_at: string;
37547
+ customer_name: string | null;
37548
+ delivery_address: string | null;
37549
+ document_number: string | null;
37550
+ document_type_id: string | null;
37551
+ due_at: string | null;
37552
+ id: string;
37553
+ is_urgent: boolean;
37554
+ line_count: number;
37555
+ order_number: string | null;
37556
+ order_type: string | null;
37557
+ payload: Json;
37558
+ print_count: number;
37559
+ print_job_id: string | null;
37560
+ printed_at: string | null;
37561
+ printed_by: string | null;
37562
+ printed_cart_ids: Json;
37563
+ printer_id: string | null;
37564
+ priority: number;
37565
+ reference: string | null;
37566
+ route: string | null;
37567
+ screen_id: string | null;
37568
+ station_id: string | null;
37569
+ status_id: string | null;
37570
+ updated_at: string;
37571
+ warnings: Json;
37572
+ };
37573
+ SetofOptions: {
37574
+ from: "*";
37575
+ to: "pick_queue";
37576
+ isOneToOne: true;
37577
+ isSetofReturn: false;
37578
+ };
37579
+ };
37580
+ pick_cleanup_maintenance: {
37581
+ Args: {
37582
+ _heartbeat_hours?: number;
37583
+ _log_days?: number;
37584
+ };
37585
+ Returns: Json;
37586
+ };
37587
+ pick_complete_print: {
37588
+ Args: {
37589
+ _printer_id: string;
37590
+ _queue_item_id: string;
37591
+ _session_id: string;
37592
+ };
37593
+ Returns: {
37594
+ announced_at: string;
37595
+ assigned_user_id: string | null;
37596
+ barcode: string | null;
37597
+ cancelled_at: string | null;
37598
+ cart_count: number;
37599
+ completed_at: string | null;
37600
+ country_code: string | null;
37601
+ created_at: string;
37602
+ customer_name: string | null;
37603
+ delivery_address: string | null;
37604
+ document_number: string | null;
37605
+ document_type_id: string | null;
37606
+ due_at: string | null;
37607
+ id: string;
37608
+ is_urgent: boolean;
37609
+ line_count: number;
37610
+ order_number: string | null;
37611
+ order_type: string | null;
37612
+ payload: Json;
37613
+ print_count: number;
37614
+ print_job_id: string | null;
37615
+ printed_at: string | null;
37616
+ printed_by: string | null;
37617
+ printed_cart_ids: Json;
37618
+ printer_id: string | null;
37619
+ priority: number;
37620
+ reference: string | null;
37621
+ route: string | null;
37622
+ screen_id: string | null;
37623
+ station_id: string | null;
37624
+ status_id: string | null;
37625
+ updated_at: string;
37626
+ warnings: Json;
37627
+ };
37628
+ SetofOptions: {
37629
+ from: "*";
37630
+ to: "pick_queue";
37631
+ isOneToOne: true;
37632
+ isSetofReturn: false;
37633
+ };
37634
+ } | {
37635
+ Args: {
37636
+ _printer_id: string;
37637
+ _queue_item_id: string;
37638
+ _session_id: string;
37639
+ p_device_key: string;
37640
+ };
37641
+ Returns: {
37642
+ announced_at: string;
37643
+ assigned_user_id: string | null;
37644
+ barcode: string | null;
37645
+ cancelled_at: string | null;
37646
+ cart_count: number;
37647
+ completed_at: string | null;
37648
+ country_code: string | null;
37649
+ created_at: string;
37650
+ customer_name: string | null;
37651
+ delivery_address: string | null;
37652
+ document_number: string | null;
37653
+ document_type_id: string | null;
37654
+ due_at: string | null;
37655
+ id: string;
37656
+ is_urgent: boolean;
37657
+ line_count: number;
37658
+ order_number: string | null;
37659
+ order_type: string | null;
37660
+ payload: Json;
37661
+ print_count: number;
37662
+ print_job_id: string | null;
37663
+ printed_at: string | null;
37664
+ printed_by: string | null;
37665
+ printed_cart_ids: Json;
37666
+ printer_id: string | null;
37667
+ priority: number;
37668
+ reference: string | null;
37669
+ route: string | null;
37670
+ screen_id: string | null;
37671
+ station_id: string | null;
37672
+ status_id: string | null;
37673
+ updated_at: string;
37674
+ warnings: Json;
37675
+ };
37676
+ SetofOptions: {
37677
+ from: "*";
37678
+ to: "pick_queue";
37679
+ isOneToOne: true;
37680
+ isSetofReturn: false;
37681
+ };
37682
+ };
37683
+ pick_complete_print_cart: {
37684
+ Args: {
37685
+ _cart_id: string;
37686
+ _printer_id: string;
37687
+ _queue_item_id: string;
37688
+ _session_id: string;
37689
+ };
37690
+ Returns: {
37691
+ announced_at: string;
37692
+ assigned_user_id: string | null;
37693
+ barcode: string | null;
37694
+ cancelled_at: string | null;
37695
+ cart_count: number;
37696
+ completed_at: string | null;
37697
+ country_code: string | null;
37698
+ created_at: string;
37699
+ customer_name: string | null;
37700
+ delivery_address: string | null;
37701
+ document_number: string | null;
37702
+ document_type_id: string | null;
37703
+ due_at: string | null;
37704
+ id: string;
37705
+ is_urgent: boolean;
37706
+ line_count: number;
37707
+ order_number: string | null;
37708
+ order_type: string | null;
37709
+ payload: Json;
37710
+ print_count: number;
37711
+ print_job_id: string | null;
37712
+ printed_at: string | null;
37713
+ printed_by: string | null;
37714
+ printed_cart_ids: Json;
37715
+ printer_id: string | null;
37716
+ priority: number;
37717
+ reference: string | null;
37718
+ route: string | null;
37719
+ screen_id: string | null;
37720
+ station_id: string | null;
37721
+ status_id: string | null;
37722
+ updated_at: string;
37723
+ warnings: Json;
37724
+ };
37725
+ SetofOptions: {
37726
+ from: "*";
37727
+ to: "pick_queue";
37728
+ isOneToOne: true;
37729
+ isSetofReturn: false;
37730
+ };
37731
+ } | {
37732
+ Args: {
37733
+ _cart_id: string;
37734
+ _printer_id: string;
37735
+ _queue_item_id: string;
37736
+ _session_id: string;
37737
+ p_device_key: string;
37738
+ };
37739
+ Returns: {
37740
+ announced_at: string;
37741
+ assigned_user_id: string | null;
37742
+ barcode: string | null;
37743
+ cancelled_at: string | null;
37744
+ cart_count: number;
37745
+ completed_at: string | null;
37746
+ country_code: string | null;
37747
+ created_at: string;
37748
+ customer_name: string | null;
37749
+ delivery_address: string | null;
37750
+ document_number: string | null;
37751
+ document_type_id: string | null;
37752
+ due_at: string | null;
37753
+ id: string;
37754
+ is_urgent: boolean;
37755
+ line_count: number;
37756
+ order_number: string | null;
37757
+ order_type: string | null;
37758
+ payload: Json;
37759
+ print_count: number;
37760
+ print_job_id: string | null;
37761
+ printed_at: string | null;
37762
+ printed_by: string | null;
37763
+ printed_cart_ids: Json;
37764
+ printer_id: string | null;
37765
+ priority: number;
37766
+ reference: string | null;
37767
+ route: string | null;
37768
+ screen_id: string | null;
37769
+ station_id: string | null;
37770
+ status_id: string | null;
37771
+ updated_at: string;
37772
+ warnings: Json;
37773
+ };
37774
+ SetofOptions: {
37775
+ from: "*";
37776
+ to: "pick_queue";
37777
+ isOneToOne: true;
37778
+ isSetofReturn: false;
37779
+ };
37780
+ };
37781
+ pick_complete_print_carts: {
37782
+ Args: {
37783
+ _cart_ids: string[];
37784
+ _queue_item_id: string;
37785
+ _session_id: string;
37786
+ };
37787
+ Returns: Json;
37788
+ } | {
37789
+ Args: {
37790
+ _cart_ids: string[];
37791
+ _queue_item_id: string;
37792
+ _session_id: string;
37793
+ p_device_key: string;
37794
+ };
37795
+ Returns: Json;
37796
+ };
37797
+ pick_create_pair_code: {
37798
+ Args: {
37799
+ p_station_id: string;
37800
+ };
37801
+ Returns: Json;
37802
+ };
37803
+ pick_current_pick_day: {
37804
+ Args: never;
37805
+ Returns: string;
37806
+ } | {
37807
+ Args: {
37808
+ p_device_key: string;
37809
+ };
37810
+ Returns: string;
37811
+ };
37812
+ pick_day_counts: {
37813
+ Args: {
37814
+ _pick_day?: string;
37815
+ _screen_id?: string;
37816
+ _station_id?: string;
37817
+ };
37818
+ Returns: Json;
37819
+ } | {
37820
+ Args: {
37821
+ _pick_day?: string;
37822
+ _screen_id?: string;
37823
+ _station_id?: string;
37824
+ p_device_key: string;
37825
+ };
37826
+ Returns: Json;
37827
+ };
37828
+ pick_device_check: {
37829
+ Args: {
37830
+ p_cart: string;
37831
+ p_device_key: string;
37832
+ p_item: string;
37833
+ p_order: string;
37834
+ p_slug: string;
37835
+ p_station: string;
37836
+ };
37837
+ Returns: undefined;
37838
+ };
37839
+ pick_device_gate: {
37840
+ Args: {
37841
+ p_device_key: string;
37842
+ };
37843
+ Returns: string;
37844
+ };
37845
+ pick_device_key_required: {
37846
+ Args: never;
37847
+ Returns: boolean;
37848
+ };
37849
+ pick_document_layout_data: {
37850
+ Args: {
37851
+ _layout_id: string;
37852
+ };
37853
+ Returns: Json;
37854
+ };
37855
+ pick_enqueue_print_job: {
37856
+ Args: {
37857
+ _is_herprint?: boolean;
37858
+ _printer_id?: string;
37859
+ _queue_item_id: string;
37860
+ _session_id?: string;
37861
+ };
37862
+ Returns: string;
37863
+ } | {
37864
+ Args: {
37865
+ _cart_id: string;
37866
+ _is_herprint: boolean;
37867
+ _printer_id: string;
37868
+ _queue_item_id: string;
37869
+ _session_id: string;
37870
+ };
37871
+ Returns: string;
37872
+ } | {
37873
+ Args: {
37874
+ _is_herprint?: boolean;
37875
+ _printer_id?: string;
37876
+ _queue_item_id: string;
37877
+ _session_id?: string;
37878
+ p_device_key: string;
37879
+ };
37880
+ Returns: string;
37881
+ } | {
37882
+ Args: {
37883
+ _cart_id: string;
37884
+ _is_herprint: boolean;
37885
+ _printer_id: string;
37886
+ _queue_item_id: string;
37887
+ _session_id: string;
37888
+ p_device_key: string;
37889
+ };
37890
+ Returns: string;
37891
+ };
37892
+ pick_enqueue_print_job_from_cart: {
37893
+ Args: {
37894
+ _cart_id: string;
37895
+ _is_herprint: boolean;
37896
+ _printer_id: string;
37897
+ _queue_item_id: string;
37898
+ _selected_cart: Json;
37899
+ _session_id: string;
37900
+ };
37901
+ Returns: string;
37902
+ };
37903
+ pick_ensure_settings: {
37904
+ Args: never;
37905
+ Returns: undefined;
37906
+ };
37907
+ pick_find_sent_elsewhere: {
37908
+ Args: {
37909
+ _cart_id: string;
37910
+ _queue_item_id: string;
37911
+ };
37912
+ Returns: Json;
37913
+ };
37914
+ pick_has_station_role: {
37915
+ Args: never;
37916
+ Returns: boolean;
37917
+ };
37918
+ pick_is_reference_admin: {
37919
+ Args: never;
37920
+ Returns: boolean;
37921
+ };
37922
+ pick_is_server: {
37923
+ Args: never;
37924
+ Returns: boolean;
37925
+ };
37926
+ pick_key_hash: {
37927
+ Args: {
37928
+ p_key: string;
37929
+ };
37930
+ Returns: string;
37931
+ };
37932
+ pick_mark_printed: {
37933
+ Args: {
37934
+ _queue_item_id: string;
37935
+ _reden?: string;
37936
+ _session_id: string;
37937
+ };
37938
+ Returns: {
37939
+ announced_at: string;
37940
+ assigned_user_id: string | null;
37941
+ barcode: string | null;
37942
+ cancelled_at: string | null;
37943
+ cart_count: number;
37944
+ completed_at: string | null;
37945
+ country_code: string | null;
37946
+ created_at: string;
37947
+ customer_name: string | null;
37948
+ delivery_address: string | null;
37949
+ document_number: string | null;
37950
+ document_type_id: string | null;
37951
+ due_at: string | null;
37952
+ id: string;
37953
+ is_urgent: boolean;
37954
+ line_count: number;
37955
+ order_number: string | null;
37956
+ order_type: string | null;
37957
+ payload: Json;
37958
+ print_count: number;
37959
+ print_job_id: string | null;
37960
+ printed_at: string | null;
37961
+ printed_by: string | null;
37962
+ printed_cart_ids: Json;
37963
+ printer_id: string | null;
37964
+ priority: number;
37965
+ reference: string | null;
37966
+ route: string | null;
37967
+ screen_id: string | null;
37968
+ station_id: string | null;
37969
+ status_id: string | null;
37970
+ updated_at: string;
37971
+ warnings: Json;
37972
+ };
37973
+ SetofOptions: {
37974
+ from: "*";
37975
+ to: "pick_queue";
37976
+ isOneToOne: true;
37977
+ isSetofReturn: false;
37978
+ };
37979
+ } | {
37980
+ Args: {
37981
+ _queue_item_id: string;
37982
+ _reden?: string;
37983
+ _session_id: string;
37984
+ p_device_key: string;
36982
37985
  };
36983
37986
  Returns: {
36984
37987
  announced_at: string;
@@ -37035,18 +38038,37 @@ export type Database = {
37035
38038
  _station_slug: string;
37036
38039
  };
37037
38040
  Returns: Json;
38041
+ } | {
38042
+ Args: {
38043
+ _queue_item_id: string;
38044
+ _station_slug: string;
38045
+ p_device_key: string;
38046
+ };
38047
+ Returns: Json;
37038
38048
  };
37039
38049
  pick_print_job_status: {
37040
38050
  Args: {
37041
38051
  _job_id: string;
37042
38052
  };
37043
38053
  Returns: Json;
38054
+ } | {
38055
+ Args: {
38056
+ _job_id: string;
38057
+ p_device_key: string;
38058
+ };
38059
+ Returns: Json;
37044
38060
  };
37045
38061
  pick_print_jobs_status: {
37046
38062
  Args: {
37047
38063
  _job_ids: string[];
37048
38064
  };
37049
38065
  Returns: Json[];
38066
+ } | {
38067
+ Args: {
38068
+ _job_ids: string[];
38069
+ p_device_key: string;
38070
+ };
38071
+ Returns: Json[];
37050
38072
  };
37051
38073
  pick_print_plekken: {
37052
38074
  Args: never;
@@ -37055,12 +38077,27 @@ export type Database = {
37055
38077
  naam: string;
37056
38078
  omschrijving: string;
37057
38079
  }[];
38080
+ } | {
38081
+ Args: {
38082
+ p_device_key: string;
38083
+ };
38084
+ Returns: {
38085
+ id: string;
38086
+ naam: string;
38087
+ omschrijving: string;
38088
+ }[];
37058
38089
  };
37059
38090
  pick_queue_cart_plan: {
37060
38091
  Args: {
37061
38092
  _queue_item_id: string;
37062
38093
  };
37063
38094
  Returns: Json;
38095
+ } | {
38096
+ Args: {
38097
+ _queue_item_id: string;
38098
+ p_device_key: string;
38099
+ };
38100
+ Returns: Json;
37064
38101
  };
37065
38102
  pick_queue_cart_plan_v152: {
37066
38103
  Args: {
@@ -37068,23 +38105,220 @@ export type Database = {
37068
38105
  };
37069
38106
  Returns: Json;
37070
38107
  };
38108
+ pick_read_by_code: {
38109
+ Args: {
38110
+ p_code: string;
38111
+ p_device_key: string;
38112
+ p_station_id: string;
38113
+ };
38114
+ Returns: {
38115
+ announced_at: string;
38116
+ assigned_user_id: string | null;
38117
+ barcode: string | null;
38118
+ cancelled_at: string | null;
38119
+ cart_count: number;
38120
+ completed_at: string | null;
38121
+ country_code: string | null;
38122
+ created_at: string;
38123
+ customer_name: string | null;
38124
+ delivery_address: string | null;
38125
+ document_number: string | null;
38126
+ document_type_id: string | null;
38127
+ due_at: string | null;
38128
+ id: string;
38129
+ is_urgent: boolean;
38130
+ line_count: number;
38131
+ order_number: string | null;
38132
+ order_type: string | null;
38133
+ payload: Json;
38134
+ print_count: number;
38135
+ print_job_id: string | null;
38136
+ printed_at: string | null;
38137
+ printed_by: string | null;
38138
+ printed_cart_ids: Json;
38139
+ printer_id: string | null;
38140
+ priority: number;
38141
+ reference: string | null;
38142
+ route: string | null;
38143
+ screen_id: string | null;
38144
+ station_id: string | null;
38145
+ status_id: string | null;
38146
+ updated_at: string;
38147
+ warnings: Json;
38148
+ }[];
38149
+ SetofOptions: {
38150
+ from: "*";
38151
+ to: "pick_queue";
38152
+ isOneToOne: false;
38153
+ isSetofReturn: true;
38154
+ };
38155
+ };
38156
+ pick_read_country_counts: {
38157
+ Args: {
38158
+ p_device_key: string;
38159
+ p_screen_id: string;
38160
+ p_station_id: string;
38161
+ };
38162
+ Returns: Json;
38163
+ };
38164
+ pick_read_locks: {
38165
+ Args: {
38166
+ p_device_key: string;
38167
+ p_station_id: string;
38168
+ };
38169
+ Returns: {
38170
+ expires_at: string;
38171
+ id: string;
38172
+ locked_at: string;
38173
+ locked_by: string | null;
38174
+ queue_item_id: string;
38175
+ screen_id: string | null;
38176
+ session_id: string | null;
38177
+ station_id: string | null;
38178
+ }[];
38179
+ SetofOptions: {
38180
+ from: "*";
38181
+ to: "pick_queue_locks";
38182
+ isOneToOne: false;
38183
+ isSetofReturn: true;
38184
+ };
38185
+ };
38186
+ pick_read_queue: {
38187
+ Args: {
38188
+ p_country: string;
38189
+ p_device_key: string;
38190
+ p_document_type_id: string;
38191
+ p_include_done: boolean;
38192
+ p_limit: number;
38193
+ p_offset: number;
38194
+ p_pick_day: string;
38195
+ p_screen_id: string;
38196
+ p_search: string;
38197
+ p_sort: Json;
38198
+ p_station_id: string;
38199
+ p_urgent_only: boolean;
38200
+ };
38201
+ Returns: Json;
38202
+ };
38203
+ pick_read_station: {
38204
+ Args: {
38205
+ p_device_key: string;
38206
+ p_slug: string;
38207
+ };
38208
+ Returns: {
38209
+ active: boolean;
38210
+ allow_multi_screen: boolean;
38211
+ color: string | null;
38212
+ created_at: string;
38213
+ default_printer_id: string | null;
38214
+ department: string | null;
38215
+ description: string | null;
38216
+ icon: string | null;
38217
+ id: string;
38218
+ location: string | null;
38219
+ lock_timeout_seconds: number;
38220
+ name: string;
38221
+ require_country_selection: boolean;
38222
+ slug: string | null;
38223
+ sort_order: number;
38224
+ sort_rules: Json;
38225
+ task_id: string | null;
38226
+ type_id: string | null;
38227
+ updated_at: string;
38228
+ }[];
38229
+ SetofOptions: {
38230
+ from: "*";
38231
+ to: "pick_stations";
38232
+ isOneToOne: false;
38233
+ isSetofReturn: true;
38234
+ };
38235
+ };
38236
+ pick_read_unscanned_earlier: {
38237
+ Args: {
38238
+ p_before_day: string;
38239
+ p_device_key: string;
38240
+ p_station_id: string;
38241
+ };
38242
+ Returns: {
38243
+ announced_at: string;
38244
+ assigned_user_id: string | null;
38245
+ barcode: string | null;
38246
+ cancelled_at: string | null;
38247
+ cart_count: number;
38248
+ completed_at: string | null;
38249
+ country_code: string | null;
38250
+ created_at: string;
38251
+ customer_name: string | null;
38252
+ delivery_address: string | null;
38253
+ document_number: string | null;
38254
+ document_type_id: string | null;
38255
+ due_at: string | null;
38256
+ id: string;
38257
+ is_urgent: boolean;
38258
+ line_count: number;
38259
+ order_number: string | null;
38260
+ order_type: string | null;
38261
+ payload: Json;
38262
+ print_count: number;
38263
+ print_job_id: string | null;
38264
+ printed_at: string | null;
38265
+ printed_by: string | null;
38266
+ printed_cart_ids: Json;
38267
+ printer_id: string | null;
38268
+ priority: number;
38269
+ reference: string | null;
38270
+ route: string | null;
38271
+ screen_id: string | null;
38272
+ station_id: string | null;
38273
+ status_id: string | null;
38274
+ updated_at: string;
38275
+ warnings: Json;
38276
+ }[];
38277
+ SetofOptions: {
38278
+ from: "*";
38279
+ to: "pick_queue";
38280
+ isOneToOne: false;
38281
+ isSetofReturn: true;
38282
+ };
38283
+ };
37071
38284
  pick_reference_data_status: {
37072
38285
  Args: never;
37073
38286
  Returns: Json;
38287
+ } | {
38288
+ Args: {
38289
+ p_device_key: string;
38290
+ };
38291
+ Returns: Json;
37074
38292
  };
37075
38293
  pick_release_expired_locks: {
37076
38294
  Args: never;
37077
38295
  Returns: number;
38296
+ } | {
38297
+ Args: {
38298
+ p_device_key: string;
38299
+ };
38300
+ Returns: number;
37078
38301
  };
37079
38302
  pick_release_lock: {
37080
38303
  Args: {
37081
38304
  _queue_item_id: string;
37082
38305
  };
37083
38306
  Returns: undefined;
38307
+ } | {
38308
+ Args: {
38309
+ _queue_item_id: string;
38310
+ p_device_key: string;
38311
+ };
38312
+ Returns: undefined;
37084
38313
  };
37085
38314
  pick_report_missing_cart_plan: {
37086
38315
  Args: never;
37087
38316
  Returns: Json;
38317
+ } | {
38318
+ Args: {
38319
+ p_device_key: string;
38320
+ };
38321
+ Returns: Json;
37088
38322
  };
37089
38323
  pick_reprint_cart: {
37090
38324
  Args: {
@@ -37094,6 +38328,15 @@ export type Database = {
37094
38328
  _throttle_seconds?: number;
37095
38329
  };
37096
38330
  Returns: string;
38331
+ } | {
38332
+ Args: {
38333
+ _cart_id: string;
38334
+ _queue_item_id: string;
38335
+ _session_id: string;
38336
+ _throttle_seconds?: number;
38337
+ p_device_key: string;
38338
+ };
38339
+ Returns: string;
37097
38340
  };
37098
38341
  pick_reprint_document: {
37099
38342
  Args: {
@@ -37102,6 +38345,14 @@ export type Database = {
37102
38345
  _throttle_seconds?: number;
37103
38346
  };
37104
38347
  Returns: string;
38348
+ } | {
38349
+ Args: {
38350
+ _queue_item_id: string;
38351
+ _session_id: string;
38352
+ _throttle_seconds?: number;
38353
+ p_device_key: string;
38354
+ };
38355
+ Returns: string;
37105
38356
  };
37106
38357
  pick_reset_print: {
37107
38358
  Args: {
@@ -37196,6 +38447,101 @@ export type Database = {
37196
38447
  isOneToOne: true;
37197
38448
  isSetofReturn: false;
37198
38449
  };
38450
+ } | {
38451
+ Args: {
38452
+ _queue_item_id: string;
38453
+ _session_id: string;
38454
+ p_device_key: string;
38455
+ };
38456
+ Returns: {
38457
+ announced_at: string;
38458
+ assigned_user_id: string | null;
38459
+ barcode: string | null;
38460
+ cancelled_at: string | null;
38461
+ cart_count: number;
38462
+ completed_at: string | null;
38463
+ country_code: string | null;
38464
+ created_at: string;
38465
+ customer_name: string | null;
38466
+ delivery_address: string | null;
38467
+ document_number: string | null;
38468
+ document_type_id: string | null;
38469
+ due_at: string | null;
38470
+ id: string;
38471
+ is_urgent: boolean;
38472
+ line_count: number;
38473
+ order_number: string | null;
38474
+ order_type: string | null;
38475
+ payload: Json;
38476
+ print_count: number;
38477
+ print_job_id: string | null;
38478
+ printed_at: string | null;
38479
+ printed_by: string | null;
38480
+ printed_cart_ids: Json;
38481
+ printer_id: string | null;
38482
+ priority: number;
38483
+ reference: string | null;
38484
+ route: string | null;
38485
+ screen_id: string | null;
38486
+ station_id: string | null;
38487
+ status_id: string | null;
38488
+ updated_at: string;
38489
+ warnings: Json;
38490
+ };
38491
+ SetofOptions: {
38492
+ from: "*";
38493
+ to: "pick_queue";
38494
+ isOneToOne: true;
38495
+ isSetofReturn: false;
38496
+ };
38497
+ } | {
38498
+ Args: {
38499
+ _cart_id: string;
38500
+ _queue_item_id: string;
38501
+ _session_id: string;
38502
+ p_device_key: string;
38503
+ };
38504
+ Returns: {
38505
+ announced_at: string;
38506
+ assigned_user_id: string | null;
38507
+ barcode: string | null;
38508
+ cancelled_at: string | null;
38509
+ cart_count: number;
38510
+ completed_at: string | null;
38511
+ country_code: string | null;
38512
+ created_at: string;
38513
+ customer_name: string | null;
38514
+ delivery_address: string | null;
38515
+ document_number: string | null;
38516
+ document_type_id: string | null;
38517
+ due_at: string | null;
38518
+ id: string;
38519
+ is_urgent: boolean;
38520
+ line_count: number;
38521
+ order_number: string | null;
38522
+ order_type: string | null;
38523
+ payload: Json;
38524
+ print_count: number;
38525
+ print_job_id: string | null;
38526
+ printed_at: string | null;
38527
+ printed_by: string | null;
38528
+ printed_cart_ids: Json;
38529
+ printer_id: string | null;
38530
+ priority: number;
38531
+ reference: string | null;
38532
+ route: string | null;
38533
+ screen_id: string | null;
38534
+ station_id: string | null;
38535
+ status_id: string | null;
38536
+ updated_at: string;
38537
+ warnings: Json;
38538
+ };
38539
+ SetofOptions: {
38540
+ from: "*";
38541
+ to: "pick_queue";
38542
+ isOneToOne: true;
38543
+ isSetofReturn: false;
38544
+ };
37199
38545
  };
37200
38546
  pick_reset_print_job: {
37201
38547
  Args: {
@@ -37245,6 +38591,55 @@ export type Database = {
37245
38591
  isOneToOne: true;
37246
38592
  isSetofReturn: false;
37247
38593
  };
38594
+ } | {
38595
+ Args: {
38596
+ _cart_id: string;
38597
+ _job_id: string;
38598
+ _queue_item_id: string;
38599
+ _session_id: string;
38600
+ p_device_key: string;
38601
+ };
38602
+ Returns: {
38603
+ announced_at: string;
38604
+ assigned_user_id: string | null;
38605
+ barcode: string | null;
38606
+ cancelled_at: string | null;
38607
+ cart_count: number;
38608
+ completed_at: string | null;
38609
+ country_code: string | null;
38610
+ created_at: string;
38611
+ customer_name: string | null;
38612
+ delivery_address: string | null;
38613
+ document_number: string | null;
38614
+ document_type_id: string | null;
38615
+ due_at: string | null;
38616
+ id: string;
38617
+ is_urgent: boolean;
38618
+ line_count: number;
38619
+ order_number: string | null;
38620
+ order_type: string | null;
38621
+ payload: Json;
38622
+ print_count: number;
38623
+ print_job_id: string | null;
38624
+ printed_at: string | null;
38625
+ printed_by: string | null;
38626
+ printed_cart_ids: Json;
38627
+ printer_id: string | null;
38628
+ priority: number;
38629
+ reference: string | null;
38630
+ route: string | null;
38631
+ screen_id: string | null;
38632
+ station_id: string | null;
38633
+ status_id: string | null;
38634
+ updated_at: string;
38635
+ warnings: Json;
38636
+ };
38637
+ SetofOptions: {
38638
+ from: "*";
38639
+ to: "pick_queue";
38640
+ isOneToOne: true;
38641
+ isSetofReturn: false;
38642
+ };
37248
38643
  };
37249
38644
  pick_reset_print_jobs: {
37250
38645
  Args: {
@@ -37294,6 +38689,62 @@ export type Database = {
37294
38689
  isOneToOne: true;
37295
38690
  isSetofReturn: false;
37296
38691
  };
38692
+ } | {
38693
+ Args: {
38694
+ _cart_ids: string[];
38695
+ _job_ids: string[];
38696
+ _queue_item_id: string;
38697
+ _session_id: string;
38698
+ p_device_key: string;
38699
+ };
38700
+ Returns: {
38701
+ announced_at: string;
38702
+ assigned_user_id: string | null;
38703
+ barcode: string | null;
38704
+ cancelled_at: string | null;
38705
+ cart_count: number;
38706
+ completed_at: string | null;
38707
+ country_code: string | null;
38708
+ created_at: string;
38709
+ customer_name: string | null;
38710
+ delivery_address: string | null;
38711
+ document_number: string | null;
38712
+ document_type_id: string | null;
38713
+ due_at: string | null;
38714
+ id: string;
38715
+ is_urgent: boolean;
38716
+ line_count: number;
38717
+ order_number: string | null;
38718
+ order_type: string | null;
38719
+ payload: Json;
38720
+ print_count: number;
38721
+ print_job_id: string | null;
38722
+ printed_at: string | null;
38723
+ printed_by: string | null;
38724
+ printed_cart_ids: Json;
38725
+ printer_id: string | null;
38726
+ priority: number;
38727
+ reference: string | null;
38728
+ route: string | null;
38729
+ screen_id: string | null;
38730
+ station_id: string | null;
38731
+ status_id: string | null;
38732
+ updated_at: string;
38733
+ warnings: Json;
38734
+ };
38735
+ SetofOptions: {
38736
+ from: "*";
38737
+ to: "pick_queue";
38738
+ isOneToOne: true;
38739
+ isSetofReturn: false;
38740
+ };
38741
+ };
38742
+ pick_resolve_scan_code: {
38743
+ Args: {
38744
+ p_code: string;
38745
+ p_device_key: string;
38746
+ };
38747
+ Returns: string;
37297
38748
  };
37298
38749
  pick_restore_to_queue: {
37299
38750
  Args: {
@@ -37341,6 +38792,65 @@ export type Database = {
37341
38792
  isOneToOne: true;
37342
38793
  isSetofReturn: false;
37343
38794
  };
38795
+ } | {
38796
+ Args: {
38797
+ _queue_item_id: string;
38798
+ _session_id: string;
38799
+ p_device_key: string;
38800
+ };
38801
+ Returns: {
38802
+ announced_at: string;
38803
+ assigned_user_id: string | null;
38804
+ barcode: string | null;
38805
+ cancelled_at: string | null;
38806
+ cart_count: number;
38807
+ completed_at: string | null;
38808
+ country_code: string | null;
38809
+ created_at: string;
38810
+ customer_name: string | null;
38811
+ delivery_address: string | null;
38812
+ document_number: string | null;
38813
+ document_type_id: string | null;
38814
+ due_at: string | null;
38815
+ id: string;
38816
+ is_urgent: boolean;
38817
+ line_count: number;
38818
+ order_number: string | null;
38819
+ order_type: string | null;
38820
+ payload: Json;
38821
+ print_count: number;
38822
+ print_job_id: string | null;
38823
+ printed_at: string | null;
38824
+ printed_by: string | null;
38825
+ printed_cart_ids: Json;
38826
+ printer_id: string | null;
38827
+ priority: number;
38828
+ reference: string | null;
38829
+ route: string | null;
38830
+ screen_id: string | null;
38831
+ station_id: string | null;
38832
+ status_id: string | null;
38833
+ updated_at: string;
38834
+ warnings: Json;
38835
+ };
38836
+ SetofOptions: {
38837
+ from: "*";
38838
+ to: "pick_queue";
38839
+ isOneToOne: true;
38840
+ isSetofReturn: false;
38841
+ };
38842
+ };
38843
+ pick_revoke_device: {
38844
+ Args: {
38845
+ p_device_id: string;
38846
+ };
38847
+ Returns: undefined;
38848
+ };
38849
+ pick_role_allowed: {
38850
+ Args: {
38851
+ p_level: string;
38852
+ };
38853
+ Returns: boolean;
37344
38854
  };
37345
38855
  pick_seed_reference_data: {
37346
38856
  Args: never;
@@ -37352,6 +38862,19 @@ export type Database = {
37352
38862
  _station_id: string;
37353
38863
  };
37354
38864
  Returns: string;
38865
+ } | {
38866
+ Args: {
38867
+ _print_plek_id: string;
38868
+ _station_id: string;
38869
+ p_device_key: string;
38870
+ };
38871
+ Returns: string;
38872
+ };
38873
+ pick_signal_station: {
38874
+ Args: {
38875
+ p_station: string;
38876
+ };
38877
+ Returns: undefined;
37355
38878
  };
37356
38879
  pick_station_dashboard: {
37357
38880
  Args: never;
@@ -37364,6 +38887,31 @@ export type Database = {
37364
38887
  station_name: string;
37365
38888
  waiting: number;
37366
38889
  }[];
38890
+ } | {
38891
+ Args: {
38892
+ p_device_key: string;
38893
+ };
38894
+ Returns: {
38895
+ active: number;
38896
+ active_sessions: number;
38897
+ avg_wait_seconds: number;
38898
+ done_today: number;
38899
+ station_id: string;
38900
+ station_name: string;
38901
+ waiting: number;
38902
+ }[];
38903
+ };
38904
+ pick_station_devices_list: {
38905
+ Args: {
38906
+ p_station_id: string;
38907
+ };
38908
+ Returns: {
38909
+ created_at: string;
38910
+ id: string;
38911
+ ingetrokken_op: string;
38912
+ laatst_gezien: string;
38913
+ naam: string;
38914
+ }[];
37367
38915
  };
37368
38916
  pick_station_print_plek: {
37369
38917
  Args: {
@@ -37374,6 +38922,16 @@ export type Database = {
37374
38922
  omschrijving: string;
37375
38923
  print_plek_id: string;
37376
38924
  }[];
38925
+ } | {
38926
+ Args: {
38927
+ _station_id: string;
38928
+ p_device_key: string;
38929
+ };
38930
+ Returns: {
38931
+ naam: string;
38932
+ omschrijving: string;
38933
+ print_plek_id: string;
38934
+ }[];
37377
38935
  };
37378
38936
  pick_station_print_plekken: {
37379
38937
  Args: never;
@@ -37383,6 +38941,16 @@ export type Database = {
37383
38941
  print_plek_id: string;
37384
38942
  station_id: string;
37385
38943
  }[];
38944
+ } | {
38945
+ Args: {
38946
+ p_device_key: string;
38947
+ };
38948
+ Returns: {
38949
+ naam: string;
38950
+ omschrijving: string;
38951
+ print_plek_id: string;
38952
+ station_id: string;
38953
+ }[];
37386
38954
  };
37387
38955
  pick_station_slugify: {
37388
38956
  Args: {
@@ -37402,20 +38970,49 @@ export type Database = {
37402
38970
  _day: string;
37403
38971
  };
37404
38972
  Returns: Json;
38973
+ } | {
38974
+ Args: {
38975
+ _day: string;
38976
+ p_device_key: string;
38977
+ };
38978
+ Returns: Json;
37405
38979
  };
37406
38980
  pick_sync_queue_throttled: {
37407
38981
  Args: {
37408
38982
  _min_seconds?: number;
37409
38983
  };
37410
38984
  Returns: Json;
38985
+ } | {
38986
+ Args: {
38987
+ _min_seconds?: number;
38988
+ p_device_key: string;
38989
+ };
38990
+ Returns: Json;
37411
38991
  };
37412
38992
  pick_verify_rows: {
37413
38993
  Args: {
37414
38994
  _rows: Json;
37415
38995
  };
37416
38996
  Returns: Json;
38997
+ } | {
38998
+ Args: {
38999
+ _rows: Json;
39000
+ p_device_key: string;
39001
+ };
39002
+ Returns: Json;
39003
+ };
39004
+ pickschermen_install_check: {
39005
+ Args: never;
39006
+ Returns: Json;
37417
39007
  };
37418
39008
  pickstation_auto_send_status: {
39009
+ Args: {
39010
+ p_device_key: string;
39011
+ p_order_id: string;
39012
+ p_slug: string;
39013
+ };
39014
+ Returns: Json;
39015
+ } | {
37419
39016
  Args: {
37420
39017
  p_order_id: string;
37421
39018
  p_slug: string;
@@ -37423,13 +39020,34 @@ export type Database = {
37423
39020
  Returns: Json;
37424
39021
  };
37425
39022
  pickstation_cart_sticker_state: {
39023
+ Args: {
39024
+ p_cart_id: string;
39025
+ p_device_key: string;
39026
+ p_slug: string;
39027
+ };
39028
+ Returns: Json;
39029
+ } | {
37426
39030
  Args: {
37427
39031
  p_cart_id: string;
37428
39032
  p_slug: string;
37429
39033
  };
37430
39034
  Returns: Json;
37431
39035
  };
39036
+ pickstation_device_status: {
39037
+ Args: {
39038
+ p_device_key: string;
39039
+ p_slug: string;
39040
+ };
39041
+ Returns: Json;
39042
+ };
37432
39043
  pickstation_document_for_order: {
39044
+ Args: {
39045
+ p_device_key: string;
39046
+ p_queue_item_id: string;
39047
+ p_slug: string;
39048
+ };
39049
+ Returns: Json;
39050
+ } | {
37433
39051
  Args: {
37434
39052
  p_queue_item_id: string;
37435
39053
  p_slug: string;
@@ -37439,33 +39057,184 @@ export type Database = {
37439
39057
  pickstation_get_orders_raw: {
37440
39058
  Args: never;
37441
39059
  Returns: Json;
39060
+ } | {
39061
+ Args: {
39062
+ p_device_key: string;
39063
+ };
39064
+ Returns: Json;
37442
39065
  };
37443
39066
  pickstation_get_planning_context: {
37444
39067
  Args: never;
37445
39068
  Returns: Json;
39069
+ } | {
39070
+ Args: {
39071
+ p_device_key: string;
39072
+ };
39073
+ Returns: Json;
37446
39074
  };
37447
39075
  pickstation_get_settings: {
37448
39076
  Args: never;
37449
39077
  Returns: Json;
39078
+ } | {
39079
+ Args: {
39080
+ p_device_key: string;
39081
+ };
39082
+ Returns: Json;
37450
39083
  };
37451
39084
  pickstation_log_print: {
37452
39085
  Args: {
37453
39086
  p_customer_name: string;
39087
+ p_device_key: string;
37454
39088
  p_documents: string[];
37455
39089
  p_ip_address: string;
37456
39090
  p_order_id: string;
37457
39091
  p_order_number: string;
37458
39092
  };
37459
39093
  Returns: undefined;
39094
+ } | {
39095
+ Args: {
39096
+ p_customer_name: string;
39097
+ p_documents: string[];
39098
+ p_ip_address: string;
39099
+ p_order_id: string;
39100
+ p_order_number: string;
39101
+ };
39102
+ Returns: undefined;
39103
+ };
39104
+ pickstation_logistics_barcode_lookup: {
39105
+ Args: {
39106
+ p_barcode: string;
39107
+ p_device_key: string;
39108
+ };
39109
+ Returns: Json;
39110
+ };
39111
+ pickstation_logistics_cart_plan_status: {
39112
+ Args: {
39113
+ p_device_key: string;
39114
+ p_ref: string;
39115
+ };
39116
+ Returns: Json;
39117
+ };
39118
+ pickstation_logistics_cart_slip_plan: {
39119
+ Args: {
39120
+ p_device_key: string;
39121
+ p_order_id: string;
39122
+ };
39123
+ Returns: Json;
39124
+ };
39125
+ pickstation_logistics_complete_task: {
39126
+ Args: {
39127
+ p_device_key: string;
39128
+ p_result?: Json;
39129
+ p_task_id: string;
39130
+ };
39131
+ Returns: {
39132
+ attempt_log: Json;
39133
+ attempts: number;
39134
+ buffer_ref: string | null;
39135
+ claimed_at: string | null;
39136
+ claimed_by: string | null;
39137
+ completed_at: string | null;
39138
+ created_at: string;
39139
+ depends_on: string[];
39140
+ due_at: string | null;
39141
+ error: string | null;
39142
+ id: string;
39143
+ last_error: string | null;
39144
+ next_attempt_at: string | null;
39145
+ order_ref: string;
39146
+ owner_module: string;
39147
+ payload: Json;
39148
+ plan_run_id: string | null;
39149
+ planned_end: string | null;
39150
+ planned_start: string | null;
39151
+ priority: number;
39152
+ result: Json | null;
39153
+ rule_config_id: string | null;
39154
+ rule_version: number | null;
39155
+ sequence: number;
39156
+ shadow: boolean;
39157
+ started_at: string | null;
39158
+ status: string;
39159
+ strategy_id: string | null;
39160
+ task_type: string;
39161
+ updated_at: string;
39162
+ user_id: string;
39163
+ };
39164
+ SetofOptions: {
39165
+ from: "*";
39166
+ to: "logistics_tasks";
39167
+ isOneToOne: true;
39168
+ isSetofReturn: false;
39169
+ };
39170
+ };
39171
+ pickstation_logistics_is_pick_workday: {
39172
+ Args: {
39173
+ p_date: string;
39174
+ p_device_key: string;
39175
+ };
39176
+ Returns: boolean;
39177
+ };
39178
+ pickstation_logistics_order_released: {
39179
+ Args: {
39180
+ p_device_key: string;
39181
+ p_order_ref: string;
39182
+ };
39183
+ Returns: boolean;
39184
+ };
39185
+ pickstation_logistics_pick_mode: {
39186
+ Args: {
39187
+ p_device_key: string;
39188
+ };
39189
+ Returns: Json;
39190
+ };
39191
+ pickstation_logistics_shipping_note_from_barcode: {
39192
+ Args: {
39193
+ p_allow_reprint?: boolean;
39194
+ p_barcode: string;
39195
+ p_device_key: string;
39196
+ p_station_id?: string;
39197
+ };
39198
+ Returns: Json;
39199
+ };
39200
+ pickstation_logistics_working_hours_status: {
39201
+ Args: {
39202
+ p_device_key: string;
39203
+ };
39204
+ Returns: Json;
37460
39205
  };
37461
39206
  pickstation_order_sticker_meldingen: {
39207
+ Args: {
39208
+ p_device_key: string;
39209
+ p_order_id: string;
39210
+ p_slug: string;
39211
+ };
39212
+ Returns: Json;
39213
+ } | {
37462
39214
  Args: {
37463
39215
  p_order_id: string;
37464
39216
  p_slug: string;
37465
39217
  };
37466
39218
  Returns: Json;
37467
39219
  };
39220
+ pickstation_pair_device: {
39221
+ Args: {
39222
+ p_code: string;
39223
+ p_device_name: string;
39224
+ p_slug: string;
39225
+ };
39226
+ Returns: Json;
39227
+ };
37468
39228
  pickstation_resolve_delivery_orders: {
39229
+ Args: {
39230
+ p_device_key: string;
39231
+ p_sales_order_ids: string[];
39232
+ };
39233
+ Returns: {
39234
+ delivery_order_id: string;
39235
+ sales_order_id: string;
39236
+ }[];
39237
+ } | {
37469
39238
  Args: {
37470
39239
  p_sales_order_ids: string[];
37471
39240
  };
@@ -37484,6 +39253,13 @@ export type Database = {
37484
39253
  Returns: undefined;
37485
39254
  };
37486
39255
  pickstation_sticker_past_controle: {
39256
+ Args: {
39257
+ p_cart_id: string;
39258
+ p_device_key: string;
39259
+ p_slug: string;
39260
+ };
39261
+ Returns: Json;
39262
+ } | {
37487
39263
  Args: {
37488
39264
  p_cart_id: string;
37489
39265
  p_slug: string;
@@ -37491,6 +39267,14 @@ export type Database = {
37491
39267
  Returns: Json;
37492
39268
  };
37493
39269
  pickstation_sticker_reprint: {
39270
+ Args: {
39271
+ p_cart_id: string;
39272
+ p_device_key: string;
39273
+ p_reden?: string;
39274
+ p_slug: string;
39275
+ };
39276
+ Returns: Json;
39277
+ } | {
37494
39278
  Args: {
37495
39279
  p_cart_id: string;
37496
39280
  p_reden?: string;
@@ -38097,6 +39881,13 @@ export type Database = {
38097
39881
  Args: never;
38098
39882
  Returns: undefined;
38099
39883
  };
39884
+ refresh_floricode_derived_code_list_batch: {
39885
+ Args: {
39886
+ p_limit?: number;
39887
+ p_list: string;
39888
+ };
39889
+ Returns: Json;
39890
+ };
38100
39891
  refresh_floricode_derived_code_lists: {
38101
39892
  Args: never;
38102
39893
  Returns: {
@@ -38229,6 +40020,10 @@ export type Database = {
38229
40020
  };
38230
40021
  Returns: string;
38231
40022
  };
40023
+ restart_floricode_derived_code_lists: {
40024
+ Args: never;
40025
+ Returns: undefined;
40026
+ };
38232
40027
  retry_offer_orders: {
38233
40028
  Args: never;
38234
40029
  Returns: number;
@@ -38335,7 +40130,46 @@ export type Database = {
38335
40130
  };
38336
40131
  Returns: Json;
38337
40132
  };
40133
+ scan_alleen_gekoppeld_zetten: {
40134
+ Args: {
40135
+ p_aan: boolean;
40136
+ };
40137
+ Returns: Json;
40138
+ };
40139
+ scan_apparaat_intrekken: {
40140
+ Args: {
40141
+ p_apparaat_id: string;
40142
+ };
40143
+ Returns: Json;
40144
+ };
40145
+ scan_apparaat_koppelen: {
40146
+ Args: {
40147
+ p_code: string;
40148
+ p_naam?: string;
40149
+ p_scanner_id: string;
40150
+ };
40151
+ Returns: Json;
40152
+ };
40153
+ scan_apparaat_status: {
40154
+ Args: {
40155
+ p_device_key?: string;
40156
+ p_scanner_id: string;
40157
+ };
40158
+ Returns: Json;
40159
+ };
40160
+ scan_apparaten_lijst: {
40161
+ Args: {
40162
+ p_scanner_id: string;
40163
+ };
40164
+ Returns: Json;
40165
+ };
38338
40166
  scan_cancel_kar: {
40167
+ Args: {
40168
+ p_device_key: string;
40169
+ p_kar_id: string;
40170
+ };
40171
+ Returns: Json;
40172
+ } | {
38339
40173
  Args: {
38340
40174
  p_kar_id: string;
38341
40175
  };
@@ -38349,8 +40183,24 @@ export type Database = {
38349
40183
  p_scanner_id?: string;
38350
40184
  };
38351
40185
  Returns: Json;
40186
+ } | {
40187
+ Args: {
40188
+ p_allow_reprint?: boolean;
40189
+ p_cart_id: string;
40190
+ p_device_key: string;
40191
+ p_print?: boolean;
40192
+ p_scanner_id?: string;
40193
+ };
40194
+ Returns: Json;
38352
40195
  };
38353
40196
  scan_controleer_pincode: {
40197
+ Args: {
40198
+ p_device_key: string;
40199
+ p_pin: string;
40200
+ p_scanner_id: string;
40201
+ };
40202
+ Returns: Json;
40203
+ } | {
38354
40204
  Args: {
38355
40205
  p_pin: string;
38356
40206
  p_scanner_id: string;
@@ -38370,20 +40220,51 @@ export type Database = {
38370
40220
  p_scanner_id?: string;
38371
40221
  };
38372
40222
  Returns: Json;
40223
+ } | {
40224
+ Args: {
40225
+ p_barcode: string;
40226
+ p_bevestig_niet_geprint?: boolean;
40227
+ p_device_key: string;
40228
+ p_scanner_id?: string;
40229
+ };
40230
+ Returns: Json;
38373
40231
  };
38374
40232
  scan_finish_kar: {
40233
+ Args: {
40234
+ p_device_key: string;
40235
+ p_kar_id: string;
40236
+ };
40237
+ Returns: Json;
40238
+ } | {
38375
40239
  Args: {
38376
40240
  p_kar_id: string;
38377
40241
  };
38378
40242
  Returns: Json;
38379
40243
  };
38380
40244
  scan_heeft_pincode: {
40245
+ Args: {
40246
+ p_device_key: string;
40247
+ p_scanner_id: string;
40248
+ };
40249
+ Returns: boolean;
40250
+ } | {
38381
40251
  Args: {
38382
40252
  p_scanner_id: string;
38383
40253
  };
38384
40254
  Returns: boolean;
38385
40255
  };
40256
+ scan_install_check: {
40257
+ Args: never;
40258
+ Returns: Json;
40259
+ };
38386
40260
  scan_kar_compleet: {
40261
+ Args: {
40262
+ p_allow_reprint?: boolean;
40263
+ p_device_key: string;
40264
+ p_sessie_id: string;
40265
+ };
40266
+ Returns: Json;
40267
+ } | {
38387
40268
  Args: {
38388
40269
  p_allow_reprint?: boolean;
38389
40270
  p_sessie_id: string;
@@ -38402,11 +40283,25 @@ export type Database = {
38402
40283
  result: string;
38403
40284
  }[];
38404
40285
  };
40286
+ scan_kar_markeren: {
40287
+ Args: {
40288
+ p_device_key: string;
40289
+ p_kar_id: string;
40290
+ p_veld: string;
40291
+ };
40292
+ Returns: Json;
40293
+ };
38405
40294
  scan_kar_regels: {
38406
40295
  Args: {
38407
40296
  p_cart_id: string;
38408
40297
  };
38409
40298
  Returns: Json;
40299
+ } | {
40300
+ Args: {
40301
+ p_cart_id: string;
40302
+ p_device_key: string;
40303
+ };
40304
+ Returns: Json;
38410
40305
  };
38411
40306
  scan_kar_voortgang: {
38412
40307
  Args: {
@@ -38415,6 +40310,20 @@ export type Database = {
38415
40310
  p_slug?: string;
38416
40311
  };
38417
40312
  Returns: Json;
40313
+ } | {
40314
+ Args: {
40315
+ p_cart_id: string;
40316
+ p_device_key: string;
40317
+ p_scanner_id?: string;
40318
+ p_slug?: string;
40319
+ };
40320
+ Returns: Json;
40321
+ };
40322
+ scan_koppelcode_maken: {
40323
+ Args: {
40324
+ p_scanner_id: string;
40325
+ };
40326
+ Returns: Json;
38418
40327
  };
38419
40328
  scan_log_code: {
38420
40329
  Args: {
@@ -38427,14 +40336,38 @@ export type Database = {
38427
40336
  p_scanner_key?: string;
38428
40337
  };
38429
40338
  Returns: string;
40339
+ } | {
40340
+ Args: {
40341
+ p_code: string;
40342
+ p_device_key: string;
40343
+ p_kar_id?: string;
40344
+ p_latency_ms?: number;
40345
+ p_medewerker?: string;
40346
+ p_message?: string;
40347
+ p_result: string;
40348
+ p_scanner_key?: string;
40349
+ };
40350
+ Returns: string;
38430
40351
  };
38431
40352
  scan_open_pakbonnen: {
38432
40353
  Args: {
38433
40354
  p_dagen?: number;
38434
40355
  };
38435
40356
  Returns: Json;
40357
+ } | {
40358
+ Args: {
40359
+ p_dagen?: number;
40360
+ p_device_key: string;
40361
+ };
40362
+ Returns: Json;
38436
40363
  };
38437
40364
  scan_order_klant: {
40365
+ Args: {
40366
+ p_device_key: string;
40367
+ p_order_id: string;
40368
+ };
40369
+ Returns: Json;
40370
+ } | {
38438
40371
  Args: {
38439
40372
  p_order_id: string;
38440
40373
  };
@@ -38445,6 +40378,12 @@ export type Database = {
38445
40378
  p_barcode: string;
38446
40379
  };
38447
40380
  Returns: Json;
40381
+ } | {
40382
+ Args: {
40383
+ p_barcode: string;
40384
+ p_device_key: string;
40385
+ };
40386
+ Returns: Json;
38448
40387
  };
38449
40388
  scan_pakbon_opnieuw: {
38450
40389
  Args: {
@@ -38452,17 +40391,60 @@ export type Database = {
38452
40391
  p_scanner_id?: string;
38453
40392
  };
38454
40393
  Returns: Json;
40394
+ } | {
40395
+ Args: {
40396
+ p_barcode: string;
40397
+ p_device_key: string;
40398
+ p_scanner_id?: string;
40399
+ };
40400
+ Returns: Json;
38455
40401
  };
38456
40402
  scan_pakbon_toevoegen: {
38457
40403
  Args: {
38458
40404
  p_barcode: string;
40405
+ p_device_key: string;
38459
40406
  p_medewerker?: string;
38460
40407
  p_regels?: Json;
38461
40408
  p_scanner_id: string;
38462
40409
  };
38463
40410
  Returns: Json;
40411
+ } | {
40412
+ Args: {
40413
+ p_barcode: string;
40414
+ p_medewerker?: string;
40415
+ p_regels?: Json;
40416
+ p_scanner_id: string;
40417
+ };
40418
+ Returns: Json;
40419
+ };
40420
+ scan_pakbonnen_open: {
40421
+ Args: {
40422
+ p_device_key: string;
40423
+ p_limiet?: number;
40424
+ };
40425
+ Returns: Json;
40426
+ };
40427
+ scan_pin_blokkade_opheffen: {
40428
+ Args: {
40429
+ p_scanner_id: string;
40430
+ };
40431
+ Returns: Json;
40432
+ };
40433
+ scan_print_job_status: {
40434
+ Args: {
40435
+ p_device_key: string;
40436
+ p_job_id: string;
40437
+ };
40438
+ Returns: Json;
38464
40439
  };
38465
40440
  scan_print_restpakbon: {
40441
+ Args: {
40442
+ p_device_key: string;
40443
+ p_printer_id?: string;
40444
+ p_restpakbon_id: string;
40445
+ };
40446
+ Returns: Json;
40447
+ } | {
38466
40448
  Args: {
38467
40449
  p_printer_id?: string;
38468
40450
  p_restpakbon_id: string;
@@ -38475,7 +40457,21 @@ export type Database = {
38475
40457
  };
38476
40458
  Returns: Json;
38477
40459
  };
40460
+ scan_printers: {
40461
+ Args: {
40462
+ p_device_key: string;
40463
+ };
40464
+ Returns: Json;
40465
+ };
38478
40466
  scan_register_item: {
40467
+ Args: {
40468
+ p_device_key: string;
40469
+ p_kar_id: string;
40470
+ p_pakbon_item_id: string;
40471
+ p_scanned_by?: string;
40472
+ };
40473
+ Returns: Json;
40474
+ } | {
38479
40475
  Args: {
38480
40476
  p_kar_id: string;
38481
40477
  p_pakbon_item_id: string;
@@ -38486,20 +40482,51 @@ export type Database = {
38486
40482
  scan_release_expired_locks: {
38487
40483
  Args: never;
38488
40484
  Returns: Json;
40485
+ } | {
40486
+ Args: {
40487
+ p_device_key: string;
40488
+ };
40489
+ Returns: Json;
38489
40490
  };
38490
40491
  scan_remove_item: {
40492
+ Args: {
40493
+ p_device_key: string;
40494
+ p_kar_item_id: string;
40495
+ };
40496
+ Returns: Json;
40497
+ } | {
38491
40498
  Args: {
38492
40499
  p_kar_item_id: string;
38493
40500
  };
38494
40501
  Returns: Json;
38495
40502
  };
40503
+ scan_resolve: {
40504
+ Args: {
40505
+ p_code: string;
40506
+ p_device_key: string;
40507
+ };
40508
+ Returns: Json;
40509
+ };
38496
40510
  scan_restpakbon_geprint: {
40511
+ Args: {
40512
+ p_device_key: string;
40513
+ p_id: string;
40514
+ p_print_job_id?: string;
40515
+ };
40516
+ Returns: undefined;
40517
+ } | {
38497
40518
  Args: {
38498
40519
  p_id: string;
38499
40520
  p_print_job_id?: string;
38500
40521
  };
38501
40522
  Returns: undefined;
38502
40523
  };
40524
+ scan_role_allowed: {
40525
+ Args: {
40526
+ p_level: string;
40527
+ };
40528
+ Returns: boolean;
40529
+ };
38503
40530
  scan_scanner_info: {
38504
40531
  Args: {
38505
40532
  p_slug: string;
@@ -38517,18 +40544,40 @@ export type Database = {
38517
40544
  }[];
38518
40545
  };
38519
40546
  scan_sessie_annuleren: {
40547
+ Args: {
40548
+ p_device_key: string;
40549
+ p_sessie_id: string;
40550
+ };
40551
+ Returns: undefined;
40552
+ } | {
38520
40553
  Args: {
38521
40554
  p_sessie_id: string;
38522
40555
  };
38523
40556
  Returns: undefined;
38524
40557
  };
38525
40558
  scan_sessie_open: {
40559
+ Args: {
40560
+ p_device_key: string;
40561
+ p_scanner_id: string;
40562
+ };
40563
+ Returns: Json;
40564
+ } | {
38526
40565
  Args: {
38527
40566
  p_scanner_id: string;
38528
40567
  };
38529
40568
  Returns: Json;
38530
40569
  };
38531
40570
  scan_start_kar: {
40571
+ Args: {
40572
+ p_device_key: string;
40573
+ p_medewerker_id?: string;
40574
+ p_medewerker_naam?: string;
40575
+ p_pakbon_ids: string[];
40576
+ p_scanner_key?: string;
40577
+ p_sessie?: string;
40578
+ };
40579
+ Returns: Json;
40580
+ } | {
38532
40581
  Args: {
38533
40582
  p_medewerker_id?: string;
38534
40583
  p_medewerker_naam?: string;
@@ -39828,6 +41877,12 @@ export type Database = {
39828
41877
  };
39829
41878
  Returns: undefined;
39830
41879
  };
41880
+ verkoop_correctie_verpakking: {
41881
+ Args: {
41882
+ p_uitvoeren?: boolean;
41883
+ };
41884
+ Returns: Json;
41885
+ };
39831
41886
  verkoop_create_order: {
39832
41887
  Args: {
39833
41888
  p_accept_late_signup?: boolean;