@flowselections/floriday-verkoop-module 1.0.116 → 1.0.118

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;
@@ -17058,6 +17106,7 @@ export type Database = {
17058
17106
  status: string;
17059
17107
  subject: string;
17060
17108
  updated_at: string;
17109
+ valid_until: string | null;
17061
17110
  };
17062
17111
  Insert: {
17063
17112
  created_at?: string;
@@ -17072,6 +17121,7 @@ export type Database = {
17072
17121
  status?: string;
17073
17122
  subject: string;
17074
17123
  updated_at?: string;
17124
+ valid_until?: string | null;
17075
17125
  };
17076
17126
  Update: {
17077
17127
  created_at?: string;
@@ -17086,6 +17136,7 @@ export type Database = {
17086
17136
  status?: string;
17087
17137
  subject?: string;
17088
17138
  updated_at?: string;
17139
+ valid_until?: string | null;
17089
17140
  };
17090
17141
  Relationships: [];
17091
17142
  };
@@ -17142,6 +17193,9 @@ export type Database = {
17142
17193
  id: string;
17143
17194
  items: Json;
17144
17195
  notes: string | null;
17196
+ office_notification_at: string | null;
17197
+ office_notification_reason: string | null;
17198
+ office_notification_status: string | null;
17145
17199
  order_creation_attempts: number;
17146
17200
  order_creation_error: string | null;
17147
17201
  order_creation_failed_at: string | null;
@@ -17161,6 +17215,9 @@ export type Database = {
17161
17215
  id?: string;
17162
17216
  items?: Json;
17163
17217
  notes?: string | null;
17218
+ office_notification_at?: string | null;
17219
+ office_notification_reason?: string | null;
17220
+ office_notification_status?: string | null;
17164
17221
  order_creation_attempts?: number;
17165
17222
  order_creation_error?: string | null;
17166
17223
  order_creation_failed_at?: string | null;
@@ -17180,6 +17237,9 @@ export type Database = {
17180
17237
  id?: string;
17181
17238
  items?: Json;
17182
17239
  notes?: string | null;
17240
+ office_notification_at?: string | null;
17241
+ office_notification_reason?: string | null;
17242
+ office_notification_status?: string | null;
17183
17243
  order_creation_attempts?: number;
17184
17244
  order_creation_error?: string | null;
17185
17245
  order_creation_failed_at?: string | null;
@@ -18852,6 +18912,74 @@ export type Database = {
18852
18912
  }
18853
18913
  ];
18854
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
+ };
18855
18983
  pick_station_heartbeats: {
18856
18984
  Row: {
18857
18985
  browser: string | null;
@@ -18984,6 +19112,53 @@ export type Database = {
18984
19112
  };
18985
19113
  Relationships: [];
18986
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
+ };
18987
19162
  pick_station_permissions: {
18988
19163
  Row: {
18989
19164
  can_break_lock: boolean;
@@ -19155,6 +19330,29 @@ export type Database = {
19155
19330
  }
19156
19331
  ];
19157
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
+ };
19158
19356
  pick_station_tasks: {
19159
19357
  Row: {
19160
19358
  active: boolean;
@@ -23106,6 +23304,107 @@ export type Database = {
23106
23304
  };
23107
23305
  Relationships: [];
23108
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
+ };
23109
23408
  scan_kar_items: {
23110
23409
  Row: {
23111
23410
  barcode: string;
@@ -23509,6 +23808,35 @@ export type Database = {
23509
23808
  };
23510
23809
  Relationships: [];
23511
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
+ };
23512
23840
  scan_restpakbonnen: {
23513
23841
  Row: {
23514
23842
  barcode: string;
@@ -26449,6 +26777,7 @@ export type Database = {
26449
26777
  };
26450
26778
  twinfield_token_issue_log: {
26451
26779
  Row: {
26780
+ acting_user_id: string | null;
26452
26781
  caller_kind: string;
26453
26782
  connection_id: string | null;
26454
26783
  id: string;
@@ -26459,6 +26788,7 @@ export type Database = {
26459
26788
  user_id: string | null;
26460
26789
  };
26461
26790
  Insert: {
26791
+ acting_user_id?: string | null;
26462
26792
  caller_kind: string;
26463
26793
  connection_id?: string | null;
26464
26794
  id?: string;
@@ -26469,6 +26799,7 @@ export type Database = {
26469
26799
  user_id?: string | null;
26470
26800
  };
26471
26801
  Update: {
26802
+ acting_user_id?: string | null;
26472
26803
  caller_kind?: string;
26473
26804
  connection_id?: string | null;
26474
26805
  id?: string;
@@ -27376,6 +27707,51 @@ export type Database = {
27376
27707
  }
27377
27708
  ];
27378
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
+ };
27379
27755
  voorraad_buffer_state: {
27380
27756
  Row: {
27381
27757
  buffer_id: string;
@@ -30161,6 +30537,59 @@ export type Database = {
30161
30537
  };
30162
30538
  Returns: Json;
30163
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
+ };
30164
30593
  _scan_kar_floriday_afgehandeld: {
30165
30594
  Args: {
30166
30595
  p_cart_id: string;
@@ -30180,6 +30609,10 @@ export type Database = {
30180
30609
  };
30181
30610
  Returns: Json;
30182
30611
  };
30612
+ _scan_vertrouwd: {
30613
+ Args: never;
30614
+ Returns: boolean;
30615
+ };
30183
30616
  _stock_import_caller: {
30184
30617
  Args: {
30185
30618
  p_owner: string;
@@ -30190,6 +30623,73 @@ export type Database = {
30190
30623
  Args: never;
30191
30624
  Returns: boolean;
30192
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
+ };
30193
30693
  afh_assert_ingelogd: {
30194
30694
  Args: never;
30195
30695
  Returns: undefined;
@@ -30434,6 +30934,26 @@ export type Database = {
30434
30934
  Args: never;
30435
30935
  Returns: Json;
30436
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
+ };
30437
30957
  ai_is_admin: {
30438
30958
  Args: {
30439
30959
  _uid: string;
@@ -30454,6 +30974,10 @@ export type Database = {
30454
30974
  };
30455
30975
  Returns: boolean;
30456
30976
  };
30977
+ ai_sync_catalog: {
30978
+ Args: never;
30979
+ Returns: Json;
30980
+ };
30457
30981
  ai_usage_by_module: {
30458
30982
  Args: {
30459
30983
  _from: string;
@@ -31383,6 +31907,16 @@ export type Database = {
31383
31907
  };
31384
31908
  Returns: string;
31385
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
+ };
31386
31920
  email_auth_fetch_message: {
31387
31921
  Args: {
31388
31922
  _connection_id: string;
@@ -31406,6 +31940,14 @@ export type Database = {
31406
31940
  status: string;
31407
31941
  }[];
31408
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
+ };
31409
31951
  email_auth_upsert_connection: {
31410
31952
  Args: {
31411
31953
  _account_email: string;
@@ -31615,6 +32157,28 @@ export type Database = {
31615
32157
  Args: never;
31616
32158
  Returns: undefined;
31617
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
+ };
31618
32182
  floriday_customer_candidates: {
31619
32183
  Args: never;
31620
32184
  Returns: {
@@ -31676,6 +32240,10 @@ export type Database = {
31676
32240
  postcode: string;
31677
32241
  }[];
31678
32242
  };
32243
+ floriday_ensure_cron: {
32244
+ Args: never;
32245
+ Returns: Json;
32246
+ };
31679
32247
  floriday_erp_leading_preview: {
31680
32248
  Args: {
31681
32249
  p_connection_id: string;
@@ -32903,6 +33471,10 @@ export type Database = {
32903
33471
  };
32904
33472
  Returns: boolean;
32905
33473
  };
33474
+ logistics_acc_entry: {
33475
+ Args: never;
33476
+ Returns: string;
33477
+ };
32906
33478
  logistics_acc_guard: {
32907
33479
  Args: {
32908
33480
  p_fn: string;
@@ -35166,6 +35738,15 @@ export type Database = {
35166
35738
  };
35167
35739
  Returns: string;
35168
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
+ };
35169
35750
  logistics_plan_finish: {
35170
35751
  Args: {
35171
35752
  p_error?: string;
@@ -36671,10 +37252,25 @@ export type Database = {
36671
37252
  naam: string;
36672
37253
  online: boolean;
36673
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
+ }[];
36674
37265
  };
36675
37266
  pick_apply_buffer_events: {
36676
37267
  Args: never;
36677
37268
  Returns: Json;
37269
+ } | {
37270
+ Args: {
37271
+ p_device_key: string;
37272
+ };
37273
+ Returns: Json;
36678
37274
  };
36679
37275
  pick_assert_printable: {
36680
37276
  Args: {
@@ -36682,6 +37278,12 @@ export type Database = {
36682
37278
  };
36683
37279
  Returns: undefined;
36684
37280
  };
37281
+ pick_assert_station: {
37282
+ Args: {
37283
+ p_device_key: string;
37284
+ };
37285
+ Returns: string;
37286
+ };
36685
37287
  pick_available_pick_days: {
36686
37288
  Args: {
36687
37289
  _max_days?: number;
@@ -36690,6 +37292,15 @@ export type Database = {
36690
37292
  orders: number;
36691
37293
  pick_day: string;
36692
37294
  }[];
37295
+ } | {
37296
+ Args: {
37297
+ _max_days?: number;
37298
+ p_device_key: string;
37299
+ };
37300
+ Returns: {
37301
+ orders: number;
37302
+ pick_day: string;
37303
+ }[];
36693
37304
  };
36694
37305
  pick_buffer_order_ids: {
36695
37306
  Args: {
@@ -36697,6 +37308,10 @@ export type Database = {
36697
37308
  };
36698
37309
  Returns: string[];
36699
37310
  };
37311
+ pick_build_key_variants: {
37312
+ Args: never;
37313
+ Returns: Json;
37314
+ };
36700
37315
  pick_cart_breakdown: {
36701
37316
  Args: {
36702
37317
  _order_id: string;
@@ -36752,15 +37367,14 @@ export type Database = {
36752
37367
  isOneToOne: true;
36753
37368
  isSetofReturn: false;
36754
37369
  };
36755
- };
36756
- pick_claim_next_document: {
37370
+ } | {
36757
37371
  Args: {
36758
- _country_code: string;
36759
- _pick_day?: string;
37372
+ _queue_item_id: string;
36760
37373
  _screen_id: string;
36761
37374
  _session_id: string;
36762
37375
  _station_id: string;
36763
37376
  _timeout_seconds?: number;
37377
+ p_device_key: string;
36764
37378
  };
36765
37379
  Returns: {
36766
37380
  announced_at: string;
@@ -36804,181 +37418,513 @@ export type Database = {
36804
37418
  isSetofReturn: false;
36805
37419
  };
36806
37420
  };
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: {
36863
- Args: {
36864
- _cart_id: string;
36865
- _printer_id: string;
36866
- _queue_item_id: string;
36867
- _session_id: string;
36868
- };
36869
- Returns: {
36870
- announced_at: string;
36871
- assigned_user_id: string | null;
36872
- barcode: string | null;
36873
- cancelled_at: string | null;
36874
- cart_count: number;
36875
- completed_at: string | null;
36876
- country_code: string | null;
36877
- created_at: string;
36878
- customer_name: string | null;
36879
- delivery_address: string | null;
36880
- document_number: string | null;
36881
- document_type_id: string | null;
36882
- due_at: string | null;
36883
- id: string;
36884
- is_urgent: boolean;
36885
- line_count: number;
36886
- order_number: string | null;
36887
- order_type: string | null;
36888
- payload: Json;
36889
- print_count: number;
36890
- print_job_id: string | null;
36891
- printed_at: string | null;
36892
- printed_by: string | null;
36893
- printed_cart_ids: Json;
36894
- printer_id: string | null;
36895
- priority: number;
36896
- reference: string | null;
36897
- route: string | null;
36898
- screen_id: string | null;
36899
- station_id: string | null;
36900
- status_id: string | null;
36901
- updated_at: string;
36902
- warnings: Json;
36903
- };
36904
- SetofOptions: {
36905
- from: "*";
36906
- to: "pick_queue";
36907
- isOneToOne: true;
36908
- isSetofReturn: false;
36909
- };
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: {
37421
+ pick_claim_next_document: {
36924
37422
  Args: {
37423
+ _country_code: string;
36925
37424
  _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
- } | {
36946
- 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;
37425
+ _screen_id: string;
36981
37426
  _session_id: string;
37427
+ _station_id: string;
37428
+ _timeout_seconds?: number;
37429
+ };
37430
+ Returns: {
37431
+ announced_at: string;
37432
+ assigned_user_id: string | null;
37433
+ barcode: string | null;
37434
+ cancelled_at: string | null;
37435
+ cart_count: number;
37436
+ completed_at: string | null;
37437
+ country_code: string | null;
37438
+ created_at: string;
37439
+ customer_name: string | null;
37440
+ delivery_address: string | null;
37441
+ document_number: string | null;
37442
+ document_type_id: string | null;
37443
+ due_at: string | null;
37444
+ id: string;
37445
+ is_urgent: boolean;
37446
+ line_count: number;
37447
+ order_number: string | null;
37448
+ order_type: string | null;
37449
+ payload: Json;
37450
+ print_count: number;
37451
+ print_job_id: string | null;
37452
+ printed_at: string | null;
37453
+ printed_by: string | null;
37454
+ printed_cart_ids: Json;
37455
+ printer_id: string | null;
37456
+ priority: number;
37457
+ reference: string | null;
37458
+ route: string | null;
37459
+ screen_id: string | null;
37460
+ station_id: string | null;
37461
+ status_id: string | null;
37462
+ updated_at: string;
37463
+ warnings: Json;
37464
+ };
37465
+ SetofOptions: {
37466
+ from: "*";
37467
+ to: "pick_queue";
37468
+ isOneToOne: true;
37469
+ isSetofReturn: false;
37470
+ };
37471
+ } | {
37472
+ Args: {
37473
+ _country_code: string;
37474
+ _pick_day?: string;
37475
+ _screen_id: string;
37476
+ _session_id: string;
37477
+ _station_id: string;
37478
+ _timeout_seconds?: number;
37479
+ p_device_key: string;
37480
+ };
37481
+ Returns: {
37482
+ announced_at: string;
37483
+ assigned_user_id: string | null;
37484
+ barcode: string | null;
37485
+ cancelled_at: string | null;
37486
+ cart_count: number;
37487
+ completed_at: string | null;
37488
+ country_code: string | null;
37489
+ created_at: string;
37490
+ customer_name: string | null;
37491
+ delivery_address: string | null;
37492
+ document_number: string | null;
37493
+ document_type_id: string | null;
37494
+ due_at: string | null;
37495
+ id: string;
37496
+ is_urgent: boolean;
37497
+ line_count: number;
37498
+ order_number: string | null;
37499
+ order_type: string | null;
37500
+ payload: Json;
37501
+ print_count: number;
37502
+ print_job_id: string | null;
37503
+ printed_at: string | null;
37504
+ printed_by: string | null;
37505
+ printed_cart_ids: Json;
37506
+ printer_id: string | null;
37507
+ priority: number;
37508
+ reference: string | null;
37509
+ route: string | null;
37510
+ screen_id: string | null;
37511
+ station_id: string | null;
37512
+ status_id: string | null;
37513
+ updated_at: string;
37514
+ warnings: Json;
37515
+ };
37516
+ SetofOptions: {
37517
+ from: "*";
37518
+ to: "pick_queue";
37519
+ isOneToOne: true;
37520
+ isSetofReturn: false;
37521
+ };
37522
+ };
37523
+ pick_cleanup_maintenance: {
37524
+ Args: {
37525
+ _heartbeat_hours?: number;
37526
+ _log_days?: number;
37527
+ };
37528
+ Returns: Json;
37529
+ };
37530
+ pick_complete_print: {
37531
+ Args: {
37532
+ _printer_id: string;
37533
+ _queue_item_id: string;
37534
+ _session_id: string;
37535
+ };
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;
37570
+ };
37571
+ SetofOptions: {
37572
+ from: "*";
37573
+ to: "pick_queue";
37574
+ isOneToOne: true;
37575
+ isSetofReturn: false;
37576
+ };
37577
+ } | {
37578
+ Args: {
37579
+ _printer_id: string;
37580
+ _queue_item_id: string;
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;
36982
37928
  };
36983
37929
  Returns: {
36984
37930
  announced_at: string;
@@ -37035,18 +37981,37 @@ export type Database = {
37035
37981
  _station_slug: string;
37036
37982
  };
37037
37983
  Returns: Json;
37984
+ } | {
37985
+ Args: {
37986
+ _queue_item_id: string;
37987
+ _station_slug: string;
37988
+ p_device_key: string;
37989
+ };
37990
+ Returns: Json;
37038
37991
  };
37039
37992
  pick_print_job_status: {
37040
37993
  Args: {
37041
37994
  _job_id: string;
37042
37995
  };
37043
37996
  Returns: Json;
37997
+ } | {
37998
+ Args: {
37999
+ _job_id: string;
38000
+ p_device_key: string;
38001
+ };
38002
+ Returns: Json;
37044
38003
  };
37045
38004
  pick_print_jobs_status: {
37046
38005
  Args: {
37047
38006
  _job_ids: string[];
37048
38007
  };
37049
38008
  Returns: Json[];
38009
+ } | {
38010
+ Args: {
38011
+ _job_ids: string[];
38012
+ p_device_key: string;
38013
+ };
38014
+ Returns: Json[];
37050
38015
  };
37051
38016
  pick_print_plekken: {
37052
38017
  Args: never;
@@ -37055,12 +38020,27 @@ export type Database = {
37055
38020
  naam: string;
37056
38021
  omschrijving: string;
37057
38022
  }[];
38023
+ } | {
38024
+ Args: {
38025
+ p_device_key: string;
38026
+ };
38027
+ Returns: {
38028
+ id: string;
38029
+ naam: string;
38030
+ omschrijving: string;
38031
+ }[];
37058
38032
  };
37059
38033
  pick_queue_cart_plan: {
37060
38034
  Args: {
37061
38035
  _queue_item_id: string;
37062
38036
  };
37063
38037
  Returns: Json;
38038
+ } | {
38039
+ Args: {
38040
+ _queue_item_id: string;
38041
+ p_device_key: string;
38042
+ };
38043
+ Returns: Json;
37064
38044
  };
37065
38045
  pick_queue_cart_plan_v152: {
37066
38046
  Args: {
@@ -37068,23 +38048,220 @@ export type Database = {
37068
38048
  };
37069
38049
  Returns: Json;
37070
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
+ };
37071
38227
  pick_reference_data_status: {
37072
38228
  Args: never;
37073
38229
  Returns: Json;
38230
+ } | {
38231
+ Args: {
38232
+ p_device_key: string;
38233
+ };
38234
+ Returns: Json;
37074
38235
  };
37075
38236
  pick_release_expired_locks: {
37076
38237
  Args: never;
37077
38238
  Returns: number;
38239
+ } | {
38240
+ Args: {
38241
+ p_device_key: string;
38242
+ };
38243
+ Returns: number;
37078
38244
  };
37079
38245
  pick_release_lock: {
37080
38246
  Args: {
37081
38247
  _queue_item_id: string;
37082
38248
  };
37083
38249
  Returns: undefined;
38250
+ } | {
38251
+ Args: {
38252
+ _queue_item_id: string;
38253
+ p_device_key: string;
38254
+ };
38255
+ Returns: undefined;
37084
38256
  };
37085
38257
  pick_report_missing_cart_plan: {
37086
38258
  Args: never;
37087
38259
  Returns: Json;
38260
+ } | {
38261
+ Args: {
38262
+ p_device_key: string;
38263
+ };
38264
+ Returns: Json;
37088
38265
  };
37089
38266
  pick_reprint_cart: {
37090
38267
  Args: {
@@ -37094,6 +38271,15 @@ export type Database = {
37094
38271
  _throttle_seconds?: number;
37095
38272
  };
37096
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;
37097
38283
  };
37098
38284
  pick_reprint_document: {
37099
38285
  Args: {
@@ -37102,6 +38288,14 @@ export type Database = {
37102
38288
  _throttle_seconds?: number;
37103
38289
  };
37104
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;
37105
38299
  };
37106
38300
  pick_reset_print: {
37107
38301
  Args: {
@@ -37196,6 +38390,101 @@ export type Database = {
37196
38390
  isOneToOne: true;
37197
38391
  isSetofReturn: false;
37198
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
+ };
37199
38488
  };
37200
38489
  pick_reset_print_job: {
37201
38490
  Args: {
@@ -37245,6 +38534,55 @@ export type Database = {
37245
38534
  isOneToOne: true;
37246
38535
  isSetofReturn: false;
37247
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
+ };
37248
38586
  };
37249
38587
  pick_reset_print_jobs: {
37250
38588
  Args: {
@@ -37294,6 +38632,55 @@ export type Database = {
37294
38632
  isOneToOne: true;
37295
38633
  isSetofReturn: false;
37296
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
+ };
37297
38684
  };
37298
38685
  pick_restore_to_queue: {
37299
38686
  Args: {
@@ -37341,6 +38728,65 @@ export type Database = {
37341
38728
  isOneToOne: true;
37342
38729
  isSetofReturn: false;
37343
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;
37344
38790
  };
37345
38791
  pick_seed_reference_data: {
37346
38792
  Args: never;
@@ -37352,6 +38798,19 @@ export type Database = {
37352
38798
  _station_id: string;
37353
38799
  };
37354
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;
37355
38814
  };
37356
38815
  pick_station_dashboard: {
37357
38816
  Args: never;
@@ -37364,6 +38823,31 @@ export type Database = {
37364
38823
  station_name: string;
37365
38824
  waiting: number;
37366
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
+ }[];
37367
38851
  };
37368
38852
  pick_station_print_plek: {
37369
38853
  Args: {
@@ -37374,6 +38858,16 @@ export type Database = {
37374
38858
  omschrijving: string;
37375
38859
  print_plek_id: string;
37376
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
+ }[];
37377
38871
  };
37378
38872
  pick_station_print_plekken: {
37379
38873
  Args: never;
@@ -37383,6 +38877,16 @@ export type Database = {
37383
38877
  print_plek_id: string;
37384
38878
  station_id: string;
37385
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
+ }[];
37386
38890
  };
37387
38891
  pick_station_slugify: {
37388
38892
  Args: {
@@ -37402,20 +38906,49 @@ export type Database = {
37402
38906
  _day: string;
37403
38907
  };
37404
38908
  Returns: Json;
38909
+ } | {
38910
+ Args: {
38911
+ _day: string;
38912
+ p_device_key: string;
38913
+ };
38914
+ Returns: Json;
37405
38915
  };
37406
38916
  pick_sync_queue_throttled: {
37407
38917
  Args: {
37408
38918
  _min_seconds?: number;
37409
38919
  };
37410
38920
  Returns: Json;
38921
+ } | {
38922
+ Args: {
38923
+ _min_seconds?: number;
38924
+ p_device_key: string;
38925
+ };
38926
+ Returns: Json;
37411
38927
  };
37412
38928
  pick_verify_rows: {
37413
38929
  Args: {
37414
38930
  _rows: Json;
37415
38931
  };
37416
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;
37417
38943
  };
37418
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
+ } | {
37419
38952
  Args: {
37420
38953
  p_order_id: string;
37421
38954
  p_slug: string;
@@ -37423,13 +38956,34 @@ export type Database = {
37423
38956
  Returns: Json;
37424
38957
  };
37425
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
+ } | {
37426
38966
  Args: {
37427
38967
  p_cart_id: string;
37428
38968
  p_slug: string;
37429
38969
  };
37430
38970
  Returns: Json;
37431
38971
  };
38972
+ pickstation_device_status: {
38973
+ Args: {
38974
+ p_device_key: string;
38975
+ p_slug: string;
38976
+ };
38977
+ Returns: Json;
38978
+ };
37432
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
+ } | {
37433
38987
  Args: {
37434
38988
  p_queue_item_id: string;
37435
38989
  p_slug: string;
@@ -37439,33 +38993,184 @@ export type Database = {
37439
38993
  pickstation_get_orders_raw: {
37440
38994
  Args: never;
37441
38995
  Returns: Json;
38996
+ } | {
38997
+ Args: {
38998
+ p_device_key: string;
38999
+ };
39000
+ Returns: Json;
37442
39001
  };
37443
39002
  pickstation_get_planning_context: {
37444
39003
  Args: never;
37445
39004
  Returns: Json;
39005
+ } | {
39006
+ Args: {
39007
+ p_device_key: string;
39008
+ };
39009
+ Returns: Json;
37446
39010
  };
37447
39011
  pickstation_get_settings: {
37448
39012
  Args: never;
37449
39013
  Returns: Json;
39014
+ } | {
39015
+ Args: {
39016
+ p_device_key: string;
39017
+ };
39018
+ Returns: Json;
37450
39019
  };
37451
39020
  pickstation_log_print: {
37452
39021
  Args: {
37453
39022
  p_customer_name: string;
39023
+ p_device_key: string;
37454
39024
  p_documents: string[];
37455
39025
  p_ip_address: string;
37456
39026
  p_order_id: string;
37457
39027
  p_order_number: string;
37458
39028
  };
37459
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;
37460
39141
  };
37461
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
+ } | {
37462
39150
  Args: {
37463
39151
  p_order_id: string;
37464
39152
  p_slug: string;
37465
39153
  };
37466
39154
  Returns: Json;
37467
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
+ };
37468
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
+ } | {
37469
39174
  Args: {
37470
39175
  p_sales_order_ids: string[];
37471
39176
  };
@@ -37484,6 +39189,13 @@ export type Database = {
37484
39189
  Returns: undefined;
37485
39190
  };
37486
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
+ } | {
37487
39199
  Args: {
37488
39200
  p_cart_id: string;
37489
39201
  p_slug: string;
@@ -37491,6 +39203,14 @@ export type Database = {
37491
39203
  Returns: Json;
37492
39204
  };
37493
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
+ } | {
37494
39214
  Args: {
37495
39215
  p_cart_id: string;
37496
39216
  p_reden?: string;
@@ -38097,6 +39817,13 @@ export type Database = {
38097
39817
  Args: never;
38098
39818
  Returns: undefined;
38099
39819
  };
39820
+ refresh_floricode_derived_code_list_batch: {
39821
+ Args: {
39822
+ p_limit?: number;
39823
+ p_list: string;
39824
+ };
39825
+ Returns: Json;
39826
+ };
38100
39827
  refresh_floricode_derived_code_lists: {
38101
39828
  Args: never;
38102
39829
  Returns: {
@@ -38229,6 +39956,10 @@ export type Database = {
38229
39956
  };
38230
39957
  Returns: string;
38231
39958
  };
39959
+ restart_floricode_derived_code_lists: {
39960
+ Args: never;
39961
+ Returns: undefined;
39962
+ };
38232
39963
  retry_offer_orders: {
38233
39964
  Args: never;
38234
39965
  Returns: number;
@@ -38335,7 +40066,46 @@ export type Database = {
38335
40066
  };
38336
40067
  Returns: Json;
38337
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
+ };
38338
40102
  scan_cancel_kar: {
40103
+ Args: {
40104
+ p_device_key: string;
40105
+ p_kar_id: string;
40106
+ };
40107
+ Returns: Json;
40108
+ } | {
38339
40109
  Args: {
38340
40110
  p_kar_id: string;
38341
40111
  };
@@ -38349,8 +40119,24 @@ export type Database = {
38349
40119
  p_scanner_id?: string;
38350
40120
  };
38351
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;
38352
40131
  };
38353
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
+ } | {
38354
40140
  Args: {
38355
40141
  p_pin: string;
38356
40142
  p_scanner_id: string;
@@ -38370,20 +40156,51 @@ export type Database = {
38370
40156
  p_scanner_id?: string;
38371
40157
  };
38372
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;
38373
40167
  };
38374
40168
  scan_finish_kar: {
40169
+ Args: {
40170
+ p_device_key: string;
40171
+ p_kar_id: string;
40172
+ };
40173
+ Returns: Json;
40174
+ } | {
38375
40175
  Args: {
38376
40176
  p_kar_id: string;
38377
40177
  };
38378
40178
  Returns: Json;
38379
40179
  };
38380
40180
  scan_heeft_pincode: {
40181
+ Args: {
40182
+ p_device_key: string;
40183
+ p_scanner_id: string;
40184
+ };
40185
+ Returns: boolean;
40186
+ } | {
38381
40187
  Args: {
38382
40188
  p_scanner_id: string;
38383
40189
  };
38384
40190
  Returns: boolean;
38385
40191
  };
40192
+ scan_install_check: {
40193
+ Args: never;
40194
+ Returns: Json;
40195
+ };
38386
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
+ } | {
38387
40204
  Args: {
38388
40205
  p_allow_reprint?: boolean;
38389
40206
  p_sessie_id: string;
@@ -38402,11 +40219,25 @@ export type Database = {
38402
40219
  result: string;
38403
40220
  }[];
38404
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
+ };
38405
40230
  scan_kar_regels: {
38406
40231
  Args: {
38407
40232
  p_cart_id: string;
38408
40233
  };
38409
40234
  Returns: Json;
40235
+ } | {
40236
+ Args: {
40237
+ p_cart_id: string;
40238
+ p_device_key: string;
40239
+ };
40240
+ Returns: Json;
38410
40241
  };
38411
40242
  scan_kar_voortgang: {
38412
40243
  Args: {
@@ -38415,6 +40246,20 @@ export type Database = {
38415
40246
  p_slug?: string;
38416
40247
  };
38417
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;
38418
40263
  };
38419
40264
  scan_log_code: {
38420
40265
  Args: {
@@ -38427,14 +40272,38 @@ export type Database = {
38427
40272
  p_scanner_key?: string;
38428
40273
  };
38429
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;
38430
40287
  };
38431
40288
  scan_open_pakbonnen: {
38432
40289
  Args: {
38433
40290
  p_dagen?: number;
38434
40291
  };
38435
40292
  Returns: Json;
40293
+ } | {
40294
+ Args: {
40295
+ p_dagen?: number;
40296
+ p_device_key: string;
40297
+ };
40298
+ Returns: Json;
38436
40299
  };
38437
40300
  scan_order_klant: {
40301
+ Args: {
40302
+ p_device_key: string;
40303
+ p_order_id: string;
40304
+ };
40305
+ Returns: Json;
40306
+ } | {
38438
40307
  Args: {
38439
40308
  p_order_id: string;
38440
40309
  };
@@ -38445,6 +40314,12 @@ export type Database = {
38445
40314
  p_barcode: string;
38446
40315
  };
38447
40316
  Returns: Json;
40317
+ } | {
40318
+ Args: {
40319
+ p_barcode: string;
40320
+ p_device_key: string;
40321
+ };
40322
+ Returns: Json;
38448
40323
  };
38449
40324
  scan_pakbon_opnieuw: {
38450
40325
  Args: {
@@ -38452,17 +40327,60 @@ export type Database = {
38452
40327
  p_scanner_id?: string;
38453
40328
  };
38454
40329
  Returns: Json;
40330
+ } | {
40331
+ Args: {
40332
+ p_barcode: string;
40333
+ p_device_key: string;
40334
+ p_scanner_id?: string;
40335
+ };
40336
+ Returns: Json;
38455
40337
  };
38456
40338
  scan_pakbon_toevoegen: {
38457
40339
  Args: {
38458
40340
  p_barcode: string;
40341
+ p_device_key: string;
38459
40342
  p_medewerker?: string;
38460
40343
  p_regels?: Json;
38461
40344
  p_scanner_id: string;
38462
40345
  };
38463
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;
38464
40375
  };
38465
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
+ } | {
38466
40384
  Args: {
38467
40385
  p_printer_id?: string;
38468
40386
  p_restpakbon_id: string;
@@ -38475,7 +40393,21 @@ export type Database = {
38475
40393
  };
38476
40394
  Returns: Json;
38477
40395
  };
40396
+ scan_printers: {
40397
+ Args: {
40398
+ p_device_key: string;
40399
+ };
40400
+ Returns: Json;
40401
+ };
38478
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
+ } | {
38479
40411
  Args: {
38480
40412
  p_kar_id: string;
38481
40413
  p_pakbon_item_id: string;
@@ -38486,20 +40418,51 @@ export type Database = {
38486
40418
  scan_release_expired_locks: {
38487
40419
  Args: never;
38488
40420
  Returns: Json;
40421
+ } | {
40422
+ Args: {
40423
+ p_device_key: string;
40424
+ };
40425
+ Returns: Json;
38489
40426
  };
38490
40427
  scan_remove_item: {
40428
+ Args: {
40429
+ p_device_key: string;
40430
+ p_kar_item_id: string;
40431
+ };
40432
+ Returns: Json;
40433
+ } | {
38491
40434
  Args: {
38492
40435
  p_kar_item_id: string;
38493
40436
  };
38494
40437
  Returns: Json;
38495
40438
  };
40439
+ scan_resolve: {
40440
+ Args: {
40441
+ p_code: string;
40442
+ p_device_key: string;
40443
+ };
40444
+ Returns: Json;
40445
+ };
38496
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
+ } | {
38497
40454
  Args: {
38498
40455
  p_id: string;
38499
40456
  p_print_job_id?: string;
38500
40457
  };
38501
40458
  Returns: undefined;
38502
40459
  };
40460
+ scan_role_allowed: {
40461
+ Args: {
40462
+ p_level: string;
40463
+ };
40464
+ Returns: boolean;
40465
+ };
38503
40466
  scan_scanner_info: {
38504
40467
  Args: {
38505
40468
  p_slug: string;
@@ -38517,18 +40480,40 @@ export type Database = {
38517
40480
  }[];
38518
40481
  };
38519
40482
  scan_sessie_annuleren: {
40483
+ Args: {
40484
+ p_device_key: string;
40485
+ p_sessie_id: string;
40486
+ };
40487
+ Returns: undefined;
40488
+ } | {
38520
40489
  Args: {
38521
40490
  p_sessie_id: string;
38522
40491
  };
38523
40492
  Returns: undefined;
38524
40493
  };
38525
40494
  scan_sessie_open: {
40495
+ Args: {
40496
+ p_device_key: string;
40497
+ p_scanner_id: string;
40498
+ };
40499
+ Returns: Json;
40500
+ } | {
38526
40501
  Args: {
38527
40502
  p_scanner_id: string;
38528
40503
  };
38529
40504
  Returns: Json;
38530
40505
  };
38531
40506
  scan_start_kar: {
40507
+ Args: {
40508
+ p_device_key: string;
40509
+ p_medewerker_id?: string;
40510
+ p_medewerker_naam?: string;
40511
+ p_pakbon_ids: string[];
40512
+ p_scanner_key?: string;
40513
+ p_sessie?: string;
40514
+ };
40515
+ Returns: Json;
40516
+ } | {
38532
40517
  Args: {
38533
40518
  p_medewerker_id?: string;
38534
40519
  p_medewerker_naam?: string;
@@ -39828,6 +41813,12 @@ export type Database = {
39828
41813
  };
39829
41814
  Returns: undefined;
39830
41815
  };
41816
+ verkoop_correctie_verpakking: {
41817
+ Args: {
41818
+ p_uitvoeren?: boolean;
41819
+ };
41820
+ Returns: Json;
41821
+ };
39831
41822
  verkoop_create_order: {
39832
41823
  Args: {
39833
41824
  p_accept_late_signup?: boolean;