@flowselections/scan-module 1.0.22 → 1.0.26

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.
@@ -5979,33 +5979,42 @@ export type Database = {
5979
5979
  };
5980
5980
  floricode_sync_state: {
5981
5981
  Row: {
5982
+ completed_at: string | null;
5982
5983
  cursor_skip: number;
5983
5984
  error_message: string | null;
5984
5985
  last_change_date_time: string | null;
5985
5986
  last_sequence_number: number;
5986
5987
  last_sync_at: string | null;
5988
+ pending_change_date_time: string | null;
5987
5989
  resource: string;
5988
5990
  status: string;
5991
+ total_count: number | null;
5989
5992
  updated_at: string;
5990
5993
  };
5991
5994
  Insert: {
5995
+ completed_at?: string | null;
5992
5996
  cursor_skip?: number;
5993
5997
  error_message?: string | null;
5994
5998
  last_change_date_time?: string | null;
5995
5999
  last_sequence_number?: number;
5996
6000
  last_sync_at?: string | null;
6001
+ pending_change_date_time?: string | null;
5997
6002
  resource: string;
5998
6003
  status?: string;
6004
+ total_count?: number | null;
5999
6005
  updated_at?: string;
6000
6006
  };
6001
6007
  Update: {
6008
+ completed_at?: string | null;
6002
6009
  cursor_skip?: number;
6003
6010
  error_message?: string | null;
6004
6011
  last_change_date_time?: string | null;
6005
6012
  last_sequence_number?: number;
6006
6013
  last_sync_at?: string | null;
6014
+ pending_change_date_time?: string | null;
6007
6015
  resource?: string;
6008
6016
  status?: string;
6017
+ total_count?: number | null;
6009
6018
  updated_at?: string;
6010
6019
  };
6011
6020
  Relationships: [];
@@ -11189,6 +11198,7 @@ export type Database = {
11189
11198
  is_standaard: boolean;
11190
11199
  naam: string;
11191
11200
  omschrijving: string;
11201
+ origineel_pad: string | null;
11192
11202
  transparant: boolean;
11193
11203
  updated_at: string;
11194
11204
  };
@@ -11206,6 +11216,7 @@ export type Database = {
11206
11216
  is_standaard?: boolean;
11207
11217
  naam: string;
11208
11218
  omschrijving?: string;
11219
+ origineel_pad?: string | null;
11209
11220
  transparant?: boolean;
11210
11221
  updated_at?: string;
11211
11222
  };
@@ -11223,6 +11234,7 @@ export type Database = {
11223
11234
  is_standaard?: boolean;
11224
11235
  naam?: string;
11225
11236
  omschrijving?: string;
11237
+ origineel_pad?: string | null;
11226
11238
  transparant?: boolean;
11227
11239
  updated_at?: string;
11228
11240
  };
@@ -12281,6 +12293,33 @@ export type Database = {
12281
12293
  }
12282
12294
  ];
12283
12295
  };
12296
+ logistics_departure_check: {
12297
+ Row: {
12298
+ after: Json | null;
12299
+ before: Json | null;
12300
+ check_run: string;
12301
+ created_at: string;
12302
+ id: number;
12303
+ order_id: string;
12304
+ };
12305
+ Insert: {
12306
+ after?: Json | null;
12307
+ before?: Json | null;
12308
+ check_run: string;
12309
+ created_at?: string;
12310
+ id?: never;
12311
+ order_id: string;
12312
+ };
12313
+ Update: {
12314
+ after?: Json | null;
12315
+ before?: Json | null;
12316
+ check_run?: string;
12317
+ created_at?: string;
12318
+ id?: never;
12319
+ order_id?: string;
12320
+ };
12321
+ Relationships: [];
12322
+ };
12284
12323
  logistics_document_prints: {
12285
12324
  Row: {
12286
12325
  created_at: string;
@@ -12391,6 +12430,39 @@ export type Database = {
12391
12430
  };
12392
12431
  Relationships: [];
12393
12432
  };
12433
+ logistics_external_fulfillment: {
12434
+ Row: {
12435
+ applied_at: string;
12436
+ created_at: string;
12437
+ event_id: string | null;
12438
+ full_fulfilled: boolean;
12439
+ order_id: string;
12440
+ reason: string;
12441
+ sales_order_ids: string[];
12442
+ updated_at: string;
12443
+ };
12444
+ Insert: {
12445
+ applied_at?: string;
12446
+ created_at?: string;
12447
+ event_id?: string | null;
12448
+ full_fulfilled?: boolean;
12449
+ order_id: string;
12450
+ reason?: string;
12451
+ sales_order_ids?: string[];
12452
+ updated_at?: string;
12453
+ };
12454
+ Update: {
12455
+ applied_at?: string;
12456
+ created_at?: string;
12457
+ event_id?: string | null;
12458
+ full_fulfilled?: boolean;
12459
+ order_id?: string;
12460
+ reason?: string;
12461
+ sales_order_ids?: string[];
12462
+ updated_at?: string;
12463
+ };
12464
+ Relationships: [];
12465
+ };
12394
12466
  logistics_floriday_carrier_map: {
12395
12467
  Row: {
12396
12468
  carrier_code: string;
@@ -13331,7 +13403,9 @@ export type Database = {
13331
13403
  id: boolean;
13332
13404
  last_checked: number;
13333
13405
  last_duration_ms: number;
13406
+ last_error: string | null;
13334
13407
  last_mode: string | null;
13408
+ last_report: Json | null;
13335
13409
  last_run_at: string | null;
13336
13410
  last_updated: number;
13337
13411
  last_would_change: number | null;
@@ -13344,7 +13418,9 @@ export type Database = {
13344
13418
  id?: boolean;
13345
13419
  last_checked?: number;
13346
13420
  last_duration_ms?: number;
13421
+ last_error?: string | null;
13347
13422
  last_mode?: string | null;
13423
+ last_report?: Json | null;
13348
13424
  last_run_at?: string | null;
13349
13425
  last_updated?: number;
13350
13426
  last_would_change?: number | null;
@@ -13357,7 +13433,9 @@ export type Database = {
13357
13433
  id?: boolean;
13358
13434
  last_checked?: number;
13359
13435
  last_duration_ms?: number;
13436
+ last_error?: string | null;
13360
13437
  last_mode?: string | null;
13438
+ last_report?: Json | null;
13361
13439
  last_run_at?: string | null;
13362
13440
  last_updated?: number;
13363
13441
  last_would_change?: number | null;
@@ -13778,6 +13856,8 @@ export type Database = {
13778
13856
  handled_at: string | null;
13779
13857
  handled_error: string | null;
13780
13858
  handled_next_at: string | null;
13859
+ herprint_reden: string | null;
13860
+ herprint_requested_at: string | null;
13781
13861
  hoogte_mm: number | null;
13782
13862
  id: string;
13783
13863
  kopieen: number;
@@ -13789,6 +13869,7 @@ export type Database = {
13789
13869
  reden: string | null;
13790
13870
  soort: string;
13791
13871
  status: string;
13872
+ sticker_type: string | null;
13792
13873
  updated_at: string;
13793
13874
  };
13794
13875
  Insert: {
@@ -13801,6 +13882,8 @@ export type Database = {
13801
13882
  handled_at?: string | null;
13802
13883
  handled_error?: string | null;
13803
13884
  handled_next_at?: string | null;
13885
+ herprint_reden?: string | null;
13886
+ herprint_requested_at?: string | null;
13804
13887
  hoogte_mm?: number | null;
13805
13888
  id?: string;
13806
13889
  kopieen?: number;
@@ -13812,6 +13895,7 @@ export type Database = {
13812
13895
  reden?: string | null;
13813
13896
  soort: string;
13814
13897
  status?: string;
13898
+ sticker_type?: string | null;
13815
13899
  updated_at?: string;
13816
13900
  };
13817
13901
  Update: {
@@ -13824,6 +13908,8 @@ export type Database = {
13824
13908
  handled_at?: string | null;
13825
13909
  handled_error?: string | null;
13826
13910
  handled_next_at?: string | null;
13911
+ herprint_reden?: string | null;
13912
+ herprint_requested_at?: string | null;
13827
13913
  hoogte_mm?: number | null;
13828
13914
  id?: string;
13829
13915
  kopieen?: number;
@@ -13835,6 +13921,7 @@ export type Database = {
13835
13921
  reden?: string | null;
13836
13922
  soort?: string;
13837
13923
  status?: string;
13924
+ sticker_type?: string | null;
13838
13925
  updated_at?: string;
13839
13926
  };
13840
13927
  Relationships: [];
@@ -14184,22 +14271,52 @@ export type Database = {
14184
14271
  };
14185
14272
  Relationships: [];
14186
14273
  };
14274
+ logistics_tick_runs: {
14275
+ Row: {
14276
+ duration_ms: number | null;
14277
+ finished_at: string | null;
14278
+ has_error: boolean;
14279
+ id: number;
14280
+ started_at: string;
14281
+ steps: Json;
14282
+ };
14283
+ Insert: {
14284
+ duration_ms?: number | null;
14285
+ finished_at?: string | null;
14286
+ has_error?: boolean;
14287
+ id?: never;
14288
+ started_at?: string;
14289
+ steps?: Json;
14290
+ };
14291
+ Update: {
14292
+ duration_ms?: number | null;
14293
+ finished_at?: string | null;
14294
+ has_error?: boolean;
14295
+ id?: never;
14296
+ started_at?: string;
14297
+ steps?: Json;
14298
+ };
14299
+ Relationships: [];
14300
+ };
14187
14301
  logistics_time_settings: {
14188
14302
  Row: {
14189
14303
  departure_rule_since: string | null;
14190
14304
  id: boolean;
14305
+ rule_160_since: string | null;
14191
14306
  timezone: string;
14192
14307
  updated_at: string;
14193
14308
  };
14194
14309
  Insert: {
14195
14310
  departure_rule_since?: string | null;
14196
14311
  id?: boolean;
14312
+ rule_160_since?: string | null;
14197
14313
  timezone: string;
14198
14314
  updated_at?: string;
14199
14315
  };
14200
14316
  Update: {
14201
14317
  departure_rule_since?: string | null;
14202
14318
  id?: boolean;
14319
+ rule_160_since?: string | null;
14203
14320
  timezone?: string;
14204
14321
  updated_at?: string;
14205
14322
  };
@@ -16085,10 +16202,12 @@ export type Database = {
16085
16202
  id: string;
16086
16203
  items: Json;
16087
16204
  notes: string | null;
16205
+ order_creation_attempts: number;
16088
16206
  order_creation_error: string | null;
16089
16207
  order_creation_failed_at: string | null;
16090
16208
  order_id: string | null;
16091
16209
  order_number: string | null;
16210
+ order_retry_payload: Json | null;
16092
16211
  recipient_id: string;
16093
16212
  total_amount: number;
16094
16213
  };
@@ -16102,10 +16221,12 @@ export type Database = {
16102
16221
  id?: string;
16103
16222
  items?: Json;
16104
16223
  notes?: string | null;
16224
+ order_creation_attempts?: number;
16105
16225
  order_creation_error?: string | null;
16106
16226
  order_creation_failed_at?: string | null;
16107
16227
  order_id?: string | null;
16108
16228
  order_number?: string | null;
16229
+ order_retry_payload?: Json | null;
16109
16230
  recipient_id: string;
16110
16231
  total_amount?: number;
16111
16232
  };
@@ -16119,10 +16240,12 @@ export type Database = {
16119
16240
  id?: string;
16120
16241
  items?: Json;
16121
16242
  notes?: string | null;
16243
+ order_creation_attempts?: number;
16122
16244
  order_creation_error?: string | null;
16123
16245
  order_creation_failed_at?: string | null;
16124
16246
  order_id?: string | null;
16125
16247
  order_number?: string | null;
16248
+ order_retry_payload?: Json | null;
16126
16249
  recipient_id?: string;
16127
16250
  total_amount?: number;
16128
16251
  };
@@ -19646,6 +19769,42 @@ export type Database = {
19646
19769
  };
19647
19770
  Relationships: [];
19648
19771
  };
19772
+ print_printer_verwijder_herstel: {
19773
+ Row: {
19774
+ created_at: string;
19775
+ extern_printer_id: string | null;
19776
+ hersteld_op: string | null;
19777
+ id: string;
19778
+ print_plek_id: string;
19779
+ printer_id: string;
19780
+ printer_naam: string | null;
19781
+ regels: Json;
19782
+ verwijderd_op: string;
19783
+ };
19784
+ Insert: {
19785
+ created_at?: string;
19786
+ extern_printer_id?: string | null;
19787
+ hersteld_op?: string | null;
19788
+ id?: string;
19789
+ print_plek_id: string;
19790
+ printer_id: string;
19791
+ printer_naam?: string | null;
19792
+ regels?: Json;
19793
+ verwijderd_op?: string;
19794
+ };
19795
+ Update: {
19796
+ created_at?: string;
19797
+ extern_printer_id?: string | null;
19798
+ hersteld_op?: string | null;
19799
+ id?: string;
19800
+ print_plek_id?: string;
19801
+ printer_id?: string;
19802
+ printer_naam?: string | null;
19803
+ regels?: Json;
19804
+ verwijderd_op?: string;
19805
+ };
19806
+ Relationships: [];
19807
+ };
19649
19808
  print_queue_leases: {
19650
19809
  Row: {
19651
19810
  created_at: string;
@@ -28666,6 +28825,10 @@ export type Database = {
28666
28825
  };
28667
28826
  };
28668
28827
  Functions: {
28828
+ _arm_offer_order_retry: {
28829
+ Args: never;
28830
+ Returns: undefined;
28831
+ };
28669
28832
  _floriday_queue_cleanup_batch: {
28670
28833
  Args: {
28671
28834
  p_days: number;
@@ -28700,6 +28863,18 @@ export type Database = {
28700
28863
  };
28701
28864
  Returns: undefined;
28702
28865
  };
28866
+ _pick_station_for_cart: {
28867
+ Args: {
28868
+ p_cart_id: string;
28869
+ };
28870
+ Returns: string;
28871
+ };
28872
+ _pick_sticker_ids_for_cart: {
28873
+ Args: {
28874
+ p_cart_id: string;
28875
+ };
28876
+ Returns: string[];
28877
+ };
28703
28878
  _print_meld_stilstand: {
28704
28879
  Args: {
28705
28880
  _reden: string;
@@ -28713,6 +28888,13 @@ export type Database = {
28713
28888
  };
28714
28889
  Returns: Json;
28715
28890
  };
28891
+ _scan_kar_floriday_afgehandeld: {
28892
+ Args: {
28893
+ p_cart_id: string;
28894
+ p_order_id?: string;
28895
+ };
28896
+ Returns: Json;
28897
+ };
28716
28898
  _scan_kar_pakbon_geprint: {
28717
28899
  Args: {
28718
28900
  p_cart_id: string;
@@ -28772,6 +28954,12 @@ export type Database = {
28772
28954
  };
28773
28955
  Returns: string;
28774
28956
  };
28957
+ afh_order_floriday_afgehandeld: {
28958
+ Args: {
28959
+ p_order_id: string;
28960
+ };
28961
+ Returns: boolean;
28962
+ };
28775
28963
  afh_pick_workdays: {
28776
28964
  Args: {
28777
28965
  p_from: string;
@@ -28806,6 +28994,22 @@ export type Database = {
28806
28994
  };
28807
28995
  Returns: Json;
28808
28996
  };
28997
+ afh_signup_groups_base: {
28998
+ Args: {
28999
+ p_from: string;
29000
+ p_to: string;
29001
+ p_tz: string;
29002
+ };
29003
+ Returns: Json;
29004
+ };
29005
+ afh_signup_groups_wacht: {
29006
+ Args: {
29007
+ p_from: string;
29008
+ p_to: string;
29009
+ p_tz: string;
29010
+ };
29011
+ Returns: Json;
29012
+ };
28809
29013
  afh_signup_mail: {
28810
29014
  Args: {
28811
29015
  g: Json;
@@ -28814,6 +29018,22 @@ export type Database = {
28814
29018
  };
28815
29019
  Returns: Json;
28816
29020
  };
29021
+ afh_signup_mail_base: {
29022
+ Args: {
29023
+ g: Json;
29024
+ p_prev: number;
29025
+ p_tz: string;
29026
+ };
29027
+ Returns: Json;
29028
+ };
29029
+ afh_signup_mail_wacht: {
29030
+ Args: {
29031
+ g: Json;
29032
+ p_prev: number;
29033
+ p_tz: string;
29034
+ };
29035
+ Returns: Json;
29036
+ };
28817
29037
  afh_signup_send_group: {
28818
29038
  Args: {
28819
29039
  g: Json;
@@ -28825,6 +29045,17 @@ export type Database = {
28825
29045
  };
28826
29046
  Returns: Json;
28827
29047
  };
29048
+ afh_signup_send_group_base: {
29049
+ Args: {
29050
+ g: Json;
29051
+ p_connection: string;
29052
+ p_purpose: string;
29053
+ p_source: string;
29054
+ p_tz: string;
29055
+ p_user: string;
29056
+ };
29057
+ Returns: Json;
29058
+ };
28828
29059
  afh_subtract_workdays: {
28829
29060
  Args: {
28830
29061
  _date: string;
@@ -29905,6 +30136,30 @@ export type Database = {
29905
30136
  };
29906
30137
  Returns: boolean;
29907
30138
  };
30139
+ floricode_sync_cron_schedule: {
30140
+ Args: {
30141
+ p_apikey: string;
30142
+ p_schedule: string;
30143
+ p_url: string;
30144
+ };
30145
+ Returns: number;
30146
+ };
30147
+ floricode_sync_cron_set_schedule: {
30148
+ Args: {
30149
+ p_schedule: string;
30150
+ };
30151
+ Returns: boolean;
30152
+ };
30153
+ floricode_sync_cron_status: {
30154
+ Args: never;
30155
+ Returns: {
30156
+ active: boolean;
30157
+ last_run_at: string;
30158
+ last_run_status: string;
30159
+ schedule: string;
30160
+ scheduled: boolean;
30161
+ }[];
30162
+ };
29908
30163
  floriday_adopt_connection: {
29909
30164
  Args: {
29910
30165
  p_new: string;
@@ -31005,6 +31260,14 @@ export type Database = {
31005
31260
  };
31006
31261
  Returns: string;
31007
31262
  };
31263
+ log_offer_event_by_code: {
31264
+ Args: {
31265
+ p_code: string;
31266
+ p_event_type: string;
31267
+ p_metadata?: Json;
31268
+ };
31269
+ Returns: boolean;
31270
+ };
31008
31271
  logistics_active_layout_method: {
31009
31272
  Args: never;
31010
31273
  Returns: string;
@@ -31067,6 +31330,12 @@ export type Database = {
31067
31330
  Args: never;
31068
31331
  Returns: undefined;
31069
31332
  };
31333
+ logistics_apply_external_fulfillment: {
31334
+ Args: {
31335
+ p_event_id: string;
31336
+ };
31337
+ Returns: string;
31338
+ };
31070
31339
  logistics_apply_order_buffer: {
31071
31340
  Args: {
31072
31341
  p_order_id: string;
@@ -31217,6 +31486,12 @@ export type Database = {
31217
31486
  };
31218
31487
  Returns: Json;
31219
31488
  };
31489
+ logistics_buffer_closed_for_join: {
31490
+ Args: {
31491
+ p_buffer: string;
31492
+ };
31493
+ Returns: boolean;
31494
+ };
31220
31495
  logistics_buffer_criteria: {
31221
31496
  Args: {
31222
31497
  p_settings: Json;
@@ -31245,6 +31520,12 @@ export type Database = {
31245
31520
  };
31246
31521
  Returns: Json;
31247
31522
  };
31523
+ logistics_buffer_frozen: {
31524
+ Args: {
31525
+ p_buffer: string;
31526
+ };
31527
+ Returns: boolean;
31528
+ };
31248
31529
  logistics_buffer_frozen_order: {
31249
31530
  Args: {
31250
31531
  p_order_id: string;
@@ -31285,6 +31566,12 @@ export type Database = {
31285
31566
  };
31286
31567
  Returns: Json;
31287
31568
  };
31569
+ logistics_buffer_target: {
31570
+ Args: {
31571
+ p_order_id: string;
31572
+ };
31573
+ Returns: Json;
31574
+ };
31288
31575
  logistics_buffer_value: {
31289
31576
  Args: {
31290
31577
  p_criterion: string;
@@ -31304,6 +31591,12 @@ export type Database = {
31304
31591
  Args: never;
31305
31592
  Returns: number;
31306
31593
  };
31594
+ logistics_cancel_stale_cart_pick_rows: {
31595
+ Args: {
31596
+ p_order_ids: string[];
31597
+ };
31598
+ Returns: number;
31599
+ };
31307
31600
  logistics_capacity_day_check: {
31308
31601
  Args: {
31309
31602
  p_from?: string;
@@ -31317,6 +31610,13 @@ export type Database = {
31317
31610
  };
31318
31611
  Returns: Json;
31319
31612
  };
31613
+ logistics_carrier_for_location: {
31614
+ Args: {
31615
+ p_customer_id: string;
31616
+ p_location: string;
31617
+ };
31618
+ Returns: string;
31619
+ };
31320
31620
  logistics_carrier_minutes: {
31321
31621
  Args: {
31322
31622
  p_carrier: string;
@@ -31537,6 +31837,12 @@ export type Database = {
31537
31837
  };
31538
31838
  Returns: Json;
31539
31839
  };
31840
+ logistics_cart_slip_queued: {
31841
+ Args: {
31842
+ p_cart: string;
31843
+ };
31844
+ Returns: boolean;
31845
+ };
31540
31846
  logistics_cart_sticker_state: {
31541
31847
  Args: {
31542
31848
  p_cart_id: string;
@@ -31928,6 +32234,24 @@ export type Database = {
31928
32234
  printed_count: number;
31929
32235
  }[];
31930
32236
  };
32237
+ logistics_departure_calc: {
32238
+ Args: {
32239
+ p_carrier_id: string;
32240
+ p_delivery_date: string;
32241
+ p_moment_key?: string;
32242
+ p_ref_at: string;
32243
+ };
32244
+ Returns: Json;
32245
+ };
32246
+ logistics_departure_preview: {
32247
+ Args: {
32248
+ p_carrier_id: string;
32249
+ p_delivery_date: string;
32250
+ p_delivery_location: string;
32251
+ p_moment_key?: string;
32252
+ };
32253
+ Returns: Json;
32254
+ };
31931
32255
  logistics_document_layout: {
31932
32256
  Args: {
31933
32257
  _document_code: string;
@@ -32031,6 +32355,17 @@ export type Database = {
32031
32355
  ref: string;
32032
32356
  }[];
32033
32357
  };
32358
+ logistics_external_fulfillment_key_report: {
32359
+ Args: never;
32360
+ Returns: {
32361
+ ander_nummer: number;
32362
+ floriday_sales_order_id: string;
32363
+ order_id: string;
32364
+ order_number: string;
32365
+ regels: number;
32366
+ zonder_nummer: number;
32367
+ }[];
32368
+ };
32034
32369
  logistics_fail_task: {
32035
32370
  Args: {
32036
32371
  p_error: string;
@@ -32076,6 +32411,10 @@ export type Database = {
32076
32411
  isSetofReturn: false;
32077
32412
  };
32078
32413
  };
32414
+ logistics_fill_cart_departure: {
32415
+ Args: never;
32416
+ Returns: number;
32417
+ };
32079
32418
  logistics_fix_wrong_shipping_notes: {
32080
32419
  Args: never;
32081
32420
  Returns: Json;
@@ -32275,6 +32614,13 @@ export type Database = {
32275
32614
  };
32276
32615
  Returns: boolean;
32277
32616
  };
32617
+ logistics_item_external_fulfilled: {
32618
+ Args: {
32619
+ p_order_id: string;
32620
+ p_source_line_key: string;
32621
+ };
32622
+ Returns: boolean;
32623
+ };
32278
32624
  logistics_key_product: {
32279
32625
  Args: {
32280
32626
  p_key: string;
@@ -32356,6 +32702,13 @@ export type Database = {
32356
32702
  };
32357
32703
  Returns: string;
32358
32704
  };
32705
+ logistics_nl_moment: {
32706
+ Args: {
32707
+ p_at: string;
32708
+ p_tz: string;
32709
+ };
32710
+ Returns: string;
32711
+ };
32359
32712
  logistics_normalize_product_label: {
32360
32713
  Args: {
32361
32714
  p_label: string;
@@ -32448,6 +32801,21 @@ export type Database = {
32448
32801
  };
32449
32802
  Returns: Json;
32450
32803
  };
32804
+ logistics_order_departure_list: {
32805
+ Args: {
32806
+ p_order_ids: string[];
32807
+ };
32808
+ Returns: {
32809
+ carrierId: string;
32810
+ departureAt: string;
32811
+ lateSignup: boolean;
32812
+ momentKey: string;
32813
+ ok: boolean;
32814
+ order_id: string;
32815
+ reason: string;
32816
+ signupDeadline: string;
32817
+ }[];
32818
+ };
32451
32819
  logistics_order_documents_ready: {
32452
32820
  Args: {
32453
32821
  p_order_ref: string;
@@ -32460,6 +32828,12 @@ export type Database = {
32460
32828
  };
32461
32829
  Returns: boolean;
32462
32830
  };
32831
+ logistics_order_external_state: {
32832
+ Args: {
32833
+ p_order_id: string;
32834
+ };
32835
+ Returns: Json;
32836
+ };
32463
32837
  logistics_order_finalize_enqueue: {
32464
32838
  Args: {
32465
32839
  p_order_id: string;
@@ -32652,6 +33026,12 @@ export type Database = {
32652
33026
  state: string;
32653
33027
  }[];
32654
33028
  };
33029
+ logistics_order_plan_coverage_v165: {
33030
+ Args: {
33031
+ p_order_id: string;
33032
+ };
33033
+ Returns: Json;
33034
+ };
32655
33035
  logistics_order_released: {
32656
33036
  Args: {
32657
33037
  p_order_ref: string;
@@ -33146,6 +33526,12 @@ export type Database = {
33146
33526
  Args: never;
33147
33527
  Returns: number;
33148
33528
  };
33529
+ logistics_rebuffer_candidates: {
33530
+ Args: never;
33531
+ Returns: {
33532
+ order_id: string;
33533
+ }[];
33534
+ };
33149
33535
  logistics_rebuffer_open_orders: {
33150
33536
  Args: {
33151
33537
  p_strategy_id?: string;
@@ -33162,6 +33548,23 @@ export type Database = {
33162
33548
  Args: never;
33163
33549
  Returns: Json;
33164
33550
  };
33551
+ logistics_rebuffer_report: {
33552
+ Args: never;
33553
+ Returns: Json;
33554
+ };
33555
+ logistics_rebuffer_simulate_open: {
33556
+ Args: never;
33557
+ Returns: {
33558
+ buffer_id: string;
33559
+ changed: boolean;
33560
+ cur_label: string;
33561
+ delivery_date: string;
33562
+ id: string;
33563
+ new_label: string;
33564
+ order_number: string;
33565
+ reason: string;
33566
+ }[];
33567
+ };
33165
33568
  logistics_recalc_tick_kick: {
33166
33569
  Args: never;
33167
33570
  Returns: number;
@@ -33400,6 +33803,13 @@ export type Database = {
33400
33803
  };
33401
33804
  Returns: Json;
33402
33805
  };
33806
+ logistics_sales_order_external_fulfilled: {
33807
+ Args: {
33808
+ p_order_id: string;
33809
+ p_sales_order_id: string;
33810
+ };
33811
+ Returns: boolean;
33812
+ };
33403
33813
  logistics_scan_delays: {
33404
33814
  Args: never;
33405
33815
  Returns: number;
@@ -33634,6 +34044,10 @@ export type Database = {
33634
34044
  };
33635
34045
  Returns: boolean;
33636
34046
  };
34047
+ logistics_sticker_blocked_list: {
34048
+ Args: never;
34049
+ Returns: Json;
34050
+ };
33637
34051
  logistics_sticker_cart_plek: {
33638
34052
  Args: {
33639
34053
  _cart: string;
@@ -33641,6 +34055,26 @@ export type Database = {
33641
34055
  };
33642
34056
  Returns: string;
33643
34057
  };
34058
+ logistics_sticker_distribution: {
34059
+ Args: {
34060
+ p_copies: number;
34061
+ p_order: string;
34062
+ p_trade_item: string;
34063
+ p_type: string;
34064
+ };
34065
+ Returns: {
34066
+ cart_id: string;
34067
+ crates: number;
34068
+ kopieen: number;
34069
+ pieces: number;
34070
+ }[];
34071
+ };
34072
+ logistics_sticker_external_fulfilled: {
34073
+ Args: {
34074
+ p_sticker_print_id: string;
34075
+ };
34076
+ Returns: boolean;
34077
+ };
33644
34078
  logistics_sticker_follows_slip: {
33645
34079
  Args: never;
33646
34080
  Returns: boolean;
@@ -33724,6 +34158,12 @@ export type Database = {
33724
34158
  };
33725
34159
  Returns: number;
33726
34160
  };
34161
+ logistics_sync_task_status: {
34162
+ Args: {
34163
+ p_order_ref?: string;
34164
+ };
34165
+ Returns: number;
34166
+ };
33727
34167
  logistics_task_open_counts: {
33728
34168
  Args: never;
33729
34169
  Returns: {
@@ -33774,6 +34214,10 @@ export type Database = {
33774
34214
  Args: never;
33775
34215
  Returns: string;
33776
34216
  };
34217
+ logistics_tick_runs_prune: {
34218
+ Args: never;
34219
+ Returns: number;
34220
+ };
33777
34221
  logistics_timezone_options: {
33778
34222
  Args: never;
33779
34223
  Returns: {
@@ -33949,6 +34393,12 @@ export type Database = {
33949
34393
  };
33950
34394
  Returns: Json;
33951
34395
  };
34396
+ logistics_try_uuid: {
34397
+ Args: {
34398
+ p: string;
34399
+ };
34400
+ Returns: string;
34401
+ };
33952
34402
  logistics_tz: {
33953
34403
  Args: never;
33954
34404
  Returns: string;
@@ -34895,6 +35345,12 @@ export type Database = {
34895
35345
  };
34896
35346
  Returns: string;
34897
35347
  };
35348
+ pick_sticker_past_controle: {
35349
+ Args: {
35350
+ p_cart_id: string;
35351
+ };
35352
+ Returns: Json;
35353
+ };
34898
35354
  pick_sync_pick_day: {
34899
35355
  Args: {
34900
35356
  _day: string;
@@ -34974,6 +35430,21 @@ export type Database = {
34974
35430
  };
34975
35431
  Returns: undefined;
34976
35432
  };
35433
+ pickstation_sticker_past_controle: {
35434
+ Args: {
35435
+ p_cart_id: string;
35436
+ p_slug: string;
35437
+ };
35438
+ Returns: Json;
35439
+ };
35440
+ pickstation_sticker_reprint: {
35441
+ Args: {
35442
+ p_cart_id: string;
35443
+ p_reden?: string;
35444
+ p_slug: string;
35445
+ };
35446
+ Returns: Json;
35447
+ };
34977
35448
  plan_standby_batch: {
34978
35449
  Args: {
34979
35450
  _items: Json;
@@ -35126,6 +35597,14 @@ export type Database = {
35126
35597
  status: string;
35127
35598
  }[];
35128
35599
  };
35600
+ print_kopieen_aantal: {
35601
+ Args: {
35602
+ _kopieen: number;
35603
+ _payload: Json;
35604
+ _type: string;
35605
+ };
35606
+ Returns: number;
35607
+ };
35129
35608
  print_preview_toestaan: {
35130
35609
  Args: {
35131
35610
  _max?: number;
@@ -35168,6 +35647,20 @@ export type Database = {
35168
35647
  };
35169
35648
  Returns: Json;
35170
35649
  };
35650
+ printer_herstel_uitvoeren: {
35651
+ Args: {
35652
+ _plek: string;
35653
+ _printer: string;
35654
+ };
35655
+ Returns: number;
35656
+ };
35657
+ printer_herstel_voorstel: {
35658
+ Args: {
35659
+ _plek: string;
35660
+ _printer: string;
35661
+ };
35662
+ Returns: number;
35663
+ };
35171
35664
  printer_routering: {
35172
35665
  Args: {
35173
35666
  _documenttype: string;
@@ -35179,6 +35672,13 @@ export type Database = {
35179
35672
  };
35180
35673
  Returns: Json;
35181
35674
  };
35675
+ printer_verwijder_verwijzingen: {
35676
+ Args: {
35677
+ _plek: string;
35678
+ _printer: string;
35679
+ };
35680
+ Returns: Json;
35681
+ };
35182
35682
  printplek_printer: {
35183
35683
  Args: {
35184
35684
  _documenttype: string;
@@ -35451,6 +35951,13 @@ export type Database = {
35451
35951
  };
35452
35952
  Returns: undefined;
35453
35953
  };
35954
+ record_offer_order_failure: {
35955
+ Args: {
35956
+ p_error: string;
35957
+ p_offer_order_id: string;
35958
+ };
35959
+ Returns: undefined;
35960
+ };
35454
35961
  refresh_external_customers_grouped: {
35455
35962
  Args: never;
35456
35963
  Returns: undefined;
@@ -35587,6 +36094,10 @@ export type Database = {
35587
36094
  };
35588
36095
  Returns: string;
35589
36096
  };
36097
+ retry_offer_orders: {
36098
+ Args: never;
36099
+ Returns: number;
36100
+ };
35590
36101
  retry_twinfield_push: {
35591
36102
  Args: {
35592
36103
  _customer_id: string;
@@ -35740,6 +36251,18 @@ export type Database = {
35740
36251
  };
35741
36252
  Returns: Json;
35742
36253
  };
36254
+ scan_kar_logs: {
36255
+ Args: {
36256
+ p_cart_ids: string[];
36257
+ };
36258
+ Returns: {
36259
+ created_at: string;
36260
+ kar_id: string;
36261
+ medewerker_naam: string;
36262
+ message: string;
36263
+ result: string;
36264
+ }[];
36265
+ };
35743
36266
  scan_kar_regels: {
35744
36267
  Args: {
35745
36268
  p_cart_id: string;
@@ -35757,6 +36280,7 @@ export type Database = {
35757
36280
  scan_log_code: {
35758
36281
  Args: {
35759
36282
  p_code: string;
36283
+ p_kar_id?: string;
35760
36284
  p_latency_ms?: number;
35761
36285
  p_medewerker?: string;
35762
36286
  p_message?: string;
@@ -36196,6 +36720,12 @@ export type Database = {
36196
36720
  };
36197
36721
  Returns: undefined;
36198
36722
  };
36723
+ set_primary_delivery_location: {
36724
+ Args: {
36725
+ p_location_id: string;
36726
+ };
36727
+ Returns: undefined;
36728
+ };
36199
36729
  set_product_stock: {
36200
36730
  Args: {
36201
36731
  p_incoming_stock?: number;
@@ -36257,6 +36787,13 @@ export type Database = {
36257
36787
  };
36258
36788
  Returns: Json;
36259
36789
  };
36790
+ sticker_past_controle: {
36791
+ Args: {
36792
+ _print_plek_id?: string;
36793
+ _sticker_ids: string[];
36794
+ };
36795
+ Returns: Json;
36796
+ };
36260
36797
  stock_import_cleanup: {
36261
36798
  Args: never;
36262
36799
  Returns: number;
@@ -37058,6 +37595,20 @@ export type Database = {
37058
37595
  Args: never;
37059
37596
  Returns: Json;
37060
37597
  };
37598
+ voorraad_consume_external_fulfilled: {
37599
+ Args: {
37600
+ p_ids: string[];
37601
+ p_order_id: string;
37602
+ p_source: string;
37603
+ };
37604
+ Returns: number;
37605
+ };
37606
+ voorraad_external_fulfilled_ids: {
37607
+ Args: {
37608
+ p_cf: Json;
37609
+ };
37610
+ Returns: string[];
37611
+ };
37061
37612
  voorraad_hook_base_url: {
37062
37613
  Args: never;
37063
37614
  Returns: string;