@flowselections/logistiek-engine 1.0.193 → 1.0.195

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.
@@ -13510,6 +13510,30 @@ export type Database = {
13510
13510
  };
13511
13511
  Relationships: [];
13512
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
+ };
13513
13537
  logistics_layer_override_log: {
13514
13538
  Row: {
13515
13539
  cart_id: string;
@@ -15232,6 +15256,24 @@ export type Database = {
15232
15256
  };
15233
15257
  Relationships: [];
15234
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
+ };
15235
15277
  logistics_time_settings: {
15236
15278
  Row: {
15237
15279
  departure_rule_since: string | null;
@@ -20831,6 +20873,7 @@ export type Database = {
20831
20873
  pdf_url: string | null;
20832
20874
  pogingen: number;
20833
20875
  printer_id: string | null;
20876
+ printer_keuze: Json | null;
20834
20877
  printnode_bericht: string | null;
20835
20878
  printnode_status: string | null;
20836
20879
  printnode_status_op: string | null;
@@ -20888,6 +20931,7 @@ export type Database = {
20888
20931
  pdf_url?: string | null;
20889
20932
  pogingen?: number;
20890
20933
  printer_id?: string | null;
20934
+ printer_keuze?: Json | null;
20891
20935
  printnode_bericht?: string | null;
20892
20936
  printnode_status?: string | null;
20893
20937
  printnode_status_op?: string | null;
@@ -20945,6 +20989,7 @@ export type Database = {
20945
20989
  pdf_url?: string | null;
20946
20990
  pogingen?: number;
20947
20991
  printer_id?: string | null;
20992
+ printer_keuze?: Json | null;
20948
20993
  printnode_bericht?: string | null;
20949
20994
  printnode_status?: string | null;
20950
20995
  printnode_status_op?: string | null;
@@ -21281,7 +21326,9 @@ export type Database = {
21281
21326
  created_at: string;
21282
21327
  dubbel_venster_minuten: number;
21283
21328
  id: string;
21329
+ tick_timeout_ms: number | null;
21284
21330
  updated_at: string;
21331
+ vervallen_fase_seconden: number | null;
21285
21332
  };
21286
21333
  Insert: {
21287
21334
  bewaar_bestanden_dagen?: number;
@@ -21289,7 +21336,9 @@ export type Database = {
21289
21336
  created_at?: string;
21290
21337
  dubbel_venster_minuten?: number;
21291
21338
  id?: string;
21339
+ tick_timeout_ms?: number | null;
21292
21340
  updated_at?: string;
21341
+ vervallen_fase_seconden?: number | null;
21293
21342
  };
21294
21343
  Update: {
21295
21344
  bewaar_bestanden_dagen?: number;
@@ -21297,7 +21346,9 @@ export type Database = {
21297
21346
  created_at?: string;
21298
21347
  dubbel_venster_minuten?: number;
21299
21348
  id?: string;
21349
+ tick_timeout_ms?: number | null;
21300
21350
  updated_at?: string;
21351
+ vervallen_fase_seconden?: number | null;
21301
21352
  };
21302
21353
  Relationships: [];
21303
21354
  };
@@ -26194,6 +26245,8 @@ export type Database = {
26194
26245
  twinfield_invoice_settings: {
26195
26246
  Row: {
26196
26247
  administration_code: string | null;
26248
+ auto_invoice_config_error: string | null;
26249
+ auto_invoice_config_error_at: string | null;
26197
26250
  auto_invoice_enabled: boolean;
26198
26251
  auto_invoice_start_date: string | null;
26199
26252
  auto_invoice_trigger_statuses: string[];
@@ -26223,6 +26276,8 @@ export type Database = {
26223
26276
  };
26224
26277
  Insert: {
26225
26278
  administration_code?: string | null;
26279
+ auto_invoice_config_error?: string | null;
26280
+ auto_invoice_config_error_at?: string | null;
26226
26281
  auto_invoice_enabled?: boolean;
26227
26282
  auto_invoice_start_date?: string | null;
26228
26283
  auto_invoice_trigger_statuses?: string[];
@@ -26252,6 +26307,8 @@ export type Database = {
26252
26307
  };
26253
26308
  Update: {
26254
26309
  administration_code?: string | null;
26310
+ auto_invoice_config_error?: string | null;
26311
+ auto_invoice_config_error_at?: string | null;
26255
26312
  auto_invoice_enabled?: boolean;
26256
26313
  auto_invoice_start_date?: string | null;
26257
26314
  auto_invoice_trigger_statuses?: string[];
@@ -26845,6 +26902,7 @@ export type Database = {
26845
26902
  default_language: string | null;
26846
26903
  default_language_at: string | null;
26847
26904
  default_language_source: string | null;
26905
+ hourly_call_threshold: number;
26848
26906
  nightly_full_scan_cron: string;
26849
26907
  payment_term_min_invoices: number;
26850
26908
  payment_term_min_share: number;
@@ -26885,6 +26943,7 @@ export type Database = {
26885
26943
  default_language?: string | null;
26886
26944
  default_language_at?: string | null;
26887
26945
  default_language_source?: string | null;
26946
+ hourly_call_threshold?: number;
26888
26947
  nightly_full_scan_cron?: string;
26889
26948
  payment_term_min_invoices?: number;
26890
26949
  payment_term_min_share?: number;
@@ -26925,6 +26984,7 @@ export type Database = {
26925
26984
  default_language?: string | null;
26926
26985
  default_language_at?: string | null;
26927
26986
  default_language_source?: string | null;
26987
+ hourly_call_threshold?: number;
26928
26988
  nightly_full_scan_cron?: string;
26929
26989
  payment_term_min_invoices?: number;
26930
26990
  payment_term_min_share?: number;
@@ -27968,6 +28028,99 @@ export type Database = {
27968
28028
  };
27969
28029
  Relationships: [];
27970
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
+ };
27971
28124
  voorraad_buffer_state: {
27972
28125
  Row: {
27973
28126
  buffer_id: string;
@@ -31509,6 +31662,7 @@ export type Database = {
31509
31662
  pdf_url: string | null;
31510
31663
  pogingen: number;
31511
31664
  printer_id: string | null;
31665
+ printer_keuze: Json | null;
31512
31666
  printnode_bericht: string | null;
31513
31667
  printnode_status: string | null;
31514
31668
  printnode_status_op: string | null;
@@ -31708,6 +31862,7 @@ export type Database = {
31708
31862
  pdf_url: string | null;
31709
31863
  pogingen: number;
31710
31864
  printer_id: string | null;
31865
+ printer_keuze: Json | null;
31711
31866
  printnode_bericht: string | null;
31712
31867
  printnode_status: string | null;
31713
31868
  printnode_status_op: string | null;
@@ -31777,6 +31932,7 @@ export type Database = {
31777
31932
  pdf_url: string | null;
31778
31933
  pogingen: number;
31779
31934
  printer_id: string | null;
31935
+ printer_keuze: Json | null;
31780
31936
  printnode_bericht: string | null;
31781
31937
  printnode_status: string | null;
31782
31938
  printnode_status_op: string | null;
@@ -32340,6 +32496,28 @@ export type Database = {
32340
32496
  };
32341
32497
  Returns: boolean;
32342
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
+ };
32343
32521
  find_trade_item_key: {
32344
32522
  Args: {
32345
32523
  p_barcode: string;
@@ -33590,6 +33768,10 @@ export type Database = {
33590
33768
  };
33591
33769
  Returns: Json;
33592
33770
  };
33771
+ klanten_ensure_cron: {
33772
+ Args: never;
33773
+ Returns: Json;
33774
+ };
33593
33775
  klanten_install_check: {
33594
33776
  Args: never;
33595
33777
  Returns: Json;
@@ -33722,6 +33904,12 @@ export type Database = {
33722
33904
  Args: never;
33723
33905
  Returns: Json;
33724
33906
  };
33907
+ layouts_vrijgeven_vastgelopen: {
33908
+ Args: {
33909
+ p_houder: string;
33910
+ };
33911
+ Returns: number;
33912
+ };
33725
33913
  layouts_vroege_sticker_waarschuwing: {
33726
33914
  Args: {
33727
33915
  p_tot: string;
@@ -33737,6 +33925,10 @@ export type Database = {
33737
33925
  Args: never;
33738
33926
  Returns: Json;
33739
33927
  };
33928
+ layouts_zorg_voor_wachtrij_instellingen: {
33929
+ Args: never;
33930
+ Returns: Json;
33931
+ };
33740
33932
  list_medewerkers: {
33741
33933
  Args: never;
33742
33934
  Returns: {
@@ -35137,6 +35329,10 @@ export type Database = {
35137
35329
  };
35138
35330
  Returns: string;
35139
35331
  };
35332
+ logistics_ensure_periodiek: {
35333
+ Args: never;
35334
+ Returns: Json;
35335
+ };
35140
35336
  logistics_ensure_pick_data: {
35141
35337
  Args: {
35142
35338
  p_event_id?: string;
@@ -35159,6 +35355,10 @@ export type Database = {
35159
35355
  };
35160
35356
  Returns: Json;
35161
35357
  };
35358
+ logistics_ensure_tick_settings: {
35359
+ Args: never;
35360
+ Returns: Json;
35361
+ };
35162
35362
  logistics_expand_line: {
35163
35363
  Args: {
35164
35364
  p_depth?: number;
@@ -35438,6 +35638,14 @@ export type Database = {
35438
35638
  toelichting: string;
35439
35639
  }[];
35440
35640
  };
35641
+ logistics_install_check_194: {
35642
+ Args: never;
35643
+ Returns: {
35644
+ ok: boolean;
35645
+ onderdeel: string;
35646
+ toelichting: string;
35647
+ }[];
35648
+ };
35441
35649
  logistics_is_beheer: {
35442
35650
  Args: never;
35443
35651
  Returns: boolean;
@@ -35474,6 +35682,33 @@ export type Database = {
35474
35682
  };
35475
35683
  Returns: string;
35476
35684
  };
35685
+ logistics_kick_metingen: {
35686
+ Args: {
35687
+ p_limit: number;
35688
+ };
35689
+ Returns: {
35690
+ antwoord_at: string;
35691
+ fout: string;
35692
+ kicked_at: string;
35693
+ request_id: number;
35694
+ round_started_at: string;
35695
+ skipped_reason: string;
35696
+ status_code: number;
35697
+ time_out: boolean;
35698
+ wacht_tot_antwoord_ms: number;
35699
+ wacht_tot_ronde_ms: number;
35700
+ }[];
35701
+ };
35702
+ logistics_kick_pending_take: {
35703
+ Args: {
35704
+ p_since: string;
35705
+ };
35706
+ Returns: boolean;
35707
+ };
35708
+ logistics_kick_round_start: {
35709
+ Args: never;
35710
+ Returns: number;
35711
+ };
35477
35712
  logistics_layout_method_status: {
35478
35713
  Args: never;
35479
35714
  Returns: Json;
@@ -35663,6 +35898,21 @@ export type Database = {
35663
35898
  };
35664
35899
  Returns: string[];
35665
35900
  };
35901
+ logistics_order_date: {
35902
+ Args: {
35903
+ p: string;
35904
+ };
35905
+ Returns: {
35906
+ error: true;
35907
+ } & "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";
35908
+ } | {
35909
+ Args: {
35910
+ p: string;
35911
+ };
35912
+ Returns: {
35913
+ error: true;
35914
+ } & "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";
35915
+ };
35666
35916
  logistics_order_definitively_blocked: {
35667
35917
  Args: {
35668
35918
  p_order_id: string;
@@ -35764,6 +36014,12 @@ export type Database = {
35764
36014
  };
35765
36015
  Returns: boolean;
35766
36016
  };
36017
+ logistics_order_geannuleerd: {
36018
+ Args: {
36019
+ p_order_id: string;
36020
+ };
36021
+ Returns: boolean;
36022
+ };
35767
36023
  logistics_order_handled: {
35768
36024
  Args: {
35769
36025
  p_order_uuid: string;
@@ -35912,6 +36168,12 @@ export type Database = {
35912
36168
  };
35913
36169
  Returns: Json;
35914
36170
  };
36171
+ logistics_order_print_actief: {
36172
+ Args: {
36173
+ p_order_number: string;
36174
+ };
36175
+ Returns: boolean;
36176
+ };
35915
36177
  logistics_order_released: {
35916
36178
  Args: {
35917
36179
  p_order_ref: string;
@@ -36437,6 +36699,19 @@ export type Database = {
36437
36699
  };
36438
36700
  Returns: string;
36439
36701
  };
36702
+ logistics_print_status: {
36703
+ Args: {
36704
+ p_queue_item_ids: string[];
36705
+ };
36706
+ Returns: {
36707
+ fase: string;
36708
+ fase_gestart_op: string;
36709
+ melding: string;
36710
+ printnode_status: string;
36711
+ queue_item_id: string;
36712
+ status: string;
36713
+ }[];
36714
+ };
36440
36715
  logistics_print_via_layout: {
36441
36716
  Args: {
36442
36717
  _documentnaam: string;
@@ -36569,6 +36844,10 @@ export type Database = {
36569
36844
  };
36570
36845
  Returns: Json;
36571
36846
  };
36847
+ logistics_refresh_plan_state_als_nodig: {
36848
+ Args: never;
36849
+ Returns: Json;
36850
+ };
36572
36851
  logistics_register_tick_apikey: {
36573
36852
  Args: {
36574
36853
  p_key: string;
@@ -37334,6 +37613,12 @@ export type Database = {
37334
37613
  Args: never;
37335
37614
  Returns: Json;
37336
37615
  };
37616
+ logistics_tick_http_log: {
37617
+ Args: {
37618
+ p_steps: Json;
37619
+ };
37620
+ Returns: undefined;
37621
+ };
37337
37622
  logistics_tick_ping: {
37338
37623
  Args: never;
37339
37624
  Returns: string;
@@ -37342,6 +37627,10 @@ export type Database = {
37342
37627
  Args: never;
37343
37628
  Returns: number;
37344
37629
  };
37630
+ logistics_tick_timeout_ms: {
37631
+ Args: never;
37632
+ Returns: number;
37633
+ };
37345
37634
  logistics_timezone_options: {
37346
37635
  Args: never;
37347
37636
  Returns: {
@@ -41631,6 +41920,20 @@ export type Database = {
41631
41920
  };
41632
41921
  Returns: boolean;
41633
41922
  };
41923
+ twinfield_add_request_metrics: {
41924
+ Args: {
41925
+ p_bucket_hour: string;
41926
+ p_clientid_limit?: number;
41927
+ p_clientid_remaining?: number;
41928
+ p_connection_id: string;
41929
+ p_errors: number;
41930
+ p_rate_limit_limit?: number;
41931
+ p_rate_limit_remaining?: number;
41932
+ p_rate_limited: number;
41933
+ p_requests: number;
41934
+ };
41935
+ Returns: undefined;
41936
+ };
41634
41937
  twinfield_assert_caller: {
41635
41938
  Args: {
41636
41939
  p_level: string;
@@ -41686,6 +41989,14 @@ export type Database = {
41686
41989
  user_id: string;
41687
41990
  }[];
41688
41991
  };
41992
+ twinfield_cron_jobs_spec: {
41993
+ Args: never;
41994
+ Returns: {
41995
+ command: string;
41996
+ jobname: string;
41997
+ schedule: string;
41998
+ }[];
41999
+ };
41689
42000
  twinfield_cron_lock_acquire: {
41690
42001
  Args: {
41691
42002
  _job_name: string;
@@ -41707,6 +42018,10 @@ export type Database = {
41707
42018
  };
41708
42019
  Returns: Json;
41709
42020
  };
42021
+ twinfield_ensure_cron: {
42022
+ Args: never;
42023
+ Returns: Json;
42024
+ };
41710
42025
  twinfield_facturatie_assert_server: {
41711
42026
  Args: {
41712
42027
  _functie: string;
@@ -42378,6 +42693,23 @@ export type Database = {
42378
42693
  };
42379
42694
  Returns: Json;
42380
42695
  };
42696
+ verkoop_ensure_cron: {
42697
+ Args: never;
42698
+ Returns: Json;
42699
+ };
42700
+ verkoop_fulfillment_index_apply: {
42701
+ Args: {
42702
+ p_data: Json;
42703
+ p_fulfillment_id: string;
42704
+ p_is_deleted: boolean;
42705
+ p_status: string;
42706
+ };
42707
+ Returns: number;
42708
+ };
42709
+ verkoop_fulfillment_index_rebuild: {
42710
+ Args: never;
42711
+ Returns: Json;
42712
+ };
42381
42713
  verkoop_guarded_functions: {
42382
42714
  Args: never;
42383
42715
  Returns: {
@@ -42387,6 +42719,14 @@ export type Database = {
42387
42719
  sig: string;
42388
42720
  }[];
42389
42721
  };
42722
+ verkoop_health_checks: {
42723
+ Args: never;
42724
+ Returns: {
42725
+ naam: string;
42726
+ ok: boolean;
42727
+ opm: string;
42728
+ }[];
42729
+ };
42390
42730
  verkoop_insert_manual_order: {
42391
42731
  Args: {
42392
42732
  p_idempotency_key: string;