@flowselections/floriday-klanten-module 1.0.51 → 1.0.53

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: [];
@@ -7153,7 +7162,11 @@ export type Database = {
7153
7162
  quantity: number | null;
7154
7163
  sales_order_id: string | null;
7155
7164
  sequence_number: number;
7165
+ should_be_printed: boolean | null;
7156
7166
  status: string | null;
7167
+ sticker_height_mm: number | null;
7168
+ sticker_type: string | null;
7169
+ sticker_width_mm: number | null;
7157
7170
  trade_item_id: string | null;
7158
7171
  updated_at: string;
7159
7172
  };
@@ -7168,7 +7181,11 @@ export type Database = {
7168
7181
  quantity?: number | null;
7169
7182
  sales_order_id?: string | null;
7170
7183
  sequence_number?: number;
7184
+ should_be_printed?: boolean | null;
7171
7185
  status?: string | null;
7186
+ sticker_height_mm?: number | null;
7187
+ sticker_type?: string | null;
7188
+ sticker_width_mm?: number | null;
7172
7189
  trade_item_id?: string | null;
7173
7190
  updated_at?: string;
7174
7191
  };
@@ -7183,7 +7200,11 @@ export type Database = {
7183
7200
  quantity?: number | null;
7184
7201
  sales_order_id?: string | null;
7185
7202
  sequence_number?: number;
7203
+ should_be_printed?: boolean | null;
7186
7204
  status?: string | null;
7205
+ sticker_height_mm?: number | null;
7206
+ sticker_type?: string | null;
7207
+ sticker_width_mm?: number | null;
7187
7208
  trade_item_id?: string | null;
7188
7209
  updated_at?: string;
7189
7210
  };
@@ -11177,6 +11198,7 @@ export type Database = {
11177
11198
  is_standaard: boolean;
11178
11199
  naam: string;
11179
11200
  omschrijving: string;
11201
+ origineel_pad: string | null;
11180
11202
  transparant: boolean;
11181
11203
  updated_at: string;
11182
11204
  };
@@ -11194,6 +11216,7 @@ export type Database = {
11194
11216
  is_standaard?: boolean;
11195
11217
  naam: string;
11196
11218
  omschrijving?: string;
11219
+ origineel_pad?: string | null;
11197
11220
  transparant?: boolean;
11198
11221
  updated_at?: string;
11199
11222
  };
@@ -11211,6 +11234,7 @@ export type Database = {
11211
11234
  is_standaard?: boolean;
11212
11235
  naam?: string;
11213
11236
  omschrijving?: string;
11237
+ origineel_pad?: string | null;
11214
11238
  transparant?: boolean;
11215
11239
  updated_at?: string;
11216
11240
  };
@@ -12269,6 +12293,33 @@ export type Database = {
12269
12293
  }
12270
12294
  ];
12271
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
+ };
12272
12323
  logistics_document_prints: {
12273
12324
  Row: {
12274
12325
  created_at: string;
@@ -12379,6 +12430,39 @@ export type Database = {
12379
12430
  };
12380
12431
  Relationships: [];
12381
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
+ };
12382
12466
  logistics_floriday_carrier_map: {
12383
12467
  Row: {
12384
12468
  carrier_code: string;
@@ -13319,7 +13403,9 @@ export type Database = {
13319
13403
  id: boolean;
13320
13404
  last_checked: number;
13321
13405
  last_duration_ms: number;
13406
+ last_error: string | null;
13322
13407
  last_mode: string | null;
13408
+ last_report: Json | null;
13323
13409
  last_run_at: string | null;
13324
13410
  last_updated: number;
13325
13411
  last_would_change: number | null;
@@ -13332,7 +13418,9 @@ export type Database = {
13332
13418
  id?: boolean;
13333
13419
  last_checked?: number;
13334
13420
  last_duration_ms?: number;
13421
+ last_error?: string | null;
13335
13422
  last_mode?: string | null;
13423
+ last_report?: Json | null;
13336
13424
  last_run_at?: string | null;
13337
13425
  last_updated?: number;
13338
13426
  last_would_change?: number | null;
@@ -13345,7 +13433,9 @@ export type Database = {
13345
13433
  id?: boolean;
13346
13434
  last_checked?: number;
13347
13435
  last_duration_ms?: number;
13436
+ last_error?: string | null;
13348
13437
  last_mode?: string | null;
13438
+ last_report?: Json | null;
13349
13439
  last_run_at?: string | null;
13350
13440
  last_updated?: number;
13351
13441
  last_would_change?: number | null;
@@ -13766,6 +13856,8 @@ export type Database = {
13766
13856
  handled_at: string | null;
13767
13857
  handled_error: string | null;
13768
13858
  handled_next_at: string | null;
13859
+ herprint_reden: string | null;
13860
+ herprint_requested_at: string | null;
13769
13861
  hoogte_mm: number | null;
13770
13862
  id: string;
13771
13863
  kopieen: number;
@@ -13777,6 +13869,7 @@ export type Database = {
13777
13869
  reden: string | null;
13778
13870
  soort: string;
13779
13871
  status: string;
13872
+ sticker_type: string | null;
13780
13873
  updated_at: string;
13781
13874
  };
13782
13875
  Insert: {
@@ -13789,6 +13882,8 @@ export type Database = {
13789
13882
  handled_at?: string | null;
13790
13883
  handled_error?: string | null;
13791
13884
  handled_next_at?: string | null;
13885
+ herprint_reden?: string | null;
13886
+ herprint_requested_at?: string | null;
13792
13887
  hoogte_mm?: number | null;
13793
13888
  id?: string;
13794
13889
  kopieen?: number;
@@ -13800,6 +13895,7 @@ export type Database = {
13800
13895
  reden?: string | null;
13801
13896
  soort: string;
13802
13897
  status?: string;
13898
+ sticker_type?: string | null;
13803
13899
  updated_at?: string;
13804
13900
  };
13805
13901
  Update: {
@@ -13812,6 +13908,8 @@ export type Database = {
13812
13908
  handled_at?: string | null;
13813
13909
  handled_error?: string | null;
13814
13910
  handled_next_at?: string | null;
13911
+ herprint_reden?: string | null;
13912
+ herprint_requested_at?: string | null;
13815
13913
  hoogte_mm?: number | null;
13816
13914
  id?: string;
13817
13915
  kopieen?: number;
@@ -13823,6 +13921,7 @@ export type Database = {
13823
13921
  reden?: string | null;
13824
13922
  soort?: string;
13825
13923
  status?: string;
13924
+ sticker_type?: string | null;
13826
13925
  updated_at?: string;
13827
13926
  };
13828
13927
  Relationships: [];
@@ -14172,22 +14271,52 @@ export type Database = {
14172
14271
  };
14173
14272
  Relationships: [];
14174
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
+ };
14175
14301
  logistics_time_settings: {
14176
14302
  Row: {
14177
14303
  departure_rule_since: string | null;
14178
14304
  id: boolean;
14305
+ rule_160_since: string | null;
14179
14306
  timezone: string;
14180
14307
  updated_at: string;
14181
14308
  };
14182
14309
  Insert: {
14183
14310
  departure_rule_since?: string | null;
14184
14311
  id?: boolean;
14312
+ rule_160_since?: string | null;
14185
14313
  timezone: string;
14186
14314
  updated_at?: string;
14187
14315
  };
14188
14316
  Update: {
14189
14317
  departure_rule_since?: string | null;
14190
14318
  id?: boolean;
14319
+ rule_160_since?: string | null;
14191
14320
  timezone?: string;
14192
14321
  updated_at?: string;
14193
14322
  };
@@ -16073,10 +16202,12 @@ export type Database = {
16073
16202
  id: string;
16074
16203
  items: Json;
16075
16204
  notes: string | null;
16205
+ order_creation_attempts: number;
16076
16206
  order_creation_error: string | null;
16077
16207
  order_creation_failed_at: string | null;
16078
16208
  order_id: string | null;
16079
16209
  order_number: string | null;
16210
+ order_retry_payload: Json | null;
16080
16211
  recipient_id: string;
16081
16212
  total_amount: number;
16082
16213
  };
@@ -16090,10 +16221,12 @@ export type Database = {
16090
16221
  id?: string;
16091
16222
  items?: Json;
16092
16223
  notes?: string | null;
16224
+ order_creation_attempts?: number;
16093
16225
  order_creation_error?: string | null;
16094
16226
  order_creation_failed_at?: string | null;
16095
16227
  order_id?: string | null;
16096
16228
  order_number?: string | null;
16229
+ order_retry_payload?: Json | null;
16097
16230
  recipient_id: string;
16098
16231
  total_amount?: number;
16099
16232
  };
@@ -16107,10 +16240,12 @@ export type Database = {
16107
16240
  id?: string;
16108
16241
  items?: Json;
16109
16242
  notes?: string | null;
16243
+ order_creation_attempts?: number;
16110
16244
  order_creation_error?: string | null;
16111
16245
  order_creation_failed_at?: string | null;
16112
16246
  order_id?: string | null;
16113
16247
  order_number?: string | null;
16248
+ order_retry_payload?: Json | null;
16114
16249
  recipient_id?: string;
16115
16250
  total_amount?: number;
16116
16251
  };
@@ -19634,6 +19769,42 @@ export type Database = {
19634
19769
  };
19635
19770
  Relationships: [];
19636
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
+ };
19637
19808
  print_queue_leases: {
19638
19809
  Row: {
19639
19810
  created_at: string;
@@ -28654,6 +28825,10 @@ export type Database = {
28654
28825
  };
28655
28826
  };
28656
28827
  Functions: {
28828
+ _arm_offer_order_retry: {
28829
+ Args: never;
28830
+ Returns: undefined;
28831
+ };
28657
28832
  _floriday_queue_cleanup_batch: {
28658
28833
  Args: {
28659
28834
  p_days: number;
@@ -28688,6 +28863,18 @@ export type Database = {
28688
28863
  };
28689
28864
  Returns: undefined;
28690
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
+ };
28691
28878
  _print_meld_stilstand: {
28692
28879
  Args: {
28693
28880
  _reden: string;
@@ -28701,6 +28888,19 @@ export type Database = {
28701
28888
  };
28702
28889
  Returns: Json;
28703
28890
  };
28891
+ _scan_kar_floriday_afgehandeld: {
28892
+ Args: {
28893
+ p_cart_id: string;
28894
+ p_order_id?: string;
28895
+ };
28896
+ Returns: Json;
28897
+ };
28898
+ _scan_kar_pakbon_geprint: {
28899
+ Args: {
28900
+ p_cart_id: string;
28901
+ };
28902
+ Returns: Json;
28903
+ };
28704
28904
  _scan_kar_voortgang: {
28705
28905
  Args: {
28706
28906
  p_cart_id: string;
@@ -28754,6 +28954,12 @@ export type Database = {
28754
28954
  };
28755
28955
  Returns: string;
28756
28956
  };
28957
+ afh_order_floriday_afgehandeld: {
28958
+ Args: {
28959
+ p_order_id: string;
28960
+ };
28961
+ Returns: boolean;
28962
+ };
28757
28963
  afh_pick_workdays: {
28758
28964
  Args: {
28759
28965
  p_from: string;
@@ -28788,6 +28994,22 @@ export type Database = {
28788
28994
  };
28789
28995
  Returns: Json;
28790
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
+ };
28791
29013
  afh_signup_mail: {
28792
29014
  Args: {
28793
29015
  g: Json;
@@ -28796,6 +29018,22 @@ export type Database = {
28796
29018
  };
28797
29019
  Returns: Json;
28798
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
+ };
28799
29037
  afh_signup_send_group: {
28800
29038
  Args: {
28801
29039
  g: Json;
@@ -28807,6 +29045,17 @@ export type Database = {
28807
29045
  };
28808
29046
  Returns: Json;
28809
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
+ };
28810
29059
  afh_subtract_workdays: {
28811
29060
  Args: {
28812
29061
  _date: string;
@@ -29887,6 +30136,30 @@ export type Database = {
29887
30136
  };
29888
30137
  Returns: boolean;
29889
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
+ };
29890
30163
  floriday_adopt_connection: {
29891
30164
  Args: {
29892
30165
  p_new: string;
@@ -30987,6 +31260,14 @@ export type Database = {
30987
31260
  };
30988
31261
  Returns: string;
30989
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
+ };
30990
31271
  logistics_active_layout_method: {
30991
31272
  Args: never;
30992
31273
  Returns: string;
@@ -31049,6 +31330,12 @@ export type Database = {
31049
31330
  Args: never;
31050
31331
  Returns: undefined;
31051
31332
  };
31333
+ logistics_apply_external_fulfillment: {
31334
+ Args: {
31335
+ p_event_id: string;
31336
+ };
31337
+ Returns: string;
31338
+ };
31052
31339
  logistics_apply_order_buffer: {
31053
31340
  Args: {
31054
31341
  p_order_id: string;
@@ -31199,6 +31486,12 @@ export type Database = {
31199
31486
  };
31200
31487
  Returns: Json;
31201
31488
  };
31489
+ logistics_buffer_closed_for_join: {
31490
+ Args: {
31491
+ p_buffer: string;
31492
+ };
31493
+ Returns: boolean;
31494
+ };
31202
31495
  logistics_buffer_criteria: {
31203
31496
  Args: {
31204
31497
  p_settings: Json;
@@ -31227,6 +31520,12 @@ export type Database = {
31227
31520
  };
31228
31521
  Returns: Json;
31229
31522
  };
31523
+ logistics_buffer_frozen: {
31524
+ Args: {
31525
+ p_buffer: string;
31526
+ };
31527
+ Returns: boolean;
31528
+ };
31230
31529
  logistics_buffer_frozen_order: {
31231
31530
  Args: {
31232
31531
  p_order_id: string;
@@ -31267,6 +31566,12 @@ export type Database = {
31267
31566
  };
31268
31567
  Returns: Json;
31269
31568
  };
31569
+ logistics_buffer_target: {
31570
+ Args: {
31571
+ p_order_id: string;
31572
+ };
31573
+ Returns: Json;
31574
+ };
31270
31575
  logistics_buffer_value: {
31271
31576
  Args: {
31272
31577
  p_criterion: string;
@@ -31286,6 +31591,12 @@ export type Database = {
31286
31591
  Args: never;
31287
31592
  Returns: number;
31288
31593
  };
31594
+ logistics_cancel_stale_cart_pick_rows: {
31595
+ Args: {
31596
+ p_order_ids: string[];
31597
+ };
31598
+ Returns: number;
31599
+ };
31289
31600
  logistics_capacity_day_check: {
31290
31601
  Args: {
31291
31602
  p_from?: string;
@@ -31299,6 +31610,13 @@ export type Database = {
31299
31610
  };
31300
31611
  Returns: Json;
31301
31612
  };
31613
+ logistics_carrier_for_location: {
31614
+ Args: {
31615
+ p_customer_id: string;
31616
+ p_location: string;
31617
+ };
31618
+ Returns: string;
31619
+ };
31302
31620
  logistics_carrier_minutes: {
31303
31621
  Args: {
31304
31622
  p_carrier: string;
@@ -31519,6 +31837,12 @@ export type Database = {
31519
31837
  };
31520
31838
  Returns: Json;
31521
31839
  };
31840
+ logistics_cart_slip_queued: {
31841
+ Args: {
31842
+ p_cart: string;
31843
+ };
31844
+ Returns: boolean;
31845
+ };
31522
31846
  logistics_cart_sticker_state: {
31523
31847
  Args: {
31524
31848
  p_cart_id: string;
@@ -31910,6 +32234,24 @@ export type Database = {
31910
32234
  printed_count: number;
31911
32235
  }[];
31912
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
+ };
31913
32255
  logistics_document_layout: {
31914
32256
  Args: {
31915
32257
  _document_code: string;
@@ -32013,6 +32355,17 @@ export type Database = {
32013
32355
  ref: string;
32014
32356
  }[];
32015
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
+ };
32016
32369
  logistics_fail_task: {
32017
32370
  Args: {
32018
32371
  p_error: string;
@@ -32058,6 +32411,10 @@ export type Database = {
32058
32411
  isSetofReturn: false;
32059
32412
  };
32060
32413
  };
32414
+ logistics_fill_cart_departure: {
32415
+ Args: never;
32416
+ Returns: number;
32417
+ };
32061
32418
  logistics_fix_wrong_shipping_notes: {
32062
32419
  Args: never;
32063
32420
  Returns: Json;
@@ -32257,6 +32614,13 @@ export type Database = {
32257
32614
  };
32258
32615
  Returns: boolean;
32259
32616
  };
32617
+ logistics_item_external_fulfilled: {
32618
+ Args: {
32619
+ p_order_id: string;
32620
+ p_source_line_key: string;
32621
+ };
32622
+ Returns: boolean;
32623
+ };
32260
32624
  logistics_key_product: {
32261
32625
  Args: {
32262
32626
  p_key: string;
@@ -32338,6 +32702,13 @@ export type Database = {
32338
32702
  };
32339
32703
  Returns: string;
32340
32704
  };
32705
+ logistics_nl_moment: {
32706
+ Args: {
32707
+ p_at: string;
32708
+ p_tz: string;
32709
+ };
32710
+ Returns: string;
32711
+ };
32341
32712
  logistics_normalize_product_label: {
32342
32713
  Args: {
32343
32714
  p_label: string;
@@ -32430,6 +32801,21 @@ export type Database = {
32430
32801
  };
32431
32802
  Returns: Json;
32432
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
+ };
32433
32819
  logistics_order_documents_ready: {
32434
32820
  Args: {
32435
32821
  p_order_ref: string;
@@ -32442,6 +32828,12 @@ export type Database = {
32442
32828
  };
32443
32829
  Returns: boolean;
32444
32830
  };
32831
+ logistics_order_external_state: {
32832
+ Args: {
32833
+ p_order_id: string;
32834
+ };
32835
+ Returns: Json;
32836
+ };
32445
32837
  logistics_order_finalize_enqueue: {
32446
32838
  Args: {
32447
32839
  p_order_id: string;
@@ -32634,6 +33026,12 @@ export type Database = {
32634
33026
  state: string;
32635
33027
  }[];
32636
33028
  };
33029
+ logistics_order_plan_coverage_v165: {
33030
+ Args: {
33031
+ p_order_id: string;
33032
+ };
33033
+ Returns: Json;
33034
+ };
32637
33035
  logistics_order_released: {
32638
33036
  Args: {
32639
33037
  p_order_ref: string;
@@ -33128,6 +33526,12 @@ export type Database = {
33128
33526
  Args: never;
33129
33527
  Returns: number;
33130
33528
  };
33529
+ logistics_rebuffer_candidates: {
33530
+ Args: never;
33531
+ Returns: {
33532
+ order_id: string;
33533
+ }[];
33534
+ };
33131
33535
  logistics_rebuffer_open_orders: {
33132
33536
  Args: {
33133
33537
  p_strategy_id?: string;
@@ -33144,6 +33548,23 @@ export type Database = {
33144
33548
  Args: never;
33145
33549
  Returns: Json;
33146
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
+ };
33147
33568
  logistics_recalc_tick_kick: {
33148
33569
  Args: never;
33149
33570
  Returns: number;
@@ -33382,6 +33803,13 @@ export type Database = {
33382
33803
  };
33383
33804
  Returns: Json;
33384
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
+ };
33385
33813
  logistics_scan_delays: {
33386
33814
  Args: never;
33387
33815
  Returns: number;
@@ -33616,6 +34044,10 @@ export type Database = {
33616
34044
  };
33617
34045
  Returns: boolean;
33618
34046
  };
34047
+ logistics_sticker_blocked_list: {
34048
+ Args: never;
34049
+ Returns: Json;
34050
+ };
33619
34051
  logistics_sticker_cart_plek: {
33620
34052
  Args: {
33621
34053
  _cart: string;
@@ -33623,6 +34055,26 @@ export type Database = {
33623
34055
  };
33624
34056
  Returns: string;
33625
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
+ };
33626
34078
  logistics_sticker_follows_slip: {
33627
34079
  Args: never;
33628
34080
  Returns: boolean;
@@ -33706,6 +34158,12 @@ export type Database = {
33706
34158
  };
33707
34159
  Returns: number;
33708
34160
  };
34161
+ logistics_sync_task_status: {
34162
+ Args: {
34163
+ p_order_ref?: string;
34164
+ };
34165
+ Returns: number;
34166
+ };
33709
34167
  logistics_task_open_counts: {
33710
34168
  Args: never;
33711
34169
  Returns: {
@@ -33756,6 +34214,10 @@ export type Database = {
33756
34214
  Args: never;
33757
34215
  Returns: string;
33758
34216
  };
34217
+ logistics_tick_runs_prune: {
34218
+ Args: never;
34219
+ Returns: number;
34220
+ };
33759
34221
  logistics_timezone_options: {
33760
34222
  Args: never;
33761
34223
  Returns: {
@@ -33931,6 +34393,12 @@ export type Database = {
33931
34393
  };
33932
34394
  Returns: Json;
33933
34395
  };
34396
+ logistics_try_uuid: {
34397
+ Args: {
34398
+ p: string;
34399
+ };
34400
+ Returns: string;
34401
+ };
33934
34402
  logistics_tz: {
33935
34403
  Args: never;
33936
34404
  Returns: string;
@@ -34877,6 +35345,12 @@ export type Database = {
34877
35345
  };
34878
35346
  Returns: string;
34879
35347
  };
35348
+ pick_sticker_past_controle: {
35349
+ Args: {
35350
+ p_cart_id: string;
35351
+ };
35352
+ Returns: Json;
35353
+ };
34880
35354
  pick_sync_pick_day: {
34881
35355
  Args: {
34882
35356
  _day: string;
@@ -34956,6 +35430,21 @@ export type Database = {
34956
35430
  };
34957
35431
  Returns: undefined;
34958
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
+ };
34959
35448
  plan_standby_batch: {
34960
35449
  Args: {
34961
35450
  _items: Json;
@@ -35108,6 +35597,14 @@ export type Database = {
35108
35597
  status: string;
35109
35598
  }[];
35110
35599
  };
35600
+ print_kopieen_aantal: {
35601
+ Args: {
35602
+ _kopieen: number;
35603
+ _payload: Json;
35604
+ _type: string;
35605
+ };
35606
+ Returns: number;
35607
+ };
35111
35608
  print_preview_toestaan: {
35112
35609
  Args: {
35113
35610
  _max?: number;
@@ -35150,6 +35647,20 @@ export type Database = {
35150
35647
  };
35151
35648
  Returns: Json;
35152
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
+ };
35153
35664
  printer_routering: {
35154
35665
  Args: {
35155
35666
  _documenttype: string;
@@ -35161,6 +35672,13 @@ export type Database = {
35161
35672
  };
35162
35673
  Returns: Json;
35163
35674
  };
35675
+ printer_verwijder_verwijzingen: {
35676
+ Args: {
35677
+ _plek: string;
35678
+ _printer: string;
35679
+ };
35680
+ Returns: Json;
35681
+ };
35164
35682
  printplek_printer: {
35165
35683
  Args: {
35166
35684
  _documenttype: string;
@@ -35433,6 +35951,13 @@ export type Database = {
35433
35951
  };
35434
35952
  Returns: undefined;
35435
35953
  };
35954
+ record_offer_order_failure: {
35955
+ Args: {
35956
+ p_error: string;
35957
+ p_offer_order_id: string;
35958
+ };
35959
+ Returns: undefined;
35960
+ };
35436
35961
  refresh_external_customers_grouped: {
35437
35962
  Args: never;
35438
35963
  Returns: undefined;
@@ -35569,6 +36094,10 @@ export type Database = {
35569
36094
  };
35570
36095
  Returns: string;
35571
36096
  };
36097
+ retry_offer_orders: {
36098
+ Args: never;
36099
+ Returns: number;
36100
+ };
35572
36101
  retry_twinfield_push: {
35573
36102
  Args: {
35574
36103
  _customer_id: string;
@@ -35698,6 +36227,7 @@ export type Database = {
35698
36227
  scan_eindcontrole: {
35699
36228
  Args: {
35700
36229
  p_barcode: string;
36230
+ p_bevestig_niet_geprint?: boolean;
35701
36231
  p_scanner_id?: string;
35702
36232
  };
35703
36233
  Returns: Json;
@@ -36177,6 +36707,12 @@ export type Database = {
36177
36707
  };
36178
36708
  Returns: undefined;
36179
36709
  };
36710
+ set_primary_delivery_location: {
36711
+ Args: {
36712
+ p_location_id: string;
36713
+ };
36714
+ Returns: undefined;
36715
+ };
36180
36716
  set_product_stock: {
36181
36717
  Args: {
36182
36718
  p_incoming_stock?: number;
@@ -36238,6 +36774,13 @@ export type Database = {
36238
36774
  };
36239
36775
  Returns: Json;
36240
36776
  };
36777
+ sticker_past_controle: {
36778
+ Args: {
36779
+ _print_plek_id?: string;
36780
+ _sticker_ids: string[];
36781
+ };
36782
+ Returns: Json;
36783
+ };
36241
36784
  stock_import_cleanup: {
36242
36785
  Args: never;
36243
36786
  Returns: number;
@@ -37039,6 +37582,20 @@ export type Database = {
37039
37582
  Args: never;
37040
37583
  Returns: Json;
37041
37584
  };
37585
+ voorraad_consume_external_fulfilled: {
37586
+ Args: {
37587
+ p_ids: string[];
37588
+ p_order_id: string;
37589
+ p_source: string;
37590
+ };
37591
+ Returns: number;
37592
+ };
37593
+ voorraad_external_fulfilled_ids: {
37594
+ Args: {
37595
+ p_cf: Json;
37596
+ };
37597
+ Returns: string[];
37598
+ };
37042
37599
  voorraad_hook_base_url: {
37043
37600
  Args: never;
37044
37601
  Returns: string;