@flowselections/logistiek-engine 1.0.185 → 1.0.189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6092,6 +6092,36 @@ export type Database = {
6092
6092
  };
6093
6093
  Relationships: [];
6094
6094
  };
6095
+ floricode_derived_list_state: {
6096
+ Row: {
6097
+ changed: number;
6098
+ cursor_record_id: string | null;
6099
+ done_at: string | null;
6100
+ list_name: string;
6101
+ pass_started_at: string | null;
6102
+ processed: number;
6103
+ updated_at: string;
6104
+ };
6105
+ Insert: {
6106
+ changed?: number;
6107
+ cursor_record_id?: string | null;
6108
+ done_at?: string | null;
6109
+ list_name: string;
6110
+ pass_started_at?: string | null;
6111
+ processed?: number;
6112
+ updated_at?: string;
6113
+ };
6114
+ Update: {
6115
+ changed?: number;
6116
+ cursor_record_id?: string | null;
6117
+ done_at?: string | null;
6118
+ list_name?: string;
6119
+ pass_started_at?: string | null;
6120
+ processed?: number;
6121
+ updated_at?: string;
6122
+ };
6123
+ Relationships: [];
6124
+ };
6095
6125
  floricode_records: {
6096
6126
  Row: {
6097
6127
  change_date_time: string | null;
@@ -7216,6 +7246,24 @@ export type Database = {
7216
7246
  }
7217
7247
  ];
7218
7248
  };
7249
+ floriday_cron_secret: {
7250
+ Row: {
7251
+ created_at: string;
7252
+ id: number;
7253
+ secret: string;
7254
+ };
7255
+ Insert: {
7256
+ created_at?: string;
7257
+ id?: number;
7258
+ secret: string;
7259
+ };
7260
+ Update: {
7261
+ created_at?: string;
7262
+ id?: number;
7263
+ secret?: string;
7264
+ };
7265
+ Relationships: [];
7266
+ };
7219
7267
  floriday_customer_offers_cache: {
7220
7268
  Row: {
7221
7269
  connection_id: string;
@@ -11691,6 +11739,33 @@ export type Database = {
11691
11739
  };
11692
11740
  Relationships: [];
11693
11741
  };
11742
+ klanten_correctie_log: {
11743
+ Row: {
11744
+ aanroeper: string | null;
11745
+ created_at: string;
11746
+ functie: string;
11747
+ id: string;
11748
+ resultaat: Json;
11749
+ uitgevoerd: boolean;
11750
+ };
11751
+ Insert: {
11752
+ aanroeper?: string | null;
11753
+ created_at?: string;
11754
+ functie: string;
11755
+ id?: string;
11756
+ resultaat: Json;
11757
+ uitgevoerd: boolean;
11758
+ };
11759
+ Update: {
11760
+ aanroeper?: string | null;
11761
+ created_at?: string;
11762
+ functie?: string;
11763
+ id?: string;
11764
+ resultaat?: Json;
11765
+ uitgevoerd?: boolean;
11766
+ };
11767
+ Relationships: [];
11768
+ };
11694
11769
  layout_auto_acties: {
11695
11770
  Row: {
11696
11771
  actie: string;
@@ -17031,6 +17106,7 @@ export type Database = {
17031
17106
  status: string;
17032
17107
  subject: string;
17033
17108
  updated_at: string;
17109
+ valid_until: string | null;
17034
17110
  };
17035
17111
  Insert: {
17036
17112
  created_at?: string;
@@ -17045,6 +17121,7 @@ export type Database = {
17045
17121
  status?: string;
17046
17122
  subject: string;
17047
17123
  updated_at?: string;
17124
+ valid_until?: string | null;
17048
17125
  };
17049
17126
  Update: {
17050
17127
  created_at?: string;
@@ -17059,6 +17136,7 @@ export type Database = {
17059
17136
  status?: string;
17060
17137
  subject?: string;
17061
17138
  updated_at?: string;
17139
+ valid_until?: string | null;
17062
17140
  };
17063
17141
  Relationships: [];
17064
17142
  };
@@ -17115,6 +17193,9 @@ export type Database = {
17115
17193
  id: string;
17116
17194
  items: Json;
17117
17195
  notes: string | null;
17196
+ office_notification_at: string | null;
17197
+ office_notification_reason: string | null;
17198
+ office_notification_status: string | null;
17118
17199
  order_creation_attempts: number;
17119
17200
  order_creation_error: string | null;
17120
17201
  order_creation_failed_at: string | null;
@@ -17134,6 +17215,9 @@ export type Database = {
17134
17215
  id?: string;
17135
17216
  items?: Json;
17136
17217
  notes?: string | null;
17218
+ office_notification_at?: string | null;
17219
+ office_notification_reason?: string | null;
17220
+ office_notification_status?: string | null;
17137
17221
  order_creation_attempts?: number;
17138
17222
  order_creation_error?: string | null;
17139
17223
  order_creation_failed_at?: string | null;
@@ -17153,6 +17237,9 @@ export type Database = {
17153
17237
  id?: string;
17154
17238
  items?: Json;
17155
17239
  notes?: string | null;
17240
+ office_notification_at?: string | null;
17241
+ office_notification_reason?: string | null;
17242
+ office_notification_status?: string | null;
17156
17243
  order_creation_attempts?: number;
17157
17244
  order_creation_error?: string | null;
17158
17245
  order_creation_failed_at?: string | null;
@@ -18825,6 +18912,74 @@ export type Database = {
18825
18912
  }
18826
18913
  ];
18827
18914
  };
18915
+ pick_settings: {
18916
+ Row: {
18917
+ created_at: string;
18918
+ device_key_required: boolean;
18919
+ id: boolean;
18920
+ updated_at: string;
18921
+ };
18922
+ Insert: {
18923
+ created_at?: string;
18924
+ device_key_required?: boolean;
18925
+ id?: boolean;
18926
+ updated_at?: string;
18927
+ };
18928
+ Update: {
18929
+ created_at?: string;
18930
+ device_key_required?: boolean;
18931
+ id?: boolean;
18932
+ updated_at?: string;
18933
+ };
18934
+ Relationships: [];
18935
+ };
18936
+ pick_station_devices: {
18937
+ Row: {
18938
+ aangemaakt_door: string | null;
18939
+ created_at: string;
18940
+ id: string;
18941
+ ingetrokken_door: string | null;
18942
+ ingetrokken_op: string | null;
18943
+ key_hash: string;
18944
+ laatst_gezien: string | null;
18945
+ naam: string | null;
18946
+ station_id: string;
18947
+ updated_at: string;
18948
+ };
18949
+ Insert: {
18950
+ aangemaakt_door?: string | null;
18951
+ created_at?: string;
18952
+ id?: string;
18953
+ ingetrokken_door?: string | null;
18954
+ ingetrokken_op?: string | null;
18955
+ key_hash: string;
18956
+ laatst_gezien?: string | null;
18957
+ naam?: string | null;
18958
+ station_id: string;
18959
+ updated_at?: string;
18960
+ };
18961
+ Update: {
18962
+ aangemaakt_door?: string | null;
18963
+ created_at?: string;
18964
+ id?: string;
18965
+ ingetrokken_door?: string | null;
18966
+ ingetrokken_op?: string | null;
18967
+ key_hash?: string;
18968
+ laatst_gezien?: string | null;
18969
+ naam?: string | null;
18970
+ station_id?: string;
18971
+ updated_at?: string;
18972
+ };
18973
+ Relationships: [
18974
+ {
18975
+ foreignKeyName: "pick_station_devices_station_id_fkey";
18976
+ columns: ["station_id"];
18977
+ isOneToOne: false;
18978
+ referencedRelation: "pick_stations";
18979
+ referencedColumns: ["id"];
18980
+ }
18981
+ ];
18982
+ };
18828
18983
  pick_station_heartbeats: {
18829
18984
  Row: {
18830
18985
  browser: string | null;
@@ -18957,6 +19112,53 @@ export type Database = {
18957
19112
  };
18958
19113
  Relationships: [];
18959
19114
  };
19115
+ pick_station_pair_codes: {
19116
+ Row: {
19117
+ aangemaakt_door: string | null;
19118
+ code_hash: string;
19119
+ created_at: string;
19120
+ device_id: string | null;
19121
+ gebruikt_op: string | null;
19122
+ geldig_tot: string;
19123
+ id: string;
19124
+ pogingen: number;
19125
+ station_id: string;
19126
+ vervallen_op: string | null;
19127
+ };
19128
+ Insert: {
19129
+ aangemaakt_door?: string | null;
19130
+ code_hash: string;
19131
+ created_at?: string;
19132
+ device_id?: string | null;
19133
+ gebruikt_op?: string | null;
19134
+ geldig_tot: string;
19135
+ id?: string;
19136
+ pogingen?: number;
19137
+ station_id: string;
19138
+ vervallen_op?: string | null;
19139
+ };
19140
+ Update: {
19141
+ aangemaakt_door?: string | null;
19142
+ code_hash?: string;
19143
+ created_at?: string;
19144
+ device_id?: string | null;
19145
+ gebruikt_op?: string | null;
19146
+ geldig_tot?: string;
19147
+ id?: string;
19148
+ pogingen?: number;
19149
+ station_id?: string;
19150
+ vervallen_op?: string | null;
19151
+ };
19152
+ Relationships: [
19153
+ {
19154
+ foreignKeyName: "pick_station_pair_codes_station_id_fkey";
19155
+ columns: ["station_id"];
19156
+ isOneToOne: false;
19157
+ referencedRelation: "pick_stations";
19158
+ referencedColumns: ["id"];
19159
+ }
19160
+ ];
19161
+ };
18960
19162
  pick_station_permissions: {
18961
19163
  Row: {
18962
19164
  can_break_lock: boolean;
@@ -19128,6 +19330,29 @@ export type Database = {
19128
19330
  }
19129
19331
  ];
19130
19332
  };
19333
+ pick_station_signals: {
19334
+ Row: {
19335
+ signaal_op: string;
19336
+ station_id: string;
19337
+ };
19338
+ Insert: {
19339
+ signaal_op?: string;
19340
+ station_id: string;
19341
+ };
19342
+ Update: {
19343
+ signaal_op?: string;
19344
+ station_id?: string;
19345
+ };
19346
+ Relationships: [
19347
+ {
19348
+ foreignKeyName: "pick_station_signals_station_id_fkey";
19349
+ columns: ["station_id"];
19350
+ isOneToOne: true;
19351
+ referencedRelation: "pick_stations";
19352
+ referencedColumns: ["id"];
19353
+ }
19354
+ ];
19355
+ };
19131
19356
  pick_station_tasks: {
19132
19357
  Row: {
19133
19358
  active: boolean;
@@ -23079,6 +23304,107 @@ export type Database = {
23079
23304
  };
23080
23305
  Relationships: [];
23081
23306
  };
23307
+ scan_apparaat_koppelcodes: {
23308
+ Row: {
23309
+ aangemaakt_door: string | null;
23310
+ apparaat_id: string | null;
23311
+ code_hash: string;
23312
+ created_at: string;
23313
+ gebruikt_op: string | null;
23314
+ geldig_tot: string;
23315
+ id: string;
23316
+ pogingen: number;
23317
+ scanner_id: string;
23318
+ vervallen_op: string | null;
23319
+ };
23320
+ Insert: {
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
+ Update: {
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
+ Relationships: [
23345
+ {
23346
+ foreignKeyName: "scan_apparaat_koppelcodes_apparaat_id_fkey";
23347
+ columns: ["apparaat_id"];
23348
+ isOneToOne: false;
23349
+ referencedRelation: "scan_apparaten";
23350
+ referencedColumns: ["id"];
23351
+ },
23352
+ {
23353
+ foreignKeyName: "scan_apparaat_koppelcodes_scanner_id_fkey";
23354
+ columns: ["scanner_id"];
23355
+ isOneToOne: false;
23356
+ referencedRelation: "scan_scanners";
23357
+ referencedColumns: ["id"];
23358
+ }
23359
+ ];
23360
+ };
23361
+ scan_apparaten: {
23362
+ Row: {
23363
+ aangemaakt_door: string | null;
23364
+ created_at: string;
23365
+ id: string;
23366
+ ingetrokken_door: string | null;
23367
+ ingetrokken_op: string | null;
23368
+ laatst_gezien: string | null;
23369
+ naam: string | null;
23370
+ scanner_id: string;
23371
+ sleutel_hash: string;
23372
+ updated_at: string;
23373
+ };
23374
+ Insert: {
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
+ Update: {
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
+ Relationships: [
23399
+ {
23400
+ foreignKeyName: "scan_apparaten_scanner_id_fkey";
23401
+ columns: ["scanner_id"];
23402
+ isOneToOne: false;
23403
+ referencedRelation: "scan_scanners";
23404
+ referencedColumns: ["id"];
23405
+ }
23406
+ ];
23407
+ };
23082
23408
  scan_kar_items: {
23083
23409
  Row: {
23084
23410
  barcode: string;
@@ -23482,6 +23808,35 @@ export type Database = {
23482
23808
  };
23483
23809
  Relationships: [];
23484
23810
  };
23811
+ scan_pin_pogingen: {
23812
+ Row: {
23813
+ fout_pogingen: number;
23814
+ geblokkeerd_tot: string | null;
23815
+ scanner_id: string;
23816
+ updated_at: string;
23817
+ };
23818
+ Insert: {
23819
+ fout_pogingen?: number;
23820
+ geblokkeerd_tot?: string | null;
23821
+ scanner_id: string;
23822
+ updated_at?: string;
23823
+ };
23824
+ Update: {
23825
+ fout_pogingen?: number;
23826
+ geblokkeerd_tot?: string | null;
23827
+ scanner_id?: string;
23828
+ updated_at?: string;
23829
+ };
23830
+ Relationships: [
23831
+ {
23832
+ foreignKeyName: "scan_pin_pogingen_scanner_id_fkey";
23833
+ columns: ["scanner_id"];
23834
+ isOneToOne: true;
23835
+ referencedRelation: "scan_scanners";
23836
+ referencedColumns: ["id"];
23837
+ }
23838
+ ];
23839
+ };
23485
23840
  scan_restpakbonnen: {
23486
23841
  Row: {
23487
23842
  barcode: string;
@@ -26422,6 +26777,7 @@ export type Database = {
26422
26777
  };
26423
26778
  twinfield_token_issue_log: {
26424
26779
  Row: {
26780
+ acting_user_id: string | null;
26425
26781
  caller_kind: string;
26426
26782
  connection_id: string | null;
26427
26783
  id: string;
@@ -26432,6 +26788,7 @@ export type Database = {
26432
26788
  user_id: string | null;
26433
26789
  };
26434
26790
  Insert: {
26791
+ acting_user_id?: string | null;
26435
26792
  caller_kind: string;
26436
26793
  connection_id?: string | null;
26437
26794
  id?: string;
@@ -26442,6 +26799,7 @@ export type Database = {
26442
26799
  user_id?: string | null;
26443
26800
  };
26444
26801
  Update: {
26802
+ acting_user_id?: string | null;
26445
26803
  caller_kind?: string;
26446
26804
  connection_id?: string | null;
26447
26805
  id?: string;
@@ -27349,6 +27707,51 @@ export type Database = {
27349
27707
  }
27350
27708
  ];
27351
27709
  };
27710
+ verkoop_correctie_log: {
27711
+ Row: {
27712
+ aantal_orders: number;
27713
+ aantal_orders_gewijzigd: number;
27714
+ aantal_overgeslagen: number;
27715
+ aantal_regels_gewijzigd: number;
27716
+ correctie: string;
27717
+ created_at: string;
27718
+ details: Json;
27719
+ door_label: string;
27720
+ id: string;
27721
+ uitgevoerd_door: string | null;
27722
+ uitgevoerd_op: string;
27723
+ uitvoeren: boolean;
27724
+ };
27725
+ Insert: {
27726
+ aantal_orders?: number;
27727
+ aantal_orders_gewijzigd?: number;
27728
+ aantal_overgeslagen?: number;
27729
+ aantal_regels_gewijzigd?: number;
27730
+ correctie: string;
27731
+ created_at?: string;
27732
+ details?: Json;
27733
+ door_label: string;
27734
+ id?: string;
27735
+ uitgevoerd_door?: string | null;
27736
+ uitgevoerd_op?: string;
27737
+ uitvoeren: boolean;
27738
+ };
27739
+ Update: {
27740
+ aantal_orders?: number;
27741
+ aantal_orders_gewijzigd?: number;
27742
+ aantal_overgeslagen?: number;
27743
+ aantal_regels_gewijzigd?: number;
27744
+ correctie?: string;
27745
+ created_at?: string;
27746
+ details?: Json;
27747
+ door_label?: string;
27748
+ id?: string;
27749
+ uitgevoerd_door?: string | null;
27750
+ uitgevoerd_op?: string;
27751
+ uitvoeren?: boolean;
27752
+ };
27753
+ Relationships: [];
27754
+ };
27352
27755
  voorraad_buffer_state: {
27353
27756
  Row: {
27354
27757
  buffer_id: string;
@@ -30134,6 +30537,59 @@ export type Database = {
30134
30537
  };
30135
30538
  Returns: Json;
30136
30539
  };
30540
+ _scan_alleen_gekoppeld: {
30541
+ Args: never;
30542
+ Returns: boolean;
30543
+ };
30544
+ _scan_assert_beheer: {
30545
+ Args: never;
30546
+ Returns: undefined;
30547
+ };
30548
+ _scan_assert_device: {
30549
+ Args: {
30550
+ p_device_key: string;
30551
+ };
30552
+ Returns: string;
30553
+ };
30554
+ _scan_assert_legacy: {
30555
+ Args: never;
30556
+ Returns: undefined;
30557
+ };
30558
+ _scan_check_kar: {
30559
+ Args: {
30560
+ p_kar_id: string;
30561
+ v: string;
30562
+ };
30563
+ Returns: undefined;
30564
+ };
30565
+ _scan_check_scanner: {
30566
+ Args: {
30567
+ p: string;
30568
+ v: string;
30569
+ };
30570
+ Returns: string;
30571
+ };
30572
+ _scan_check_sessie: {
30573
+ Args: {
30574
+ p_sessie_id: string;
30575
+ v: string;
30576
+ };
30577
+ Returns: undefined;
30578
+ };
30579
+ _scan_hash: {
30580
+ Args: {
30581
+ p: string;
30582
+ };
30583
+ Returns: string;
30584
+ };
30585
+ _scan_is_beheer: {
30586
+ Args: never;
30587
+ Returns: boolean;
30588
+ };
30589
+ _scan_is_server: {
30590
+ Args: never;
30591
+ Returns: boolean;
30592
+ };
30137
30593
  _scan_kar_floriday_afgehandeld: {
30138
30594
  Args: {
30139
30595
  p_cart_id: string;
@@ -30153,6 +30609,10 @@ export type Database = {
30153
30609
  };
30154
30610
  Returns: Json;
30155
30611
  };
30612
+ _scan_vertrouwd: {
30613
+ Args: never;
30614
+ Returns: boolean;
30615
+ };
30156
30616
  _stock_import_caller: {
30157
30617
  Args: {
30158
30618
  p_owner: string;
@@ -30163,6 +30623,73 @@ export type Database = {
30163
30623
  Args: never;
30164
30624
  Returns: boolean;
30165
30625
  };
30626
+ aanbiedingsmail_assert_caller: {
30627
+ Args: {
30628
+ p_level: string;
30629
+ };
30630
+ Returns: undefined;
30631
+ };
30632
+ aanbiedingsmail_create_order: {
30633
+ Args: {
30634
+ p_offer_order_id: string;
30635
+ };
30636
+ Returns: Json;
30637
+ };
30638
+ aanbiedingsmail_ensure_cron: {
30639
+ Args: never;
30640
+ Returns: Json;
30641
+ };
30642
+ aanbiedingsmail_install_check: {
30643
+ Args: never;
30644
+ Returns: Json;
30645
+ };
30646
+ aanbiedingsmail_is_server: {
30647
+ Args: never;
30648
+ Returns: boolean;
30649
+ };
30650
+ aanbiedingsmail_koppel_producten: {
30651
+ Args: {
30652
+ p_uitvoeren?: boolean;
30653
+ };
30654
+ Returns: Json;
30655
+ };
30656
+ aanbiedingsmail_link_status: {
30657
+ Args: {
30658
+ p_code: string;
30659
+ };
30660
+ Returns: Json;
30661
+ };
30662
+ aanbiedingsmail_notify_office: {
30663
+ Args: {
30664
+ p_offer_order_id: string;
30665
+ };
30666
+ Returns: Json;
30667
+ };
30668
+ aanbiedingsmail_place_offer_order: {
30669
+ Args: {
30670
+ p_code: string;
30671
+ p_customer_email: string;
30672
+ p_customer_name: string;
30673
+ p_customer_phone: string;
30674
+ p_items: Json;
30675
+ p_notes: string;
30676
+ p_retry_payload: Json;
30677
+ p_total: number;
30678
+ };
30679
+ Returns: Json;
30680
+ };
30681
+ aanbiedingsmail_resolve_product_id: {
30682
+ Args: {
30683
+ p_ref: string;
30684
+ };
30685
+ Returns: string;
30686
+ };
30687
+ aanbiedingsmail_stock_key: {
30688
+ Args: {
30689
+ p_ref: string;
30690
+ };
30691
+ Returns: string;
30692
+ };
30166
30693
  afh_assert_ingelogd: {
30167
30694
  Args: never;
30168
30695
  Returns: undefined;
@@ -30407,6 +30934,26 @@ export type Database = {
30407
30934
  Args: never;
30408
30935
  Returns: Json;
30409
30936
  };
30937
+ ai_catalog: {
30938
+ Args: never;
30939
+ Returns: Json;
30940
+ };
30941
+ ai_declare_installatietechniek_werkbonnen_planner: {
30942
+ Args: never;
30943
+ Returns: Json;
30944
+ };
30945
+ ai_declare_klanten_stickers: {
30946
+ Args: never;
30947
+ Returns: Json;
30948
+ };
30949
+ ai_declare_mailbox_bestellingen: {
30950
+ Args: never;
30951
+ Returns: Json;
30952
+ };
30953
+ ai_declare_werkbon_postvak: {
30954
+ Args: never;
30955
+ Returns: Json;
30956
+ };
30410
30957
  ai_is_admin: {
30411
30958
  Args: {
30412
30959
  _uid: string;
@@ -30427,6 +30974,10 @@ export type Database = {
30427
30974
  };
30428
30975
  Returns: boolean;
30429
30976
  };
30977
+ ai_sync_catalog: {
30978
+ Args: never;
30979
+ Returns: Json;
30980
+ };
30430
30981
  ai_usage_by_module: {
30431
30982
  Args: {
30432
30983
  _from: string;
@@ -31356,6 +31907,16 @@ export type Database = {
31356
31907
  };
31357
31908
  Returns: string;
31358
31909
  };
31910
+ email_auth_enqueue_internal: {
31911
+ Args: {
31912
+ p_dedupe_key: string;
31913
+ p_from_name: string;
31914
+ p_html: string;
31915
+ p_source_module: string;
31916
+ p_subject: string;
31917
+ };
31918
+ Returns: Json;
31919
+ };
31359
31920
  email_auth_fetch_message: {
31360
31921
  Args: {
31361
31922
  _connection_id: string;
@@ -31379,6 +31940,14 @@ export type Database = {
31379
31940
  status: string;
31380
31941
  }[];
31381
31942
  };
31943
+ email_auth_install_check: {
31944
+ Args: never;
31945
+ Returns: Json;
31946
+ };
31947
+ email_auth_is_server_call: {
31948
+ Args: never;
31949
+ Returns: boolean;
31950
+ };
31382
31951
  email_auth_upsert_connection: {
31383
31952
  Args: {
31384
31953
  _account_email: string;
@@ -31533,6 +32102,26 @@ export type Database = {
31533
32102
  };
31534
32103
  Returns: Json;
31535
32104
  };
32105
+ floriday_assert_caller: {
32106
+ Args: {
32107
+ p_fn: string;
32108
+ p_level: string;
32109
+ };
32110
+ Returns: boolean;
32111
+ };
32112
+ floriday_authenticatie_install_check: {
32113
+ Args: never;
32114
+ Returns: {
32115
+ aanwezig: boolean;
32116
+ anon_uitvoer: boolean;
32117
+ authenticated_uitvoer: boolean;
32118
+ interne_controle: boolean;
32119
+ melding: string;
32120
+ naam: string;
32121
+ niveau: string;
32122
+ soort: string;
32123
+ }[];
32124
+ };
31536
32125
  floriday_autoheal_connections: {
31537
32126
  Args: never;
31538
32127
  Returns: Json;
@@ -31545,6 +32134,17 @@ export type Database = {
31545
32134
  schedule: string;
31546
32135
  }[];
31547
32136
  };
32137
+ floriday_beschermde_functies: {
32138
+ Args: never;
32139
+ Returns: {
32140
+ naam: string;
32141
+ niveau: string;
32142
+ }[];
32143
+ };
32144
+ floriday_caller_is_server: {
32145
+ Args: never;
32146
+ Returns: boolean;
32147
+ };
31548
32148
  floriday_capture_stock_snapshot: {
31549
32149
  Args: never;
31550
32150
  Returns: number;
@@ -31557,6 +32157,28 @@ export type Database = {
31557
32157
  Args: never;
31558
32158
  Returns: undefined;
31559
32159
  };
32160
+ floriday_cron_command: {
32161
+ Args: {
32162
+ p_only_with_connection: boolean;
32163
+ p_route: string;
32164
+ p_timeout_ms: number;
32165
+ };
32166
+ Returns: string;
32167
+ };
32168
+ floriday_cron_inventory: {
32169
+ Args: never;
32170
+ Returns: {
32171
+ default_schedule: string;
32172
+ jobname: string;
32173
+ only_with_connection: boolean;
32174
+ route: string;
32175
+ timeout_ms: number;
32176
+ }[];
32177
+ };
32178
+ floriday_cron_key: {
32179
+ Args: never;
32180
+ Returns: string;
32181
+ };
31560
32182
  floriday_customer_candidates: {
31561
32183
  Args: never;
31562
32184
  Returns: {
@@ -31618,6 +32240,10 @@ export type Database = {
31618
32240
  postcode: string;
31619
32241
  }[];
31620
32242
  };
32243
+ floriday_ensure_cron: {
32244
+ Args: never;
32245
+ Returns: Json;
32246
+ };
31621
32247
  floriday_erp_leading_preview: {
31622
32248
  Args: {
31623
32249
  p_connection_id: string;
@@ -32637,10 +33263,26 @@ export type Database = {
32637
33263
  Args: never;
32638
33264
  Returns: Json;
32639
33265
  };
33266
+ klanten_correctie_landcodes: {
33267
+ Args: {
33268
+ p_uitvoeren?: boolean;
33269
+ };
33270
+ Returns: Json;
33271
+ };
32640
33272
  klanten_install_check: {
32641
33273
  Args: never;
32642
33274
  Returns: Json;
32643
33275
  };
33276
+ klanten_is_server: {
33277
+ Args: never;
33278
+ Returns: boolean;
33279
+ };
33280
+ klanten_landnaam_kandidaten: {
33281
+ Args: {
33282
+ p_waarde: string;
33283
+ };
33284
+ Returns: string[];
33285
+ };
32644
33286
  klanten_promote_round: {
32645
33287
  Args: never;
32646
33288
  Returns: Json;
@@ -32656,6 +33298,12 @@ export type Database = {
32656
33298
  };
32657
33299
  Returns: Json;
32658
33300
  };
33301
+ klanten_toegang: {
33302
+ Args: {
33303
+ p_niveau: string;
33304
+ };
33305
+ Returns: undefined;
33306
+ };
32659
33307
  layout_print_document: {
32660
33308
  Args: {
32661
33309
  _documentnaam: string;
@@ -32823,6 +33471,10 @@ export type Database = {
32823
33471
  };
32824
33472
  Returns: boolean;
32825
33473
  };
33474
+ logistics_acc_entry: {
33475
+ Args: never;
33476
+ Returns: string;
33477
+ };
32826
33478
  logistics_acc_guard: {
32827
33479
  Args: {
32828
33480
  p_fn: string;
@@ -35086,6 +35738,15 @@ export type Database = {
35086
35738
  };
35087
35739
  Returns: string;
35088
35740
  };
35741
+ logistics_plan_fail_log: {
35742
+ Args: {
35743
+ p_actor: string;
35744
+ p_msg: string;
35745
+ p_order_id: string;
35746
+ p_state: string;
35747
+ };
35748
+ Returns: undefined;
35749
+ };
35089
35750
  logistics_plan_finish: {
35090
35751
  Args: {
35091
35752
  p_error?: string;
@@ -36591,10 +37252,25 @@ export type Database = {
36591
37252
  naam: string;
36592
37253
  online: boolean;
36593
37254
  }[];
37255
+ } | {
37256
+ Args: {
37257
+ p_device_key: string;
37258
+ };
37259
+ Returns: {
37260
+ id: string;
37261
+ locatie: string;
37262
+ naam: string;
37263
+ online: boolean;
37264
+ }[];
36594
37265
  };
36595
37266
  pick_apply_buffer_events: {
36596
37267
  Args: never;
36597
37268
  Returns: Json;
37269
+ } | {
37270
+ Args: {
37271
+ p_device_key: string;
37272
+ };
37273
+ Returns: Json;
36598
37274
  };
36599
37275
  pick_assert_printable: {
36600
37276
  Args: {
@@ -36602,6 +37278,12 @@ export type Database = {
36602
37278
  };
36603
37279
  Returns: undefined;
36604
37280
  };
37281
+ pick_assert_station: {
37282
+ Args: {
37283
+ p_device_key: string;
37284
+ };
37285
+ Returns: string;
37286
+ };
36605
37287
  pick_available_pick_days: {
36606
37288
  Args: {
36607
37289
  _max_days?: number;
@@ -36610,6 +37292,15 @@ export type Database = {
36610
37292
  orders: number;
36611
37293
  pick_day: string;
36612
37294
  }[];
37295
+ } | {
37296
+ Args: {
37297
+ _max_days?: number;
37298
+ p_device_key: string;
37299
+ };
37300
+ Returns: {
37301
+ orders: number;
37302
+ pick_day: string;
37303
+ }[];
36613
37304
  };
36614
37305
  pick_buffer_order_ids: {
36615
37306
  Args: {
@@ -36617,6 +37308,10 @@ export type Database = {
36617
37308
  };
36618
37309
  Returns: string[];
36619
37310
  };
37311
+ pick_build_key_variants: {
37312
+ Args: never;
37313
+ Returns: Json;
37314
+ };
36620
37315
  pick_cart_breakdown: {
36621
37316
  Args: {
36622
37317
  _order_id: string;
@@ -36672,15 +37367,14 @@ export type Database = {
36672
37367
  isOneToOne: true;
36673
37368
  isSetofReturn: false;
36674
37369
  };
36675
- };
36676
- pick_claim_next_document: {
37370
+ } | {
36677
37371
  Args: {
36678
- _country_code: string;
36679
- _pick_day?: string;
37372
+ _queue_item_id: string;
36680
37373
  _screen_id: string;
36681
37374
  _session_id: string;
36682
37375
  _station_id: string;
36683
37376
  _timeout_seconds?: number;
37377
+ p_device_key: string;
36684
37378
  };
36685
37379
  Returns: {
36686
37380
  announced_at: string;
@@ -36724,18 +37418,14 @@ export type Database = {
36724
37418
  isSetofReturn: false;
36725
37419
  };
36726
37420
  };
36727
- pick_cleanup_maintenance: {
36728
- Args: {
36729
- _heartbeat_hours?: number;
36730
- _log_days?: number;
36731
- };
36732
- Returns: Json;
36733
- };
36734
- pick_complete_print: {
37421
+ pick_claim_next_document: {
36735
37422
  Args: {
36736
- _printer_id: string;
36737
- _queue_item_id: string;
37423
+ _country_code: string;
37424
+ _pick_day?: string;
37425
+ _screen_id: string;
36738
37426
  _session_id: string;
37427
+ _station_id: string;
37428
+ _timeout_seconds?: number;
36739
37429
  };
36740
37430
  Returns: {
36741
37431
  announced_at: string;
@@ -36778,13 +37468,15 @@ export type Database = {
36778
37468
  isOneToOne: true;
36779
37469
  isSetofReturn: false;
36780
37470
  };
36781
- };
36782
- pick_complete_print_cart: {
37471
+ } | {
36783
37472
  Args: {
36784
- _cart_id: string;
36785
- _printer_id: string;
36786
- _queue_item_id: string;
37473
+ _country_code: string;
37474
+ _pick_day?: string;
37475
+ _screen_id: string;
36787
37476
  _session_id: string;
37477
+ _station_id: string;
37478
+ _timeout_seconds?: number;
37479
+ p_device_key: string;
36788
37480
  };
36789
37481
  Returns: {
36790
37482
  announced_at: string;
@@ -36828,77 +37520,411 @@ export type Database = {
36828
37520
  isSetofReturn: false;
36829
37521
  };
36830
37522
  };
36831
- pick_complete_print_carts: {
36832
- Args: {
36833
- _cart_ids: string[];
36834
- _queue_item_id: string;
36835
- _session_id: string;
36836
- };
36837
- Returns: Json;
36838
- };
36839
- pick_current_pick_day: {
36840
- Args: never;
36841
- Returns: string;
36842
- };
36843
- pick_day_counts: {
36844
- Args: {
36845
- _pick_day?: string;
36846
- _screen_id?: string;
36847
- _station_id?: string;
36848
- };
36849
- Returns: Json;
36850
- };
36851
- pick_document_layout_data: {
37523
+ pick_cleanup_maintenance: {
36852
37524
  Args: {
36853
- _layout_id: string;
37525
+ _heartbeat_hours?: number;
37526
+ _log_days?: number;
36854
37527
  };
36855
37528
  Returns: Json;
36856
37529
  };
36857
- pick_enqueue_print_job: {
36858
- Args: {
36859
- _is_herprint?: boolean;
36860
- _printer_id?: string;
36861
- _queue_item_id: string;
36862
- _session_id?: string;
36863
- };
36864
- Returns: string;
36865
- } | {
37530
+ pick_complete_print: {
36866
37531
  Args: {
36867
- _cart_id: string;
36868
- _is_herprint: boolean;
36869
37532
  _printer_id: string;
36870
37533
  _queue_item_id: string;
36871
37534
  _session_id: string;
36872
37535
  };
36873
- Returns: string;
36874
- };
36875
- pick_enqueue_print_job_from_cart: {
36876
- Args: {
36877
- _cart_id: string;
36878
- _is_herprint: boolean;
36879
- _printer_id: string;
36880
- _queue_item_id: string;
36881
- _selected_cart: Json;
36882
- _session_id: string;
37536
+ Returns: {
37537
+ announced_at: string;
37538
+ assigned_user_id: string | null;
37539
+ barcode: string | null;
37540
+ cancelled_at: string | null;
37541
+ cart_count: number;
37542
+ completed_at: string | null;
37543
+ country_code: string | null;
37544
+ created_at: string;
37545
+ customer_name: string | null;
37546
+ delivery_address: string | null;
37547
+ document_number: string | null;
37548
+ document_type_id: string | null;
37549
+ due_at: string | null;
37550
+ id: string;
37551
+ is_urgent: boolean;
37552
+ line_count: number;
37553
+ order_number: string | null;
37554
+ order_type: string | null;
37555
+ payload: Json;
37556
+ print_count: number;
37557
+ print_job_id: string | null;
37558
+ printed_at: string | null;
37559
+ printed_by: string | null;
37560
+ printed_cart_ids: Json;
37561
+ printer_id: string | null;
37562
+ priority: number;
37563
+ reference: string | null;
37564
+ route: string | null;
37565
+ screen_id: string | null;
37566
+ station_id: string | null;
37567
+ status_id: string | null;
37568
+ updated_at: string;
37569
+ warnings: Json;
36883
37570
  };
36884
- Returns: string;
36885
- };
36886
- pick_find_sent_elsewhere: {
36887
- Args: {
36888
- _cart_id: string;
36889
- _queue_item_id: string;
37571
+ SetofOptions: {
37572
+ from: "*";
37573
+ to: "pick_queue";
37574
+ isOneToOne: true;
37575
+ isSetofReturn: false;
36890
37576
  };
36891
- Returns: Json;
36892
- };
36893
- pick_is_reference_admin: {
36894
- Args: never;
36895
- Returns: boolean;
36896
- };
36897
- pick_mark_printed: {
37577
+ } | {
36898
37578
  Args: {
37579
+ _printer_id: string;
36899
37580
  _queue_item_id: string;
36900
- _reden?: string;
36901
37581
  _session_id: string;
37582
+ p_device_key: string;
37583
+ };
37584
+ Returns: {
37585
+ announced_at: string;
37586
+ assigned_user_id: string | null;
37587
+ barcode: string | null;
37588
+ cancelled_at: string | null;
37589
+ cart_count: number;
37590
+ completed_at: string | null;
37591
+ country_code: string | null;
37592
+ created_at: string;
37593
+ customer_name: string | null;
37594
+ delivery_address: string | null;
37595
+ document_number: string | null;
37596
+ document_type_id: string | null;
37597
+ due_at: string | null;
37598
+ id: string;
37599
+ is_urgent: boolean;
37600
+ line_count: number;
37601
+ order_number: string | null;
37602
+ order_type: string | null;
37603
+ payload: Json;
37604
+ print_count: number;
37605
+ print_job_id: string | null;
37606
+ printed_at: string | null;
37607
+ printed_by: string | null;
37608
+ printed_cart_ids: Json;
37609
+ printer_id: string | null;
37610
+ priority: number;
37611
+ reference: string | null;
37612
+ route: string | null;
37613
+ screen_id: string | null;
37614
+ station_id: string | null;
37615
+ status_id: string | null;
37616
+ updated_at: string;
37617
+ warnings: Json;
37618
+ };
37619
+ SetofOptions: {
37620
+ from: "*";
37621
+ to: "pick_queue";
37622
+ isOneToOne: true;
37623
+ isSetofReturn: false;
37624
+ };
37625
+ };
37626
+ pick_complete_print_cart: {
37627
+ Args: {
37628
+ _cart_id: string;
37629
+ _printer_id: string;
37630
+ _queue_item_id: string;
37631
+ _session_id: string;
37632
+ };
37633
+ Returns: {
37634
+ announced_at: string;
37635
+ assigned_user_id: string | null;
37636
+ barcode: string | null;
37637
+ cancelled_at: string | null;
37638
+ cart_count: number;
37639
+ completed_at: string | null;
37640
+ country_code: string | null;
37641
+ created_at: string;
37642
+ customer_name: string | null;
37643
+ delivery_address: string | null;
37644
+ document_number: string | null;
37645
+ document_type_id: string | null;
37646
+ due_at: string | null;
37647
+ id: string;
37648
+ is_urgent: boolean;
37649
+ line_count: number;
37650
+ order_number: string | null;
37651
+ order_type: string | null;
37652
+ payload: Json;
37653
+ print_count: number;
37654
+ print_job_id: string | null;
37655
+ printed_at: string | null;
37656
+ printed_by: string | null;
37657
+ printed_cart_ids: Json;
37658
+ printer_id: string | null;
37659
+ priority: number;
37660
+ reference: string | null;
37661
+ route: string | null;
37662
+ screen_id: string | null;
37663
+ station_id: string | null;
37664
+ status_id: string | null;
37665
+ updated_at: string;
37666
+ warnings: Json;
37667
+ };
37668
+ SetofOptions: {
37669
+ from: "*";
37670
+ to: "pick_queue";
37671
+ isOneToOne: true;
37672
+ isSetofReturn: false;
37673
+ };
37674
+ } | {
37675
+ Args: {
37676
+ _cart_id: string;
37677
+ _printer_id: string;
37678
+ _queue_item_id: string;
37679
+ _session_id: string;
37680
+ p_device_key: string;
37681
+ };
37682
+ Returns: {
37683
+ announced_at: string;
37684
+ assigned_user_id: string | null;
37685
+ barcode: string | null;
37686
+ cancelled_at: string | null;
37687
+ cart_count: number;
37688
+ completed_at: string | null;
37689
+ country_code: string | null;
37690
+ created_at: string;
37691
+ customer_name: string | null;
37692
+ delivery_address: string | null;
37693
+ document_number: string | null;
37694
+ document_type_id: string | null;
37695
+ due_at: string | null;
37696
+ id: string;
37697
+ is_urgent: boolean;
37698
+ line_count: number;
37699
+ order_number: string | null;
37700
+ order_type: string | null;
37701
+ payload: Json;
37702
+ print_count: number;
37703
+ print_job_id: string | null;
37704
+ printed_at: string | null;
37705
+ printed_by: string | null;
37706
+ printed_cart_ids: Json;
37707
+ printer_id: string | null;
37708
+ priority: number;
37709
+ reference: string | null;
37710
+ route: string | null;
37711
+ screen_id: string | null;
37712
+ station_id: string | null;
37713
+ status_id: string | null;
37714
+ updated_at: string;
37715
+ warnings: Json;
37716
+ };
37717
+ SetofOptions: {
37718
+ from: "*";
37719
+ to: "pick_queue";
37720
+ isOneToOne: true;
37721
+ isSetofReturn: false;
37722
+ };
37723
+ };
37724
+ pick_complete_print_carts: {
37725
+ Args: {
37726
+ _cart_ids: string[];
37727
+ _queue_item_id: string;
37728
+ _session_id: string;
37729
+ };
37730
+ Returns: Json;
37731
+ } | {
37732
+ Args: {
37733
+ _cart_ids: string[];
37734
+ _queue_item_id: string;
37735
+ _session_id: string;
37736
+ p_device_key: string;
37737
+ };
37738
+ Returns: Json;
37739
+ };
37740
+ pick_create_pair_code: {
37741
+ Args: {
37742
+ p_station_id: string;
37743
+ };
37744
+ Returns: Json;
37745
+ };
37746
+ pick_current_pick_day: {
37747
+ Args: never;
37748
+ Returns: string;
37749
+ } | {
37750
+ Args: {
37751
+ p_device_key: string;
37752
+ };
37753
+ Returns: string;
37754
+ };
37755
+ pick_day_counts: {
37756
+ Args: {
37757
+ _pick_day?: string;
37758
+ _screen_id?: string;
37759
+ _station_id?: string;
37760
+ };
37761
+ Returns: Json;
37762
+ } | {
37763
+ Args: {
37764
+ _pick_day?: string;
37765
+ _screen_id?: string;
37766
+ _station_id?: string;
37767
+ p_device_key: string;
37768
+ };
37769
+ Returns: Json;
37770
+ };
37771
+ pick_device_check: {
37772
+ Args: {
37773
+ p_cart: string;
37774
+ p_device_key: string;
37775
+ p_item: string;
37776
+ p_order: string;
37777
+ p_slug: string;
37778
+ p_station: string;
37779
+ };
37780
+ Returns: undefined;
37781
+ };
37782
+ pick_device_gate: {
37783
+ Args: {
37784
+ p_device_key: string;
37785
+ };
37786
+ Returns: string;
37787
+ };
37788
+ pick_device_key_required: {
37789
+ Args: never;
37790
+ Returns: boolean;
37791
+ };
37792
+ pick_document_layout_data: {
37793
+ Args: {
37794
+ _layout_id: string;
37795
+ };
37796
+ Returns: Json;
37797
+ };
37798
+ pick_enqueue_print_job: {
37799
+ Args: {
37800
+ _is_herprint?: boolean;
37801
+ _printer_id?: string;
37802
+ _queue_item_id: string;
37803
+ _session_id?: string;
37804
+ };
37805
+ Returns: string;
37806
+ } | {
37807
+ Args: {
37808
+ _cart_id: string;
37809
+ _is_herprint: boolean;
37810
+ _printer_id: string;
37811
+ _queue_item_id: string;
37812
+ _session_id: string;
37813
+ };
37814
+ Returns: string;
37815
+ } | {
37816
+ Args: {
37817
+ _is_herprint?: boolean;
37818
+ _printer_id?: string;
37819
+ _queue_item_id: string;
37820
+ _session_id?: string;
37821
+ p_device_key: string;
37822
+ };
37823
+ Returns: string;
37824
+ } | {
37825
+ Args: {
37826
+ _cart_id: string;
37827
+ _is_herprint: boolean;
37828
+ _printer_id: string;
37829
+ _queue_item_id: string;
37830
+ _session_id: string;
37831
+ p_device_key: string;
37832
+ };
37833
+ Returns: string;
37834
+ };
37835
+ pick_enqueue_print_job_from_cart: {
37836
+ Args: {
37837
+ _cart_id: string;
37838
+ _is_herprint: boolean;
37839
+ _printer_id: string;
37840
+ _queue_item_id: string;
37841
+ _selected_cart: Json;
37842
+ _session_id: string;
37843
+ };
37844
+ Returns: string;
37845
+ };
37846
+ pick_ensure_settings: {
37847
+ Args: never;
37848
+ Returns: undefined;
37849
+ };
37850
+ pick_find_sent_elsewhere: {
37851
+ Args: {
37852
+ _cart_id: string;
37853
+ _queue_item_id: string;
37854
+ };
37855
+ Returns: Json;
37856
+ };
37857
+ pick_has_station_role: {
37858
+ Args: never;
37859
+ Returns: boolean;
37860
+ };
37861
+ pick_is_reference_admin: {
37862
+ Args: never;
37863
+ Returns: boolean;
37864
+ };
37865
+ pick_is_server: {
37866
+ Args: never;
37867
+ Returns: boolean;
37868
+ };
37869
+ pick_key_hash: {
37870
+ Args: {
37871
+ p_key: string;
37872
+ };
37873
+ Returns: string;
37874
+ };
37875
+ pick_mark_printed: {
37876
+ Args: {
37877
+ _queue_item_id: string;
37878
+ _reden?: string;
37879
+ _session_id: string;
37880
+ };
37881
+ Returns: {
37882
+ announced_at: string;
37883
+ assigned_user_id: string | null;
37884
+ barcode: string | null;
37885
+ cancelled_at: string | null;
37886
+ cart_count: number;
37887
+ completed_at: string | null;
37888
+ country_code: string | null;
37889
+ created_at: string;
37890
+ customer_name: string | null;
37891
+ delivery_address: string | null;
37892
+ document_number: string | null;
37893
+ document_type_id: string | null;
37894
+ due_at: string | null;
37895
+ id: string;
37896
+ is_urgent: boolean;
37897
+ line_count: number;
37898
+ order_number: string | null;
37899
+ order_type: string | null;
37900
+ payload: Json;
37901
+ print_count: number;
37902
+ print_job_id: string | null;
37903
+ printed_at: string | null;
37904
+ printed_by: string | null;
37905
+ printed_cart_ids: Json;
37906
+ printer_id: string | null;
37907
+ priority: number;
37908
+ reference: string | null;
37909
+ route: string | null;
37910
+ screen_id: string | null;
37911
+ station_id: string | null;
37912
+ status_id: string | null;
37913
+ updated_at: string;
37914
+ warnings: Json;
37915
+ };
37916
+ SetofOptions: {
37917
+ from: "*";
37918
+ to: "pick_queue";
37919
+ isOneToOne: true;
37920
+ isSetofReturn: false;
37921
+ };
37922
+ } | {
37923
+ Args: {
37924
+ _queue_item_id: string;
37925
+ _reden?: string;
37926
+ _session_id: string;
37927
+ p_device_key: string;
36902
37928
  };
36903
37929
  Returns: {
36904
37930
  announced_at: string;
@@ -36955,18 +37981,37 @@ export type Database = {
36955
37981
  _station_slug: string;
36956
37982
  };
36957
37983
  Returns: Json;
37984
+ } | {
37985
+ Args: {
37986
+ _queue_item_id: string;
37987
+ _station_slug: string;
37988
+ p_device_key: string;
37989
+ };
37990
+ Returns: Json;
36958
37991
  };
36959
37992
  pick_print_job_status: {
36960
37993
  Args: {
36961
37994
  _job_id: string;
36962
37995
  };
36963
37996
  Returns: Json;
37997
+ } | {
37998
+ Args: {
37999
+ _job_id: string;
38000
+ p_device_key: string;
38001
+ };
38002
+ Returns: Json;
36964
38003
  };
36965
38004
  pick_print_jobs_status: {
36966
38005
  Args: {
36967
38006
  _job_ids: string[];
36968
38007
  };
36969
38008
  Returns: Json[];
38009
+ } | {
38010
+ Args: {
38011
+ _job_ids: string[];
38012
+ p_device_key: string;
38013
+ };
38014
+ Returns: Json[];
36970
38015
  };
36971
38016
  pick_print_plekken: {
36972
38017
  Args: never;
@@ -36975,12 +38020,27 @@ export type Database = {
36975
38020
  naam: string;
36976
38021
  omschrijving: string;
36977
38022
  }[];
38023
+ } | {
38024
+ Args: {
38025
+ p_device_key: string;
38026
+ };
38027
+ Returns: {
38028
+ id: string;
38029
+ naam: string;
38030
+ omschrijving: string;
38031
+ }[];
36978
38032
  };
36979
38033
  pick_queue_cart_plan: {
36980
38034
  Args: {
36981
38035
  _queue_item_id: string;
36982
38036
  };
36983
38037
  Returns: Json;
38038
+ } | {
38039
+ Args: {
38040
+ _queue_item_id: string;
38041
+ p_device_key: string;
38042
+ };
38043
+ Returns: Json;
36984
38044
  };
36985
38045
  pick_queue_cart_plan_v152: {
36986
38046
  Args: {
@@ -36988,23 +38048,220 @@ export type Database = {
36988
38048
  };
36989
38049
  Returns: Json;
36990
38050
  };
38051
+ pick_read_by_code: {
38052
+ Args: {
38053
+ p_code: string;
38054
+ p_device_key: string;
38055
+ p_station_id: string;
38056
+ };
38057
+ Returns: {
38058
+ announced_at: string;
38059
+ assigned_user_id: string | null;
38060
+ barcode: string | null;
38061
+ cancelled_at: string | null;
38062
+ cart_count: number;
38063
+ completed_at: string | null;
38064
+ country_code: string | null;
38065
+ created_at: string;
38066
+ customer_name: string | null;
38067
+ delivery_address: string | null;
38068
+ document_number: string | null;
38069
+ document_type_id: string | null;
38070
+ due_at: string | null;
38071
+ id: string;
38072
+ is_urgent: boolean;
38073
+ line_count: number;
38074
+ order_number: string | null;
38075
+ order_type: string | null;
38076
+ payload: Json;
38077
+ print_count: number;
38078
+ print_job_id: string | null;
38079
+ printed_at: string | null;
38080
+ printed_by: string | null;
38081
+ printed_cart_ids: Json;
38082
+ printer_id: string | null;
38083
+ priority: number;
38084
+ reference: string | null;
38085
+ route: string | null;
38086
+ screen_id: string | null;
38087
+ station_id: string | null;
38088
+ status_id: string | null;
38089
+ updated_at: string;
38090
+ warnings: Json;
38091
+ }[];
38092
+ SetofOptions: {
38093
+ from: "*";
38094
+ to: "pick_queue";
38095
+ isOneToOne: false;
38096
+ isSetofReturn: true;
38097
+ };
38098
+ };
38099
+ pick_read_country_counts: {
38100
+ Args: {
38101
+ p_device_key: string;
38102
+ p_screen_id: string;
38103
+ p_station_id: string;
38104
+ };
38105
+ Returns: Json;
38106
+ };
38107
+ pick_read_locks: {
38108
+ Args: {
38109
+ p_device_key: string;
38110
+ p_station_id: string;
38111
+ };
38112
+ Returns: {
38113
+ expires_at: string;
38114
+ id: string;
38115
+ locked_at: string;
38116
+ locked_by: string | null;
38117
+ queue_item_id: string;
38118
+ screen_id: string | null;
38119
+ session_id: string | null;
38120
+ station_id: string | null;
38121
+ }[];
38122
+ SetofOptions: {
38123
+ from: "*";
38124
+ to: "pick_queue_locks";
38125
+ isOneToOne: false;
38126
+ isSetofReturn: true;
38127
+ };
38128
+ };
38129
+ pick_read_queue: {
38130
+ Args: {
38131
+ p_country: string;
38132
+ p_device_key: string;
38133
+ p_document_type_id: string;
38134
+ p_include_done: boolean;
38135
+ p_limit: number;
38136
+ p_offset: number;
38137
+ p_pick_day: string;
38138
+ p_screen_id: string;
38139
+ p_search: string;
38140
+ p_sort: Json;
38141
+ p_station_id: string;
38142
+ p_urgent_only: boolean;
38143
+ };
38144
+ Returns: Json;
38145
+ };
38146
+ pick_read_station: {
38147
+ Args: {
38148
+ p_device_key: string;
38149
+ p_slug: string;
38150
+ };
38151
+ Returns: {
38152
+ active: boolean;
38153
+ allow_multi_screen: boolean;
38154
+ color: string | null;
38155
+ created_at: string;
38156
+ default_printer_id: string | null;
38157
+ department: string | null;
38158
+ description: string | null;
38159
+ icon: string | null;
38160
+ id: string;
38161
+ location: string | null;
38162
+ lock_timeout_seconds: number;
38163
+ name: string;
38164
+ require_country_selection: boolean;
38165
+ slug: string | null;
38166
+ sort_order: number;
38167
+ sort_rules: Json;
38168
+ task_id: string | null;
38169
+ type_id: string | null;
38170
+ updated_at: string;
38171
+ }[];
38172
+ SetofOptions: {
38173
+ from: "*";
38174
+ to: "pick_stations";
38175
+ isOneToOne: false;
38176
+ isSetofReturn: true;
38177
+ };
38178
+ };
38179
+ pick_read_unscanned_earlier: {
38180
+ Args: {
38181
+ p_before_day: string;
38182
+ p_device_key: string;
38183
+ p_station_id: string;
38184
+ };
38185
+ Returns: {
38186
+ announced_at: string;
38187
+ assigned_user_id: string | null;
38188
+ barcode: string | null;
38189
+ cancelled_at: string | null;
38190
+ cart_count: number;
38191
+ completed_at: string | null;
38192
+ country_code: string | null;
38193
+ created_at: string;
38194
+ customer_name: string | null;
38195
+ delivery_address: string | null;
38196
+ document_number: string | null;
38197
+ document_type_id: string | null;
38198
+ due_at: string | null;
38199
+ id: string;
38200
+ is_urgent: boolean;
38201
+ line_count: number;
38202
+ order_number: string | null;
38203
+ order_type: string | null;
38204
+ payload: Json;
38205
+ print_count: number;
38206
+ print_job_id: string | null;
38207
+ printed_at: string | null;
38208
+ printed_by: string | null;
38209
+ printed_cart_ids: Json;
38210
+ printer_id: string | null;
38211
+ priority: number;
38212
+ reference: string | null;
38213
+ route: string | null;
38214
+ screen_id: string | null;
38215
+ station_id: string | null;
38216
+ status_id: string | null;
38217
+ updated_at: string;
38218
+ warnings: Json;
38219
+ }[];
38220
+ SetofOptions: {
38221
+ from: "*";
38222
+ to: "pick_queue";
38223
+ isOneToOne: false;
38224
+ isSetofReturn: true;
38225
+ };
38226
+ };
36991
38227
  pick_reference_data_status: {
36992
38228
  Args: never;
36993
38229
  Returns: Json;
38230
+ } | {
38231
+ Args: {
38232
+ p_device_key: string;
38233
+ };
38234
+ Returns: Json;
36994
38235
  };
36995
38236
  pick_release_expired_locks: {
36996
38237
  Args: never;
36997
38238
  Returns: number;
38239
+ } | {
38240
+ Args: {
38241
+ p_device_key: string;
38242
+ };
38243
+ Returns: number;
36998
38244
  };
36999
38245
  pick_release_lock: {
37000
38246
  Args: {
37001
38247
  _queue_item_id: string;
37002
38248
  };
37003
38249
  Returns: undefined;
38250
+ } | {
38251
+ Args: {
38252
+ _queue_item_id: string;
38253
+ p_device_key: string;
38254
+ };
38255
+ Returns: undefined;
37004
38256
  };
37005
38257
  pick_report_missing_cart_plan: {
37006
38258
  Args: never;
37007
38259
  Returns: Json;
38260
+ } | {
38261
+ Args: {
38262
+ p_device_key: string;
38263
+ };
38264
+ Returns: Json;
37008
38265
  };
37009
38266
  pick_reprint_cart: {
37010
38267
  Args: {
@@ -37014,6 +38271,15 @@ export type Database = {
37014
38271
  _throttle_seconds?: number;
37015
38272
  };
37016
38273
  Returns: string;
38274
+ } | {
38275
+ Args: {
38276
+ _cart_id: string;
38277
+ _queue_item_id: string;
38278
+ _session_id: string;
38279
+ _throttle_seconds?: number;
38280
+ p_device_key: string;
38281
+ };
38282
+ Returns: string;
37017
38283
  };
37018
38284
  pick_reprint_document: {
37019
38285
  Args: {
@@ -37022,6 +38288,14 @@ export type Database = {
37022
38288
  _throttle_seconds?: number;
37023
38289
  };
37024
38290
  Returns: string;
38291
+ } | {
38292
+ Args: {
38293
+ _queue_item_id: string;
38294
+ _session_id: string;
38295
+ _throttle_seconds?: number;
38296
+ p_device_key: string;
38297
+ };
38298
+ Returns: string;
37025
38299
  };
37026
38300
  pick_reset_print: {
37027
38301
  Args: {
@@ -37116,6 +38390,101 @@ export type Database = {
37116
38390
  isOneToOne: true;
37117
38391
  isSetofReturn: false;
37118
38392
  };
38393
+ } | {
38394
+ Args: {
38395
+ _queue_item_id: string;
38396
+ _session_id: string;
38397
+ p_device_key: string;
38398
+ };
38399
+ Returns: {
38400
+ announced_at: string;
38401
+ assigned_user_id: string | null;
38402
+ barcode: string | null;
38403
+ cancelled_at: string | null;
38404
+ cart_count: number;
38405
+ completed_at: string | null;
38406
+ country_code: string | null;
38407
+ created_at: string;
38408
+ customer_name: string | null;
38409
+ delivery_address: string | null;
38410
+ document_number: string | null;
38411
+ document_type_id: string | null;
38412
+ due_at: string | null;
38413
+ id: string;
38414
+ is_urgent: boolean;
38415
+ line_count: number;
38416
+ order_number: string | null;
38417
+ order_type: string | null;
38418
+ payload: Json;
38419
+ print_count: number;
38420
+ print_job_id: string | null;
38421
+ printed_at: string | null;
38422
+ printed_by: string | null;
38423
+ printed_cart_ids: Json;
38424
+ printer_id: string | null;
38425
+ priority: number;
38426
+ reference: string | null;
38427
+ route: string | null;
38428
+ screen_id: string | null;
38429
+ station_id: string | null;
38430
+ status_id: string | null;
38431
+ updated_at: string;
38432
+ warnings: Json;
38433
+ };
38434
+ SetofOptions: {
38435
+ from: "*";
38436
+ to: "pick_queue";
38437
+ isOneToOne: true;
38438
+ isSetofReturn: false;
38439
+ };
38440
+ } | {
38441
+ Args: {
38442
+ _cart_id?: string;
38443
+ _queue_item_id: string;
38444
+ _session_id: string;
38445
+ p_device_key: string;
38446
+ };
38447
+ Returns: {
38448
+ announced_at: string;
38449
+ assigned_user_id: string | null;
38450
+ barcode: string | null;
38451
+ cancelled_at: string | null;
38452
+ cart_count: number;
38453
+ completed_at: string | null;
38454
+ country_code: string | null;
38455
+ created_at: string;
38456
+ customer_name: string | null;
38457
+ delivery_address: string | null;
38458
+ document_number: string | null;
38459
+ document_type_id: string | null;
38460
+ due_at: string | null;
38461
+ id: string;
38462
+ is_urgent: boolean;
38463
+ line_count: number;
38464
+ order_number: string | null;
38465
+ order_type: string | null;
38466
+ payload: Json;
38467
+ print_count: number;
38468
+ print_job_id: string | null;
38469
+ printed_at: string | null;
38470
+ printed_by: string | null;
38471
+ printed_cart_ids: Json;
38472
+ printer_id: string | null;
38473
+ priority: number;
38474
+ reference: string | null;
38475
+ route: string | null;
38476
+ screen_id: string | null;
38477
+ station_id: string | null;
38478
+ status_id: string | null;
38479
+ updated_at: string;
38480
+ warnings: Json;
38481
+ };
38482
+ SetofOptions: {
38483
+ from: "*";
38484
+ to: "pick_queue";
38485
+ isOneToOne: true;
38486
+ isSetofReturn: false;
38487
+ };
37119
38488
  };
37120
38489
  pick_reset_print_job: {
37121
38490
  Args: {
@@ -37165,6 +38534,55 @@ export type Database = {
37165
38534
  isOneToOne: true;
37166
38535
  isSetofReturn: false;
37167
38536
  };
38537
+ } | {
38538
+ Args: {
38539
+ _cart_id: string;
38540
+ _job_id: string;
38541
+ _queue_item_id: string;
38542
+ _session_id: string;
38543
+ p_device_key: string;
38544
+ };
38545
+ Returns: {
38546
+ announced_at: string;
38547
+ assigned_user_id: string | null;
38548
+ barcode: string | null;
38549
+ cancelled_at: string | null;
38550
+ cart_count: number;
38551
+ completed_at: string | null;
38552
+ country_code: string | null;
38553
+ created_at: string;
38554
+ customer_name: string | null;
38555
+ delivery_address: string | null;
38556
+ document_number: string | null;
38557
+ document_type_id: string | null;
38558
+ due_at: string | null;
38559
+ id: string;
38560
+ is_urgent: boolean;
38561
+ line_count: number;
38562
+ order_number: string | null;
38563
+ order_type: string | null;
38564
+ payload: Json;
38565
+ print_count: number;
38566
+ print_job_id: string | null;
38567
+ printed_at: string | null;
38568
+ printed_by: string | null;
38569
+ printed_cart_ids: Json;
38570
+ printer_id: string | null;
38571
+ priority: number;
38572
+ reference: string | null;
38573
+ route: string | null;
38574
+ screen_id: string | null;
38575
+ station_id: string | null;
38576
+ status_id: string | null;
38577
+ updated_at: string;
38578
+ warnings: Json;
38579
+ };
38580
+ SetofOptions: {
38581
+ from: "*";
38582
+ to: "pick_queue";
38583
+ isOneToOne: true;
38584
+ isSetofReturn: false;
38585
+ };
37168
38586
  };
37169
38587
  pick_reset_print_jobs: {
37170
38588
  Args: {
@@ -37214,6 +38632,55 @@ export type Database = {
37214
38632
  isOneToOne: true;
37215
38633
  isSetofReturn: false;
37216
38634
  };
38635
+ } | {
38636
+ Args: {
38637
+ _cart_ids: string[];
38638
+ _job_ids: string[];
38639
+ _queue_item_id: string;
38640
+ _session_id: string;
38641
+ p_device_key: string;
38642
+ };
38643
+ Returns: {
38644
+ announced_at: string;
38645
+ assigned_user_id: string | null;
38646
+ barcode: string | null;
38647
+ cancelled_at: string | null;
38648
+ cart_count: number;
38649
+ completed_at: string | null;
38650
+ country_code: string | null;
38651
+ created_at: string;
38652
+ customer_name: string | null;
38653
+ delivery_address: string | null;
38654
+ document_number: string | null;
38655
+ document_type_id: string | null;
38656
+ due_at: string | null;
38657
+ id: string;
38658
+ is_urgent: boolean;
38659
+ line_count: number;
38660
+ order_number: string | null;
38661
+ order_type: string | null;
38662
+ payload: Json;
38663
+ print_count: number;
38664
+ print_job_id: string | null;
38665
+ printed_at: string | null;
38666
+ printed_by: string | null;
38667
+ printed_cart_ids: Json;
38668
+ printer_id: string | null;
38669
+ priority: number;
38670
+ reference: string | null;
38671
+ route: string | null;
38672
+ screen_id: string | null;
38673
+ station_id: string | null;
38674
+ status_id: string | null;
38675
+ updated_at: string;
38676
+ warnings: Json;
38677
+ };
38678
+ SetofOptions: {
38679
+ from: "*";
38680
+ to: "pick_queue";
38681
+ isOneToOne: true;
38682
+ isSetofReturn: false;
38683
+ };
37217
38684
  };
37218
38685
  pick_restore_to_queue: {
37219
38686
  Args: {
@@ -37261,6 +38728,65 @@ export type Database = {
37261
38728
  isOneToOne: true;
37262
38729
  isSetofReturn: false;
37263
38730
  };
38731
+ } | {
38732
+ Args: {
38733
+ _queue_item_id: string;
38734
+ _session_id: string;
38735
+ p_device_key: string;
38736
+ };
38737
+ Returns: {
38738
+ announced_at: string;
38739
+ assigned_user_id: string | null;
38740
+ barcode: string | null;
38741
+ cancelled_at: string | null;
38742
+ cart_count: number;
38743
+ completed_at: string | null;
38744
+ country_code: string | null;
38745
+ created_at: string;
38746
+ customer_name: string | null;
38747
+ delivery_address: string | null;
38748
+ document_number: string | null;
38749
+ document_type_id: string | null;
38750
+ due_at: string | null;
38751
+ id: string;
38752
+ is_urgent: boolean;
38753
+ line_count: number;
38754
+ order_number: string | null;
38755
+ order_type: string | null;
38756
+ payload: Json;
38757
+ print_count: number;
38758
+ print_job_id: string | null;
38759
+ printed_at: string | null;
38760
+ printed_by: string | null;
38761
+ printed_cart_ids: Json;
38762
+ printer_id: string | null;
38763
+ priority: number;
38764
+ reference: string | null;
38765
+ route: string | null;
38766
+ screen_id: string | null;
38767
+ station_id: string | null;
38768
+ status_id: string | null;
38769
+ updated_at: string;
38770
+ warnings: Json;
38771
+ };
38772
+ SetofOptions: {
38773
+ from: "*";
38774
+ to: "pick_queue";
38775
+ isOneToOne: true;
38776
+ isSetofReturn: false;
38777
+ };
38778
+ };
38779
+ pick_revoke_device: {
38780
+ Args: {
38781
+ p_device_id: string;
38782
+ };
38783
+ Returns: undefined;
38784
+ };
38785
+ pick_role_allowed: {
38786
+ Args: {
38787
+ p_level: string;
38788
+ };
38789
+ Returns: boolean;
37264
38790
  };
37265
38791
  pick_seed_reference_data: {
37266
38792
  Args: never;
@@ -37272,6 +38798,19 @@ export type Database = {
37272
38798
  _station_id: string;
37273
38799
  };
37274
38800
  Returns: string;
38801
+ } | {
38802
+ Args: {
38803
+ _print_plek_id: string;
38804
+ _station_id: string;
38805
+ p_device_key: string;
38806
+ };
38807
+ Returns: string;
38808
+ };
38809
+ pick_signal_station: {
38810
+ Args: {
38811
+ p_station: string;
38812
+ };
38813
+ Returns: undefined;
37275
38814
  };
37276
38815
  pick_station_dashboard: {
37277
38816
  Args: never;
@@ -37284,6 +38823,31 @@ export type Database = {
37284
38823
  station_name: string;
37285
38824
  waiting: number;
37286
38825
  }[];
38826
+ } | {
38827
+ Args: {
38828
+ p_device_key: string;
38829
+ };
38830
+ Returns: {
38831
+ active: number;
38832
+ active_sessions: number;
38833
+ avg_wait_seconds: number;
38834
+ done_today: number;
38835
+ station_id: string;
38836
+ station_name: string;
38837
+ waiting: number;
38838
+ }[];
38839
+ };
38840
+ pick_station_devices_list: {
38841
+ Args: {
38842
+ p_station_id: string;
38843
+ };
38844
+ Returns: {
38845
+ created_at: string;
38846
+ id: string;
38847
+ ingetrokken_op: string;
38848
+ laatst_gezien: string;
38849
+ naam: string;
38850
+ }[];
37287
38851
  };
37288
38852
  pick_station_print_plek: {
37289
38853
  Args: {
@@ -37294,6 +38858,16 @@ export type Database = {
37294
38858
  omschrijving: string;
37295
38859
  print_plek_id: string;
37296
38860
  }[];
38861
+ } | {
38862
+ Args: {
38863
+ _station_id: string;
38864
+ p_device_key: string;
38865
+ };
38866
+ Returns: {
38867
+ naam: string;
38868
+ omschrijving: string;
38869
+ print_plek_id: string;
38870
+ }[];
37297
38871
  };
37298
38872
  pick_station_print_plekken: {
37299
38873
  Args: never;
@@ -37303,6 +38877,16 @@ export type Database = {
37303
38877
  print_plek_id: string;
37304
38878
  station_id: string;
37305
38879
  }[];
38880
+ } | {
38881
+ Args: {
38882
+ p_device_key: string;
38883
+ };
38884
+ Returns: {
38885
+ naam: string;
38886
+ omschrijving: string;
38887
+ print_plek_id: string;
38888
+ station_id: string;
38889
+ }[];
37306
38890
  };
37307
38891
  pick_station_slugify: {
37308
38892
  Args: {
@@ -37322,20 +38906,49 @@ export type Database = {
37322
38906
  _day: string;
37323
38907
  };
37324
38908
  Returns: Json;
38909
+ } | {
38910
+ Args: {
38911
+ _day: string;
38912
+ p_device_key: string;
38913
+ };
38914
+ Returns: Json;
37325
38915
  };
37326
38916
  pick_sync_queue_throttled: {
37327
38917
  Args: {
37328
38918
  _min_seconds?: number;
37329
38919
  };
37330
38920
  Returns: Json;
38921
+ } | {
38922
+ Args: {
38923
+ _min_seconds?: number;
38924
+ p_device_key: string;
38925
+ };
38926
+ Returns: Json;
37331
38927
  };
37332
38928
  pick_verify_rows: {
37333
38929
  Args: {
37334
38930
  _rows: Json;
37335
38931
  };
37336
38932
  Returns: Json;
38933
+ } | {
38934
+ Args: {
38935
+ _rows: Json;
38936
+ p_device_key: string;
38937
+ };
38938
+ Returns: Json;
38939
+ };
38940
+ pickschermen_install_check: {
38941
+ Args: never;
38942
+ Returns: Json;
37337
38943
  };
37338
38944
  pickstation_auto_send_status: {
38945
+ Args: {
38946
+ p_device_key: string;
38947
+ p_order_id: string;
38948
+ p_slug: string;
38949
+ };
38950
+ Returns: Json;
38951
+ } | {
37339
38952
  Args: {
37340
38953
  p_order_id: string;
37341
38954
  p_slug: string;
@@ -37343,13 +38956,34 @@ export type Database = {
37343
38956
  Returns: Json;
37344
38957
  };
37345
38958
  pickstation_cart_sticker_state: {
38959
+ Args: {
38960
+ p_cart_id: string;
38961
+ p_device_key: string;
38962
+ p_slug: string;
38963
+ };
38964
+ Returns: Json;
38965
+ } | {
37346
38966
  Args: {
37347
38967
  p_cart_id: string;
37348
38968
  p_slug: string;
37349
38969
  };
37350
38970
  Returns: Json;
37351
38971
  };
38972
+ pickstation_device_status: {
38973
+ Args: {
38974
+ p_device_key: string;
38975
+ p_slug: string;
38976
+ };
38977
+ Returns: Json;
38978
+ };
37352
38979
  pickstation_document_for_order: {
38980
+ Args: {
38981
+ p_device_key: string;
38982
+ p_queue_item_id: string;
38983
+ p_slug: string;
38984
+ };
38985
+ Returns: Json;
38986
+ } | {
37353
38987
  Args: {
37354
38988
  p_queue_item_id: string;
37355
38989
  p_slug: string;
@@ -37359,33 +38993,184 @@ export type Database = {
37359
38993
  pickstation_get_orders_raw: {
37360
38994
  Args: never;
37361
38995
  Returns: Json;
38996
+ } | {
38997
+ Args: {
38998
+ p_device_key: string;
38999
+ };
39000
+ Returns: Json;
37362
39001
  };
37363
39002
  pickstation_get_planning_context: {
37364
39003
  Args: never;
37365
39004
  Returns: Json;
39005
+ } | {
39006
+ Args: {
39007
+ p_device_key: string;
39008
+ };
39009
+ Returns: Json;
37366
39010
  };
37367
39011
  pickstation_get_settings: {
37368
39012
  Args: never;
37369
39013
  Returns: Json;
39014
+ } | {
39015
+ Args: {
39016
+ p_device_key: string;
39017
+ };
39018
+ Returns: Json;
37370
39019
  };
37371
39020
  pickstation_log_print: {
37372
39021
  Args: {
37373
39022
  p_customer_name: string;
39023
+ p_device_key: string;
37374
39024
  p_documents: string[];
37375
39025
  p_ip_address: string;
37376
39026
  p_order_id: string;
37377
39027
  p_order_number: string;
37378
39028
  };
37379
39029
  Returns: undefined;
39030
+ } | {
39031
+ Args: {
39032
+ p_customer_name: string;
39033
+ p_documents: string[];
39034
+ p_ip_address: string;
39035
+ p_order_id: string;
39036
+ p_order_number: string;
39037
+ };
39038
+ Returns: undefined;
39039
+ };
39040
+ pickstation_logistics_barcode_lookup: {
39041
+ Args: {
39042
+ p_barcode: string;
39043
+ p_device_key: string;
39044
+ };
39045
+ Returns: Json;
39046
+ };
39047
+ pickstation_logistics_cart_plan_status: {
39048
+ Args: {
39049
+ p_device_key: string;
39050
+ p_ref: string;
39051
+ };
39052
+ Returns: Json;
39053
+ };
39054
+ pickstation_logistics_cart_slip_plan: {
39055
+ Args: {
39056
+ p_device_key: string;
39057
+ p_order_id: string;
39058
+ };
39059
+ Returns: Json;
39060
+ };
39061
+ pickstation_logistics_complete_task: {
39062
+ Args: {
39063
+ p_device_key: string;
39064
+ p_result?: Json;
39065
+ p_task_id: string;
39066
+ };
39067
+ Returns: {
39068
+ attempt_log: Json;
39069
+ attempts: number;
39070
+ buffer_ref: string | null;
39071
+ claimed_at: string | null;
39072
+ claimed_by: string | null;
39073
+ completed_at: string | null;
39074
+ created_at: string;
39075
+ depends_on: string[];
39076
+ due_at: string | null;
39077
+ error: string | null;
39078
+ id: string;
39079
+ last_error: string | null;
39080
+ next_attempt_at: string | null;
39081
+ order_ref: string;
39082
+ owner_module: string;
39083
+ payload: Json;
39084
+ plan_run_id: string | null;
39085
+ planned_end: string | null;
39086
+ planned_start: string | null;
39087
+ priority: number;
39088
+ result: Json | null;
39089
+ rule_config_id: string | null;
39090
+ rule_version: number | null;
39091
+ sequence: number;
39092
+ shadow: boolean;
39093
+ started_at: string | null;
39094
+ status: string;
39095
+ strategy_id: string | null;
39096
+ task_type: string;
39097
+ updated_at: string;
39098
+ user_id: string;
39099
+ };
39100
+ SetofOptions: {
39101
+ from: "*";
39102
+ to: "logistics_tasks";
39103
+ isOneToOne: true;
39104
+ isSetofReturn: false;
39105
+ };
39106
+ };
39107
+ pickstation_logistics_is_pick_workday: {
39108
+ Args: {
39109
+ p_date: string;
39110
+ p_device_key: string;
39111
+ };
39112
+ Returns: boolean;
39113
+ };
39114
+ pickstation_logistics_order_released: {
39115
+ Args: {
39116
+ p_device_key: string;
39117
+ p_order_ref: string;
39118
+ };
39119
+ Returns: boolean;
39120
+ };
39121
+ pickstation_logistics_pick_mode: {
39122
+ Args: {
39123
+ p_device_key: string;
39124
+ };
39125
+ Returns: Json;
39126
+ };
39127
+ pickstation_logistics_shipping_note_from_barcode: {
39128
+ Args: {
39129
+ p_allow_reprint?: boolean;
39130
+ p_barcode: string;
39131
+ p_device_key: string;
39132
+ p_station_id?: string;
39133
+ };
39134
+ Returns: Json;
39135
+ };
39136
+ pickstation_logistics_working_hours_status: {
39137
+ Args: {
39138
+ p_device_key: string;
39139
+ };
39140
+ Returns: Json;
37380
39141
  };
37381
39142
  pickstation_order_sticker_meldingen: {
39143
+ Args: {
39144
+ p_device_key: string;
39145
+ p_order_id: string;
39146
+ p_slug: string;
39147
+ };
39148
+ Returns: Json;
39149
+ } | {
37382
39150
  Args: {
37383
39151
  p_order_id: string;
37384
39152
  p_slug: string;
37385
39153
  };
37386
39154
  Returns: Json;
37387
39155
  };
39156
+ pickstation_pair_device: {
39157
+ Args: {
39158
+ p_code: string;
39159
+ p_device_name: string;
39160
+ p_slug: string;
39161
+ };
39162
+ Returns: Json;
39163
+ };
37388
39164
  pickstation_resolve_delivery_orders: {
39165
+ Args: {
39166
+ p_device_key: string;
39167
+ p_sales_order_ids: string[];
39168
+ };
39169
+ Returns: {
39170
+ delivery_order_id: string;
39171
+ sales_order_id: string;
39172
+ }[];
39173
+ } | {
37389
39174
  Args: {
37390
39175
  p_sales_order_ids: string[];
37391
39176
  };
@@ -37404,6 +39189,13 @@ export type Database = {
37404
39189
  Returns: undefined;
37405
39190
  };
37406
39191
  pickstation_sticker_past_controle: {
39192
+ Args: {
39193
+ p_cart_id: string;
39194
+ p_device_key: string;
39195
+ p_slug: string;
39196
+ };
39197
+ Returns: Json;
39198
+ } | {
37407
39199
  Args: {
37408
39200
  p_cart_id: string;
37409
39201
  p_slug: string;
@@ -37411,6 +39203,14 @@ export type Database = {
37411
39203
  Returns: Json;
37412
39204
  };
37413
39205
  pickstation_sticker_reprint: {
39206
+ Args: {
39207
+ p_cart_id: string;
39208
+ p_device_key: string;
39209
+ p_reden?: string;
39210
+ p_slug: string;
39211
+ };
39212
+ Returns: Json;
39213
+ } | {
37414
39214
  Args: {
37415
39215
  p_cart_id: string;
37416
39216
  p_reden?: string;
@@ -38017,6 +39817,13 @@ export type Database = {
38017
39817
  Args: never;
38018
39818
  Returns: undefined;
38019
39819
  };
39820
+ refresh_floricode_derived_code_list_batch: {
39821
+ Args: {
39822
+ p_limit?: number;
39823
+ p_list: string;
39824
+ };
39825
+ Returns: Json;
39826
+ };
38020
39827
  refresh_floricode_derived_code_lists: {
38021
39828
  Args: never;
38022
39829
  Returns: {
@@ -38149,6 +39956,10 @@ export type Database = {
38149
39956
  };
38150
39957
  Returns: string;
38151
39958
  };
39959
+ restart_floricode_derived_code_lists: {
39960
+ Args: never;
39961
+ Returns: undefined;
39962
+ };
38152
39963
  retry_offer_orders: {
38153
39964
  Args: never;
38154
39965
  Returns: number;
@@ -38255,7 +40066,46 @@ export type Database = {
38255
40066
  };
38256
40067
  Returns: Json;
38257
40068
  };
40069
+ scan_alleen_gekoppeld_zetten: {
40070
+ Args: {
40071
+ p_aan: boolean;
40072
+ };
40073
+ Returns: Json;
40074
+ };
40075
+ scan_apparaat_intrekken: {
40076
+ Args: {
40077
+ p_apparaat_id: string;
40078
+ };
40079
+ Returns: Json;
40080
+ };
40081
+ scan_apparaat_koppelen: {
40082
+ Args: {
40083
+ p_code: string;
40084
+ p_naam?: string;
40085
+ p_scanner_id: string;
40086
+ };
40087
+ Returns: Json;
40088
+ };
40089
+ scan_apparaat_status: {
40090
+ Args: {
40091
+ p_device_key?: string;
40092
+ p_scanner_id: string;
40093
+ };
40094
+ Returns: Json;
40095
+ };
40096
+ scan_apparaten_lijst: {
40097
+ Args: {
40098
+ p_scanner_id: string;
40099
+ };
40100
+ Returns: Json;
40101
+ };
38258
40102
  scan_cancel_kar: {
40103
+ Args: {
40104
+ p_device_key: string;
40105
+ p_kar_id: string;
40106
+ };
40107
+ Returns: Json;
40108
+ } | {
38259
40109
  Args: {
38260
40110
  p_kar_id: string;
38261
40111
  };
@@ -38269,8 +40119,24 @@ export type Database = {
38269
40119
  p_scanner_id?: string;
38270
40120
  };
38271
40121
  Returns: Json;
40122
+ } | {
40123
+ Args: {
40124
+ p_allow_reprint?: boolean;
40125
+ p_cart_id: string;
40126
+ p_device_key: string;
40127
+ p_print?: boolean;
40128
+ p_scanner_id?: string;
40129
+ };
40130
+ Returns: Json;
38272
40131
  };
38273
40132
  scan_controleer_pincode: {
40133
+ Args: {
40134
+ p_device_key: string;
40135
+ p_pin: string;
40136
+ p_scanner_id: string;
40137
+ };
40138
+ Returns: Json;
40139
+ } | {
38274
40140
  Args: {
38275
40141
  p_pin: string;
38276
40142
  p_scanner_id: string;
@@ -38290,20 +40156,51 @@ export type Database = {
38290
40156
  p_scanner_id?: string;
38291
40157
  };
38292
40158
  Returns: Json;
40159
+ } | {
40160
+ Args: {
40161
+ p_barcode: string;
40162
+ p_bevestig_niet_geprint?: boolean;
40163
+ p_device_key: string;
40164
+ p_scanner_id?: string;
40165
+ };
40166
+ Returns: Json;
38293
40167
  };
38294
40168
  scan_finish_kar: {
40169
+ Args: {
40170
+ p_device_key: string;
40171
+ p_kar_id: string;
40172
+ };
40173
+ Returns: Json;
40174
+ } | {
38295
40175
  Args: {
38296
40176
  p_kar_id: string;
38297
40177
  };
38298
40178
  Returns: Json;
38299
40179
  };
38300
40180
  scan_heeft_pincode: {
40181
+ Args: {
40182
+ p_device_key: string;
40183
+ p_scanner_id: string;
40184
+ };
40185
+ Returns: boolean;
40186
+ } | {
38301
40187
  Args: {
38302
40188
  p_scanner_id: string;
38303
40189
  };
38304
40190
  Returns: boolean;
38305
40191
  };
40192
+ scan_install_check: {
40193
+ Args: never;
40194
+ Returns: Json;
40195
+ };
38306
40196
  scan_kar_compleet: {
40197
+ Args: {
40198
+ p_allow_reprint?: boolean;
40199
+ p_device_key: string;
40200
+ p_sessie_id: string;
40201
+ };
40202
+ Returns: Json;
40203
+ } | {
38307
40204
  Args: {
38308
40205
  p_allow_reprint?: boolean;
38309
40206
  p_sessie_id: string;
@@ -38322,11 +40219,25 @@ export type Database = {
38322
40219
  result: string;
38323
40220
  }[];
38324
40221
  };
40222
+ scan_kar_markeren: {
40223
+ Args: {
40224
+ p_device_key: string;
40225
+ p_kar_id: string;
40226
+ p_veld: string;
40227
+ };
40228
+ Returns: Json;
40229
+ };
38325
40230
  scan_kar_regels: {
38326
40231
  Args: {
38327
40232
  p_cart_id: string;
38328
40233
  };
38329
40234
  Returns: Json;
40235
+ } | {
40236
+ Args: {
40237
+ p_cart_id: string;
40238
+ p_device_key: string;
40239
+ };
40240
+ Returns: Json;
38330
40241
  };
38331
40242
  scan_kar_voortgang: {
38332
40243
  Args: {
@@ -38335,6 +40246,20 @@ export type Database = {
38335
40246
  p_slug?: string;
38336
40247
  };
38337
40248
  Returns: Json;
40249
+ } | {
40250
+ Args: {
40251
+ p_cart_id: string;
40252
+ p_device_key: string;
40253
+ p_scanner_id?: string;
40254
+ p_slug?: string;
40255
+ };
40256
+ Returns: Json;
40257
+ };
40258
+ scan_koppelcode_maken: {
40259
+ Args: {
40260
+ p_scanner_id: string;
40261
+ };
40262
+ Returns: Json;
38338
40263
  };
38339
40264
  scan_log_code: {
38340
40265
  Args: {
@@ -38347,14 +40272,38 @@ export type Database = {
38347
40272
  p_scanner_key?: string;
38348
40273
  };
38349
40274
  Returns: string;
40275
+ } | {
40276
+ Args: {
40277
+ p_code: string;
40278
+ p_device_key: string;
40279
+ p_kar_id?: string;
40280
+ p_latency_ms?: number;
40281
+ p_medewerker?: string;
40282
+ p_message?: string;
40283
+ p_result: string;
40284
+ p_scanner_key?: string;
40285
+ };
40286
+ Returns: string;
38350
40287
  };
38351
40288
  scan_open_pakbonnen: {
38352
40289
  Args: {
38353
40290
  p_dagen?: number;
38354
40291
  };
38355
40292
  Returns: Json;
40293
+ } | {
40294
+ Args: {
40295
+ p_dagen?: number;
40296
+ p_device_key: string;
40297
+ };
40298
+ Returns: Json;
38356
40299
  };
38357
40300
  scan_order_klant: {
40301
+ Args: {
40302
+ p_device_key: string;
40303
+ p_order_id: string;
40304
+ };
40305
+ Returns: Json;
40306
+ } | {
38358
40307
  Args: {
38359
40308
  p_order_id: string;
38360
40309
  };
@@ -38365,6 +40314,12 @@ export type Database = {
38365
40314
  p_barcode: string;
38366
40315
  };
38367
40316
  Returns: Json;
40317
+ } | {
40318
+ Args: {
40319
+ p_barcode: string;
40320
+ p_device_key: string;
40321
+ };
40322
+ Returns: Json;
38368
40323
  };
38369
40324
  scan_pakbon_opnieuw: {
38370
40325
  Args: {
@@ -38372,17 +40327,60 @@ export type Database = {
38372
40327
  p_scanner_id?: string;
38373
40328
  };
38374
40329
  Returns: Json;
40330
+ } | {
40331
+ Args: {
40332
+ p_barcode: string;
40333
+ p_device_key: string;
40334
+ p_scanner_id?: string;
40335
+ };
40336
+ Returns: Json;
38375
40337
  };
38376
40338
  scan_pakbon_toevoegen: {
38377
40339
  Args: {
38378
40340
  p_barcode: string;
40341
+ p_device_key: string;
38379
40342
  p_medewerker?: string;
38380
40343
  p_regels?: Json;
38381
40344
  p_scanner_id: string;
38382
40345
  };
38383
40346
  Returns: Json;
40347
+ } | {
40348
+ Args: {
40349
+ p_barcode: string;
40350
+ p_medewerker?: string;
40351
+ p_regels?: Json;
40352
+ p_scanner_id: string;
40353
+ };
40354
+ Returns: Json;
40355
+ };
40356
+ scan_pakbonnen_open: {
40357
+ Args: {
40358
+ p_device_key: string;
40359
+ p_limiet?: number;
40360
+ };
40361
+ Returns: Json;
40362
+ };
40363
+ scan_pin_blokkade_opheffen: {
40364
+ Args: {
40365
+ p_scanner_id: string;
40366
+ };
40367
+ Returns: Json;
40368
+ };
40369
+ scan_print_job_status: {
40370
+ Args: {
40371
+ p_device_key: string;
40372
+ p_job_id: string;
40373
+ };
40374
+ Returns: Json;
38384
40375
  };
38385
40376
  scan_print_restpakbon: {
40377
+ Args: {
40378
+ p_device_key: string;
40379
+ p_printer_id?: string;
40380
+ p_restpakbon_id: string;
40381
+ };
40382
+ Returns: Json;
40383
+ } | {
38386
40384
  Args: {
38387
40385
  p_printer_id?: string;
38388
40386
  p_restpakbon_id: string;
@@ -38395,7 +40393,21 @@ export type Database = {
38395
40393
  };
38396
40394
  Returns: Json;
38397
40395
  };
40396
+ scan_printers: {
40397
+ Args: {
40398
+ p_device_key: string;
40399
+ };
40400
+ Returns: Json;
40401
+ };
38398
40402
  scan_register_item: {
40403
+ Args: {
40404
+ p_device_key: string;
40405
+ p_kar_id: string;
40406
+ p_pakbon_item_id: string;
40407
+ p_scanned_by?: string;
40408
+ };
40409
+ Returns: Json;
40410
+ } | {
38399
40411
  Args: {
38400
40412
  p_kar_id: string;
38401
40413
  p_pakbon_item_id: string;
@@ -38406,14 +40418,39 @@ export type Database = {
38406
40418
  scan_release_expired_locks: {
38407
40419
  Args: never;
38408
40420
  Returns: Json;
40421
+ } | {
40422
+ Args: {
40423
+ p_device_key: string;
40424
+ };
40425
+ Returns: Json;
38409
40426
  };
38410
40427
  scan_remove_item: {
38411
40428
  Args: {
40429
+ p_device_key: string;
38412
40430
  p_kar_item_id: string;
38413
40431
  };
38414
40432
  Returns: Json;
40433
+ } | {
40434
+ Args: {
40435
+ p_kar_item_id: string;
40436
+ };
40437
+ Returns: Json;
40438
+ };
40439
+ scan_resolve: {
40440
+ Args: {
40441
+ p_code: string;
40442
+ p_device_key: string;
40443
+ };
40444
+ Returns: Json;
38415
40445
  };
38416
40446
  scan_restpakbon_geprint: {
40447
+ Args: {
40448
+ p_device_key: string;
40449
+ p_id: string;
40450
+ p_print_job_id?: string;
40451
+ };
40452
+ Returns: undefined;
40453
+ } | {
38417
40454
  Args: {
38418
40455
  p_id: string;
38419
40456
  p_print_job_id?: string;
@@ -38437,18 +40474,40 @@ export type Database = {
38437
40474
  }[];
38438
40475
  };
38439
40476
  scan_sessie_annuleren: {
40477
+ Args: {
40478
+ p_device_key: string;
40479
+ p_sessie_id: string;
40480
+ };
40481
+ Returns: undefined;
40482
+ } | {
38440
40483
  Args: {
38441
40484
  p_sessie_id: string;
38442
40485
  };
38443
40486
  Returns: undefined;
38444
40487
  };
38445
40488
  scan_sessie_open: {
40489
+ Args: {
40490
+ p_device_key: string;
40491
+ p_scanner_id: string;
40492
+ };
40493
+ Returns: Json;
40494
+ } | {
38446
40495
  Args: {
38447
40496
  p_scanner_id: string;
38448
40497
  };
38449
40498
  Returns: Json;
38450
40499
  };
38451
40500
  scan_start_kar: {
40501
+ Args: {
40502
+ p_device_key: string;
40503
+ p_medewerker_id?: string;
40504
+ p_medewerker_naam?: string;
40505
+ p_pakbon_ids: string[];
40506
+ p_scanner_key?: string;
40507
+ p_sessie?: string;
40508
+ };
40509
+ Returns: Json;
40510
+ } | {
38452
40511
  Args: {
38453
40512
  p_medewerker_id?: string;
38454
40513
  p_medewerker_naam?: string;
@@ -39748,6 +41807,12 @@ export type Database = {
39748
41807
  };
39749
41808
  Returns: undefined;
39750
41809
  };
41810
+ verkoop_correctie_verpakking: {
41811
+ Args: {
41812
+ p_uitvoeren?: boolean;
41813
+ };
41814
+ Returns: Json;
41815
+ };
39751
41816
  verkoop_create_order: {
39752
41817
  Args: {
39753
41818
  p_accept_late_signup?: boolean;
@@ -39914,6 +41979,10 @@ export type Database = {
39914
41979
  };
39915
41980
  Returns: undefined;
39916
41981
  };
41982
+ voorraad_install_check: {
41983
+ Args: never;
41984
+ Returns: Json;
41985
+ };
39917
41986
  voorraad_is_server: {
39918
41987
  Args: never;
39919
41988
  Returns: boolean;
@@ -39935,6 +42004,13 @@ export type Database = {
39935
42004
  };
39936
42005
  Returns: string;
39937
42006
  };
42007
+ voorraad_vereis: {
42008
+ Args: {
42009
+ p_functie: string;
42010
+ p_niveau: string;
42011
+ };
42012
+ Returns: undefined;
42013
+ };
39938
42014
  voorraad_week_is_past: {
39939
42015
  Args: {
39940
42016
  p_week: number;