@flowselections/floriday-klanten-module 1.0.69 → 1.0.72

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;
@@ -12453,6 +12501,33 @@ export type Database = {
12453
12501
  };
12454
12502
  Relationships: [];
12455
12503
  };
12504
+ logistics_belading_waarschuwingen: {
12505
+ Row: {
12506
+ created_at: string;
12507
+ id: string;
12508
+ order_id: string;
12509
+ sleutel: string;
12510
+ tekst: string;
12511
+ updated_at: string;
12512
+ };
12513
+ Insert: {
12514
+ created_at?: string;
12515
+ id?: string;
12516
+ order_id: string;
12517
+ sleutel: string;
12518
+ tekst: string;
12519
+ updated_at?: string;
12520
+ };
12521
+ Update: {
12522
+ created_at?: string;
12523
+ id?: string;
12524
+ order_id?: string;
12525
+ sleutel?: string;
12526
+ tekst?: string;
12527
+ updated_at?: string;
12528
+ };
12529
+ Relationships: [];
12530
+ };
12456
12531
  logistics_capacity_alerts: {
12457
12532
  Row: {
12458
12533
  available_minutes: number;
@@ -12827,6 +12902,36 @@ export type Database = {
12827
12902
  };
12828
12903
  Relationships: [];
12829
12904
  };
12905
+ logistics_correctie_log: {
12906
+ Row: {
12907
+ correctie: string;
12908
+ created_at: string;
12909
+ id: string;
12910
+ nieuw: Json | null;
12911
+ object_id: string | null;
12912
+ omschrijving: string | null;
12913
+ oud: Json | null;
12914
+ };
12915
+ Insert: {
12916
+ correctie: string;
12917
+ created_at?: string;
12918
+ id?: string;
12919
+ nieuw?: Json | null;
12920
+ object_id?: string | null;
12921
+ omschrijving?: string | null;
12922
+ oud?: Json | null;
12923
+ };
12924
+ Update: {
12925
+ correctie?: string;
12926
+ created_at?: string;
12927
+ id?: string;
12928
+ nieuw?: Json | null;
12929
+ object_id?: string | null;
12930
+ omschrijving?: string | null;
12931
+ oud?: Json | null;
12932
+ };
12933
+ Relationships: [];
12934
+ };
12830
12935
  logistics_decisions: {
12831
12936
  Row: {
12832
12937
  created_at: string;
@@ -13381,6 +13486,54 @@ export type Database = {
13381
13486
  }
13382
13487
  ];
13383
13488
  };
13489
+ logistics_index_log: {
13490
+ Row: {
13491
+ aangemaakt_at: string;
13492
+ duur_ms: number | null;
13493
+ index_naam: string;
13494
+ rijen: number | null;
13495
+ tabel: string;
13496
+ };
13497
+ Insert: {
13498
+ aangemaakt_at?: string;
13499
+ duur_ms?: number | null;
13500
+ index_naam: string;
13501
+ rijen?: number | null;
13502
+ tabel: string;
13503
+ };
13504
+ Update: {
13505
+ aangemaakt_at?: string;
13506
+ duur_ms?: number | null;
13507
+ index_naam?: string;
13508
+ rijen?: number | null;
13509
+ tabel?: string;
13510
+ };
13511
+ Relationships: [];
13512
+ };
13513
+ logistics_kick_log: {
13514
+ Row: {
13515
+ id: number;
13516
+ kicked_at: string;
13517
+ request_id: number | null;
13518
+ round_started_at: string | null;
13519
+ skipped_reason: string | null;
13520
+ };
13521
+ Insert: {
13522
+ id?: number;
13523
+ kicked_at?: string;
13524
+ request_id?: number | null;
13525
+ round_started_at?: string | null;
13526
+ skipped_reason?: string | null;
13527
+ };
13528
+ Update: {
13529
+ id?: number;
13530
+ kicked_at?: string;
13531
+ request_id?: number | null;
13532
+ round_started_at?: string | null;
13533
+ skipped_reason?: string | null;
13534
+ };
13535
+ Relationships: [];
13536
+ };
13384
13537
  logistics_layer_override_log: {
13385
13538
  Row: {
13386
13539
  cart_id: string;
@@ -14425,6 +14578,90 @@ export type Database = {
14425
14578
  }
14426
14579
  ];
14427
14580
  };
14581
+ logistics_schedule_fp: {
14582
+ Row: {
14583
+ fp: string;
14584
+ ingepland_at: string;
14585
+ order_ref: string;
14586
+ };
14587
+ Insert: {
14588
+ fp: string;
14589
+ ingepland_at?: string;
14590
+ order_ref: string;
14591
+ };
14592
+ Update: {
14593
+ fp?: string;
14594
+ ingepland_at?: string;
14595
+ order_ref?: string;
14596
+ };
14597
+ Relationships: [];
14598
+ };
14599
+ logistics_schedule_voortgang: {
14600
+ Row: {
14601
+ bijgewerkt_at: string | null;
14602
+ duur_ms: number | null;
14603
+ fouten: number;
14604
+ gestart_at: string | null;
14605
+ id: boolean;
14606
+ ingepland: number;
14607
+ klaar: boolean;
14608
+ laatste_fout: string | null;
14609
+ overgeslagen: number;
14610
+ run_id: string | null;
14611
+ totaal: number;
14612
+ verwerkt: number;
14613
+ };
14614
+ Insert: {
14615
+ bijgewerkt_at?: string | null;
14616
+ duur_ms?: number | null;
14617
+ fouten?: number;
14618
+ gestart_at?: string | null;
14619
+ id?: boolean;
14620
+ ingepland?: number;
14621
+ klaar?: boolean;
14622
+ laatste_fout?: string | null;
14623
+ overgeslagen?: number;
14624
+ run_id?: string | null;
14625
+ totaal?: number;
14626
+ verwerkt?: number;
14627
+ };
14628
+ Update: {
14629
+ bijgewerkt_at?: string | null;
14630
+ duur_ms?: number | null;
14631
+ fouten?: number;
14632
+ gestart_at?: string | null;
14633
+ id?: boolean;
14634
+ ingepland?: number;
14635
+ klaar?: boolean;
14636
+ laatste_fout?: string | null;
14637
+ overgeslagen?: number;
14638
+ run_id?: string | null;
14639
+ totaal?: number;
14640
+ verwerkt?: number;
14641
+ };
14642
+ Relationships: [];
14643
+ };
14644
+ logistics_schedule_werklijst: {
14645
+ Row: {
14646
+ order_ref: string;
14647
+ run_id: string;
14648
+ uitkomst: string | null;
14649
+ verwerkt_at: string | null;
14650
+ };
14651
+ Insert: {
14652
+ order_ref: string;
14653
+ run_id: string;
14654
+ uitkomst?: string | null;
14655
+ verwerkt_at?: string | null;
14656
+ };
14657
+ Update: {
14658
+ order_ref?: string;
14659
+ run_id?: string;
14660
+ uitkomst?: string | null;
14661
+ verwerkt_at?: string | null;
14662
+ };
14663
+ Relationships: [];
14664
+ };
14428
14665
  logistics_shipping_note_scan: {
14429
14666
  Row: {
14430
14667
  barcode: string;
@@ -15019,6 +15256,24 @@ export type Database = {
15019
15256
  };
15020
15257
  Relationships: [];
15021
15258
  };
15259
+ logistics_tick_state: {
15260
+ Row: {
15261
+ key: string;
15262
+ updated_at: string;
15263
+ value: Json;
15264
+ };
15265
+ Insert: {
15266
+ key: string;
15267
+ updated_at?: string;
15268
+ value?: Json;
15269
+ };
15270
+ Update: {
15271
+ key?: string;
15272
+ updated_at?: string;
15273
+ value?: Json;
15274
+ };
15275
+ Relationships: [];
15276
+ };
15022
15277
  logistics_time_settings: {
15023
15278
  Row: {
15024
15279
  departure_rule_since: string | null;
@@ -15322,6 +15577,39 @@ export type Database = {
15322
15577
  };
15323
15578
  Relationships: [];
15324
15579
  };
15580
+ logistics_zonder_kar_pogingen: {
15581
+ Row: {
15582
+ created_at: string;
15583
+ gemeld_at: string | null;
15584
+ laatste_poging_at: string | null;
15585
+ opgelost_at: string | null;
15586
+ order_id: string;
15587
+ order_number: string | null;
15588
+ pogingen: number;
15589
+ updated_at: string;
15590
+ };
15591
+ Insert: {
15592
+ created_at?: string;
15593
+ gemeld_at?: string | null;
15594
+ laatste_poging_at?: string | null;
15595
+ opgelost_at?: string | null;
15596
+ order_id: string;
15597
+ order_number?: string | null;
15598
+ pogingen?: number;
15599
+ updated_at?: string;
15600
+ };
15601
+ Update: {
15602
+ created_at?: string;
15603
+ gemeld_at?: string | null;
15604
+ laatste_poging_at?: string | null;
15605
+ opgelost_at?: string | null;
15606
+ order_id?: string;
15607
+ order_number?: string | null;
15608
+ pogingen?: number;
15609
+ updated_at?: string;
15610
+ };
15611
+ Relationships: [];
15612
+ };
15325
15613
  mailbox_ai_goal_prompts: {
15326
15614
  Row: {
15327
15615
  created_at: string;
@@ -16995,6 +17283,7 @@ export type Database = {
16995
17283
  sort_order: number;
16996
17284
  sticker_available: boolean;
16997
17285
  sticker_cost: number | null;
17286
+ zero_price_confirmed: boolean;
16998
17287
  };
16999
17288
  Insert: {
17000
17289
  available_stock?: number;
@@ -17014,6 +17303,7 @@ export type Database = {
17014
17303
  sort_order?: number;
17015
17304
  sticker_available?: boolean;
17016
17305
  sticker_cost?: number | null;
17306
+ zero_price_confirmed?: boolean;
17017
17307
  };
17018
17308
  Update: {
17019
17309
  available_stock?: number;
@@ -17033,6 +17323,7 @@ export type Database = {
17033
17323
  sort_order?: number;
17034
17324
  sticker_available?: boolean;
17035
17325
  sticker_cost?: number | null;
17326
+ zero_price_confirmed?: boolean;
17036
17327
  };
17037
17328
  Relationships: [
17038
17329
  {
@@ -17058,6 +17349,7 @@ export type Database = {
17058
17349
  status: string;
17059
17350
  subject: string;
17060
17351
  updated_at: string;
17352
+ valid_until: string | null;
17061
17353
  };
17062
17354
  Insert: {
17063
17355
  created_at?: string;
@@ -17072,6 +17364,7 @@ export type Database = {
17072
17364
  status?: string;
17073
17365
  subject: string;
17074
17366
  updated_at?: string;
17367
+ valid_until?: string | null;
17075
17368
  };
17076
17369
  Update: {
17077
17370
  created_at?: string;
@@ -17086,6 +17379,7 @@ export type Database = {
17086
17379
  status?: string;
17087
17380
  subject?: string;
17088
17381
  updated_at?: string;
17382
+ valid_until?: string | null;
17089
17383
  };
17090
17384
  Relationships: [];
17091
17385
  };
@@ -17134,6 +17428,8 @@ export type Database = {
17134
17428
  offer_orders: {
17135
17429
  Row: {
17136
17430
  campaign_id: string;
17431
+ carrier_warning: string | null;
17432
+ carrier_warning_at: string | null;
17137
17433
  created_at: string;
17138
17434
  customer_email: string;
17139
17435
  customer_id: string | null;
@@ -17142,6 +17438,9 @@ export type Database = {
17142
17438
  id: string;
17143
17439
  items: Json;
17144
17440
  notes: string | null;
17441
+ office_notification_at: string | null;
17442
+ office_notification_reason: string | null;
17443
+ office_notification_status: string | null;
17145
17444
  order_creation_attempts: number;
17146
17445
  order_creation_error: string | null;
17147
17446
  order_creation_failed_at: string | null;
@@ -17153,6 +17452,8 @@ export type Database = {
17153
17452
  };
17154
17453
  Insert: {
17155
17454
  campaign_id: string;
17455
+ carrier_warning?: string | null;
17456
+ carrier_warning_at?: string | null;
17156
17457
  created_at?: string;
17157
17458
  customer_email: string;
17158
17459
  customer_id?: string | null;
@@ -17161,6 +17462,9 @@ export type Database = {
17161
17462
  id?: string;
17162
17463
  items?: Json;
17163
17464
  notes?: string | null;
17465
+ office_notification_at?: string | null;
17466
+ office_notification_reason?: string | null;
17467
+ office_notification_status?: string | null;
17164
17468
  order_creation_attempts?: number;
17165
17469
  order_creation_error?: string | null;
17166
17470
  order_creation_failed_at?: string | null;
@@ -17172,6 +17476,8 @@ export type Database = {
17172
17476
  };
17173
17477
  Update: {
17174
17478
  campaign_id?: string;
17479
+ carrier_warning?: string | null;
17480
+ carrier_warning_at?: string | null;
17175
17481
  created_at?: string;
17176
17482
  customer_email?: string;
17177
17483
  customer_id?: string | null;
@@ -17180,6 +17486,9 @@ export type Database = {
17180
17486
  id?: string;
17181
17487
  items?: Json;
17182
17488
  notes?: string | null;
17489
+ office_notification_at?: string | null;
17490
+ office_notification_reason?: string | null;
17491
+ office_notification_status?: string | null;
17183
17492
  order_creation_attempts?: number;
17184
17493
  order_creation_error?: string | null;
17185
17494
  order_creation_failed_at?: string | null;
@@ -17432,6 +17741,7 @@ export type Database = {
17432
17741
  crates_per_layer: number;
17433
17742
  created_at: string;
17434
17743
  id: string;
17744
+ lagen: number | null;
17435
17745
  layer_fraction: number;
17436
17746
  layer_index: number | null;
17437
17747
  layer_share_pct: number;
@@ -17451,6 +17761,7 @@ export type Database = {
17451
17761
  crates_per_layer?: number;
17452
17762
  created_at?: string;
17453
17763
  id?: string;
17764
+ lagen?: number | null;
17454
17765
  layer_fraction?: number;
17455
17766
  layer_index?: number | null;
17456
17767
  layer_share_pct?: number;
@@ -17470,6 +17781,7 @@ export type Database = {
17470
17781
  crates_per_layer?: number;
17471
17782
  created_at?: string;
17472
17783
  id?: string;
17784
+ lagen?: number | null;
17473
17785
  layer_fraction?: number;
17474
17786
  layer_index?: number | null;
17475
17787
  layer_share_pct?: number;
@@ -18852,6 +19164,74 @@ export type Database = {
18852
19164
  }
18853
19165
  ];
18854
19166
  };
19167
+ pick_settings: {
19168
+ Row: {
19169
+ created_at: string;
19170
+ device_key_required: boolean;
19171
+ id: boolean;
19172
+ updated_at: string;
19173
+ };
19174
+ Insert: {
19175
+ created_at?: string;
19176
+ device_key_required?: boolean;
19177
+ id?: boolean;
19178
+ updated_at?: string;
19179
+ };
19180
+ Update: {
19181
+ created_at?: string;
19182
+ device_key_required?: boolean;
19183
+ id?: boolean;
19184
+ updated_at?: string;
19185
+ };
19186
+ Relationships: [];
19187
+ };
19188
+ pick_station_devices: {
19189
+ Row: {
19190
+ aangemaakt_door: string | null;
19191
+ created_at: string;
19192
+ id: string;
19193
+ ingetrokken_door: string | null;
19194
+ ingetrokken_op: string | null;
19195
+ key_hash: string;
19196
+ laatst_gezien: string | null;
19197
+ naam: string | null;
19198
+ station_id: string;
19199
+ updated_at: string;
19200
+ };
19201
+ Insert: {
19202
+ aangemaakt_door?: string | null;
19203
+ created_at?: string;
19204
+ id?: string;
19205
+ ingetrokken_door?: string | null;
19206
+ ingetrokken_op?: string | null;
19207
+ key_hash: string;
19208
+ laatst_gezien?: string | null;
19209
+ naam?: string | null;
19210
+ station_id: string;
19211
+ updated_at?: string;
19212
+ };
19213
+ Update: {
19214
+ aangemaakt_door?: string | null;
19215
+ created_at?: string;
19216
+ id?: string;
19217
+ ingetrokken_door?: string | null;
19218
+ ingetrokken_op?: string | null;
19219
+ key_hash?: string;
19220
+ laatst_gezien?: string | null;
19221
+ naam?: string | null;
19222
+ station_id?: string;
19223
+ updated_at?: string;
19224
+ };
19225
+ Relationships: [
19226
+ {
19227
+ foreignKeyName: "pick_station_devices_station_id_fkey";
19228
+ columns: ["station_id"];
19229
+ isOneToOne: false;
19230
+ referencedRelation: "pick_stations";
19231
+ referencedColumns: ["id"];
19232
+ }
19233
+ ];
19234
+ };
18855
19235
  pick_station_heartbeats: {
18856
19236
  Row: {
18857
19237
  browser: string | null;
@@ -18984,6 +19364,53 @@ export type Database = {
18984
19364
  };
18985
19365
  Relationships: [];
18986
19366
  };
19367
+ pick_station_pair_codes: {
19368
+ Row: {
19369
+ aangemaakt_door: string | null;
19370
+ code_hash: string;
19371
+ created_at: string;
19372
+ device_id: string | null;
19373
+ gebruikt_op: string | null;
19374
+ geldig_tot: string;
19375
+ id: string;
19376
+ pogingen: number;
19377
+ station_id: string;
19378
+ vervallen_op: string | null;
19379
+ };
19380
+ Insert: {
19381
+ aangemaakt_door?: string | null;
19382
+ code_hash: string;
19383
+ created_at?: string;
19384
+ device_id?: string | null;
19385
+ gebruikt_op?: string | null;
19386
+ geldig_tot: string;
19387
+ id?: string;
19388
+ pogingen?: number;
19389
+ station_id: string;
19390
+ vervallen_op?: string | null;
19391
+ };
19392
+ Update: {
19393
+ aangemaakt_door?: string | null;
19394
+ code_hash?: string;
19395
+ created_at?: string;
19396
+ device_id?: string | null;
19397
+ gebruikt_op?: string | null;
19398
+ geldig_tot?: string;
19399
+ id?: string;
19400
+ pogingen?: number;
19401
+ station_id?: string;
19402
+ vervallen_op?: string | null;
19403
+ };
19404
+ Relationships: [
19405
+ {
19406
+ foreignKeyName: "pick_station_pair_codes_station_id_fkey";
19407
+ columns: ["station_id"];
19408
+ isOneToOne: false;
19409
+ referencedRelation: "pick_stations";
19410
+ referencedColumns: ["id"];
19411
+ }
19412
+ ];
19413
+ };
18987
19414
  pick_station_permissions: {
18988
19415
  Row: {
18989
19416
  can_break_lock: boolean;
@@ -19155,6 +19582,29 @@ export type Database = {
19155
19582
  }
19156
19583
  ];
19157
19584
  };
19585
+ pick_station_signals: {
19586
+ Row: {
19587
+ signaal_op: string;
19588
+ station_id: string;
19589
+ };
19590
+ Insert: {
19591
+ signaal_op?: string;
19592
+ station_id: string;
19593
+ };
19594
+ Update: {
19595
+ signaal_op?: string;
19596
+ station_id?: string;
19597
+ };
19598
+ Relationships: [
19599
+ {
19600
+ foreignKeyName: "pick_station_signals_station_id_fkey";
19601
+ columns: ["station_id"];
19602
+ isOneToOne: true;
19603
+ referencedRelation: "pick_stations";
19604
+ referencedColumns: ["id"];
19605
+ }
19606
+ ];
19607
+ };
19158
19608
  pick_station_tasks: {
19159
19609
  Row: {
19160
19610
  active: boolean;
@@ -20423,12 +20873,14 @@ export type Database = {
20423
20873
  pdf_url: string | null;
20424
20874
  pogingen: number;
20425
20875
  printer_id: string | null;
20876
+ printer_keuze: Json | null;
20426
20877
  printnode_bericht: string | null;
20427
20878
  printnode_status: string | null;
20428
20879
  printnode_status_op: string | null;
20429
20880
  render_html: string | null;
20430
20881
  resultaat_pdf_base64: string | null;
20431
20882
  status: Database["public"]["Enums"]["print_job_status"];
20883
+ uitwijk: Json | null;
20432
20884
  updated_at: string;
20433
20885
  verloopt_na_s: number | null;
20434
20886
  verwerkingsfase: string;
@@ -20479,12 +20931,14 @@ export type Database = {
20479
20931
  pdf_url?: string | null;
20480
20932
  pogingen?: number;
20481
20933
  printer_id?: string | null;
20934
+ printer_keuze?: Json | null;
20482
20935
  printnode_bericht?: string | null;
20483
20936
  printnode_status?: string | null;
20484
20937
  printnode_status_op?: string | null;
20485
20938
  render_html?: string | null;
20486
20939
  resultaat_pdf_base64?: string | null;
20487
20940
  status?: Database["public"]["Enums"]["print_job_status"];
20941
+ uitwijk?: Json | null;
20488
20942
  updated_at?: string;
20489
20943
  verloopt_na_s?: number | null;
20490
20944
  verwerkingsfase?: string;
@@ -20535,12 +20989,14 @@ export type Database = {
20535
20989
  pdf_url?: string | null;
20536
20990
  pogingen?: number;
20537
20991
  printer_id?: string | null;
20992
+ printer_keuze?: Json | null;
20538
20993
  printnode_bericht?: string | null;
20539
20994
  printnode_status?: string | null;
20540
20995
  printnode_status_op?: string | null;
20541
20996
  render_html?: string | null;
20542
20997
  resultaat_pdf_base64?: string | null;
20543
20998
  status?: Database["public"]["Enums"]["print_job_status"];
20999
+ uitwijk?: Json | null;
20544
21000
  updated_at?: string;
20545
21001
  verloopt_na_s?: number | null;
20546
21002
  verwerkingsfase?: string;
@@ -20691,6 +21147,7 @@ export type Database = {
20691
21147
  };
20692
21148
  print_plekken: {
20693
21149
  Row: {
21150
+ a4_stickervel: Json | null;
20694
21151
  actief: boolean;
20695
21152
  created_at: string;
20696
21153
  id: string;
@@ -20699,6 +21156,7 @@ export type Database = {
20699
21156
  updated_at: string;
20700
21157
  };
20701
21158
  Insert: {
21159
+ a4_stickervel?: Json | null;
20702
21160
  actief?: boolean;
20703
21161
  created_at?: string;
20704
21162
  id?: string;
@@ -20707,6 +21165,7 @@ export type Database = {
20707
21165
  updated_at?: string;
20708
21166
  };
20709
21167
  Update: {
21168
+ a4_stickervel?: Json | null;
20710
21169
  actief?: boolean;
20711
21170
  created_at?: string;
20712
21171
  id?: string;
@@ -20867,7 +21326,9 @@ export type Database = {
20867
21326
  created_at: string;
20868
21327
  dubbel_venster_minuten: number;
20869
21328
  id: string;
21329
+ tick_timeout_ms: number | null;
20870
21330
  updated_at: string;
21331
+ vervallen_fase_seconden: number | null;
20871
21332
  };
20872
21333
  Insert: {
20873
21334
  bewaar_bestanden_dagen?: number;
@@ -20875,7 +21336,9 @@ export type Database = {
20875
21336
  created_at?: string;
20876
21337
  dubbel_venster_minuten?: number;
20877
21338
  id?: string;
21339
+ tick_timeout_ms?: number | null;
20878
21340
  updated_at?: string;
21341
+ vervallen_fase_seconden?: number | null;
20879
21342
  };
20880
21343
  Update: {
20881
21344
  bewaar_bestanden_dagen?: number;
@@ -20883,7 +21346,9 @@ export type Database = {
20883
21346
  created_at?: string;
20884
21347
  dubbel_venster_minuten?: number;
20885
21348
  id?: string;
21349
+ tick_timeout_ms?: number | null;
20886
21350
  updated_at?: string;
21351
+ vervallen_fase_seconden?: number | null;
20887
21352
  };
20888
21353
  Relationships: [];
20889
21354
  };
@@ -23106,6 +23571,107 @@ export type Database = {
23106
23571
  };
23107
23572
  Relationships: [];
23108
23573
  };
23574
+ scan_apparaat_koppelcodes: {
23575
+ Row: {
23576
+ aangemaakt_door: string | null;
23577
+ apparaat_id: string | null;
23578
+ code_hash: string;
23579
+ created_at: string;
23580
+ gebruikt_op: string | null;
23581
+ geldig_tot: string;
23582
+ id: string;
23583
+ pogingen: number;
23584
+ scanner_id: string;
23585
+ vervallen_op: string | null;
23586
+ };
23587
+ Insert: {
23588
+ aangemaakt_door?: string | null;
23589
+ apparaat_id?: string | null;
23590
+ code_hash: string;
23591
+ created_at?: string;
23592
+ gebruikt_op?: string | null;
23593
+ geldig_tot: string;
23594
+ id?: string;
23595
+ pogingen?: number;
23596
+ scanner_id: string;
23597
+ vervallen_op?: string | null;
23598
+ };
23599
+ Update: {
23600
+ aangemaakt_door?: string | null;
23601
+ apparaat_id?: string | null;
23602
+ code_hash?: string;
23603
+ created_at?: string;
23604
+ gebruikt_op?: string | null;
23605
+ geldig_tot?: string;
23606
+ id?: string;
23607
+ pogingen?: number;
23608
+ scanner_id?: string;
23609
+ vervallen_op?: string | null;
23610
+ };
23611
+ Relationships: [
23612
+ {
23613
+ foreignKeyName: "scan_apparaat_koppelcodes_apparaat_id_fkey";
23614
+ columns: ["apparaat_id"];
23615
+ isOneToOne: false;
23616
+ referencedRelation: "scan_apparaten";
23617
+ referencedColumns: ["id"];
23618
+ },
23619
+ {
23620
+ foreignKeyName: "scan_apparaat_koppelcodes_scanner_id_fkey";
23621
+ columns: ["scanner_id"];
23622
+ isOneToOne: false;
23623
+ referencedRelation: "scan_scanners";
23624
+ referencedColumns: ["id"];
23625
+ }
23626
+ ];
23627
+ };
23628
+ scan_apparaten: {
23629
+ Row: {
23630
+ aangemaakt_door: string | null;
23631
+ created_at: string;
23632
+ id: string;
23633
+ ingetrokken_door: string | null;
23634
+ ingetrokken_op: string | null;
23635
+ laatst_gezien: string | null;
23636
+ naam: string | null;
23637
+ scanner_id: string;
23638
+ sleutel_hash: string;
23639
+ updated_at: string;
23640
+ };
23641
+ Insert: {
23642
+ aangemaakt_door?: string | null;
23643
+ created_at?: string;
23644
+ id?: string;
23645
+ ingetrokken_door?: string | null;
23646
+ ingetrokken_op?: string | null;
23647
+ laatst_gezien?: string | null;
23648
+ naam?: string | null;
23649
+ scanner_id: string;
23650
+ sleutel_hash: string;
23651
+ updated_at?: string;
23652
+ };
23653
+ Update: {
23654
+ aangemaakt_door?: string | null;
23655
+ created_at?: string;
23656
+ id?: string;
23657
+ ingetrokken_door?: string | null;
23658
+ ingetrokken_op?: string | null;
23659
+ laatst_gezien?: string | null;
23660
+ naam?: string | null;
23661
+ scanner_id?: string;
23662
+ sleutel_hash?: string;
23663
+ updated_at?: string;
23664
+ };
23665
+ Relationships: [
23666
+ {
23667
+ foreignKeyName: "scan_apparaten_scanner_id_fkey";
23668
+ columns: ["scanner_id"];
23669
+ isOneToOne: false;
23670
+ referencedRelation: "scan_scanners";
23671
+ referencedColumns: ["id"];
23672
+ }
23673
+ ];
23674
+ };
23109
23675
  scan_kar_items: {
23110
23676
  Row: {
23111
23677
  barcode: string;
@@ -23509,6 +24075,35 @@ export type Database = {
23509
24075
  };
23510
24076
  Relationships: [];
23511
24077
  };
24078
+ scan_pin_pogingen: {
24079
+ Row: {
24080
+ fout_pogingen: number;
24081
+ geblokkeerd_tot: string | null;
24082
+ scanner_id: string;
24083
+ updated_at: string;
24084
+ };
24085
+ Insert: {
24086
+ fout_pogingen?: number;
24087
+ geblokkeerd_tot?: string | null;
24088
+ scanner_id: string;
24089
+ updated_at?: string;
24090
+ };
24091
+ Update: {
24092
+ fout_pogingen?: number;
24093
+ geblokkeerd_tot?: string | null;
24094
+ scanner_id?: string;
24095
+ updated_at?: string;
24096
+ };
24097
+ Relationships: [
24098
+ {
24099
+ foreignKeyName: "scan_pin_pogingen_scanner_id_fkey";
24100
+ columns: ["scanner_id"];
24101
+ isOneToOne: true;
24102
+ referencedRelation: "scan_scanners";
24103
+ referencedColumns: ["id"];
24104
+ }
24105
+ ];
24106
+ };
23512
24107
  scan_restpakbonnen: {
23513
24108
  Row: {
23514
24109
  barcode: string;
@@ -25650,6 +26245,8 @@ export type Database = {
25650
26245
  twinfield_invoice_settings: {
25651
26246
  Row: {
25652
26247
  administration_code: string | null;
26248
+ auto_invoice_config_error: string | null;
26249
+ auto_invoice_config_error_at: string | null;
25653
26250
  auto_invoice_enabled: boolean;
25654
26251
  auto_invoice_start_date: string | null;
25655
26252
  auto_invoice_trigger_statuses: string[];
@@ -25679,6 +26276,8 @@ export type Database = {
25679
26276
  };
25680
26277
  Insert: {
25681
26278
  administration_code?: string | null;
26279
+ auto_invoice_config_error?: string | null;
26280
+ auto_invoice_config_error_at?: string | null;
25682
26281
  auto_invoice_enabled?: boolean;
25683
26282
  auto_invoice_start_date?: string | null;
25684
26283
  auto_invoice_trigger_statuses?: string[];
@@ -25708,6 +26307,8 @@ export type Database = {
25708
26307
  };
25709
26308
  Update: {
25710
26309
  administration_code?: string | null;
26310
+ auto_invoice_config_error?: string | null;
26311
+ auto_invoice_config_error_at?: string | null;
25711
26312
  auto_invoice_enabled?: boolean;
25712
26313
  auto_invoice_start_date?: string | null;
25713
26314
  auto_invoice_trigger_statuses?: string[];
@@ -26301,6 +26902,7 @@ export type Database = {
26301
26902
  default_language: string | null;
26302
26903
  default_language_at: string | null;
26303
26904
  default_language_source: string | null;
26905
+ hourly_call_threshold: number;
26304
26906
  nightly_full_scan_cron: string;
26305
26907
  payment_term_min_invoices: number;
26306
26908
  payment_term_min_share: number;
@@ -26341,6 +26943,7 @@ export type Database = {
26341
26943
  default_language?: string | null;
26342
26944
  default_language_at?: string | null;
26343
26945
  default_language_source?: string | null;
26946
+ hourly_call_threshold?: number;
26344
26947
  nightly_full_scan_cron?: string;
26345
26948
  payment_term_min_invoices?: number;
26346
26949
  payment_term_min_share?: number;
@@ -26381,6 +26984,7 @@ export type Database = {
26381
26984
  default_language?: string | null;
26382
26985
  default_language_at?: string | null;
26383
26986
  default_language_source?: string | null;
26987
+ hourly_call_threshold?: number;
26384
26988
  nightly_full_scan_cron?: string;
26385
26989
  payment_term_min_invoices?: number;
26386
26990
  payment_term_min_share?: number;
@@ -26449,6 +27053,7 @@ export type Database = {
26449
27053
  };
26450
27054
  twinfield_token_issue_log: {
26451
27055
  Row: {
27056
+ acting_user_id: string | null;
26452
27057
  caller_kind: string;
26453
27058
  connection_id: string | null;
26454
27059
  id: string;
@@ -26459,6 +27064,7 @@ export type Database = {
26459
27064
  user_id: string | null;
26460
27065
  };
26461
27066
  Insert: {
27067
+ acting_user_id?: string | null;
26462
27068
  caller_kind: string;
26463
27069
  connection_id?: string | null;
26464
27070
  id?: string;
@@ -26469,6 +27075,7 @@ export type Database = {
26469
27075
  user_id?: string | null;
26470
27076
  };
26471
27077
  Update: {
27078
+ acting_user_id?: string | null;
26472
27079
  caller_kind?: string;
26473
27080
  connection_id?: string | null;
26474
27081
  id?: string;
@@ -27376,6 +27983,144 @@ export type Database = {
27376
27983
  }
27377
27984
  ];
27378
27985
  };
27986
+ verkoop_correctie_log: {
27987
+ Row: {
27988
+ aantal_orders: number;
27989
+ aantal_orders_gewijzigd: number;
27990
+ aantal_overgeslagen: number;
27991
+ aantal_regels_gewijzigd: number;
27992
+ correctie: string;
27993
+ created_at: string;
27994
+ details: Json;
27995
+ door_label: string;
27996
+ id: string;
27997
+ uitgevoerd_door: string | null;
27998
+ uitgevoerd_op: string;
27999
+ uitvoeren: boolean;
28000
+ };
28001
+ Insert: {
28002
+ aantal_orders?: number;
28003
+ aantal_orders_gewijzigd?: number;
28004
+ aantal_overgeslagen?: number;
28005
+ aantal_regels_gewijzigd?: number;
28006
+ correctie: string;
28007
+ created_at?: string;
28008
+ details?: Json;
28009
+ door_label: string;
28010
+ id?: string;
28011
+ uitgevoerd_door?: string | null;
28012
+ uitgevoerd_op?: string;
28013
+ uitvoeren: boolean;
28014
+ };
28015
+ Update: {
28016
+ aantal_orders?: number;
28017
+ aantal_orders_gewijzigd?: number;
28018
+ aantal_overgeslagen?: number;
28019
+ aantal_regels_gewijzigd?: number;
28020
+ correctie?: string;
28021
+ created_at?: string;
28022
+ details?: Json;
28023
+ door_label?: string;
28024
+ id?: string;
28025
+ uitgevoerd_door?: string | null;
28026
+ uitgevoerd_op?: string;
28027
+ uitvoeren?: boolean;
28028
+ };
28029
+ Relationships: [];
28030
+ };
28031
+ verkoop_engine_event_log: {
28032
+ Row: {
28033
+ created_at: string;
28034
+ event_type: string | null;
28035
+ id: string;
28036
+ ok: boolean;
28037
+ order_id: string | null;
28038
+ reason: string | null;
28039
+ user_id: string | null;
28040
+ };
28041
+ Insert: {
28042
+ created_at?: string;
28043
+ event_type?: string | null;
28044
+ id?: string;
28045
+ ok: boolean;
28046
+ order_id?: string | null;
28047
+ reason?: string | null;
28048
+ user_id?: string | null;
28049
+ };
28050
+ Update: {
28051
+ created_at?: string;
28052
+ event_type?: string | null;
28053
+ id?: string;
28054
+ ok?: boolean;
28055
+ order_id?: string | null;
28056
+ reason?: string | null;
28057
+ user_id?: string | null;
28058
+ };
28059
+ Relationships: [];
28060
+ };
28061
+ verkoop_fulfillment_index: {
28062
+ Row: {
28063
+ changed_at: string;
28064
+ delivery_note_codes: string[];
28065
+ fulfillment_id: string;
28066
+ is_deleted: boolean;
28067
+ packages: number;
28068
+ received: boolean;
28069
+ received_at: string | null;
28070
+ sales_order_id: string;
28071
+ status: string | null;
28072
+ };
28073
+ Insert: {
28074
+ changed_at?: string;
28075
+ delivery_note_codes?: string[];
28076
+ fulfillment_id: string;
28077
+ is_deleted?: boolean;
28078
+ packages?: number;
28079
+ received?: boolean;
28080
+ received_at?: string | null;
28081
+ sales_order_id: string;
28082
+ status?: string | null;
28083
+ };
28084
+ Update: {
28085
+ changed_at?: string;
28086
+ delivery_note_codes?: string[];
28087
+ fulfillment_id?: string;
28088
+ is_deleted?: boolean;
28089
+ packages?: number;
28090
+ received?: boolean;
28091
+ received_at?: string | null;
28092
+ sales_order_id?: string;
28093
+ status?: string | null;
28094
+ };
28095
+ Relationships: [];
28096
+ };
28097
+ verkoop_sync_state: {
28098
+ Row: {
28099
+ ensure_cron_at: string | null;
28100
+ full_run_at: string | null;
28101
+ key: string;
28102
+ last_seen_at: string | null;
28103
+ rebuilt_at: string | null;
28104
+ updated_at: string;
28105
+ };
28106
+ Insert: {
28107
+ ensure_cron_at?: string | null;
28108
+ full_run_at?: string | null;
28109
+ key: string;
28110
+ last_seen_at?: string | null;
28111
+ rebuilt_at?: string | null;
28112
+ updated_at?: string;
28113
+ };
28114
+ Update: {
28115
+ ensure_cron_at?: string | null;
28116
+ full_run_at?: string | null;
28117
+ key?: string;
28118
+ last_seen_at?: string | null;
28119
+ rebuilt_at?: string | null;
28120
+ updated_at?: string;
28121
+ };
28122
+ Relationships: [];
28123
+ };
27379
28124
  voorraad_buffer_state: {
27380
28125
  Row: {
27381
28126
  buffer_id: string;
@@ -27478,6 +28223,27 @@ export type Database = {
27478
28223
  };
27479
28224
  Relationships: [];
27480
28225
  };
28226
+ voorraad_local_context: {
28227
+ Row: {
28228
+ created_at: string;
28229
+ created_by: string | null;
28230
+ id: string;
28231
+ singleton: boolean;
28232
+ };
28233
+ Insert: {
28234
+ created_at?: string;
28235
+ created_by?: string | null;
28236
+ id?: string;
28237
+ singleton?: boolean;
28238
+ };
28239
+ Update: {
28240
+ created_at?: string;
28241
+ created_by?: string | null;
28242
+ id?: string;
28243
+ singleton?: boolean;
28244
+ };
28245
+ Relationships: [];
28246
+ };
27481
28247
  voorraad_logistics_event_log: {
27482
28248
  Row: {
27483
28249
  created_at: string;
@@ -30117,6 +30883,10 @@ export type Database = {
30117
30883
  };
30118
30884
  Returns: number;
30119
30885
  };
30886
+ _floriday_write_mode_data: {
30887
+ Args: never;
30888
+ Returns: Json;
30889
+ };
30120
30890
  _jsonb_paden_met_waarde: {
30121
30891
  Args: {
30122
30892
  _j: Json;
@@ -30129,6 +30899,22 @@ export type Database = {
30129
30899
  Args: never;
30130
30900
  Returns: boolean;
30131
30901
  };
30902
+ _layouts_toegang_besluit: {
30903
+ Args: {
30904
+ p_alleen_beheer: boolean;
30905
+ p_beheerder: boolean;
30906
+ p_ingelogd: boolean;
30907
+ p_request_path: string;
30908
+ p_server: boolean;
30909
+ };
30910
+ Returns: string;
30911
+ };
30912
+ _layouts_toegang_server_of_ingelogd: {
30913
+ Args: {
30914
+ p_alleen_beheer: boolean;
30915
+ };
30916
+ Returns: undefined;
30917
+ };
30132
30918
  _migrate_rewrite_stock_key: {
30133
30919
  Args: {
30134
30920
  _from_key: string;
@@ -30136,6 +30922,13 @@ export type Database = {
30136
30922
  };
30137
30923
  Returns: undefined;
30138
30924
  };
30925
+ _pick_job_of_station: {
30926
+ Args: {
30927
+ p_job_id: string;
30928
+ p_station: string;
30929
+ };
30930
+ Returns: boolean;
30931
+ };
30139
30932
  _pick_station_for_cart: {
30140
30933
  Args: {
30141
30934
  p_cart_id: string;
@@ -30161,6 +30954,63 @@ export type Database = {
30161
30954
  };
30162
30955
  Returns: Json;
30163
30956
  };
30957
+ _scan_alleen_gekoppeld: {
30958
+ Args: never;
30959
+ Returns: boolean;
30960
+ };
30961
+ _scan_assert_beheer: {
30962
+ Args: never;
30963
+ Returns: undefined;
30964
+ };
30965
+ _scan_assert_device: {
30966
+ Args: {
30967
+ p_device_key: string;
30968
+ };
30969
+ Returns: string;
30970
+ };
30971
+ _scan_assert_legacy: {
30972
+ Args: never;
30973
+ Returns: undefined;
30974
+ };
30975
+ _scan_check_kar: {
30976
+ Args: {
30977
+ p_kar_id: string;
30978
+ v: string;
30979
+ };
30980
+ Returns: undefined;
30981
+ };
30982
+ _scan_check_scanner: {
30983
+ Args: {
30984
+ p: string;
30985
+ v: string;
30986
+ };
30987
+ Returns: string;
30988
+ };
30989
+ _scan_check_sessie: {
30990
+ Args: {
30991
+ p_sessie_id: string;
30992
+ v: string;
30993
+ };
30994
+ Returns: undefined;
30995
+ };
30996
+ _scan_floriday_stand: {
30997
+ Args: never;
30998
+ Returns: Json;
30999
+ };
31000
+ _scan_hash: {
31001
+ Args: {
31002
+ p: string;
31003
+ };
31004
+ Returns: string;
31005
+ };
31006
+ _scan_is_beheer: {
31007
+ Args: never;
31008
+ Returns: boolean;
31009
+ };
31010
+ _scan_is_server: {
31011
+ Args: never;
31012
+ Returns: boolean;
31013
+ };
30164
31014
  _scan_kar_floriday_afgehandeld: {
30165
31015
  Args: {
30166
31016
  p_cart_id: string;
@@ -30180,6 +31030,10 @@ export type Database = {
30180
31030
  };
30181
31031
  Returns: Json;
30182
31032
  };
31033
+ _scan_vertrouwd: {
31034
+ Args: never;
31035
+ Returns: boolean;
31036
+ };
30183
31037
  _stock_import_caller: {
30184
31038
  Args: {
30185
31039
  p_owner: string;
@@ -30190,6 +31044,73 @@ export type Database = {
30190
31044
  Args: never;
30191
31045
  Returns: boolean;
30192
31046
  };
31047
+ aanbiedingsmail_assert_caller: {
31048
+ Args: {
31049
+ p_level: string;
31050
+ };
31051
+ Returns: undefined;
31052
+ };
31053
+ aanbiedingsmail_create_order: {
31054
+ Args: {
31055
+ p_offer_order_id: string;
31056
+ };
31057
+ Returns: Json;
31058
+ };
31059
+ aanbiedingsmail_ensure_cron: {
31060
+ Args: never;
31061
+ Returns: Json;
31062
+ };
31063
+ aanbiedingsmail_install_check: {
31064
+ Args: never;
31065
+ Returns: Json;
31066
+ };
31067
+ aanbiedingsmail_is_server: {
31068
+ Args: never;
31069
+ Returns: boolean;
31070
+ };
31071
+ aanbiedingsmail_koppel_producten: {
31072
+ Args: {
31073
+ p_uitvoeren?: boolean;
31074
+ };
31075
+ Returns: Json;
31076
+ };
31077
+ aanbiedingsmail_link_status: {
31078
+ Args: {
31079
+ p_code: string;
31080
+ };
31081
+ Returns: Json;
31082
+ };
31083
+ aanbiedingsmail_notify_office: {
31084
+ Args: {
31085
+ p_offer_order_id: string;
31086
+ };
31087
+ Returns: Json;
31088
+ };
31089
+ aanbiedingsmail_place_offer_order: {
31090
+ Args: {
31091
+ p_code: string;
31092
+ p_customer_email: string;
31093
+ p_customer_name: string;
31094
+ p_customer_phone: string;
31095
+ p_items: Json;
31096
+ p_notes: string;
31097
+ p_retry_payload: Json;
31098
+ p_total: number;
31099
+ };
31100
+ Returns: Json;
31101
+ };
31102
+ aanbiedingsmail_resolve_product_id: {
31103
+ Args: {
31104
+ p_ref: string;
31105
+ };
31106
+ Returns: string;
31107
+ };
31108
+ aanbiedingsmail_stock_key: {
31109
+ Args: {
31110
+ p_ref: string;
31111
+ };
31112
+ Returns: string;
31113
+ };
30193
31114
  afh_assert_ingelogd: {
30194
31115
  Args: never;
30195
31116
  Returns: undefined;
@@ -30393,6 +31314,17 @@ export type Database = {
30393
31314
  };
30394
31315
  Returns: Json;
30395
31316
  };
31317
+ afh_signup_moment_for_orders: {
31318
+ Args: {
31319
+ p_order_ids: string[];
31320
+ };
31321
+ Returns: {
31322
+ aanmeld_at: string;
31323
+ bron: string;
31324
+ carrier_id: string;
31325
+ order_id: string;
31326
+ }[];
31327
+ };
30396
31328
  afh_signup_send_group: {
30397
31329
  Args: {
30398
31330
  g: Json;
@@ -30434,6 +31366,26 @@ export type Database = {
30434
31366
  Args: never;
30435
31367
  Returns: Json;
30436
31368
  };
31369
+ ai_catalog: {
31370
+ Args: never;
31371
+ Returns: Json;
31372
+ };
31373
+ ai_declare_installatietechniek_werkbonnen_planner: {
31374
+ Args: never;
31375
+ Returns: Json;
31376
+ };
31377
+ ai_declare_klanten_stickers: {
31378
+ Args: never;
31379
+ Returns: Json;
31380
+ };
31381
+ ai_declare_mailbox_bestellingen: {
31382
+ Args: never;
31383
+ Returns: Json;
31384
+ };
31385
+ ai_declare_werkbon_postvak: {
31386
+ Args: never;
31387
+ Returns: Json;
31388
+ };
30437
31389
  ai_is_admin: {
30438
31390
  Args: {
30439
31391
  _uid: string;
@@ -30454,6 +31406,10 @@ export type Database = {
30454
31406
  };
30455
31407
  Returns: boolean;
30456
31408
  };
31409
+ ai_sync_catalog: {
31410
+ Args: never;
31411
+ Returns: Json;
31412
+ };
30457
31413
  ai_usage_by_module: {
30458
31414
  Args: {
30459
31415
  _from: string;
@@ -30706,12 +31662,14 @@ export type Database = {
30706
31662
  pdf_url: string | null;
30707
31663
  pogingen: number;
30708
31664
  printer_id: string | null;
31665
+ printer_keuze: Json | null;
30709
31666
  printnode_bericht: string | null;
30710
31667
  printnode_status: string | null;
30711
31668
  printnode_status_op: string | null;
30712
31669
  render_html: string | null;
30713
31670
  resultaat_pdf_base64: string | null;
30714
31671
  status: Database["public"]["Enums"]["print_job_status"];
31672
+ uitwijk: Json | null;
30715
31673
  updated_at: string;
30716
31674
  verloopt_na_s: number | null;
30717
31675
  verwerkingsfase: string;
@@ -30904,12 +31862,14 @@ export type Database = {
30904
31862
  pdf_url: string | null;
30905
31863
  pogingen: number;
30906
31864
  printer_id: string | null;
31865
+ printer_keuze: Json | null;
30907
31866
  printnode_bericht: string | null;
30908
31867
  printnode_status: string | null;
30909
31868
  printnode_status_op: string | null;
30910
31869
  render_html: string | null;
30911
31870
  resultaat_pdf_base64: string | null;
30912
31871
  status: Database["public"]["Enums"]["print_job_status"];
31872
+ uitwijk: Json | null;
30913
31873
  updated_at: string;
30914
31874
  verloopt_na_s: number | null;
30915
31875
  verwerkingsfase: string;
@@ -30972,12 +31932,14 @@ export type Database = {
30972
31932
  pdf_url: string | null;
30973
31933
  pogingen: number;
30974
31934
  printer_id: string | null;
31935
+ printer_keuze: Json | null;
30975
31936
  printnode_bericht: string | null;
30976
31937
  printnode_status: string | null;
30977
31938
  printnode_status_op: string | null;
30978
31939
  render_html: string | null;
30979
31940
  resultaat_pdf_base64: string | null;
30980
31941
  status: Database["public"]["Enums"]["print_job_status"];
31942
+ uitwijk: Json | null;
30981
31943
  updated_at: string;
30982
31944
  verloopt_na_s: number | null;
30983
31945
  verwerkingsfase: string;
@@ -31383,6 +32345,16 @@ export type Database = {
31383
32345
  };
31384
32346
  Returns: string;
31385
32347
  };
32348
+ email_auth_enqueue_internal: {
32349
+ Args: {
32350
+ p_dedupe_key: string;
32351
+ p_from_name: string;
32352
+ p_html: string;
32353
+ p_source_module: string;
32354
+ p_subject: string;
32355
+ };
32356
+ Returns: Json;
32357
+ };
31386
32358
  email_auth_fetch_message: {
31387
32359
  Args: {
31388
32360
  _connection_id: string;
@@ -31406,6 +32378,14 @@ export type Database = {
31406
32378
  status: string;
31407
32379
  }[];
31408
32380
  };
32381
+ email_auth_install_check: {
32382
+ Args: never;
32383
+ Returns: Json;
32384
+ };
32385
+ email_auth_is_server_call: {
32386
+ Args: never;
32387
+ Returns: boolean;
32388
+ };
31409
32389
  email_auth_upsert_connection: {
31410
32390
  Args: {
31411
32391
  _account_email: string;
@@ -31464,6 +32444,10 @@ export type Database = {
31464
32444
  Args: never;
31465
32445
  Returns: string;
31466
32446
  };
32447
+ ensure_voorraad_local_context: {
32448
+ Args: never;
32449
+ Returns: string;
32450
+ };
31467
32451
  exact_auth_consume_calls: {
31468
32452
  Args: {
31469
32453
  _account_key: string;
@@ -31512,6 +32496,28 @@ export type Database = {
31512
32496
  };
31513
32497
  Returns: boolean;
31514
32498
  };
32499
+ facturatie_auto_invoice_checks: {
32500
+ Args: never;
32501
+ Returns: Json;
32502
+ };
32503
+ facturatie_auto_invoice_route_seen: {
32504
+ Args: never;
32505
+ Returns: undefined;
32506
+ };
32507
+ facturatie_auto_invoice_set_config_error: {
32508
+ Args: {
32509
+ _msg: string;
32510
+ };
32511
+ Returns: undefined;
32512
+ };
32513
+ facturatie_ensure_cron: {
32514
+ Args: never;
32515
+ Returns: string;
32516
+ };
32517
+ facturatie_ensure_runtime: {
32518
+ Args: never;
32519
+ Returns: string;
32520
+ };
31515
32521
  find_trade_item_key: {
31516
32522
  Args: {
31517
32523
  p_barcode: string;
@@ -31529,6 +32535,30 @@ export type Database = {
31529
32535
  };
31530
32536
  Returns: boolean;
31531
32537
  };
32538
+ floricode_load_carriers: {
32539
+ Args: never;
32540
+ Returns: {
32541
+ code: string;
32542
+ environment: string;
32543
+ height_mm: number;
32544
+ length_mm: number;
32545
+ name: string;
32546
+ width_mm: number;
32547
+ }[];
32548
+ };
32549
+ floricode_packaging_types: {
32550
+ Args: never;
32551
+ Returns: {
32552
+ code: string;
32553
+ expiry_date: string;
32554
+ height_mm: number;
32555
+ length_mm: number;
32556
+ name: string;
32557
+ packaging_type_id: string;
32558
+ packaging_type_name: string;
32559
+ width_mm: number;
32560
+ }[];
32561
+ };
31532
32562
  floricode_sync_cron_schedule: {
31533
32563
  Args: {
31534
32564
  p_apikey: string;
@@ -31615,6 +32645,28 @@ export type Database = {
31615
32645
  Args: never;
31616
32646
  Returns: undefined;
31617
32647
  };
32648
+ floriday_cron_command: {
32649
+ Args: {
32650
+ p_only_with_connection: boolean;
32651
+ p_route: string;
32652
+ p_timeout_ms: number;
32653
+ };
32654
+ Returns: string;
32655
+ };
32656
+ floriday_cron_inventory: {
32657
+ Args: never;
32658
+ Returns: {
32659
+ default_schedule: string;
32660
+ jobname: string;
32661
+ only_with_connection: boolean;
32662
+ route: string;
32663
+ timeout_ms: number;
32664
+ }[];
32665
+ };
32666
+ floriday_cron_key: {
32667
+ Args: never;
32668
+ Returns: string;
32669
+ };
31618
32670
  floriday_customer_candidates: {
31619
32671
  Args: never;
31620
32672
  Returns: {
@@ -31676,6 +32728,10 @@ export type Database = {
31676
32728
  postcode: string;
31677
32729
  }[];
31678
32730
  };
32731
+ floriday_ensure_cron: {
32732
+ Args: never;
32733
+ Returns: Json;
32734
+ };
31679
32735
  floriday_erp_leading_preview: {
31680
32736
  Args: {
31681
32737
  p_connection_id: string;
@@ -32082,6 +33138,17 @@ export type Database = {
32082
33138
  status: string;
32083
33139
  }[];
32084
33140
  };
33141
+ get_stock_context: {
33142
+ Args: {
33143
+ p_ensure?: boolean;
33144
+ };
33145
+ Returns: {
33146
+ connection_id: string;
33147
+ context_id: string;
33148
+ context_kind: string;
33149
+ user_id: string;
33150
+ }[];
33151
+ };
32085
33152
  get_twinfield_cron_jobs: {
32086
33153
  Args: never;
32087
33154
  Returns: {
@@ -32701,6 +33768,15 @@ export type Database = {
32701
33768
  };
32702
33769
  Returns: Json;
32703
33770
  };
33771
+ klanten_ensure_cron: {
33772
+ Args: never;
33773
+ Returns: Json;
33774
+ } | {
33775
+ Args: {
33776
+ p_alleen_bijwerken: boolean;
33777
+ };
33778
+ Returns: Json;
33779
+ };
32704
33780
  klanten_install_check: {
32705
33781
  Args: never;
32706
33782
  Returns: Json;
@@ -32762,6 +33838,12 @@ export type Database = {
32762
33838
  status: string;
32763
33839
  }[];
32764
33840
  };
33841
+ layout_rij_weergavenaam: {
33842
+ Args: {
33843
+ _rij: Json;
33844
+ };
33845
+ Returns: string;
33846
+ };
32765
33847
  layout_standaard_overnemen: {
32766
33848
  Args: {
32767
33849
  _layout_id: string;
@@ -32798,6 +33880,60 @@ export type Database = {
32798
33880
  Args: never;
32799
33881
  Returns: number;
32800
33882
  };
33883
+ layouts_a4_velindelingen: {
33884
+ Args: never;
33885
+ Returns: {
33886
+ breedte_mm: number;
33887
+ hoogte_mm: number;
33888
+ kolommen: number;
33889
+ rijen: number;
33890
+ }[];
33891
+ };
33892
+ layouts_install_check: {
33893
+ Args: never;
33894
+ Returns: Json;
33895
+ };
33896
+ layouts_kies_sticker_route: {
33897
+ Args: {
33898
+ p_a4_printer: string;
33899
+ p_a4_vel: Json;
33900
+ p_etiketten: Json;
33901
+ p_heeft_barcode: boolean;
33902
+ p_instelling: Json;
33903
+ p_sticker_breedte_mm: number;
33904
+ p_sticker_hoogte_mm: number;
33905
+ };
33906
+ Returns: Json;
33907
+ };
33908
+ layouts_sticker_verkleinen: {
33909
+ Args: never;
33910
+ Returns: Json;
33911
+ };
33912
+ layouts_vrijgeven_vastgelopen: {
33913
+ Args: {
33914
+ p_houder: string;
33915
+ };
33916
+ Returns: number;
33917
+ };
33918
+ layouts_vroege_sticker_waarschuwing: {
33919
+ Args: {
33920
+ p_tot: string;
33921
+ p_van: string;
33922
+ };
33923
+ Returns: Json;
33924
+ };
33925
+ layouts_zorg_voor_a4_stickervel: {
33926
+ Args: never;
33927
+ Returns: Json;
33928
+ };
33929
+ layouts_zorg_voor_sticker_verkleinen: {
33930
+ Args: never;
33931
+ Returns: Json;
33932
+ };
33933
+ layouts_zorg_voor_wachtrij_instellingen: {
33934
+ Args: never;
33935
+ Returns: Json;
33936
+ };
32801
33937
  list_medewerkers: {
32802
33938
  Args: never;
32803
33939
  Returns: {
@@ -32897,6 +34033,17 @@ export type Database = {
32897
34033
  };
32898
34034
  Returns: boolean;
32899
34035
  };
34036
+ logistics_aanmeldmoment: {
34037
+ Args: {
34038
+ p_order_ids: string[];
34039
+ };
34040
+ Returns: {
34041
+ aanmeld_at: string;
34042
+ bron: string;
34043
+ order_id: string;
34044
+ tekst: string;
34045
+ }[];
34046
+ };
32900
34047
  logistics_acc_direct: {
32901
34048
  Args: {
32902
34049
  p_fn: string;
@@ -33128,6 +34275,30 @@ export type Database = {
33128
34275
  Args: never;
33129
34276
  Returns: string;
33130
34277
  };
34278
+ logistics_belading_waarschuwingen_zet: {
34279
+ Args: {
34280
+ p_items: Json;
34281
+ p_order_ids: string[];
34282
+ };
34283
+ Returns: number;
34284
+ };
34285
+ logistics_belading_wacht: {
34286
+ Args: {
34287
+ p_order_id?: string;
34288
+ };
34289
+ Returns: {
34290
+ order_id: string;
34291
+ order_ref: string;
34292
+ product: string;
34293
+ redenen: string[];
34294
+ sinds: string;
34295
+ sleutel: string;
34296
+ }[];
34297
+ };
34298
+ logistics_bewaak_zonder_kar: {
34299
+ Args: never;
34300
+ Returns: Json;
34301
+ };
33131
34302
  logistics_block_reason_code: {
33132
34303
  Args: {
33133
34304
  p_details?: Json;
@@ -33683,6 +34854,14 @@ export type Database = {
33683
34854
  Args: never;
33684
34855
  Returns: number;
33685
34856
  };
34857
+ logistics_check_190: {
34858
+ Args: never;
34859
+ Returns: {
34860
+ ok: boolean;
34861
+ onderdeel: string;
34862
+ toelichting: string;
34863
+ }[];
34864
+ };
33686
34865
  logistics_check_order_allowed: {
33687
34866
  Args: {
33688
34867
  p_lines: Json;
@@ -33978,6 +35157,36 @@ export type Database = {
33978
35157
  Args: never;
33979
35158
  Returns: Json;
33980
35159
  };
35160
+ logistics_correctie_buffers_geannuleerd: {
35161
+ Args: {
35162
+ p_uitvoeren?: boolean;
35163
+ };
35164
+ Returns: {
35165
+ actieve_karren: number;
35166
+ andere_open_orders: string;
35167
+ buffer_id: string;
35168
+ order_id: string;
35169
+ order_number: string;
35170
+ reden: string;
35171
+ uitgevoerd: boolean;
35172
+ }[];
35173
+ };
35174
+ logistics_correctie_laagaandeel: {
35175
+ Args: {
35176
+ p_uitvoeren?: boolean;
35177
+ };
35178
+ Returns: {
35179
+ cart_id: string;
35180
+ fusten: number;
35181
+ fusten_per_laag: number;
35182
+ huidig: number;
35183
+ item_id: string;
35184
+ nieuw_lagen: number;
35185
+ nieuw_layer_fraction: number;
35186
+ orders: string;
35187
+ uitgevoerd: boolean;
35188
+ }[];
35189
+ };
33981
35190
  logistics_cron_health: {
33982
35191
  Args: never;
33983
35192
  Returns: Json;
@@ -34125,6 +35334,10 @@ export type Database = {
34125
35334
  };
34126
35335
  Returns: string;
34127
35336
  };
35337
+ logistics_ensure_periodiek: {
35338
+ Args: never;
35339
+ Returns: Json;
35340
+ };
34128
35341
  logistics_ensure_pick_data: {
34129
35342
  Args: {
34130
35343
  p_event_id?: string;
@@ -34133,6 +35346,10 @@ export type Database = {
34133
35346
  };
34134
35347
  Returns: Json;
34135
35348
  };
35349
+ logistics_ensure_rebuffer_setting: {
35350
+ Args: never;
35351
+ Returns: number;
35352
+ };
34136
35353
  logistics_ensure_runtime_defaults: {
34137
35354
  Args: never;
34138
35355
  Returns: undefined;
@@ -34143,6 +35360,10 @@ export type Database = {
34143
35360
  };
34144
35361
  Returns: Json;
34145
35362
  };
35363
+ logistics_ensure_tick_settings: {
35364
+ Args: never;
35365
+ Returns: Json;
35366
+ };
34146
35367
  logistics_expand_line: {
34147
35368
  Args: {
34148
35369
  p_depth?: number;
@@ -34422,6 +35643,14 @@ export type Database = {
34422
35643
  toelichting: string;
34423
35644
  }[];
34424
35645
  };
35646
+ logistics_install_check_194: {
35647
+ Args: never;
35648
+ Returns: {
35649
+ ok: boolean;
35650
+ onderdeel: string;
35651
+ toelichting: string;
35652
+ }[];
35653
+ };
34425
35654
  logistics_is_beheer: {
34426
35655
  Args: never;
34427
35656
  Returns: boolean;
@@ -34458,6 +35687,33 @@ export type Database = {
34458
35687
  };
34459
35688
  Returns: string;
34460
35689
  };
35690
+ logistics_kick_metingen: {
35691
+ Args: {
35692
+ p_limit: number;
35693
+ };
35694
+ Returns: {
35695
+ antwoord_at: string;
35696
+ fout: string;
35697
+ kicked_at: string;
35698
+ request_id: number;
35699
+ round_started_at: string;
35700
+ skipped_reason: string;
35701
+ status_code: number;
35702
+ time_out: boolean;
35703
+ wacht_tot_antwoord_ms: number;
35704
+ wacht_tot_ronde_ms: number;
35705
+ }[];
35706
+ };
35707
+ logistics_kick_pending_take: {
35708
+ Args: {
35709
+ p_since: string;
35710
+ };
35711
+ Returns: boolean;
35712
+ };
35713
+ logistics_kick_round_start: {
35714
+ Args: never;
35715
+ Returns: number;
35716
+ };
34461
35717
  logistics_layout_method_status: {
34462
35718
  Args: never;
34463
35719
  Returns: Json;
@@ -34558,6 +35814,15 @@ export type Database = {
34558
35814
  };
34559
35815
  Returns: string;
34560
35816
  };
35817
+ logistics_open_orders_zonder_kar: {
35818
+ Args: never;
35819
+ Returns: {
35820
+ delivery_date: string;
35821
+ laatste_reden: string;
35822
+ order_id: string;
35823
+ order_number: string;
35824
+ }[];
35825
+ };
34561
35826
  logistics_opening_timezone: {
34562
35827
  Args: never;
34563
35828
  Returns: string;
@@ -34638,6 +35903,21 @@ export type Database = {
34638
35903
  };
34639
35904
  Returns: string[];
34640
35905
  };
35906
+ logistics_order_date: {
35907
+ Args: {
35908
+ p: string;
35909
+ };
35910
+ Returns: {
35911
+ error: true;
35912
+ } & "Could not choose the best candidate function between: public.logistics_order_date(p => text), public.logistics_order_date(p => date). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
35913
+ } | {
35914
+ Args: {
35915
+ p: string;
35916
+ };
35917
+ Returns: {
35918
+ error: true;
35919
+ } & "Could not choose the best candidate function between: public.logistics_order_date(p => text), public.logistics_order_date(p => date). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
35920
+ };
34641
35921
  logistics_order_definitively_blocked: {
34642
35922
  Args: {
34643
35923
  p_order_id: string;
@@ -34739,6 +36019,12 @@ export type Database = {
34739
36019
  };
34740
36020
  Returns: boolean;
34741
36021
  };
36022
+ logistics_order_geannuleerd: {
36023
+ Args: {
36024
+ p_order_id: string;
36025
+ };
36026
+ Returns: boolean;
36027
+ };
34742
36028
  logistics_order_handled: {
34743
36029
  Args: {
34744
36030
  p_order_uuid: string;
@@ -34887,6 +36173,12 @@ export type Database = {
34887
36173
  };
34888
36174
  Returns: Json;
34889
36175
  };
36176
+ logistics_order_print_actief: {
36177
+ Args: {
36178
+ p_order_number: string;
36179
+ };
36180
+ Returns: boolean;
36181
+ };
34890
36182
  logistics_order_released: {
34891
36183
  Args: {
34892
36184
  p_order_ref: string;
@@ -34907,6 +36199,14 @@ export type Database = {
34907
36199
  Args: never;
34908
36200
  Returns: Json;
34909
36201
  };
36202
+ logistics_overload_check: {
36203
+ Args: never;
36204
+ Returns: {
36205
+ ok: boolean;
36206
+ onderdeel: string;
36207
+ toelichting: string;
36208
+ }[];
36209
+ };
34910
36210
  logistics_own_sticker_count: {
34911
36211
  Args: {
34912
36212
  p_ppc_product: number;
@@ -35087,6 +36387,21 @@ export type Database = {
35087
36387
  unit_ref: string;
35088
36388
  }[];
35089
36389
  };
36390
+ logistics_pick_voorbeeld_layout: {
36391
+ Args: {
36392
+ p_queue_ids: string[];
36393
+ };
36394
+ Returns: {
36395
+ breedte_mm: number;
36396
+ documentsoort: string;
36397
+ hoogte_mm: number;
36398
+ layout_id: string;
36399
+ layout_naam: string;
36400
+ ok: boolean;
36401
+ queue_id: string;
36402
+ reden: string;
36403
+ }[];
36404
+ };
35090
36405
  logistics_pickup_moments_today: {
35091
36406
  Args: never;
35092
36407
  Returns: Json;
@@ -35170,6 +36485,15 @@ export type Database = {
35170
36485
  };
35171
36486
  Returns: string;
35172
36487
  };
36488
+ logistics_plan_fail_log: {
36489
+ Args: {
36490
+ p_actor: string;
36491
+ p_msg: string;
36492
+ p_order_id: string;
36493
+ p_state: string;
36494
+ };
36495
+ Returns: undefined;
36496
+ };
35173
36497
  logistics_plan_finish: {
35174
36498
  Args: {
35175
36499
  p_error?: string;
@@ -35380,6 +36704,19 @@ export type Database = {
35380
36704
  };
35381
36705
  Returns: string;
35382
36706
  };
36707
+ logistics_print_status: {
36708
+ Args: {
36709
+ p_queue_item_ids: string[];
36710
+ };
36711
+ Returns: {
36712
+ fase: string;
36713
+ fase_gestart_op: string;
36714
+ melding: string;
36715
+ printnode_status: string;
36716
+ queue_item_id: string;
36717
+ status: string;
36718
+ }[];
36719
+ };
35383
36720
  logistics_print_via_layout: {
35384
36721
  Args: {
35385
36722
  _documentnaam: string;
@@ -35431,6 +36768,10 @@ export type Database = {
35431
36768
  Args: never;
35432
36769
  Returns: number;
35433
36770
  };
36771
+ logistics_rebuffer_aan: {
36772
+ Args: never;
36773
+ Returns: boolean;
36774
+ };
35434
36775
  logistics_rebuffer_candidates: {
35435
36776
  Args: never;
35436
36777
  Returns: {
@@ -35470,6 +36811,12 @@ export type Database = {
35470
36811
  reason: string;
35471
36812
  }[];
35472
36813
  };
36814
+ logistics_rebuffer_vastgezet: {
36815
+ Args: {
36816
+ p_order_id: string;
36817
+ };
36818
+ Returns: boolean;
36819
+ };
35473
36820
  logistics_recalc_tick_kick: {
35474
36821
  Args: never;
35475
36822
  Returns: number;
@@ -35502,6 +36849,10 @@ export type Database = {
35502
36849
  };
35503
36850
  Returns: Json;
35504
36851
  };
36852
+ logistics_refresh_plan_state_als_nodig: {
36853
+ Args: never;
36854
+ Returns: Json;
36855
+ };
35505
36856
  logistics_register_tick_apikey: {
35506
36857
  Args: {
35507
36858
  p_key: string;
@@ -35790,6 +37141,17 @@ export type Database = {
35790
37141
  };
35791
37142
  Returns: Json;
35792
37143
  };
37144
+ logistics_schedule_global_fp: {
37145
+ Args: never;
37146
+ Returns: string;
37147
+ };
37148
+ logistics_schedule_order_fp: {
37149
+ Args: {
37150
+ p_global: string;
37151
+ p_order_ref: string;
37152
+ };
37153
+ Returns: string;
37154
+ };
35793
37155
  logistics_schedule_tasks: {
35794
37156
  Args: never;
35795
37157
  Returns: number;
@@ -35799,6 +37161,12 @@ export type Database = {
35799
37161
  };
35800
37162
  Returns: number;
35801
37163
  };
37164
+ logistics_schedule_tasks_batch: {
37165
+ Args: {
37166
+ p_opties: Json;
37167
+ };
37168
+ Returns: Json;
37169
+ };
35802
37170
  logistics_set_components_scaled: {
35803
37171
  Args: {
35804
37172
  p_order_item_id: string;
@@ -36093,6 +37461,19 @@ export type Database = {
36093
37461
  Args: never;
36094
37462
  Returns: boolean;
36095
37463
  };
37464
+ logistics_sticker_maten_per_dag: {
37465
+ Args: {
37466
+ p_tot: string;
37467
+ p_van: string;
37468
+ };
37469
+ Returns: {
37470
+ aantal: number;
37471
+ breedte_mm: number;
37472
+ dag: string;
37473
+ hoogte_mm: number;
37474
+ print_plek_id: string;
37475
+ }[];
37476
+ };
36096
37477
  logistics_sticker_moment: {
36097
37478
  Args: {
36098
37479
  _cart: string;
@@ -36237,6 +37618,12 @@ export type Database = {
36237
37618
  Args: never;
36238
37619
  Returns: Json;
36239
37620
  };
37621
+ logistics_tick_http_log: {
37622
+ Args: {
37623
+ p_steps: Json;
37624
+ };
37625
+ Returns: undefined;
37626
+ };
36240
37627
  logistics_tick_ping: {
36241
37628
  Args: never;
36242
37629
  Returns: string;
@@ -36245,6 +37632,10 @@ export type Database = {
36245
37632
  Args: never;
36246
37633
  Returns: number;
36247
37634
  };
37635
+ logistics_tick_timeout_ms: {
37636
+ Args: never;
37637
+ Returns: number;
37638
+ };
36248
37639
  logistics_timezone_options: {
36249
37640
  Args: never;
36250
37641
  Returns: {
@@ -36675,10 +38066,25 @@ export type Database = {
36675
38066
  naam: string;
36676
38067
  online: boolean;
36677
38068
  }[];
38069
+ } | {
38070
+ Args: {
38071
+ p_device_key: string;
38072
+ };
38073
+ Returns: {
38074
+ id: string;
38075
+ locatie: string;
38076
+ naam: string;
38077
+ online: boolean;
38078
+ }[];
36678
38079
  };
36679
38080
  pick_apply_buffer_events: {
36680
38081
  Args: never;
36681
38082
  Returns: Json;
38083
+ } | {
38084
+ Args: {
38085
+ p_device_key: string;
38086
+ };
38087
+ Returns: Json;
36682
38088
  };
36683
38089
  pick_assert_printable: {
36684
38090
  Args: {
@@ -36686,6 +38092,12 @@ export type Database = {
36686
38092
  };
36687
38093
  Returns: undefined;
36688
38094
  };
38095
+ pick_assert_station: {
38096
+ Args: {
38097
+ p_device_key: string;
38098
+ };
38099
+ Returns: string;
38100
+ };
36689
38101
  pick_available_pick_days: {
36690
38102
  Args: {
36691
38103
  _max_days?: number;
@@ -36694,6 +38106,15 @@ export type Database = {
36694
38106
  orders: number;
36695
38107
  pick_day: string;
36696
38108
  }[];
38109
+ } | {
38110
+ Args: {
38111
+ _max_days?: number;
38112
+ p_device_key: string;
38113
+ };
38114
+ Returns: {
38115
+ orders: number;
38116
+ pick_day: string;
38117
+ }[];
36697
38118
  };
36698
38119
  pick_buffer_order_ids: {
36699
38120
  Args: {
@@ -36701,6 +38122,10 @@ export type Database = {
36701
38122
  };
36702
38123
  Returns: string[];
36703
38124
  };
38125
+ pick_build_key_variants: {
38126
+ Args: never;
38127
+ Returns: Json;
38128
+ };
36704
38129
  pick_cart_breakdown: {
36705
38130
  Args: {
36706
38131
  _order_id: string;
@@ -36756,15 +38181,14 @@ export type Database = {
36756
38181
  isOneToOne: true;
36757
38182
  isSetofReturn: false;
36758
38183
  };
36759
- };
36760
- pick_claim_next_document: {
38184
+ } | {
36761
38185
  Args: {
36762
- _country_code: string;
36763
- _pick_day?: string;
38186
+ _queue_item_id: string;
36764
38187
  _screen_id: string;
36765
38188
  _session_id: string;
36766
38189
  _station_id: string;
36767
38190
  _timeout_seconds?: number;
38191
+ p_device_key: string;
36768
38192
  };
36769
38193
  Returns: {
36770
38194
  announced_at: string;
@@ -36808,18 +38232,14 @@ export type Database = {
36808
38232
  isSetofReturn: false;
36809
38233
  };
36810
38234
  };
36811
- pick_cleanup_maintenance: {
36812
- Args: {
36813
- _heartbeat_hours?: number;
36814
- _log_days?: number;
36815
- };
36816
- Returns: Json;
36817
- };
36818
- pick_complete_print: {
38235
+ pick_claim_next_document: {
36819
38236
  Args: {
36820
- _printer_id: string;
36821
- _queue_item_id: string;
38237
+ _country_code: string;
38238
+ _pick_day?: string;
38239
+ _screen_id: string;
36822
38240
  _session_id: string;
38241
+ _station_id: string;
38242
+ _timeout_seconds?: number;
36823
38243
  };
36824
38244
  Returns: {
36825
38245
  announced_at: string;
@@ -36862,13 +38282,15 @@ export type Database = {
36862
38282
  isOneToOne: true;
36863
38283
  isSetofReturn: false;
36864
38284
  };
36865
- };
36866
- pick_complete_print_cart: {
38285
+ } | {
36867
38286
  Args: {
36868
- _cart_id: string;
36869
- _printer_id: string;
36870
- _queue_item_id: string;
38287
+ _country_code: string;
38288
+ _pick_day?: string;
38289
+ _screen_id: string;
36871
38290
  _session_id: string;
38291
+ _station_id: string;
38292
+ _timeout_seconds?: number;
38293
+ p_device_key: string;
36872
38294
  };
36873
38295
  Returns: {
36874
38296
  announced_at: string;
@@ -36912,77 +38334,411 @@ export type Database = {
36912
38334
  isSetofReturn: false;
36913
38335
  };
36914
38336
  };
36915
- pick_complete_print_carts: {
36916
- Args: {
36917
- _cart_ids: string[];
36918
- _queue_item_id: string;
36919
- _session_id: string;
36920
- };
36921
- Returns: Json;
36922
- };
36923
- pick_current_pick_day: {
36924
- Args: never;
36925
- Returns: string;
36926
- };
36927
- pick_day_counts: {
36928
- Args: {
36929
- _pick_day?: string;
36930
- _screen_id?: string;
36931
- _station_id?: string;
36932
- };
36933
- Returns: Json;
36934
- };
36935
- pick_document_layout_data: {
38337
+ pick_cleanup_maintenance: {
36936
38338
  Args: {
36937
- _layout_id: string;
38339
+ _heartbeat_hours?: number;
38340
+ _log_days?: number;
36938
38341
  };
36939
38342
  Returns: Json;
36940
38343
  };
36941
- pick_enqueue_print_job: {
36942
- Args: {
36943
- _is_herprint?: boolean;
36944
- _printer_id?: string;
36945
- _queue_item_id: string;
36946
- _session_id?: string;
36947
- };
36948
- Returns: string;
36949
- } | {
38344
+ pick_complete_print: {
36950
38345
  Args: {
36951
- _cart_id: string;
36952
- _is_herprint: boolean;
36953
38346
  _printer_id: string;
36954
38347
  _queue_item_id: string;
36955
38348
  _session_id: string;
36956
38349
  };
36957
- Returns: string;
36958
- };
36959
- pick_enqueue_print_job_from_cart: {
36960
- Args: {
36961
- _cart_id: string;
36962
- _is_herprint: boolean;
36963
- _printer_id: string;
36964
- _queue_item_id: string;
36965
- _selected_cart: Json;
36966
- _session_id: string;
38350
+ Returns: {
38351
+ announced_at: string;
38352
+ assigned_user_id: string | null;
38353
+ barcode: string | null;
38354
+ cancelled_at: string | null;
38355
+ cart_count: number;
38356
+ completed_at: string | null;
38357
+ country_code: string | null;
38358
+ created_at: string;
38359
+ customer_name: string | null;
38360
+ delivery_address: string | null;
38361
+ document_number: string | null;
38362
+ document_type_id: string | null;
38363
+ due_at: string | null;
38364
+ id: string;
38365
+ is_urgent: boolean;
38366
+ line_count: number;
38367
+ order_number: string | null;
38368
+ order_type: string | null;
38369
+ payload: Json;
38370
+ print_count: number;
38371
+ print_job_id: string | null;
38372
+ printed_at: string | null;
38373
+ printed_by: string | null;
38374
+ printed_cart_ids: Json;
38375
+ printer_id: string | null;
38376
+ priority: number;
38377
+ reference: string | null;
38378
+ route: string | null;
38379
+ screen_id: string | null;
38380
+ station_id: string | null;
38381
+ status_id: string | null;
38382
+ updated_at: string;
38383
+ warnings: Json;
36967
38384
  };
36968
- Returns: string;
36969
- };
36970
- pick_find_sent_elsewhere: {
36971
- Args: {
36972
- _cart_id: string;
36973
- _queue_item_id: string;
38385
+ SetofOptions: {
38386
+ from: "*";
38387
+ to: "pick_queue";
38388
+ isOneToOne: true;
38389
+ isSetofReturn: false;
36974
38390
  };
36975
- Returns: Json;
36976
- };
36977
- pick_is_reference_admin: {
36978
- Args: never;
36979
- Returns: boolean;
36980
- };
36981
- pick_mark_printed: {
38391
+ } | {
36982
38392
  Args: {
38393
+ _printer_id: string;
36983
38394
  _queue_item_id: string;
36984
- _reden?: string;
36985
38395
  _session_id: string;
38396
+ p_device_key: string;
38397
+ };
38398
+ Returns: {
38399
+ announced_at: string;
38400
+ assigned_user_id: string | null;
38401
+ barcode: string | null;
38402
+ cancelled_at: string | null;
38403
+ cart_count: number;
38404
+ completed_at: string | null;
38405
+ country_code: string | null;
38406
+ created_at: string;
38407
+ customer_name: string | null;
38408
+ delivery_address: string | null;
38409
+ document_number: string | null;
38410
+ document_type_id: string | null;
38411
+ due_at: string | null;
38412
+ id: string;
38413
+ is_urgent: boolean;
38414
+ line_count: number;
38415
+ order_number: string | null;
38416
+ order_type: string | null;
38417
+ payload: Json;
38418
+ print_count: number;
38419
+ print_job_id: string | null;
38420
+ printed_at: string | null;
38421
+ printed_by: string | null;
38422
+ printed_cart_ids: Json;
38423
+ printer_id: string | null;
38424
+ priority: number;
38425
+ reference: string | null;
38426
+ route: string | null;
38427
+ screen_id: string | null;
38428
+ station_id: string | null;
38429
+ status_id: string | null;
38430
+ updated_at: string;
38431
+ warnings: Json;
38432
+ };
38433
+ SetofOptions: {
38434
+ from: "*";
38435
+ to: "pick_queue";
38436
+ isOneToOne: true;
38437
+ isSetofReturn: false;
38438
+ };
38439
+ };
38440
+ pick_complete_print_cart: {
38441
+ Args: {
38442
+ _cart_id: string;
38443
+ _printer_id: string;
38444
+ _queue_item_id: string;
38445
+ _session_id: 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
+ };
38488
+ } | {
38489
+ Args: {
38490
+ _cart_id: string;
38491
+ _printer_id: string;
38492
+ _queue_item_id: string;
38493
+ _session_id: string;
38494
+ p_device_key: string;
38495
+ };
38496
+ Returns: {
38497
+ announced_at: string;
38498
+ assigned_user_id: string | null;
38499
+ barcode: string | null;
38500
+ cancelled_at: string | null;
38501
+ cart_count: number;
38502
+ completed_at: string | null;
38503
+ country_code: string | null;
38504
+ created_at: string;
38505
+ customer_name: string | null;
38506
+ delivery_address: string | null;
38507
+ document_number: string | null;
38508
+ document_type_id: string | null;
38509
+ due_at: string | null;
38510
+ id: string;
38511
+ is_urgent: boolean;
38512
+ line_count: number;
38513
+ order_number: string | null;
38514
+ order_type: string | null;
38515
+ payload: Json;
38516
+ print_count: number;
38517
+ print_job_id: string | null;
38518
+ printed_at: string | null;
38519
+ printed_by: string | null;
38520
+ printed_cart_ids: Json;
38521
+ printer_id: string | null;
38522
+ priority: number;
38523
+ reference: string | null;
38524
+ route: string | null;
38525
+ screen_id: string | null;
38526
+ station_id: string | null;
38527
+ status_id: string | null;
38528
+ updated_at: string;
38529
+ warnings: Json;
38530
+ };
38531
+ SetofOptions: {
38532
+ from: "*";
38533
+ to: "pick_queue";
38534
+ isOneToOne: true;
38535
+ isSetofReturn: false;
38536
+ };
38537
+ };
38538
+ pick_complete_print_carts: {
38539
+ Args: {
38540
+ _cart_ids: string[];
38541
+ _queue_item_id: string;
38542
+ _session_id: string;
38543
+ };
38544
+ Returns: Json;
38545
+ } | {
38546
+ Args: {
38547
+ _cart_ids: string[];
38548
+ _queue_item_id: string;
38549
+ _session_id: string;
38550
+ p_device_key: string;
38551
+ };
38552
+ Returns: Json;
38553
+ };
38554
+ pick_create_pair_code: {
38555
+ Args: {
38556
+ p_station_id: string;
38557
+ };
38558
+ Returns: Json;
38559
+ };
38560
+ pick_current_pick_day: {
38561
+ Args: never;
38562
+ Returns: string;
38563
+ } | {
38564
+ Args: {
38565
+ p_device_key: string;
38566
+ };
38567
+ Returns: string;
38568
+ };
38569
+ pick_day_counts: {
38570
+ Args: {
38571
+ _pick_day?: string;
38572
+ _screen_id?: string;
38573
+ _station_id?: string;
38574
+ };
38575
+ Returns: Json;
38576
+ } | {
38577
+ Args: {
38578
+ _pick_day?: string;
38579
+ _screen_id?: string;
38580
+ _station_id?: string;
38581
+ p_device_key: string;
38582
+ };
38583
+ Returns: Json;
38584
+ };
38585
+ pick_device_check: {
38586
+ Args: {
38587
+ p_cart: string;
38588
+ p_device_key: string;
38589
+ p_item: string;
38590
+ p_order: string;
38591
+ p_slug: string;
38592
+ p_station: string;
38593
+ };
38594
+ Returns: undefined;
38595
+ };
38596
+ pick_device_gate: {
38597
+ Args: {
38598
+ p_device_key: string;
38599
+ };
38600
+ Returns: string;
38601
+ };
38602
+ pick_device_key_required: {
38603
+ Args: never;
38604
+ Returns: boolean;
38605
+ };
38606
+ pick_document_layout_data: {
38607
+ Args: {
38608
+ _layout_id: string;
38609
+ };
38610
+ Returns: Json;
38611
+ };
38612
+ pick_enqueue_print_job: {
38613
+ Args: {
38614
+ _is_herprint?: boolean;
38615
+ _printer_id?: string;
38616
+ _queue_item_id: string;
38617
+ _session_id?: string;
38618
+ };
38619
+ Returns: string;
38620
+ } | {
38621
+ Args: {
38622
+ _cart_id: string;
38623
+ _is_herprint: boolean;
38624
+ _printer_id: string;
38625
+ _queue_item_id: string;
38626
+ _session_id: string;
38627
+ };
38628
+ Returns: string;
38629
+ } | {
38630
+ Args: {
38631
+ _is_herprint?: boolean;
38632
+ _printer_id?: string;
38633
+ _queue_item_id: string;
38634
+ _session_id?: string;
38635
+ p_device_key: string;
38636
+ };
38637
+ Returns: string;
38638
+ } | {
38639
+ Args: {
38640
+ _cart_id: string;
38641
+ _is_herprint: boolean;
38642
+ _printer_id: string;
38643
+ _queue_item_id: string;
38644
+ _session_id: string;
38645
+ p_device_key: string;
38646
+ };
38647
+ Returns: string;
38648
+ };
38649
+ pick_enqueue_print_job_from_cart: {
38650
+ Args: {
38651
+ _cart_id: string;
38652
+ _is_herprint: boolean;
38653
+ _printer_id: string;
38654
+ _queue_item_id: string;
38655
+ _selected_cart: Json;
38656
+ _session_id: string;
38657
+ };
38658
+ Returns: string;
38659
+ };
38660
+ pick_ensure_settings: {
38661
+ Args: never;
38662
+ Returns: undefined;
38663
+ };
38664
+ pick_find_sent_elsewhere: {
38665
+ Args: {
38666
+ _cart_id: string;
38667
+ _queue_item_id: string;
38668
+ };
38669
+ Returns: Json;
38670
+ };
38671
+ pick_has_station_role: {
38672
+ Args: never;
38673
+ Returns: boolean;
38674
+ };
38675
+ pick_is_reference_admin: {
38676
+ Args: never;
38677
+ Returns: boolean;
38678
+ };
38679
+ pick_is_server: {
38680
+ Args: never;
38681
+ Returns: boolean;
38682
+ };
38683
+ pick_key_hash: {
38684
+ Args: {
38685
+ p_key: string;
38686
+ };
38687
+ Returns: string;
38688
+ };
38689
+ pick_mark_printed: {
38690
+ Args: {
38691
+ _queue_item_id: string;
38692
+ _reden?: string;
38693
+ _session_id: string;
38694
+ };
38695
+ Returns: {
38696
+ announced_at: string;
38697
+ assigned_user_id: string | null;
38698
+ barcode: string | null;
38699
+ cancelled_at: string | null;
38700
+ cart_count: number;
38701
+ completed_at: string | null;
38702
+ country_code: string | null;
38703
+ created_at: string;
38704
+ customer_name: string | null;
38705
+ delivery_address: string | null;
38706
+ document_number: string | null;
38707
+ document_type_id: string | null;
38708
+ due_at: string | null;
38709
+ id: string;
38710
+ is_urgent: boolean;
38711
+ line_count: number;
38712
+ order_number: string | null;
38713
+ order_type: string | null;
38714
+ payload: Json;
38715
+ print_count: number;
38716
+ print_job_id: string | null;
38717
+ printed_at: string | null;
38718
+ printed_by: string | null;
38719
+ printed_cart_ids: Json;
38720
+ printer_id: string | null;
38721
+ priority: number;
38722
+ reference: string | null;
38723
+ route: string | null;
38724
+ screen_id: string | null;
38725
+ station_id: string | null;
38726
+ status_id: string | null;
38727
+ updated_at: string;
38728
+ warnings: Json;
38729
+ };
38730
+ SetofOptions: {
38731
+ from: "*";
38732
+ to: "pick_queue";
38733
+ isOneToOne: true;
38734
+ isSetofReturn: false;
38735
+ };
38736
+ } | {
38737
+ Args: {
38738
+ _queue_item_id: string;
38739
+ _reden?: string;
38740
+ _session_id: string;
38741
+ p_device_key: string;
36986
38742
  };
36987
38743
  Returns: {
36988
38744
  announced_at: string;
@@ -37039,18 +38795,37 @@ export type Database = {
37039
38795
  _station_slug: string;
37040
38796
  };
37041
38797
  Returns: Json;
38798
+ } | {
38799
+ Args: {
38800
+ _queue_item_id: string;
38801
+ _station_slug: string;
38802
+ p_device_key: string;
38803
+ };
38804
+ Returns: Json;
37042
38805
  };
37043
38806
  pick_print_job_status: {
37044
38807
  Args: {
37045
38808
  _job_id: string;
37046
38809
  };
37047
38810
  Returns: Json;
38811
+ } | {
38812
+ Args: {
38813
+ _job_id: string;
38814
+ p_device_key: string;
38815
+ };
38816
+ Returns: Json;
37048
38817
  };
37049
38818
  pick_print_jobs_status: {
37050
38819
  Args: {
37051
38820
  _job_ids: string[];
37052
38821
  };
37053
38822
  Returns: Json[];
38823
+ } | {
38824
+ Args: {
38825
+ _job_ids: string[];
38826
+ p_device_key: string;
38827
+ };
38828
+ Returns: Json[];
37054
38829
  };
37055
38830
  pick_print_plekken: {
37056
38831
  Args: never;
@@ -37059,12 +38834,27 @@ export type Database = {
37059
38834
  naam: string;
37060
38835
  omschrijving: string;
37061
38836
  }[];
38837
+ } | {
38838
+ Args: {
38839
+ p_device_key: string;
38840
+ };
38841
+ Returns: {
38842
+ id: string;
38843
+ naam: string;
38844
+ omschrijving: string;
38845
+ }[];
37062
38846
  };
37063
38847
  pick_queue_cart_plan: {
37064
38848
  Args: {
37065
38849
  _queue_item_id: string;
37066
38850
  };
37067
38851
  Returns: Json;
38852
+ } | {
38853
+ Args: {
38854
+ _queue_item_id: string;
38855
+ p_device_key: string;
38856
+ };
38857
+ Returns: Json;
37068
38858
  };
37069
38859
  pick_queue_cart_plan_v152: {
37070
38860
  Args: {
@@ -37072,23 +38862,234 @@ export type Database = {
37072
38862
  };
37073
38863
  Returns: Json;
37074
38864
  };
38865
+ pick_read_by_code: {
38866
+ Args: {
38867
+ p_code: string;
38868
+ p_device_key: string;
38869
+ p_station_id: string;
38870
+ };
38871
+ Returns: {
38872
+ announced_at: string;
38873
+ assigned_user_id: string | null;
38874
+ barcode: string | null;
38875
+ cancelled_at: string | null;
38876
+ cart_count: number;
38877
+ completed_at: string | null;
38878
+ country_code: string | null;
38879
+ created_at: string;
38880
+ customer_name: string | null;
38881
+ delivery_address: string | null;
38882
+ document_number: string | null;
38883
+ document_type_id: string | null;
38884
+ due_at: string | null;
38885
+ id: string;
38886
+ is_urgent: boolean;
38887
+ line_count: number;
38888
+ order_number: string | null;
38889
+ order_type: string | null;
38890
+ payload: Json;
38891
+ print_count: number;
38892
+ print_job_id: string | null;
38893
+ printed_at: string | null;
38894
+ printed_by: string | null;
38895
+ printed_cart_ids: Json;
38896
+ printer_id: string | null;
38897
+ priority: number;
38898
+ reference: string | null;
38899
+ route: string | null;
38900
+ screen_id: string | null;
38901
+ station_id: string | null;
38902
+ status_id: string | null;
38903
+ updated_at: string;
38904
+ warnings: Json;
38905
+ }[];
38906
+ SetofOptions: {
38907
+ from: "*";
38908
+ to: "pick_queue";
38909
+ isOneToOne: false;
38910
+ isSetofReturn: true;
38911
+ };
38912
+ };
38913
+ pick_read_country_counts: {
38914
+ Args: {
38915
+ p_device_key: string;
38916
+ p_screen_id: string;
38917
+ p_station_id: string;
38918
+ };
38919
+ Returns: Json;
38920
+ };
38921
+ pick_read_locks: {
38922
+ Args: {
38923
+ p_device_key: string;
38924
+ p_station_id: string;
38925
+ };
38926
+ Returns: {
38927
+ expires_at: string;
38928
+ id: string;
38929
+ locked_at: string;
38930
+ locked_by: string | null;
38931
+ queue_item_id: string;
38932
+ screen_id: string | null;
38933
+ session_id: string | null;
38934
+ station_id: string | null;
38935
+ }[];
38936
+ SetofOptions: {
38937
+ from: "*";
38938
+ to: "pick_queue_locks";
38939
+ isOneToOne: false;
38940
+ isSetofReturn: true;
38941
+ };
38942
+ };
38943
+ pick_read_print_job_uitwijk: {
38944
+ Args: {
38945
+ p_device_key: string;
38946
+ p_job_ids: string[];
38947
+ };
38948
+ Returns: Json;
38949
+ };
38950
+ pick_read_queue: {
38951
+ Args: {
38952
+ p_country: string;
38953
+ p_device_key: string;
38954
+ p_document_type_id: string;
38955
+ p_include_done: boolean;
38956
+ p_limit: number;
38957
+ p_offset: number;
38958
+ p_pick_day: string;
38959
+ p_screen_id: string;
38960
+ p_search: string;
38961
+ p_sort: Json;
38962
+ p_station_id: string;
38963
+ p_urgent_only: boolean;
38964
+ };
38965
+ Returns: Json;
38966
+ };
38967
+ pick_read_station: {
38968
+ Args: {
38969
+ p_device_key: string;
38970
+ p_slug: string;
38971
+ };
38972
+ Returns: {
38973
+ active: boolean;
38974
+ allow_multi_screen: boolean;
38975
+ color: string | null;
38976
+ created_at: string;
38977
+ default_printer_id: string | null;
38978
+ department: string | null;
38979
+ description: string | null;
38980
+ icon: string | null;
38981
+ id: string;
38982
+ location: string | null;
38983
+ lock_timeout_seconds: number;
38984
+ name: string;
38985
+ require_country_selection: boolean;
38986
+ slug: string | null;
38987
+ sort_order: number;
38988
+ sort_rules: Json;
38989
+ task_id: string | null;
38990
+ type_id: string | null;
38991
+ updated_at: string;
38992
+ }[];
38993
+ SetofOptions: {
38994
+ from: "*";
38995
+ to: "pick_stations";
38996
+ isOneToOne: false;
38997
+ isSetofReturn: true;
38998
+ };
38999
+ };
39000
+ pick_read_unscanned_earlier: {
39001
+ Args: {
39002
+ p_before_day: string;
39003
+ p_device_key: string;
39004
+ p_station_id: string;
39005
+ };
39006
+ Returns: {
39007
+ announced_at: string;
39008
+ assigned_user_id: string | null;
39009
+ barcode: string | null;
39010
+ cancelled_at: string | null;
39011
+ cart_count: number;
39012
+ completed_at: string | null;
39013
+ country_code: string | null;
39014
+ created_at: string;
39015
+ customer_name: string | null;
39016
+ delivery_address: string | null;
39017
+ document_number: string | null;
39018
+ document_type_id: string | null;
39019
+ due_at: string | null;
39020
+ id: string;
39021
+ is_urgent: boolean;
39022
+ line_count: number;
39023
+ order_number: string | null;
39024
+ order_type: string | null;
39025
+ payload: Json;
39026
+ print_count: number;
39027
+ print_job_id: string | null;
39028
+ printed_at: string | null;
39029
+ printed_by: string | null;
39030
+ printed_cart_ids: Json;
39031
+ printer_id: string | null;
39032
+ priority: number;
39033
+ reference: string | null;
39034
+ route: string | null;
39035
+ screen_id: string | null;
39036
+ station_id: string | null;
39037
+ status_id: string | null;
39038
+ updated_at: string;
39039
+ warnings: Json;
39040
+ }[];
39041
+ SetofOptions: {
39042
+ from: "*";
39043
+ to: "pick_queue";
39044
+ isOneToOne: false;
39045
+ isSetofReturn: true;
39046
+ };
39047
+ };
39048
+ pick_read_vroege_sticker_waarschuwing: {
39049
+ Args: {
39050
+ p_device_key: string;
39051
+ p_station_id: string;
39052
+ };
39053
+ Returns: Json;
39054
+ };
37075
39055
  pick_reference_data_status: {
37076
39056
  Args: never;
37077
39057
  Returns: Json;
39058
+ } | {
39059
+ Args: {
39060
+ p_device_key: string;
39061
+ };
39062
+ Returns: Json;
37078
39063
  };
37079
39064
  pick_release_expired_locks: {
37080
39065
  Args: never;
37081
39066
  Returns: number;
39067
+ } | {
39068
+ Args: {
39069
+ p_device_key: string;
39070
+ };
39071
+ Returns: number;
37082
39072
  };
37083
39073
  pick_release_lock: {
37084
39074
  Args: {
37085
39075
  _queue_item_id: string;
37086
39076
  };
37087
39077
  Returns: undefined;
39078
+ } | {
39079
+ Args: {
39080
+ _queue_item_id: string;
39081
+ p_device_key: string;
39082
+ };
39083
+ Returns: undefined;
37088
39084
  };
37089
39085
  pick_report_missing_cart_plan: {
37090
39086
  Args: never;
37091
39087
  Returns: Json;
39088
+ } | {
39089
+ Args: {
39090
+ p_device_key: string;
39091
+ };
39092
+ Returns: Json;
37092
39093
  };
37093
39094
  pick_reprint_cart: {
37094
39095
  Args: {
@@ -37098,6 +39099,15 @@ export type Database = {
37098
39099
  _throttle_seconds?: number;
37099
39100
  };
37100
39101
  Returns: string;
39102
+ } | {
39103
+ Args: {
39104
+ _cart_id: string;
39105
+ _queue_item_id: string;
39106
+ _session_id: string;
39107
+ _throttle_seconds?: number;
39108
+ p_device_key: string;
39109
+ };
39110
+ Returns: string;
37101
39111
  };
37102
39112
  pick_reprint_document: {
37103
39113
  Args: {
@@ -37106,6 +39116,14 @@ export type Database = {
37106
39116
  _throttle_seconds?: number;
37107
39117
  };
37108
39118
  Returns: string;
39119
+ } | {
39120
+ Args: {
39121
+ _queue_item_id: string;
39122
+ _session_id: string;
39123
+ _throttle_seconds?: number;
39124
+ p_device_key: string;
39125
+ };
39126
+ Returns: string;
37109
39127
  };
37110
39128
  pick_reset_print: {
37111
39129
  Args: {
@@ -37200,6 +39218,101 @@ export type Database = {
37200
39218
  isOneToOne: true;
37201
39219
  isSetofReturn: false;
37202
39220
  };
39221
+ } | {
39222
+ Args: {
39223
+ _queue_item_id: string;
39224
+ _session_id: string;
39225
+ p_device_key: string;
39226
+ };
39227
+ Returns: {
39228
+ announced_at: string;
39229
+ assigned_user_id: string | null;
39230
+ barcode: string | null;
39231
+ cancelled_at: string | null;
39232
+ cart_count: number;
39233
+ completed_at: string | null;
39234
+ country_code: string | null;
39235
+ created_at: string;
39236
+ customer_name: string | null;
39237
+ delivery_address: string | null;
39238
+ document_number: string | null;
39239
+ document_type_id: string | null;
39240
+ due_at: string | null;
39241
+ id: string;
39242
+ is_urgent: boolean;
39243
+ line_count: number;
39244
+ order_number: string | null;
39245
+ order_type: string | null;
39246
+ payload: Json;
39247
+ print_count: number;
39248
+ print_job_id: string | null;
39249
+ printed_at: string | null;
39250
+ printed_by: string | null;
39251
+ printed_cart_ids: Json;
39252
+ printer_id: string | null;
39253
+ priority: number;
39254
+ reference: string | null;
39255
+ route: string | null;
39256
+ screen_id: string | null;
39257
+ station_id: string | null;
39258
+ status_id: string | null;
39259
+ updated_at: string;
39260
+ warnings: Json;
39261
+ };
39262
+ SetofOptions: {
39263
+ from: "*";
39264
+ to: "pick_queue";
39265
+ isOneToOne: true;
39266
+ isSetofReturn: false;
39267
+ };
39268
+ } | {
39269
+ Args: {
39270
+ _cart_id: string;
39271
+ _queue_item_id: string;
39272
+ _session_id: string;
39273
+ p_device_key: string;
39274
+ };
39275
+ Returns: {
39276
+ announced_at: string;
39277
+ assigned_user_id: string | null;
39278
+ barcode: string | null;
39279
+ cancelled_at: string | null;
39280
+ cart_count: number;
39281
+ completed_at: string | null;
39282
+ country_code: string | null;
39283
+ created_at: string;
39284
+ customer_name: string | null;
39285
+ delivery_address: string | null;
39286
+ document_number: string | null;
39287
+ document_type_id: string | null;
39288
+ due_at: string | null;
39289
+ id: string;
39290
+ is_urgent: boolean;
39291
+ line_count: number;
39292
+ order_number: string | null;
39293
+ order_type: string | null;
39294
+ payload: Json;
39295
+ print_count: number;
39296
+ print_job_id: string | null;
39297
+ printed_at: string | null;
39298
+ printed_by: string | null;
39299
+ printed_cart_ids: Json;
39300
+ printer_id: string | null;
39301
+ priority: number;
39302
+ reference: string | null;
39303
+ route: string | null;
39304
+ screen_id: string | null;
39305
+ station_id: string | null;
39306
+ status_id: string | null;
39307
+ updated_at: string;
39308
+ warnings: Json;
39309
+ };
39310
+ SetofOptions: {
39311
+ from: "*";
39312
+ to: "pick_queue";
39313
+ isOneToOne: true;
39314
+ isSetofReturn: false;
39315
+ };
37203
39316
  };
37204
39317
  pick_reset_print_job: {
37205
39318
  Args: {
@@ -37249,11 +39362,163 @@ export type Database = {
37249
39362
  isOneToOne: true;
37250
39363
  isSetofReturn: false;
37251
39364
  };
39365
+ } | {
39366
+ Args: {
39367
+ _cart_id: string;
39368
+ _job_id: string;
39369
+ _queue_item_id: string;
39370
+ _session_id: string;
39371
+ p_device_key: string;
39372
+ };
39373
+ Returns: {
39374
+ announced_at: string;
39375
+ assigned_user_id: string | null;
39376
+ barcode: string | null;
39377
+ cancelled_at: string | null;
39378
+ cart_count: number;
39379
+ completed_at: string | null;
39380
+ country_code: string | null;
39381
+ created_at: string;
39382
+ customer_name: string | null;
39383
+ delivery_address: string | null;
39384
+ document_number: string | null;
39385
+ document_type_id: string | null;
39386
+ due_at: string | null;
39387
+ id: string;
39388
+ is_urgent: boolean;
39389
+ line_count: number;
39390
+ order_number: string | null;
39391
+ order_type: string | null;
39392
+ payload: Json;
39393
+ print_count: number;
39394
+ print_job_id: string | null;
39395
+ printed_at: string | null;
39396
+ printed_by: string | null;
39397
+ printed_cart_ids: Json;
39398
+ printer_id: string | null;
39399
+ priority: number;
39400
+ reference: string | null;
39401
+ route: string | null;
39402
+ screen_id: string | null;
39403
+ station_id: string | null;
39404
+ status_id: string | null;
39405
+ updated_at: string;
39406
+ warnings: Json;
39407
+ };
39408
+ SetofOptions: {
39409
+ from: "*";
39410
+ to: "pick_queue";
39411
+ isOneToOne: true;
39412
+ isSetofReturn: false;
39413
+ };
39414
+ };
39415
+ pick_reset_print_jobs: {
39416
+ Args: {
39417
+ _cart_ids: string[];
39418
+ _job_ids: string[];
39419
+ _queue_item_id: string;
39420
+ _session_id: string;
39421
+ };
39422
+ Returns: {
39423
+ announced_at: string;
39424
+ assigned_user_id: string | null;
39425
+ barcode: string | null;
39426
+ cancelled_at: string | null;
39427
+ cart_count: number;
39428
+ completed_at: string | null;
39429
+ country_code: string | null;
39430
+ created_at: string;
39431
+ customer_name: string | null;
39432
+ delivery_address: string | null;
39433
+ document_number: string | null;
39434
+ document_type_id: string | null;
39435
+ due_at: string | null;
39436
+ id: string;
39437
+ is_urgent: boolean;
39438
+ line_count: number;
39439
+ order_number: string | null;
39440
+ order_type: string | null;
39441
+ payload: Json;
39442
+ print_count: number;
39443
+ print_job_id: string | null;
39444
+ printed_at: string | null;
39445
+ printed_by: string | null;
39446
+ printed_cart_ids: Json;
39447
+ printer_id: string | null;
39448
+ priority: number;
39449
+ reference: string | null;
39450
+ route: string | null;
39451
+ screen_id: string | null;
39452
+ station_id: string | null;
39453
+ status_id: string | null;
39454
+ updated_at: string;
39455
+ warnings: Json;
39456
+ };
39457
+ SetofOptions: {
39458
+ from: "*";
39459
+ to: "pick_queue";
39460
+ isOneToOne: true;
39461
+ isSetofReturn: false;
39462
+ };
39463
+ } | {
39464
+ Args: {
39465
+ _cart_ids: string[];
39466
+ _job_ids: string[];
39467
+ _queue_item_id: string;
39468
+ _session_id: string;
39469
+ p_device_key: string;
39470
+ };
39471
+ Returns: {
39472
+ announced_at: string;
39473
+ assigned_user_id: string | null;
39474
+ barcode: string | null;
39475
+ cancelled_at: string | null;
39476
+ cart_count: number;
39477
+ completed_at: string | null;
39478
+ country_code: string | null;
39479
+ created_at: string;
39480
+ customer_name: string | null;
39481
+ delivery_address: string | null;
39482
+ document_number: string | null;
39483
+ document_type_id: string | null;
39484
+ due_at: string | null;
39485
+ id: string;
39486
+ is_urgent: boolean;
39487
+ line_count: number;
39488
+ order_number: string | null;
39489
+ order_type: string | null;
39490
+ payload: Json;
39491
+ print_count: number;
39492
+ print_job_id: string | null;
39493
+ printed_at: string | null;
39494
+ printed_by: string | null;
39495
+ printed_cart_ids: Json;
39496
+ printer_id: string | null;
39497
+ priority: number;
39498
+ reference: string | null;
39499
+ route: string | null;
39500
+ screen_id: string | null;
39501
+ station_id: string | null;
39502
+ status_id: string | null;
39503
+ updated_at: string;
39504
+ warnings: Json;
39505
+ };
39506
+ SetofOptions: {
39507
+ from: "*";
39508
+ to: "pick_queue";
39509
+ isOneToOne: true;
39510
+ isSetofReturn: false;
39511
+ };
37252
39512
  };
37253
- pick_reset_print_jobs: {
39513
+ pick_resolve_scan_code: {
39514
+ Args: {
39515
+ p_code: string;
39516
+ p_device_key: string;
39517
+ };
39518
+ Returns: string;
39519
+ };
39520
+ pick_restore_to_queue: {
37254
39521
  Args: {
37255
- _cart_ids: string[];
37256
- _job_ids: string[];
37257
39522
  _queue_item_id: string;
37258
39523
  _session_id: string;
37259
39524
  };
@@ -37298,11 +39563,11 @@ export type Database = {
37298
39563
  isOneToOne: true;
37299
39564
  isSetofReturn: false;
37300
39565
  };
37301
- };
37302
- pick_restore_to_queue: {
39566
+ } | {
37303
39567
  Args: {
37304
39568
  _queue_item_id: string;
37305
39569
  _session_id: string;
39570
+ p_device_key: string;
37306
39571
  };
37307
39572
  Returns: {
37308
39573
  announced_at: string;
@@ -37346,6 +39611,18 @@ export type Database = {
37346
39611
  isSetofReturn: false;
37347
39612
  };
37348
39613
  };
39614
+ pick_revoke_device: {
39615
+ Args: {
39616
+ p_device_id: string;
39617
+ };
39618
+ Returns: undefined;
39619
+ };
39620
+ pick_role_allowed: {
39621
+ Args: {
39622
+ p_level: string;
39623
+ };
39624
+ Returns: boolean;
39625
+ };
37349
39626
  pick_seed_reference_data: {
37350
39627
  Args: never;
37351
39628
  Returns: Json;
@@ -37356,6 +39633,19 @@ export type Database = {
37356
39633
  _station_id: string;
37357
39634
  };
37358
39635
  Returns: string;
39636
+ } | {
39637
+ Args: {
39638
+ _print_plek_id: string;
39639
+ _station_id: string;
39640
+ p_device_key: string;
39641
+ };
39642
+ Returns: string;
39643
+ };
39644
+ pick_signal_station: {
39645
+ Args: {
39646
+ p_station: string;
39647
+ };
39648
+ Returns: undefined;
37359
39649
  };
37360
39650
  pick_station_dashboard: {
37361
39651
  Args: never;
@@ -37368,6 +39658,31 @@ export type Database = {
37368
39658
  station_name: string;
37369
39659
  waiting: number;
37370
39660
  }[];
39661
+ } | {
39662
+ Args: {
39663
+ p_device_key: string;
39664
+ };
39665
+ Returns: {
39666
+ active: number;
39667
+ active_sessions: number;
39668
+ avg_wait_seconds: number;
39669
+ done_today: number;
39670
+ station_id: string;
39671
+ station_name: string;
39672
+ waiting: number;
39673
+ }[];
39674
+ };
39675
+ pick_station_devices_list: {
39676
+ Args: {
39677
+ p_station_id: string;
39678
+ };
39679
+ Returns: {
39680
+ created_at: string;
39681
+ id: string;
39682
+ ingetrokken_op: string;
39683
+ laatst_gezien: string;
39684
+ naam: string;
39685
+ }[];
37371
39686
  };
37372
39687
  pick_station_print_plek: {
37373
39688
  Args: {
@@ -37378,6 +39693,16 @@ export type Database = {
37378
39693
  omschrijving: string;
37379
39694
  print_plek_id: string;
37380
39695
  }[];
39696
+ } | {
39697
+ Args: {
39698
+ _station_id: string;
39699
+ p_device_key: string;
39700
+ };
39701
+ Returns: {
39702
+ naam: string;
39703
+ omschrijving: string;
39704
+ print_plek_id: string;
39705
+ }[];
37381
39706
  };
37382
39707
  pick_station_print_plekken: {
37383
39708
  Args: never;
@@ -37387,6 +39712,16 @@ export type Database = {
37387
39712
  print_plek_id: string;
37388
39713
  station_id: string;
37389
39714
  }[];
39715
+ } | {
39716
+ Args: {
39717
+ p_device_key: string;
39718
+ };
39719
+ Returns: {
39720
+ naam: string;
39721
+ omschrijving: string;
39722
+ print_plek_id: string;
39723
+ station_id: string;
39724
+ }[];
37390
39725
  };
37391
39726
  pick_station_slugify: {
37392
39727
  Args: {
@@ -37406,20 +39741,49 @@ export type Database = {
37406
39741
  _day: string;
37407
39742
  };
37408
39743
  Returns: Json;
39744
+ } | {
39745
+ Args: {
39746
+ _day: string;
39747
+ p_device_key: string;
39748
+ };
39749
+ Returns: Json;
37409
39750
  };
37410
39751
  pick_sync_queue_throttled: {
37411
39752
  Args: {
37412
39753
  _min_seconds?: number;
37413
39754
  };
37414
39755
  Returns: Json;
39756
+ } | {
39757
+ Args: {
39758
+ _min_seconds?: number;
39759
+ p_device_key: string;
39760
+ };
39761
+ Returns: Json;
37415
39762
  };
37416
39763
  pick_verify_rows: {
37417
39764
  Args: {
37418
39765
  _rows: Json;
37419
39766
  };
37420
39767
  Returns: Json;
39768
+ } | {
39769
+ Args: {
39770
+ _rows: Json;
39771
+ p_device_key: string;
39772
+ };
39773
+ Returns: Json;
39774
+ };
39775
+ pickschermen_install_check: {
39776
+ Args: never;
39777
+ Returns: Json;
37421
39778
  };
37422
39779
  pickstation_auto_send_status: {
39780
+ Args: {
39781
+ p_device_key: string;
39782
+ p_order_id: string;
39783
+ p_slug: string;
39784
+ };
39785
+ Returns: Json;
39786
+ } | {
37423
39787
  Args: {
37424
39788
  p_order_id: string;
37425
39789
  p_slug: string;
@@ -37429,11 +39793,32 @@ export type Database = {
37429
39793
  pickstation_cart_sticker_state: {
37430
39794
  Args: {
37431
39795
  p_cart_id: string;
39796
+ p_device_key: string;
39797
+ p_slug: string;
39798
+ };
39799
+ Returns: Json;
39800
+ } | {
39801
+ Args: {
39802
+ p_cart_id: string;
39803
+ p_slug: string;
39804
+ };
39805
+ Returns: Json;
39806
+ };
39807
+ pickstation_device_status: {
39808
+ Args: {
39809
+ p_device_key: string;
37432
39810
  p_slug: string;
37433
39811
  };
37434
39812
  Returns: Json;
37435
39813
  };
37436
39814
  pickstation_document_for_order: {
39815
+ Args: {
39816
+ p_device_key: string;
39817
+ p_queue_item_id: string;
39818
+ p_slug: string;
39819
+ };
39820
+ Returns: Json;
39821
+ } | {
37437
39822
  Args: {
37438
39823
  p_queue_item_id: string;
37439
39824
  p_slug: string;
@@ -37443,33 +39828,184 @@ export type Database = {
37443
39828
  pickstation_get_orders_raw: {
37444
39829
  Args: never;
37445
39830
  Returns: Json;
39831
+ } | {
39832
+ Args: {
39833
+ p_device_key: string;
39834
+ };
39835
+ Returns: Json;
37446
39836
  };
37447
39837
  pickstation_get_planning_context: {
37448
39838
  Args: never;
37449
39839
  Returns: Json;
39840
+ } | {
39841
+ Args: {
39842
+ p_device_key: string;
39843
+ };
39844
+ Returns: Json;
37450
39845
  };
37451
39846
  pickstation_get_settings: {
37452
39847
  Args: never;
37453
39848
  Returns: Json;
39849
+ } | {
39850
+ Args: {
39851
+ p_device_key: string;
39852
+ };
39853
+ Returns: Json;
37454
39854
  };
37455
39855
  pickstation_log_print: {
37456
39856
  Args: {
37457
39857
  p_customer_name: string;
39858
+ p_device_key: string;
37458
39859
  p_documents: string[];
37459
39860
  p_ip_address: string;
37460
39861
  p_order_id: string;
37461
39862
  p_order_number: string;
37462
39863
  };
37463
39864
  Returns: undefined;
39865
+ } | {
39866
+ Args: {
39867
+ p_customer_name: string;
39868
+ p_documents: string[];
39869
+ p_ip_address: string;
39870
+ p_order_id: string;
39871
+ p_order_number: string;
39872
+ };
39873
+ Returns: undefined;
39874
+ };
39875
+ pickstation_logistics_barcode_lookup: {
39876
+ Args: {
39877
+ p_barcode: string;
39878
+ p_device_key: string;
39879
+ };
39880
+ Returns: Json;
39881
+ };
39882
+ pickstation_logistics_cart_plan_status: {
39883
+ Args: {
39884
+ p_device_key: string;
39885
+ p_ref: string;
39886
+ };
39887
+ Returns: Json;
39888
+ };
39889
+ pickstation_logistics_cart_slip_plan: {
39890
+ Args: {
39891
+ p_device_key: string;
39892
+ p_order_id: string;
39893
+ };
39894
+ Returns: Json;
39895
+ };
39896
+ pickstation_logistics_complete_task: {
39897
+ Args: {
39898
+ p_device_key: string;
39899
+ p_result?: Json;
39900
+ p_task_id: string;
39901
+ };
39902
+ Returns: {
39903
+ attempt_log: Json;
39904
+ attempts: number;
39905
+ buffer_ref: string | null;
39906
+ claimed_at: string | null;
39907
+ claimed_by: string | null;
39908
+ completed_at: string | null;
39909
+ created_at: string;
39910
+ depends_on: string[];
39911
+ due_at: string | null;
39912
+ error: string | null;
39913
+ id: string;
39914
+ last_error: string | null;
39915
+ next_attempt_at: string | null;
39916
+ order_ref: string;
39917
+ owner_module: string;
39918
+ payload: Json;
39919
+ plan_run_id: string | null;
39920
+ planned_end: string | null;
39921
+ planned_start: string | null;
39922
+ priority: number;
39923
+ result: Json | null;
39924
+ rule_config_id: string | null;
39925
+ rule_version: number | null;
39926
+ sequence: number;
39927
+ shadow: boolean;
39928
+ started_at: string | null;
39929
+ status: string;
39930
+ strategy_id: string | null;
39931
+ task_type: string;
39932
+ updated_at: string;
39933
+ user_id: string;
39934
+ };
39935
+ SetofOptions: {
39936
+ from: "*";
39937
+ to: "logistics_tasks";
39938
+ isOneToOne: true;
39939
+ isSetofReturn: false;
39940
+ };
39941
+ };
39942
+ pickstation_logistics_is_pick_workday: {
39943
+ Args: {
39944
+ p_date: string;
39945
+ p_device_key: string;
39946
+ };
39947
+ Returns: boolean;
39948
+ };
39949
+ pickstation_logistics_order_released: {
39950
+ Args: {
39951
+ p_device_key: string;
39952
+ p_order_ref: string;
39953
+ };
39954
+ Returns: boolean;
39955
+ };
39956
+ pickstation_logistics_pick_mode: {
39957
+ Args: {
39958
+ p_device_key: string;
39959
+ };
39960
+ Returns: Json;
39961
+ };
39962
+ pickstation_logistics_shipping_note_from_barcode: {
39963
+ Args: {
39964
+ p_allow_reprint?: boolean;
39965
+ p_barcode: string;
39966
+ p_device_key: string;
39967
+ p_station_id?: string;
39968
+ };
39969
+ Returns: Json;
39970
+ };
39971
+ pickstation_logistics_working_hours_status: {
39972
+ Args: {
39973
+ p_device_key: string;
39974
+ };
39975
+ Returns: Json;
37464
39976
  };
37465
39977
  pickstation_order_sticker_meldingen: {
39978
+ Args: {
39979
+ p_device_key: string;
39980
+ p_order_id: string;
39981
+ p_slug: string;
39982
+ };
39983
+ Returns: Json;
39984
+ } | {
37466
39985
  Args: {
37467
39986
  p_order_id: string;
37468
39987
  p_slug: string;
37469
39988
  };
37470
39989
  Returns: Json;
37471
39990
  };
39991
+ pickstation_pair_device: {
39992
+ Args: {
39993
+ p_code: string;
39994
+ p_device_name: string;
39995
+ p_slug: string;
39996
+ };
39997
+ Returns: Json;
39998
+ };
37472
39999
  pickstation_resolve_delivery_orders: {
40000
+ Args: {
40001
+ p_device_key: string;
40002
+ p_sales_order_ids: string[];
40003
+ };
40004
+ Returns: {
40005
+ delivery_order_id: string;
40006
+ sales_order_id: string;
40007
+ }[];
40008
+ } | {
37473
40009
  Args: {
37474
40010
  p_sales_order_ids: string[];
37475
40011
  };
@@ -37488,6 +40024,13 @@ export type Database = {
37488
40024
  Returns: undefined;
37489
40025
  };
37490
40026
  pickstation_sticker_past_controle: {
40027
+ Args: {
40028
+ p_cart_id: string;
40029
+ p_device_key: string;
40030
+ p_slug: string;
40031
+ };
40032
+ Returns: Json;
40033
+ } | {
37491
40034
  Args: {
37492
40035
  p_cart_id: string;
37493
40036
  p_slug: string;
@@ -37495,6 +40038,14 @@ export type Database = {
37495
40038
  Returns: Json;
37496
40039
  };
37497
40040
  pickstation_sticker_reprint: {
40041
+ Args: {
40042
+ p_cart_id: string;
40043
+ p_device_key: string;
40044
+ p_reden?: string;
40045
+ p_slug: string;
40046
+ };
40047
+ Returns: Json;
40048
+ } | {
37498
40049
  Args: {
37499
40050
  p_cart_id: string;
37500
40051
  p_reden?: string;
@@ -38101,6 +40652,13 @@ export type Database = {
38101
40652
  Args: never;
38102
40653
  Returns: undefined;
38103
40654
  };
40655
+ refresh_floricode_derived_code_list_batch: {
40656
+ Args: {
40657
+ p_limit?: number;
40658
+ p_list: string;
40659
+ };
40660
+ Returns: Json;
40661
+ };
38104
40662
  refresh_floricode_derived_code_lists: {
38105
40663
  Args: never;
38106
40664
  Returns: {
@@ -38233,6 +40791,10 @@ export type Database = {
38233
40791
  };
38234
40792
  Returns: string;
38235
40793
  };
40794
+ restart_floricode_derived_code_lists: {
40795
+ Args: never;
40796
+ Returns: undefined;
40797
+ };
38236
40798
  retry_offer_orders: {
38237
40799
  Args: never;
38238
40800
  Returns: number;
@@ -38339,7 +40901,46 @@ export type Database = {
38339
40901
  };
38340
40902
  Returns: Json;
38341
40903
  };
40904
+ scan_alleen_gekoppeld_zetten: {
40905
+ Args: {
40906
+ p_aan: boolean;
40907
+ };
40908
+ Returns: Json;
40909
+ };
40910
+ scan_apparaat_intrekken: {
40911
+ Args: {
40912
+ p_apparaat_id: string;
40913
+ };
40914
+ Returns: Json;
40915
+ };
40916
+ scan_apparaat_koppelen: {
40917
+ Args: {
40918
+ p_code: string;
40919
+ p_naam?: string;
40920
+ p_scanner_id: string;
40921
+ };
40922
+ Returns: Json;
40923
+ };
40924
+ scan_apparaat_status: {
40925
+ Args: {
40926
+ p_device_key?: string;
40927
+ p_scanner_id: string;
40928
+ };
40929
+ Returns: Json;
40930
+ };
40931
+ scan_apparaten_lijst: {
40932
+ Args: {
40933
+ p_scanner_id: string;
40934
+ };
40935
+ Returns: Json;
40936
+ };
38342
40937
  scan_cancel_kar: {
40938
+ Args: {
40939
+ p_device_key: string;
40940
+ p_kar_id: string;
40941
+ };
40942
+ Returns: Json;
40943
+ } | {
38343
40944
  Args: {
38344
40945
  p_kar_id: string;
38345
40946
  };
@@ -38353,8 +40954,24 @@ export type Database = {
38353
40954
  p_scanner_id?: string;
38354
40955
  };
38355
40956
  Returns: Json;
40957
+ } | {
40958
+ Args: {
40959
+ p_allow_reprint?: boolean;
40960
+ p_cart_id: string;
40961
+ p_device_key: string;
40962
+ p_print?: boolean;
40963
+ p_scanner_id?: string;
40964
+ };
40965
+ Returns: Json;
38356
40966
  };
38357
40967
  scan_controleer_pincode: {
40968
+ Args: {
40969
+ p_device_key: string;
40970
+ p_pin: string;
40971
+ p_scanner_id: string;
40972
+ };
40973
+ Returns: Json;
40974
+ } | {
38358
40975
  Args: {
38359
40976
  p_pin: string;
38360
40977
  p_scanner_id: string;
@@ -38374,20 +40991,51 @@ export type Database = {
38374
40991
  p_scanner_id?: string;
38375
40992
  };
38376
40993
  Returns: Json;
40994
+ } | {
40995
+ Args: {
40996
+ p_barcode: string;
40997
+ p_bevestig_niet_geprint?: boolean;
40998
+ p_device_key: string;
40999
+ p_scanner_id?: string;
41000
+ };
41001
+ Returns: Json;
38377
41002
  };
38378
41003
  scan_finish_kar: {
41004
+ Args: {
41005
+ p_device_key: string;
41006
+ p_kar_id: string;
41007
+ };
41008
+ Returns: Json;
41009
+ } | {
38379
41010
  Args: {
38380
41011
  p_kar_id: string;
38381
41012
  };
38382
41013
  Returns: Json;
38383
41014
  };
38384
41015
  scan_heeft_pincode: {
41016
+ Args: {
41017
+ p_device_key: string;
41018
+ p_scanner_id: string;
41019
+ };
41020
+ Returns: boolean;
41021
+ } | {
38385
41022
  Args: {
38386
41023
  p_scanner_id: string;
38387
41024
  };
38388
41025
  Returns: boolean;
38389
41026
  };
41027
+ scan_install_check: {
41028
+ Args: never;
41029
+ Returns: Json;
41030
+ };
38390
41031
  scan_kar_compleet: {
41032
+ Args: {
41033
+ p_allow_reprint?: boolean;
41034
+ p_device_key: string;
41035
+ p_sessie_id: string;
41036
+ };
41037
+ Returns: Json;
41038
+ } | {
38391
41039
  Args: {
38392
41040
  p_allow_reprint?: boolean;
38393
41041
  p_sessie_id: string;
@@ -38406,11 +41054,25 @@ export type Database = {
38406
41054
  result: string;
38407
41055
  }[];
38408
41056
  };
41057
+ scan_kar_markeren: {
41058
+ Args: {
41059
+ p_device_key: string;
41060
+ p_kar_id: string;
41061
+ p_veld: string;
41062
+ };
41063
+ Returns: Json;
41064
+ };
38409
41065
  scan_kar_regels: {
38410
41066
  Args: {
38411
41067
  p_cart_id: string;
38412
41068
  };
38413
41069
  Returns: Json;
41070
+ } | {
41071
+ Args: {
41072
+ p_cart_id: string;
41073
+ p_device_key: string;
41074
+ };
41075
+ Returns: Json;
38414
41076
  };
38415
41077
  scan_kar_voortgang: {
38416
41078
  Args: {
@@ -38419,6 +41081,20 @@ export type Database = {
38419
41081
  p_slug?: string;
38420
41082
  };
38421
41083
  Returns: Json;
41084
+ } | {
41085
+ Args: {
41086
+ p_cart_id: string;
41087
+ p_device_key: string;
41088
+ p_scanner_id?: string;
41089
+ p_slug?: string;
41090
+ };
41091
+ Returns: Json;
41092
+ };
41093
+ scan_koppelcode_maken: {
41094
+ Args: {
41095
+ p_scanner_id: string;
41096
+ };
41097
+ Returns: Json;
38422
41098
  };
38423
41099
  scan_log_code: {
38424
41100
  Args: {
@@ -38431,14 +41107,38 @@ export type Database = {
38431
41107
  p_scanner_key?: string;
38432
41108
  };
38433
41109
  Returns: string;
41110
+ } | {
41111
+ Args: {
41112
+ p_code: string;
41113
+ p_device_key: string;
41114
+ p_kar_id?: string;
41115
+ p_latency_ms?: number;
41116
+ p_medewerker?: string;
41117
+ p_message?: string;
41118
+ p_result: string;
41119
+ p_scanner_key?: string;
41120
+ };
41121
+ Returns: string;
38434
41122
  };
38435
41123
  scan_open_pakbonnen: {
38436
41124
  Args: {
38437
41125
  p_dagen?: number;
38438
41126
  };
38439
41127
  Returns: Json;
41128
+ } | {
41129
+ Args: {
41130
+ p_dagen?: number;
41131
+ p_device_key: string;
41132
+ };
41133
+ Returns: Json;
38440
41134
  };
38441
41135
  scan_order_klant: {
41136
+ Args: {
41137
+ p_device_key: string;
41138
+ p_order_id: string;
41139
+ };
41140
+ Returns: Json;
41141
+ } | {
38442
41142
  Args: {
38443
41143
  p_order_id: string;
38444
41144
  };
@@ -38449,6 +41149,12 @@ export type Database = {
38449
41149
  p_barcode: string;
38450
41150
  };
38451
41151
  Returns: Json;
41152
+ } | {
41153
+ Args: {
41154
+ p_barcode: string;
41155
+ p_device_key: string;
41156
+ };
41157
+ Returns: Json;
38452
41158
  };
38453
41159
  scan_pakbon_opnieuw: {
38454
41160
  Args: {
@@ -38456,8 +41162,24 @@ export type Database = {
38456
41162
  p_scanner_id?: string;
38457
41163
  };
38458
41164
  Returns: Json;
41165
+ } | {
41166
+ Args: {
41167
+ p_barcode: string;
41168
+ p_device_key: string;
41169
+ p_scanner_id?: string;
41170
+ };
41171
+ Returns: Json;
38459
41172
  };
38460
41173
  scan_pakbon_toevoegen: {
41174
+ Args: {
41175
+ p_barcode: string;
41176
+ p_device_key: string;
41177
+ p_medewerker?: string;
41178
+ p_regels?: Json;
41179
+ p_scanner_id: string;
41180
+ };
41181
+ Returns: Json;
41182
+ } | {
38461
41183
  Args: {
38462
41184
  p_barcode: string;
38463
41185
  p_medewerker?: string;
@@ -38466,7 +41188,34 @@ export type Database = {
38466
41188
  };
38467
41189
  Returns: Json;
38468
41190
  };
41191
+ scan_pakbonnen_open: {
41192
+ Args: {
41193
+ p_device_key: string;
41194
+ p_limiet?: number;
41195
+ };
41196
+ Returns: Json;
41197
+ };
41198
+ scan_pin_blokkade_opheffen: {
41199
+ Args: {
41200
+ p_scanner_id: string;
41201
+ };
41202
+ Returns: Json;
41203
+ };
41204
+ scan_print_job_status: {
41205
+ Args: {
41206
+ p_device_key: string;
41207
+ p_job_id: string;
41208
+ };
41209
+ Returns: Json;
41210
+ };
38469
41211
  scan_print_restpakbon: {
41212
+ Args: {
41213
+ p_device_key: string;
41214
+ p_printer_id?: string;
41215
+ p_restpakbon_id: string;
41216
+ };
41217
+ Returns: Json;
41218
+ } | {
38470
41219
  Args: {
38471
41220
  p_printer_id?: string;
38472
41221
  p_restpakbon_id: string;
@@ -38479,7 +41228,21 @@ export type Database = {
38479
41228
  };
38480
41229
  Returns: Json;
38481
41230
  };
41231
+ scan_printers: {
41232
+ Args: {
41233
+ p_device_key: string;
41234
+ };
41235
+ Returns: Json;
41236
+ };
38482
41237
  scan_register_item: {
41238
+ Args: {
41239
+ p_device_key: string;
41240
+ p_kar_id: string;
41241
+ p_pakbon_item_id: string;
41242
+ p_scanned_by?: string;
41243
+ };
41244
+ Returns: Json;
41245
+ } | {
38483
41246
  Args: {
38484
41247
  p_kar_id: string;
38485
41248
  p_pakbon_item_id: string;
@@ -38490,20 +41253,51 @@ export type Database = {
38490
41253
  scan_release_expired_locks: {
38491
41254
  Args: never;
38492
41255
  Returns: Json;
41256
+ } | {
41257
+ Args: {
41258
+ p_device_key: string;
41259
+ };
41260
+ Returns: Json;
38493
41261
  };
38494
41262
  scan_remove_item: {
38495
41263
  Args: {
41264
+ p_device_key: string;
38496
41265
  p_kar_item_id: string;
38497
41266
  };
38498
41267
  Returns: Json;
41268
+ } | {
41269
+ Args: {
41270
+ p_kar_item_id: string;
41271
+ };
41272
+ Returns: Json;
41273
+ };
41274
+ scan_resolve: {
41275
+ Args: {
41276
+ p_code: string;
41277
+ p_device_key: string;
41278
+ };
41279
+ Returns: Json;
38499
41280
  };
38500
41281
  scan_restpakbon_geprint: {
41282
+ Args: {
41283
+ p_device_key: string;
41284
+ p_id: string;
41285
+ p_print_job_id?: string;
41286
+ };
41287
+ Returns: undefined;
41288
+ } | {
38501
41289
  Args: {
38502
41290
  p_id: string;
38503
41291
  p_print_job_id?: string;
38504
41292
  };
38505
41293
  Returns: undefined;
38506
41294
  };
41295
+ scan_role_allowed: {
41296
+ Args: {
41297
+ p_level: string;
41298
+ };
41299
+ Returns: boolean;
41300
+ };
38507
41301
  scan_scanner_info: {
38508
41302
  Args: {
38509
41303
  p_slug: string;
@@ -38521,18 +41315,40 @@ export type Database = {
38521
41315
  }[];
38522
41316
  };
38523
41317
  scan_sessie_annuleren: {
41318
+ Args: {
41319
+ p_device_key: string;
41320
+ p_sessie_id: string;
41321
+ };
41322
+ Returns: undefined;
41323
+ } | {
38524
41324
  Args: {
38525
41325
  p_sessie_id: string;
38526
41326
  };
38527
41327
  Returns: undefined;
38528
41328
  };
38529
41329
  scan_sessie_open: {
41330
+ Args: {
41331
+ p_device_key: string;
41332
+ p_scanner_id: string;
41333
+ };
41334
+ Returns: Json;
41335
+ } | {
38530
41336
  Args: {
38531
41337
  p_scanner_id: string;
38532
41338
  };
38533
41339
  Returns: Json;
38534
41340
  };
38535
41341
  scan_start_kar: {
41342
+ Args: {
41343
+ p_device_key: string;
41344
+ p_medewerker_id?: string;
41345
+ p_medewerker_naam?: string;
41346
+ p_pakbon_ids: string[];
41347
+ p_scanner_key?: string;
41348
+ p_sessie?: string;
41349
+ };
41350
+ Returns: Json;
41351
+ } | {
38536
41352
  Args: {
38537
41353
  p_medewerker_id?: string;
38538
41354
  p_medewerker_naam?: string;
@@ -39109,6 +41925,20 @@ export type Database = {
39109
41925
  };
39110
41926
  Returns: boolean;
39111
41927
  };
41928
+ twinfield_add_request_metrics: {
41929
+ Args: {
41930
+ p_bucket_hour: string;
41931
+ p_clientid_limit?: number;
41932
+ p_clientid_remaining?: number;
41933
+ p_connection_id: string;
41934
+ p_errors: number;
41935
+ p_rate_limit_limit?: number;
41936
+ p_rate_limit_remaining?: number;
41937
+ p_rate_limited: number;
41938
+ p_requests: number;
41939
+ };
41940
+ Returns: undefined;
41941
+ };
39112
41942
  twinfield_assert_caller: {
39113
41943
  Args: {
39114
41944
  p_level: string;
@@ -39164,6 +41994,14 @@ export type Database = {
39164
41994
  user_id: string;
39165
41995
  }[];
39166
41996
  };
41997
+ twinfield_cron_jobs_spec: {
41998
+ Args: never;
41999
+ Returns: {
42000
+ command: string;
42001
+ jobname: string;
42002
+ schedule: string;
42003
+ }[];
42004
+ };
39167
42005
  twinfield_cron_lock_acquire: {
39168
42006
  Args: {
39169
42007
  _job_name: string;
@@ -39185,6 +42023,10 @@ export type Database = {
39185
42023
  };
39186
42024
  Returns: Json;
39187
42025
  };
42026
+ twinfield_ensure_cron: {
42027
+ Args: never;
42028
+ Returns: Json;
42029
+ };
39188
42030
  twinfield_facturatie_assert_server: {
39189
42031
  Args: {
39190
42032
  _functie: string;
@@ -39832,6 +42674,12 @@ export type Database = {
39832
42674
  };
39833
42675
  Returns: undefined;
39834
42676
  };
42677
+ verkoop_correctie_verpakking: {
42678
+ Args: {
42679
+ p_uitvoeren?: boolean;
42680
+ };
42681
+ Returns: Json;
42682
+ };
39835
42683
  verkoop_create_order: {
39836
42684
  Args: {
39837
42685
  p_accept_late_signup?: boolean;
@@ -39850,6 +42698,23 @@ export type Database = {
39850
42698
  };
39851
42699
  Returns: Json;
39852
42700
  };
42701
+ verkoop_ensure_cron: {
42702
+ Args: never;
42703
+ Returns: Json;
42704
+ };
42705
+ verkoop_fulfillment_index_apply: {
42706
+ Args: {
42707
+ p_data: Json;
42708
+ p_fulfillment_id: string;
42709
+ p_is_deleted: boolean;
42710
+ p_status: string;
42711
+ };
42712
+ Returns: number;
42713
+ };
42714
+ verkoop_fulfillment_index_rebuild: {
42715
+ Args: never;
42716
+ Returns: Json;
42717
+ };
39853
42718
  verkoop_guarded_functions: {
39854
42719
  Args: never;
39855
42720
  Returns: {
@@ -39859,6 +42724,14 @@ export type Database = {
39859
42724
  sig: string;
39860
42725
  }[];
39861
42726
  };
42727
+ verkoop_health_checks: {
42728
+ Args: never;
42729
+ Returns: {
42730
+ naam: string;
42731
+ ok: boolean;
42732
+ opm: string;
42733
+ }[];
42734
+ };
39862
42735
  verkoop_insert_manual_order: {
39863
42736
  Args: {
39864
42737
  p_idempotency_key: string;
@@ -39981,6 +42854,20 @@ export type Database = {
39981
42854
  };
39982
42855
  Returns: boolean;
39983
42856
  };
42857
+ voorraad_fust_dimensions: {
42858
+ Args: never;
42859
+ Returns: {
42860
+ dimension_source: string;
42861
+ floricode_name: string;
42862
+ fust_key: string;
42863
+ fust_type_id: string;
42864
+ height_mm: number;
42865
+ length_mm: number;
42866
+ name: string;
42867
+ vbn_code: number;
42868
+ width_mm: number;
42869
+ }[];
42870
+ };
39984
42871
  voorraad_hook_base_url: {
39985
42872
  Args: never;
39986
42873
  Returns: string;
@@ -40016,6 +42903,13 @@ export type Database = {
40016
42903
  Args: never;
40017
42904
  Returns: boolean;
40018
42905
  };
42906
+ voorraad_reverse_order_mutations: {
42907
+ Args: {
42908
+ p_order_id: string;
42909
+ p_reason: string;
42910
+ };
42911
+ Returns: Json;
42912
+ };
40019
42913
  voorraad_schema_ddl: {
40020
42914
  Args: {
40021
42915
  p_functions: string[];
@@ -40023,6 +42917,10 @@ export type Database = {
40023
42917
  };
40024
42918
  Returns: string;
40025
42919
  };
42920
+ voorraad_stock_context_status: {
42921
+ Args: never;
42922
+ Returns: Json;
42923
+ };
40026
42924
  voorraad_vereis: {
40027
42925
  Args: {
40028
42926
  p_functie: string;
@@ -40037,6 +42935,13 @@ export type Database = {
40037
42935
  };
40038
42936
  Returns: boolean;
40039
42937
  };
42938
+ voorraad_withdraw_stock_row: {
42939
+ Args: {
42940
+ p_key: string;
42941
+ p_reason: string;
42942
+ };
42943
+ Returns: Json;
42944
+ };
40040
42945
  wake_print_queue: {
40041
42946
  Args: {
40042
42947
  _min_interval_ms?: number;